diff --git a/assets/css/editor.css b/assets/css/editor.css index f48e6e8f2..a2e297497 100644 --- a/assets/css/editor.css +++ b/assets/css/editor.css @@ -1 +1 @@ -.jfb-progress-type--default{padding-bottom:1.5em;flex-wrap:wrap;display:flex;justify-content:space-between;align-items:center}.jfb-progress-type--default .jet-form-builder-progress-pages__item{display:flex;flex-direction:column;align-items:center;padding:.5em 2em;position:relative}.jfb-progress-type--default .jet-form-builder-progress-pages__item--circle{width:2.5em;height:2.5em;border:1px solid gray;border-radius:50%;display:flex;justify-content:center;align-items:center}.jfb-progress-type--default .jet-form-builder-progress-pages__item--label{position:absolute;top:100%;max-width:300px;text-align:center;white-space:nowrap}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.passed-page .jet-form-builder-progress-pages__item--circle{border:2px solid #617be5}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.active-page .jet-form-builder-progress-pages__item--circle{border:2px solid #34d7a1}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5em}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper:not(:last-child){flex:1 1}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.passed-page{color:#617be5;font-weight:bold}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.active-page{color:#34d7a1;font-weight:bold}.jfb-progress-type--default .jet-form-builder-progress-pages__separator{flex:1 1;height:1px;background:gray}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.passed-page .jet-form-builder-progress-pages__item+.jet-form-builder-progress-pages__separator{background-color:#617be5;height:3px}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.active-page .jet-form-builder-progress-pages__item+.jet-form-builder-progress-pages__separator{background-color:#34d7a1;height:3px}.jet-form-edit-modal .jet-fb-validation-messages-item:not(:first-child){margin-top:1.7em}.jet-form-edit-modal .jet-fb-validation-messages-item-heading{display:flex;justify-content:space-between;column-gap:.7em;flex-wrap:wrap}.jet-form-edit-modal .jet-fb-validation-messages-item-heading-pair{flex:1;display:flex;align-items:center;justify-content:flex-start;column-gap:1em;min-width:20%}.jet-form-edit-modal .jet-fb-validation-messages-item-heading-pair__icon svg{width:24px;height:24px}.jet-form-edit-modal .components-select-control .components-flex-item,.jet-form-edit-modal .components-select-control .components-flex__item{flex:1}.jet-form-edit-modal .components-base-control__label{flex:1;padding-top:6px;margin-right:6px}.jet-form-edit-modal .components-custom-select-control{flex:3.1}.jet-form-edit-modal .components-custom-select-control__item.is-disabled{background-color:#ffe4e1}.jet-form-edit-modal .components-custom-select-control__button{width:100%}.jet-form-edit-modal .control-flex .components-base-control__label+*{flex:3.1}.jet-form-edit-modal .control-flex.field-display-grid .components-base-control__field .components-base-control__field{display:grid}.jet-form-edit-modal .jet-user-meta__row{display:flex;padding:1em;border:1px solid #ccc;align-items:center;border-radius:3px;-webkit-box-shadow:0 2px 4px rgba(22,43,64,.1);box-shadow:0 2px 4px rgba(22,43,64,.1);justify-content:space-between}.jet-form-edit-modal .jet-user-meta__row:not(:last-child){margin-bottom:1em}.jet-form-edit-modal .jet-user-meta__row .jet-field-map__row-label,.jet-form-edit-modal .jet-user-meta__row .components-base-control__label{flex:1;min-width:150px;overflow:hidden;text-overflow:ellipsis;max-width:none}.jet-form-edit-modal .jet-user-meta__row .components-base-control,.jet-form-edit-modal .jet-user-meta__row .components-text-control__input{flex:1}.jet-form-edit-modal .components-base-control:first-child .components-base-control__field{border-top:none;padding-top:0}.jet-form-edit-modal .jet-post-field-control .components-base-control:nth-child(2) .components-select-control .components-flex__item{display:none}.jet-form-edit-modal .jet-user-meta__row .components-base-control__field{border:none;padding:0;margin:0}.jet-form-edit-modal .components-base-control__field{display:flex;padding:12px 0 5px;border-top:1px solid #ddd;gap:8px}.jet-form-edit-modal .components-base-control__field>.input_with_button{width:55%}.jet-form-edit-modal .input_with_button{display:flex;align-items:center;justify-content:space-between}.jet-form-edit-modal .input_with_button .components-base-control{margin-right:1em}.jet-form-edit-modal .input_with_button select.components-select-control__input{min-width:26em}.jet-form-edit-modal .components-notice{margin:0 0 2em 0}.jet-form-edit-modal .jet-form-editor__macros-wrap{position:relative}.jet-form-edit-modal .jet-form-editor__macros-wrap .components-base-control .components-base-control__field{padding-top:12px;border-top:1px solid #ddd}.jet-form-edit-modal .jfb-conditions-tab-panel .components-tab-panel__tabs{margin-bottom:1em;border-bottom:1px solid #ddd}.jet-form-edit-modal.width-60{width:60vw}.jet-form-edit-modal.width-45{width:45vw}.jet-form-edit-modal.without-margin .components-modal__content:before{display:none}.jet-form-edit-modal__actions{position:sticky;bottom:0;left:0;padding:18px 24px 20px 0;background-color:#fff;width:100%;border-top:1px solid #ddd;z-index:100}.jet-form-edit-modal__content{padding:1em 0 2em 0}.jet-form-edit-modal .components-modal__content{padding-bottom:unset}.jet-form-edit-modal .jet-fb-buttons-flex{display:flex;gap:.8em;flex-wrap:wrap;justify-content:flex-start}.jet-form-edit-modal .jet-fb-buttons-flex>button{padding:0 4px;border-radius:5px;color:#5c5c5c;font-size:.9em;background-color:#f3f4f5;cursor:pointer;border:0;font-family:monospace}.jet-form-edit-modal .repeater__item__header{padding:.5em}.jet-form-action{margin-bottom:16px}.jet-form-action .components-base-control__field{margin:0}.jet-form-action.is-disabled{background-image:repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.4588235294) 0 20px, rgba(213, 213, 213, 0.4901960784) 20px 40px)}.jet-form-action.is-current{animation:show-current 2s infinite}@keyframes show-current{50%{box-shadow:rgba(3,102,214,.3) 0 0 0 3px}}.jet-form-action option[disabled]{background-color:rgba(211,211,211,.368627451)}.jet-form-action-control{display:flex;align-items:center;gap:.5em}.jet-form-action-details{padding:.6em;margin-top:.5em;display:flex;flex-direction:column;gap:.5em}.jet-form-action .jfb-events-item{padding:0 4px;border-radius:5px;color:#5c5c5c;font-size:.9em;background-color:#f3f4f5;cursor:pointer;margin:auto;border:0;font-family:monospace}.jet-form-action .jfb-events-item:after{content:" X";font-weight:bold}.jet-form-action .jfb-events-item:focus{outline:1px solid #5c5c5c;background-color:#e7e8e9}.jet-form-builder__action-button-wrapper{display:flex;width:100%}.jet-form-builder__submit-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;align-items:flex-start;-webkit-box-direction:normal;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;width:100%}.block-editor-block-toolbar__slot .jet-fb-block-toolbar{display:flex;gap:.8em}.block-editor-block-toolbar__slot .jet-fb-block-toolbar .jet-input-with-button{position:relative}.block-editor-block-toolbar__slot .jet-fb-block-toolbar .components-base-control{display:flex;align-items:center}.block-editor-block-toolbar__slot .jet-fb-block-toolbar .components-base-control__field{margin-bottom:unset}.jet-fb-is-thick.is-small{padding:unset;min-width:unset}.jet-fb-is-thick.is-tertiary{box-shadow:none}.jet-fb-button.line-with-input{height:32px}.jet-fb-button.w-100.w-100.w-100{width:100%}.jet-fb-button.jc-center.jc-center.jc-center{justify-content:center}.jet-fb-button.components-button.has-icon{position:relative}.jet-fb-button.components-button.has-icon span.dashicons-randomize[data-count]:after{content:attr(data-count);position:absolute;font-size:.7em;background-color:var(--wp-admin-theme-color);color:#fff;padding:2px;border-radius:5px;top:0;font-family:monospace}.jet-form-builder__repeater-component-item{margin-bottom:1.5em}.jet-form-builder__repeater-component-item .repeater-item__content{flex:1 1 100%}.jet-form-builder__repeater-component-item .repeater-item__remove{flex:1}.jet-form-builder__repeater-component-item .repeater__item__header .repeater-item__left-heading{max-width:85%;word-break:break-all;display:flex;align-items:center}.jet-form-builder__repeater-component-item .repeater__item__header .repeater-action-button{margin-right:1em}.jet-form-builder__repeater-component-item .repeater__item__header span.repeater-item-title{font-size:1.1em;font-style:italic;color:#8e8e8e}.jet-fb.flex{display:flex}.jet-fb.flex-center{display:flex;justify-content:center;align-items:center}.jet-fb.flex-dir-column{flex-direction:column}.jet-fb.jc-space-between{justify-content:space-between}.jet-fb.jc-center{justify-content:center}.jet-fb.ai-center{align-items:center}.jet-fb.mb-24{margin-bottom:24px}.jet-fb.mb-05-em{margin-bottom:.5em}.jet-fb.p-06em{padding:.6em}.jet-fb.m-unset{margin:unset}.jet-fb.m-top-05em{margin-top:.5em}.jet-fb.label-reset-margin .components-base-control__label{margin-right:unset}.jet-fb.show{opacity:1}.jet-fb.hide{opacity:0}.jet-fb.container{border:1px solid rgba(0,107,161,.4);background:rgba(0,107,161,.05);padding:12px 15px 15px}.jet-fb.p-absolute{position:absolute}.jet-fb.p-relative{position:relative}.jet-fb.w-100{width:100%}.jet-fb.h-100{height:100%}.jet-fb.wh-100{width:100%;height:100%}.jet-fb.gap-1em{gap:1em}.jet-fb.gap-05em{gap:.5em}.jet-fb.gap-default{gap:8px}.jet-fb [data-title]:before{content:attr(data-title);color:#a9a9a9;margin-right:.5em}.jet-fb.clear-control .components-base-control__field{padding-top:unset;border-top:unset;margin:unset;padding-bottom:unset}.jet-fb.label{font-size:11px;font-weight:500;line-height:1.4;text-transform:uppercase;box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jet-fb.with-button{display:flex;justify-content:space-between}.jet-fb.with-button>*:first-child{flex:.97}.jet-fb.with-button>button{margin-bottom:1.1em}.jet-fb.with-button.clear-label .components-form-token-field__label{display:none}.jet-fb.toggle-toolbar-group.components-toolbar-group .components-base-control__field,.jet-fb.toggle-toolbar-group.components-toolbar .components-base-control__field{margin-bottom:unset}.jet-fb.toggle-toolbar-group.components-toolbar-group .components-base-control,.jet-fb.toggle-toolbar-group.components-toolbar .components-base-control{display:flex;align-items:center}.components-toggle-group-control [aria-checked=true] svg path{fill:currentColor}.block-editor-block-inspector__tabs .components-grid.components-tools-panel.components-tools-panel .color-block-support-panel__inner-wrapper{grid-column:1/-1}.block-editor-block-inspector__tabs .components-grid.components-tools-panel.components-tools-panel .color-block-support-panel__inner-wrapper>*:first-child{border-top:1px solid rgba(0,0,0,.1);border-top-left-radius:2px;border-top-right-radius:2px}:root{--jet-fb__range-field-slider--size: 18px;--jet-fb__range-field-range--height: 4px}.jet-form-builder{background:#fff;margin:20px 0 0 0;padding:0;border:1px solid #ccd0d4}.jet-form-builder>.components-drop-zone__provider{display:flex;justify-content:space-between;min-height:60vh;flex-wrap:wrap}.jet-form-builder__sidebar{flex:0 0 30%;order:2;border-left:1px solid #e2e4e7}.jet-form-builder__content,.editor-styles-wrapper{flex:0 0 65%;padding:10px 0 35px;order:1}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{opacity:1}.editor-styles-wrapper .block-editor-block-list__block{min-height:45px}.jet-form-builder .editor-post-title__block{padding-left:40px}.block-editor-block-list__layout.is-root-container,.edit-post-visual-editor__post-title-wrapper{padding:0 20px}.jet-form-builder__header{width:100%;flex:0 0 100%;box-sizing:border-box;display:flex;padding:0 40px 0 6px;justify-content:space-between;align-items:center;border-bottom:1px solid #e2e4e7;height:60px}.jet-form-editor__macros-trigger{height:36px;min-height:36px}.jet-form-editor__macros-inserter{position:absolute;right:1px;top:14px;z-index:20;background:#f5f5f5}.jet-form-dynamic-preset{position:relative}.jet-form-dynamic-preset .components-base-control{flex:3}.jet-form-dynamic-preset .components-base-control .components-base-control__field{border-top:unset}.jet-form-dynamic-preset .components-base-control .components-base-control__field textarea{padding-right:36px;width:calc(100% - 31px)}.jet-form-dynamic-preset .components-base-control .components-base-control__field input{padding-right:28px}.jet-form-dynamic-preset .jet-control-with-dynamic .components-base-control__field input{margin-left:6px}.jet-form-dynamic-preset__trigger{width:31px;height:31px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:0 2px 2px 0;border:1px solid #757575;margin:26px 0 0 0;cursor:pointer;position:absolute;right:0;top:0;z-index:20}.jet-form-dynamic-preset__trigger.trigger__textarea{margin-top:unset;border-radius:0 0 0 5px;border-width:0 0 1px 1px;background-color:#fff;top:20px;right:1px}.jet-form-dynamic-preset__trigger.trigger__text-control{margin:0;border-width:0 1px 1px 1px;top:14px;right:0;border-left:unset}.jet-form-dynamic-preset__trigger:not(.trigger__textarea){border-left-width:0}.jet-form-dynamic-preset__trigger:hover svg path{fill:#007cba;fill:var(--wp-admin-theme-color)}.jet-form-dynamic-preset__trigger svg{width:50%}.jet-form-builder__flex-controls{display:flex}.jet-form-builder__flex-controls .repeater-item-column label{flex:0 0 1em;margin-right:1em}.jet-form-builder__flex-controls .repeater-item-column input{margin-right:1em}.field-mime-types.field-mime-types select[multiple]{height:7rem}.field-mime-types.field-mime-types svg{display:none}.jet-user-meta-rows{flex:0 0 40%}.jet-user-fields-map__list{flex:3;padding-top:.5em;margin-left:-6px}.jet-user-fields-map__list .components-flex__item{flex:2}.block-editor-block-list__block[data-type="jet-forms/form-break-field"]{max-width:100%;margin-top:28px;margin-bottom:28px}.block-editor-block-list__block[data-type="jet-forms/group-break-field"]{margin-top:28px;margin-bottom:28px}.block-editor-block-list__block[data-type="jet-forms/repeater-field"],.block-editor-block-list__block[data-type="jet-forms/conditional-block"],.block-editor-block-list__block[data-type^="jet-forms/"] .inside-block-options{padding:20px;background:#fff;-webkit-box-shadow:0 2px 4px rgba(22,43,64,.1);box-shadow:0 2px 4px rgba(22,43,64,.1);-webkit-transition:.3s all;-o-transition:.3s all;transition:.3s all}.block-editor-block-list__block[data-type^="jet-forms/"] .inside-block-options{margin-bottom:20px}.block-editor-block-list__block[data-type="jet-forms/repeater-field"]:hover,.block-editor-block-list__block[data-type="jet-forms/conditional-block"]:hover{-webkit-box-shadow:0 20px 20px rgba(22,43,64,.12);box-shadow:0 20px 20px rgba(22,43,64,.12);-webkit-transition:.3s all;-o-transition:.3s all;transition:.3s all}.jet-form-builder__bottom-line{display:block;white-space:nowrap}.jet-form-builder__bottom-line:before{content:"";position:absolute;bottom:0;left:0;right:0;border-top:1px solid #ccc}.jet-form-builder__bottom-line>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.jet-form-builder__field-wrap.range-wrap fieldset.components-input-control__backdrop{border:none}.jet-form-builder__field-wrap.range-wrap{width:100%}.jet-form-builder__field-wrap.range-wrap input[type=range]{margin-right:10px;-webkit-appearance:none;min-height:18px;border:0}.jet-form-builder__field-wrap.range-wrap input[type=range]:focus{padding:0;background:rgba(0,0,0,0);border:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;outline:none}.jet-form-builder__field-wrap.range-wrap .range-flex-wrap{display:flex;display:-ms-flexbox;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .components-input-control{margin-right:auto;flex:1}.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .jet-form-builder__field-value{white-space:nowrap;margin-left:10px;display:flex}.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .components-input-control__container{background-color:rgba(255,255,255,0)}.jet-form-builder__field-wrap.range-wrap input[type=range]::-webkit-slider-runnable-track{width:100%;height:var(--jet-fb__range-field-range--height, 4px);cursor:pointer;background:#e3ddd8;-webkit-box-shadow:none;box-shadow:none;border:none}.jet-form-builder__field-wrap.range-wrap input[type=range]::-moz-range-track{width:100%;height:var(--jet-fb__range-field-range--height, 4px);cursor:pointer;background:#e3ddd8;box-shadow:none;border:none}.jet-form-builder__field-wrap.range-wrap input[type=range]::-ms-track{width:100%;height:var(--jet-fb__range-field-range--height, 4px);cursor:pointer;background:#e3ddd8;box-shadow:none;border:none;color:rgba(0,0,0,0)}.jet-form-builder__field-wrap.range-wrap input[type=range]::-ms-fill-lower{background:rgba(0,0,0,0)}.jet-form-builder__field-wrap.range-wrap input[type=range]::-ms-fill-upper{background:rgba(0,0,0,0)}.jet-form-builder__field-wrap.range-wrap input[type=range]::-webkit-slider-thumb{width:var(--jet-fb__range-field-slider--size, 18px);height:var(--jet-fb__range-field-slider--size, 18px);background:#ccc;border-radius:50%;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;border:none;margin-top:calc((var(--jet-fb__range-field-slider--size, 18px) - var(--jet-fb__range-field-range--height, 4px))/-2);-webkit-appearance:none}.jet-form-builder__field-wrap.range-wrap input[type=range]::-moz-range-thumb{width:var(--jet-fb__range-field-slider--size, 18px);height:var(--jet-fb__range-field-slider--size, 18px);background:#ccc;border-radius:50%;cursor:pointer;box-shadow:none;border:none}.jet-form-builder__field-wrap.range-wrap input[type=range]::-ms-thumb{width:var(--jet-fb__range-field-slider--size, 18px);height:var(--jet-fb__range-field-slider--size, 18px);background:#ccc;border-radius:50%;cursor:pointer;box-shadow:none;border:none}.jet-form-builder__field-wrap.range-wrap .components-input-control__backdrop[aria-hidden=true]{border-width:0}.jet-form-builder__field-settings .help-input{margin-bottom:2em;font-size:12px;color:#757575}.jet-form-edit-modal .jet-post-field-control{display:flex;position:relative}.jet-form-edit-modal .jet-post-field-control .components-base-control__field{padding:0;border:none}.jet-form-edit-modal .jet-post-field-control .components-base-control:nth-child(2){position:absolute;left:25em}.jet-field-map__row-label .fields-map__required{color:red;font-weight:900}.jet-form-load-button.components-button.loading i,.jet-form-validate-button.components-button.loading i{animation:jet-form-editor-spin 2s infinite linear}.jet-form-validate-button.components-button i.dashicons{margin-right:4px}.jet-form-validate-button.components-button i.dashicons:before{content:""}.jet-form-validate-button.components-button.is-valid{color:#46b450;box-shadow:inset 0 0 0 1px #46b450}.jet-form-validate-button.components-button.is-valid:hover:not(:disabled){color:#388f40;box-shadow:inset 0 0 0 1px #388f40}.jet-form-validate-button.components-button.is-valid i.dashicons:before{content:""}.jet-form-validate-button.components-button.is-invalid i.dashicons:before{content:""}@keyframes jet-form-editor-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.jet-form-edit-modal__content .description-controls{color:#999;display:block;margin-bottom:1.2em}.jet-form-builder-row{overflow:hidden;display:block}.rtl .jet-form-editor__macros-inserter{left:15px;right:unset}.rtl .jet-form-builder__field-wrap.range-wrap .range-flex-wrap .jet-form-builder__field-value{margin-left:unset;margin-right:10px}.jet-form-edit-modal .input-with-button .components-input-control__container,.jet-form-edit-modal .input-with-button .components-text-control__input{width:30em;margin-right:1em}.jet-form-edit-modal .with-wrap .components-base-control__field{flex-wrap:wrap}select.components-select-control__input.components-select-control__input.components-select-control__input{max-width:100vw;width:100%;line-height:1.5;padding:1px 24px 1px 8px}.jet-form-builder__calculated-field{display:flex;width:100%}.components-text-control__input{margin:unset;box-sizing:border-box;flex:3}.flex-column .components-base-control__field{flex-direction:column}.edit-post-sidebar .components-input-control.components-number-control{margin-bottom:2em}.jet-label-overflow{overflow:hidden;text-overflow:ellipsis;display:block;white-space:nowrap}.jet-control-clear .components-base-control__field{padding-top:unset;border-top:unset}.jet-control-clear-full{flex:3}.jet-control-clear-full .components-base-control__field{display:block;padding:unset;border-top:unset}.editor-styles-wrapper .wp-block.wp-block.wp-block{max-width:100%}.editor-styles-wrapper p.components-base-control__help{font-size:12px;line-height:1.5;margin:1em 0}.components-button.has-icon:not(.has-text) .dashicon.dashicon{margin:unset}.jet-form-builder-repeater__remove{margin-top:10px}.interface-complementary-area-header.components-panel__header{z-index:100}.jet-form-edit-modal .jet-inline-radio .components-radio-control__option:not(:nth-child(1)):not(:nth-child(2)){margin-left:1em}.jet-control-full{padding:12px 0 5px;border-top:1px solid #ddd}.jet-border-unset.components-base-control div.components-base-control__field.components-base-control__field{border-top:unset}.jet-user-meta__row .components-flex.components-select-control{display:block;flex:1}.jet-modal-fixed-height .jet-form-edit-modal__wrapper{display:flex;flex-direction:column;height:calc(100% - 86px);justify-content:space-between}.jet-custom-select-control{display:flex}.jet-custom-select-control .components-custom-select-control__label{margin-right:7.7em}.jet-margin-bottom-wrapper>div:not(:last-child){margin-bottom:1.2em}.jet-form-builder-row .components-base-control__label{display:flex}.jet-form-builder-row.jet-form-builder-row__flex .components-base-control__label{display:block}.jet-form-builder__desc--wrapper{display:flex}.jet-form-builder-row__flex .jet-form-builder__desc--wrapper{display:block}.jet-form-builder-row__flex--label{flex:1 1 0}.jet-form-builder-row__flex--label .components-base-control__label{margin-bottom:1em}.jet-form-builder-row__flex--content{flex:3 1 0}.jet-form-builder-row__flex--content .components-input-control{display:block}.components-base-control__label .jet-form-builder__label{width:100%}.components-base-control__label .jet-form-builder__label>div,.components-base-control__label .jet-form-builder__label>span{display:inline-block}.components-base-control__label .jet-form-builder__label .rich-text::after{content:" "}.jet-form-builder__desc{width:100%}.has-fixed-toolbar .jet-form-toggle-box{padding:1px 12px 0 12px}.jet-form-toggle-box{padding:0 12px}.jet-form-toggle-box .components-clipboard-button.has-icon{position:absolute;right:-8px;padding:0;height:30px}.jet-form-toggle-box input.components-text-control__input{padding-right:2.5em}.jet-form-toggle-box .components-base-control__field{margin:0}.jet-fb-control__input.jet-fb-control__input{max-width:unset;padding:0 24px 0 8px;width:100%}.jet-fb-with-border:not(:last-child){border-bottom:1px solid #ddd;margin-bottom:1.2em;padding-bottom:1.2em}.jet-form-edit-modal div.components-input-control__container{flex:3;margin-left:unset}.jet-form-edit-modal .components-textarea-control__input{flex:3}.jet-form-edit-modal .components-base-control__label+select.components-select-control__input{flex:3;margin-left:6px}.jet-form-builder-row__flex>.components-base-control__field{display:flex}.jet-d-flex-between{display:flex;justify-content:space-between}.jet-d-flex-between>div{flex:.9}.jet-required-field label.components-base-control__label::after,.jet-required-field label.components-input-control__label::after{content:" *";color:red;font-weight:700}.jet-fb-notice>a{transition:.2s ease-in-out;text-decoration:none;display:flex;gap:.8em;width:fit-content;padding:.3em;padding-left:unset;background-color:#eee;border-radius:50px;opacity:.5}.jet-fb-notice>a .dashicons:before{content:"";border-radius:50px;background:#4272f9;background:radial-gradient(circle, #4272f9 1%, #fff 100%);color:#fff;padding:2px}.jet-fb-notice>a:hover{opacity:1}ul.jet-fb-ul-revert-layer{list-style:revert-layer}ul.jet-fb-ul-revert-layer li{list-style:revert-layer}.edit-post-sidebar .components-panel>.components-panel__body .components-base-control:not(:last-child){margin-bottom:24px}@media only screen and (min-width: 1200px){.components-base-control.components-checkbox-control.jet-forms-checkbox-field{position:relative}.components-base-control.components-checkbox-control.jet-forms-checkbox-field .components-base-control__help{position:absolute;top:0;right:0}.components-base-control.components-checkbox-control.jet-forms-checkbox-field:first-child .components-base-control__help{margin-top:unset}} +.jfb-progress-type--default{padding-bottom:1.5em;flex-wrap:wrap;display:flex;justify-content:space-between;align-items:center}.jfb-progress-type--default .jet-form-builder-progress-pages__item{display:flex;flex-direction:column;align-items:center;padding:.5em 2em;position:relative}.jfb-progress-type--default .jet-form-builder-progress-pages__item--circle{width:2.5em;height:2.5em;border:1px solid gray;border-radius:50%;display:flex;justify-content:center;align-items:center}.jfb-progress-type--default .jet-form-builder-progress-pages__item--label{position:absolute;top:100%;max-width:300px;text-align:center;white-space:nowrap}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.passed-page .jet-form-builder-progress-pages__item--circle{border:2px solid #617be5}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.active-page .jet-form-builder-progress-pages__item--circle{border:2px solid #34d7a1}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5em}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper:not(:last-child){flex:1 1}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.passed-page{color:#617be5;font-weight:bold}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.active-page{color:#34d7a1;font-weight:bold}.jfb-progress-type--default .jet-form-builder-progress-pages__separator{flex:1 1;height:1px;background:gray}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.passed-page .jet-form-builder-progress-pages__item+.jet-form-builder-progress-pages__separator{background-color:#617be5;height:3px}.jfb-progress-type--default .jet-form-builder-progress-pages__item--wrapper.active-page .jet-form-builder-progress-pages__item+.jet-form-builder-progress-pages__separator{background-color:#34d7a1;height:3px}.jet-form-edit-modal .jet-fb-validation-messages-item:not(:first-child){margin-top:1.7em}.jet-form-edit-modal .jet-fb-validation-messages-item-heading{display:flex;justify-content:space-between;column-gap:.7em;flex-wrap:wrap}.jet-form-edit-modal .jet-fb-validation-messages-item-heading-pair{flex:1;display:flex;align-items:center;justify-content:flex-start;column-gap:1em;min-width:20%}.jet-form-edit-modal .jet-fb-validation-messages-item-heading-pair__icon svg{width:24px;height:24px}.jet-form-edit-modal .components-select-control .components-flex-item,.jet-form-edit-modal .components-select-control .components-flex__item{flex:1}.jet-form-edit-modal .components-base-control__label{flex:1;padding-top:6px;margin-right:6px}.jet-form-edit-modal .components-custom-select-control{flex:3.1}.jet-form-edit-modal .components-custom-select-control__item.is-disabled{background-color:#ffe4e1}.jet-form-edit-modal .components-custom-select-control__button{width:100%}.jet-form-edit-modal .control-flex .components-base-control__label+*{flex:3.1}.jet-form-edit-modal .control-flex.field-display-grid .components-base-control__field .components-base-control__field{display:grid}.jet-form-edit-modal .jet-user-meta__row{display:flex;padding:1em;border:1px solid #ccc;align-items:center;border-radius:3px;-webkit-box-shadow:0 2px 4px rgba(22,43,64,.1);box-shadow:0 2px 4px rgba(22,43,64,.1);justify-content:space-between}.jet-form-edit-modal .jet-user-meta__row:not(:last-child){margin-bottom:1em}.jet-form-edit-modal .jet-user-meta__row .jet-field-map__row-label,.jet-form-edit-modal .jet-user-meta__row .components-base-control__label{flex:1;min-width:150px;overflow:hidden;text-overflow:ellipsis;max-width:none}.jet-form-edit-modal .jet-user-meta__row .components-base-control,.jet-form-edit-modal .jet-user-meta__row .components-text-control__input{flex:1}.jet-form-edit-modal .components-base-control:first-child .components-base-control__field{border-top:none;padding-top:0}.jet-form-edit-modal .jet-post-field-control .components-base-control:nth-child(2) .components-select-control .components-flex__item{display:none}.jet-form-edit-modal .jet-user-meta__row .components-base-control__field{border:none;padding:0;margin:0}.jet-form-edit-modal .components-base-control__field{display:flex;padding:12px 0 5px;border-top:1px solid #ddd;gap:8px}.jet-form-edit-modal .components-base-control__field>.input_with_button{width:55%}.jet-form-edit-modal .input_with_button{display:flex;align-items:center;justify-content:space-between}.jet-form-edit-modal .input_with_button .components-base-control{margin-right:1em}.jet-form-edit-modal .input_with_button select.components-select-control__input{min-width:26em}.jet-form-edit-modal .components-notice{margin:0 0 2em 0}.jet-form-edit-modal .jet-form-editor__macros-wrap{position:relative}.jet-form-edit-modal .jet-form-editor__macros-wrap .components-base-control .components-base-control__field{padding-top:12px;border-top:1px solid #ddd}.jet-form-edit-modal .jfb-conditions-tab-panel .components-tab-panel__tabs{margin-bottom:1em;border-bottom:1px solid #ddd}.jet-form-edit-modal.width-60{width:60vw}.jet-form-edit-modal.width-45{width:45vw}.jet-form-edit-modal.without-margin .components-modal__content:before{display:none}.jet-form-edit-modal__actions{position:sticky;bottom:0;left:0;padding:18px 24px 20px 0;background-color:#fff;width:100%;border-top:1px solid #ddd;z-index:100}.jet-form-edit-modal__content{padding:1em 0 2em 0}.jet-form-edit-modal .components-modal__content{padding-bottom:unset}.jet-form-edit-modal .jet-fb-buttons-flex{display:flex;gap:.8em;flex-wrap:wrap;justify-content:flex-start}.jet-form-edit-modal .jet-fb-buttons-flex>button{padding:0 4px;border-radius:5px;color:#5c5c5c;font-size:.9em;background-color:#f3f4f5;cursor:pointer;border:0;font-family:monospace}.jet-form-edit-modal .repeater__item__header{padding:.5em}.jet-form-action{margin-bottom:16px}.jet-form-action .components-base-control__field{margin:0}.jet-form-action.is-disabled{background-image:repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.4588235294) 0 20px, rgba(213, 213, 213, 0.4901960784) 20px 40px)}.jet-form-action.is-current{animation:show-current 2s infinite}@keyframes show-current{50%{box-shadow:rgba(3,102,214,.3) 0 0 0 3px}}.jet-form-action option[disabled]{background-color:rgba(211,211,211,.368627451)}.jet-form-action-control{display:flex;align-items:center;gap:.5em}.jet-form-action-details{padding:.6em;margin-top:.5em;display:flex;flex-direction:column;gap:.5em}.jet-form-action .jfb-events-item{padding:0 4px;border-radius:5px;color:#5c5c5c;font-size:.9em;background-color:#f3f4f5;cursor:pointer;margin:auto;border:0;font-family:monospace}.jet-form-action .jfb-events-item:after{content:" X";font-weight:bold}.jet-form-action .jfb-events-item:focus{outline:1px solid #5c5c5c;background-color:#e7e8e9}.jet-form-builder__action-button-wrapper{display:flex;width:100%}.jet-form-builder__submit-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;align-items:flex-start;-webkit-box-direction:normal;-webkit-box-orient:horizontal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;width:100%}.block-editor-block-toolbar__slot .jet-fb-block-toolbar{display:flex;gap:.8em}.block-editor-block-toolbar__slot .jet-fb-block-toolbar .jet-input-with-button{position:relative}.block-editor-block-toolbar__slot .jet-fb-block-toolbar .components-base-control{display:flex;align-items:center}.block-editor-block-toolbar__slot .jet-fb-block-toolbar .components-base-control__field{margin-bottom:unset}.jet-fb-is-thick.is-small{padding:unset;min-width:unset}.jet-fb-is-thick.is-tertiary{box-shadow:none}.jet-fb-button.line-with-input{height:32px}.jet-fb-button.w-100.w-100.w-100{width:100%}.jet-fb-button.jc-center.jc-center.jc-center{justify-content:center}.jet-fb-button.components-button.has-icon{position:relative}.jet-fb-button.components-button.has-icon span.dashicons-randomize[data-count]:after{content:attr(data-count);position:absolute;font-size:.7em;background-color:var(--wp-admin-theme-color);color:#fff;padding:2px;border-radius:5px;top:0;font-family:monospace}.jet-form-builder__repeater-component-item{margin-bottom:1.5em}.jet-form-builder__repeater-component-item .repeater-item__content{flex:1 1 100%}.jet-form-builder__repeater-component-item .repeater-item__remove{flex:1}.jet-form-builder__repeater-component-item .repeater__item__header .repeater-item__left-heading{max-width:85%;word-break:break-all;display:flex;align-items:center}.jet-form-builder__repeater-component-item .repeater__item__header .repeater-action-button{margin-right:1em}.jet-form-builder__repeater-component-item .repeater__item__header span.repeater-item-title{font-size:1.1em;font-style:italic;color:#8e8e8e}.jet-fb.flex{display:flex}.jet-fb.flex-center{display:flex;justify-content:center;align-items:center}.jet-fb.flex-dir-column{flex-direction:column}.jet-fb.jc-space-between{justify-content:space-between}.jet-fb.jc-center{justify-content:center}.jet-fb.ai-center{align-items:center}.jet-fb.mb-24{margin-bottom:24px}.jet-fb.mb-05-em{margin-bottom:.5em}.jet-fb.p-06em{padding:.6em}.jet-fb.m-unset{margin:unset}.jet-fb.m-top-05em{margin-top:.5em}.jet-fb.label-reset-margin .components-base-control__label{margin-right:unset}.jet-fb.show{opacity:1}.jet-fb.hide{opacity:0}.jet-fb.container{border:1px solid rgba(0,107,161,.4);background:rgba(0,107,161,.05);padding:12px 15px 15px}.jet-fb.p-absolute{position:absolute}.jet-fb.p-relative{position:relative}.jet-fb.w-100{width:100%}.jet-fb.h-100{height:100%}.jet-fb.wh-100{width:100%;height:100%}.jet-fb.gap-1em{gap:1em}.jet-fb.gap-05em{gap:.5em}.jet-fb.gap-default{gap:8px}.jet-fb [data-title]:before{content:attr(data-title);color:#a9a9a9;margin-right:.5em}.jet-fb.clear-control .components-base-control__field{padding-top:unset;border-top:unset;margin:unset;padding-bottom:unset}.jet-fb.label{font-size:11px;font-weight:500;line-height:1.4;text-transform:uppercase;box-sizing:border-box;display:block;padding-top:0;padding-bottom:0;max-width:100%;z-index:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jet-fb.with-button{display:flex;justify-content:space-between}.jet-fb.with-button>*:first-child{flex:.97}.jet-fb.with-button>button{margin-bottom:1.1em}.jet-fb.with-button.clear-label .components-form-token-field__label{display:none}.jet-fb.toggle-toolbar-group.components-toolbar-group .components-base-control__field,.jet-fb.toggle-toolbar-group.components-toolbar .components-base-control__field{margin-bottom:unset}.jet-fb.toggle-toolbar-group.components-toolbar-group .components-base-control,.jet-fb.toggle-toolbar-group.components-toolbar .components-base-control{display:flex;align-items:center}.components-toggle-group-control [aria-checked=true] svg path{fill:currentColor}.block-editor-block-inspector__tabs .components-grid.components-tools-panel.components-tools-panel .color-block-support-panel__inner-wrapper{grid-column:1/-1}.block-editor-block-inspector__tabs .components-grid.components-tools-panel.components-tools-panel .color-block-support-panel__inner-wrapper>*:first-child{border-top:1px solid rgba(0,0,0,.1);border-top-left-radius:2px;border-top-right-radius:2px}:root{--jet-fb__range-field-slider--size: 18px;--jet-fb__range-field-range--height: 4px}.jet-form-builder{background:#fff;margin:20px 0 0 0;padding:0;border:1px solid #ccd0d4}.jet-form-builder>.components-drop-zone__provider{display:flex;justify-content:space-between;min-height:60vh;flex-wrap:wrap}.jet-form-builder__sidebar{flex:0 0 30%;order:2;border-left:1px solid #e2e4e7}.jet-form-builder__content,.editor-styles-wrapper{flex:0 0 65%;padding:10px 0 35px;order:1}.block-editor-block-contextual-toolbar:not([data-align=wide]):not([data-align=full]) .block-editor-block-mover:not(.is-horizontal).is-visible{opacity:1}.editor-styles-wrapper .block-editor-block-list__block{min-height:45px}.jet-form-builder .editor-post-title__block{padding-left:40px}.block-editor-block-list__layout.is-root-container,.edit-post-visual-editor__post-title-wrapper{padding:0 20px}.jet-form-builder__header{width:100%;flex:0 0 100%;box-sizing:border-box;display:flex;padding:0 40px 0 6px;justify-content:space-between;align-items:center;border-bottom:1px solid #e2e4e7;height:60px}.jet-form-editor__macros-trigger{height:36px;min-height:36px}.jet-form-editor__macros-inserter{position:absolute;right:1px;top:14px;z-index:20;background:#f5f5f5}.jet-form-dynamic-preset{position:relative}.jet-form-dynamic-preset .components-base-control{flex:3}.jet-form-dynamic-preset .components-base-control .components-base-control__field{border-top:unset}.jet-form-dynamic-preset .components-base-control .components-base-control__field textarea{padding-right:36px;width:calc(100% - 31px)}.jet-form-dynamic-preset .components-base-control .components-base-control__field input{padding-right:28px}.jet-form-dynamic-preset .jet-control-with-dynamic .components-base-control__field input{margin-left:6px}.jet-form-dynamic-preset__trigger{width:31px;height:31px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:0 2px 2px 0;border:1px solid #757575;margin:26px 0 0 0;cursor:pointer;position:absolute;right:0;top:0;z-index:20}.jet-form-dynamic-preset__trigger.trigger__textarea{margin-top:unset;border-radius:0 0 0 5px;border-width:0 0 1px 1px;background-color:#fff;top:20px;right:1px}.jet-form-dynamic-preset__trigger.trigger__text-control{margin:0;border-width:0 1px 1px 1px;top:14px;right:0;border-left:unset}.jet-form-dynamic-preset__trigger:not(.trigger__textarea){border-left-width:0}.jet-form-dynamic-preset__trigger:hover svg path{fill:#007cba;fill:var(--wp-admin-theme-color)}.jet-form-dynamic-preset__trigger svg{width:50%}.jet-form-builder__flex-controls{display:flex}.jet-form-builder__flex-controls .repeater-item-column label{flex:0 0 1em;margin-right:1em}.jet-form-builder__flex-controls .repeater-item-column input{margin-right:1em}.field-mime-types.field-mime-types select[multiple]{height:7rem}.field-mime-types.field-mime-types svg{display:none}.jet-user-meta-rows{flex:0 0 40%}.jet-user-fields-map__list{flex:3;padding-top:.5em;margin-left:-6px}.jet-user-fields-map__list .components-flex__item{flex:2}.block-editor-block-list__block[data-type="jet-forms/form-break-field"]{max-width:100%;margin-top:28px;margin-bottom:28px}.block-editor-block-list__block[data-type="jet-forms/group-break-field"]{margin-top:28px;margin-bottom:28px}.block-editor-block-list__block[data-type="jet-forms/repeater-field"],.block-editor-block-list__block[data-type="jet-forms/conditional-block"],.block-editor-block-list__block[data-type^="jet-forms/"] .inside-block-options{padding:20px;background:#fff;-webkit-box-shadow:0 2px 4px rgba(22,43,64,.1);box-shadow:0 2px 4px rgba(22,43,64,.1);-webkit-transition:.3s all;-o-transition:.3s all;transition:.3s all}.block-editor-block-list__block[data-type^="jet-forms/"] .inside-block-options{margin-bottom:20px}.block-editor-block-list__block[data-type="jet-forms/repeater-field"]:hover,.block-editor-block-list__block[data-type="jet-forms/conditional-block"]:hover{-webkit-box-shadow:0 20px 20px rgba(22,43,64,.12);box-shadow:0 20px 20px rgba(22,43,64,.12);-webkit-transition:.3s all;-o-transition:.3s all;transition:.3s all}.jet-form-builder__bottom-line{display:block;white-space:nowrap}.jet-form-builder__bottom-line:before{content:"";position:absolute;bottom:0;left:0;right:0;border-top:1px solid #ccc}.jet-form-builder__bottom-line>span{font-size:13px;position:relative;display:inline-block;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#757575;border-radius:4px;background:#fff;padding:6px 8px;height:24px}.jet-form-builder__field-wrap.range-wrap fieldset.components-input-control__backdrop{border:none}.jet-form-builder__field-wrap.range-wrap{width:100%}.jet-form-builder__field-wrap.range-wrap input[type=range]{margin-right:10px;-webkit-appearance:none;min-height:18px;border:0}.jet-form-builder__field-wrap.range-wrap input[type=range]:focus{padding:0;background:rgba(0,0,0,0);border:none;border-radius:0;-webkit-box-shadow:none;box-shadow:none;outline:none}.jet-form-builder__field-wrap.range-wrap .range-flex-wrap{display:flex;display:-ms-flexbox;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .components-input-control{margin-right:auto;flex:1}.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .jet-form-builder__field-value{white-space:nowrap;margin-left:10px;display:flex}.jet-form-builder__field-wrap.range-wrap .range-flex-wrap .components-input-control__container{background-color:rgba(255,255,255,0)}.jet-form-builder__field-wrap.range-wrap input[type=range]::-webkit-slider-runnable-track{width:100%;height:var(--jet-fb__range-field-range--height, 4px);cursor:pointer;background:#e3ddd8;-webkit-box-shadow:none;box-shadow:none;border:none}.jet-form-builder__field-wrap.range-wrap input[type=range]::-moz-range-track{width:100%;height:var(--jet-fb__range-field-range--height, 4px);cursor:pointer;background:#e3ddd8;box-shadow:none;border:none}.jet-form-builder__field-wrap.range-wrap input[type=range]::-ms-track{width:100%;height:var(--jet-fb__range-field-range--height, 4px);cursor:pointer;background:#e3ddd8;box-shadow:none;border:none;color:rgba(0,0,0,0)}.jet-form-builder__field-wrap.range-wrap input[type=range]::-ms-fill-lower{background:rgba(0,0,0,0)}.jet-form-builder__field-wrap.range-wrap input[type=range]::-ms-fill-upper{background:rgba(0,0,0,0)}.jet-form-builder__field-wrap.range-wrap input[type=range]::-webkit-slider-thumb{width:var(--jet-fb__range-field-slider--size, 18px);height:var(--jet-fb__range-field-slider--size, 18px);background:#ccc;border-radius:50%;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;border:none;margin-top:calc((var(--jet-fb__range-field-slider--size, 18px) - var(--jet-fb__range-field-range--height, 4px))/-2);-webkit-appearance:none}.jet-form-builder__field-wrap.range-wrap input[type=range]::-moz-range-thumb{width:var(--jet-fb__range-field-slider--size, 18px);height:var(--jet-fb__range-field-slider--size, 18px);background:#ccc;border-radius:50%;cursor:pointer;box-shadow:none;border:none}.jet-form-builder__field-wrap.range-wrap input[type=range]::-ms-thumb{width:var(--jet-fb__range-field-slider--size, 18px);height:var(--jet-fb__range-field-slider--size, 18px);background:#ccc;border-radius:50%;cursor:pointer;box-shadow:none;border:none}.jet-form-builder__field-wrap.range-wrap .components-input-control__backdrop[aria-hidden=true]{border-width:0}.jet-form-builder__field-settings .help-input{margin-bottom:2em;font-size:12px;color:#757575}.jet-form-edit-modal .jet-post-field-control{display:flex;position:relative}.jet-form-edit-modal .jet-post-field-control .components-base-control__field{padding:0;border:none}.jet-form-edit-modal .jet-post-field-control .components-base-control:nth-child(2){position:absolute;left:25em}.jet-field-map__row-label .fields-map__required{color:red;font-weight:900}.jet-form-load-button.components-button.loading i,.jet-form-validate-button.components-button.loading i{animation:jet-form-editor-spin 2s infinite linear}.jet-form-validate-button.components-button i.dashicons{margin-right:4px}.jet-form-validate-button.components-button i.dashicons:before{content:""}.jet-form-validate-button.components-button.is-valid{color:#46b450;box-shadow:inset 0 0 0 1px #46b450}.jet-form-validate-button.components-button.is-valid:hover:not(:disabled){color:#388f40;box-shadow:inset 0 0 0 1px #388f40}.jet-form-validate-button.components-button.is-valid i.dashicons:before{content:""}.jet-form-validate-button.components-button.is-invalid i.dashicons:before{content:""}@keyframes jet-form-editor-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.jet-form-edit-modal__content .description-controls{color:#999;display:block;margin-bottom:1.2em}.jet-form-builder-row{overflow:hidden;display:block}.rtl .jet-form-editor__macros-inserter{left:15px;right:unset}.rtl .jet-form-builder__field-wrap.range-wrap .range-flex-wrap .jet-form-builder__field-value{margin-left:unset;margin-right:10px}.jet-form-edit-modal .input-with-button .components-input-control__container,.jet-form-edit-modal .input-with-button .components-text-control__input{width:30em;margin-right:1em}.jet-form-edit-modal .with-wrap .components-base-control__field{flex-wrap:wrap}select.components-select-control__input.components-select-control__input.components-select-control__input{max-width:100vw;width:100%;line-height:1.5;padding:1px 24px 1px 8px}.jet-form-builder__calculated-field{display:flex;width:100%}.components-text-control__input{margin:unset;box-sizing:border-box;flex:3}.flex-column .components-base-control__field{flex-direction:column}.edit-post-sidebar .components-input-control.components-number-control{margin-bottom:2em}.jet-label-overflow{overflow:hidden;text-overflow:ellipsis;display:block;white-space:nowrap}.jet-control-clear .components-base-control__field{padding-top:unset;border-top:unset}.jet-control-clear-full{flex:3}.jet-control-clear-full .components-base-control__field{display:block;padding:unset;border-top:unset}.editor-styles-wrapper .wp-block.wp-block.wp-block{max-width:100%}.editor-styles-wrapper p.components-base-control__help{font-size:12px;line-height:1.5;margin:1em 0}.components-button.has-icon:not(.has-text) .dashicon.dashicon{margin:unset}.jet-form-builder-repeater__remove{margin-top:10px}.interface-complementary-area-header.components-panel__header{z-index:100}.jet-form-edit-modal .jet-inline-radio .components-radio-control__option:not(:nth-child(1)):not(:nth-child(2)){margin-left:1em}.jet-control-full{padding:12px 0 5px;border-top:1px solid #ddd}.jet-border-unset.components-base-control div.components-base-control__field.components-base-control__field{border-top:unset}.jet-user-meta__row .components-flex.components-select-control{display:block;flex:1}.jet-modal-fixed-height .jet-form-edit-modal__wrapper{display:flex;flex-direction:column;height:calc(100% - 86px);justify-content:space-between}.jet-custom-select-control{display:flex}.jet-custom-select-control .components-custom-select-control__label{margin-right:7.7em}.jet-margin-bottom-wrapper>div:not(:last-child){margin-bottom:1.2em}.jet-form-builder-row .components-base-control__label{display:flex}.jet-form-builder-row.jet-form-builder-row__flex .components-base-control__label{display:block}.jet-form-builder__desc--wrapper{display:flex}.jet-form-builder-row__flex .jet-form-builder__desc--wrapper{display:block}.jet-form-builder-row__flex--label{flex:1 1 0}.jet-form-builder-row__flex--label .components-base-control__label{margin-bottom:1em}.jet-form-builder-row__flex--content{flex:3 1 0}.jet-form-builder-row__flex--content .components-input-control{display:block}.components-base-control__label .jet-form-builder__label{width:100%;text-transform:initial;font-size:initial;font-weight:initial;line-height:initial}.components-base-control__label .jet-form-builder__label>div,.components-base-control__label .jet-form-builder__label>span{display:inline-block}.components-base-control__label .jet-form-builder__label .rich-text::after{content:" "}.jet-form-builder__desc{width:100%}.has-fixed-toolbar .jet-form-toggle-box{padding:1px 12px 0 12px}.jet-form-toggle-box{padding:0 12px}.jet-form-toggle-box .components-clipboard-button.has-icon{position:absolute;right:-8px;padding:0;height:30px}.jet-form-toggle-box input.components-text-control__input{padding-right:2.5em}.jet-form-toggle-box .components-base-control__field{margin:0}.jet-fb-control__input.jet-fb-control__input{max-width:unset;padding:0 24px 0 8px;width:100%}.jet-fb-with-border:not(:last-child){border-bottom:1px solid #ddd;margin-bottom:1.2em;padding-bottom:1.2em}.jet-form-edit-modal div.components-input-control__container{flex:3;margin-left:unset}.jet-form-edit-modal .components-textarea-control__input{flex:3}.jet-form-edit-modal .components-base-control__label+select.components-select-control__input{flex:3;margin-left:6px}.jet-form-builder-row__flex>.components-base-control__field{display:flex}.jet-d-flex-between{display:flex;justify-content:space-between}.jet-d-flex-between>div{flex:.9}.jet-required-field label.components-base-control__label::after,.jet-required-field label.components-input-control__label::after{content:" *";color:red;font-weight:700}.jet-fb-notice>a{transition:.2s ease-in-out;text-decoration:none;display:flex;gap:.8em;width:fit-content;padding:.3em;padding-left:unset;background-color:#eee;border-radius:50px;opacity:.5}.jet-fb-notice>a .dashicons:before{content:"";border-radius:50px;background:#4272f9;background:radial-gradient(circle, #4272f9 1%, #fff 100%);color:#fff;padding:2px}.jet-fb-notice>a:hover{opacity:1}ul.jet-fb-ul-revert-layer{list-style:revert-layer}ul.jet-fb-ul-revert-layer li{list-style:revert-layer}.edit-post-sidebar .components-panel>.components-panel__body .components-base-control:not(:last-child){margin-bottom:24px}@media only screen and (min-width: 1200px){.components-base-control.components-checkbox-control.jet-forms-checkbox-field{position:relative}.components-base-control.components-checkbox-control.jet-forms-checkbox-field .components-base-control__help{position:absolute;top:0;right:0}.components-base-control.components-checkbox-control.jet-forms-checkbox-field:first-child .components-base-control__help{margin-top:unset}} diff --git a/assets/js/editor/package.js b/assets/js/editor/package.js index 89b2189f5..e077e3f35 100644 --- a/assets/js/editor/package.js +++ b/assets/js/editor/package.js @@ -1 +1,3199 @@ -(()=>{var e={7194:()=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{const n=r(6830),{MAX_LENGTH:o,MAX_SAFE_INTEGER:i}=r(39),{safeRe:l,t:a}=r(9022),u=r(8716),{compareIdentifiers:c}=r(8822);class s{constructor(e,t){if(t=u(t),e instanceof s){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>o)throw new TypeError(`version is longer than ${o} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?l[a.LOOSE]:l[a.FULL]);if(!r)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=s},3992:(e,t,r)=>{const n=r(9510);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},2260:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>0},6579:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)>=0},290:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<0},5891:(e,t,r)=>{const n=r(3992);e.exports=(e,t,r)=>n(e,t,r)<=0},39:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},6830:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},8822:e=>{const t=/^[0-9]+$/,r=(e,r)=>{const n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:er(t,e)}},8716:e=>{const t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},9022:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:i}=r(39),l=r(6830),a=(t=e.exports={}).re=[],u=t.safeRe=[],c=t.src=[],s=t.t={};let f=0;const p="[a-zA-Z0-9-]",m=[["\\s",1],["\\d",i],[p,o]],y=(e,t,r)=>{const n=(e=>{for(const[t,r]of m)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e})(t),o=f++;l(e,o,t),s[e]=o,c[o]=t,a[o]=new RegExp(t,r?"g":void 0),u[o]=new RegExp(n,r?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),y("MAINVERSION",`(${c[s.NUMERICIDENTIFIER]})\\.(${c[s.NUMERICIDENTIFIER]})\\.(${c[s.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${c[s.NUMERICIDENTIFIERLOOSE]})\\.(${c[s.NUMERICIDENTIFIERLOOSE]})\\.(${c[s.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${c[s.NUMERICIDENTIFIER]}|${c[s.NONNUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${c[s.NUMERICIDENTIFIERLOOSE]}|${c[s.NONNUMERICIDENTIFIER]})`),y("PRERELEASE",`(?:-(${c[s.PRERELEASEIDENTIFIER]}(?:\\.${c[s.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${c[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[s.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER",`${p}+`),y("BUILD",`(?:\\+(${c[s.BUILDIDENTIFIER]}(?:\\.${c[s.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${c[s.MAINVERSION]}${c[s.PRERELEASE]}?${c[s.BUILD]}?`),y("FULL",`^${c[s.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${c[s.MAINVERSIONLOOSE]}${c[s.PRERELEASELOOSE]}?${c[s.BUILD]}?`),y("LOOSE",`^${c[s.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${c[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${c[s.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${c[s.XRANGEIDENTIFIER]})(?:\\.(${c[s.XRANGEIDENTIFIER]})(?:\\.(${c[s.XRANGEIDENTIFIER]})(?:${c[s.PRERELEASE]})?${c[s.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${c[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[s.XRANGEIDENTIFIERLOOSE]})(?:${c[s.PRERELEASELOOSE]})?${c[s.BUILD]}?)?)?`),y("XRANGE",`^${c[s.GTLT]}\\s*${c[s.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${c[s.GTLT]}\\s*${c[s.XRANGEPLAINLOOSE]}$`),y("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),y("COERCERTL",c[s.COERCE],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${c[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",y("TILDE",`^${c[s.LONETILDE]}${c[s.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${c[s.LONETILDE]}${c[s.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${c[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",y("CARET",`^${c[s.LONECARET]}${c[s.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${c[s.LONECARET]}${c[s.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${c[s.GTLT]}\\s*(${c[s.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${c[s.GTLT]}\\s*(${c[s.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${c[s.GTLT]}\\s*(${c[s.LOOSEPLAIN]}|${c[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${c[s.XRANGEPLAIN]})\\s+-\\s+(${c[s.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${c[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[s.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}(()=>{"use strict";const e=(0,wp.element.createContext)({name:"",data:{},index:0});function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,j);f="string"==typeof f?f:f.join(" ");var C=function(){!1===v?(c(),jQuery.ajax({url:ajaxurl,type:"POST",data:n}).done((function(e){return e.success?i(e):a()})).fail((function(){return a()}))):"function"==typeof v?v():a()};return E((function(){g&&-1===A&&C()}),[]),g?null:wp.element.createElement(S,O({disabled:d,key:"validate_api_key",onClick:C,className:f+" jet-fb-button line-with-input",variant:"secondary"},P),m&&m,t)};function P(e,t){if(e){if("string"==typeof e)return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(e,t):void 0}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"--",value:arguments.length>2&&void 0!==arguments[2]?arguments[2]:""}].concat($(e))}},{key:"isEmptyObject",value:function(e){return console.warn("Use JetFBActions.isEmpty insteadof JetFBActions.Tools.isEmptyObject"),re(e)}},{key:"getRandomID",value:function(){return Math.floor(8999*Math.random())+1e3}}],null&&V(t.prototype,null),r&&V(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function K(e,t){return null!=e&&e.length?e.map((function(e){return"object"===B(e)?e[t]:e})):[]}var Z=W("jet.fb.tools.convertSymbols",{checkCyrRegex:/[а-яёїєґі]/i,cyrRegex:/[а-яёїєґі]/gi,charsMap:{а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"io",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"ts",ч:"ch",ш:"sh",щ:"shch",ы:"y",э:"e",ю:"iu",я:"ia",ї:"i",є:"ie",ґ:"g",і:"i"}});function Q(e){return Z.checkCyrRegex.test(e)&&(e=e.replace(Z.cyrRegex,(function(e){return void 0===Z.charsMap[e]?"":Z.charsMap[e]}))),e}function ee(e){var t=e.toLowerCase(),r=(t=Q(t=t.normalize("NFD").replace(/[\u0300-\u036f]/g,""))).match(/\b(\w+)\b/g);t="";for(var n=0,o=Object.entries(r);n60)return t+(a?"":"__")}return t}function te(){for(var e=[],t=arguments.length,r=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:null;(r=r||oe("core/block-editor").getBlocks()).forEach((function(r){var o,i,l;if(e(r,n),r.innerBlocks.length){var a="jet-forms/repeater-field"===r.name?r:n;t(r.innerBlocks,a)}else if("core/block"===r.name){var u=null===(o=oe("core/block-editor"))||void 0===o||null===(i=o.__unstableGetClientIdsTree)||void 0===i?void 0:i.call(o,r.clientId);if(null!==(l=u)&&void 0!==l&&l.length){var c=u.map((function(e){return e.clientId}));u=oe("core/block-editor").getBlocksByClientId(c),t(u)}}}))}()};function le(e){return function(e){if(Array.isArray(e))return ae(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ae(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ae(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"default",n=[],o=["submit","form-break","heading","group-break","conditional"].concat(le(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]));return ie((function(e){if(e.name.includes("jet-forms/")&&!o.find((function(t){return e.name.includes(t)}))){var t,i=se("core/blocks").getBlockType(e.name),l=i.jfbResolveBlock.call(e,r).fields,a=void 0===l?[]:l;i.hasOwnProperty("jfbGetFields")&&(a=i.jfbGetFields.call(e,r)),(t=n).push.apply(t,le(a.filter((function(e){return!n.some((function(t){return t.value===e.value}))}))))}})),n=e?[{value:"",label:e}].concat(le(n)):n,t?n:ce("jet.fb.getFormFieldsBlocks",n,r)},pe=function(){var e=[],t=fe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],!1,!1,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default");return t&&t.forEach((function(t){return e.push(t.name)})),e};var me=wp.i18n.__;function ye(e){return function(e){if(Array.isArray(e))return de(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return de(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?de(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default",n=["submit","form-break","heading","group-break","conditional"],o=[],i=wp.data.select("core/block-editor").getSelectedBlock();return ie((function(e){if(e.name.includes("jet-forms/")&&(null==i?void 0:i.clientId)!==e.clientId&&!n.find((function(t){return e.name.includes(t)}))){var t,l=he("core/blocks").getBlockType(e.name),a=l.jfbResolveBlock.call(e,r).fields,u=void 0===a?[]:a;l.hasOwnProperty("jfbGetFields")&&(u=l.jfbGetFields.call(e,r)),(t=o).push.apply(t,ye(u.filter((function(e){return!o.some((function(t){return t.value===e.value}))}))))}})),o=e?[{value:"",label:e}].concat(ye(o)):o,t?o:ve("jet.fb.getFormFieldsBlocks",o,r)},we=function(e){var t=wp.data.select("core/block-editor").getBlock(e);return t?t.innerBlocks:[]};var je=wp.hooks.addFilter;const Oe=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=window.JetFormEditorData.gateways;if(!e)return r;if(!r[e])return!1;var n=r[e];return function(e){return n[e]?n[e]:t}},Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=Oe("labels");return function(n){return r(e)?r(e)[n]:t}},Ee=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cred";return window.JetFBGatewaysList&&window.JetFBGatewaysList[e]&&window.JetFBGatewaysList[e][t]},Ae=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"cred";if(!Ee(e,r))return null;var n=window.JetFBGatewaysList[e][r];return wp.element.createElement(n,t)};function Pe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ce(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"{}",r=Te((function(r){var n=r("core/editor").getEditedPostAttribute("meta")||{};return JSON.parse(n[e]||t)}),arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0),n=xe("core/editor").editPost;return[r,function(o){var i;"object"===_e(i="function"==typeof o?o(r):o)&&null!==i||(i=JSON.parse(t)),n({meta:Ce(Ce({},r),{},Ie({},e,JSON.stringify(i)))})}]},Re=function(){return Ne("_jf_actions","[]",arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0)};function De(e){return function(e){if(Array.isArray(e))return Me(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Fe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){if(e){if("string"==typeof e)return Me(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Me(e,t):void 0}}function Me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:{},r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ve(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ve(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Je(!1),2),n=r[0],o=r[1],i=Xe(wp.notices.store);return He((function(){n&&i.createWarningNotice(e,function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null;this.initData(e)}Qe.prototype.initData=function(e){var t,r,n,o,i,l=this;this.id=null!==(t=null==e?void 0:e.id)&&void 0!==t?t:ne.getRandomID(),this.settings=null!==(r=null==e?void 0:e.settings)&&void 0!==r?r:{},this.type=null!==(n=null==e?void 0:e.type)&&void 0!==n?n:"send_email",this.conditions=null!==(o=null==e?void 0:e.conditions)&&void 0!==o?o:[],this.events=null!==(i=null==e?void 0:e.events)&&void 0!==i?i:[],Object.defineProperty(this,"selfSettings",{get:function(){var e;return l.settings.hasOwnProperty(null!==(e=l.type)&&void 0!==e?e:"")?l.settings[l.type]:{}},set:function(e){var t;l.settings.hasOwnProperty(null!==(t=l.type)&&void 0!==t?t:"")&&(l.settings[l.type]={}),l.settings[l.type]=Ke(Ke({},l.settings[l.type]),e)}}),Object.defineProperty(this,"index",{get:function(){var t;return null!==(t=null==e?void 0:e.index)&&void 0!==t?t:0}})},Qe.prototype.resetID=function(){this.id=ne.getRandomID()};const et=Qe,tt=(0,wp.element.createContext)({});function rt(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return nt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nt(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{}).returnOnEmptyCurrentAction,t=void 0===e||e,r=ot((function(e){return e("core/editor").getEditedPostAttribute("meta")||{}}),[]),n=it(tt),o=ot((function(e){return{currentAction:e("jet-forms/actions").getCurrentAction(),computedList:e("jet-forms/actions").getComputedFields()}}),[]),i=o.currentAction,l=o.computedList;if((null==n||!n.actionId)&&t)return[];var a=JSON.parse(r._jf_actions||"[]");Number.isNaN(Number(null==i?void 0:i.index))||a.splice(i.index);var u,c=new Set,s=[],f=rt(l);try{for(f.s();!(u=f.n()).done;){var p=u.value,m=p.field,y=p.settings;if(null!=y&&y.isScoped){var d=new m;at({computed:d,action:i,nameSet:c,fields:s})}}}catch(e){f.e(e)}finally{f.f()}return lt({actions:a,fields:s}),ut({fields:s,actions:a,computed:l,nameSet:c}),s};var st=wp.data.useSelect;const ft=function(e){var t=st((function(e){return e("core/editor").getEditedPostAttribute("meta")||{}}));return JSON.parse(t[e]||"{}")};var pt=wp.element,mt=pt.useContext,yt=pt.useEffect;const dt=function(e){var t=mt(o),r=t.actionClick,n=t.onRequestClose;yt((function(){r&&e(),null!==r&&n()}),[r])};function bt(e){return function(e){if(Array.isArray(e))return vt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return vt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"";return c?s[e]||t:n[e]||t},globalGatewayLabel:m,specificGatewayLabel:y,customGatewayLabel:d,scenarioLabel:function(e){return d("scenario.".concat(a,".").concat(e))}}};function Ot(e){return Ot="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ot(e)}function St(e){return function(e){if(Array.isArray(e))return Et(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Et(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Et(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Et(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(Tt((function(e){return e("jet-forms/events").getAlwaysTypes()})));try{for(r.s();!(e=r.n()).done;){var n=e.value.value;t.push(n)}}catch(e){r.e(e)}finally{r.f()}return function(e){return function(e){if(Array.isArray(e))return kt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||_t(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(new Set(t))};function Nt(e,t){if(e){if("string"==typeof e)return Rt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rt(e,t):void 0}}function Rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(e("jet-forms/events").getGatewayTypes());try{for(i.s();!(r=i.n()).done;){var l=r.value,a=!l.gateway||l.gateway===t.gateway,u=!l.scenario||l.scenario===(null==n?void 0:n.id);a&&u&&o.push(l.value)}}catch(e){i.e(e)}finally{i.f()}return function(e){return function(e){if(Array.isArray(e))return Rt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(new Set(o))}),[null==t?void 0:t.gateway])};function Mt(e){return function(e){if(Array.isArray(e))return Bt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Lt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lt(e,t){if(e){if("string"==typeof e)return Bt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bt(e,t):void 0}}function Bt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(r);try{for(l.s();!(o=l.n()).done;){var a,u=o.value,c=null==n||null===(a=n[u.type])||void 0===a?void 0:a.provideEvents;if("function"==typeof c){var s=u.settings[u.type],f=void 0===s?{}:s;i.push.apply(i,Mt(c(f)))}}}catch(e){l.e(e)}finally{l.f()}return Mt(new Set(i))}(e)),Ut(Gt((function(e){return e("jet-forms/events").getDynamicTypes().map((function(e){return e.value}))}))));return qt((function(r){return r("jet-forms/events").filterList(e.type,t)}))};var Ht=wp.data.useSelect;function Xt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:null,t=Qt(),r=t.clientId;e&&(r=e);var n=tr((function(e){return e("core/block-editor").getBlockAttributes(r)})),o=rr("core/block-editor",[]).updateBlock;return[n,function(e){e="object"===Zt(e)?e:e(n),e=nr("jet-forms/fields").getSanitizedAttributes(e,t),o(r,{attributes:e})}]};function ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(kn);try{for(r.s();!(e=r.n()).done;){var n=e.value;t.push(n)}}catch(e){r.e(e)}finally{r.f()}return t.items}const xn=function(e,t){1>=e.label.length||e.name&&"field_name"!==e.name||t({name:ee(e.label)})};function Nn(){return Nn=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Po);return wp.element.createElement("p",Co({className:"jet-fb-base-control__help"+(n?" ".concat(n):""),style:_o({fontSize:"12px",fontStyle:"normal",color:"rgb(117, 117, 117)",marginTop:"0px"},i)},l),t)};var xo=wp.blockEditor.useBlockEditContext,No=wp.data.useSelect,Ro=wp.i18n.__;const Do=function(e){var t=e.name,r=void 0!==t&&t,n=e.children,o=void 0===n?null:n,i=xo().name,l=No((function(e){var t,n;return!1!==r&&null!==(t=null===(n=e("core/blocks").getBlockType(i).attributes[r])||void 0===n?void 0:n.jfb)&&void 0!==t&&t}),[i,r]);return l?wp.element.createElement(To,{className:"jet-fb mb-24"},o,(null==l?void 0:l.shortcode)&&!o&&wp.element.createElement("span",null," ",Ro("You can use shortcodes here.","jet-form-builder")),(null==l?void 0:l.shortcode)&&o&&wp.element.createElement("span",null," ",Ro("You can also use short codes here.","jet-form-builder"))):Boolean(o)&&wp.element.createElement(To,{className:"jet-fb mb-24"},o)};function Fo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(window.jetFormActionTypes);try{for(fi.s();!(oi=fi.n()).done;){var pi=oi.value,mi=pi.id,yi=pi.name;si[mi]=yi}}catch(e){fi.e(e)}finally{fi.f()}function di(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Ri),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Fi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fi(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Li(!1),2),o=n[0],i=n[1],l=Bi();return wp.element.createElement(Ni.Provider,{value:{showPopover:o,setShowPopover:i}},wp.element.createElement(Gi,Di({ref:l,icon:"admin-tools",variant:"tertiary",isSmall:!0,className:"jet-fb-is-thick",onClick:function(){return i(!0)}},r)),o&&wp.element.createElement(Ui,{anchorRef:l.current,position:"top-start",noArrow:!1,isAlternate:!0,onClose:function(){return i(!1)}},t))},qi=(0,wp.element.createContext)([]),Ji=(0,wp.element.createContext)({name:""});function Hi(){}Hi.prototype={fullName:function(){},fullHelp:function(){}};const Xi=Hi;function zi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,nl),s=ll(qi),f=[].concat(ol(null!==(t=s.beforeFields)&&void 0!==t?t:[]),ol(u),ol(null!==(r=s.afterFields)&&void 0!==r?r:[]));return f.length||null!=s&&null!==(n=s.extra)&&void 0!==n&&n.length||null!=s&&null!==(o=s.filters)&&void 0!==o&&o.length?wp.element.createElement(Vi,c,Boolean(f.length)&&wp.element.createElement(rl,{title:al("Fields:","jet-form-builder"),items:f,initialOpen:!0},a),Boolean(null==s||null===(i=s.extra)||void 0===i?void 0:i.length)&&wp.element.createElement(rl,{title:al("Extra macros:","jet-form-builder"),items:s.extra},a),Boolean(null==s||null===(l=s.filters)||void 0===l?void 0:l.length)&&wp.element.createElement(rl,{title:al("Filters:","jet-form-builder"),items:s.filters},a)):null};var cl=wp.element.useContext,sl=wp.components.Button;const fl=function(e){var t=e.onClick,r=cl(Ji),n=r.fullName?r.fullName():"%".concat(r.value,"%");return wp.element.createElement(sl,{isLink:!0,onClick:function(){return t(n)}},n)},pl="SET_BLOCKS",ml="SET_BLOCKS_FIRST",yl="TOGGLE_EXECUTE";var dl;function bl(e){return bl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bl(e)}function vl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hl(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:null;null===e&&(e=El());var t=Pl(Jl).isExecuted();return t||Cl(Jl).toggleExecute(),{type:t?pl:ml,blocks:e.blocks,blockMap:e.blockMap}},toggleExecute:function(){return{type:yl}}};function _l(e){return _l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_l(e)}function kl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Tl(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==_l(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==_l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===_l(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return function(e){if(Array.isArray(e))return Dl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nl(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Rl(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}function Rl(e,t){if(e){if("string"==typeof e)return Dl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dl(e,t):void 0}}function Dl(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r2&&void 0!==arguments[2]?arguments[2]:{}).name;for(var n in t){var o,i,l,a;if(t.hasOwnProperty(n)){var u=null!==(o=null!==(i=null===(l=e.sanitizers)||void 0===l||null===(l=l[r])||void 0===l?void 0:l[n])&&void 0!==i?i:null===(a=e.sanitizers)||void 0===a?void 0:a[n])&&void 0!==o&&o;if(null!=u&&u.length){var c,s=Nl(u);try{for(s.s();!(c=s.n()).done;){var f=c.value;"function"==typeof f&&(t[n]=f(t[n]))}}catch(e){s.e(e)}finally{s.f()}}}}return t},isUniqueName:function(e,t){return!Fl.getUniqueNames(e,t).hasChanged},getBlock:function(e,t){return e.blocks.find((function(e){return[e.name,e.clientId].includes(t)}))},getBlockByName:function(e,t){return!!t&&(function e(r){var n,o=Nl(r);try{for(o.s();!(n=o.n()).done;){var i,l=n.value;if(l.fields.some((function(e){return e.value===t})))return l;null!==(i=l.innerBlocks)&&void 0!==i&&i.length&&e(l.innerBlocks)}}catch(e){o.e(e)}finally{o.f()}}(e.blocks),!1)},getBlockNameByName:function(e,t){var r,n=Fl.getBlockByName(e,t);return null!==(r=null==n?void 0:n.name)&&void 0!==r?r:""},getBlockById:function(e,t){var r;return null!==(r=e.blockMap[t])&&void 0!==r&&r}};const Ml=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:Ol,t=arguments.length>1?arguments[1]:void 0,r=jl[null==t?void 0:t.type];return r?r(e,t):e},actions:Il,selectors:Ml});function Xl(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,o=Wl(),i=ct();r.excludeCurrent&&null!=o&&null!==(e=o.clientId)&&void 0!==e&&e.length&&(r.currentId=o.clientId);var l=zl((function(e){return e(Jl).getFields(r)}),n);return(t=l=Yl("jet.fb.getFormFieldsBlocks",l)).push.apply(t,function(e){return function(e){if(Array.isArray(e))return Xl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Xl(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xl(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(i)),r.placeholder?ne.withPlaceholder(l,r.placeholder):l};var Zl=["onClick","withCurrent"];function Ql(){return Ql=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Zl),l=Kl({excludeCurrent:!o});return wp.element.createElement(ul,Ql({withCurrent:o,fields:l},i),wp.element.createElement(fl,{onClick:r}))};var ta=["label","children"];function ra(){return ra=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,ta);return wp.element.createElement(na,{align:"center",justify:"flex-start",style:{marginBottom:"8px"}},wp.element.createElement("label",ra({className:"jet-fb label"},n),t),r)};var ia=wp.components,la=(ia.Flex,ia.FlexItem),aa=wp.compose.useInstanceId;const ua=function(e){var t=e.children,r=e.value,n=e.label,o=e.onChangePreset,i=void 0!==o&&o,l=e.onChangeMacros,a=void 0!==l&&l,u=aa(la,"jfb-AdvancedInspectorControl");return wp.element.createElement(React.Fragment,null,wp.element.createElement(oa,{label:n,htmlFor:u},!1!==i&&wp.element.createElement(xi,{value:r,onChange:i}),!1!==a&&wp.element.createElement(ea,{onClick:a})),"function"==typeof t?t({instanceId:u}):t)};function ca(){Xi.call(this)}ca.prototype=Object.create(Xi.prototype),ca.prototype.isServerSide=!1,ca.prototype.isClientSide=!1,ca.prototype.name="",ca.prototype.namespace="CT",ca.prototype.help=null,ca.prototype.fullHelp=function(){return this.help},ca.prototype.fullName=function(){return"%".concat(this.namespace,"::").concat(this.name,"%")};const sa=ca;var fa=wp.data.useSelect,pa=wp.i18n.__,ma=new sa;ma.fullName=function(){return"%this%"},ma.fullHelp=function(){return pa("Returns current field value","jet-form-builder")};const ya=function(e){var t=e.children,r=e.withThis,n=void 0!==r&&r,o=fa((function(e){return e("jet-forms/macros").getClientMacros()}),[]),i=n?{extra:o,afterFields:[ma]}:{extra:o};return wp.element.createElement(qi.Provider,{value:i},t)};function da(e,t,r){var n,o=r.selectionStart,i=r.selectionEnd,l=(e=null!==(n=e)&&void 0!==n?n:"").slice(0,o),a=e.slice(i);return l+=t,setTimeout((function(){r.focus(),r.selectionStart=l.length,r.selectionEnd=l.length})),l+a}function ba(e){return ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ba(e)}function va(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(jetFormActionTypes);try{for(Ka.s();!(za=Ka.n()).done;){var Za,Qa,eu,tu,ru=za.value.self;if(null!==(Za=window[ru])&&void 0!==Za&&null!==(Qa=(eu=Za).hasOwnProperty)&&void 0!==Qa&&Qa.call(eu,"__messages")&&null!==(tu=Object.keys(window[ru].__messages))&&void 0!==tu&&tu.length)for(var nu=0,ou=Object.keys(window[ru].__messages);nue.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(e.list);try{for(n.s();!(t=n.n()).done;){var o=t.value;r[o.value]=o}}catch(e){n.e(e)}finally{n.f()}return r},getAction:function(e,t){return e.list.find((function(e){return e.value===t}))}};const pc=cc(cc({},fc),{},{isSettingsModal:function(e){var t;return"settings"===(null===(t=e.meta)||void 0===t?void 0:t.modalType)},isConditionalModal:function(e){var t;return"conditions"===(null===(t=e.meta)||void 0===t?void 0:t.modalType)},getMetaIndex:function(e){var t;return null===(t=e.meta)||void 0===t?void 0:t.index},getCurrentAction:function(e){return e.currentAction},getCurrentCallback:function(e){var t,r,n=null!==(t=null===(r=e.currentAction)||void 0===r?void 0:r.type)&&void 0!==t&&t;return fc.getCallback(e,n)},getCurrentDetail:function(e){var t,r,n=null!==(t=null===(r=e.currentAction)||void 0===r?void 0:r.type)&&void 0!==t&&t;return fc.getDetail(e,n)},getCurrentSettings:function(e){var t,r,n,o,i;return null!==(i=(null!==(t=null===(r=e.currentAction)||void 0===r?void 0:r.settings)&&void 0!==t?t:{})[null!==(n=null===(o=e.currentAction)||void 0===o?void 0:o.type)&&void 0!==n&&n])&&void 0!==i?i:{}},getCurrentLoading:function(e){var t,r=null===(t=e.currentAction)||void 0===t?void 0:t.id;return fc.getLoading(e,r)},dangerGetAllLoading:function(e){return e.loadingState}});function mc(e){return mc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mc(e)}function yc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{},t=bc({},oc);return e.state&&(t.buttonClassName=[].concat(function(e){return function(e){if(Array.isArray(e))return yc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return yc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I),[e.state])),bc(bc({},t),e)};function gc(e){return gc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gc(e)}function wc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jc(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{}}},setMeta:function(e){return{type:Qu,item:e}},clearCurrent:function(){return{type:ec}},setLoading:function(e){return{type:zu,state:{id:e.actionId,state:"loading",loading:!0}}},setLoadingResult:function(e){return{type:"SET_LOADING",state:{id:e.actionId,state:e.success?"is-valid":"is-invalid",success:e.success,response:e.response,loading:!1}}},updateCurrentSettings:function(e){return{type:Wu,item:e}},updateCurrentConditions:function(e){return{type:Yu,item:e}},addCallback:function(e,t){return{type:Ku,actionType:e,callback:t}},addDetail:function(e,t){return{type:Zu,actionType:e,item:t}},addComputedField:function(e){return{type:tc,field:e,settings:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}}},editAction:function(e,t){return{type:rc,actionType:e,replace:t}},openActionSettings:function(e){var t=e.item,r=e.index;return Mc("jet-forms/actions").setCurrentAction(Dc(Dc({},t),{},{index:r})),{type:Qu,item:{index:r,modalType:"settings"}}}},Bc=(0,wp.data.createReduxStore)("jet-forms/actions",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:xc,t=arguments.length>1?arguments[1]:void 0,r=Tc[null==t?void 0:t.type];return r?r(e,t):e},actions:Lc,selectors:pc}),$c="CLEAR_GATEWAY",Gc="CLEAR_SCENARIO",Uc="SET_CURRENT_GATEWAY_SCENARIO",Vc="SET_CURRENT_GATEWAY",qc="SET_CURRENT_GATEWAY_SPECIFIC",Jc="SET_CURRENT_GATEWAY_INNER",Hc="SET_CURRENT_REQUEST",Xc="SET_CURRENT_SCENARIO",zc="REGISTER_EVENT_TYPE",Wc="HARD_SET_CURRENT_GATEWAY",Yc="HARD_SET_CURRENT_GATEWAY_SPECIFIC";function Kc(e){return Kc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kc(e)}function Zc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qc(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:""}},hardSetGatewaySpecific:function(e){return{type:Yc,item:e,value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:""}}},fs=(0,wp.data.createReduxStore)("jet-forms/gateways",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:cs,t=arguments.length>1?arguments[1]:void 0,r=us[null==t?void 0:t.type];return r?r(e,t):e},actions:ss,selectors:rs}),ps="REGISTER",ms="UNREGISTER",ys="LOCK_ACTIONS",ds="CLEAR_DYNAMIC_EVENTS";function bs(e){return bs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bs(e)}function vs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hs(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==bs(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==bs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===bs(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(e.types);try{for(n.s();!(t=n.n()).done;){var o=t.value,i=o.value,l=o.help;r[i]=l}}catch(e){n.e(e)}finally{n.f()}return r}};const js=function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}function Is(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:ks,t=arguments.length>1?arguments[1]:void 0,r=_s[null==t?void 0:t.type];return r?r(e,t):e},actions:Ts,selectors:js}),Ns="REGISTER",Rs="ADD_RENDER_STATE",Ds="ADD_RENDER_STATES",Fs="DELETE_RENDER_STATES";function Ms(e){return Ms="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ms(e)}var Ls;function Bs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ms(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Ms(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ms(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gs(e){return function(e){if(Array.isArray(e))return Vs(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Us(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Us(e,t){if(e){if("string"==typeof e)return Vs(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vs(e,t):void 0}}function Vs(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(t.items);try{for(n.s();!(r=n.n()).done;){var o=r.value;e.renderStates.push(o)}}catch(e){n.e(e)}finally{n.f()}return qs("jet.fb.change.blockConditions.renderState",e.renderStates),e})),$s(Ls,Fs,(function(e,t){var r=Array.isArray(t.items)?Gs(t.items):[t.items];return e.renderStates=e.renderStates.filter((function(e){var t=e.value;return!r.includes(t)})),qs("jet.fb.change.blockConditions.renderState",e.renderStates),e})),Ls);const Hs=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"code";if(!function(e){var t,r;try{r=JSON.parse(e)}catch(e){return!1}return!(null===(t=r)||void 0===t||!t.jet_preset)}(e=null!==(t=e)&&void 0!==t?t:""))return e;var o,i=JSON.parse(e),l=Xs("Preset from","jet-form-builder"),a=null!==(r=null==i?void 0:i.from)&&void 0!==r?r:"(empty)";switch(n){case"code":o="".concat(a,"");break;case"b":o="".concat(a,"")}return[l,o].join(" ")};var Ws=wp.data.select,Ys=wp.i18n.__,Ks=function(e){var t=Ws("jet-forms/block-conditions").getOperator(null==e?void 0:e.operator);if(!t)return"";var r=(null==e?void 0:e.field)||"(no field)";return["".concat(r,""),t.label].join(" ")},Zs={functions:[],operators:[],conditionReaders:{default:function(e){var t=Ws("jet-forms/block-conditions").getOperator(null==e?void 0:e.operator);if(!t)return"";var r=(null==e?void 0:e.field)||"(no field)",n=zs(e.value,"b")||"(no value)";return["".concat(r,""),t.label,"".concat(n,"")].join(" ")},empty:Ks,not_empty:Ks,render_state:function(e){var t,r=(null!==(t=null==e?void 0:e.render_state)&&void 0!==t?t:[]).map((function(e){return"".concat(e,"")}));return[1===r.length?Ys("Is render state","jet-form-builder"):Ys("One of the render states","jet-form-builder"),r.join(", ")].join(": ")}},renderStates:[]};const Qs={register:function(e){return{type:Ns,items:e}},addRenderState:function(e){return{type:Rs,item:e}},addRenderStates:function(e){return{type:Ds,items:e}},deleteRenderStates:function(e){return{type:Fs,items:e}}};function ef(e){return ef="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ef(e)}function tf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function rf(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==ef(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==ef(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ef(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nf={getFunctions:function(e){return e.functions},getOperators:function(e){return e.operators},getRenderStates:function(e){return e.renderStates},getSwitchableRenderStates:function(e){return e.renderStates.filter((function(e){var t=e.is_custom,r=void 0!==t&&t,n=e.can_be_switched;return r||void 0!==n&&n}))},getCustomRenderStates:function(e){return e.renderStates.filter((function(e){var t=e.is_custom;return void 0!==t&&t}))},getOperator:function(e,t){var r=e.operators.findIndex((function(e){return e.value===t}));return-1!==r&&e.operators[r]},readCondition:function(e,t){var r,n=t.operator,o=void 0===n?"":n;if(!o)return"";var i=null!==(r=e.conditionReaders[o])&&void 0!==r&&r;return"function"==typeof i?i(t):e.conditionReaders.default(t)},getFunction:function(e,t){return e.functions.find((function(e){return e.value===t}))},getFunctionDisplay:function(e,t){var r;return null===(r=nf.getFunction(e,t))||void 0===r?void 0:r.display}};const of=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:Zs,t=arguments.length>1?arguments[1]:void 0,r=Hs[null==t?void 0:t.type];return r?r(e,t):e},actions:Qs,selectors:of}),af="REGISTER_MACRO";function uf(e){return uf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uf(e)}function cf(e){return function(e){if(Array.isArray(e))return ff(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||sf(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sf(e,t){if(e){if("string"==typeof e)return ff(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ff(e,t):void 0}}function ff(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(a);try{for(u.s();!(r=u.n()).done;){var c=r.value;if(!(c instanceof sa))throw console.error(c),new Error("^^^ Invalid macro item ^^^")}}catch(e){u.e(e)}finally{u.f()}return l?(n=e.clientMacros).push.apply(n,cf(a)):(o=e.serverMacros).push.apply(o,cf(a)),e},(yf=function(e){var t=function(e,t){if("object"!==uf(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==uf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===uf(t)?t:String(t)}(yf=af))in mf?Object.defineProperty(mf,yf,{value:df,enumerable:!0,configurable:!0,writable:!0}):mf[yf]=df,mf);var mf,yf,df,bf=wp.i18n.__;function vf(){sa.call(this),this.name="CurrentDate",this.isClientSide=!0,this.fullHelp=function(){return wp.element.createElement(React.Fragment,null,bf("Returns the current timestamp. Replacing","jet-form-builder")," ",wp.element.createElement("code",null,"Date.now()"))}}vf.prototype=Object.create(sa.prototype);const hf=vf;var gf=wp.i18n.__;function wf(){sa.call(this),this.name="Min_In_Sec",this.isClientSide=!0,this.help=gf("Number of milliseconds in one minute","jet-form-builder")}wf.prototype=Object.create(sa.prototype);const jf=wf;var Of=wp.i18n.__;function Sf(){sa.call(this),this.name="Month_In_Sec",this.isClientSide=!0,this.help=Of("Number of milliseconds in one month","jet-form-builder")}Sf.prototype=Object.create(sa.prototype);const Ef=Sf;var Af=wp.i18n.__;function Pf(){sa.call(this),this.name="Day_In_Sec",this.isClientSide=!0,this.help=Af("Number of milliseconds in one day","jet-form-builder")}Pf.prototype=Object.create(sa.prototype);const Cf=Pf;var If=wp.i18n.__;function _f(){sa.call(this),this.name="Year_In_Sec",this.isClientSide=!0,this.help=If("Number of milliseconds in one year","jet-form-builder")}_f.prototype=Object.create(sa.prototype);const kf=_f;function Tf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(Array.isArray(this.docArgument)?this.docArgument:[this.docArgument]);try{for(r.s();!(e=r.n()).done;)switch(e.value){case"string":case String:t.push(xf("String","jet-form-builder"));break;case"number":case Number:t.push(xf("Number","jet-form-builder"));break;case"array":case Array:t.push(xf("Array","jet-form-builder"));break;case"any":t.push(xf("Anything","jet-form-builder"))}}catch(e){r.e(e)}finally{r.f()}return t.join(" | ")},Nf.prototype.fullHelp=function(){if(!this.docArgument&&!this.help)return null;var e=this.help,t=this.getArgumentsList();return wp.element.createElement(React.Fragment,null,t&&wp.element.createElement("div",{style:{marginBottom:"0.5em"}},xf("Arguments:","jet-form-builder")+" ",wp.element.createElement("code",null,t)),"function"!=typeof e?e:wp.element.createElement(e,null))};const Rf=Nf;var Df=wp.i18n.__;function Ff(){Rf.call(this),this.fullName=function(){return"addDay"},this.docArgument=Number,this.isClientSide=!0,this.help=Df("Adds the passed number of days via an argument \n\t\tto a macro that returns a date or a timestamp.","jet-form-builder")}Ff.prototype=Object.create(Rf.prototype);const Mf=Ff;var Lf=wp.i18n.__;function Bf(){Rf.call(this),this.fullName=function(){return"addMonth"},this.docArgument=Number,this.isClientSide=!0,this.help=Lf("Adds the passed number of months via an argument \n\t\tto a macro that returns a date or a timestamp.","jet-form-builder")}Bf.prototype=Object.create(Rf.prototype);const $f=Bf;var Gf=wp.i18n.__;function Uf(){Rf.call(this),this.fullName=function(){return"addYear"},this.docArgument=Number,this.isClientSide=!0,this.help=Gf("Adds the passed number of years through an argument \n\t\tto a macro that returns a date or a timestamp.","jet-form-builder")}Uf.prototype=Object.create(Rf.prototype);const Vf=Uf;var qf=wp.i18n.__;function Jf(){Rf.call(this),this.fullName=function(){return"ifEmpty"},this.docArgument="any",this.isClientSide=!0,this.help=qf("If the macro returns an empty value, \n\t\tthen the filter returns the value passed in the argument","jet-form-builder")}Jf.prototype=Object.create(Rf.prototype);const Hf=Jf;var Xf=wp.i18n.__;function zf(){Rf.call(this),this.fullName=function(){return"length"},this.isClientSide=!0,this.help=Xf("Returns the length of a string or array","jet-form-builder")}zf.prototype=Object.create(Rf.prototype);const Wf=zf;var Yf=wp.i18n.__;function Kf(){Rf.call(this),this.fullName=function(){return"toDate"},this.isClientSide=!0,this.help=function(){return wp.element.createElement(React.Fragment,null,Yf("Gets the timestamp from the macro and formats it according \n\t\tto the format of the Date Field.","jet-form-builder"),wp.element.createElement("hr",null),Yf("Example:","jet-form-builder")+" ",wp.element.createElement("code",null,"2022-02-24"))}}Kf.prototype=Object.create(Rf.prototype);const Zf=Kf;var Qf=wp.i18n.__;function ep(){Rf.call(this),this.fullName=function(){return"toDateTime"},this.isClientSide=!0,this.help=function(){return wp.element.createElement(React.Fragment,null,Qf("Gets the timestamp from the macro and formats it according \n\t\tto the format of the Datetime Field.","jet-form-builder"),wp.element.createElement("hr",null),Qf("Example:","jet-form-builder")+" ",wp.element.createElement("code",null,"2022-02-24T04:25"))}}ep.prototype=Object.create(Rf.prototype);const tp=ep;var rp=wp.i18n.__;function np(){Rf.call(this),this.fullName=function(){return"toTime"},this.isClientSide=!0,this.help=function(){return wp.element.createElement(React.Fragment,null,rp("Gets the timestamp from the macro and formats it according \n\t\tto the format of the Time Field.","jet-form-builder"),wp.element.createElement("hr",null),rp("Example:","jet-form-builder")+" ",wp.element.createElement("code",null,"04:25"))}}np.prototype=Object.create(Rf.prototype);const op=np;var ip=wp.i18n.__;function lp(){Rf.call(this),this.fullName=function(){return"subDay"},this.docArgument=Number,this.isClientSide=!0,this.help=ip("Subtracts the number of days by argument\nfrom a macro that returns a date or timestamp.","jet-form-builder")}lp.prototype=Object.create(Rf.prototype);const ap=lp;var up=wp.i18n.__;function cp(){Rf.call(this),this.fullName=function(){return"subMonth"},this.docArgument=Number,this.isClientSide=!0,this.help=up("Subtracts the number of months by argument\nfrom a macro that returns a date or timestamp.","jet-form-builder")}cp.prototype=Object.create(Rf.prototype);const sp=cp;var fp=wp.i18n.__;function pp(){Rf.call(this),this.fullName=function(){return"subYear"},this.docArgument=Number,this.isClientSide=!0,this.help=fp("Subtracts the number of years by argument\nfrom a macro that returns a date or timestamp.","jet-form-builder")}pp.prototype=Object.create(Rf.prototype);const mp=pp;var yp={macros:[new hf,new jf,new Cf,new Ef,new kf],filters:[new Hf,new Wf,new Mf,new $f,new Vf,new ap,new sp,new mp,new Zf,new tp,new op]};const dp={registerMacro:function(e){return{type:af,items:e,isClient:!(arguments.length>1&&void 0!==arguments[1])||arguments[1]}}};function bp(e){return bp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bp(e)}function vp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hp(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==bp(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==bp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===bp(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const gp=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:yp,t=arguments.length>1?arguments[1]:void 0,r=pf[null==t?void 0:t.type];return r?r(e,t):e},actions:dp,selectors:gp}),Op="REGISTER";function Sp(e){return Sp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sp(e)}function Ep(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ap(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Sp(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Sp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Sp(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pp=Ap({},Op,(function(e,t){var r=t.items,n=r.messages,o=r.ssr_callbacks,i=r.formats,l=r.rule_types;return e.messages=JSON.parse(JSON.stringify(n)),e.ssrCallbacks=JSON.parse(JSON.stringify(o)),e.formats=JSON.parse(JSON.stringify(i)),e.ruleTypes=JSON.parse(JSON.stringify(l)),e}));const Cp=function(e){for(var t=1;t".concat(r,"")].join(" ")},ssr:function(e){return[_p("Function:","jet-form-builder"),null==e?void 0:e.value].join(" ")}}};const Tp={register:function(e){return{type:Op,items:e}}};function xp(e){return xp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xp(e)}function Np(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rp(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==xp(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==xp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===xp(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Dp=function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:kp,t=arguments.length>1?arguments[1]:void 0,r=Cp[null==t?void 0:t.type];return r?r(e,t):e},actions:Tp,selectors:Dp});r(7194);var Mp=wp.data,Lp=Mp.register,Bp=Mp.dispatch,$p=wp.hooks.addAction;[fs,xs,Bc,lf,jp,Fp,Hl].forEach(Lp),Bp("jet-forms/events").register(window.jetFormEvents.types),Bp("jet-forms/events").lockActions(),Bp("jet-forms/validation").register(window.jetFormValidation),$p("jet.fb.change.blockConditions.renderState","jet-form-builder/events",(function(e){Bp("jet-forms/events").clearDynamicEvents();var t=e.map((function(e){var t=e.value;return{value:t="ON."+t,label:t,isDynamic:!0}}));Bp("jet-forms/events").register(t)})),Bp("jet-forms/block-conditions").register(window.jetFormBlockConditions);const Gp=(0,wp.element.createContext)(!1),Up=(0,wp.element.createContext)({currentItem:{},changeCurrentItem:function(){},currentIndex:-1}),Vp=(0,wp.element.createContext)({index:-1,action:{}}),qp=(0,wp.element.createContext)({isSupported:function(e){return!1},render:function(e){return e.children}}),Jp=(0,wp.element.createContext)({isSupported:function(e){return!1},render:function(e){return e.currentItem,e.index,null}}),Hp=(0,wp.element.createContext)({edit:function(e){return!0},move:function(e){return!0},clone:function(e){return!0},delete:function(e){return!0}}),Xp=(0,wp.element.createContext)({});function zp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,ey);return wp.element.createElement(Ju,ty({id:t.id},r))})),iy=function(e){var t=e.state,r=e.children,n=lm(t);return wp.element.createElement(am.Provider,{value:n},r)};function ly(e){return ly="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ly(e)}function ay(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uy(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=(null===(t=Object.keys(r))||void 0===t?void 0:t.length);return wp.element.createElement(Xp.Provider,{value:{update:function(e){n((function(t){var n=JSON.parse(JSON.stringify(t.groups));for(var o in n)n.hasOwnProperty(o)&&r.id===n[o].id&&(n[o]=Bd(Bd({},n[o]),e));return{groups:n}}))},current:r}},wp.element.createElement("div",{className:"jet-fb p-relative",onMouseOver:function(){return f(!0)},onMouseOut:function(){return f(!1)}},wp.element.createElement(Nd,{isHover:s},wp.element.createElement(Vd,{isSmall:!0,isSecondary:!0,icon:a?"no-alt":"edit",onClick:function(){return u((function(e){return!e}))}},Gd("Edit","jet-form-builder")),wp.element.createElement(Vd,{isSmall:!0,isDestructive:!0,icon:"trash",onClick:function(){n((function(e){return{groups:JSON.parse(JSON.stringify(e.groups)).filter((function(e){return e.id!==r.id}))}}))}},Gd("Delete","jet-form-builder"))),wp.element.createElement(Rd,null,p?wp.element.createElement("div",{"data-title":Gd("This value item is empty","jet-form-builder")}):wp.element.createElement(React.Fragment,null,wp.element.createElement("span",{"data-title":Gd("Set","jet-form-builder")+":",dangerouslySetInnerHTML:{__html:zs(r.to_set)}}),wp.element.createElement(xd,{conditions:null==r?void 0:r.conditions})))),(a||o===r.id)&&wp.element.createElement(b,{classNames:["width-60"],onRequestClose:function(){u(!1),i(!1)},title:Gd("Edit Dynamic Value","jet-form-builder")},wp.element.createElement(Cd,null)))};var Jd=["children"];function Hd(){return Hd=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Jd);return wp.element.createElement("div",Hd({className:"jet-fb flex flex-dir-column gap-default",style:{marginBottom:"1em"}},r),t)};function zd(e){return zd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zd(e)}function Wd(e){return function(e){if(Array.isArray(e))return tb(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||eb(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Kd(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);rget_request() or $context->get_request()\n *\n * If the field is located in the middle of the repeater, then only\n * jet_fb_request_handler()->get_request(), but $context->get_request() \n * will return the values of all fields of the current repeater element\n *\n * @param $value mixed\n * @param $context \\Jet_Form_Builder\\Request\\Parser_Context\n *\n * @return bool\n */\nfunction ".concat(a,"( $value, $context ): bool {\n\t// your logic\n\treturn true;\n}"))))}}));var Nb=jb("jet.fb.advanced.rule.controls")((function(e){var t=e.currentItem,r=e.changeCurrentItem,n=db(Eb((function(){return xb(t.type)})),2),o=n[0],i=n[1];switch(Ab((function(){i(xb(t.type))}),[t.type]),t.type){case"equal":case"contain":case"contain_not":case"regexp":case"regexp_not":return wp.element.createElement(React.Fragment,null,wp.element.createElement(yb,null),!Boolean(t.field)&&wp.element.createElement($y,{value:t.value,label:o,onChangePreset:function(e){return r({value:e})},onChangeMacros:function(e){var n;return r({value:(null!==(n=t.value)&&void 0!==n?n:"")+e})}},(function(e){var n=e.instanceId;return wp.element.createElement(gb,{id:n,value:t.value,onChange:function(e){return r({value:e})}})})));default:return null}}));const Rb=function(){var e=Sb(Up),t=e.currentItem,r=e.changeCurrentItem;return wp.element.createElement(React.Fragment,null,wp.element.createElement(hb,{labelPosition:"side",options:ne.withPlaceholder(_b),label:Pb("Rule type","jet-form-builder"),value:t.type,onChange:function(e){return r({type:e})}}),wp.element.createElement(Nb,{currentItem:t,changeCurrentItem:r}),wp.element.createElement(gb,{label:Pb("Error message","jet-form-builder"),value:t.message,onChange:function(e){return r({message:e})}}))};var Db=wp.data.select;const Fb=function(e){return Db("jet-forms/validation").readRule(e)};function Mb(e){return Mb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mb(e)}function Lb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bb(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function xv(e){return xv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xv(e)}var Nv=wp.blockEditor.useBlockProps,Rv=wp.components,Dv=Rv.TextControl,Fv=Rv.SelectControl,Mv=Rv.ToggleControl,Lv=Rv.BaseControl,Bv=Rv.__experimentalNumberControl,$v=wp.components.NumberControl;void 0===$v&&($v=Bv);var Gv=["help","label","hasMacro"];var Uv=wp.components,Vv=Uv.FormToggle,qv=Uv.BaseControl,Jv=Uv.Flex,Hv=wp.compose.useInstanceId;function Xv(){this.action=null,this.hasInList=!1}Xv.prototype.isSupported=function(e){return this.getSupportedActions().includes(e.type)},Xv.prototype.isSupportedGlobal=function(){return!1},Xv.prototype.getSupportedActions=function(){return[]},Xv.prototype.setAction=function(e){this.action=e},Xv.prototype.getName=function(){return""},Xv.prototype.getLabel=function(){return""},Xv.prototype.getHelp=function(){return""};const zv=Xv;var Wv=wp.blockEditor.useBlockProps;function Yv(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:null;this.list=e}Kv.prototype={setList:function(e){this.list=e},resetID:function(){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Yv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yv(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(this.list);try{for(t.s();!(e=t.n()).done;)e.value.resetID()}catch(e){t.e(e)}finally{t.f()}},hasType:function(e){return this.list.some((function(t){return t.type===e}))}};const Zv=Kv;function Qv(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);rn.id?-1*n.id:n.id,r([].concat(ch(t),[ah({},n)]))}}};function mh(e){return mh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mh(e)}function yh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function dh(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];return hh((function(t){return e?t("jet-forms/actions").getCallback(e):t("jet-forms/actions").getCurrentCallback()}),[e])};var wh=wp.data.useSelect;function jh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{},r=ig().action,n=dg((function(e){return e("jet-forms/actions").getCurrentAction()})),o=["jet-form-action"];return null===(e=r.is_execute)||void 0===e||e||o.push("is-disabled"),(null==n?void 0:n.id)===r.id&&o.push("is-current"),wp.element.createElement(bg,yg({elevation:2,size:"extraSmall",className:o},t))};function hg(e){return hg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hg(e)}function gg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wg(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==hg(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==hg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===hg(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jg=wp.data.useSelect,Og=wp.element.useContext,Sg=wp.i18n.__;function Eg(e){var t,r,n=e.slug,o=e.index,i=Og(Vp).action,l=jg((function(e){return e("jet-forms/events").getType(n)})),a=ph().updateActionObj,u=[null!==(t=null==l?void 0:l.title)&&void 0!==t?t:"",Sg("(Click to delete)","jet-form-builder")].join(" ");return wp.element.createElement("button",{type:"button",className:"jfb-events-item",title:u,onClick:function(){i.events.splice(o,1),a(i.id,function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},r=t.children,n=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(t,Pg),o=ig().action;return Boolean(null===(e=o.events)||void 0===e?void 0:e.length)&&wp.element.createElement(Ig,Cg({style:{flexWrap:"wrap",rowGap:"0.5em"}},n),wp.element.createElement(Ag,{events:o.events}),r)};var kg=["children"];var Tg=wp.hooks.applyFilters,xg=wp.components.CardHeader;const Ng=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.children,r=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,kg),n=ig().action,o=Tg("jet.fb.section.actions.header.".concat(n.type),null,n);return o?wp.element.createElement(xg,r,o,t):null};var Rg=wp.components.SelectControl,Dg=wp.data.useSelect;const Fg=function(){var e=ph().updateActionObj,t=ig().action,r=Dg((function(e){return e("jet-forms/actions").getActionsList()}));return wp.element.createElement(Rg,{value:t.type,options:r,onChange:function(r){return e(t.id,{type:r})}},r.map((function(e){return wp.element.createElement("option",{key:t.id+"__"+e.value,value:e.value,disabled:e.disabled},e.label)})))};function Mg(e){return Mg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mg(e)}function Lg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bg(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(s);try{for(n.s();!(r=n.n()).done;)if(e===r.value.value)return e}catch(e){n.e(e)}finally{n.f()}return l?l(e):null!==(t=o[0])&&void 0!==t?t:""}var j,O,S=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||zm(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Km((function(){var e;return w(null!==(e=g[b])&&void 0!==e?e:"")})),2),E=S[0],A=S[1],P=wp.element.createElement(Qm,{key:b+v,value:E,options:s,help:(O=s.find((function(e){return e.value===E})),null!==(j=null==O?void 0:O.help)&&void 0!==j?j:""),onChange:function(e){var t=w(e);A(t),y({nameField:b,value:o.includes(e)?"":e})}});return wp.element.createElement(Xm.Provider,{value:{FieldSelect:P,property:E}},u&&u,!u&&P)},SafeDeleteToggle:function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zp(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Kp(!0),2),r=t[0],n=t[1];return wp.element.createElement(React.Fragment,null,wp.element.createElement(Wp,{label:Yp("Safe deleting","jet-form-builder"),checked:r,onChange:n}),wp.element.createElement(Gp.Provider,{value:r},e.children))},RepeaterAddNew:sm,RepeaterAddOrOperator:function(e){var t,r=e.onSetState,n=e.functions,o=e.children,i=(null!==(t=null!=n?n:lm(r))&&void 0!==t?t:ub(am)).addNewItem;return wp.element.createElement(ab,{isSecondary:!0,icon:"randomize",onClick:function(){return i({__visible:!1,or_operator:!0})}},o)},Repeater:gm,RequestButton:A,ValidateButton:function(e){var t=e.initialValid,r=void 0===t?null:t,n=e.label,o=e.ajaxArgs,i=void 0===o?{}:o,l=e.onValid,a=void 0===l?function(){}:l,u=e.onInvalid,c=void 0===u?function(){}:u,s=x(R({}),2),f=s[0],p=s[1],m=x(k(r||null),4),y=m[0],d=m[1],b=m[2],v=m[3];return wp.element.createElement(A,T({ajaxArgs:i,label:n,onLoading:v,onSuccessRequest:function(e){d(),a(e),p({})},onFailRequest:function(){b(),c(),p({isDestructive:!0})},className:y},f),wp.element.createElement("i",{className:"dashicons"}))},RequestLoadingButton:function(e){var t=e.label,r=e.ajaxArgs,n=void 0===r?{}:r,o=e.onSuccessRequest,i=void 0===o?function(){}:o,l=e.onFailRequest,a=void 0===l?function(){}:l,u=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Au(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Au(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Be(),3),c=u[0],s=u[1],f=u[2];return wp.element.createElement(A,{ajaxArgs:n,label:t,onLoading:s,onSuccessRequest:function(e){f(),i(e)},onFailRequest:function(){f(),a()},className:c},wp.element.createElement("i",{className:"dashicons"}))},WrapperRequiredControl:function(t){var r=t.children,n=t.labelKey,o=void 0===n?"label":n,i=t.requiredKey,l=void 0===i?"required":i,a=t.helpKey,u=void 0===a?"help":a,c=t.field,s=void 0===c?[]:c,f=w(e),p=f.name,m=f.data;if(s.length){var y=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(s,2);p=y[0],m=y[1]}return wp.element.createElement("div",{className:"jet-user-meta__row",key:"user_meta_"+p},wp.element.createElement("div",{className:"jet-field-map__row-label"},wp.element.createElement("span",{className:"fields-map__label"},m.hasOwnProperty(o)&&m[o]&&m[o],!m.hasOwnProperty(o)&&m),m.hasOwnProperty(l)&&m[l]&&wp.element.createElement("span",{className:"fields-map__required"}," *"),m[u]&&wp.element.createElement("p",{className:"components-base-control__help",style:{color:"rgb(117, 117, 117)",margin:"1em 0 0 0"}},wp.element.createElement(g,null,m[u]))),r)},DynamicPreset:Lr,JetFieldsMapControl:Kr,FieldWithPreset:function(e){var t=e.children,r=void 0===t?null:t,n=e.ModalEditor,o=e.triggerClasses,i=void 0===o?[]:o,l=e.baseControlProps,a=void 0===l?{}:l,u=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||Qr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(ln(!1),2),c=u[0],s=u[1],f=function(){s((function(e){return!e}))},p=["jet-form-dynamic-preset__trigger"].concat(function(e){return function(e){if(Array.isArray(e))return en(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Qr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(i)).join(" ");return wp.element.createElement(React.Fragment,null,wp.element.createElement(on,Zr({className:"jet-form-dynamic-preset"},a),r,wp.element.createElement("div",{className:p,onClick:f},wp.element.createElement(nn,{viewBox:"0 0 54 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(rn,{d:"M42.6396 26.4347C37.8682 27.3436 32.5666 28.0252 27.1894 28.0252C21.8121 28.0252 16.4348 27.3436 11.7391 26.4347C6.96774 25.4502 3.18093 23.8597 0.37868 21.9663L0.37868 28.0252C0.37868 29.5399 1.59046 31.1304 3.78682 32.4179C5.98317 33.7054 9.46704 34.9172 13.6325 35.5988C17.798 36.2805 22.115 36.8106 27.1894 36.8106C32.2637 36.8106 36.6564 36.5077 40.7462 35.5988C44.8359 34.69 48.3198 33.7054 50.5162 32.4179C52.7125 31.1304 54 29.5399 54 28.0252L54 21.9663C51.122 23.8597 47.3352 25.4502 42.6396 26.4347ZM42.6396 53.5484C37.8682 54.5329 32.5666 55.1388 27.1894 55.1388C21.8121 55.1388 16.4348 54.5329 11.7391 53.5484C7.04348 52.5638 3.18093 51.0491 0.378682 49.1556L0.378682 55.1388C0.378683 56.7293 1.59046 58.3197 3.78682 59.5315C6.36186 60.819 9.46705 62.1066 13.6325 62.7125C17.7223 63.697 22.115 64 27.1894 64C32.2637 64 36.6564 63.697 40.7462 62.7125C44.8359 61.8036 48.3198 60.819 50.5162 59.5315C52.7125 57.9411 54 56.7293 54 54.8359L54 48.8527C51.122 51.0491 47.3352 52.2608 42.6396 53.5484ZM42.6396 39.9915C37.8682 40.9004 32.5666 41.582 27.1894 41.582C21.8121 41.582 16.4348 40.9004 11.7391 39.9915C6.96774 39.007 3.18093 37.4922 0.378681 35.5988L0.378681 41.582C0.378681 43.1725 1.59046 44.6872 3.78682 45.9747C6.36185 47.2622 9.46705 48.474 13.6325 49.1556C17.7223 50.0645 22.115 50.3674 27.1894 50.3674C32.2637 50.3674 36.6564 50.0645 40.7462 49.1556C44.8359 48.1711 48.3198 47.2622 50.5162 45.9747C52.7125 44.3843 54 43.1725 54 41.582L54 35.5988C51.122 37.4922 47.3352 39.007 42.6396 39.9915ZM40.4432 2.12337C36.3535 1.13879 31.885 0.835848 26.8864 0.835849C21.8878 0.835849 17.4194 1.13879 13.2539 2.12337C9.08836 3.10794 5.68022 4.01678 3.48387 5.3043C1.28751 6.59181 -3.4782e-06 8.10654 -3.33916e-06 9.697L-2.95513e-06 14.0897C-2.81609e-06 15.6802 1.28752 17.2706 3.48387 18.5582C6.05891 19.7699 9.1641 21.0575 13.2539 21.6633C17.3436 22.2692 21.8121 22.9509 26.8864 22.9509C31.9607 22.9509 36.3535 22.9509 40.4432 22.345C44.533 21.7391 48.0169 20.4516 50.2132 19.164C52.7125 17.5736 54 15.9831 54 14.3927L54 9.99995C54 8.40948 52.7125 6.81902 50.5162 5.60724C48.3198 4.39546 44.533 2.72926 40.4432 2.12337Z",fill:"#7E8993"})))),c&&wp.element.createElement(b,{onRequestClose:f,classNames:["width-60"],title:"Edit Preset"},(function(e){return wp.element.createElement(n,e)})))},GlobalField:gr,AvailableMapField:function(e){var t=e.fieldsMap,r=e.field,n=e.index,o=e.value,i=e.onChangeValue,l=e.isMapFieldVisible,a=null;t||(t={}),(a=t[r])&&"object"===fn(a)||(a={});var u=function(e){var t=e.field,r=e.name,n=e.index,o=e.fIndex,i=e.children;return wp.element.createElement(bn,{key:t+r+n+o,size:"extraSmall",style:{marginBottom:"10px"}},wp.element.createElement(hn,null,wp.element.createElement("span",{className:"jet-label-overflow"},t)),wp.element.createElement(vn,{key:t+r+n+o,className:"jet-form-preset__fields-map-item"},i))};return wp.element.createElement(React.Fragment,{key:"map_field_preset_".concat(r+n)},window.JetFormEditorData.presetConfig.map_fields.map((function(e,c){var s={field:r,name:e.name,index:n,fIndex:c},f="control_"+r+e.name+n+c;switch(e.type){case"text":return l(o,e,r)&&function(e,t){var r=e.field,n=e.name,o=e.index,i=e.fIndex;return wp.element.createElement(bn,{key:r+n+o+i,size:"extraSmall",style:{marginBottom:"10px"}},wp.element.createElement(hn,null,wp.element.createElement("span",{className:"jet-label-overflow"},r)),wp.element.createElement(vn,{key:r+n+o+i,className:"jet-form-preset__fields-map-item"},t))}(s,wp.element.createElement(mn,{key:f+"TextControl",placeholder:e.label,value:a[e.name],onChange:function(n){a[e.name]=n,i(cn(cn({},t),{},sn({},r,a)),"fields_map")}}));case"select":return l(o,e,r)&&wp.element.createElement(u,an({},s,{key:f}),wp.element.createElement(yn,{options:e.options,labelPosition:"top",value:a[e.name],onChange:function(n){a[e.name]=n,i(cn(cn({},t),{},sn({},r,a)),"fields_map")}}));case"custom_select":return l(o,e,r)&&wp.element.createElement(u,an({},s,{key:f}),wp.element.createElement(dn,{options:e.options,onChange:function(n){var o=n.selectedItem;a[e.name]=o.key,i(cn(cn({},t),{},sn({},r,a)),"fields_map")},value:e.options.find((function(t){return t.key===a[e.name]}))}));case"grouped_select":return l(o,e,r)&&wp.element.createElement(u,an({},s,{key:f}),wp.element.createElement(Or,{options:e.options,labelPosition:"top",value:a[e.name],onChange:function(n){a[e.name]=n,i(cn(cn({},t),{},sn({},r,a)),"fields_map")}}))}})))},MapField:Cr,FieldWrapper:function(e){var t=e.attributes,r=e.children,n=e.wrapClasses,o=void 0===n?[]:n,i=e.valueIfEmptyLabel,l=void 0===i?"":i,a=e.setAttributes,u=e.childrenPosition,c=void 0===u?"between":u,s=Kt(),f=ft("_jf_args"),p=Ln((function(){xn(t,a)}));function m(){return wp.element.createElement(Rn.VisualLabel,null,$n(Bn("input label:","jet-form-builder")),wp.element.createElement("div",{className:"jet-form-builder__label"},wp.element.createElement(Dn,Nn({key:s("rich-label"),placeholder:"Label...",allowedFormats:[],value:t.label?t.label:l,onChange:function(e){return a({label:e})},isSelected:!1},p)),t.required&&wp.element.createElement("span",{className:"jet-form-builder__required"},f.required_mark?f.required_mark:"*")))}function y(){return wp.element.createElement("div",{className:"jet-form-builder__desc--wrapper"},$n(Bn("input description:","jet-form-builder")),wp.element.createElement(Rn,{key:"custom_help_description",className:"jet-form-builder__desc"},wp.element.createElement("div",{className:"components-base-control__help"},wp.element.createElement(Dn,{key:s("rich-description"),tagName:"small",placeholder:"Description...",allowedFormats:[],value:t.desc,onChange:function(e){return a({desc:e})},style:{marginTop:"0px"}}))))}return"row"===f.fields_layout&&o.push("jet-form-builder-row__flex"),wp.element.createElement(Rn,{key:s("placeHolder_block"),className:te("jet-form-builder__field-wrap","jet-form-builder-row",o)},"row"!==f.fields_layout&&wp.element.createElement(React.Fragment,null,"top"===c&&r,m(),"between"===c&&r,y(),"bottom"===c&&r),"row"===f.fields_layout&&wp.element.createElement(React.Fragment,null,wp.element.createElement("div",{className:"jet-form-builder-row__flex--label"},m(),y()),wp.element.createElement("div",{className:"jet-form-builder-row__flex--content"},r)))},MacrosInserter:function(e){e.children;var t=e.fields,r=e.onFieldClick,n=e.customMacros,o=e.zIndex,i=void 0===o?1e6:o,l=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Gn),a=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(zn((function(){return!1})),2),u=a[0],c=a[1];return wp.element.createElement("div",{className:"jet-form-editor__macros-inserter"},wp.element.createElement(Jn,{isTertiary:!0,isSmall:!0,icon:u?"no-alt":"admin-tools",label:"Insert macros",className:"jet-form-editor__macros-trigger",onClick:function(){c((function(e){return!e}))}}),u&&wp.element.createElement(Hn,Un({style:{zIndex:i},position:"bottom left"},l),t.length&&wp.element.createElement(Xn,{title:"Form Fields"},t.map((function(e){return wp.element.createElement("div",{key:"field_"+e.name},wp.element.createElement(Jn,{isLink:!0,onClick:function(){r(e.name)}},"%"+e.name+"%"))}))),n&&wp.element.createElement(Xn,{title:"Custom Macros"},n.map((function(e){return wp.element.createElement("div",{key:"macros_"+e},wp.element.createElement(Jn,{isLink:!0,onClick:function(){r(e)}},"%"+e+"%"))})))))},RepeaterWithState:function(e){var t=e.children,r=e.ItemHeading,n=e.repeaterClasses,o=void 0===n?[]:n,i=e.repeaterItemClasses,l=void 0===i?[]:i,a=e.newItem,u=e.addNewButtonLabel,c=void 0===u?"Add New":u,s=e.items,f=void 0===s?[]:s,p=e.isSaveAction,m=e.onSaveItems,y=e.onUnMount,d=e.onAddNewItem,b=e.onRemoveItem,v=e.help,h=void 0===v?{helpSource:{},helpVisible:function(){return!1},helpKey:""}:v,g=e.additionalControls,w=void 0===g?null:g,j=["jet-form-builder__repeater-component"].concat(eo(o)).join(" "),O=["jet-form-builder__repeater-component-item"].concat(eo(l)).join(" "),S=Yn(yo([]),2),E=S[0],A=S[1];bo((function(){A(f&&f.length>0?f.map((function(e){return e.__visible=!1,e})):[Zn(Zn({},a),{},{__visible:!0})])}),[]);var P=Yn(yo(!0),2),C=P[0],I=P[1],_=function(e,t){A((function(r){var n=JSON.parse(JSON.stringify(r));return n[t]=Zn(Zn({},r[t]),e),n}))},k=function(e){var t=e.oldIndex,r=e.newIndex;A((function(e){var n=JSON.parse(JSON.stringify(e)),o=[n[t],n[r]];return n[r]=o[0],n[t]=o[1],n}))},T=function(e){return!(e=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,$m),u=Tm(t.id);return wp.element.createElement("div",a,wp.element.createElement("label",{htmlFor:t.id,className:"jet-fb flex jc-space-between"},wp.element.createElement("span",null,u.label),wp.element.createElement("span",{className:"jet-fb flex gap-1em"},t.blocks.map((function(e){return wp.element.createElement("span",{key:"message_block_item"+e.title,className:"jet-fb-validation-messages-item-heading-pair__icon"},wp.element.createElement(Hm,{text:e.title,delay:200,position:"top center"},wp.element.createElement("div",null,e.icon)))})))),wp.element.createElement(Jm,{id:t.id,key:"validation_message_"+t.id,help:null!=l?l:null==u?void 0:u.help,value:null!=o?o:null==u?void 0:u.initial,onChange:function(e){return r((function(r){return Um(Um({},r),{},Vm({},t.id,e))}))}}))},ActionFetchButton:oy,DynamicValues:lb,EditAdvancedRulesButton:function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Pv(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Cv(!1),2),t=e[0],r=e[1];return wp.element.createElement(React.Fragment,null,wp.element.createElement(Hb.Provider,{value:{showModal:t,setShowModal:r}},wp.element.createElement("div",{className:"jet-fb mb-24"},wp.element.createElement(Av,null))),t&&wp.element.createElement(b,{title:Iv("Edit Advanced Rules","jet-form-builder"),classNames:["width-60"],onRequestClose:function(){return r(!1)}},wp.element.createElement(Jb,null)))},RepeaterStateContext:am,RepeaterState:iy,BlockLabel:ri,BlockName:Si,BlockDescription:Ci,BlockDefaultValue:Ea,BlockPlaceholder:wo,BlockAddPrevButton:Eo,BlockPrevButtonLabel:Bo,BlockVisibility:Vo,BlockClassName:Xo,BlockAdvancedValue:function(e){var t=e.help,r=e.label,n=e.hasMacro,o=void 0===n||n,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Gv);return wp.element.createElement("div",i,wp.element.createElement(Ea,{help:t,label:r,hasMacro:o}),wp.element.createElement("hr",null),wp.element.createElement(lb,null))},MacrosFields:ea,MacrosButtonTemplate:Vi,MacrosFieldsTemplate:ul,ShowPopoverContext:Ni,PopoverItem:Ji,PresetButton:xi,ConditionItem:td,AdvancedInspectorControl:ua,AdvancedModalControl:$y,ClientSideMacros:ya,ToggleControl:function e(t){var r=t.checked,n=void 0!==r&&r,o=t.disabled,i=void 0!==o&&o,l=t.onChange,a=void 0===l?function(){}:l,u=t.children,c=void 0===u?null:u,s=t.help,f=void 0===s?null:s,p=Hv(e),m="inspector-jfb-toggle-control-".concat(p);return wp.element.createElement(qv,{id:m},wp.element.createElement(Jv,{direction:"column"},wp.element.createElement(Jv,{gap:3,align:"flex-start"},wp.element.createElement(Vv,{id:m,checked:n,onChange:function(e){return a(e.target.checked)},disabled:i}),wp.element.createElement("label",{htmlFor:m,style:{width:"100%"}},c)),"string"==typeof f?wp.element.createElement(To,null,f):f&&wp.element.createElement(f,null)))},BaseAction:et,BaseComputedField:zv,DetailsContainer:Rd,HoverContainer:Nd,ContainersList:Xd,HumanReadableConditions:xd,ConditionsRepeaterContextProvider:id,ServerSideMacros:function(e){var t=e.children,r=ct();return wp.element.createElement(qi.Provider,{value:{afterFields:r}},t)},ActionsFlow:Zv,SelectVariations:function(e){var t=e.value,r=Rh().name,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||Ih(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(or(),2)[1],o=kh((function(e){var t,n=[],o={},i=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ih(e))){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}((0,e("core/blocks").getBlockVariations)(r,"block"));try{for(i.s();!(t=i.n()).done;){var l=t.value;n.push({key:l.name,name:wp.element.createElement("span",{className:"jet-fb flex gap-1em ai-center"},wp.element.createElement(Nh,{icon:l.icon}),l.title)}),o[l.name]=l}}catch(e){i.e(e)}finally{i.f()}return{variations:n,rawVariations:o}}),[]),i=o.variations,l=o.rawVariations;return i.length?wp.element.createElement(xh,{__nextUnconstrainedWidth:!0,hideLabelFromVision:!0,options:i,size:"__unstable-large",onChange:function(e){var t=e.selectedItem;return n(function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:"cred";window.JetFBGatewaysList=window.JetFBGatewaysList||{},window.JetFBGatewaysList[e]=window.JetFBGatewaysList[e]||{},window.JetFBGatewaysList[e][r]=t},Tools:ne,event:function(e){var t=new Event(e);return function(){return document.dispatchEvent(t)}},listen:function(e,t){document.addEventListener(e,t)},renderGateway:Ae,renderGatewayWithPlaceholder:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"cred",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Ee(e,r)?(t.Placeholder=n,Ae(e,t,r)):n},globalTab:wt,versionCompare:function(e,t,r){try{return function(e){switch(e){case">":return J;case">=":return X;case"<":return H;case"<=":return z}return function(){return!1}}(r)(e,t)}catch(e){return!1}},convertListToFieldsMap:function(){for(var e=[],t=arguments.length,r=new Array(t),n=0;n0&&void 0!==arguments[0]?arguments[0]:"all";if(!e)return!1;var t=Nu();return"all"===e?t:!!(t[e]&&t[e].attrs&&Array.isArray(t[e].attrs)&&00&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.usePlaceholder,n=void 0===r||r,o=t.label,i=void 0===o?"--":o,l=t.value,a={label:i,value:void 0===l?"":l};if(!e)return n?[a]:[];var u=Object.entries(e).map((function(e){var t=L(e,2);return{value:t[0],label:t[1]}}));return n?[a].concat($(u)):u},appendField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];je("jet.fb.register.fields","jet-form-builder",(function(r){return r.map((function(r){return t.length&&!t.includes(r.name)?r:e(r)}))}))},insertMacro:da,addDetail:function(e,t){return wp.data.dispatch("jet-forms/actions").addDetail(e,t)},column:K,addComputedField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};wp.data.dispatch("jet-forms/actions").addComputedField(e,t)},getCurrentInnerBlocks:function(){var e=Wv()["data-block"];return we(e)},humanReadableCondition:nd,convertFlow:function(){var e,t=[],r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Qv(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qv(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,a=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){a=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(a)throw i}}}}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]);try{for(r.s();!(e=r.n()).done;){var n=e.value,o=new et(n),i=o.settings;o.settings={},o.selfSettings=i,t.push(o)}}catch(e){r.e(e)}finally{r.f()}return new Zv(t)},assetUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return JetFormEditorData.assetsUrl+e},set:function(e,t,r){for(var n,o=JSON.parse(JSON.stringify(e)),i=o,l=0;l0&&void 0!==arguments[0]?arguments[0]:"fields_map",t=ct(),r=Ct(tt),n=r.settings,o=r.onChangeSettingObj;Pt((function(){if(n.hasOwnProperty(e)){var r=[].concat(St(fe()),St(t)),i=n[e],l=function(e){return-1!==r.findIndex((function(t){return t.value===e}))};for(var a in i)i.hasOwnProperty(a)&&(l(a)||delete i[a]);o(function(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==Ot(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!==Ot(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Ot(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},e,i))}}),[])},withRequestFields:function(e){var t=e("core/editor").getEditedPostAttribute("meta")||{},r=JSON.parse(t._jf_actions||"[]"),n=e("jet-forms/actions").getCurrentAction(),o=e("jet-forms/actions").getComputedFields();r.splice(n.index);var i=[],l=new Set;return lt({actions:r,fields:i}),ut({fields:i,actions:r,computed:o,nameSet:l}),{requestFields:i}},useRequestFields:ct,withSelectActionLoading:It,withSelectFormFields:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(n){var o=[],i=["submit","form-break","heading","group-break","conditional"].concat(bt(e));return gt((function(e){e.name.includes("jet-forms/")&&e.attributes.name&&!i.find((function(t){return e.name.includes(t)}))&&o.push({blockName:e.name,name:e.attributes.name,label:e.attributes.label||e.attributes.name,value:e.attributes.name})}),n("core/block-editor").getBlocks()),o=t?[{value:"",label:t}].concat(bt(o)):o,{formFields:r?o:ht("jet.fb.getFormFieldsBlocks",o)}}},withSelectGateways:jt,withDispatchGateways:function(e){var t=e("jet-forms/gateways");return{setGatewayRequest:t.setRequest,setGatewayScenario:t.setScenario,setScenario:t.setCurrentScenario,setGateway:t.setGateway,setGatewayInner:t.setGatewayInner,setGatewaySpecific:t.setGatewaySpecific,clearGateway:t.clearGateway,clearScenario:t.clearScenario}},useOnUpdateModal:dt,useInsertMacro:ga,useIsHasAttribute:ur,useCurrentAction:oh,useUpdateCurrentAction:function(){var e=oh().currentAction,t=vh("jet-forms/actions",[]),r=t.setCurrentAction,n=t.clearCurrent,o=t.updateCurrentConditions;return{setCurrentAction:r,setTypeSettings:function(t){r(dh(dh({},e),{},{settings:dh(dh({},e.settings),{},bh({},e.type,t))}))},clearCurrent:n,updateCurrentConditions:o}},useUpdateCurrentActionMeta:function(){var e=oh().currentAction,t=ph(),r=t.updateActionObj,n=t.addActionProps;return 0>e.id?function(e){return n(e)}:function(t){r(e.id,t)}},useActionsEdit:ph,useActionCallback:gh,useActionDetail:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return wh((function(t){return e?t("jet-forms/actions").getDetail(e):t("jet-forms/actions").getCurrentDetail()}),[e])},useUniqueNameOnDuplicate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=Eh(),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,l,a=[],u=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{if(!u&&null!=r.return&&(l=r.return(),Object(l)!==l))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?jh(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(or(),2)[1],n=t["data-block"],o=Sh((function(e){if(!e(Jl).isRecentlyAdded(n))return!1;var t=e(Jl).getUniqueNames(n),r=t.hasChanged,o=t.names;return!!r&&o}),[n]);Oh((function(){o&&("function"!=typeof e?r({name:o.split("|")[0]}):e(o))}),[o])},useFields:Kl,useSupport:function(e){var t=rg(),r=t.clientId,n=t.name;return tg((function(t){var r=t("core/blocks").getBlockType(n);return ng(r,["supports",e],!1)}),[r])},useLoopedAction:ig,useScopedAttributesContext:function(){return Ow(jw)}}})()})(); \ No newline at end of file +/* + * ATTENTION: An "eval-source-map" devtool has been used. + * This devtool is neither made for production nor for readable output files. + * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools. + * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) + * or disable the default devtool with "devtool: false". + * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). + */ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./editor/blocks/controls/fields-map.js": +/*!**********************************************!*\ + !*** ./editor/blocks/controls/fields-map.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, \"prototype\", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n/**\r\n * Internal dependencies\r\n */\nvar _wp$components = wp.components,\n SelectControl = _wp$components.SelectControl,\n TextControl = _wp$components.TextControl;\nvar JetFieldsMapControl = /*#__PURE__*/function (_wp$element$Component) {\n _inherits(JetFieldsMapControl, _wp$element$Component);\n var _super = _createSuper(JetFieldsMapControl);\n function JetFieldsMapControl(props) {\n var _this;\n _classCallCheck(this, JetFieldsMapControl);\n _this = _super.call(this, props);\n _this.fieldTypes = _this.props.fieldTypes;\n _this.taxonomiesList = _this.props.taxonomiesList;\n _this.className = _this.props.className;\n _this.metaProp = _this.props.metaProp ? _this.props.metaProp : 'post_meta';\n _this.termsProp = _this.props.termsProp ? _this.props.termsProp : 'post_terms';\n _this.index = _this.props.index;\n _this.init();\n _this.bindFunctions();\n _this.state = {\n type: _this.getFieldType(_this.props.fieldValue)\n };\n return _this;\n }\n _createClass(JetFieldsMapControl, [{\n key: \"bindFunctions\",\n value: function bindFunctions() {\n this.onChangeType = this.onChangeType.bind(this);\n this.onChangeValue = this.onChangeValue.bind(this);\n }\n }, {\n key: \"init\",\n value: function init() {\n this.id = \"inspector-select-control-\".concat(this.index);\n this.preparedTaxes = [];\n this.taxPrefix = 'jet_tax__';\n if (!this.taxonomiesList) {\n return;\n }\n for (var i = 0; i < this.taxonomiesList.length; i++) {\n this.preparedTaxes.push({\n value: this.taxPrefix + this.taxonomiesList[i].value,\n label: this.taxonomiesList[i].label\n });\n }\n }\n }, {\n key: \"getFieldName\",\n value: function getFieldName(value) {\n if (!value) {\n return '';\n }\n var fieldType = this.getFieldType(value);\n if (this.termsProp === fieldType || this.metaProp === fieldType) {\n return value;\n } else {\n return '';\n }\n }\n }, {\n key: \"isTermOrMeta\",\n value: function isTermOrMeta(value) {\n return this.termsProp === value || this.metaProp === value;\n }\n }, {\n key: \"getFieldType\",\n value: function getFieldType(value) {\n if (!value) {\n return '';\n }\n for (var i = 0; i < this.fieldTypes.length; i++) {\n if (value === this.fieldTypes[i].value) {\n return value;\n }\n }\n if (value.includes(this.taxPrefix)) {\n return this.termsProp;\n } else {\n return this.metaProp;\n }\n }\n }, {\n key: \"onChangeValue\",\n value: function onChangeValue(newValue) {\n this.props.onChange(_objectSpread(_objectSpread({}, this.props.fieldsMap), {}, _defineProperty({}, this.props.fieldName, newValue)));\n }\n }, {\n key: \"onChangeType\",\n value: function onChangeType(newValue) {\n var val = this.getFieldType(newValue);\n this.setState({\n type: val\n });\n if (this.isTermOrMeta(val)) {\n val = '';\n }\n this.onChangeValue(val);\n }\n\n // Disable reason: A select with an onchange throws a warning\n\n /* eslint-disable jsx-a11y/no-onchange */\n }, {\n key: \"render\",\n value: function render() {\n return wp.element.createElement(\"div\", {\n className: \"jet-fields-map__row\"\n }, wp.element.createElement(\"div\", {\n className: \"jet-post-field-control\"\n }, wp.element.createElement(SelectControl, {\n key: 'field_type_' + this.props.fieldName + this.index,\n label: this.props.fieldName,\n labelPosition: \"side\",\n value: this.state.type,\n onChange: this.onChangeType,\n options: this.fieldTypes,\n style: {\n width: '160px'\n }\n }), this.metaProp === this.state.type && wp.element.createElement(TextControl, {\n key: 'field_name_' + this.props.fieldName + this.index,\n value: this.props.fieldValue,\n onChange: this.onChangeValue,\n style: {\n width: '200px'\n }\n }), this.termsProp === this.state.type && wp.element.createElement(SelectControl, {\n className: \"jet-control-without-label\",\n key: 'field_tax_' + this.props.fieldName + this.index,\n value: this.props.fieldValue,\n onChange: this.onChangeValue,\n options: this.preparedTaxes,\n style: {\n width: '200px'\n }\n })));\n }\n\n /* eslint-enable jsx-a11y/no-onchange */\n }]);\n return JetFieldsMapControl;\n}(wp.element.Component);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JetFieldsMapControl);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9lZGl0b3IvYmxvY2tzL2NvbnRyb2xzL2ZpZWxkcy1tYXAuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFDQTtBQUNBO0FBQ0E7QUFDQSxJQUFBQSxjQUFBLEdBR0lDLEVBQUUsQ0FBQ0MsVUFBVTtFQUZoQkMsYUFBYSxHQUFBSCxjQUFBLENBQWJHLGFBQWE7RUFDYkMsV0FBVyxHQUFBSixjQUFBLENBQVhJLFdBQVc7QUFDTSxJQUdaQyxtQkFBbUIsMEJBQUFDLHFCQUFBO0VBQUFDLFNBQUEsQ0FBQUYsbUJBQUEsRUFBQUMscUJBQUE7RUFBQSxJQUFBRSxNQUFBLEdBQUFDLFlBQUEsQ0FBQUosbUJBQUE7RUFFeEIsU0FBQUEsb0JBQWFLLEtBQUssRUFBRztJQUFBLElBQUFDLEtBQUE7SUFBQUMsZUFBQSxPQUFBUCxtQkFBQTtJQUNwQk0sS0FBQSxHQUFBSCxNQUFBLENBQUFLLElBQUEsT0FBT0gs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0U3ByZWFkIiwiZmllbGRzTWFwIiwiX2RlZmluZVByb3BlcnR5IiwiZmllbGROYW1lIiwidmFsIiwic2V0U3RhdGUiLCJyZW5kZXIiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImxhYmVsUG9zaXRpb24iLCJvcHRpb25zIiwic3R5bGUiLCJ3aWR0aCIsIkNvbXBvbmVudCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./editor/blocks/controls/fields-map.js\n"); + +/***/ }), + +/***/ "./package/action-buttons/components/ActionButtonPlaceholder.js": +/*!**********************************************************************!*\ + !*** ./package/action-buttons/components/ActionButtonPlaceholder.js ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar _wp$blockEditor = wp.blockEditor,\n useBlockProps = _wp$blockEditor.useBlockProps,\n RichText = _wp$blockEditor.RichText;\nvar Button = wp.components.Button;\nfunction ActionButtonPlaceholder(props) {\n var blockProps = useBlockProps();\n return wp.element.createElement(\"div\", blockProps, wp.element.createElement(\"div\", {\n className: props.wrapperClasses.join(' ')\n }, wp.element.createElement(Button, {\n isPrimary: true,\n className: props.buttonClasses.join(' ')\n }, wp.element.createElement(RichText, {\n placeholder: \"Input Submit label...\",\n allowedFormats: [],\n value: props.attributes.label,\n onChange: function onChange(label) {\n return props.setAttributes({\n label: label\n });\n }\n }))));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionButtonPlaceholder);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1idXR0b25zL2NvbXBvbmVudHMvQWN0aW9uQnV0dG9uUGxhY2Vob2xkZXI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cclxuXHRcdFx0XHQvPlxyXG5cdFx0XHQ8L0J1dHRvbj5cclxuXHRcdDwvZGl2PlxyXG5cdDwvZGl2PjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWN0aW9uQnV0dG9uUGxhY2Vob2xkZXI7Il0sIm5hbWVzIjpbIl93cCRibG9ja0VkaXRvciIsIndwIiwiYmxvY2tFZGl0b3IiLCJ1c2VCbG9ja1Byb3BzIiwiUmljaFRleHQiLCJCdXR0b24iLCJjb21wb25lbnRzIiwiQWN0aW9uQnV0dG9uUGxhY2Vob2xkZXIiLCJwcm9wcyIsImJsb2NrUHJvcHMiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImNsYXNzTmFtZSIsIndyYXBwZXJDbGFzc2VzIiwiam9pbiIsImlzUHJpbWFyeSIsImJ1dHRvbkNsYXNzZXMiLCJwbGFjZWhvbGRlciIsImFsbG93ZWRGb3JtYXRzIiwidmFsdWUiLCJhdHRyaWJ1dGVzIiwibGFiZWwiLCJvbkNoYW5nZSIsInNldEF0dHJpYnV0ZXMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/action-buttons/components/ActionButtonPlaceholder.js\n"); + +/***/ }), + +/***/ "./package/action-fields-map/components/ActionFieldsMap.js": +/*!*****************************************************************!*\ + !*** ./package/action-fields-map/components/ActionFieldsMap.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_ActionFieldsMapContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/ActionFieldsMapContext */ \"./package/action-fields-map/context/ActionFieldsMapContext.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar BaseControl = wp.components.BaseControl;\nfunction ActionFieldsMap(_ref) {\n var _ref$fields = _ref.fields,\n fields = _ref$fields === void 0 ? [] : _ref$fields,\n _ref$label = _ref.label,\n label = _ref$label === void 0 ? '[Empty label]' : _ref$label,\n _ref$children = _ref.children,\n children = _ref$children === void 0 ? null : _ref$children,\n _ref$plainHelp = _ref.plainHelp,\n plainHelp = _ref$plainHelp === void 0 ? '' : _ref$plainHelp,\n _ref$customHelp = _ref.customHelp,\n customHelp = _ref$customHelp === void 0 ? false : _ref$customHelp;\n return wp.element.createElement(BaseControl, {\n label: label,\n key: \"jet_fields_map\"\n }, wp.element.createElement(\"div\", {\n className: \"jet-user-fields-map__list\"\n }, customHelp && 'function' === typeof customHelp && customHelp(), Boolean(plainHelp.length) && wp.element.createElement(\"span\", {\n className: 'description-controls'\n }, plainHelp), fields.map(function (_ref2, index) {\n var _ref3 = _slicedToArray(_ref2, 2),\n fieldId = _ref3[0],\n fieldData = _ref3[1];\n return wp.element.createElement(React.Fragment, {\n key: \"field_in_map_\".concat(fieldId + index)\n }, wp.element.createElement(_context_ActionFieldsMapContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: {\n name: fieldId,\n data: fieldData,\n index: index\n }\n }, 'function' === typeof children ? children({\n fieldId: fieldId,\n fieldData: fieldData,\n index: index\n }) : children));\n })));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionFieldsMap);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1maWVsZHMtbWFwL2NvbXBvbmVudHMvQWN0aW9uRmllbGRzTWFwLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQXVFO0FBRXZFLElBQ09DLFdBQVcsR0FDUkMsRUFBRSxDQUFDQyxVQUFVLENBRGhCRixXQUFXO0FBR2xCLFNBQVNHLGVBQWVBLENBQUFDLElBQUEsRUFNcEI7RUFBQSxJQUFBQyxXQUFBLEdBQUFELElBQUEsQ0FMSEUsTUFBTTtJQUFOQSxNQUFNLEdBQUFELFdBQUEsY0FBRyxFQUFFLEdBQUFBLFdBQUE7SUFBQUUsVUFBQSxHQUFBSCxJQUFBLENBQ1hJLEtBQUs7SUFBTEEsS0FBSyxHQUFBRCxVQUFBLGNBQUcsZUFBZSxHQUFBQSxVQUFBO0lBQUFFLGFBQUEsR0FBQUwsSUFBQSxDQUN2Qk0sUU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hY3QuRnJhZ21lbnQ+ICkgfVxyXG5cdFx0PC9kaXY+XHJcblx0PC9CYXNlQ29udHJvbD47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEFjdGlvbkZpZWxkc01hcDtcclxuXHJcbiJdLCJuYW1lcyI6WyJBY3Rpb25GaWVsZHNNYXBDb250ZXh0IiwiQmFzZUNvbnRyb2wiLCJ3cCIsImNvbXBvbmVudHMiLCJBY3Rpb25GaWVsZHNNYXAiLCJfcmVmIiwiX3JlZiRmaWVsZHMiLCJmaWVsZHMiLCJfcmVmJGxhYmVsIiwibGFiZWwiLCJfcmVmJGNoaWxkcmVuIiwiY2hpbGRyZW4iLCJfcmVmJHBsYWluSGVscCIsInBsYWluSGVscCIsIl9yZWYkY3VzdG9tSGVscCIsImN1c3RvbUhlbHAiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImtleSIsImNsYXNzTmFtZSIsIkJvb2xlYW4iLCJsZW5ndGgiLCJtYXAiLCJfcmVmMiIsImluZGV4IiwiX3JlZjMiLCJfc2xpY2VkVG9BcnJheSIsImZpZWxkSWQiLCJmaWVsZERhdGEiLCJSZWFjdCIsIkZyYWdtZW50IiwiY29uY2F0IiwiUHJvdmlkZXIiLCJ2YWx1ZSIsIm5hbWUiLCJkYXRhIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/action-fields-map/components/ActionFieldsMap.js\n"); + +/***/ }), + +/***/ "./package/action-fields-map/components/DynamicPropertySelect.js": +/*!***********************************************************************!*\ + !*** ./package/action-fields-map/components/DynamicPropertySelect.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actions_context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../actions/context/CurrentActionEditContext */ \"./package/actions/context/CurrentActionEditContext.js\");\n/* harmony import */ var _context_ActionFieldsMapContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context/ActionFieldsMapContext */ \"./package/action-fields-map/context/ActionFieldsMapContext.js\");\n/* harmony import */ var _context_CurrentPropertyMapContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../context/CurrentPropertyMapContext */ \"./package/action-fields-map/context/CurrentPropertyMapContext.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\nvar _wp$element = wp.element,\n useState = _wp$element.useState,\n useContext = _wp$element.useContext;\nvar SelectControl = wp.components.SelectControl;\nfunction DynamicPropertySelect(_ref) {\n var _properties;\n var _ref$dynamic = _ref.dynamic,\n dynamic = _ref$dynamic === void 0 ? [] : _ref$dynamic,\n _ref$parseValue = _ref.parseValue,\n parseValue = _ref$parseValue === void 0 ? null : _ref$parseValue,\n _ref$children = _ref.children,\n children = _ref$children === void 0 ? null : _ref$children,\n _ref$properties = _ref.properties,\n properties = _ref$properties === void 0 ? null : _ref$properties;\n // context with action props\n var _useContext = useContext(_actions_context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n source = _useContext.source,\n settings = _useContext.settings,\n setMapField = _useContext.setMapField;\n properties = (_properties = properties) !== null && _properties !== void 0 ? _properties : source.properties;\n\n // context with current field in fields map\n var _useContext2 = useContext(_context_ActionFieldsMapContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n name = _useContext2.name,\n index = _useContext2.index;\n var _settings$fields_map = settings.fields_map,\n fields_map = _settings$fields_map === void 0 ? {} : _settings$fields_map;\n function getTypeFieldValue(value) {\n var _dynamic$;\n var _iterator = _createForOfIteratorHelper(properties),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var property = _step.value;\n if (value === property.value) {\n return value;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return parseValue ? parseValue(value) : (_dynamic$ = dynamic[0]) !== null && _dynamic$ !== void 0 ? _dynamic$ : '';\n }\n var _useState = useState(function () {\n var _fields_map$name;\n return getTypeFieldValue((_fields_map$name = fields_map[name]) !== null && _fields_map$name !== void 0 ? _fields_map$name : '');\n }),\n _useState2 = _slicedToArray(_useState, 2),\n currentProp = _useState2[0],\n setCurrentProp = _useState2[1];\n var getHelp = function getHelp() {\n var _property$help;\n var property = properties.find(function (_ref2) {\n var value = _ref2.value;\n return value === currentProp;\n });\n return (_property$help = property === null || property === void 0 ? void 0 : property.help) !== null && _property$help !== void 0 ? _property$help : '';\n };\n var FieldSelect = wp.element.createElement(SelectControl, {\n key: name + index,\n value: currentProp,\n options: properties,\n help: getHelp(),\n onChange: function onChange(value) {\n var prop = getTypeFieldValue(value);\n setCurrentProp(prop);\n setMapField({\n nameField: name,\n value: dynamic.includes(value) ? '' : value\n });\n }\n });\n return wp.element.createElement(_context_CurrentPropertyMapContext__WEBPACK_IMPORTED_MODULE_2__[\"default\"].Provider, {\n value: {\n FieldSelect: FieldSelect,\n property: currentProp\n }\n }, children && children, !children && FieldSelect);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DynamicPropertySelect);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1maWVsZHMtbWFwL2NvbXBvbmVudHMvRHluYW1pY1Byb3BlcnR5U2VsZWN0LmpzIiwibWFwcGluZ3MiOiI7Ozs7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GRWYWx1ZSIsInZhbHVlIiwiX2R5bmFtaWMkIiwiX2l0ZXJhdG9yIiwiX2NyZWF0ZUZvck9mSXRlcmF0b3JIZWxwZXIiLCJfc3RlcCIsInMiLCJuIiwiZG9uZSIsInByb3BlcnR5IiwiZXJyIiwiZSIsImYiLCJfdXNlU3RhdGUiLCJfZmllbGRzX21hcCRuYW1lIiwiX3VzZVN0YXRlMiIsIl9zbGljZWRUb0FycmF5IiwiY3VycmVudFByb3AiLCJzZXRDdXJyZW50UHJvcCIsImdldEhlbHAiLCJfcHJvcGVydHkkaGVscCIsImZpbmQiLCJfcmVmMiIsImhlbHAiLCJGaWVsZFNlbGVjdCIsImNyZWF0ZUVsZW1lbnQiLCJrZXkiLCJvcHRpb25zIiwib25DaGFuZ2UiLCJwcm9wIiwibmFtZUZpZWxkIiwiaW5jbHVkZXMiLCJQcm92aWRlciJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/action-fields-map/components/DynamicPropertySelect.js\n"); + +/***/ }), + +/***/ "./package/action-fields-map/components/WrapperRequiredControl.js": +/*!************************************************************************!*\ + !*** ./package/action-fields-map/components/WrapperRequiredControl.js ***! + \************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ WrapperRequiredControl)\n/* harmony export */ });\n/* harmony import */ var _context_ActionFieldsMapContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/ActionFieldsMapContext */ \"./package/action-fields-map/context/ActionFieldsMapContext.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar _wp$element = wp.element,\n RawHTML = _wp$element.RawHTML,\n useContext = _wp$element.useContext;\nfunction WrapperRequiredControl(_ref) {\n var children = _ref.children,\n _ref$labelKey = _ref.labelKey,\n labelKey = _ref$labelKey === void 0 ? 'label' : _ref$labelKey,\n _ref$requiredKey = _ref.requiredKey,\n requiredKey = _ref$requiredKey === void 0 ? 'required' : _ref$requiredKey,\n _ref$helpKey = _ref.helpKey,\n helpKey = _ref$helpKey === void 0 ? 'help' : _ref$helpKey,\n _ref$field = _ref.field,\n field = _ref$field === void 0 ? [] : _ref$field;\n var _useContext = useContext(_context_ActionFieldsMapContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n name = _useContext.name,\n data = _useContext.data;\n if (field.length) {\n var _field = _slicedToArray(field, 2);\n name = _field[0];\n data = _field[1];\n }\n return wp.element.createElement(\"div\", {\n className: \"jet-user-meta__row\",\n key: 'user_meta_' + name\n }, wp.element.createElement(\"div\", {\n className: \"jet-field-map__row-label\"\n }, wp.element.createElement(\"span\", {\n className: 'fields-map__label'\n }, data.hasOwnProperty(labelKey) && data[labelKey] && data[labelKey], !data.hasOwnProperty(labelKey) && data), data.hasOwnProperty(requiredKey) && data[requiredKey] && wp.element.createElement(\"span\", {\n className: 'fields-map__required'\n }, \" *\"), data[helpKey] && wp.element.createElement(\"p\", {\n className: 'components-base-control__help',\n style: {\n color: 'rgb(117, 117, 117)',\n margin: '1em 0 0 0'\n }\n }, wp.element.createElement(RawHTML, null, data[helpKey]))), children);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1maWVsZHMtbWFwL2NvbXBvbmVudHMvV3JhcHBlclJlcXVpcmVkQ29udHJvbC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUF1RTtBQUV2RSxJQUFBQyxXQUFBLEdBQWdDQyxFQUFFLENBQUNDLE9BQU87RUFBbENDLE9BQU8sR0FBQUgsV0FBQSxDQUFQRyxPQUFPO0VBQUVDLFVBQVUsR0FBQUosV0FBQSxDQUFWSSxVQUFVO0FBRVosU0FBU0Msc0JBQXNCQSxDQUFBQyxJQUFBLEVBTTFDO0VBQUEsSUFMSEMsUUFBUSxHQUFBRCxJQUFBLENBQVJDLFFBQVE7SUFBQUMsYUFBQSxHQUFBRixJQUFBLENBQ1JHLFFBQVE7SUFBUkEsUUFBUSxHQUFBRCxhQUFBLGNBQUcsT0FBTyxHQUFBQSxhQUFBO0lBQUFFLGdCQUFBLEdBQUFKLElBQUEsQ0FDbEJLLFdBQVc7SUFBWEEsV0FBVyxHQUFBRCxnQkFBQSxjQUFHLFVBQVUsR0FB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lbHBLZXkgXSAmJiA8cFxyXG5cdFx0XHRcdFx0Y2xhc3NOYW1lPXsgJ2NvbXBvbmVudHMtYmFzZS1jb250cm9sX19oZWxwJyB9XHJcblx0XHRcdFx0XHRzdHlsZT17IHtcclxuXHRcdFx0XHRcdFx0Y29sb3I6ICdyZ2IoMTE3LCAxMTcsIDExNyknLFxyXG5cdFx0XHRcdFx0XHRtYXJnaW46ICcxZW0gMCAwIDAnLFxyXG5cdFx0XHRcdFx0fSB9PlxyXG5cdFx0XHRcdFx0PFJhd0hUTUw+eyBkYXRhWyBoZWxwS2V5IF0gfTwvUmF3SFRNTD5cclxuXHRcdFx0XHQ8L3A+IH1cclxuXHRcdFx0PC9kaXY+XHJcblx0XHRcdHsgY2hpbGRyZW4gfVxyXG5cdFx0PC9kaXY+XHJcblx0KTtcclxufSJdLCJuYW1lcyI6WyJBY3Rpb25GaWVsZHNNYXBDb250ZXh0IiwiX3dwJGVsZW1lbnQiLCJ3cCIsImVsZW1lbnQiLCJSYXdIVE1MIiwidXNlQ29udGV4dCIsIldyYXBwZXJSZXF1aXJlZENvbnRyb2wiLCJfcmVmIiwiY2hpbGRyZW4iLCJfcmVmJGxhYmVsS2V5IiwibGFiZWxLZXkiLCJfcmVmJHJlcXVpcmVkS2V5IiwicmVxdWlyZWRLZXkiLCJfcmVmJGhlbHBLZXkiLCJoZWxwS2V5IiwiX3JlZiRmaWVsZCIsImZpZWxkIiwiX3VzZUNvbnRleHQiLCJuYW1lIiwiZGF0YSIsImxlbmd0aCIsIl9maWVsZCIsIl9zbGljZWRUb0FycmF5IiwiY3JlYXRlRWxlbWVudCIsImNsYXNzTmFtZSIsImtleSIsImhhc093blByb3BlcnR5Iiwic3R5bGUiLCJjb2xvciIsIm1hcmdpbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/action-fields-map/components/WrapperRequiredControl.js\n"); + +/***/ }), + +/***/ "./package/action-fields-map/context/ActionFieldsMapContext.js": +/*!*********************************************************************!*\ + !*** ./package/action-fields-map/context/ActionFieldsMapContext.js ***! + \*********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar ActionFieldsMapContext = createContext({\n name: '',\n data: {},\n index: 0\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionFieldsMapContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1maWVsZHMtbWFwL2NvbnRleHQvQWN0aW9uRmllbGRzTWFwQ29udGV4dC5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFFckIsSUFBTUcsc0JBQXNCLEdBQUdILGFBQWEsQ0FBRTtFQUM3Q0ksSUFBSSxFQUFFLEVBQUU7RUFDUkMsSUFBSSxFQUFFLENBQUMsQ0FBQztFQUNSQyxLQUFLLEVBQUU7QUFDUixDQUFFLENBQUM7QUFFSCxpRUFBZUgsc0JBQXNCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9hY3Rpb24tZmllbGRzLW1hcC9jb250ZXh0L0FjdGlvbkZpZWxkc01hcENvbnRleHQuanM/NGU1ZiJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCB7IGNyZWF0ZUNvbnRleHQgfSA9IHdwLmVsZW1lbnQ7XHJcblxyXG5jb25zdCBBY3Rpb25GaWVsZHNNYXBDb250ZXh0ID0gY3JlYXRlQ29udGV4dCgge1xyXG5cdG5hbWU6ICcnLFxyXG5cdGRhdGE6IHt9LFxyXG5cdGluZGV4OiAwLFxyXG59ICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBBY3Rpb25GaWVsZHNNYXBDb250ZXh0O1xyXG4iXSwibmFtZXMiOlsiY3JlYXRlQ29udGV4dCIsIndwIiwiZWxlbWVudCIsIkFjdGlvbkZpZWxkc01hcENvbnRleHQiLCJuYW1lIiwiZGF0YSIsImluZGV4Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/action-fields-map/context/ActionFieldsMapContext.js\n"); + +/***/ }), + +/***/ "./package/action-fields-map/context/CurrentPropertyMapContext.js": +/*!************************************************************************!*\ + !*** ./package/action-fields-map/context/CurrentPropertyMapContext.js ***! + \************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar CurrentPropertyMapContext = createContext({\n FieldSelect: null,\n property: ''\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CurrentPropertyMapContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1maWVsZHMtbWFwL2NvbnRleHQvQ3VycmVudFByb3BlcnR5TWFwQ29udGV4dC5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFFckIsSUFBTUcseUJBQXlCLEdBQUdILGFBQWEsQ0FBRTtFQUNoREksV0FBVyxFQUFFLElBQUk7RUFDakJDLFFBQVEsRUFBRTtBQUNYLENBQUUsQ0FBQztBQUVILGlFQUFlRix5QkFBeUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2FjdGlvbi1maWVsZHMtbWFwL2NvbnRleHQvQ3VycmVudFByb3BlcnR5TWFwQ29udGV4dC5qcz85ZTBlIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHsgY3JlYXRlQ29udGV4dCB9ID0gd3AuZWxlbWVudDtcclxuXHJcbmNvbnN0IEN1cnJlbnRQcm9wZXJ0eU1hcENvbnRleHQgPSBjcmVhdGVDb250ZXh0KCB7XHJcblx0RmllbGRTZWxlY3Q6IG51bGwsXHJcblx0cHJvcGVydHk6ICcnXHJcbn0gKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IEN1cnJlbnRQcm9wZXJ0eU1hcENvbnRleHQ7Il0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJ3cCIsImVsZW1lbnQiLCJDdXJyZW50UHJvcGVydHlNYXBDb250ZXh0IiwiRmllbGRTZWxlY3QiLCJwcm9wZXJ0eSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/action-fields-map/context/CurrentPropertyMapContext.js\n"); + +/***/ }), + +/***/ "./package/action-modal/components/ActionModal.js": +/*!********************************************************!*\ + !*** ./package/action-modal/components/ActionModal.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_ActionModalContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/ActionModalContext */ \"./package/action-modal/context/ActionModalContext.js\");\n/* harmony import */ var _ActionModalFooterSlotFill__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ActionModalFooterSlotFill */ \"./package/action-modal/components/ActionModalFooterSlotFill.js\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n ButtonGroup = _wp$components.ButtonGroup,\n Modal = _wp$components.Modal;\nvar useState = wp.element.useState;\nvar __ = wp.i18n.__;\nvar FooterSlot = _ActionModalFooterSlotFill__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Slot;\nfunction ActionModal(_ref) {\n var onRequestClose = _ref.onRequestClose,\n children = _ref.children,\n _ref$title = _ref.title,\n title = _ref$title === void 0 ? '' : _ref$title,\n _ref$classNames = _ref.classNames,\n classNames = _ref$classNames === void 0 ? [] : _ref$classNames,\n onUpdateClick = _ref.onUpdateClick,\n onCancelClick = _ref.onCancelClick,\n _ref$updateBtnLabel = _ref.updateBtnLabel,\n updateBtnLabel = _ref$updateBtnLabel === void 0 ? 'Update' : _ref$updateBtnLabel,\n _ref$updateBtnProps = _ref.updateBtnProps,\n updateBtnProps = _ref$updateBtnProps === void 0 ? {} : _ref$updateBtnProps,\n _ref$cancelBtnProps = _ref.cancelBtnProps,\n cancelBtnProps = _ref$cancelBtnProps === void 0 ? {} : _ref$cancelBtnProps,\n _ref$cancelBtnLabel = _ref.cancelBtnLabel,\n cancelBtnLabel = _ref$cancelBtnLabel === void 0 ? 'Cancel' : _ref$cancelBtnLabel,\n _ref$fixedHeight = _ref.fixedHeight,\n fixedHeight = _ref$fixedHeight === void 0 ? '' : _ref$fixedHeight;\n var modalClasses = ['jet-form-edit-modal'].concat(_toConsumableArray(classNames));\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n actionClick = _useState2[0],\n setActionClick = _useState2[1];\n var updateClick = function updateClick() {\n if (onUpdateClick) {\n onUpdateClick();\n }\n setActionClick(true);\n };\n var cancelClick = function cancelClick() {\n if (onCancelClick) {\n onCancelClick();\n }\n setActionClick(false);\n };\n var style = {};\n if (fixedHeight) {\n style = {\n height: fixedHeight\n };\n modalClasses.push('jet-modal-fixed-height');\n }\n return wp.element.createElement(Modal, {\n onRequestClose: onRequestClose,\n className: modalClasses.join(' '),\n title: title,\n style: style\n }, !children && wp.element.createElement(\"div\", {\n className: \"jet-form-edit-modal__content\"\n }, __('Action callback is not found.', 'jet-form-builder')), children && wp.element.createElement(React.Fragment, null, wp.element.createElement(\"div\", {\n className: \"jet-form-edit-modal__wrapper\"\n }, wp.element.createElement(_context_ActionModalContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: {\n actionClick: actionClick,\n onRequestClose: onRequestClose\n }\n }, wp.element.createElement(\"div\", {\n className: \"jet-form-edit-modal__content\"\n }, 'function' === typeof children && children({\n actionClick: actionClick,\n onRequestClose: onRequestClose\n }), 'function' !== typeof children && children))), wp.element.createElement(FooterSlot, {\n fillProps: {\n updateClick: updateClick,\n cancelClick: cancelClick\n }\n }, function (fills) {\n return Boolean(fills === null || fills === void 0 ? void 0 : fills.length) ? fills : wp.element.createElement(ButtonGroup, {\n className: \"jet-form-edit-modal__actions\"\n }, wp.element.createElement(Button, _extends({\n isPrimary: true,\n onClick: updateClick\n }, updateBtnProps), updateBtnLabel), wp.element.createElement(Button, _extends({\n isSecondary: true,\n style: {\n margin: '0 0 0 10px'\n },\n onClick: cancelClick\n }, cancelBtnProps), cancelBtnLabel));\n })));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionModal);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1tb2RhbC9jb21wb25lbnRzL0FjdGlvbk1vZGFsLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQStEO0FBQ0s7QU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ZUNsaWNrIiwib25DYW5jZWxDbGljayIsIl9yZWYkdXBkYXRlQnRuTGFiZWwiLCJ1cGRhdGVCdG5MYWJlbCIsIl9yZWYkdXBkYXRlQnRuUHJvcHMiLCJ1cGRhdGVCdG5Qcm9wcyIsIl9yZWYkY2FuY2VsQnRuUHJvcHMiLCJjYW5jZWxCdG5Qcm9wcyIsIl9yZWYkY2FuY2VsQnRuTGFiZWwiLCJjYW5jZWxCdG5MYWJlbCIsIl9yZWYkZml4ZWRIZWlnaHQiLCJmaXhlZEhlaWdodCIsIm1vZGFsQ2xhc3NlcyIsImNvbmNhdCIsIl90b0NvbnN1bWFibGVBcnJheSIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJfc2xpY2VkVG9BcnJheSIsImFjdGlvbkNsaWNrIiwic2V0QWN0aW9uQ2xpY2siLCJ1cGRhdGVDbGljayIsImNhbmNlbENsaWNrIiwic3R5bGUiLCJoZWlnaHQiLCJwdXNoIiwiY3JlYXRlRWxlbWVudCIsImNsYXNzTmFtZSIsImpvaW4iLCJSZWFjdCIsIkZyYWdtZW50IiwiUHJvdmlkZXIiLCJ2YWx1ZSIsImZpbGxQcm9wcyIsImZpbGxzIiwiQm9vbGVhbiIsImxlbmd0aCIsIl9leHRlbmRzIiwiaXNQcmltYXJ5Iiwib25DbGljayIsImlzU2Vjb25kYXJ5IiwibWFyZ2luIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/action-modal/components/ActionModal.js\n"); + +/***/ }), + +/***/ "./package/action-modal/components/ActionModalFooterSlotFill.js": +/*!**********************************************************************!*\ + !*** ./package/action-modal/components/ActionModalFooterSlotFill.js ***! + \**********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createSlotFill = wp.components.createSlotFill;\nvar ActionModalFooterSlotFill = createSlotFill('JFBActionModalFooter');\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionModalFooterSlotFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1tb2RhbC9jb21wb25lbnRzL0FjdGlvbk1vZGFsRm9vdGVyU2xvdEZpbGwuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQ09BLGNBQWMsR0FDWEMsRUFBRSxDQUFDQyxVQUFVLENBRGhCRixjQUFjO0FBR3JCLElBQU1HLHlCQUF5QixHQUFHSCxjQUFjLENBQUUsc0JBQXVCLENBQUM7QUFFMUUsaUVBQWVHLHlCQUF5QiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYWN0aW9uLW1vZGFsL2NvbXBvbmVudHMvQWN0aW9uTW9kYWxGb290ZXJTbG90RmlsbC5qcz9mNDNkIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHtcclxuXHQgICAgICBjcmVhdGVTbG90RmlsbCxcclxuICAgICAgfSA9IHdwLmNvbXBvbmVudHM7XHJcblxyXG5jb25zdCBBY3Rpb25Nb2RhbEZvb3RlclNsb3RGaWxsID0gY3JlYXRlU2xvdEZpbGwoICdKRkJBY3Rpb25Nb2RhbEZvb3RlcicgKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IEFjdGlvbk1vZGFsRm9vdGVyU2xvdEZpbGw7XHJcbiJdLCJuYW1lcyI6WyJjcmVhdGVTbG90RmlsbCIsIndwIiwiY29tcG9uZW50cyIsIkFjdGlvbk1vZGFsRm9vdGVyU2xvdEZpbGwiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/action-modal/components/ActionModalFooterSlotFill.js\n"); + +/***/ }), + +/***/ "./package/action-modal/context/ActionModalContext.js": +/*!************************************************************!*\ + !*** ./package/action-modal/context/ActionModalContext.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar ActionModalContext = createContext({\n actionClick: null,\n onRequestClose: function onRequestClose() {}\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionModalContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1tb2RhbC9jb250ZXh0L0FjdGlvbk1vZGFsQ29udGV4dC5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFFckIsSUFBTUcsa0JBQWtCLEdBQUdILGFBQWEsQ0FBRTtFQUN6Q0ksV0FBVyxFQUFFLElBQUk7RUFDakJDLGNBQWMsRUFBRSxTQUFBQSxlQUFBLEVBQU0sQ0FDdEI7QUFDRCxDQUFFLENBQUM7QUFFSCxpRUFBZUYsa0JBQWtCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9hY3Rpb24tbW9kYWwvY29udGV4dC9BY3Rpb25Nb2RhbENvbnRleHQuanM/ZDI0ZCJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCB7IGNyZWF0ZUNvbnRleHQgfSA9IHdwLmVsZW1lbnQ7XHJcblxyXG5jb25zdCBBY3Rpb25Nb2RhbENvbnRleHQgPSBjcmVhdGVDb250ZXh0KCB7XHJcblx0YWN0aW9uQ2xpY2s6IG51bGwsXHJcblx0b25SZXF1ZXN0Q2xvc2U6ICgpID0+IHtcclxuXHR9LFxyXG59ICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBBY3Rpb25Nb2RhbENvbnRleHQ7Il0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJ3cCIsImVsZW1lbnQiLCJBY3Rpb25Nb2RhbENvbnRleHQiLCJhY3Rpb25DbGljayIsIm9uUmVxdWVzdENsb3NlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/action-modal/context/ActionModalContext.js\n"); + +/***/ }), + +/***/ "./package/action-modal/hooks/useOnUpdateModal.js": +/*!********************************************************!*\ + !*** ./package/action-modal/hooks/useOnUpdateModal.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_ActionModalContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/ActionModalContext */ \"./package/action-modal/context/ActionModalContext.js\");\n\nvar _wp$element = wp.element,\n useContext = _wp$element.useContext,\n useEffect = _wp$element.useEffect;\n\n/**\r\n * @param callback {Function}\r\n */\nfunction useOnUpdateModal(callback) {\n var _useContext = useContext(_context_ActionModalContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n actionClick = _useContext.actionClick,\n onRequestClose = _useContext.onRequestClose;\n useEffect(function () {\n // update field attributes\n if (actionClick) {\n callback();\n }\n if (null !== actionClick) {\n onRequestClose();\n }\n }, [actionClick]);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useOnUpdateModal);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbi1tb2RhbC9ob29rcy91c2VPblVwZGF0ZU1vZGFsLm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iAqL1xyXG5mdW5jdGlvbiB1c2VPblVwZGF0ZU1vZGFsKCBjYWxsYmFjayApIHtcclxuXHRjb25zdCB7IGFjdGlvbkNsaWNrLCBvblJlcXVlc3RDbG9zZSB9ID0gdXNlQ29udGV4dCggQWN0aW9uTW9kYWxDb250ZXh0ICk7XHJcblxyXG5cdHVzZUVmZmVjdCggKCkgPT4ge1xyXG5cdFx0Ly8gdXBkYXRlIGZpZWxkIGF0dHJpYnV0ZXNcclxuXHRcdGlmICggYWN0aW9uQ2xpY2sgKSB7XHJcblx0XHRcdGNhbGxiYWNrKCk7XHJcblx0XHR9XHJcblxyXG5cdFx0aWYgKCBudWxsICE9PSBhY3Rpb25DbGljayApIHtcclxuXHRcdFx0b25SZXF1ZXN0Q2xvc2UoKTtcclxuXHRcdH1cclxuXHR9LCBbIGFjdGlvbkNsaWNrIF0gKTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgdXNlT25VcGRhdGVNb2RhbDsiXSwibmFtZXMiOlsiQWN0aW9uTW9kYWxDb250ZXh0IiwiX3dwJGVsZW1lbnQiLCJ3cCIsImVsZW1lbnQiLCJ1c2VDb250ZXh0IiwidXNlRWZmZWN0IiwidXNlT25VcGRhdGVNb2RhbCIsImNhbGxiYWNrIiwiX3VzZUNvbnRleHQiLCJhY3Rpb25DbGljayIsIm9uUmVxdWVzdENsb3NlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/action-modal/hooks/useOnUpdateModal.js\n"); + +/***/ }), + +/***/ "./package/actions/abstract/ActionsFlow.js": +/*!*************************************************!*\ + !*** ./package/actions/abstract/ActionsFlow.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction ActionsFlow() {\n var list = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n /**\r\n * @type {BaseAction[]}\r\n */\n this.list = list;\n}\nActionsFlow.prototype = {\n setList: function setList(list) {\n this.list = list;\n },\n resetID: function resetID() {\n var _iterator = _createForOfIteratorHelper(this.list),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var action = _step.value;\n action.resetID();\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n },\n /**\r\n * @param type {String}\r\n * @returns {boolean}\r\n */\n hasType: function hasType(type) {\n return this.list.some(function (current) {\n return current.type === type;\n });\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionsFlow);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvYWJzdHJhY3QvQWN0aW9uc0Zsb3cuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBLFNBQVNBLFdBQVdBLENBQUEsRUFBZ0I7RUFBQSxJQUFkQyxJQUFJLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFHLElBQUk7RUFDaEM7QUFDRDtBQUNBO0VBQ0MsSUFBSSxDQUFDRCxJQUFJLEdBQUdBLElBQUk7QUFDakI7QUFFQUQsV0FBVyxDQUFDSyxTQUFTLEdBQUc7RUFDdkJDLE9BQU8sV0FBQUEsUUFBRUwsSUFBSSxFQUFHO0lBQ2YsSUFBSSxDQUFDQSxJQUFJLEdBQUdBLElBQUk7RUFDakIsQ0FBQztFQUNETSxPQUFPLFdBQUFBLFFBQUEsRUFBRztJQUFBLElBQUFDLFNBQUEsR0FBQUMsMEJBQUEsQ0FDYSxJQUFJLENBQUNSLElBQUk7TUFBQVMsS0FBQTtJQUFBO01BQS9CLEtBQUFGLFNBQUEsQ0FBQUcsQ0FBQSxNQUFBRCxLQUFBLEdBQUFGLFNBQUEsQ0FBQUksQ0FBQSxJQUFBQyxJQUFBLEdBQWtDO1FBQUEsSUFBdEJDLE1BQU0sR0FBQUosS0FBQSxDQUFBSyxLQUFBO1FBQ2pCRCxNQUFNLENBQUNQLE9BQU8sQ0FBQyxDQUFDO01BQ2pCO0lBQUMsU0FBQVMsR0FBQTtNQUFBUixTQUFBLENBQUFTLENBQUEsQ0FBQUQsR0FBQTtJQUFBO01BQUFSLFNBQUEsQ0FBQVUsQ0FBQTtJQUFBO0VBQ0Y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CBBY3Rpb25zRmxvdzsiXSwibmFtZXMiOlsiQWN0aW9uc0Zsb3ciLCJsaXN0IiwiYXJndW1lbnRzIiwibGVuZ3RoIiwidW5kZWZpbmVkIiwicHJvdG90eXBlIiwic2V0TGlzdCIsInJlc2V0SUQiLCJfaXRlcmF0b3IiLCJfY3JlYXRlRm9yT2ZJdGVyYXRvckhlbHBlciIsIl9zdGVwIiwicyIsIm4iLCJkb25lIiwiYWN0aW9uIiwidmFsdWUiLCJlcnIiLCJlIiwiZiIsImhhc1R5cGUiLCJ0eXBlIiwic29tZSIsImN1cnJlbnQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/abstract/ActionsFlow.js\n"); + +/***/ }), + +/***/ "./package/actions/abstract/BaseAction.js": +/*!************************************************!*\ + !*** ./package/actions/abstract/BaseAction.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../tools */ \"./package/tools.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nfunction BaseAction() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n this.initData(props);\n}\nBaseAction.prototype.initData = function (props) {\n var _props$id,\n _props$settings,\n _props$type,\n _props$conditions,\n _props$events,\n _this = this;\n this.id = (_props$id = props === null || props === void 0 ? void 0 : props.id) !== null && _props$id !== void 0 ? _props$id : _tools__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getRandomID();\n this.settings = (_props$settings = props === null || props === void 0 ? void 0 : props.settings) !== null && _props$settings !== void 0 ? _props$settings : {};\n this.type = (_props$type = props === null || props === void 0 ? void 0 : props.type) !== null && _props$type !== void 0 ? _props$type : 'send_email';\n this.conditions = (_props$conditions = props === null || props === void 0 ? void 0 : props.conditions) !== null && _props$conditions !== void 0 ? _props$conditions : [];\n this.events = (_props$events = props === null || props === void 0 ? void 0 : props.events) !== null && _props$events !== void 0 ? _props$events : [];\n Object.defineProperty(this, 'selfSettings', {\n get: function get() {\n var _this$type;\n return _this.settings.hasOwnProperty((_this$type = _this.type) !== null && _this$type !== void 0 ? _this$type : '') ? _this.settings[_this.type] : {};\n },\n set: function set(value) {\n var _this$type2;\n if (_this.settings.hasOwnProperty((_this$type2 = _this.type) !== null && _this$type2 !== void 0 ? _this$type2 : '')) {\n _this.settings[_this.type] = {};\n }\n _this.settings[_this.type] = _objectSpread(_objectSpread({}, _this.settings[_this.type]), value);\n }\n });\n Object.defineProperty(this, 'index', {\n get: function get() {\n var _props$index;\n return (_props$index = props === null || props === void 0 ? void 0 : props.index) !== null && _props$index !== void 0 ? _props$index : 0;\n }\n });\n};\nBaseAction.prototype.resetID = function () {\n this.id = _tools__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getRandomID();\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseAction);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvYWJzdHJhY3QvQmFzZUFjdGlvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFnQztBQUVoQyxTQUFTQyxVQUFVQSxDQUFBLEVBQWlCO0VBQUEsSUFBZkMsS0FBSyxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxJQUFJO0VBQ2hDLElBQUksQ0FBQ0csUUFBUSxDQUFFSixLQUFNLENBQUM7QUFDdkI7QUFFQUQsVUFBVSxDQUFDTSxTQUFTLENBQUNELFFBQVEsR0FBRyxVQUFXSixLQUFLLEVBQUc7RUFBQSxJQUFBTSxTQUFBO0lBQUFDLGVBQUE7SUFBQUMsV0FBQTtJQUFBQyxpQkFBQTtJQUFBQyxhQUFBO0lBQUFDLEtBQUE7RUFDbEQsSUFBSSxDQUFDQyxFQUFFLElBQUFOLFNBQUEsR0FBV04sS0FBSyxhQUFMQSxLQUFLLHVCQUFMQSxLQUFLLENBQUVZLEVBQUU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InNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/abstract/BaseAction.js\n"); + +/***/ }), + +/***/ "./package/actions/abstract/BaseComputedField.js": +/*!*******************************************************!*\ + !*** ./package/actions/abstract/BaseComputedField.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction BaseComputedField() {\n /**\r\n * @type {BaseAction}\r\n */\n this.action = null;\n this.hasInList = false;\n}\n\n/**\r\n * @param action {BaseAction}\r\n */\nBaseComputedField.prototype.isSupported = function (action) {\n return this.getSupportedActions().includes(action.type);\n};\nBaseComputedField.prototype.isSupportedGlobal = function () {\n return false;\n};\n\n/**\r\n * @return {String[]}\r\n */\nBaseComputedField.prototype.getSupportedActions = function () {\n return [];\n};\n\n/**\r\n * @param action {BaseAction}\r\n */\nBaseComputedField.prototype.setAction = function (action) {\n this.action = action;\n};\n\n/**\r\n * @return {string}\r\n */\nBaseComputedField.prototype.getName = function () {\n return '';\n};\n\n/**\r\n * @return {string}\r\n */\nBaseComputedField.prototype.getLabel = function () {\n return '';\n};\n\n/**\r\n * @return {string|Function}\r\n */\nBaseComputedField.prototype.getHelp = function () {\n return '';\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseComputedField);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvYWJzdHJhY3QvQmFzZUNvbXB1dGVkRmllbGQuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFNBQVNBLGlCQUFpQkEsQ0FBQSxFQUFHO0VBQzVCO0FBQ0Q7QUFDQTtFQUNDLElBQUksQ0FBQ0MsTUFBTSxHQ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bn07XHJcblxyXG4vKipcclxuICogQHJldHVybiB7c3RyaW5nfVxyXG4gKi9cclxuQmFzZUNvbXB1dGVkRmllbGQucHJvdG90eXBlLmdldE5hbWUgPSBmdW5jdGlvbiAoKSB7XHJcblx0cmV0dXJuICcnO1xyXG59O1xyXG5cclxuLyoqXHJcbiAqIEByZXR1cm4ge3N0cmluZ31cclxuICovXHJcbkJhc2VDb21wdXRlZEZpZWxkLnByb3RvdHlwZS5nZXRMYWJlbCA9IGZ1bmN0aW9uICgpIHtcclxuXHRyZXR1cm4gJyc7XHJcbn07XHJcblxyXG4vKipcclxuICogQHJldHVybiB7c3RyaW5nfEZ1bmN0aW9ufVxyXG4gKi9cclxuQmFzZUNvbXB1dGVkRmllbGQucHJvdG90eXBlLmdldEhlbHAgPSBmdW5jdGlvbiAoKSB7XHJcblx0cmV0dXJuICcnO1xyXG59O1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgQmFzZUNvbXB1dGVkRmllbGQ7Il0sIm5hbWVzIjpbIkJhc2VDb21wdXRlZEZpZWxkIiwiYWN0aW9uIiwiaGFzSW5MaXN0IiwicHJvdG90eXBlIiwiaXNTdXBwb3J0ZWQiLCJnZXRTdXBwb3J0ZWRBY3Rpb25zIiwiaW5jbHVkZXMiLCJ0eXBlIiwiaXNTdXBwb3J0ZWRHbG9iYWwiLCJzZXRBY3Rpb24iLCJnZXROYW1lIiwiZ2V0TGFiZWwiLCJnZXRIZWxwIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/abstract/BaseComputedField.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionFetchButton.js": +/*!*********************************************************!*\ + !*** ./package/actions/components/ActionFetchButton.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_withCurrentAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/withCurrentAction */ \"./package/actions/hooks/withCurrentAction.js\");\n/* harmony import */ var _hooks_withSelectActionLoading__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/withSelectActionLoading */ \"./package/actions/hooks/withSelectActionLoading.js\");\n/* harmony import */ var _FetchApiButton__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FetchApiButton */ \"./package/actions/components/FetchApiButton.js\");\nvar _excluded = [\"currentAction\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n\n\nvar compose = wp.compose.compose;\nvar withSelect = wp.data.withSelect;\nfunction ActionFetchButton(_ref) {\n var currentAction = _ref.currentAction,\n props = _objectWithoutProperties(_ref, _excluded);\n return wp.element.createElement(_FetchApiButton__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _extends({\n id: currentAction.id\n }, props));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compose(withSelect(_hooks_withCurrentAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"]), withSelect(_hooks_withSelectActionLoading__WEBPACK_IMPORTED_MODULE_1__[\"default\"]))(ActionFetchButton));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25GZXRjaEJ1dHRvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUEyRDtBQUNZO0FBQ3pCO0FBRzlDLElBQVFHLE9BQU8sR0FBS0MsRUFBRSxDQUFDRCxPQUFPLENBQXRCQSxPQUFPO0FBRWYsSUFDT0UsVUFBVSxHQUNQRCxFQUFFLENBQUNFLElBQUksQ0FEVkQsVUFBVTtBQUdqQixTQUFTRSxpQkFBaUJBLENBQUFDLElBQUEsRUFHdEI7RUFBQSxJQUZIQyxhQUFhLEdBQUFELElBQUEsQ0FBYkMsYUFBYTtJQUNWQyxLQUFLLEdBQUFDLHdCQUFBLENBQUFILElBQUEsRUFBQUksU0FBQTtFQUdSLE9BQU9SLEVBQUEsQ0FBQVMsT0FBQSxDQUFBQyxhQUFBLENBQUNaLHVEQUFjLEVBQUFhLFFBQUE7SUFDckJDLEVBQUUsRUFBR1AsYUFBYSxDQUFDTztFQUFJLEdBQ2xCTixLQUFLLENBQ1YsQ0FBQztBQUNIO0FBRUEsaUVBQWVQLE9BQU8sQ0FDckJFLFVBQVUsQ0FBRUwsZ0VBQWtCLENBQUMsRUFDL0JLLFVBQVUsQ0FBRUosc0VBQXdCLENBQ3JDLENBQUMsQ0FBRU0saUJBQWtCLENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25GZXRjaEJ1dHRvbi5qcz8wNmUzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB3aXRoQ3Vycm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WVudCIsIl9leHRlbmRzIiwiaWQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/ActionFetchButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionItemDetails.js": +/*!*********************************************************!*\ + !*** ./package/actions/components/ActionItemDetails.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _macros_button_components_MacrosButtonTemplate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../macros.button/components/MacrosButtonTemplate */ \"./package/macros.button/components/MacrosButtonTemplate.js\");\n/* harmony import */ var _hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\n/* harmony import */ var _ActionItemDetailsSlotFill__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ActionItemDetailsSlotFill */ \"./package/actions/components/ActionItemDetailsSlotFill.js\");\n\n\n\nvar __ = wp.i18n.__;\nfunction ActionItemDetails() {\n var _useLoopedAction = (0,_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n action = _useLoopedAction.action;\n return wp.element.createElement(_macros_button_components_MacrosButtonTemplate__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n variant: null,\n isSmall: false,\n icon: 'editor-help',\n label: __('Show details about selected action', 'jet-form-builder')\n }, wp.element.createElement(\"div\", {\n className: \"jet-fb p-06em flex flex-dir-column gap-default\"\n }, wp.element.createElement(\"div\", {\n \"data-title\": __('ID:', 'jet-form-builder')\n }, wp.element.createElement(\"b\", null, action.id)), wp.element.createElement(_ActionItemDetailsSlotFill__WEBPACK_IMPORTED_MODULE_2__[\"default\"].Slot, {\n fillProps: {\n type: action.type\n }\n })));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionItemDetails);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25JdGVtRGV0YWlscy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQzREO0FBQ0w7QUFDYTtBQUVwRSxJQUNPRyxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBR1QsU0FBU0csaUJBQWlCQSxDQUFBLEVBQUc7RUFDNUIsSUFBQUMsZ0JBQUEsR0FBbUJOLGtFQUFlLENBQUMsQ0FBQztJQUE1Qk8sTUFBTSxHQUFBRCxnQkFBQSxDQUFOQyxNQUFNO0VBRWQsT0FBT0osRUFBQSxDQUFBSyxPQUFBLENBQUFDLGFBQUEsQ0FBQ1Ysc0ZBQW9CO0lBQzNCVyxPQUFPLEVBQUcsSUFBTTtJQUNoQkMsT0FBTyxFQUFHLEtBQU87SUFDakJDLElBQUksRUFBRyxhQUFlO0lBQ3RCQyxLQUFLLEVBQUdYLEVBQUUsQ0FDVCxvQ0FBb0MsRUFDcEMsa0JBQ0Q7RUFBRyxHQUVIQyxFQUFBLENBQUFLLE9BQUEsQ0FBQUMsYUFBQTtJQUNDSyxTQUFTLEVBQUM7RUFBZ0QsR0FDMURYLEVBQUEsQ0FBQUssT0FBQSxDQUFBQyxhQUFBO0lBQ0MsY0FBYVAsRUFBRSxDQUFFLEtBQUssRUFBRSxrQkFBbUI7RUFBRyxHQUU5Q0MsRUFBQSxDQUFBSyxPQUFBLENBQUFDLGFBQUEsWUFBS0YsTUFBTSxDQUFDUSxFQUFPLENBQ2YsQ0FBQyxFQUNOWixFQUFBLENBQUFLLE9BQUEsQ0FBQUMsYUFBQSxDQUFDUixrRUFBeUI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0PlxyXG5cdFx0PGRpdlxyXG5cdFx0XHRjbGFzc05hbWU9XCJqZXQtZmIgcC0wNmVtIGZsZXggZmxleC1kaXItY29sdW1uIGdhcC1kZWZhdWx0XCI+XHJcblx0XHRcdDxkaXZcclxuXHRcdFx0XHRkYXRhLXRpdGxlPXsgX18oICdJRDonLCAnamV0LWZvcm0tYnVpbGRlcicgKSB9XHJcblx0XHRcdD5cclxuXHRcdFx0XHQ8Yj57IGFjdGlvbi5pZCB9PC9iPlxyXG5cdFx0XHQ8L2Rpdj5cclxuXHRcdFx0PEFjdGlvbkl0ZW1EZXRhaWxzU2xvdEZpbGwuU2xvdFxyXG5cdFx0XHRcdGZpbGxQcm9wcz17IHsgdHlwZTogYWN0aW9uLnR5cGUgfSB9XHJcblx0XHRcdC8+XHJcblx0XHQ8L2Rpdj5cclxuXHQ8L01hY3Jvc0J1dHRvblRlbXBsYXRlPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWN0aW9uSXRlbURldGFpbHM7Il0sIm5hbWVzIjpbIk1hY3Jvc0J1dHRvblRlbXBsYXRlIiwidXNlTG9vcGVkQWN0aW9uIiwiQWN0aW9uSXRlbURldGFpbHNTbG90RmlsbCIsIl9fIiwid3AiLCJpMThuIiwiQWN0aW9uSXRlbURldGFpbHMiLCJfdXNlTG9vcGVkQWN0aW9uIiwiYWN0aW9uIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJ2YXJpYW50IiwiaXNTbWFsbCIsImljb24iLCJsYWJlbCIsImNsYXNzTmFtZSIsImlkIiwiU2xvdCIsImZpbGxQcm9wcyIsInR5cGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/ActionItemDetails.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionItemDetailsSlotFill.js": +/*!*****************************************************************!*\ + !*** ./package/actions/components/ActionItemDetailsSlotFill.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createSlotFill = wp.components.createSlotFill;\nvar _createSlotFill = createSlotFill('JFBActionItemDetails'),\n Slot = _createSlotFill.Slot,\n Fill = _createSlotFill.Fill;\nfunction ActionItemDetailsSlotFill(_ref) {\n var children = _ref.children,\n type = _ref.type;\n return wp.element.createElement(Fill, null, function (_ref2) {\n var currentType = _ref2.type;\n return currentType !== type ? null : children;\n });\n}\nActionItemDetailsSlotFill.Slot = Slot;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionItemDetailsSlotFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25JdGVtRGV0YWlsc1Nsb3RGaWxsLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxjQUFjLEdBQ1hDLEVBQUUsQ0FBQ0MsVUFBVSxDQURoQkYsY0FBYztBQUdyQixJQUFBRyxlQUFBLEdBQXVCSCxjQUFjLENBQUUsc0JBQXVCLENBQUM7RUFBdkRJLElBQUksR0FBQUQsZUFBQSxDQUFKQyxJQUFJO0VBQUVDLElBQUksR0FBQUYsZUFBQSxDQUFKRSxJQUFJO0FBRWxCLFNBQVNDLHlCQUF5QkEsQ0FBQUMsSUFBQSxFQUF1QjtFQUFBLElBQW5CQyxRQUFRLEdBQUFELElBQUEsQ0FBUkMsUUFBUTtJQUFFQyxJQUFJLEdBQUFGLElBQUEsQ0FBSkUsSUFBSTtFQUNuRCxPQUFPUixFQUFBLENBQUFTLE9BQUEsQ0FBQUMsYUFBQSxDQUFDTixJQUFJLFFBQUcsVUFBQU8sS0FBQSxFQUE2QjtJQUFBLElBQW5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GlsZHJlbiIsInR5cGUiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIl9yZWYyIiwiY3VycmVudFR5cGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/ActionItemDetailsSlotFill.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionItemFooter.js": +/*!********************************************************!*\ + !*** ./package/actions/components/ActionItemFooter.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _EventsList__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EventsList */ \"./package/actions/components/EventsList.js\");\n/* harmony import */ var _hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\nvar _excluded = [\"children\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n\nvar CardFooter = wp.components.CardFooter;\n\n/**\r\n * @param children\r\n * @param props\r\n * @returns {boolean|JSX.Element}\r\n * @constructor\r\n */\nfunction ActionItemFooter() {\n var _action$events;\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n children = _ref.children,\n props = _objectWithoutProperties(_ref, _excluded);\n var _useLoopedAction = (0,_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n action = _useLoopedAction.action;\n return Boolean((_action$events = action.events) === null || _action$events === void 0 ? void 0 : _action$events.length) && wp.element.createElement(CardFooter, _extends({\n style: {\n flexWrap: 'wrap',\n rowGap: '0.5em'\n }\n }, props), wp.element.createElement(_EventsList__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n events: action.events\n }), children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionItemFooter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25JdGVtRm9vdGVyLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBc0M7QUFDaUI7QUFFdkQsSUFDT0UsVUFBVSxHQUNQQyxFQUFFLENBQUNDLFVBQVUsQ0FEaEJGLFVBQVU7O0FBR2pCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFNBQVNHLGdCQUFnQkEsQ0FBQSxFQUFnQztFQUFBLElBQUFDLGNBQUE7RUFBQSxJQUFBQyxJQUFBLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFMLENBQUMsQ0FBQztJQUF6QkcsUUFBUSxHQUFBSixJQUFBLENBQVJJLFFBQVE7SUFBS0MsS0FBSyxHQUFBQyx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# sourceURL=webpack-internal:///./package/actions/components/ActionItemFooter.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionItemHeader.js": +/*!********************************************************!*\ + !*** ./package/actions/components/ActionItemHeader.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\nvar _excluded = [\"children\"];\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nvar applyFilters = wp.hooks.applyFilters;\nvar CardHeader = wp.components.CardHeader;\n\n/**\r\n * @param children\r\n * @param props\r\n * @returns {JSX.Element|null}\r\n * @constructor\r\n */\nfunction ActionItemHeader() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n children = _ref.children,\n props = _objectWithoutProperties(_ref, _excluded);\n var _useLoopedAction = (0,_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n action = _useLoopedAction.action;\n var header = applyFilters(\"jet.fb.section.actions.header.\".concat(action.type), null, action);\n if (!header) {\n return null;\n }\n return wp.element.createElement(CardHeader, props, header, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionItemHeader);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25JdGVtSGVhZGVyLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQXVEO0FBRXZELElBQ09DLFlBQVksR0FDVEMsRUFBRSxDQUFDQyxLQUFLLENBRFhGLFlBQVk7QUFHbkIsSUFDT0csVUFBVSxHQUNQRixFQUFFLENBQUNHLFVBQVUsQ0FEaEJELFVBQVU7O0FBR2pCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFNBQVNFLGdCQUFnQkEsQ0FBQSxFQUFnQztFQUFBLElBQUFDLElBQUEsR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQUwsQ0FBQyxDQUFDO0lBQXpCRyxRQUFRLEdBQUFKLElBQUEsQ0FBUkksUUFBUTtJQUFLQyxLQUFLLEdBQUFDLHdCQUFBLENBQUFOLElBQUEsRUFBQU8sU0FBQTtFQUM5QyxJQUFBQyxnQkFBQSxHQUFtQmYsa0VBQWUsQ0FBQyxDQUFDO0lBQTVCZ0IsTUFBTSxHQUFBRCxnQkFBQSxDQUFOQyxNQUFNO0VBRWQsSUFBTUMsTUFBTSxHQUFHaEIsWUFBWSxrQ0FBQWlCLE1BQUEsQ0FDUUYsTUFBTSxDQUFDRyxJQUFJLEdBQzdDLElBQUksRUFDSkgsTUFDRCxDQUFDO0VBRUQsSUFBSyxDQUFDQyxNQUFNLEVBQUc7SUFDZCxPQUFPLElBQUk7RUFDWjtFQUVBLE9BQU9mLEVBQUEsQ0FBQWtCLE9BQUEsQ0FBQ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fT5cclxuXHRcdHsgaGVhZGVyIH1cclxuXHRcdHsgY2hpbGRyZW4gfVxyXG5cdDwvQ2FyZEhlYWRlcj47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEFjdGlvbkl0ZW1IZWFkZXI7Il0sIm5hbWVzIjpbInVzZUxvb3BlZEFjdGlvbiIsImFwcGx5RmlsdGVycyIsIndwIiwiaG9va3MiLCJDYXJkSGVhZGVyIiwiY29tcG9uZW50cyIsIkFjdGlvbkl0ZW1IZWFkZXIiLCJfcmVmIiwiYXJndW1lbnRzIiwibGVuZ3RoIiwidW5kZWZpbmVkIiwiY2hpbGRyZW4iLCJwcm9wcyIsIl9vYmplY3RXaXRob3V0UHJvcGVydGllcyIsIl9leGNsdWRlZCIsIl91c2VMb29wZWRBY3Rpb24iLCJhY3Rpb24iLCJoZWFkZXIiLCJjb25jYXQiLCJ0eXBlIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/ActionItemHeader.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionItemMoreButton.js": +/*!************************************************************!*\ + !*** ./package/actions/components/ActionItemMoreButton.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\n/* harmony import */ var _hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/useActionsEdit */ \"./package/actions/hooks/useActionsEdit.js\");\n\n\nvar __ = wp.i18n.__;\nvar DropdownMenu = wp.components.DropdownMenu;\nfunction ActionItemMoreButton(_ref) {\n var _action$is_execute;\n var _ref$exclude = _ref.exclude,\n exclude = _ref$exclude === void 0 ? [] : _ref$exclude;\n var _useLoopedAction = (0,_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n action = _useLoopedAction.action,\n index = _useLoopedAction.index;\n var _useActionsEdit = (0,_hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n moveAction = _useActionsEdit.moveAction,\n deleteAction = _useActionsEdit.deleteAction,\n actions = _useActionsEdit.actions,\n toggleExecute = _useActionsEdit.toggleExecute;\n var isExecute = (_action$is_execute = action.is_execute) !== null && _action$is_execute !== void 0 ? _action$is_execute : true;\n var controls = [];\n if (-1 === exclude.indexOf('up')) {\n controls.push({\n title: __('Up', 'jet-form-builder'),\n icon: 'arrow-up',\n disabled: 0 === index,\n onClick: function onClick() {\n moveAction(index, index - 1);\n }\n });\n }\n if (-1 === exclude.indexOf('down')) {\n controls.push({\n title: __('Down', 'jet-form-builder'),\n icon: 'arrow-down',\n disabled: actions.length - 1 === index,\n onClick: function onClick() {\n moveAction(index, index + 1);\n }\n });\n }\n if (-1 === exclude.indexOf('delete')) {\n controls.push({\n title: __('Delete', 'jet-form-builder'),\n icon: 'trash',\n onClick: function onClick() {\n deleteAction(index);\n }\n });\n }\n if (-1 === exclude.indexOf('off-on')) {\n controls.push({\n title: isExecute ? __('Turn off', 'jet-form-builder') : __('Turn on', 'jet-form-builder'),\n icon: isExecute ? 'no-alt' : 'yes',\n onClick: function onClick() {\n toggleExecute(action);\n }\n });\n }\n return wp.element.createElement(DropdownMenu, {\n icon: \"ellipsis\",\n label: __('Edit, move or delete', 'jet-form-builder'),\n controls: controls\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionItemMoreButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWd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x0fSApO1xyXG5cdH1cclxuXHJcblx0cmV0dXJuIDxEcm9wZG93bk1lbnVcclxuXHRcdGljb249XCJlbGxpcHNpc1wiXHJcblx0XHRsYWJlbD17IF9fKCAnRWRpdCwgbW92ZSBvciBkZWxldGUnLCAnamV0LWZvcm0tYnVpbGRlcicgKSB9XHJcblx0XHRjb250cm9scz17IGNvbnRyb2xzIH1cclxuXHQvPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWN0aW9uSXRlbU1vcmVCdXR0b247Il0sIm5hbWVzIjpbInVzZUxvb3BlZEFjdGlvbiIsInVzZUFjdGlvbnNFZGl0IiwiX18iLCJ3cCIsImkxOG4iLCJEcm9wZG93bk1lbnUiLCJjb21wb25lbnRzIiwiQWN0aW9uSXRlbU1vcmVCdXR0b24iLCJfcmVmIiwiX2FjdGlvbiRpc19leGVjdXRlIiwiX3JlZiRleGNsdWRlIiwiZXhjbHVkZSIsIl91c2VMb29wZWRBY3Rpb24iLCJhY3Rpb24iLCJpbmRleCIsIl91c2VBY3Rpb25zRWRpdCIsIm1vdmVBY3Rpb24iLCJkZWxldGVBY3Rpb24iLCJhY3Rpb25zIiwidG9nZ2xlRXhlY3V0ZSIsImlzRXhlY3V0ZSIsImlzX2V4ZWN1dGUiLCJjb250cm9scyIsImluZGV4T2YiLCJwdXNoIiwidGl0bGUiLCJpY29uIiwiZGlzYWJsZWQiLCJvbkNsaWNrIiwibGVuZ3RoIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJsYWJlbCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/components/ActionItemMoreButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionItemWrapper.js": +/*!*********************************************************!*\ + !*** ./package/actions/components/ActionItemWrapper.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar useSelect = wp.data.useSelect;\nvar Card = wp.components.Card;\nfunction ActionItemWrapper() {\n var _action$is_execute;\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _useLoopedAction = (0,_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n action = _useLoopedAction.action;\n var currentAction = useSelect(function (select) {\n return select('jet-forms/actions').getCurrentAction();\n });\n var wrapper = ['jet-form-action'];\n var isExecute = (_action$is_execute = action.is_execute) !== null && _action$is_execute !== void 0 ? _action$is_execute : true;\n if (!isExecute) {\n wrapper.push('is-disabled');\n }\n if ((currentAction === null || currentAction === void 0 ? void 0 : currentAction.id) === action.id) {\n wrapper.push('is-current');\n }\n return wp.element.createElement(Card, _extends({\n elevation: 2,\n size: 'extraSmall',\n className: wrapper\n }, props));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionItemWrapper);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25JdGVtV3JhcHBlci5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBdUQ7QUFFdkQsSUFDT0MsU0FBUyxHQUNOQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsU0FBUztBQUdoQixJQUNPRyxJQUFJL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SB7XHJcblx0XHR3cmFwcGVyLnB1c2goICdpcy1jdXJyZW50JyApO1xyXG5cdH1cclxuXHJcblx0cmV0dXJuIDxDYXJkXHJcblx0XHRlbGV2YXRpb249eyAyIH1cclxuXHRcdHNpemU9eyAnZXh0cmFTbWFsbCcgfVxyXG5cdFx0Y2xhc3NOYW1lPXsgd3JhcHBlciB9XHJcblx0XHR7IC4uLnByb3BzIH1cclxuXHQvPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWN0aW9uSXRlbVdyYXBwZXI7Il0sIm5hbWVzIjpbInVzZUxvb3BlZEFjdGlvbiIsInVzZVNlbGVjdCIsIndwIiwiZGF0YSIsIkNhcmQiLCJjb21wb25lbnRzIiwiQWN0aW9uSXRlbVdyYXBwZXIiLCJfYWN0aW9uJGlzX2V4ZWN1dGUiLCJwcm9wcyIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsIl91c2VMb29wZWRBY3Rpb24iLCJhY3Rpb24iLCJjdXJyZW50QWN0aW9uIiwic2VsZWN0IiwiZ2V0Q3VycmVudEFjdGlvbiIsIndyYXBwZXIiLCJpc0V4ZWN1dGUiLCJpc19leGVjdXRlIiwicHVzaCIsImlkIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJfZXh0ZW5kcyIsImVsZXZhdGlvbiIsInNpemUiLCJjbGFzc05hbWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/ActionItemWrapper.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionMessages.js": +/*!******************************************************!*\ + !*** ./package/actions/components/ActionMessages.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ActionMessagesSlotFills__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ActionMessagesSlotFills */ \"./package/actions/components/ActionMessagesSlotFills.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n BaseControl = _wp$components.BaseControl;\nvar _wp$element = wp.element,\n useMemo = _wp$element.useMemo,\n useEffect = _wp$element.useEffect;\nvar __ = wp.i18n.__;\nfunction ActionMessageRow(props) {\n var type = props.type,\n label = props.label,\n value = props.value,\n onChange = props.onChange;\n var _useMemo = useMemo(function () {\n return _ActionMessagesSlotFills__WEBPACK_IMPORTED_MODULE_0__[\"default\"][type];\n }, [type]),\n RowSlot = _useMemo.Slot;\n return wp.element.createElement(\"div\", {\n className: \"jet-user-meta__row\"\n }, wp.element.createElement(RowSlot, {\n fillProps: props\n }, function (fills) {\n return Boolean(fills === null || fills === void 0 ? void 0 : fills.length) ? fills : wp.element.createElement(TextControl, {\n label: label,\n value: value,\n onChange: onChange\n });\n }));\n}\nfunction ActionMessages(props) {\n var settings = props.settings,\n source = props.source,\n getMapField = props.getMapField,\n setMapField = props.setMapField,\n messages = props.messages,\n onChangeSetting = props.onChangeSetting;\n useEffect(function () {\n var oldMessages = settings.messages || {};\n var messages = {};\n Object.entries(source.__messages).forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n type = _ref2[0],\n data = _ref2[1];\n if (!oldMessages[type]) {\n messages[type] = data.value;\n }\n });\n if (messages) {\n onChangeSetting(_objectSpread(_objectSpread({}, oldMessages), messages), 'messages');\n }\n }, []);\n var setMessage = function setMessage(value, nameField) {\n var source = 'messages';\n setMapField({\n value: value,\n nameField: nameField,\n source: source\n });\n };\n var getMessage = function getMessage(name) {\n var source = 'messages';\n return getMapField({\n name: name,\n source: source\n });\n };\n return wp.element.createElement(BaseControl, {\n label: __('Messages Settings:', 'jet-form-builder'),\n key: \"messages_settings_fields\"\n }, wp.element.createElement(\"div\", {\n className: \"jet-user-fields-map__list\"\n }, settings.messages && Object.entries(settings.messages).map(function (_ref3, id) {\n var _ref4 = _slicedToArray(_ref3, 2),\n type = _ref4[0],\n data = _ref4[1];\n return wp.element.createElement(ActionMessageRow, {\n key: 'message_' + type + id,\n type: type,\n label: messages(type).label,\n value: getMessage(type),\n onChange: function onChange(newValue) {\n return setMessage(newValue, type);\n }\n });\n })));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionMessages);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25NZXNzYWdlcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozt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sInVzZUVmZmVjdCIsIl9fIiwiaTE4biIsIkFjdGlvbk1lc3NhZ2VSb3ciLCJwcm9wcyIsInR5cGUiLCJsYWJlbCIsInZhbHVlIiwib25DaGFuZ2UiLCJfdXNlTWVtbyIsIlJvd1Nsb3QiLCJTbG90IiwiY3JlYXRlRWxlbWVudCIsImNsYXNzTmFtZSIsImZpbGxQcm9wcyIsImZpbGxzIiwiQm9vbGVhbiIsImxlbmd0aCIsIkFjdGlvbk1lc3NhZ2VzIiwic2V0dGluZ3MiLCJzb3VyY2UiLCJnZXRNYXBGaWVsZCIsInNldE1hcEZpZWxkIiwibWVzc2FnZXMiLCJvbkNoYW5nZVNldHRpbmciLCJvbGRNZXNzYWdlcyIsIk9iamVjdCIsImVudHJpZXMiLCJfX21lc3NhZ2VzIiwiZm9yRWFjaCIsIl9yZWYiLCJfcmVmMiIsIl9zbGljZWRUb0FycmF5IiwiZGF0YSIsIl9vYmplY3RTcHJlYWQiLCJzZXRNZXNzYWdlIiwibmFtZUZpZWxkIiwiZ2V0TWVzc2FnZSIsIm5hbWUiLCJrZXkiLCJtYXAiLCJfcmVmMyIsImlkIiwiX3JlZjQiLCJuZXdWYWx1ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/components/ActionMessages.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionMessagesSlotFills.js": +/*!***************************************************************!*\ + !*** ./package/actions/components/ActionMessagesSlotFills.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar createSlotFill = wp.components.createSlotFill;\nvar ActionMessagesSlotFills = {};\nvar _iterator = _createForOfIteratorHelper(jetFormActionTypes),\n _step;\ntry {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _window$self, _window$self$hasOwnPr, _window$self2, _Object$keys;\n var self = _step.value.self;\n if (!((_window$self = window[self]) !== null && _window$self !== void 0 && (_window$self$hasOwnPr = (_window$self2 = _window$self).hasOwnProperty) !== null && _window$self$hasOwnPr !== void 0 && _window$self$hasOwnPr.call(_window$self2, '__messages')) || !((_Object$keys = Object.keys(window[self].__messages)) !== null && _Object$keys !== void 0 && _Object$keys.length)) {\n continue;\n }\n for (var _i = 0, _Object$keys2 = Object.keys(window[self].__messages); _i < _Object$keys2.length; _i++) {\n var messageKey = _Object$keys2[_i];\n if (ActionMessagesSlotFills.hasOwnProperty(messageKey)) {\n continue;\n }\n ActionMessagesSlotFills[messageKey] = createSlotFill(\"JFBActionMessageRow-\".concat(messageKey));\n }\n }\n} catch (err) {\n _iterator.e(err);\n} finally {\n _iterator.f();\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionMessagesSlotFills);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25NZXNzYWdlc1Nsb3RGaWxscy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEsSUFDT0EsY0FBYyxHQUNYQyxFQUFFLENBQUNDLFVBQVUsQ0FEaEJGLGNBQWM7QUFHckIsSUFBTUcsdUJBQXVCLEdBQUcsQ0FBQyxDQUFDO0FBQUMsSUFBQUMsU0FBQSxHQUFBQywwQkFBQSxDQUVYQyxrQkFBa0I7RUFBQUMsS0FBQTtBQUFBO0VBQTFDLEtBQUFILFNBQUEsQ0FBQUksQ0FBQSxNQUFBRCxLQUFBLEdBQUFILFNBQUEsQ0FBQUssQ0FBQSxJQUFBQyxJQUFBLEdBQTZDO0lBQUEsSUFBQUMsWUFBQSxFQUFBQyxxQkFBQSxFQUFBQyxhQUFBLEVBQUFDLFlBQUE7SUFBQSxJQUEvQkMsSUFBSSxHQUFBUixLQUFBLENBQUFTLEtBQUEsQ0FBSkQsSUFBSTtJQUNqQixJQUNDLEdBQUFKLFlBQUEsR0FBQ00sTUFBTSxDQUFFRixJQUFJLENBQUUsY0FBQUosWUFBQSxnQkFBQUMscUJBQUEsR0FBZCxDQUFBQyxhQUFBLEdBQUFGLFlBQUEsRUFBZ0JPLGNBQWMsY0FBQU4scUJBQUEsZUFBOUJBLHFCQUFBLENBQUFPLElBQUEsQ0FBQU4sYUFBQSxFQUFrQyxZQUFhLENBQUMsS0FDakQsR0FBQUMsW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cnR5IiwiY2FsbCIsIk9iamVjdCIsImtleXMiLCJfX21lc3NhZ2VzIiwibGVuZ3RoIiwiX2kiLCJfT2JqZWN0JGtleXMyIiwibWVzc2FnZUtleSIsImNvbmNhdCIsImVyciIsImUiLCJmIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/ActionMessagesSlotFills.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionModalHeaderSlotFill.js": +/*!*****************************************************************!*\ + !*** ./package/actions/components/ActionModalHeaderSlotFill.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createSlotFill = wp.components.createSlotFill;\nvar ActionModalHeaderSlotFill = createSlotFill('JFBActionModalHeader');\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionModalHeaderSlotFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25Nb2RhbEhlYWRlclNsb3RGaWxsLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxjQUFjLEdBQ1hDLEVBQUUsQ0FBQ0MsVUFBVSxDQURoQkYsY0FBYztBQUdyQixJQUFNRyx5QkFBeUIsR0FBR0gsY0FBYyxDQUFFLHNCQUF1QixDQUFDO0FBRTFFLGlFQUFlRyx5QkFBeUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25Nb2RhbEhlYWRlclNsb3RGaWxsLmpzP2Y2NzkiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3Qge1xyXG5cdCAgICAgIGNyZWF0ZVNsb3RGaWxsLFxyXG4gICAgICB9ID0gd3AuY29tcG9uZW50cztcclxuXHJcbmNvbnN0IEFjdGlvbk1vZGFsSGVhZGVyU2xvdEZpbGwgPSBjcmVhdGVTbG90RmlsbCggJ0pGQkFjdGlvbk1vZGFsSGVhZGVyJyApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWN0aW9uTW9kYWxIZWFkZXJTbG90RmlsbDsiXSwibmFtZXMiOlsiY3JlYXRlU2xvdEZpbGwiLCJ3cCIsImNvbXBvbmVudHMiLCJBY3Rpb25Nb2RhbEhlYWRlclNsb3RGaWxsIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/ActionModalHeaderSlotFill.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ActionsAfterNewButtonSlotFill.js": +/*!*********************************************************************!*\ + !*** ./package/actions/components/ActionsAfterNewButtonSlotFill.js ***! + \*********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createSlotFill = wp.components.createSlotFill;\nvar ActionsAfterNewButtonSlotFill = createSlotFill('JFBActionsAfterNewButton');\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionsAfterNewButtonSlotFill);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25zQWZ0ZXJOZXdCdXR0b25TbG90RmlsbC5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFDT0EsY0FBYyxHQUNYQyxFQUFFLENBQUNDLFVBQVUsQ0FEaEJGLGNBQWM7QUFHckIsSUFBTUcsNkJBQTZCLEdBQUdILGNBQWMsQ0FDbkQsMEJBQ0QsQ0FBQztBQUVELGlFQUFlRyw2QkFBNkIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BY3Rpb25zQWZ0ZXJOZXdCdXR0b25TbG90RmlsbC5qcz80ZWE4Il0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHtcclxuXHQgICAgICBjcmVhdGVTbG90RmlsbCxcclxuICAgICAgfSA9IHdwLmNvbXBvbmVudHM7XHJcblxyXG5jb25zdCBBY3Rpb25zQWZ0ZXJOZXdCdXR0b25TbG90RmlsbCA9IGNyZWF0ZVNsb3RGaWxsKFxyXG5cdCdKRkJBY3Rpb25zQWZ0ZXJOZXdCdXR0b24nLFxyXG4pO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWN0aW9uc0FmdGVyTmV3QnV0dG9uU2xvdEZpbGw7Il0sIm5hbWVzIjpbImNyZWF0ZVNsb3RGaWxsIiwid3AiLCJjb21wb25lbnRzIiwiQWN0aW9uc0FmdGVyTmV3QnV0dG9uU2xvdEZpbGwiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/ActionsAfterNewButtonSlotFill.js\n"); + +/***/ }), + +/***/ "./package/actions/components/AddActionButton.js": +/*!*******************************************************!*\ + !*** ./package/actions/components/AddActionButton.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useActionsEdit */ \"./package/actions/hooks/useActionsEdit.js\");\n/* harmony import */ var _abstract_BaseAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../abstract/BaseAction */ \"./package/actions/abstract/BaseAction.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\nvar __ = wp.i18n.__;\nvar Button = wp.components.Button;\nfunction AddActionButton() {\n var _useActionsEdit = (0,_hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n actions = _useActionsEdit.actions,\n setActions = _useActionsEdit.setActions;\n return wp.element.createElement(Button, {\n isPrimary: true,\n onClick: function onClick() {\n setActions([].concat(_toConsumableArray(actions), [_objectSpread({}, new _abstract_BaseAction__WEBPACK_IMPORTED_MODULE_1__[\"default\"]())]));\n }\n }, __('+ New Action', 'jet-form-builder'));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AddActionButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BZGRBY3Rpb25CdXR0b24uanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQXFEO0FBQ0w7QUFFaEQsSUFDT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AuY29tcG9uZW50cztcclxuXHJcbmZ1bmN0aW9uIEFkZEFjdGlvbkJ1dHRvbigpIHtcclxuXHRjb25zdCB7IGFjdGlvbnMsIHNldEFjdGlvbnMgfSA9IHVzZUFjdGlvbnNFZGl0KCk7XHJcblxyXG5cdHJldHVybiA8QnV0dG9uXHJcblx0XHRpc1ByaW1hcnlcclxuXHRcdG9uQ2xpY2s9eyAoKSA9PiB7XHJcblx0XHRcdHNldEFjdGlvbnMoIFsgLi4uYWN0aW9ucywgeyAuLi5uZXcgQmFzZUFjdGlvbigpIH0gXSApO1xyXG5cdFx0fSB9XHJcblx0PlxyXG5cdFx0eyBfXyggJysgTmV3IEFjdGlvbicsICdqZXQtZm9ybS1idWlsZGVyJyApIH1cclxuXHQ8L0J1dHRvbj47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEFkZEFjdGlvbkJ1dHRvbjsiXSwibmFtZXMiOlsidXNlQWN0aW9uc0VkaXQiLCJCYXNlQWN0aW9uIiwiX18iLCJ3cCIsImkxOG4iLCJCdXR0b24iLCJjb21wb25lbnRzIiwiQWRkQWN0aW9uQnV0dG9uIiwiX3VzZUFjdGlvbnNFZGl0IiwiYWN0aW9ucyIsInNldEFjdGlvbnMiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImlzUHJpbWFyeSIsIm9uQ2xpY2siLCJjb25jYXQiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJfb2JqZWN0U3ByZWFkIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/AddActionButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/AllProActionsLink.js": +/*!*********************************************************!*\ + !*** ./package/actions/components/AllProActionsLink.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar __ = wp.i18n.__;\nvar _wp$components = wp.components,\n Icon = _wp$components.Icon,\n Flex = _wp$components.Flex;\nfunction AllProActionsLink() {\n return !JetFormEditorData.isActivePro && wp.element.createElement(Flex, {\n gap: 3,\n justify: \"center\",\n style: {\n width: 'calc( 100% + 32px )',\n borderTop: '1px solid rgb(224, 224, 224)',\n marginTop: '16px',\n marginLeft: '-16px',\n marginBottom: '-8px',\n paddingTop: '8px'\n }\n }, wp.element.createElement(\"a\", {\n href: JetFormEditorData.utmLinks.allProActions,\n target: \"_blank\",\n rel: \"external noreferrer noopener\",\n style: {\n textDecoration: 'none'\n }\n }, wp.element.createElement(Flex, null, __('All PRO Actions', 'jet-form-builder'), wp.element.createElement(Icon, {\n size: 20,\n icon: wp.element.createElement(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\",\n width: \"24\",\n height: \"24\",\n \"aria-hidden\": \"true\",\n focusable: \"false\",\n fill: \"currentColor\"\n }, wp.element.createElement(\"path\", {\n d: \"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z\"\n }))\n }))));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AllProActionsLink);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9BbGxQcm9BY3Rpb25zTGluay5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFDT0EsRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUdULElBQ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NXYtN1ptLTEzIDFhMiAyIDAgMCAwLTIgMnYxMGEyIDIgMCAwIDAgMiAyaDEwYTIgMiAwIDAgMCAyLTJ2LTNIMTd2M2EuNS41IDAgMCAxLS41LjVoLTEwYS41LjUgMCAwIDEtLjUtLjV2LTEwYS41LjUgMCAwIDEgLjUtLjVoM1Y1LjVoLTNaXCIvPlxyXG5cdFx0XHRcdFx0XHQ8L3N2Zz5cclxuXHRcdFx0XHRcdH1cclxuXHRcdFx0XHQvPlxyXG5cdFx0XHQ8L0ZsZXg+XHJcblx0XHQ8L2E+XHJcblx0PC9GbGV4PjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWxsUHJvQWN0aW9uc0xpbms7Il0sIm5hbWVzIjpbIl9fIiwid3AiLCJpMThuIiwiX3dwJGNvbXBvbmVudHMiLCJjb21wb25lbnRzIiwiSWNvbiIsIkZsZXgiLCJBbGxQcm9BY3Rpb25zTGluayIsIkpldEZvcm1FZGl0b3JEYXRhIiwiaXNBY3RpdmVQcm8iLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImdhcCIsImp1c3RpZnkiLCJzdHlsZSIsIndpZHRoIiwiYm9yZGVyVG9wIiwibWFyZ2luVG9wIiwibWFyZ2luTGVmdCIsIm1hcmdpbkJvdHRvbSIsInBhZGRpbmdUb3AiLCJocmVmIiwidXRtTGlua3MiLCJhbGxQcm9BY3Rpb25zIiwidGFyZ2V0IiwicmVsIiwidGV4dERlY29yYXRpb24iLCJzaXplIiwiaWNvbiIsInhtbG5zIiwidmlld0JveCIsImhlaWdodCIsImZvY3VzYWJsZSIsImZpbGwiLCJkIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/AllProActionsLink.js\n"); + +/***/ }), + +/***/ "./package/actions/components/EditActionConditionsButton.js": +/*!******************************************************************!*\ + !*** ./package/actions/components/EditActionConditionsButton.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nvar __ = wp.i18n.__;\nvar useDispatch = wp.data.useDispatch;\nvar Button = wp.components.Button;\nfunction EditActionConditionsButton() {\n var _action$conditions;\n var _useLoopedAction = (0,_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n action = _useLoopedAction.action,\n index = _useLoopedAction.index;\n var _useDispatch = useDispatch('jet-forms/actions', []),\n setCurrentAction = _useDispatch.setCurrentAction,\n setMeta = _useDispatch.setMeta;\n var conditionsIcon = action !== null && action !== void 0 && (_action$conditions = action.conditions) !== null && _action$conditions !== void 0 && _action$conditions.length ? wp.element.createElement(\"span\", {\n className: \"dashicon dashicons dashicons-randomize\",\n \"data-count\": action === null || action === void 0 ? void 0 : action.conditions.length\n }) : wp.element.createElement(\"span\", {\n className: \"dashicon dashicons dashicons-randomize\"\n });\n return wp.element.createElement(Button, {\n className: 'jet-fb-button',\n icon: conditionsIcon,\n label: __('Edit Conditions & Events', 'jet-form-builder'),\n onClick: function onClick() {\n setCurrentAction(_objectSpread(_objectSpread({}, action), {}, {\n index: index\n }));\n setMeta({\n index: index,\n modalType: 'conditions'\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditActionConditionsButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9FZGl0QWN0aW9uQ29uZGl0aW9uc0J1dHRvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUF1RDtBQUV2RCxJQUNPQyxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBR1QsSUFDT0csV0FBVyxHQUNSRixFQUFFLENBQUNHLElBQUksQ0FEVkQsV0FBVztBQUdsQixJQUNPRSxNQUFNLEdBQ0hKLEVBQU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ldEN1cnJlbnRBY3Rpb24iLCJzZXRNZXRhIiwiY29uZGl0aW9uc0ljb24iLCJjb25kaXRpb25zIiwibGVuZ3RoIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJjbGFzc05hbWUiLCJpY29uIiwibGFiZWwiLCJvbkNsaWNrIiwiX29iamVjdFNwcmVhZCIsIm1vZGFsVHlwZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/components/EditActionConditionsButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/EditActionSettingsButton.js": +/*!****************************************************************!*\ + !*** ./package/actions/components/EditActionSettingsButton.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useActionCallback__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useActionCallback */ \"./package/actions/hooks/useActionCallback.js\");\n/* harmony import */ var _hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\n\nvar __ = wp.i18n.__;\nvar useDispatch = wp.data.useDispatch;\nvar Button = wp.components.Button;\nfunction EditActionSettingsButton() {\n var _useLoopedAction = (0,_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n action = _useLoopedAction.action,\n index = _useLoopedAction.index;\n var _useDispatch = useDispatch('jet-forms/actions', []),\n setCurrentAction = _useDispatch.setCurrentAction,\n setMeta = _useDispatch.setMeta;\n var ActionCallback = (0,_hooks_useActionCallback__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(action.type);\n return wp.element.createElement(Button, {\n disabled: !ActionCallback,\n icon: \"edit\",\n label: __('Edit Action', 'jet-form-builder'),\n onClick: function onClick() {\n setCurrentAction(_objectSpread(_objectSpread({}, action), {}, {\n index: index\n }));\n setMeta({\n index: index,\n modalType: 'settings'\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditActionSettingsButton);//# sourceURL=[module]\n//# source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jtcy9hY3Rpb25zJywgW10gKTtcclxuXHJcblx0Y29uc3QgQWN0aW9uQ2FsbGJhY2sgPSB1c2VBY3Rpb25DYWxsYmFjayggYWN0aW9uLnR5cGUgKTtcclxuXHJcblx0cmV0dXJuIDxCdXR0b25cclxuXHRcdGRpc2FibGVkPXsgIUFjdGlvbkNhbGxiYWNrIH1cclxuXHRcdGljb249XCJlZGl0XCJcclxuXHRcdGxhYmVsPXsgX18oICdFZGl0IEFjdGlvbicsICdqZXQtZm9ybS1idWlsZGVyJyApIH1cclxuXHRcdG9uQ2xpY2s9eyAoKSA9PiB7XHJcblx0XHRcdHNldEN1cnJlbnRBY3Rpb24oIHsgLi4uYWN0aW9uLCBpbmRleCB9ICk7XHJcblx0XHRcdHNldE1ldGEoIHsgaW5kZXgsIG1vZGFsVHlwZTogJ3NldHRpbmdzJyB9ICk7XHJcblx0XHR9IH1cclxuXHQvPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgRWRpdEFjdGlvblNldHRpbmdzQnV0dG9uOyJdLCJuYW1lcyI6WyJ1c2VBY3Rpb25DYWxsYmFjayIsInVzZUxvb3BlZEFjdGlvbiIsIl9fIiwid3AiLCJpMThuIiwidXNlRGlzcGF0Y2giLCJkYXRhIiwiQnV0dG9uIiwiY29tcG9uZW50cyIsIkVkaXRBY3Rpb25TZXR0aW5nc0J1dHRvbiIsIl91c2VMb29wZWRBY3Rpb24iLCJhY3Rpb24iLCJpbmRleCIsIl91c2VEaXNwYXRjaCIsInNldEN1cnJlbnRBY3Rpb24iLCJzZXRNZXRhIiwiQWN0aW9uQ2FsbGJhY2siLCJ0eXBlIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJkaXNhYmxlZCIsImljb24iLCJsYWJlbCIsIm9uQ2xpY2siLCJfb2JqZWN0U3ByZWFkIiwibW9kYWxUeXBlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/EditActionSettingsButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/EventsList.js": +/*!**************************************************!*\ + !*** ./package/actions/components/EventsList.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useActionsEdit */ \"./package/actions/hooks/useActionsEdit.js\");\n/* harmony import */ var _context_ActionListItemContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context/ActionListItemContext */ \"./package/actions/context/ActionListItemContext.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\n\nvar useSelect = wp.data.useSelect;\nvar useContext = wp.element.useContext;\nvar __ = wp.i18n.__;\nfunction EventItem(props) {\n var _event$title, _event$value;\n var slug = props.slug,\n eventIndex = props.index;\n var _useContext = useContext(_context_ActionListItemContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n action = _useContext.action;\n var event = useSelect(function (select) {\n return select('jet-forms/events').getType(slug);\n });\n var _useActionsEdit = (0,_hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n updateActionObj = _useActionsEdit.updateActionObj;\n var onDelete = function onDelete() {\n action.events.splice(eventIndex, 1);\n updateActionObj(action.id, _objectSpread({}, action));\n };\n var title = [(_event$title = event === null || event === void 0 ? void 0 : event.title) !== null && _event$title !== void 0 ? _event$title : '', __('(Click to delete)', 'jet-form-builder')].join(' ');\n return wp.element.createElement(\"button\", {\n type: 'button',\n className: 'jfb-events-item',\n title: title,\n onClick: onDelete\n }, (_event$value = event === null || event === void 0 ? void 0 : event.value) !== null && _event$value !== void 0 ? _event$value : slug);\n}\nfunction EventsList(props) {\n var _props$events = props.events,\n events = _props$events === void 0 ? [] : _props$events;\n return events.map(function (event, index) {\n return wp.element.createElement(EventItem, {\n key: event,\n slug: event,\n index: index\n });\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EventsList);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvb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2ZW50SW5kZXgiLCJpbmRleCIsIl91c2VDb250ZXh0IiwiYWN0aW9uIiwiZXZlbnQiLCJzZWxlY3QiLCJnZXRUeXBlIiwiX3VzZUFjdGlvbnNFZGl0IiwidXBkYXRlQWN0aW9uT2JqIiwib25EZWxldGUiLCJldmVudHMiLCJzcGxpY2UiLCJpZCIsIl9vYmplY3RTcHJlYWQiLCJ0aXRsZSIsImpvaW4iLCJjcmVhdGVFbGVtZW50IiwidHlwZSIsImNsYXNzTmFtZSIsIm9uQ2xpY2siLCJ2YWx1ZSIsIkV2ZW50c0xpc3QiLCJfcHJvcHMkZXZlbnRzIiwibWFwIiwia2V5Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/EventsList.js\n"); + +/***/ }), + +/***/ "./package/actions/components/FetchAjaxButton.js": +/*!*******************************************************!*\ + !*** ./package/actions/components/FetchAjaxButton.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _RequestButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RequestButton */ \"./package/actions/components/RequestButton.js\");\n/* harmony import */ var _hooks_withSelectActionLoading__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/withSelectActionLoading */ \"./package/actions/hooks/withSelectActionLoading.js\");\n/* harmony import */ var _hooks_withDispatchActionLoading__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks/withDispatchActionLoading */ \"./package/actions/hooks/withDispatchActionLoading.js\");\n\n\n\nvar compose = wp.compose.compose;\nvar _wp$data = wp.data,\n withSelect = _wp$data.withSelect,\n withDispatch = _wp$data.withDispatch;\nfunction FetchAjaxButton(_ref) {\n var _ref$initialLabel = _ref.initialLabel,\n initialLabel = _ref$initialLabel === void 0 ? 'Valid' : _ref$initialLabel,\n _ref$label = _ref.label,\n label = _ref$label === void 0 ? 'InValid' : _ref$label,\n _ref$ajaxArgs = _ref.ajaxArgs,\n ajaxArgs = _ref$ajaxArgs === void 0 ? {} : _ref$ajaxArgs,\n loadingState = _ref.loadingState,\n setLoading = _ref.setLoading,\n id = _ref.id,\n setResultSuccess = _ref.setResultSuccess,\n setResultFail = _ref.setResultFail;\n var getLabel = function getLabel() {\n if (-1 === loadingState.id && initialLabel) {\n return initialLabel;\n }\n return label;\n };\n return wp.element.createElement(_RequestButton__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n disabled: loadingState.loading,\n ajaxArgs: ajaxArgs,\n label: getLabel(),\n onLoading: function onLoading() {\n setLoading(id);\n },\n onSuccessRequest: function onSuccessRequest(response) {\n setResultSuccess(id, response);\n },\n onFailRequest: function onFailRequest() {\n return setResultFail(id);\n },\n className: loadingState.buttonClassName\n }, wp.element.createElement(\"i\", {\n className: \"dashicons\"\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compose(withSelect(_hooks_withSelectActionLoading__WEBPACK_IMPORTED_MODULE_1__[\"default\"]), withDispatch(_hooks_withDispatchActionLoading__WEBPACK_IMPORTED_MODULE_2__[\"default\"]))(FetchAjaxButton));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9GZXRjaEFqYXhCdXR0b24uanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUE0QztBQUMyQjtBQUU1QjtBQUUzQyxJQUFRRyxPQUFPLEdBQUtDLEVBQUUsQ0FBQ0QsT0FBTyxDQUF0QkEsT0FBTztBQUVmLElBQUFFLFFBQUEsR0FHSUQsRUFBRSxDQUFDRSxJQUFJO0VBRlZDLFVBQVUsR0FBQUYsUUFBQ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05hbWU9eyBsb2FkaW5nU3RhdGUuYnV0dG9uQ2xhc3NOYW1lIH1cclxuXHQ+XHJcblx0XHQ8aSBjbGFzc05hbWU9XCJkYXNoaWNvbnNcIi8+XHJcblx0PC9SZXF1ZXN0QnV0dG9uPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgY29tcG9zZShcclxuXHR3aXRoU2VsZWN0KCB3aXRoU2VsZWN0QWN0aW9uTG9hZGluZyApLFxyXG5cdHdpdGhEaXNwYXRjaCggd2l0aERpc3BhdGNoQWN0aW9uTG9hZGluZyApLFxyXG4pKCBGZXRjaEFqYXhCdXR0b24gKTsiXSwibmFtZXMiOlsiUmVxdWVzdEJ1dHRvbiIsIndpdGhTZWxlY3RBY3Rpb25Mb2FkaW5nIiwid2l0aERpc3BhdGNoQWN0aW9uTG9hZGluZyIsImNvbXBvc2UiLCJ3cCIsIl93cCRkYXRhIiwiZGF0YSIsIndpdGhTZWxlY3QiLCJ3aXRoRGlzcGF0Y2giLCJGZXRjaEFqYXhCdXR0b24iLCJfcmVmIiwiX3JlZiRpbml0aWFsTGFiZWwiLCJpbml0aWFsTGFiZWwiLCJfcmVmJGxhYmVsIiwibGFiZWwiLCJfcmVmJGFqYXhBcmdzIiwiYWpheEFyZ3MiLCJsb2FkaW5nU3RhdGUiLCJzZXRMb2FkaW5nIiwiaWQiLCJzZXRSZXN1bHRTdWNjZXNzIiwic2V0UmVzdWx0RmFpbCIsImdldExhYmVsIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJkaXNhYmxlZCIsImxvYWRpbmciLCJvbkxvYWRpbmciLCJvblN1Y2Nlc3NSZXF1ZXN0IiwicmVzcG9uc2UiLCJvbkZhaWxSZXF1ZXN0IiwiY2xhc3NOYW1lIiwiYnV0dG9uQ2xhc3NOYW1lIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/FetchAjaxButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/FetchApiButton.js": +/*!******************************************************!*\ + !*** ./package/actions/components/FetchApiButton.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _RequestButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RequestButton */ \"./package/actions/components/RequestButton.js\");\n/* harmony import */ var _hooks_withDispatchActionLoading__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/withDispatchActionLoading */ \"./package/actions/hooks/withDispatchActionLoading.js\");\n\n\nvar compose = wp.compose.compose;\nvar withDispatch = wp.data.withDispatch;\nvar _wp = wp,\n apiFetch = _wp.apiFetch;\nfunction FetchApiButton(_ref) {\n var _ref$initialLabel = _ref.initialLabel,\n initialLabel = _ref$initialLabel === void 0 ? 'Valid' : _ref$initialLabel,\n _ref$label = _ref.label,\n label = _ref$label === void 0 ? 'InValid' : _ref$label,\n _ref$apiArgs = _ref.apiArgs,\n apiArgs = _ref$apiArgs === void 0 ? {} : _ref$apiArgs,\n loadingState = _ref.loadingState,\n setLoading = _ref.setLoading,\n id = _ref.id,\n setResultSuccess = _ref.setResultSuccess,\n setResultFail = _ref.setResultFail,\n _ref$onLoading = _ref.onLoading,\n onLoading = _ref$onLoading === void 0 ? function () {} : _ref$onLoading,\n _ref$onSuccess = _ref.onSuccess,\n onSuccess = _ref$onSuccess === void 0 ? function () {} : _ref$onSuccess,\n _ref$onFail = _ref.onFail,\n onFail = _ref$onFail === void 0 ? function () {} : _ref$onFail,\n _ref$isHidden = _ref.isHidden,\n isHidden = _ref$isHidden === void 0 ? false : _ref$isHidden;\n var getLabel = function getLabel() {\n if ((-1 === loadingState.id || loadingState.loading) && initialLabel) {\n return initialLabel;\n }\n return label;\n };\n return wp.element.createElement(_RequestButton__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n disabled: loadingState.loading,\n hasFetched: loadingState.id,\n label: getLabel(),\n className: loadingState.buttonClassName,\n isHidden: isHidden,\n customRequest: function customRequest() {\n setLoading(id);\n onLoading();\n apiFetch(apiArgs).then(function (response) {\n setResultSuccess(id, response);\n onSuccess(response);\n }).catch(function (error) {\n setResultFail(id);\n onFail(error);\n });\n },\n isDestructive: loadingState.buttonClassName.includes('is-invalid')\n }, wp.element.createElement(\"i\", {\n className: \"dashicons\"\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compose(withDispatch(_hooks_withDispatchActionLoading__WEBPACK_IMPORTED_MODULE_1__[\"default\"]))(FetchApiButton));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9GZXRjaEFwaUJ1dHRvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBNEM7QUFFRDtBQUUzQyxJQUFRRSxPQUFPLEdBQUtDLEVBQUUsQ0FBQ0QsT0FBTyxDQUF0QkEsT0FBTztBQUVmLElBQ09FLFlBQVksR0FDVEQsRUFBRSxDQUFDRSxJQUFJLENBRFZELFlBQVk7QUFHbkIsSUFBQUUsR0FBQSxHQUFxQkgsRUFBRTtFQUFmSSxRQUFRLEdBQUFELEdBQUEsQ0FBUkMsUUFBUTtBQUVoQixTQUFTQyxjQUFjQSxDQUFBQyxJQUFBLEVBYW5CO0VBQUEsSUFBQUMsaUJBQUEsR0FBQUQsSUFBQSxDQVpIRSxZQUFZO0lBQVpBLFlBQVksR0FBQUQsaUJBQUEsY0FBRyxPQUFPLEdBQUFBLGlCQUFBO0lBQUFFLFVBQUEsR0FBQUgsSUFBQSxDQUN0QkksS0FBSztJQUFMQSxLQUFLLEdBQUFELFVBQUEsY0FBRyxTQUFTLEdBQUFBLFVBQUE7SU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zcGF0Y2goIHdpdGhEaXNwYXRjaEFjdGlvbkxvYWRpbmcgKSxcclxuKSggRmV0Y2hBcGlCdXR0b24gKTsiXSwibmFtZXMiOlsiUmVxdWVzdEJ1dHRvbiIsIndpdGhEaXNwYXRjaEFjdGlvbkxvYWRpbmciLCJjb21wb3NlIiwid3AiLCJ3aXRoRGlzcGF0Y2giLCJkYXRhIiwiX3dwIiwiYXBpRmV0Y2giLCJGZXRjaEFwaUJ1dHRvbiIsIl9yZWYiLCJfcmVmJGluaXRpYWxMYWJlbCIsImluaXRpYWxMYWJlbCIsIl9yZWYkbGFiZWwiLCJsYWJlbCIsIl9yZWYkYXBpQXJncyIsImFwaUFyZ3MiLCJsb2FkaW5nU3RhdGUiLCJzZXRMb2FkaW5nIiwiaWQiLCJzZXRSZXN1bHRTdWNjZXNzIiwic2V0UmVzdWx0RmFpbCIsIl9yZWYkb25Mb2FkaW5nIiwib25Mb2FkaW5nIiwiX3JlZiRvblN1Y2Nlc3MiLCJvblN1Y2Nlc3MiLCJfcmVmJG9uRmFpbCIsIm9uRmFpbCIsIl9yZWYkaXNIaWRkZW4iLCJpc0hpZGRlbiIsImdldExhYmVsIiwibG9hZGluZyIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiZGlzYWJsZWQiLCJoYXNGZXRjaGVkIiwiY2xhc3NOYW1lIiwiYnV0dG9uQ2xhc3NOYW1lIiwiY3VzdG9tUmVxdWVzdCIsInRoZW4iLCJyZXNwb25zZSIsImNhdGNoIiwiZXJyb3IiLCJpc0Rlc3RydWN0aXZlIiwiaW5jbHVkZXMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/FetchApiButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ListActionItem.js": +/*!******************************************************!*\ + !*** ./package/actions/components/ListActionItem.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _EditActionSettingsButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditActionSettingsButton */ \"./package/actions/components/EditActionSettingsButton.js\");\n/* harmony import */ var _ActionItemWrapper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ActionItemWrapper */ \"./package/actions/components/ActionItemWrapper.js\");\n/* harmony import */ var _ActionItemFooter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ActionItemFooter */ \"./package/actions/components/ActionItemFooter.js\");\n/* harmony import */ var _ActionItemHeader__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ActionItemHeader */ \"./package/actions/components/ActionItemHeader.js\");\n/* harmony import */ var _SelectActionsControl__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./SelectActionsControl */ \"./package/actions/components/SelectActionsControl.js\");\n/* harmony import */ var _EditActionConditionsButton__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./EditActionConditionsButton */ \"./package/actions/components/EditActionConditionsButton.js\");\n/* harmony import */ var _ActionItemDetails__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./ActionItemDetails */ \"./package/actions/components/ActionItemDetails.js\");\n/* harmony import */ var _ActionItemMoreButton__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./ActionItemMoreButton */ \"./package/actions/components/ActionItemMoreButton.js\");\n\n\n\n\n\n\n\n\nvar _wp$components = wp.components,\n CardBody = _wp$components.CardBody,\n Flex = _wp$components.Flex;\nfunction ListActionItem() {\n return wp.element.createElement(_ActionItemWrapper__WEBPACK_IMPORTED_MODULE_1__[\"default\"], null, wp.element.createElement(_ActionItemHeader__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null), wp.element.createElement(CardBody, null, wp.element.createElement(\"div\", null, wp.element.createElement(_SelectActionsControl__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null)), wp.element.createElement(Flex, {\n style: {\n marginTop: '0.5em'\n },\n justify: \"space-between\"\n }, wp.element.createElement(_EditActionSettingsButton__WEBPACK_IMPORTED_MODULE_0__[\"default\"], null), wp.element.createElement(_EditActionConditionsButton__WEBPACK_IMPORTED_MODULE_5__[\"default\"], null), wp.element.createElement(_ActionItemMoreButton__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null), wp.element.createElement(_ActionItemDetails__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null))), wp.element.createElement(_ActionItemFooter__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ListActionItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9MaXN0QWN0aW9uSXRlbS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBa0U7QUFDZDtBQUNGO0FBQ0E7QUFDUTtBQUNZO0FBQ2xCO0FBQ007QUFFMUQsSUFBQVEsY0FBQSxHQUdVQyxFQUFFLENBQUNDLFVBQVU7RUFGaEJDLFFBQVEsR0FBQUgsY0FBQSxDQUFSRyxRQUFRO0VBQ1JDLElBQUksR0FBQUosY0FBQSxDQUFKSSxJQUFJO0FBR1gsU0FBU0MsY0FBY0EsQ0FBQSxFQUFHO0VBQ3pCLE9BQU9KLEVBQUEsQ0FBQUssT0FBQSxDQUFBQyxhQUFBLENBQUNkLDBEQUFpQixRQUN4QlEsRUFBQSxDQUFBSyxPQUFBLENBQUFDLGFBQUEsQ0FBQ1oseURBQWdCLE1BQUMsQ0FBQyxFQUNuQk0sRUFBQSxDQUFBSyxPQUFBLENBQUFDLGFBQUEsQ0FBQ0osUUFBUSxRQUNSRixFQUFBLENBQU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XHQ8L0ZsZXg+XHJcblx0XHQ8L0NhcmRCb2R5PlxyXG5cdFx0PEFjdGlvbkl0ZW1Gb290ZXIvPlxyXG5cdDwvQWN0aW9uSXRlbVdyYXBwZXI+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBMaXN0QWN0aW9uSXRlbTsiXSwibmFtZXMiOlsiRWRpdEFjdGlvblNldHRpbmdzQnV0dG9uIiwiQWN0aW9uSXRlbVdyYXBwZXIiLCJBY3Rpb25JdGVtRm9vdGVyIiwiQWN0aW9uSXRlbUhlYWRlciIsIlNlbGVjdEFjdGlvbnNDb250cm9sIiwiRWRpdEFjdGlvbkNvbmRpdGlvbnNCdXR0b24iLCJBY3Rpb25JdGVtRGV0YWlscyIsIkFjdGlvbkl0ZW1Nb3JlQnV0dG9uIiwiX3dwJGNvbXBvbmVudHMiLCJ3cCIsImNvbXBvbmVudHMiLCJDYXJkQm9keSIsIkZsZXgiLCJMaXN0QWN0aW9uSXRlbSIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50Iiwic3R5bGUiLCJtYXJnaW5Ub3AiLCJqdXN0aWZ5Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/ListActionItem.js\n"); + +/***/ }), + +/***/ "./package/actions/components/PlaceholderMessage.js": +/*!**********************************************************!*\ + !*** ./package/actions/components/PlaceholderMessage.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction PlaceholderMessage(_ref) {\n var style = _ref.style,\n children = _ref.children;\n var propStyle = _objectSpread({\n fontSize: '1.5em',\n padding: '2em',\n textAlign: 'center',\n backgroundColor: 'aliceblue'\n }, style);\n return wp.element.createElement(\"p\", {\n style: propStyle\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PlaceholderMessage);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9QbGFjZWhvbGRlck1lc3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c3NhZ2U7Il0sIm5hbWVzIjpbIlBsYWNlaG9sZGVyTWVzc2FnZSIsIl9yZWYiLCJzdHlsZSIsImNoaWxkcmVuIiwicHJvcFN0eWxlIiwiX29iamVjdFNwcmVhZCIsImZvbnRTaXplIiwicGFkZGluZyIsInRleHRBbGlnbiIsImJhY2tncm91bmRDb2xvciIsIndwIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/PlaceholderMessage.js\n"); + +/***/ }), + +/***/ "./package/actions/components/RequestButton.js": +/*!*****************************************************!*\ + !*** ./package/actions/components/RequestButton.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar _excluded = [\"label\", \"ajaxArgs\", \"onSuccessRequest\", \"onFailRequest\", \"onLoading\", \"className\", \"children\", \"disabled\", \"customRequest\", \"isHidden\", \"hasFetched\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar __ = wp.i18n.__;\nvar Button = wp.components.Button;\nvar useEffect = wp.element.useEffect;\nfunction RequestButton(_ref) {\n var label = _ref.label,\n _ref$ajaxArgs = _ref.ajaxArgs,\n ajaxArgs = _ref$ajaxArgs === void 0 ? {} : _ref$ajaxArgs,\n _ref$onSuccessRequest = _ref.onSuccessRequest,\n onSuccessRequest = _ref$onSuccessRequest === void 0 ? function () {} : _ref$onSuccessRequest,\n _ref$onFailRequest = _ref.onFailRequest,\n onFailRequest = _ref$onFailRequest === void 0 ? function () {} : _ref$onFailRequest,\n _ref$onLoading = _ref.onLoading,\n onLoading = _ref$onLoading === void 0 ? function () {} : _ref$onLoading,\n _ref$className = _ref.className,\n className = _ref$className === void 0 ? '' : _ref$className,\n _ref$children = _ref.children,\n children = _ref$children === void 0 ? function () {} : _ref$children,\n _ref$disabled = _ref.disabled,\n disabled = _ref$disabled === void 0 ? false : _ref$disabled,\n _ref$customRequest = _ref.customRequest,\n customRequest = _ref$customRequest === void 0 ? false : _ref$customRequest,\n _ref$isHidden = _ref.isHidden,\n isHidden = _ref$isHidden === void 0 ? false : _ref$isHidden,\n _ref$hasFetched = _ref.hasFetched,\n hasFetched = _ref$hasFetched === void 0 ? -1 : _ref$hasFetched,\n buttonProps = _objectWithoutProperties(_ref, _excluded);\n className = 'string' === typeof className ? className : className.join(' ');\n var defaultRequest = function defaultRequest() {\n onLoading();\n jQuery.ajax({\n url: ajaxurl,\n type: 'POST',\n data: ajaxArgs\n }).done(function (response) {\n return response.success ? onSuccessRequest(response) : onFailRequest();\n }).fail(function () {\n return onFailRequest();\n });\n };\n var request = function request() {\n if (false === customRequest) {\n defaultRequest();\n } else if ('function' === typeof customRequest) {\n customRequest();\n } else {\n onFailRequest();\n }\n };\n useEffect(function () {\n if (isHidden && -1 === hasFetched) {\n request();\n }\n }, []);\n if (isHidden) {\n return null;\n }\n return wp.element.createElement(Button, _extends({\n disabled: disabled,\n key: 'validate_api_key',\n onClick: request,\n className: className + ' jet-fb-button line-with-input',\n variant: 'secondary'\n }, buttonProps), children && children, label);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RequestButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9SZXF1ZXN0QnV0dG9uLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsSUFBUUEsRUFBRSxHQUFLQyxFQUFFLENBQUNDLElBQUksQ0FBZEYsRUFBRTtBQUVWLElBQ09HLE1BQU0sR0FDSEYsRUFBRSxDQUFDRyxVQUFVLENBRGhCRCxNQUFNO0FBR2IsSUFBUUUsU0FBUyxHQUFLSixFQUFFLENBQUNLLE9BQU8sQ0FBeEJELFNBQVM7QUFFakIsU0FBU0UsYUFBYUEsQ0FBQUMsSUFBQSxFQWlCbEI7RUFBQSxJQWhCSEMsS0FBSyxHQUFBRCxJQUFBLENBQUxDLEtBQUs7SUFBQUMsYUFBQSxHQUFBRixJQUFBLENBQ0xHLFFBQVE7SUFBUkEsUUFBUSxHQUFBRCxhQUFBLGNBQUcsQ0FBQyxDQUFDLEdBQUFBLGFBQUE7SUFBQUUscUJBQUEsR0FBQUosSUFBQSxDQUNiSyxnQkFBZ0I7SUFBaEJBLGdCQUFnQixHQUFBRCxxQkFBQSxjQUFHLFlBQU0sQ0FDekIsQ0FBQyxHQUFBQSxxQkFBQTtJQUFBRSxrQkFBQSxHQUFBTixJQUFBLENBQ0RPLGFBQWE7SUFBYkEsYUFBYSxHQUFBRCxrQkFBQSxjQUFHLFlBQU0sQ0FDdEIsQ0FBQyxHQUFBQSxrQkFBQTtJQUFBRSxjQUFBLEdBQUFSLElBQUEsQ0FDRFMsU0FBUztJQUFUQSxTQUFTLEdBQUFELGNBQUEs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b3BlcnRpZXMiLCJfZXhjbHVkZWQiLCJqb2luIiwiZGVmYXVsdFJlcXVlc3QiLCJqUXVlcnkiLCJhamF4IiwidXJsIiwiYWpheHVybCIsInR5cGUiLCJkYXRhIiwiZG9uZSIsInJlc3BvbnNlIiwic3VjY2VzcyIsImZhaWwiLCJyZXF1ZXN0IiwiY3JlYXRlRWxlbWVudCIsIl9leHRlbmRzIiwia2V5Iiwib25DbGljayIsInZhcmlhbnQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/components/RequestButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/RequestLoadingButton.js": +/*!************************************************************!*\ + !*** ./package/actions/components/RequestLoadingButton.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _RequestButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RequestButton */ \"./package/actions/components/RequestButton.js\");\n/* harmony import */ var _hooks_useStateLoadingClasses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useStateLoadingClasses */ \"./package/hooks/useStateLoadingClasses.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nfunction RequestLoadingButton(_ref) {\n var label = _ref.label,\n _ref$ajaxArgs = _ref.ajaxArgs,\n ajaxArgs = _ref$ajaxArgs === void 0 ? {} : _ref$ajaxArgs,\n _ref$onSuccessRequest = _ref.onSuccessRequest,\n _onSuccessRequest = _ref$onSuccessRequest === void 0 ? function () {} : _ref$onSuccessRequest,\n _ref$onFailRequest = _ref.onFailRequest,\n _onFailRequest = _ref$onFailRequest === void 0 ? function () {} : _ref$onFailRequest;\n var _useStateLoadingClass = (0,_hooks_useStateLoadingClasses__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n _useStateLoadingClass2 = _slicedToArray(_useStateLoadingClass, 3),\n className = _useStateLoadingClass2[0],\n setLoadingClass = _useStateLoadingClass2[1],\n clearLoadingClass = _useStateLoadingClass2[2];\n return wp.element.createElement(_RequestButton__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n ajaxArgs: ajaxArgs,\n label: label,\n onLoading: setLoadingClass,\n onSuccessRequest: function onSuccessRequest(response) {\n clearLoadingClass();\n _onSuccessRequest(response);\n },\n onFailRequest: function onFailRequest() {\n clearLoadingClass();\n _onFailRequest();\n },\n className: className\n }, wp.element.createElement(\"i\", {\n className: \"dashicons\"\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RequestLoadingButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9SZXF1ZXN0TG9hZGluZ0J1dHRvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBNEM7QUFDNEI7QUFFeEUsU0FBU0Usb0JBQW9CQSxDQUFBQyxJQUFBLEVBS2Y7RUFBQSxJQUpIQyxLQUFLLEdBQUFELElBQUEsQ0FBTEMsS0FBSztJQUFBQyxhQUFBLEdBQUFGLElBQUEsQ0FDTEcsUUFBUTtJQUFSQSxRQUFRLEdBQUFELGFBQUEsY0FBRyxDQUFDLENBQUMsR0FBQUEsYUFBQTtJQUFBRSxxQkFBQSxHQUFBSixJQUFBLENBQ2JLLGdCQUFnQjtJQUFoQkEsaUJBQWdCLEdBQUFELHFCQUFBLGNBQUcsWUFBTSxDQUFDLENBQUMsR0FBQUEscUJBQUE7SUFBQUUsa0JBQUEsR0FBQU4sSUFBQSxDQUMzQk8sYUFBYTtJQUFiQSxjQUFhLEdBQUFELGtCQUFBLGNBQUcsWUFBTSxDQUFDLENBQUMsR0FBQUEsa0JBQUE7RUFHbEMsSUFBQUUscUJBQUEsR0FJSVYseUVBQXNCLENBQUMsQ0FBQztJQUFBVyxzQkFBQSxHQUFBQyxjQUFBLENBQUFGLHFCQUFBO0lBSDNCRyxTQUFTLEdBQUFGLHNCQUFBO0lBQ1RHLGVBQWUsR0FBQUgsc0JBQUE7SUFDZkksaUJBQWlCLEdBQUFKLHNCQUFBO0VBR2xCLE9BQU9LLEVBQUEsQ0FBQUMsT0FBQSxDQUF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LCJfcmVmJG9uU3VjY2Vzc1JlcXVlc3QiLCJvblN1Y2Nlc3NSZXF1ZXN0IiwiX3JlZiRvbkZhaWxSZXF1ZXN0Iiwib25GYWlsUmVxdWVzdCIsIl91c2VTdGF0ZUxvYWRpbmdDbGFzcyIsIl91c2VTdGF0ZUxvYWRpbmdDbGFzczIiLCJfc2xpY2VkVG9BcnJheSIsImNsYXNzTmFtZSIsInNldExvYWRpbmdDbGFzcyIsImNsZWFyTG9hZGluZ0NsYXNzIiwid3AiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIm9uTG9hZGluZyIsInJlc3BvbnNlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/RequestLoadingButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/SelectActionsControl.js": +/*!************************************************************!*\ + !*** ./package/actions/components/SelectActionsControl.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\n/* harmony import */ var _hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/useActionsEdit */ \"./package/actions/hooks/useActionsEdit.js\");\n\n\nvar SelectControl = wp.components.SelectControl;\nvar useSelect = wp.data.useSelect;\nfunction SelectActionsControl() {\n var _useActionsEdit = (0,_hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n updateActionObj = _useActionsEdit.updateActionObj;\n var _useLoopedAction = (0,_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n action = _useLoopedAction.action;\n var actionTypes = useSelect(function (select) {\n return select('jet-forms/actions').getActionsList();\n });\n return wp.element.createElement(SelectControl, {\n value: action.type,\n options: actionTypes,\n onChange: function onChange(type) {\n return updateActionObj(action.id, {\n type: type\n });\n }\n }, actionTypes.map(function (type) {\n return wp.element.createElement(\"option\", {\n key: action.id + '__' + type.value,\n value: type.value,\n disabled: type.disabled\n }, type.label);\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SelectActionsControl);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9TZWxlY3RBY3Rpb25zQ29udHJvbC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBdUQ7QUFDRjtBQUVyRCxJQUNPRSxhQUFhLEdBQ1ZDLEVBQUUsQ0FBQ0MsVUFBVSxDQURoQkYsYUFBYTtBQUdwQixJQUNPRyxTQUFTLEdBQ05GLEVBQUUsQ0FBQ0csSUFBSSxDQURWRCxTQUFTO0FBR2hCLFNBQVNFLG9CQUFvQkEsQ0FBQSxFQUFHO0VBQy9CLElBQUFDLGVBQUEsR0FBNEJQLGlFQUFjLENBQUMsQ0FBQztJQUFwQ1EsZUFBZSxHQUFBRCxlQUFBLENBQWZDLGVBQWU7RUFFdkIsSUFBQUMsZ0JBQUEsR0FBb0JWLGtFQUFlLENBQUMsQ0FBQztJQUE3QlcsTUFBTSxHQUFBRCxnQkFBQSxDQUFOQyxNQUFNO0VBQ2QsSUFBTUMsV0FBVyxHQUFHUCxTQUFTLENBQzVCLFVBQUFRLE1BQU07SUFBQSxPQUFJQSxNQUFNLENBQUUsbUJBQW9CLENBQUMsQ0FBQ0MsY0FBYyxDQUFDLENBQUM7RUFBQSxDQUN6RCxDQUFDO0VBRUQsT0FBT1gsRUFBQSxDQUFBWSxPQUFBLENBQUFDLGFBQUEsQ0FBQ2QsYUFBYTt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bnRyb2wiLCJfdXNlQWN0aW9uc0VkaXQiLCJ1cGRhdGVBY3Rpb25PYmoiLCJfdXNlTG9vcGVkQWN0aW9uIiwiYWN0aW9uIiwiYWN0aW9uVHlwZXMiLCJzZWxlY3QiLCJnZXRBY3Rpb25zTGlzdCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwidmFsdWUiLCJ0eXBlIiwib3B0aW9ucyIsIm9uQ2hhbmdlIiwiaWQiLCJtYXAiLCJrZXkiLCJkaXNhYmxlZCIsImxhYmVsIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/SelectActionsControl.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ValidateButton.js": +/*!******************************************************!*\ + !*** ./package/actions/components/ValidateButton.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _RequestButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RequestButton */ \"./package/actions/components/RequestButton.js\");\n/* harmony import */ var _hooks_useStateValidClasses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useStateValidClasses */ \"./package/hooks/useStateValidClasses.js\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar useState = wp.element.useState;\nfunction ValidateButton(_ref) {\n var _ref$initialValid = _ref.initialValid,\n initialValid = _ref$initialValid === void 0 ? null : _ref$initialValid,\n label = _ref.label,\n _ref$ajaxArgs = _ref.ajaxArgs,\n ajaxArgs = _ref$ajaxArgs === void 0 ? {} : _ref$ajaxArgs,\n _ref$onValid = _ref.onValid,\n onValid = _ref$onValid === void 0 ? function () {} : _ref$onValid,\n _ref$onInvalid = _ref.onInvalid,\n onInvalid = _ref$onInvalid === void 0 ? function () {} : _ref$onInvalid;\n var _useState = useState({}),\n _useState2 = _slicedToArray(_useState, 2),\n buttonProps = _useState2[0],\n setButtonProps = _useState2[1];\n var _useStateValidClasses = (0,_hooks_useStateValidClasses__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(initialValid || null),\n _useStateValidClasses2 = _slicedToArray(_useStateValidClasses, 4),\n className = _useStateValidClasses2[0],\n setValidClass = _useStateValidClasses2[1],\n setInvalidClass = _useStateValidClasses2[2],\n setLoadingClass = _useStateValidClasses2[3];\n var setValid = function setValid(response) {\n setValidClass();\n onValid(response);\n setButtonProps({});\n };\n var setInvalid = function setInvalid() {\n setInvalidClass();\n onInvalid();\n setButtonProps({\n isDestructive: true\n });\n };\n return wp.element.createElement(_RequestButton__WEBPACK_IMPORTED_MODULE_0__[\"default\"], _extends({\n ajaxArgs: ajaxArgs,\n label: label,\n onLoading: setLoadingClass,\n onSuccessRequest: setValid,\n onFailRequest: setInvalid,\n className: className\n }, buttonProps), wp.element.createElement(\"i\", {\n className: \"dashicons\"\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidateButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9WYWxpZGF0ZUJ1dHRvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQTRDO0FBQ3dCO0FBRXBFLElBQ09FLFFBQVEsR0FDTEMsRUFBRSxDQUFDQyxPQUFPLENBRGJGLFFBQVE7QUFHZixTQUFTRyxjQUFjQSxDQUFBQyxJQUFBLEVBTW5CO0VBQUEsSUFBQUMsaUJBQUEsR0FBQUQsSUFBQSxDQUxIRSxZQUFZO0lBQVpBLFlBQVksR0FBQUQsaUJBQUEsY0FBRyxJQUFJLEdBQUFBLGlCQUFBO0lBQ25CRSxLQUFLLEdBQUFILElBQUEsQ0FBTEcsS0FBSztJQUFBQyxhQUFBLEdBQUFKLElBQUEsQ0FDTEssUUFBUTtJQUFSQSxRQUFRLEdBQUFELGFBQUEsY0FBRyxDQUFDLENBQUMsR0F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GRlZmF1bHQgVmFsaWRhdGVCdXR0b247Il0sIm5hbWVzIjpbIlJlcXVlc3RCdXR0b24iLCJ1c2VTdGF0ZVZhbGlkQ2xhc3NlcyIsInVzZVN0YXRlIiwid3AiLCJlbGVtZW50IiwiVmFsaWRhdGVCdXR0b24iLCJfcmVmIiwiX3JlZiRpbml0aWFsVmFsaWQiLCJpbml0aWFsVmFsaWQiLCJsYWJlbCIsIl9yZWYkYWpheEFyZ3MiLCJhamF4QXJncyIsIl9yZWYkb25WYWxpZCIsIm9uVmFsaWQiLCJfcmVmJG9uSW52YWxpZCIsIm9uSW52YWxpZCIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJfc2xpY2VkVG9BcnJheSIsImJ1dHRvblByb3BzIiwic2V0QnV0dG9uUHJvcHMiLCJfdXNlU3RhdGVWYWxpZENsYXNzZXMiLCJfdXNlU3RhdGVWYWxpZENsYXNzZXMyIiwiY2xhc3NOYW1lIiwic2V0VmFsaWRDbGFzcyIsInNldEludmFsaWRDbGFzcyIsInNldExvYWRpbmdDbGFzcyIsInNldFZhbGlkIiwicmVzcG9uc2UiLCJzZXRJbnZhbGlkIiwiaXNEZXN0cnVjdGl2ZSIsImNyZWF0ZUVsZW1lbnQiLCJfZXh0ZW5kcyIsIm9uTG9hZGluZyIsIm9uU3VjY2Vzc1JlcXVlc3QiLCJvbkZhaWxSZXF1ZXN0Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/components/ValidateButton.js\n"); + +/***/ }), + +/***/ "./package/actions/components/ValidateButtonWithStore.js": +/*!***************************************************************!*\ + !*** ./package/actions/components/ValidateButtonWithStore.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _FetchAjaxButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./FetchAjaxButton */ \"./package/actions/components/FetchAjaxButton.js\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar useSelect = wp.data.useSelect;\nfunction ValidateButtonWithStore(props) {\n var currentAction = useSelect(function (select) {\n return select('jet-forms/actions').getCurrentAction();\n }, []);\n return wp.element.createElement(_FetchAjaxButton__WEBPACK_IMPORTED_MODULE_0__[\"default\"], _extends({\n id: currentAction.id\n }, props));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidateButtonWithStore);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29tcG9uZW50cy9WYWxpZGF0ZUJ1dHRvbldpdGhTdG9yZS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBZ0Q7QUFFaEQsSUFDT0MsU0FBUyxHQUNOQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsU0FBUztBQUdoQixTQUFTRyx1QkFBdUJBLENBQUVDLEtBQUssRUFBRztFQUV6QyxJQUFNQyxhQUFhLEdBQUdMLFNBQVMsQ0FBRSxVQUFFTSxNQUFNLEVBQU07SUFDOUMsT0FBT0EsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNDLGdCQUFnQixDQUFDLENBQUM7RUFDeEQsQ0FBQyxFQUFFLEVBQUcsQ0FBQztFQUVQLE9BQU9OLEVBQUEsQ0FBQU8sT0FBQSxDQUFBQyxhQUFBLENBQUNWLHdEQUFlLEVBQUFXLFFBQUE7SUFDdEJDLEVBQUUsRUFBR04sYUFBYSxDQUFDTTtFQUFJLEdBQ2xC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onWithStore.js\n"); + +/***/ }), + +/***/ "./package/actions/context/ActionListItemContext.js": +/*!**********************************************************!*\ + !*** ./package/actions/context/ActionListItemContext.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar ActionListItemContext = createContext({\n index: -1,\n action: {}\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ActionListItemContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29udGV4dC9BY3Rpb25MaXN0SXRlbUNvbnRleHQuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQVFBLGFBQWEsR0FBS0MsRUFBRSxDQUFDQyxPQUFPLENBQTVCRixhQUFhO0FBRXJCLElBQU1HLHFCQUFxQixHQUFHSCxhQUFhLENBQUU7RUFDNUNJLEtBQUssRUFBRSxDQUFFLENBQUM7RUFDVkMsTUFBTSxFQUFFLENBQUM7QUFDVixDQUFFLENBQUM7QUFFSCxpRUFBZUYscUJBQXFCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9hY3Rpb25zL2NvbnRleHQvQWN0aW9uTGlzdEl0ZW1Db250ZXh0LmpzPzBmOGUiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgeyBjcmVhdGVDb250ZXh0IH0gPSB3cC5lbGVtZW50O1xyXG5cclxuY29uc3QgQWN0aW9uTGlzdEl0ZW1Db250ZXh0ID0gY3JlYXRlQ29udGV4dCgge1xyXG5cdGluZGV4OiAtIDEsXHJcblx0YWN0aW9uOiB7fSxcclxufSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWN0aW9uTGlzdEl0ZW1Db250ZXh0OyJdLCJuYW1lcyI6WyJjcmVhdGVDb250ZXh0Iiwid3AiLCJlbGVtZW50IiwiQWN0aW9uTGlzdEl0ZW1Db250ZXh0IiwiaW5kZXgiLCJhY3Rpb24iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/context/ActionListItemContext.js\n"); + +/***/ }), + +/***/ "./package/actions/context/CurrentActionEditContext.js": +/*!*************************************************************!*\ + !*** ./package/actions/context/CurrentActionEditContext.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar CurrentActionEditContext = createContext({});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CurrentActionEditContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvY29udGV4dC9DdXJyZW50QWN0aW9uRWRpdENvbnRleHQuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQVFBLGFBQWEsR0FBS0MsRUFBRSxDQUFDQyxPQUFPLENBQTVCRixhQUFhO0FBRXJCLElBQU1HLHdCQUF3QixHQUFHSCxhQUFhLENBQUUsQ0FBQyxDQUFFLENBQUM7QUFFcEQsaUVBQWVHLHdCQUF3QiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYWN0aW9ucy9jb250ZXh0L0N1cnJlbnRBY3Rpb25FZGl0Q29udGV4dC5qcz83OGQ0Il0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHsgY3JlYXRlQ29udGV4dCB9ID0gd3AuZWxlbWVudDtcclxuXHJcbmNvbnN0IEN1cnJlbnRBY3Rpb25FZGl0Q29udGV4dCA9IGNyZWF0ZUNvbnRleHQoIHt9ICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBDdXJyZW50QWN0aW9uRWRpdENvbnRleHQ7Il0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJ3cCIsImVsZW1lbnQiLCJDdXJyZW50QWN0aW9uRWRpdENvbnRleHQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/context/CurrentActionEditContext.js\n"); + +/***/ }), + +/***/ "./package/actions/helpers/addAction.js": +/*!**********************************************!*\ + !*** ./package/actions/helpers/addAction.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction addAction(actionType, actionInstance) {\n wp.data.dispatch('jet-forms/actions').addCallback(actionType, actionInstance);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (addAction);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaGVscGVycy9hZGRBY3Rpb24uanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFNBQVNBLFNBQVNBLENBQUVDLFVBQVUsRUFBRUMsY0FBYyxFQUFHO0VBQ2hEQyxFQUFFLENBQUNDLElBQUksQ0FBQ0MsUUFBUSxDQUFFLG1CQUFvQixDQUFDLENBQ3RDQyxXQUFXLENBQUVMLFVBQVUsRUFBRUMsY0FBZSxDQUFDO0FBQzNDO0FBRUEsaUVBQWVGLFNBQVMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2FjdGlvbnMvaGVscGVycy9hZGRBY3Rpb24uanM/NDk4ZCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBhZGRBY3Rpb24oIGFjdGlvblR5cGUsIGFjdGlvbkluc3RhbmNlICkge1xyXG5cdHdwLmRhdGEuZGlzcGF0Y2goICdqZXQtZm9ybXMvYWN0aW9ucycgKS5cclxuXHRcdGFkZENhbGxiYWNrKCBhY3Rpb25UeXBlLCBhY3Rpb25JbnN0YW5jZSApO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBhZGRBY3Rpb247Il0sIm5hbWVzIjpbImFkZEFjdGlvbiIsImFjdGlvblR5cGUiLCJhY3Rpb25JbnN0YW5jZSIsIndwIiwiZGF0YSIsImRpc3BhdGNoIiwiYWRkQ2FsbGJhY2siXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/helpers/addAction.js\n"); + +/***/ }), + +/***/ "./package/actions/helpers/addComputedField.js": +/*!*****************************************************!*\ + !*** ./package/actions/helpers/addComputedField.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/**\r\n * @param field\r\n * @param settings {{\r\n * isScoped: Boolean\r\n * }}\r\n */\nfunction addComputedField(field) {\n var settings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n wp.data.dispatch('jet-forms/actions').addComputedField(field, settings);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (addComputedField);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaGVscGVycy9hZGRDb21wdXRlZEZpZWxkLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQT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/ }), + +/***/ "./package/actions/helpers/addDetail.js": +/*!**********************************************!*\ + !*** ./package/actions/helpers/addDetail.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction addDetail(actionType, callback) {\n return wp.data.dispatch('jet-forms/actions').addDetail(actionType, callback);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (addDetail);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaGVscGVycy9hZGREZXRhaWwuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFNBQVNBLFNBQVNBLENBQUVDLFVBQVUsRUFBRUMsUUFBUSxFQUFHO0VBQzFDLE9BQU9DLEVBQUUsQ0FBQ0MsSUFBSSxDQUFDQyxRQUFRLENBQUUsbUJBQW9CLENBQUMsQ0FDN0NMLFNBQVMsQ0FBRUMsVUFBVSxFQUFFQyxRQUFTLENBQUM7QUFDbkM7QUFFQSxpRUFBZUYsU0FBUyIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYWN0aW9ucy9oZWxwZXJzL2FkZERldGFpbC5qcz9lYzE3Il0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIGFkZERldGFpbCggYWN0aW9uVHlwZSwgY2FsbGJhY2sgKSB7XHJcblx0cmV0dXJuIHdwLmRhdGEuZGlzcGF0Y2goICdqZXQtZm9ybXMvYWN0aW9ucycgKS5cclxuXHRcdGFkZERldGFpbCggYWN0aW9uVHlwZSwgY2FsbGJhY2sgKTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgYWRkRGV0YWlsOyJdLCJuYW1lcyI6WyJhZGREZXRhaWwiLCJhY3Rpb25UeXBlIiwiY2FsbGJhY2siLCJ3cCIsImRhdGEiLCJkaXNwYXRjaCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/helpers/addDetail.js\n"); + +/***/ }), + +/***/ "./package/actions/helpers/convertFlow.js": +/*!************************************************!*\ + !*** ./package/actions/helpers/convertFlow.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseAction */ \"./package/actions/abstract/BaseAction.js\");\n/* harmony import */ var _abstract_ActionsFlow__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../abstract/ActionsFlow */ \"./package/actions/abstract/ActionsFlow.js\");\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n/**\r\n * @param flow\r\n * @returns {ActionsFlow}\r\n */\nfunction convertFlow() {\n var flow = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var actions = [];\n var _iterator = _createForOfIteratorHelper(flow),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var flowAction = _step.value;\n var current = new _abstract_BaseAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"](flowAction);\n var settings = current.settings;\n current.settings = {};\n current.selfSettings = settings;\n actions.push(current);\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return new _abstract_ActionsFlow__WEBPACK_IMPORTED_MODULE_1__[\"default\"](actions);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (convertFlow);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaGVscGVycy9jb252ZXJ0Rmxvdy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBZ0Q7QUFDRTs7QUFFbEQ7QUFDQTtBQUNBO0FBQ0E7QUFDQSxTQUFTRSxXQUFXQSxDQUFBLEVBQWM7RUFBQSxJQUFaQyxJQUFJLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFHLEVBQUU7RUFDOUIsSUFBTUcsT0F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25zRmxvd31cclxuICovXHJcbmZ1bmN0aW9uIGNvbnZlcnRGbG93KCBmbG93ID0gW10gKSB7XHJcblx0Y29uc3QgYWN0aW9ucyA9IFtdO1xyXG5cclxuXHRmb3IgKCBjb25zdCBmbG93QWN0aW9uIG9mIGZsb3cgKSB7XHJcblx0XHRjb25zdCBjdXJyZW50ID0gbmV3IEJhc2VBY3Rpb24oIGZsb3dBY3Rpb24gKTtcclxuXHJcblx0XHRjb25zdCBzZXR0aW5ncyAgID0gY3VycmVudC5zZXR0aW5ncztcclxuXHRcdGN1cnJlbnQuc2V0dGluZ3MgPSB7fTtcclxuXHJcblx0XHRjdXJyZW50LnNlbGZTZXR0aW5ncyA9IHNldHRpbmdzO1xyXG5cclxuXHRcdGFjdGlvbnMucHVzaCggY3VycmVudCApO1xyXG5cdH1cclxuXHJcblx0cmV0dXJuIG5ldyBBY3Rpb25zRmxvdyggYWN0aW9ucyApO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBjb252ZXJ0RmxvdzsiXSwibmFtZXMiOlsiQmFzZUFjdGlvbiIsIkFjdGlvbnNGbG93IiwiY29udmVydEZsb3ciLCJmbG93IiwiYXJndW1lbnRzIiwibGVuZ3RoIiwidW5kZWZpbmVkIiwiYWN0aW9ucyIsIl9pdGVyYXRvciIsIl9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyIiwiX3N0ZXAiLCJzIiwibiIsImRvbmUiLCJmbG93QWN0aW9uIiwidmFsdWUiLCJjdXJyZW50Iiwic2V0dGluZ3MiLCJzZWxmU2V0dGluZ3MiLCJwdXNoIiwiZXJyIiwiZSIsImYiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/helpers/convertFlow.js\n"); + +/***/ }), + +/***/ "./package/actions/helpers/convertListToFieldsMap.js": +/*!***********************************************************!*\ + !*** ./package/actions/helpers/convertListToFieldsMap.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction convertListToFieldsMap() {\n var response = [];\n for (var _len = arguments.length, sources = new Array(_len), _key = 0; _key < _len; _key++) {\n sources[_key] = arguments[_key];\n }\n for (var _i = 0, _sources = sources; _i < _sources.length; _i++) {\n var source = _sources[_i];\n if (!Array.isArray(source)) {\n continue;\n }\n response.push.apply(response, _toConsumableArray(source.map(function (item) {\n var id = item.value;\n return [id, item];\n })));\n }\n return response;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (convertListToFieldsMap);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaW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vbnMvaGVscGVycy9jb252ZXJ0TGlzdFRvRmllbGRzTWFwLmpzPzIzNmUiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gY29udmVydExpc3RUb0ZpZWxkc01hcCAoIC4uLnNvdXJjZXMgKSB7XHJcblx0Y29uc3QgcmVzcG9uc2UgPSBbXTtcclxuXHJcblx0Zm9yICggY29uc3Qgc291cmNlIG9mIHNvdXJjZXMgKSB7XHJcblx0XHRpZiAoICEgQXJyYXkuaXNBcnJheSggc291cmNlICkgKSB7XHJcblx0XHRcdGNvbnRpbnVlO1xyXG5cdFx0fVxyXG5cdFx0cmVzcG9uc2UucHVzaCggLi4uc291cmNlLm1hcCggaXRlbSA9PiB7XHJcblx0XHRcdGNvbnN0IGlkID0gaXRlbS52YWx1ZTtcclxuXHJcblx0XHRcdHJldHVybiBbIGlkLCBpdGVtIF07XHJcblx0XHR9ICkgKTtcclxuXHR9XHJcblxyXG5cdHJldHVybiByZXNwb25zZTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgY29udmVydExpc3RUb0ZpZWxkc01hcDsiXSwibmFtZXMiOlsiY29udmVydExpc3RUb0ZpZWxkc01hcCIsInJlc3BvbnNlIiwiX2xlbiIsImFyZ3VtZW50cyIsImxlbmd0aCIsInNvdXJjZXMiLCJBcnJheSIsIl9rZXkiLCJfaSIsIl9zb3VyY2VzIiwic291cmNlIiwiaXNBcnJheSIsInB1c2giLCJhcHBseSIsIl90b0NvbnN1bWFibGVBcnJheSIsIm1hcCIsIml0ZW0iLCJpZCIsInZhbHVlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/helpers/convertListToFieldsMap.js\n"); + +/***/ }), + +/***/ "./package/actions/helpers/globalTab.js": +/*!**********************************************!*\ + !*** ./package/actions/helpers/globalTab.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction globalTab(_ref) {\n var slug = _ref.slug,\n _ref$element = _ref.element,\n element = _ref$element === void 0 ? '' : _ref$element,\n _ref$empty = _ref.empty,\n empty = _ref$empty === void 0 ? '' : _ref$empty;\n var global = JetFormEditorData.global_settings;\n if (!global) {\n return empty;\n }\n if (element) {\n return global[slug] && global[slug][element] ? global[slug][element] : empty;\n }\n return global[slug] || empty;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (globalTab);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaGVscGVycy9nbG9iYWxUYWIuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFNBQVNBLFNBQVNBLENBQUFDLElBQUEsRUFBdUM7RUFBQSxJQUFuQ0MsSUFBSSxHQUFBRCxJQUFBLENBQUpDLElBQUk7SUFBQUMsWUFBQSxHQUFBRixJQUFBLENBQUVHLE9BQU87SUFBUEEsT0FBTyxHQUFBRCxZQUFBLGNBQUcsRUFBRSxHQUFBQSxZQUFBO0lBQUFFLFVBQUEsR0FBQUosSUFBQSxDQUFFSyxLQUFLO0lBQUxBLEtBQUssR0FBQUQsVUFBQSxjQUFHLEVBQUUsR0FBQUEsVUFBQTtFQUNuRCxJQUFNRSxNQUFNLEdBQUdDLGlCQUFpQixDQUFDQyxlQUFlO0VBRWhELElBQUksQ0FBRUYsTUFBTSxFQUFHO0lBQ2QsT0FBT0QsS0FBSztFQUNiO0VBRUEsSUFBS0YsT0FBTyxFQUFHO0lBQ2QsT0FBU0csTUFBTSxDQUFFTCxJQUFJLENBQUUsSUFBSUssTUFBTSxDQUFFTCxJQUFJLENBQUUsQ0FBRUUsT0FBTyxDQUFFLEdBQUtHLE1BQU0sQ0FBRUwsSUFBSSxDQUFFLENBQUVFLE9BQU8sQ0FBRSxHQUFHRSxLQUFLO0VBQzNGO0VBRUEsT0FBT0MsTUFBTSxDQUFFTCxJQUFJLENBQUUsSUFBSUksS0FBSztBQUMvQjtBQUVBLGlFQUFlTixTQUFTIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9hY3Rpb25zL2hlbHBlcnMvZ2xvYmFsVGFiLmpzPzQ4NDgiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gZ2xvYmFsVGFiKCB7IHNsdWcsIGVsZW1lbnQgPSAnJywgZW1wdHkgPSAnJyB9ICkge1xyXG5cdGNvbnN0IGdsb2JhbCA9IEpldEZvcm1FZGl0b3JEYXRhLmdsb2JhbF9zZXR0aW5ncztcclxuXHJcblx0aWYoICEgZ2xvYmFsICkge1xyXG5cdFx0cmV0dXJuIGVtcHR5O1xyXG5cdH1cclxuXHJcblx0aWYgKCBlbGVtZW50ICkge1xyXG5cdFx0cmV0dXJuICggZ2xvYmFsWyBzbHVnIF0gJiYgZ2xvYmFsWyBzbHVnIF1bIGVsZW1lbnQgXSApID8gZ2xvYmFsWyBzbHVnIF1bIGVsZW1lbnQgXSA6IGVtcHR5O1xyXG5cdH1cclxuXHJcblx0cmV0dXJuIGdsb2JhbFsgc2x1ZyBdIHx8IGVtcHR5O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBnbG9iYWxUYWI7Il0sIm5hbWVzIjpbImdsb2JhbFRhYiIsIl9yZWYiLCJzbHVnIiwiX3JlZiRlbGVtZW50IiwiZWxlbWVudCIsIl9yZWYkZW1wdHkiLCJlbXB0eSIsImdsb2JhbCIsIkpldEZvcm1FZGl0b3JEYXRhIiwiZ2xvYmFsX3NldHRpbmdzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/helpers/globalTab.js\n"); + +/***/ }), + +/***/ "./package/actions/helpers/withActionLocalizeScript.js": +/*!*************************************************************!*\ + !*** ./package/actions/helpers/withActionLocalizeScript.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/CurrentActionEditContext */ \"./package/actions/context/CurrentActionEditContext.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nvar withFilters = wp.components.withFilters;\nfunction withActionLocalizeScript(actionType, ActionInstance) {\n var localizedData = window.JetFBLocalizeHelper.getLocalizedFullPack(actionType);\n return function (props) {\n var onChangeSetting = function onChangeSetting(value, key) {\n props.onChange(_objectSpread(_objectSpread({}, props.settings), {}, _defineProperty({}, key, value)));\n };\n var onChangeSettingObj = function onChangeSettingObj(value) {\n props.onChange(_objectSpread(_objectSpread({}, props.settings), value));\n };\n var getMapField = function getMapField(_ref) {\n var _ref$source = _ref.source,\n source = _ref$source === void 0 ? 'fields_map' : _ref$source,\n name = _ref.name;\n var settings = props.settings;\n if (typeof settings[source] !== 'undefined' && typeof settings[source][name] !== 'undefined') {\n return settings[source][name];\n }\n return '';\n };\n var setMapField = function setMapField(_ref2) {\n var _ref2$source = _ref2.source,\n source = _ref2$source === void 0 ? 'fields_map' : _ref2$source,\n nameField = _ref2.nameField,\n value = _ref2.value;\n var fieldsMap = _objectSpread(_objectSpread({}, props.settings[source]), {}, _defineProperty({}, nameField, value));\n props.onChange(_objectSpread(_objectSpread({}, props.settings), {}, _defineProperty({}, source, fieldsMap)));\n };\n var additionalProps = {\n onChangeSetting: onChangeSetting,\n getMapField: getMapField,\n setMapField: setMapField,\n onChangeSettingObj: onChangeSettingObj\n };\n var resultProps = _objectSpread(_objectSpread(_objectSpread({}, props), localizedData), additionalProps);\n var CustomSettings = withFilters(\"jet.fb.render.action.\".concat(actionType))(function () {\n return null;\n });\n return wp.element.createElement(_context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: resultProps\n }, wp.element.createElement(ActionInstance, resultProps), wp.element.createElement(CustomSettings, resultProps));\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withActionLocal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ucmVzdWx0UHJvcHMgfSAvPlxyXG5cdFx0XHQ8Q3VzdG9tU2V0dGluZ3MgeyAuLi5yZXN1bHRQcm9wcyB9IC8+XHJcblx0XHQ8L0N1cnJlbnRBY3Rpb25FZGl0Q29udGV4dC5Qcm92aWRlcj47XHJcblx0fTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgd2l0aEFjdGlvbkxvY2FsaXplU2NyaXB0OyJdLCJuYW1lcyI6WyJDdXJyZW50QWN0aW9uRWRpdENvbnRleHQiLCJ3aXRoRmlsdGVycyIsIndwIiwiY29tcG9uZW50cyIsIndpdGhBY3Rpb25Mb2NhbGl6ZVNjcmlwdCIsImFjdGlvblR5cGUiLCJBY3Rpb25JbnN0YW5jZSIsImxvY2FsaXplZERhdGEiLCJ3aW5kb3ciLCJKZXRGQkxvY2FsaXplSGVscGVyIiwiZ2V0TG9jYWxpemVkRnVsbFBhY2siLCJwcm9wcyIsIm9uQ2hhbmdlU2V0dGluZyIsInZhbHVlIiwia2V5Iiwib25DaGFuZ2UiLCJfb2JqZWN0U3ByZWFkIiwic2V0dGluZ3MiLCJfZGVmaW5lUHJvcGVydHkiLCJvbkNoYW5nZVNldHRpbmdPYmoiLCJnZXRNYXBGaWVsZCIsIl9yZWYiLCJfcmVmJHNvdXJjZSIsInNvdXJjZSIsIm5hbWUiLCJzZXRNYXBGaWVsZCIsIl9yZWYyIiwiX3JlZjIkc291cmNlIiwibmFtZUZpZWxkIiwiZmllbGRzTWFwIiwiYWRkaXRpb25hbFByb3BzIiwicmVzdWx0UHJvcHMiLCJDdXN0b21TZXR0aW5ncyIsImNvbmNhdCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiUHJvdmlkZXIiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/helpers/withActionLocalizeScript.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useActionCallback.js": +/*!****************************************************!*\ + !*** ./package/actions/hooks/useActionCallback.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ useActionCallback: () => (/* binding */ useActionCallback)\n/* harmony export */ });\nvar useSelect = wp.data.useSelect;\nvar useActionCallback = function useActionCallback() {\n var actionType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n return useSelect(function (select) {\n return actionType ? select('jet-forms/actions').getCallback(actionType) : select('jet-forms/actions').getCurrentCallback();\n }, [actionType]);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useActionCallback);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlQWN0aW9uQ2FsbGJhY2suanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxJQUNPQSxTQUFTLEdBQ05DLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixTQUFTO0FBR1QsSUFBTUcsaUJBQWlCLEdBQUcsU0FBcEJBLGlCQUFpQkEsQ0FBQSxFQUE2QjtFQUFBLElBQXhCQyxVQUFVLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFHLEtBQUs7RUFDcEQsT0FBT0wsU0FBUyxDQUFFLFVBQUFRLE1BQU0sRUFBSTtJQUMzQixPQUFPSixVQUFVLEdBQ1JJLE1BQU0sQ0FBRSxtQkFBb0IsQ0FBQyxDQUFDQyxXQUFXLENBQUVMLFVBQVcsQ0FBQyxHQUN2REksTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNFLGtCQUFrQixDQUFDLENBQUM7RUFDNUQsQ0FBQyxFQUFFLENBQUVOLFVBQVUsQ0FBRyxDQUFDO0FBQ3BCLENBQUM7QUFFRCxpRUFBZUQsaUJBQWlCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9hY3Rpb25zL2hvb2tzL3VzZUFjdGlvbkNhbGxiYWNrLmpzPzRmM2UiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3Qge1xyXG5cdCAgICAgIHVzZVNlbGVjdCxcclxuICAgICAgfSA9IHdwLmRhdGE7XHJcblxyXG5leHBvcnQgY29uc3QgdXNlQWN0aW9uQ2FsbGJhY2sgPSAoIGFjdGlvblR5cGUgPSBmYWxzZSApID0+IHtcclxuXHRyZXR1cm4gdXNlU2VsZWN0KCBzZWxlY3QgPT4ge1xyXG5cdFx0cmV0dXJuIGFjdGlvblR5cGVcclxuXHRcdCAgICAgICA/IHNlbGVjdCggJ2pldC1mb3Jtcy9hY3Rpb25zJyApLmdldENhbGxiYWNrKCBhY3Rpb25UeXBlIClcclxuXHRcdCAgICAgICA6IHNlbGVjdCggJ2pldC1mb3Jtcy9hY3Rpb25zJyApLmdldEN1cnJlbnRDYWxsYmFjaygpO1xyXG5cdH0sIFsgYWN0aW9uVHlwZSBdICk7XHJcbn07XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VBY3Rpb25DYWxsYmFjazsiXSwibmFtZXMiOlsidXNlU2VsZWN0Iiwid3AiLCJkYXRhIiwidXNlQWN0aW9uQ2FsbGJhY2siLCJhY3Rpb25UeXBlIiwiYXJndW1lbnRzIiwibGVuZ3RoIiwidW5kZWZpbmVkIiwic2VsZWN0IiwiZ2V0Q2FsbGJhY2siLCJnZXRDdXJyZW50Q2FsbGJhY2siXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/hooks/useActionCallback.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useActionDetail.js": +/*!**************************************************!*\ + !*** ./package/actions/hooks/useActionDetail.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ useActionDetail: () => (/* binding */ useActionDetail)\n/* harmony export */ });\nvar useSelect = wp.data.useSelect;\nvar useActionDetail = function useActionDetail() {\n var actionType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n return useSelect(function (select) {\n return actionType ? select('jet-forms/actions').getDetail(actionType) : select('jet-forms/actions').getCurrentDetail();\n }, [actionType]);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useActionDetail);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlQWN0aW9uRGV0YWlsLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsSUFDT0EsU0FBUyxHQUNOQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsU0FBUztBQUlULElBQU1HLGVBQWUsR0FBRyxTQUFsQkEsZUFBZUEsQ0FBQSxFQUE2QjtFQUFBLElBQXhCQyxVQUFVLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFHLEtBQUs7RUFDbEQsT0FBT0wsU0FBUyxDQUFFLFVBQUFRLE1BQU0sRUFBSTtJQUMzQixPQUFPSixVQUFVLEdBQ1JJLE1BQU0sQ0FBRSxtQkFBb0IsQ0FBQyxDQUFDQyxTQUFTLENBQUVMLFVBQVcsQ0FBQyxHQUNyREksTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNFLGdCQUFnQixDQUFDLENBQUM7RUFDMUQsQ0FBQyxFQUFFLENBQUVOLFVBQVUsQ0FBRyxDQUFDO0FBQ3BCLENBQUM7QUFFRCxpRUFBZUQsZUFBZSIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYWN0aW9ucy9ob29rcy91c2VBY3Rpb25EZXRhaWwuanM/ZGU5OCJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCB7XHJcblx0ICAgICAgdXNlU2VsZWN0LFxyXG4gICAgICB9ID0gd3AuZGF0YTtcclxuXHJcblxyXG5leHBvcnQgY29uc3QgdXNlQWN0aW9uRGV0YWlsID0gKCBhY3Rpb25UeXBlID0gZmFsc2UgKSA9PiB7XHJcblx0cmV0dXJuIHVzZVNlbGVjdCggc2VsZWN0ID0+IHtcclxuXHRcdHJldHVybiBhY3Rpb25UeXBlXHJcblx0XHQgICAgICAgPyBzZWxlY3QoICdqZXQtZm9ybXMvYWN0aW9ucycgKS5nZXREZXRhaWwoIGFjdGlvblR5cGUgKVxyXG5cdFx0ICAgICAgIDogc2VsZWN0KCAnamV0LWZvcm1zL2FjdGlvbnMnICkuZ2V0Q3VycmVudERldGFpbCgpO1xyXG5cdH0sIFsgYWN0aW9uVHlwZSBdICk7XHJcbn07XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VBY3Rpb25EZXRhaWw7Il0sIm5hbWVzIjpbInVzZVNlbGVjdCIsIndwIiwiZGF0YSIsInVzZUFjdGlvbkRldGFpbCIsImFjdGlvblR5cGUiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJzZWxlY3QiLCJnZXREZXRhaWwiLCJnZXRDdXJyZW50RGV0YWlsIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/hooks/useActionDetail.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useActions.js": +/*!*********************************************!*\ + !*** ./package/actions/hooks/useActions.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useMetaState__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../hooks/useMetaState */ \"./package/hooks/useMetaState.js\");\n\nfunction useActions() {\n var deps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n return (0,_hooks_useMetaState__WEBPACK_IMPORTED_MODULE_0__[\"default\"])('_jf_actions', '[]', deps);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useActions);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlQWN0aW9ucy5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFvRDtBQUVwRCxTQUFTQyxVQUFVQSxDQUFBLEVBQXFCO0VBQUEsSUFBbkJDLElBQUksR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQUdFLFNBQVM7RUFDcEMsT0FBT0wsK0RBQVksQ0FBRSxhQUFhLEVBQUUsSUFBSSxFQUFFRSxJQUFLLENBQUM7QUFDakQ7QUFFQSxpRUFBZUQsVUFBVSIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYWN0aW9ucy9ob29rcy91c2VBY3Rpb25zLmpzPzdiZWUiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHVzZU1ldGFTdGF0ZSBmcm9tICcuLi8uLi9ob29rcy91c2VNZXRhU3RhdGUnO1xyXG5cclxuZnVuY3Rpb24gdXNlQWN0aW9ucyggZGVwcyA9IHVuZGVmaW5lZCApIHtcclxuXHRyZXR1cm4gdXNlTWV0YVN0YXRlKCAnX2pmX2FjdGlvbnMnLCAnW10nLCBkZXBzICk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHVzZUFjdGlvbnM7Il0sIm5hbWVzIjpbInVzZU1ldGFTdGF0ZSIsInVzZUFjdGlvbnMiLCJkZXBzIiwiYXJndW1lbnRzIiwibGVuZ3RoIiwidW5kZWZpbmVkIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/hooks/useActions.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useActionsEdit.js": +/*!*************************************************!*\ + !*** ./package/actions/hooks/useActionsEdit.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ useActionsEdit: () => (/* binding */ useActionsEdit)\n/* harmony export */ });\n/* harmony import */ var _useActions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useActions */ \"./package/actions/hooks/useActions.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n/**\r\n * @returns {{moveAction: moveAction, updateActionObj: updateActionObj,\r\n * setActions: (function(*=): void), toggleExecute: toggleExecute, actions:\r\n * *, deleteAction: deleteAction, addActionProps: addActionProps}}\r\n */\nvar useActionsEdit = function useActionsEdit() {\n var _useActions = (0,_useActions__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useActions2 = _slicedToArray(_useActions, 2),\n actions = _useActions2[0],\n setActions = _useActions2[1];\n var moveAction = function moveAction(fromIndex, toIndex) {\n var item = JSON.parse(JSON.stringify(actions[fromIndex])),\n replacedItem = JSON.parse(JSON.stringify(actions[toIndex]));\n actions.splice(toIndex, 1, item);\n actions.splice(fromIndex, 1, replacedItem);\n setActions(_toConsumableArray(actions));\n };\n var deleteAction = function deleteAction(index) {\n actions.splice(index, 1);\n setActions(_toConsumableArray(actions));\n };\n var updateActionObj = function updateActionObj(id, props) {\n var newActions = actions.map(function (current) {\n if (id !== current.id) {\n return current;\n }\n return _objectSpread(_objectSpread({}, JSON.parse(JSON.stringify(current))), props);\n });\n setActions(_toConsumableArray(newActions));\n };\n var addActionProps = function addActionProps(props) {\n var actionProps = JSON.parse(JSON.stringify(props));\n actionProps.id = 0 > actionProps.id ? actionProps.id * -1 : actionProps.id;\n setActions([].concat(_toConsumableArray(actions), [_objectSpread({}, actionProps)]));\n };\n var toggleExecute = function toggleExecute(action) {\n var _action$is_execute;\n updateActionObj(action.id, {\n is_execute: !((_action$is_execute = action.is_execute) !== null && _action$is_execute !== void 0 ? _action$is_execute : true)\n });\n };\n return {\n actions: actions,\n setActions: setActions,\n moveAction: moveAction,\n deleteAction: deleteAction,\n updateActionObj: updateActionObj,\n toggleExecute: toggleExecute,\n addActionProps: addActionProps\n };\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useActionsEdit);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlQWN0aW9uc0VkaXQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFzQzs7QUFFdEM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNPLElBQU1DLGNBQWMsR0FBRyxTQUFqQkEsY0FBY0EsQ0FBQSxFQUFTO0VBQ25DLElBQUFDLFdBQUEsR0FBZ0NGLHVEQUFVLENBQUMsQ0FBQztJQUFBRyxZQUFBLEdBQUFDLGNBQUEsQ0FBQUYsV0FBQTtJQUFwQ0csT0FBTyxHQUFBRixZQUFBO0lBQUVHLFVBQVUsR0FBQUgsWUFBQTtFQUUzQixJQUFNSSxVQUFVLEdBQUcsU0FBYkEsVUFBVUEsQ0FBS0MsU0FBUyxFQUFFQyxPQUFPLEVBQU07SUFDNUMsSUFBTUMsSUFBSSxHQUFXQyxJQUFJLENBQUNDLEtBQUssQ0FDOUJELElBQUksQ0FBQ0UsU0FBUyxDQUFFUixPQUFPLENBQUVHLFNBQVMsQ0FBRyxDQUFFLENBQUM7TUFDbkNNLFlBQVksR0FBR0gsSUFBSS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vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/hooks/useActionsEdit.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useCurrentAction.js": +/*!***************************************************!*\ + !*** ./package/actions/hooks/useCurrentAction.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nvar _wp$data = wp.data,\n useSelect = _wp$data.useSelect,\n useDispatch = _wp$data.useDispatch;\nfunction useCurrentAction() {\n var _useSelect = useSelect(function (select) {\n var state = select('jet-forms/actions').getCurrentAction();\n var settings = select('jet-forms/actions').getCurrentSettings();\n return [state, settings];\n }),\n _useSelect2 = _slicedToArray(_useSelect, 2),\n currentAction = _useSelect2[0],\n currentSettings = _useSelect2[1];\n var _useDispatch = useDispatch('jet-forms/actions'),\n updateSettings = _useDispatch.updateCurrentSettings;\n return {\n currentAction: currentAction,\n currentSettings: currentSettings,\n updateSettings: updateSettings\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCurrentAction);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlQ3VycmVudEFjdGlvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsSUFBQUEsUUFBQSxHQUdVQyxFQUFFLENBQUNDLElBQUk7RUFGVkMsU0FBUyxHQUFBSCxRQUFBLENBQVRHLFNBQVM7RUFDVEMsV0FBVyxHQUFBSixRQUFBLENBQVhJLFdBQVc7QUFHbEIsU0FBU0MsZ0JBQWdCQSxDQUFBLEVBQUc7RUFDM0IsSUFBQUMsVUFBQSxHQUEyQ0gsU0FBUyxDQUFFLFVBQUFJLE1BQU0sRUFBSTtNQUMvRCxJQUFNQyxLQUFLLEdBQU1ELE1BQU0sQ0FBRSxtQkFBb0IsQ0FBQyxDQUFDRSxnQkFBZ0IsQ0FBQyxDQUFDO01BQ2pFLElBQU1DLFFBQVEsR0FBR0gsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNJLGtCQUFrQixDQUFDLENBQUM7TUFFbkUsT0FBTyxDQUFFSCxLQ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0IHtcclxuXHRcdCAgICAgIHVwZGF0ZUN1cnJlbnRTZXR0aW5nczogdXBkYXRlU2V0dGluZ3MsXHJcblx0ICAgICAgfSA9IHVzZURpc3BhdGNoKCAnamV0LWZvcm1zL2FjdGlvbnMnICk7XHJcblxyXG5cdHJldHVybiB7IGN1cnJlbnRBY3Rpb24sIGN1cnJlbnRTZXR0aW5ncywgdXBkYXRlU2V0dGluZ3MgfTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgdXNlQ3VycmVudEFjdGlvbjsiXSwibmFtZXMiOlsiX3dwJGRhdGEiLCJ3cCIsImRhdGEiLCJ1c2VTZWxlY3QiLCJ1c2VEaXNwYXRjaCIsInVzZUN1cnJlbnRBY3Rpb24iLCJfdXNlU2VsZWN0Iiwic2VsZWN0Iiwic3RhdGUiLCJnZXRDdXJyZW50QWN0aW9uIiwic2V0dGluZ3MiLCJnZXRDdXJyZW50U2V0dGluZ3MiLCJfdXNlU2VsZWN0MiIsIl9zbGljZWRUb0FycmF5IiwiY3VycmVudEFjdGlvbiIsImN1cnJlbnRTZXR0aW5ncyIsIl91c2VEaXNwYXRjaCIsInVwZGF0ZVNldHRpbmdzIiwidXBkYXRlQ3VycmVudFNldHRpbmdzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/hooks/useCurrentAction.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useLoopedAction.js": +/*!**************************************************!*\ + !*** ./package/actions/hooks/useLoopedAction.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_ActionListItemContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/ActionListItemContext */ \"./package/actions/context/ActionListItemContext.js\");\n\nvar useContext = wp.element.useContext;\nfunction useLoopedAction() {\n return useContext(_context_ActionListItemContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useLoopedAction);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlTG9vcGVkQWN0aW9uLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQXFFO0FBRXJFLElBQ09DLFVBQVUsR0FDUEMsRUFBRSxDQUFDQyxPQUFPLENBRGJGLFVBQVU7QUFHakIsU0FBU0csZUFBZUEsQ0FBQSxFQUFHO0VBQzFCLE9BQU9ILFVBQVUsQ0FBRUQsc0VBQXNCLENBQUM7QUFDM0M7QUFFQSxpRUFBZUksZUFBZSIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYWN0aW9ucy9ob29rcy91c2VMb29wZWRBY3Rpb24uanM/YjIxNyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgQWN0aW9uTGlzdEl0ZW1Db250ZXh0IGZyb20gJy4uL2NvbnRleHQvQWN0aW9uTGlzdEl0ZW1Db250ZXh0JztcclxuXHJcbmNvbnN0IHtcclxuXHQgICAgICB1c2VDb250ZXh0LFxyXG4gICAgICB9ID0gd3AuZWxlbWVudDtcclxuXHJcbmZ1bmN0aW9uIHVzZUxvb3BlZEFjdGlvbigpIHtcclxuXHRyZXR1cm4gdXNlQ29udGV4dCggQWN0aW9uTGlzdEl0ZW1Db250ZXh0ICk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHVzZUxvb3BlZEFjdGlvbjsiXSwibmFtZXMiOlsiQWN0aW9uTGlzdEl0ZW1Db250ZXh0IiwidXNlQ29udGV4dCIsIndwIiwiZWxlbWVudCIsInVzZUxvb3BlZEFjdGlvbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/hooks/useLoopedAction.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useRequestFields.js": +/*!***************************************************!*\ + !*** ./package/actions/hooks/useRequestFields.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ getComputedFields: () => (/* binding */ getComputedFields),\n/* harmony export */ getRequestFields: () => (/* binding */ getRequestFields)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseAction */ \"./package/actions/abstract/BaseAction.js\");\n/* harmony import */ var _context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context/CurrentActionEditContext */ \"./package/actions/context/CurrentActionEditContext.js\");\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\nvar useSelect = wp.data.useSelect;\nvar useContext = wp.element.useContext;\nvar getRequestFields = function getRequestFields(_ref) {\n var actions = _ref.actions,\n fields = _ref.fields;\n var _iterator = _createForOfIteratorHelper(actions),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var action = _step.value;\n var _action$settings$acti = action.settings[action.type],\n current = _action$settings$acti === void 0 ? {} : _action$settings$acti;\n if (!current.requestFields) {\n continue;\n }\n var _iterator2 = _createForOfIteratorHelper(current.requestFields),\n _step2;\n try {\n var _loop = function _loop() {\n var requestField = _step2.value;\n var index = fields.findIndex(function (field) {\n return field.value === requestField.name;\n });\n if (-1 !== index) {\n return \"continue\";\n }\n fields.push({\n from: action.type,\n id: action.id,\n label: requestField.name,\n value: requestField.name,\n name: requestField.name,\n help: requestField.help\n });\n };\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _ret = _loop();\n if (_ret === \"continue\") continue;\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n};\nvar processComputedField = function processComputedField(_ref2) {\n var computed = _ref2.computed,\n action = _ref2.action,\n fields = _ref2.fields,\n nameSet = _ref2.nameSet;\n if (!computed.isSupported(action)) {\n return;\n }\n computed.setAction(action);\n computed.hasInList = false;\n var label = computed.getLabel();\n var name = computed.getName();\n if (nameSet.has(name)) {\n computed.hasInList = true;\n name = computed.getName();\n }\n if (fields.some(function (_ref3) {\n var value = _ref3.value;\n return value === name;\n })) {\n return;\n }\n nameSet.add(name);\n fields.push({\n from: action.type,\n id: action.id,\n label: label || name,\n value: name,\n name: name,\n help: computed.getHelp()\n });\n};\nfunction getComputedFields(_ref4) {\n var fields = _ref4.fields,\n actions = _ref4.actions,\n computed = _ref4.computed,\n nameSet = _ref4.nameSet;\n /**\r\n * @type {BaseAction[]}\r\n */\n actions = actions.map(function (item) {\n return new _abstract_BaseAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"](item);\n });\n var _iterator3 = _createForOfIteratorHelper(computed),\n _step3;\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var _step3$value = _step3.value,\n computedField = _step3$value.field,\n settings = _step3$value.settings;\n if (settings !== null && settings !== void 0 && settings.isScoped) {\n continue;\n }\n\n /**\r\n * @type {BaseComputedField}\r\n */\n var current = new computedField();\n var _iterator4 = _createForOfIteratorHelper(actions),\n _step4;\n try {\n for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {\n var action = _step4.value;\n processComputedField({\n computed: current,\n action: action,\n nameSet: nameSet,\n fields: fields\n });\n }\n } catch (err) {\n _iterator4.e(err);\n } finally {\n _iterator4.f();\n }\n if (current.action || !current.isSupportedGlobal()) {\n continue;\n }\n var label = current.getLabel();\n var name = current.getName();\n fields.push({\n label: label || name,\n value: name,\n name: name,\n help: current.getHelp()\n });\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n}\nfunction useRequestFields() {\n var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n _ref5$returnOnEmptyCu = _ref5.returnOnEmptyCurrentAction,\n returnOnEmptyCurrentAction = _ref5$returnOnEmptyCu === void 0 ? true : _ref5$returnOnEmptyCu;\n var meta = useSelect(function (select) {\n return select('core/editor').getEditedPostAttribute('meta') || {};\n }, []);\n var actionProps = useContext(_context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n var _useSelect = useSelect(function (select) {\n return {\n currentAction: select('jet-forms/actions').getCurrentAction(),\n computedList: select('jet-forms/actions').getComputedFields()\n };\n }, []),\n currentAction = _useSelect.currentAction,\n computedList = _useSelect.computedList;\n if (!(actionProps !== null && actionProps !== void 0 && actionProps.actionId) && returnOnEmptyCurrentAction) {\n return [];\n }\n var actions = JSON.parse(meta._jf_actions || '[]');\n\n // current action could be empty object\n if (!Number.isNaN(Number(currentAction === null || currentAction === void 0 ? void 0 : currentAction.index))) {\n actions.splice(currentAction.index);\n }\n var nameSet = new Set();\n var fields = [];\n var _iterator5 = _createForOfIteratorHelper(computedList),\n _step5;\n try {\n for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {\n var _step5$value = _step5.value,\n computedField = _step5$value.field,\n settings = _step5$value.settings;\n if (!(settings !== null && settings !== void 0 && settings.isScoped)) {\n continue;\n }\n\n /**\r\n * @type {BaseComputedField}\r\n */\n var current = new computedField();\n processComputedField({\n computed: current,\n action: currentAction,\n nameSet: nameSet,\n fields: fields\n });\n }\n\n /**\r\n * Should be deprecated\r\n *\r\n * @type {*[]}\r\n */\n } catch (err) {\n _iterator5.e(err);\n } finally {\n _iterator5.f();\n }\n getRequestFields({\n actions: actions,\n fields: fields\n });\n getComputedFields({\n fields: fields,\n actions: actions,\n computed: computedList,\n nameSet: nameSet\n });\n return fields;\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRequestFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlUmVxdWVzdEZpZWxkcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFnRDtBQUMyQjtBQUUzRSxJQUNPRSxTQUFTLEdBQ05DLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixTQUFTO0FBR2hCLElBQ09HLFVBQVUsR0FDUEYsRUFBRSxDQUFD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N1IiwicmV0dXJuT25FbXB0eUN1cnJlbnRBY3Rpb24iLCJtZXRhIiwic2VsZWN0IiwiZ2V0RWRpdGVkUG9zdEF0dHJpYnV0ZSIsImFjdGlvblByb3BzIiwiX3VzZVNlbGVjdCIsImN1cnJlbnRBY3Rpb24iLCJnZXRDdXJyZW50QWN0aW9uIiwiY29tcHV0ZWRMaXN0IiwiYWN0aW9uSWQiLCJKU09OIiwicGFyc2UiLCJfamZfYWN0aW9ucyIsIk51bWJlciIsImlzTmFOIiwic3BsaWNlIiwiU2V0IiwiX2l0ZXJhdG9yNSIsIl9zdGVwNSIsIl9zdGVwNSR2YWx1ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/hooks/useRequestFields.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useSanitizeFieldsMap.js": +/*!*******************************************************!*\ + !*** ./package/actions/hooks/useSanitizeFieldsMap.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/CurrentActionEditContext */ \"./package/actions/context/CurrentActionEditContext.js\");\n/* harmony import */ var _useRequestFields__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useRequestFields */ \"./package/actions/hooks/useRequestFields.js\");\n/* harmony import */ var _blocks_helpers_getFormFieldsBlocks__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../blocks/helpers/getFormFieldsBlocks */ \"./package/blocks/helpers/getFormFieldsBlocks.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\nvar _wp$element = wp.element,\n useEffect = _wp$element.useEffect,\n useContext = _wp$element.useContext;\nfunction useSanitizeFieldsMap() {\n var mapProperty = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fields_map';\n var requestFields = (0,_useRequestFields__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n var _useContext = useContext(_context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n settings = _useContext.settings,\n onChangeSettingObj = _useContext.onChangeSettingObj;\n useEffect(function () {\n if (!settings.hasOwnProperty(mapProperty)) {\n return;\n }\n var fields = [].concat(_toConsumableArray((0,_blocks_helpers_getFormFieldsBlocks__WEBPACK_IMPORTED_MODULE_2__[\"default\"])()), _toConsumableArray(requestFields));\n var fieldsMap = settings[mapProperty];\n var hasField = function hasField(fieldName) {\n return -1 !== fields.findIndex(function (current) {\n return current.value === fieldName;\n });\n };\n for (var fieldName in fieldsMap) {\n if (!fieldsMap.hasOwnProperty(fieldName)) {\n continue;\n }\n if (!hasField(fieldName)) {\n delete fieldsMap[fieldName];\n }\n }\n onChangeSettingObj(_defineProperty({}, mapProperty, fieldsMap));\n }, []);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSanitizeFieldsMap);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlU2FuaXRpemVGaWVsZHNNYXAuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBMkU7QUFDekI7QUFDeUI7QUFFM0UsSUFBQUcsV0FBQSxHQUdVQyxFQUFFLENBQUNDLE9BQU87RUFGYkMsU0FBUyxHQUFBSCxXQUFBLENBQVRHLFNBQVM7RUFDVEMsVUFBVSxHQUFBSixXQUFBLENBQVZJLFVBQVU7QUFHakIsU0FBU0Msb0JBQW9CQSxDQUFBLEVBQStCO0VBQUEsSUFBN0JDLFdBQVcsR0FBQUMsU0FBQ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QiLCJ3cCIsImVsZW1lbnQiLCJ1c2VFZmZlY3QiLCJ1c2VDb250ZXh0IiwidXNlU2FuaXRpemVGaWVsZHNNYXAiLCJtYXBQcm9wZXJ0eSIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsInJlcXVlc3RGaWVsZHMiLCJfdXNlQ29udGV4dCIsInNldHRpbmdzIiwib25DaGFuZ2VTZXR0aW5nT2JqIiwiaGFzT3duUHJvcGVydHkiLCJmaWVsZHMiLCJjb25jYXQiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJmaWVsZHNNYXAiLCJoYXNGaWVsZCIsImZpZWxkTmFtZSIsImZpbmRJbmRleCIsImN1cnJlbnQiLCJ2YWx1ZSIsIl9kZWZpbmVQcm9wZXJ0eSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/hooks/useSanitizeFieldsMap.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useUpdateCurrentAction.js": +/*!*********************************************************!*\ + !*** ./package/actions/hooks/useUpdateCurrentAction.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ useUpdateCurrentAction: () => (/* binding */ useUpdateCurrentAction)\n/* harmony export */ });\n/* harmony import */ var _useActionsEdit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useActionsEdit */ \"./package/actions/hooks/useActionsEdit.js\");\n/* harmony import */ var _useCurrentAction__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useCurrentAction */ \"./package/actions/hooks/useCurrentAction.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\n\nvar useDispatch = wp.data.useDispatch;\n\n/**\r\n * Update current meta in store (while editing it in modal)\r\n * @returns {{setCurrentAction, clearCurrent, setTypeSettings,\r\n * updateCurrentConditions}}\r\n */\nvar useUpdateCurrentAction = function useUpdateCurrentAction() {\n var _useCurrentAction = (0,_useCurrentAction__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n currentAction = _useCurrentAction.currentAction;\n var _useDispatch = useDispatch('jet-forms/actions', []),\n setCurrentAction = _useDispatch.setCurrentAction,\n clearCurrent = _useDispatch.clearCurrent,\n updateCurrentConditions = _useDispatch.updateCurrentConditions;\n var setTypeSettings = function setTypeSettings(settings) {\n setCurrentAction(_objectSpread(_objectSpread({}, currentAction), {}, {\n settings: _objectSpread(_objectSpread({}, currentAction.settings), {}, _defineProperty({}, currentAction.type, settings))\n }));\n };\n return {\n setCurrentAction: setCurrentAction,\n setTypeSettings: setTypeSettings,\n clearCurrent: clearCurrent,\n updateCurrentConditions: updateCurrentConditions\n };\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useUpdateCurrentAction);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlVXBkYXRlQ3VycmVudEFjdGlvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQThDO0FBQ0k7QUFFbEQsSUFDT0UsV0FBVyxHQUNSQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsV0FBVzs7QUFHbEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNPLElBQU1HLHNCQUFzQixHQUFHLFNBQXpCQSxzQkFBc0JBLENBQUEsRUFBUztFQUMzQyxJQUFBQyxpQkFBQSxHQUEwQkwsNkRBQWdCLENBQUMsQ0FBQztJQUFwQ00sYUFBYSxHQUFBRCxpQkFBQSxDQUFiQyxhQUFhO0VBRXJCLElBQUFDLFlBQUEsR0FJVU4sV0FBVyxDQUFFLG1CQUFtQixFQUFFLEVBQUcsQ0FBQztJQUh6Q08sZ0JBQWdCLEdBQUFELFlBQUEsQ0FBaEJDLGdCQUFnQjtJQUNoQkMsWUFBWSxHQUFBRixZQUFBLENBQVpFLFlBQVk7SUFDWkMsdUJBQXVCLEdBQUFILFlBQUEsQ0FBdkJHLHVCQUF1QjtFQUc5QixJQUFNQyxlQUFlLEdBQUcsU0FBbEJBLGVBQWVBLENBQUdDLF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bnRBY3Rpb24iLCJjbGVhckN1cnJlbnQiLCJ1cGRhdGVDdXJyZW50Q29uZGl0aW9ucyIsInNldFR5cGVTZXR0aW5ncyIsInNldHRpbmdzIiwiX29iamVjdFNwcmVhZCIsIl9kZWZpbmVQcm9wZXJ0eSIsInR5cGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/hooks/useUpdateCurrentAction.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/useUpdateCurrentActionMeta.js": +/*!*************************************************************!*\ + !*** ./package/actions/hooks/useUpdateCurrentActionMeta.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ useUpdateCurrentActionMeta: () => (/* binding */ useUpdateCurrentActionMeta)\n/* harmony export */ });\n/* harmony import */ var _useCurrentAction__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useCurrentAction */ \"./package/actions/hooks/useCurrentAction.js\");\n/* harmony import */ var _useActionsEdit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useActionsEdit */ \"./package/actions/hooks/useActionsEdit.js\");\n\n\n\n/**\r\n * Update action in meta\r\n * @returns {function(*=): void}\r\n */\nvar useUpdateCurrentActionMeta = function useUpdateCurrentActionMeta() {\n var _useCurrentAction = (0,_useCurrentAction__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n currentAction = _useCurrentAction.currentAction;\n var _useActionsEdit = (0,_useActionsEdit__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n updateActionObj = _useActionsEdit.updateActionObj,\n addActionProps = _useActionsEdit.addActionProps;\n\n // need to add action & save props\n if (0 > currentAction.id) {\n return function (newProps) {\n return addActionProps(newProps);\n };\n }\n return function (newProps) {\n updateActionObj(currentAction.id, newProps);\n };\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useUpdateCurrentActionMeta);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3MvdXNlVXBkYXRlQ3VycmVudEFjdGlvbk1ldGEuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFrRDtBQUNKOztBQUU5QztBQUNBO0FBQ0E7QUFDQTtBQUNPLElBQU1FLDBCQUEwQixHQUFHLFNBQTdCQSwwQkFBMEJBLENBQUEsRUFBUztFQUMvQyxJQUFBQyxpQkFBQSxHQUE0QkgsNkRBQWdCLENBQUMsQ0FBQztJQUF0Q0ksYUFBYSxHQUFBRCxpQkFBQSxDQUFiQyxhQUFhO0VBQ3JCLElBQUFDLGVBQUEsR0FBNENKLDJEQUFjLENBQUMsQ0FBQztJQUFwREssZUFBZSxHQUFBRCxlQUFBLENBQWZDLGVBQWU7SUFBRUMsY0FBYyxHQUFBRixlQUFBLENBQWRFLGNBQWM7O0VBRXZDO0VBQ0EsSUFBSyxDQUFDLEdBQUdILGFBQWEsQ0FBQ0ksRUFBRSxFQUFHO0lBQzNCLE9BQU8sVUFBQUMsUUFBUTtNQUFBLE9BQUlGLGNBQWMsQ0FBRUUsUUFBUyxDQUFDO0lBQUE7RUFDOUM7RUFFQSxPQUFPLFVBQUFBLFFBQVEsRUFBSTtJQUNsQkgsZUFBZSxDQUFFRixhQUFhLENBQUNJLEVBQUUsRUFBRUMsUUFBUyxDQUFDO0VBQzlDLENBQUM7QUFDRixDQUFDO0FBRUQsaUVBQWVQLDBCQUEwQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYWN0aW9ucy9ob29rcy91c2VVcGRhdGVDdXJyZW50QWN0aW9uTWV0YS5qcz80Y2U3Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB1c2V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wibmV3UHJvcHMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/hooks/useUpdateCurrentActionMeta.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/withCurrentAction.js": +/*!****************************************************!*\ + !*** ./package/actions/hooks/withCurrentAction.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction withCurrentAction(select) {\n var currentAction = select('jet-forms/actions').getCurrentAction();\n return {\n currentAction: currentAction\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withCurrentAction);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3Mvd2l0aEN1cnJlbnRBY3Rpb24uanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFNBQVNBLGlCQUFpQkEsQ0FBRUMsTUFBTSxFQUFHO0VBQ3BDLElBQU1DLGFBQWEsR0FBR0QsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNFLGdCQUFnQixDQUFDLENBQUM7RUFFdEUsT0FBTztJQUFFRCxhQUFhLEVBQWJBO0VBQWMsQ0FBQztBQUN6QjtBQUVBLGlFQUFlRixpQkFBaUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2FjdGlvbnMvaG9va3Mvd2l0aEN1cnJlbnRBY3Rpb24uanM/YzczNSJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiB3aXRoQ3VycmVudEFjdGlvbiggc2VsZWN0ICkge1xyXG5cdGNvbnN0IGN1cnJlbnRBY3Rpb24gPSBzZWxlY3QoICdqZXQtZm9ybXMvYWN0aW9ucycgKS5nZXRDdXJyZW50QWN0aW9uKCk7XHJcblxyXG5cdHJldHVybiB7IGN1cnJlbnRBY3Rpb24gfTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgd2l0aEN1cnJlbnRBY3Rpb247Il0sIm5hbWVzIjpbIndpdGhDdXJyZW50QWN0aW9uIiwic2VsZWN0IiwiY3VycmVudEFjdGlvbiIsImdldEN1cnJlbnRBY3Rpb24iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/hooks/withCurrentAction.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/withDispatchActionLoading.js": +/*!************************************************************!*\ + !*** ./package/actions/hooks/withDispatchActionLoading.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction withDispatchActionLoading(dispatch) {\n return {\n setLoading: function setLoading(actionId) {\n dispatch('jet-forms/actions').setLoading({\n actionId: actionId\n });\n },\n setResultSuccess: function setResultSuccess(actionId, response) {\n dispatch('jet-forms/actions').setLoadingResult({\n actionId: actionId,\n success: true,\n response: response\n });\n },\n setResultFail: function setResultFail(actionId) {\n dispatch('jet-forms/actions').setLoadingResult({\n actionId: actionId,\n success: false,\n response: {}\n });\n }\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withDispatchActionLoading);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3Mvd2l0aERpc3BhdGNoQWN0aW9uTG9hZGluZy5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsU0FBU0EseUJBQXlCQSxDQUFFQyxRQUFRLEVBQUc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x0XHR9LFxyXG5cdFx0c2V0UmVzdWx0U3VjY2VzcyggYWN0aW9uSWQsIHJlc3BvbnNlICkge1xyXG5cdFx0XHRkaXNwYXRjaCggJ2pldC1mb3Jtcy9hY3Rpb25zJyApLnNldExvYWRpbmdSZXN1bHQoIHtcclxuXHRcdFx0XHRhY3Rpb25JZCxcclxuXHRcdFx0XHRzdWNjZXNzOiB0cnVlLFxyXG5cdFx0XHRcdHJlc3BvbnNlLFxyXG5cdFx0XHR9ICk7XHJcblx0XHR9LFxyXG5cdFx0c2V0UmVzdWx0RmFpbCggYWN0aW9uSWQgKSB7XHJcblx0XHRcdGRpc3BhdGNoKCAnamV0LWZvcm1zL2FjdGlvbnMnICkuc2V0TG9hZGluZ1Jlc3VsdCgge1xyXG5cdFx0XHRcdGFjdGlvbklkLFxyXG5cdFx0XHRcdHN1Y2Nlc3M6IGZhbHNlLFxyXG5cdFx0XHRcdHJlc3BvbnNlOiB7fSxcclxuXHRcdFx0fSApO1xyXG5cdFx0fSxcclxuXHR9O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB3aXRoRGlzcGF0Y2hBY3Rpb25Mb2FkaW5nOyJdLCJuYW1lcyI6WyJ3aXRoRGlzcGF0Y2hBY3Rpb25Mb2FkaW5nIiwiZGlzcGF0Y2giLCJzZXRMb2FkaW5nIiwiYWN0aW9uSWQiLCJzZXRSZXN1bHRTdWNjZXNzIiwicmVzcG9uc2UiLCJzZXRMb2FkaW5nUmVzdWx0Iiwic3VjY2VzcyIsInNldFJlc3VsdEZhaWwiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/actions/hooks/withDispatchActionLoading.js\n"); + +/***/ }), + +/***/ "./package/actions/hooks/withRequestFields.js": +/*!****************************************************!*\ + !*** ./package/actions/hooks/withRequestFields.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _useRequestFields__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useRequestFields */ \"./package/actions/hooks/useRequestFields.js\");\n\nfunction withRequestFields(select) {\n var meta = select('core/editor').getEditedPostAttribute('meta') || {};\n var actions = JSON.parse(meta._jf_actions || '[]');\n var currentAction = select('jet-forms/actions').getCurrentAction();\n var computed = select('jet-forms/actions').getComputedFields();\n actions.splice(currentAction.index);\n var fields = [];\n var nameSet = new Set();\n (0,_useRequestFields__WEBPACK_IMPORTED_MODULE_0__.getRequestFields)({\n actions: actions,\n fields: fields\n });\n (0,_useRequestFields__WEBPACK_IMPORTED_MODULE_0__.getComputedFields)({\n fields: fields,\n actions: actions,\n computed: computed,\n nameSet: nameSet\n });\n return {\n requestFields: fields\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withRequestFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3Mvd2l0aFJlcXVlc3RGaWVsZHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBeUU7QUFFekUsU0FBU0UsaUJBQWlCQSxDQUFFQyxNQUFNLEVBQUc7RUFDcEMsSUFBTUMsSUFBSSxHQUFZRCxNQUFNLENBQUUsYUFBYyxDQUFDLENBQzVDRSxzQkFBc0IsQ0FBRSxNQUFPLENBQUMsSUFBSSxDQUFDLENBQUM7RUFDdkMsSUFBTUMsT0FBTyxHQUFTQyxJQUFJLENBQUNDLEtBQUssQ0FBRUosSUFBSSxDQUFDSyxXQUFXLElBQUksSUFBSyxDQUFDO0VBQzVELElBQU1DLGFBQWEsR0FBR1AsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNRLGdCQUFnQixDQUFDLENBQUM7R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+/***/ }), + +/***/ "./package/actions/hooks/withSelectActionLoading.js": +/*!**********************************************************!*\ + !*** ./package/actions/hooks/withSelectActionLoading.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction withSelectActionLoading(select) {\n var loadingState = select('jet-forms/actions').getCurrentLoading();\n return {\n loadingState: loadingState\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withSelectActionLoading);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvaG9va3Mvd2l0aFNlbGVjdEFjdGlvbkxvYWRpbmcuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFNBQVNBLHVCQUF1QkEsQ0FBRUMsTUFBTSxFQUFHO0VBQzFDLElBQU1DLFlBQVksR0FBR0QsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNFLGlCQUFpQixDQUFDLENBQUM7RUFFdEUsT0FBTztJQUFFRCxZQUFZLEVBQVpBO0VBQWEsQ0FBQztBQUN4QjtBQUVBLGlFQUFlRix1QkFBdUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2FjdGlvbnMvaG9va3Mvd2l0aFNlbGVjdEFjdGlvbkxvYWRpbmcuanM/NDcwNiJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiB3aXRoU2VsZWN0QWN0aW9uTG9hZGluZyggc2VsZWN0ICkge1xyXG5cdGNvbnN0IGxvYWRpbmdTdGF0ZSA9IHNlbGVjdCggJ2pldC1mb3Jtcy9hY3Rpb25zJyApLmdldEN1cnJlbnRMb2FkaW5nKCk7XHJcblxyXG5cdHJldHVybiB7IGxvYWRpbmdTdGF0ZSB9O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB3aXRoU2VsZWN0QWN0aW9uTG9hZGluZzsiXSwibmFtZXMiOlsid2l0aFNlbGVjdEFjdGlvbkxvYWRpbmciLCJzZWxlY3QiLCJsb2FkaW5nU3RhdGUiLCJnZXRDdXJyZW50TG9hZGluZyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/hooks/withSelectActionLoading.js\n"); + +/***/ }), + +/***/ "./package/actions/store/actions.js": +/*!******************************************!*\ + !*** ./package/actions/store/actions.js ***! + \******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/actions/store/constants.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nvar dispatch = wp.data.dispatch;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n setCurrentAction: function setCurrentAction() {\n var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setCurrentAction,\n item: item\n };\n },\n setMeta: function setMeta(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setMeta,\n item: item\n };\n },\n clearCurrent: function clearCurrent() {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].clearCurrent\n };\n },\n setLoading: function setLoading(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setLoading,\n state: {\n id: item.actionId,\n state: 'loading',\n loading: true\n }\n };\n },\n setLoadingResult: function setLoadingResult(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setLoadingResult,\n state: {\n id: item.actionId,\n state: item.success ? 'is-valid' : 'is-invalid',\n success: item.success,\n response: item.response,\n loading: false\n }\n };\n },\n updateCurrentSettings: function updateCurrentSettings(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateCurrentSettings,\n item: item\n };\n },\n updateCurrentConditions: function updateCurrentConditions(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateCurrentConditions,\n item: item\n };\n },\n addCallback: function addCallback(actionType, callback) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addCallback,\n actionType: actionType,\n callback: callback\n };\n },\n addDetail: function addDetail(actionType, item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addDetail,\n actionType: actionType,\n item: item\n };\n },\n addComputedField: function addComputedField(field) {\n var settings = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addComputedField,\n field: field,\n settings: settings\n };\n },\n editAction: function editAction(actionType, replace) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].editAction,\n actionType: actionType,\n replace: replace\n };\n },\n openActionSettings: function openActionSettings(_ref) {\n var item = _ref.item,\n index = _ref.index;\n dispatch('jet-forms/actions').setCurrentAction(_objectSpread(_objectSpread({}, item), {}, {\n index: index\n }));\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setMeta,\n item: {\n index: index,\n modalType: 'settings'\n }\n };\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvc3RvcmUvYWN0aW9ucy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUFvQztBQUVwQyxJQUNPQyxRQUFRLEdBQ0xDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixRQUFRO0FBR2YsaUVBQWU7RUFDZEcsZ0JBQWdCLFdBQUFBLGlCQUFBLEVBQWM7SUFBQSxJQUFaQyxJQUFJLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0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./package/actions/store/actions.js\n"); + +/***/ }), + +/***/ "./package/actions/store/constants.js": +/*!********************************************!*\ + !*** ./package/actions/store/constants.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n setCurrentAction: 'SET_CURRENT_ACTION',\n setLoading: 'SET_LOADING',\n setLoadingResult: 'SET_LOADING',\n updateCurrentSettings: 'UPDATE_ACTION_SETTINGS',\n updateCurrentConditions: 'UPDATE_ACTION_CONDITIONS',\n addCallback: 'ADD_CALLBACK',\n addDetail: 'ADD_DETAIL',\n setMeta: 'SET_CURRENT_META',\n clearCurrent: 'CLEAR_CURRENT',\n addComputedField: 'ADD_COMPUTED_FIELD',\n editAction: 'EDIT_ACTION',\n openActionSettings: 'OPEN_ACTION_SETTINGS'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvc3RvcmUvY29uc3RhbnRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxpRUFBZTtFQUNkQSxnQkFBZ0IsRUFBRSxvQkFBb0I7RUFDdENDLFVBQVUsRUFBRSxhQUFhO0VBQ3pCQyxnQkFBZ0IsRUFBRSxhQUFhO0VBQy9CQyxxQkFBcUIsRUFBRSx3QkFBd0I7RUFDL0NDLHVCQUF1QixFQUFFLDBCQUEwQjtFQUNuREMsV0FBVyxFQUFFLGNBQWM7RUFDM0JDLFNBQVMsRUFBRSxZQUFZO0VBQ3ZCQyxPQUFPLEVBQUUsa0JBQWtCO0VBQzNCQyxZQUFZLEVBQUUsZUFBZTtFQUM3QkMsZ0JBQWdCLEVBQUUsb0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3VycmVudCIsImFkZENvbXB1dGVkRmllbGQiLCJlZGl0QWN0aW9uIiwib3BlbkFjdGlvblNldHRpbmdzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/store/constants.js\n"); + +/***/ }), + +/***/ "./package/actions/store/default.state.js": +/*!************************************************!*\ + !*** ./package/actions/store/default.state.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _functions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./functions */ \"./package/actions/store/functions.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n currentAction: {},\n callbacks: {},\n details: {},\n meta: {},\n loadingState: [_functions__WEBPACK_IMPORTED_MODULE_0__[\"default\"].getLoadingItem()],\n computedFields: [],\n list: window.jetFormActionTypes.map(function (action) {\n return {\n value: action.id,\n label: action.name,\n disabled: !!action.disabled\n };\n })\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvc3RvcmUvZGVmYXVsdC5zdGF0ZS5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFvQztBQUVwQyxpRUFBZTtFQUNkQyxhQUFhLEVBQUUsQ0FBQyxDQUFDO0VBQ2pCQyxTQUFTLEVBQUUsQ0FBQyxDQUFDO0VBQ2JDLE9BQU8sRUFBRSxDQUFDLENBQUM7RUFDWEMsSUFBSSxFQUFFLENBQUMsQ0FBQztFQUNSQyxZQUFZLEVBQUUsQ0FDYkwsa0RBQVMsQ0FBQ00sY0FBYyxDQUFDLENBQUMsQ0FDMUI7RUFDREMsY0FBYyxFQUFFLE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GV0YWlscyIsIm1ldGEiLCJsb2FkaW5nU3RhdGUiLCJnZXRMb2FkaW5nSXRlbSIsImNvbXB1dGVkRmllbGRzIiwibGlzdCIsIndpbmRvdyIsImpldEZvcm1BY3Rpb25UeXBlcyIsIm1hcCIsImFjdGlvbiIsInZhbHVlIiwiaWQiLCJsYWJlbCIsIm5hbWUiLCJkaXNhYmxlZCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/store/default.state.js\n"); + +/***/ }), + +/***/ "./package/actions/store/dispatchers.js": +/*!**********************************************!*\ + !*** ./package/actions/store/dispatchers.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/actions/store/constants.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./selectors */ \"./package/actions/store/selectors.js\");\n/* harmony import */ var _functions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./functions */ \"./package/actions/store/functions.js\");\n/* harmony import */ var _helpers_withActionLocalizeScript__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/withActionLocalizeScript */ \"./package/actions/helpers/withActionLocalizeScript.js\");\nvar _constants$setCurrent;\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\n\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_constants$setCurrent = {}, _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setCurrentAction, function (state, action) {\n var update = {};\n if ('function' === typeof action.item) {\n update.currentAction = action.item(state.currentAction);\n } else {\n update.currentAction = action.item;\n }\n return _objectSpread(_objectSpread({}, state), update);\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setMeta, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n meta: _objectSpread({}, action.item)\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].clearCurrent, function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n currentAction: {},\n meta: {}\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setLoading, function (state, action) {\n var actionIndex = _selectors__WEBPACK_IMPORTED_MODULE_1__[\"default\"].getLoadingIndex(state, action.state.id);\n var loading = _toConsumableArray(state.loadingState);\n if (-1 !== actionIndex) {\n loading[actionIndex] = _functions__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getLoadingItem(action.state);\n } else {\n loading.push(_functions__WEBPACK_IMPORTED_MODULE_2__[\"default\"].getLoadingItem(action.state));\n }\n return _objectSpread(_objectSpread({}, state), {}, {\n loadingState: loading\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateCurrentSettings, function (state, action) {\n var _state$currentAction = state.currentAction,\n settings = _state$currentAction.settings,\n type = _state$currentAction.type;\n var updateSettings = _objectSpread(_objectSpread({}, _selectors__WEBPACK_IMPORTED_MODULE_1__[\"default\"].getCurrentSettings(state)), action.item);\n return _objectSpread(_objectSpread({}, state), {}, {\n currentAction: _objectSpread(_objectSpread({}, state.currentAction), {}, {\n settings: _objectSpread(_objectSpread({}, settings), {}, _defineProperty({}, type, updateSettings))\n })\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].updateCurrentConditions, function (state, action) {\n var _state$currentAction$ = state.currentAction.conditions,\n conditions = _state$currentAction$ === void 0 ? [] : _state$currentAction$;\n var update = 'function' === typeof action.item ? action.item(conditions) : action.item;\n return _objectSpread(_objectSpread({}, state), {}, {\n currentAction: _objectSpread(_objectSpread({}, state.currentAction), {}, {\n conditions: update\n })\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addCallback, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n callbacks: _objectSpread(_objectSpread({}, state.callbacks), {}, _defineProperty({}, action.actionType, (0,_helpers_withActionLocalizeScript__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(action.actionType, action.callback)))\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addDetail, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n details: _objectSpread(_objectSpread({}, state.details), {}, _defineProperty({}, action.actionType, action.item))\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addComputedField, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n computedFields: [].concat(_toConsumableArray(state.computedFields), [{\n field: action.field,\n settings: action.settings\n }])\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].editAction, function (state, action) {\n var list = state.list.map(function (current) {\n return current.value !== action.actionType ? current : _objectSpread(_objectSpread(_objectSpread({}, current), action.replace), {}, {\n value: action.actionType // .value should not changed\n });\n });\n\n return _objectSpread(_objectSpread({}, state), {}, {\n list: list\n });\n}), _defineProperty(_constants$setCurrent, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].openActionSettings, function (state, action) {\n var index = action.index,\n item = action.item;\n return _objectSpread(_objectSpread({}, state), {}, {\n meta: {\n index: index,\n modalType: 'settings'\n },\n currentAction: item\n });\n}), _constants$setCurrent);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvc3RvcmUvZGlzcGF0Y2hlcnMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQW9DO0FBQ0E7QUFDQTtBQUN1QztBQUUzRSxpRUFBQUkscUJBQUEsT0FBQUMsZUFBQSxDQUFBRCxxQkFBQSxFQUNHSixrREFBUyxDQUFDTSxnQkFBZ0IsRUFBSSxVQUFFQyxLQUFLLEVBQUVDLE1BQU0sRUFBTTtFQUNwRCxJQUFNQyxNQUFNLEdBQUcsQ0FBQyxDQUFDO0VBRWpCLElBQUssVUFBVSxLQUFLLE9BQU9ELE1BQU0sQ0FBQ0UsSUFBSSxFQUFHO0lBQ3hDRCxNQUFNLENBQUNFLGFBQWEsR0FBR0gsTUFBTSxDQUFDRSxJQUFJLENBQUVILEtBQUssQ0FBQ0ksYUFBYyxDQUFDO0VBQzFELENBQUMsTUFDSTtJQUNKRixNQUFNLENBQUNFLGFBQWEsR0FBR0gsTUFBTSxDQUFDRSxJQUFJO0VBQ25DO0VBRUEsT0FBQUUsYUFBQSxDQUFBQSxhQUFBLEtBQ0lMLEtBQUssR0FDTEUsTUFBTTtBQUVYLENBQUMsR0FBQUosZUFBQSxDQUFBRCxxQkFBQSxFQUNDSixrREFBUyxDQUFDYSxPQUFPLEVBQU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XB0IiwiX2NvbnN0YW50cyRzZXRDdXJyZW50IiwiX2RlZmluZVByb3BlcnR5Iiwic2V0Q3VycmVudEFjdGlvbiIsInN0YXRlIiwiYWN0aW9uIiwidXBkYXRlIiwiaXRlbSIsImN1cnJlbnRBY3Rpb24iLCJfb2JqZWN0U3ByZWFkIiwic2V0TWV0YSIsIm1ldGEiLCJjbGVhckN1cnJlbnQiLCJzZXRMb2FkaW5nIiwiYWN0aW9uSW5kZXgiLCJnZXRMb2FkaW5nSW5kZXgiLCJpZCIsImxvYWRpbmciLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJsb2FkaW5nU3RhdGUiLCJnZXRMb2FkaW5nSXRlbSIsInB1c2giLCJ1cGRhdGVDdXJyZW50U2V0dGluZ3MiLCJfc3RhdGUkY3VycmVudEFjdGlvbiIsInNldHRpbmdzIiwidHlwZSIsInVwZGF0ZVNldHRpbmdzIiwiZ2V0Q3VycmVudFNldHRpbmdzIiwidXBkYXRlQ3VycmVudENvbmRpdGlvbnMiLCJfc3RhdGUkY3VycmVudEFjdGlvbiQiLCJjb25kaXRpb25zIiwiYWRkQ2FsbGJhY2siLCJjYWxsYmFja3MiLCJhY3Rpb25UeXBlIiwiY2FsbGJhY2siLCJhZGREZXRhaWwiLCJkZXRhaWxzIiwiYWRkQ29tcHV0ZWRGaWVsZCIsImNvbXB1dGVkRmllbGRzIiwiY29uY2F0IiwiZmllbGQiLCJlZGl0QWN0aW9uIiwibGlzdCIsIm1hcCIsImN1cnJlbnQiLCJ2YWx1ZSIsInJlcGxhY2UiLCJvcGVuQWN0aW9uU2V0dGluZ3MiLCJpbmRleCIsIm1vZGFsVHlwZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/store/dispatchers.js\n"); + +/***/ }), + +/***/ "./package/actions/store/functions.js": +/*!********************************************!*\ + !*** ./package/actions/store/functions.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _loading_state__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading.state */ \"./package/actions/store/loading.state.js\");\n/* harmony import */ var _hooks_useStateValidClasses__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useStateValidClasses */ \"./package/hooks/useStateValidClasses.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\n\nvar getLoadingItem = function getLoadingItem() {\n var additional = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var item = _objectSpread({}, _loading_state__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n if (additional.state) {\n item.buttonClassName = [].concat(_toConsumableArray(_hooks_useStateValidClasses__WEBPACK_IMPORTED_MODULE_1__.initClasses), [additional.state]);\n }\n return _objectSpread(_objectSpread({}, item), additional);\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n getLoadingItem: getLoadingItem\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2Z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QVVMVF9MT0FESU5HX1NUQVRFIH07XHJcblx0aWYgKCBhZGRpdGlvbmFsLnN0YXRlICkge1xyXG5cdFx0aXRlbS5idXR0b25DbGFzc05hbWUgPSBbIC4uLmluaXRDbGFzc2VzLCBhZGRpdGlvbmFsLnN0YXRlIF07XHJcblx0fVxyXG5cdHJldHVybiB7IC4uLml0ZW0sIC4uLmFkZGl0aW9uYWwgfTtcclxufTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IHsgZ2V0TG9hZGluZ0l0ZW0gfTsiXSwibmFtZXMiOlsiREVGQVVMVF9MT0FESU5HX1NUQVRFIiwiaW5pdENsYXNzZXMiLCJnZXRMb2FkaW5nSXRlbSIsImFkZGl0aW9uYWwiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJpdGVtIiwiX29iamVjdFNwcmVhZCIsInN0YXRlIiwiYnV0dG9uQ2xhc3NOYW1lIiwiY29uY2F0IiwiX3RvQ29uc3VtYWJsZUFycmF5Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/store/functions.js\n"); + +/***/ }), + +/***/ "./package/actions/store/index.js": +/*!****************************************!*\ + !*** ./package/actions/store/index.js ***! + \****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ \"./package/actions/store/reducer.js\");\n/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ \"./package/actions/store/actions.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ \"./package/actions/store/selectors.js\");\n\n\n\nvar createReduxStore = wp.data.createReduxStore;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReduxStore('jet-forms/actions', {\n reducer: _reducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n actions: _actions__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n selectors: _selectors__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvc3RvcmUvaW5kZXguanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFnQztBQUNBO0FBQ0k7QUFFcEMsSUFBUUcsZ0JBQWdCLEdBQUtDLEVBQUUsQ0FBQ0MsSUFBSSxDQUE1QkYsZ0JBQWdCO0FBRXhCLGlFQUFlQSxnQkFBZ0IsQ0FBRSxtQkFBbUIsRUFBRTtFQUNyREgsT0FBTyxFQUFQQSxnREFBTztFQUNQQyxPQUFPLEVBQVBBLGdEQUFPO0VBQ1BDLFNBQVMsRUFBVEEsa0RBQVNBO0FBQ1YsQ0FBRSxDQUFDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9hY3Rpb25zL3N0b3JlL2luZGV4LmpzPzAwZjgiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHJlZHVjZXIgZnJvbSAnLi9yZWR1Y2VyJztcclxuaW1wb3J0IGFjdGlvbnMgZnJvbSAnLi9hY3Rpb25zJztcclxuaW1wb3J0IHNlbGVjdG9ycyBmcm9tICcuL3NlbGVjdG9ycyc7XHJcblxyXG5jb25zdCB7IGNyZWF0ZVJlZHV4U3RvcmUgfSA9IHdwLmRhdGE7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBjcmVhdGVSZWR1eFN0b3JlKCAnamV0LWZvcm1zL2FjdGlvbnMnLCB7XHJcblx0cmVkdWNlcixcclxuXHRhY3Rpb25zLFxyXG5cdHNlbGVjdG9ycyxcclxufSApO1xyXG4iXSwibmFtZXMiOlsicmVkdWNlciIsImFjdGlvbnMiLCJzZWxlY3RvcnMiLCJjcmVhdGVSZWR1eFN0b3JlIiwid3AiLCJkYXRhIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/store/index.js\n"); + +/***/ }), + +/***/ "./package/actions/store/loading.state.js": +/*!************************************************!*\ + !*** ./package/actions/store/loading.state.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useStateValidClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../hooks/useStateValidClasses */ \"./package/hooks/useStateValidClasses.js\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n id: -1,\n state: '',\n success: false,\n response: {},\n loading: false,\n buttonClassName: _toConsumableArray(_hooks_useStateValidClasses__WEBPACK_IMPORTED_MODULE_0__.initClasses)\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvc3RvcmUvbG9hZGluZy5zdGF0ZS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUErRDtBQUUvRCxpRUFBZTtFQUNkQyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0VBQ05DLEtBQUssRUFBRSxFQUFFO0VBQ1RDLE9BQU8sRUFBRSxLQUFLO0VBQ2RDLFFBQVEsRUFBRSxDQUFDLENBQUM7RUFDWkMsT0FBTyxFQUFFLEtBQUs7RUFDZEMsZUFBZSxFQUFBQyxrQkFBQSxDQUFPUCxvRUFBVztBQUNsQyxDQUFDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9hY3Rpb25zL3N0b3JlL2xvYWRpbmcuc3RhdGUuanM/ZmY2YiJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBpbml0Q2xhc3NlcyB9IGZyb20gJy4uLy4uL2hvb2tzL3VzZVN0YXRlVmFsaWRDbGFzc2VzJztcclxuXHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuXHRpZDogLTEsXHJcblx0c3RhdGU6ICcnLFxyXG5cdHN1Y2Nlc3M6IGZhbHNlLFxyXG5cdHJlc3BvbnNlOiB7fSxcclxuXHRsb2FkaW5nOiBmYWxzZSxcclxuXHRidXR0b25DbGFzc05hbWU6IFsgLi4uaW5pdENsYXNzZXMgXSxcclxufTsiXSwibmFtZXMiOlsiaW5pdENsYXNzZXMiLCJpZCIsInN0YXRlIiwic3VjY2VzcyIsInJlc3BvbnNlIiwibG9hZGluZyIsImJ1dHRvbkNsYXNzTmFtZSIsIl90b0NvbnN1bWFibGVBcnJheSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/actions/store/loading.state.js\n"); + +/***/ }), + +/***/ "./package/actions/store/reducer.js": +/*!******************************************!*\ + !*** ./package/actions/store/reducer.js ***! + \******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _dispatchers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dispatchers */ \"./package/actions/store/dispatchers.js\");\n/* harmony import */ var _default_state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./default.state */ \"./package/actions/store/default.state.js\");\n\n\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _default_state__WEBPACK_IMPORTED_MODULE_1__[\"default\"];\n var action = arguments.length > 1 ? arguments[1] : undefined;\n var callback = _dispatchers__WEBPACK_IMPORTED_MODULE_0__[\"default\"][action === null || action === void 0 ? void 0 : action.type];\n if (callback) {\n return callback(state, action);\n }\n return state;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvc3RvcmUvcmVkdWNlci5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBd0M7QUFDSTtBQUU1Qyw2QkFBZSxzQ0FBMkM7RUFBQSxJQUFoQ0UsS0FBSyxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQ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package/actions/store/reducer.js\n"); + +/***/ }), + +/***/ "./package/actions/store/selectors.js": +/*!********************************************!*\ + !*** ./package/actions/store/selectors.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _loading_state__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./loading.state */ \"./package/actions/store/loading.state.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nvar self = {\n getLoadingIndex: function getLoadingIndex(state, actionId) {\n return state.loadingState.findIndex(function (action) {\n return action.id === actionId;\n });\n },\n getLoading: function getLoading(state, actionId) {\n var actionIndex = self.getLoadingIndex(state, actionId);\n return -1 !== actionIndex ? state.loadingState[actionIndex] : _objectSpread({}, _loading_state__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n },\n getCallback: function getCallback(state, actionType) {\n return state.callbacks[actionType];\n },\n getDetail: function getDetail(state, actionType) {\n return state.details[actionType];\n },\n getComputedFields: function getComputedFields(state) {\n return state.computedFields;\n },\n getActionsList: function getActionsList(state) {\n return state.list;\n },\n getActionsMap: function getActionsMap(state) {\n var map = {};\n var _iterator = _createForOfIteratorHelper(state.list),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var listElement = _step.value;\n map[listElement.value] = listElement;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return map;\n },\n getAction: function getAction(state, type) {\n return state.list.find(function (_ref) {\n var value = _ref.value;\n return value === type;\n });\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread(_objectSpread({}, self), {}, {\n isSettingsModal: function isSettingsModal(state) {\n var _state$meta;\n return 'settings' === ((_state$meta = state.meta) === null || _state$meta === void 0 ? void 0 : _state$meta.modalType);\n },\n isConditionalModal: function isConditionalModal(state) {\n var _state$meta2;\n return 'conditions' === ((_state$meta2 = state.meta) === null || _state$meta2 === void 0 ? void 0 : _state$meta2.modalType);\n },\n getMetaIndex: function getMetaIndex(state) {\n var _state$meta3;\n return (_state$meta3 = state.meta) === null || _state$meta3 === void 0 ? void 0 : _state$meta3.index;\n },\n getCurrentAction: function getCurrentAction(state) {\n return state.currentAction;\n },\n getCurrentCallback: function getCurrentCallback(state) {\n var _state$currentAction$, _state$currentAction;\n var type = (_state$currentAction$ = (_state$currentAction = state.currentAction) === null || _state$currentAction === void 0 ? void 0 : _state$currentAction.type) !== null && _state$currentAction$ !== void 0 ? _state$currentAction$ : false;\n return self.getCallback(state, type);\n },\n getCurrentDetail: function getCurrentDetail(state) {\n var _state$currentAction$2, _state$currentAction2;\n var type = (_state$currentAction$2 = (_state$currentAction2 = state.currentAction) === null || _state$currentAction2 === void 0 ? void 0 : _state$currentAction2.type) !== null && _state$currentAction$2 !== void 0 ? _state$currentAction$2 : false;\n return self.getDetail(state, type);\n },\n getCurrentSettings: function getCurrentSettings(state) {\n var _state$currentAction$3, _state$currentAction3, _state$currentAction$4, _state$currentAction4, _settings$type;\n var settings = (_state$currentAction$3 = (_state$currentAction3 = state.currentAction) === null || _state$currentAction3 === void 0 ? void 0 : _state$currentAction3.settings) !== null && _state$currentAction$3 !== void 0 ? _state$currentAction$3 : {};\n var type = (_state$currentAction$4 = (_state$currentAction4 = state.currentAction) === null || _state$currentAction4 === void 0 ? void 0 : _state$currentAction4.type) !== null && _state$currentAction$4 !== void 0 ? _state$currentAction$4 : false;\n return (_settings$type = settings[type]) !== null && _settings$type !== void 0 ? _settings$type : {};\n },\n getCurrentLoading: function getCurrentLoading(state) {\n var _state$currentAction5;\n var actionId = (_state$currentAction5 = state.currentAction) === null || _state$currentAction5 === void 0 ? void 0 : _state$currentAction5.id;\n return self.getLoading(state, actionId);\n },\n dangerGetAllLoading: function dangerGetAllLoading(state) {\n return state.loadingState;\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2FjdGlvbnMvc3RvcmUvc2VsZWN0b3JzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7O0FBQW9EO0FBRXBELElBQU1DLElBQUksR0FBRztFQUNaQyxlQUFlLFdBQUFBLGdCQUFFQyxLQUFLLEVBQUVDLFFBQVEsRUFBRztJQUNsQyxPQUFPRCxLQUFLLENBQUNFLFlBQVksQ0FBQ0MsU0FBUyxDQUFFLFVBQUFDLE1BQU07TUFBQSxPQUFJQSxNQUFNLENBQUNDLEVBQUUsS0FBS0osUUFBUTtJQUFBLENBQUMsQ0FBQztFQUN4RSxDQUFDO0VBQ0RLLFVBQVUsV0FBQUEsV0FBRU4sS0FBSyxFQUFFQyxRQUFRLEVBQUc7SUFDN0IsSUFBTU0sV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sImxpc3QiLCJnZXRBY3Rpb25zTWFwIiwibWFwIiwiX2l0ZXJhdG9yIiwiX2NyZWF0ZUZvck9mSXRlcmF0b3JIZWxwZXIiLCJfc3RlcCIsInMiLCJuIiwiZG9uZSIsImxpc3RFbGVtZW50IiwidmFsdWUiLCJlcnIiLCJlIiwiZiIsImdldEFjdGlvbiIsInR5cGUiLCJmaW5kIiwiX3JlZiIsImlzU2V0dGluZ3NNb2RhbCIsIl9zdGF0ZSRtZXRhIiwibWV0YSIsIm1vZGFsVHlwZSIsImlzQ29uZGl0aW9uYWxNb2RhbCIsIl9zdGF0ZSRtZXRhMiIsImdldE1ldGFJbmRleCIsIl9zdGF0ZSRtZXRhMyIsImluZGV4IiwiZ2V0Q3VycmVudEFjdGlvbiIsImN1cnJlbnRBY3Rpb24iLCJnZXRDdXJyZW50Q2FsbGJhY2siLCJfc3RhdGUkY3VycmVudEFjdGlvbiQiLCJfc3RhdGUkY3VycmVudEFjdGlvbiIsImdldEN1cnJlbnREZXRhaWwiLCJfc3RhdGUkY3VycmVudEFjdGlvbiQyIiwiX3N0YXRlJGN1cnJlbnRBY3Rpb24yIiwiZ2V0Q3VycmVudFNldHRpbmdzIiwiX3N0YXRlJGN1cnJlbnRBY3Rpb24kMyIsIl9zdGF0ZSRjdXJyZW50QWN0aW9uMyIsIl9zdGF0ZSRjdXJyZW50QWN0aW9uJDQiLCJfc3RhdGUkY3VycmVudEFjdGlvbjQiLCJfc2V0dGluZ3MkdHlwZSIsInNldHRpbmdzIiwiZ2V0Q3VycmVudExvYWRpbmciLCJfc3RhdGUkY3VycmVudEFjdGlvbjUiLCJkYW5nZXJHZXRBbGxMb2FkaW5nIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/actions/store/selectors.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/components/BeforeConditionOptions.js": +/*!***********************************************************************!*\ + !*** ./package/block-conditions/components/BeforeConditionOptions.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocks_hooks_useFields__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../blocks/hooks/useFields */ \"./package/blocks/hooks/useFields.js\");\n\nvar _wp$components = wp.components,\n SelectControl = _wp$components.SelectControl,\n withFilters = _wp$components.withFilters;\nvar __ = wp.i18n.__;\nvar BeforeConditionOptions = withFilters('jet.fb.block.conditions.options')(function (props) {\n var currentItem = props.currentItem,\n changeCurrentItem = props.changeCurrentItem;\n var formFields = (0,_blocks_hooks_useFields__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n placeholder: '--'\n });\n switch (currentItem.operator) {\n case 'render_state':\n return null;\n default:\n return wp.element.createElement(SelectControl, {\n label: __('Field', 'jet-form-builder'),\n labelPosition: \"side\",\n value: currentItem.field,\n options: formFields,\n onChange: function onChange(newValue) {\n changeCurrentItem({\n field: newValue\n });\n }\n });\n }\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BeforeConditionOptions);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvY29tcG9uZW50cy9CZWZvcmVDb25kaXRpb25PcHRpb25zLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQXFEO0FBRXJELElBQUFDLGNBQUEsR0FHVUMsRUFBRSxDQUFDQyxVQUFVO0VBRmhCQyxhQUFhLEdBQUFILGNBQUEsQ0FBYkcsYUFBYTtFQUNiQyxXQUFXLEdBQUFKLGNBQUEsQ0FBWEksV0FBVztBQUdsQixJQUNPQyxFQUFFLEdBQ0NKLEVBQUUsQ0FBQ0ssSUFBSSxD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5cdFx0XHRcdC8+O1xyXG5cdFx0fVxyXG5cdH0sXHJcbik7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBCZWZvcmVDb25kaXRpb25PcHRpb25zOyJdLCJuYW1lcyI6WyJ1c2VGaWVsZHMiLCJfd3AkY29tcG9uZW50cyIsIndwIiwiY29tcG9uZW50cyIsIlNlbGVjdENvbnRyb2wiLCJ3aXRoRmlsdGVycyIsIl9fIiwiaTE4biIsIkJlZm9yZUNvbmRpdGlvbk9wdGlvbnMiLCJwcm9wcyIsImN1cnJlbnRJdGVtIiwiY2hhbmdlQ3VycmVudEl0ZW0iLCJmb3JtRmllbGRzIiwicGxhY2Vob2xkZXIiLCJvcGVyYXRvciIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwibGFiZWwiLCJsYWJlbFBvc2l0aW9uIiwidmFsdWUiLCJmaWVsZCIsIm9wdGlvbnMiLCJvbkNoYW5nZSIsIm5ld1ZhbHVlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/block-conditions/components/BeforeConditionOptions.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/components/ConditionItem.js": +/*!**************************************************************!*\ + !*** ./package/block-conditions/components/ConditionItem.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _repeater_context_repeater_item__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../repeater/context/repeater.item */ \"./package/repeater/context/repeater.item.js\");\n/* harmony import */ var _blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../blocks/hooks/useUniqKey */ \"./package/blocks/hooks/useUniqKey.js\");\n/* harmony import */ var _hooks_useBlockConditions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks/useBlockConditions */ \"./package/block-conditions/hooks/useBlockConditions.js\");\n/* harmony import */ var _ConditionOptions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ConditionOptions */ \"./package/block-conditions/components/ConditionOptions.js\");\n/* harmony import */ var _BeforeConditionOptions__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BeforeConditionOptions */ \"./package/block-conditions/components/BeforeConditionOptions.js\");\n\n\n\n\n\nvar useContext = wp.element.useContext;\nvar SelectControl = wp.components.SelectControl;\nvar __ = wp.i18n.__;\nfunction ConditionItem() {\n var _useContext = useContext(_repeater_context_repeater_item__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n currentItem = _useContext.currentItem,\n changeCurrentItem = _useContext.changeCurrentItem;\n var uniqKey = (0,_blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n var _useBlockConditions = (0,_hooks_useBlockConditions__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(),\n operators = _useBlockConditions.operators;\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(_BeforeConditionOptions__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n currentItem: currentItem,\n changeCurrentItem: changeCurrentItem\n }), wp.element.createElement(SelectControl, {\n key: uniqKey('SelectControl-operator'),\n label: __('Operator', 'jet-form-builder'),\n labelPosition: \"side\",\n value: currentItem.operator,\n options: operators,\n onChange: function onChange(newValue) {\n return changeCurrentItem({\n operator: newValue\n });\n }\n }), wp.element.createElement(_ConditionOptions__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n currentItem: currentItem,\n changeCurrentItem: changeCurrentItem\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConditionItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNv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dlQ3VycmVudEl0ZW0oIHsgb3BlcmF0b3I6IG5ld1ZhbHVlIH0gKSB9XHJcblx0XHQvPlxyXG5cdFx0PENvbmRpdGlvbk9wdGlvbnNcclxuXHRcdFx0Y3VycmVudEl0ZW09eyBjdXJyZW50SXRlbSB9XHJcblx0XHRcdGNoYW5nZUN1cnJlbnRJdGVtPXsgY2hhbmdlQ3VycmVudEl0ZW0gfVxyXG5cdFx0Lz5cclxuXHQ8Lz47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IENvbmRpdGlvbkl0ZW07Il0sIm5hbWVzIjpbIlJlcGVhdGVySXRlbUNvbnRleHQiLCJ1c2VVbmlxS2V5IiwidXNlQmxvY2tDb25kaXRpb25zIiwiQ29uZGl0aW9uT3B0aW9ucyIsIkJlZm9yZUNvbmRpdGlvbk9wdGlvbnMiLCJ1c2VDb250ZXh0Iiwid3AiLCJlbGVtZW50IiwiU2VsZWN0Q29udHJvbCIsImNvbXBvbmVudHMiLCJfXyIsImkxOG4iLCJDb25kaXRpb25JdGVtIiwiX3VzZUNvbnRleHQiLCJjdXJyZW50SXRlbSIsImNoYW5nZUN1cnJlbnRJdGVtIiwidW5pcUtleSIsIl91c2VCbG9ja0NvbmRpdGlvbnMiLCJvcGVyYXRvcnMiLCJjcmVhdGVFbGVtZW50IiwiUmVhY3QiLCJGcmFnbWVudCIsImtleSIsImxhYmVsIiwibGFiZWxQb3NpdGlvbiIsInZhbHVlIiwib3BlcmF0b3IiLCJvcHRpb25zIiwib25DaGFuZ2UiLCJuZXdWYWx1ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/block-conditions/components/ConditionItem.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/components/ConditionOptions.js": +/*!*****************************************************************!*\ + !*** ./package/block-conditions/components/ConditionOptions.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _RenderStateOptions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./RenderStateOptions */ \"./package/block-conditions/components/RenderStateOptions.js\");\n/* harmony import */ var _blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../blocks/hooks/useUniqKey */ \"./package/blocks/hooks/useUniqKey.js\");\n/* harmony import */ var _macros_button_components_ClientSideMacros__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../macros.button/components/ClientSideMacros */ \"./package/macros.button/components/ClientSideMacros.js\");\n/* harmony import */ var _components_AdvancedModalControl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/AdvancedModalControl */ \"./package/components/AdvancedModalControl.js\");\n\n;\n\n\n\nvar _wp$components = wp.components,\n TextareaControl = _wp$components.TextareaControl,\n withFilters = _wp$components.withFilters;\nvar __ = wp.i18n.__;\nvar ConditionOptions = withFilters('jet.fb.block.conditions.options')(function (props) {\n var currentItem = props.currentItem,\n changeCurrentItem = props.changeCurrentItem;\n var uniqKey = (0,_blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n if (['empty', 'not_empty'].includes(currentItem.operator)) {\n return null;\n }\n switch (currentItem.operator) {\n case 'render_state':\n return wp.element.createElement(_RenderStateOptions__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n key: uniqKey('RenderStateOptions'),\n changeCurrentItem: changeCurrentItem,\n currentItem: currentItem\n });\n default:\n return wp.element.createElement(_macros_button_components_ClientSideMacros__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null, wp.element.createElement(_components_AdvancedModalControl__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n value: currentItem.value,\n label: __('Value to compare', 'jet-form-builder'),\n onChangePreset: function onChangePreset(value) {\n return changeCurrentItem({\n value: value\n });\n },\n onChangeMacros: function onChangeMacros(name) {\n var _currentItem$value;\n return changeCurrentItem({\n value: ((_currentItem$value = currentItem.value) !== null && _currentItem$value !== void 0 ? _currentItem$value : '') + name\n });\n }\n }, function (_ref) {\n var instanceId = _ref.instanceId;\n return wp.element.createElement(TextareaControl, {\n id: instanceId,\n value: currentItem.value,\n onChange: function onChange(value) {\n return changeCurrentItem({\n value: value\n });\n }\n });\n }));\n }\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConditionOptions);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvY29tcG9uZW50cy9Db25kaXRpb25PcHRpb25zLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQXNEO0FBQUE7QUFDQztBQUN3QjtBQUNOO0FBRXpFLElBQUFJLGNBQUEsR0FHVUMsRUFBRSxDQUFDQyxVQUFVO0VBRmhCQyxlQUFlLEdBQUFILGNBQUEsQ0FBZkcsZUFBZTtFQUNmQyxXQUFXLEdBQUFKLGNBQUEsQ0FBWEksV0FBVztBQUVsQixJQUNPQyxFQUFFLEdBQ0NKLEVBQUUsQ0FBQ0ssSUFBSSxDQURWRCxFQUFFO0FBR1QsSUFBTUUsZ0JBQWdCLEdBQUdILFdBQVcsQ0FBRSxpQ0FBa0MsQ0FBQyxDQUN4RSxVQUFBSSxLQUFLLEVBQUk7RUFDUixJQUFRQyxXQUFXLEdBQXdCRCxLQUFLLENBQXhDQyxXQUFXO0lBQUVDLGlCQUFpQixHQUFLRixLQUFLLENBQTNCRSxpQkFBaUI7RUFFdEMsSUFBTUMsT0FBTyxHQUFHZCxvRUFBVSxDQUFDLENBQUM7RUFFNUIsSUFBSyxDQUFFLE9BQU8sRUFBRSxXQUFXLENBQUUsQ0FBQ2UsUUFBUSxDQUFFSCxXQUFXL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CJjdXJyZW50SXRlbSIsImNoYW5nZUN1cnJlbnRJdGVtIiwidW5pcUtleSIsImluY2x1ZGVzIiwib3BlcmF0b3IiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImtleSIsInZhbHVlIiwibGFiZWwiLCJvbkNoYW5nZVByZXNldCIsIm9uQ2hhbmdlTWFjcm9zIiwibmFtZSIsIl9jdXJyZW50SXRlbSR2YWx1ZSIsIl9yZWYiLCJpbnN0YW5jZUlkIiwiaWQiLCJvbkNoYW5nZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/block-conditions/components/ConditionOptions.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/components/ConditionsRepeaterContextProvider.js": +/*!**********************************************************************************!*\ + !*** ./package/block-conditions/components/ConditionsRepeaterContextProvider.js ***! + \**********************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _repeater_context_repeater_custom_item_head__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../repeater/context/repeater.custom.item.head */ \"./package/repeater/context/repeater.custom.item.head.js\");\n/* harmony import */ var _repeater_context_repeater_custom_item_buttons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../repeater/context/repeater.custom.item.buttons */ \"./package/repeater/context/repeater.custom.item.buttons.js\");\n/* harmony import */ var _helpers_humanReadableCondition__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/humanReadableCondition */ \"./package/block-conditions/helpers/humanReadableCondition.js\");\n\n\n\nvar __ = wp.i18n.__;\nfunction ConditionsRepeaterContextProvider(_ref) {\n var children = _ref.children;\n return wp.element.createElement(_repeater_context_repeater_custom_item_head__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: {\n isSupported: function isSupported() {\n return true;\n },\n render: function render(_ref2) {\n var currentItem = _ref2.currentItem;\n return wp.element.createElement(\"span\", {\n className: 'repeater-item-title',\n dangerouslySetInnerHTML: {\n __html: currentItem !== null && currentItem !== void 0 && currentItem.or_operator ? __('OR', 'jet-form-builder') : (0,_helpers_humanReadableCondition__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(currentItem)\n }\n });\n }\n }\n }, wp.element.createElement(_repeater_context_repeater_custom_item_buttons__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Provider, {\n value: {\n edit: function edit(item) {\n return !item.or_operator;\n }\n }\n }, children));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ConditionsRepeaterContextProvider);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvY29tcG9uZW50cy9Db25kaXRpb25zUmVwZWF0ZXJDb250ZXh0UHJvdmlkZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUN5RDtBQUVHO0FBQ1c7QUFFdkUsSUFDT0csRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUdULFNBQVNHLGlDQUFpQ0EsQ0FBQUMsSUFBQSxFQUFpQjtFQUFBLElBQWJDLFFBQVEsR0FBQUQsSUFBQSxDQUFSQyxRQUFRO0VBQ3JELE9BQU9KLEVBQUEsQ0FBQUssT0FBQSxDQUFBQyxhQUFBLENBQUNWLG1GQUFtQixDQUFDVyxRQUFRO0lBQ25DQyxLQUFLLEVBQUc7TUFDUEMsV0FBVyxFQUFFLFNBQUFBLFlBQUE7UUFBQSxPQUFNLElBQUk7TUFBQTtNQUN2QkMsTUFBTSxFQUFFLFNBQUFBLE9BQUFDLEtBQUE7UUFBQSxJQUFJQyxXQUFXLEdBQUFELEtBQUEsQ0F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XJIZWFkQ29udGV4dC5Qcm92aWRlcj47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IENvbmRpdGlvbnNSZXBlYXRlckNvbnRleHRQcm92aWRlcjsiXSwibmFtZXMiOlsiUmVwZWF0ZXJIZWFkQ29udGV4dCIsIlJlcGVhdGVyQnV0dG9uc0NvbnRleHQiLCJodW1hblJlYWRhYmxlQ29uZGl0aW9uIiwiX18iLCJ3cCIsImkxOG4iLCJDb25kaXRpb25zUmVwZWF0ZXJDb250ZXh0UHJvdmlkZXIiLCJfcmVmIiwiY2hpbGRyZW4iLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIlByb3ZpZGVyIiwidmFsdWUiLCJpc1N1cHBvcnRlZCIsInJlbmRlciIsIl9yZWYyIiwiY3VycmVudEl0ZW0iLCJjbGFzc05hbWUiLCJkYW5nZXJvdXNseVNldElubmVySFRNTCIsIl9faHRtbCIsIm9yX29wZXJhdG9yIiwiZWRpdCIsIml0ZW0iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/block-conditions/components/ConditionsRepeaterContextProvider.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/components/EditCustomRenderStates.js": +/*!***********************************************************************!*\ + !*** ./package/block-conditions/components/EditCustomRenderStates.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../action-modal/components/ActionModal */ \"./package/action-modal/components/ActionModal.js\");\n/* harmony import */ var _action_modal_components_ActionModalFooterSlotFill__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../action-modal/components/ActionModalFooterSlotFill */ \"./package/action-modal/components/ActionModalFooterSlotFill.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n TextControl = _wp$components.TextControl;\nvar __ = wp.i18n.__;\nvar useState = wp.element.useState;\nvar _wp$data = wp.data,\n useSelect = _wp$data.useSelect,\n useDispatch = _wp$data.useDispatch;\nvar _wp = wp,\n apiFetch = _wp.apiFetch;\nvar _window$jetFormBlockC = window.jetFormBlockConditions,\n rest_add_state = _window$jetFormBlockC.rest_add_state,\n rest_delete_state = _window$jetFormBlockC.rest_delete_state;\nvar ModalFooterFill = _action_modal_components_ActionModalFooterSlotFill__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Fill;\nvar EditCustomRenderStates = function EditCustomRenderStates(_ref) {\n var _currentItem$render_s;\n var setShowModal = _ref.setShowModal,\n changeCurrentItem = _ref.changeCurrentItem,\n currentItem = _ref.currentItem;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isLoading = _useState2[0],\n setButtonLoading = _useState2[1];\n var _useState3 = useState({}),\n _useState4 = _slicedToArray(_useState3, 2),\n isLoadingItem = _useState4[0],\n setItemLoading = _useState4[1];\n var _useState5 = useState(''),\n _useState6 = _slicedToArray(_useState5, 2),\n value = _useState6[0],\n setValue = _useState6[1];\n var current = _toConsumableArray((_currentItem$render_s = currentItem.render_state) !== null && _currentItem$render_s !== void 0 ? _currentItem$render_s : []);\n var _useDispatch = useDispatch('jet-forms/block-conditions', []),\n addRenderState = _useDispatch.addRenderState,\n deleteRenderStates = _useDispatch.deleteRenderStates;\n var customStates = useSelect(function (select) {\n return select('jet-forms/block-conditions').getCustomRenderStates();\n }, [isLoading, isLoadingItem]);\n var addState = function addState() {\n setButtonLoading(true);\n rest_add_state.data = {\n value: value\n };\n apiFetch(rest_add_state).then(function (response) {\n onSuccessAdd(response.state);\n setButtonLoading(false);\n setShowModal(false);\n }).catch(function (error) {\n console.error(error);\n setButtonLoading(false);\n });\n };\n var removeState = function removeState(name) {\n rest_delete_state.data = {\n list: [name]\n };\n setItemLoading(function (prev) {\n return _objectSpread(_objectSpread({}, prev), {}, _defineProperty({}, name, true));\n });\n apiFetch(rest_delete_state).then(function () {\n onDelete(name);\n }).catch(console.error).finally(function () {\n setItemLoading(function (prev) {\n return _objectSpread(_objectSpread({}, prev), {}, _defineProperty({}, name, false));\n });\n });\n };\n var onSuccessAdd = function onSuccessAdd(state) {\n addRenderState(state);\n current.push(state.value);\n changeCurrentItem({\n render_state: current\n });\n };\n var onDelete = function onDelete(name) {\n deleteRenderStates(name);\n current = current.filter(function (item) {\n return item !== name;\n });\n changeCurrentItem({\n render_state: current\n });\n };\n return wp.element.createElement(_action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n title: __('Register custom render state', 'jet-form-builder'),\n onRequestClose: function onRequestClose() {\n return setShowModal(false);\n },\n classNames: ['width-45']\n }, wp.element.createElement(\"div\", {\n className: 'jet-fb with-button'\n }, wp.element.createElement(TextControl, {\n value: value,\n onChange: function onChange(newValue) {\n return setValue(newValue);\n },\n placeholder: __('Set your custom state name', 'jet-form-builder')\n }), wp.element.createElement(Button, {\n variant: 'secondary',\n onClick: addState,\n disabled: isLoading,\n isBusy: isLoading,\n style: {\n padding: '7px 12px',\n height: 'unset'\n }\n }, __('Add', 'jet-form-builder'))), Boolean(customStates === null || customStates === void 0 ? void 0 : customStates.length) && wp.element.createElement(React.Fragment, null, wp.element.createElement(\"b\", {\n className: 'jet-fb flex mb-05-em'\n }, __('Manage your custom states:', 'jet-form-builder')), wp.element.createElement(\"div\", {\n className: 'jet-fb-buttons-flex'\n }, customStates.map(function (state) {\n var _isLoadingItem$state$;\n return wp.element.createElement(Button, {\n key: state.value,\n icon: 'no-alt',\n iconPosition: 'right',\n onClick: function onClick() {\n return removeState(state.value);\n },\n isBusy: (_isLoadingItem$state$ = isLoadingItem[state.value]) !== null && _isLoadingItem$state$ !== void 0 ? _isLoadingItem$state$ : false\n }, state.label);\n }))), wp.element.createElement(ModalFooterFill, null, wp.element.createElement(\"span\", null)));\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditCustomRenderStates);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,ey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UiLCJzZXRWYWx1ZSIsImN1cnJlbnQiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJyZW5kZXJfc3RhdGUiLCJfdXNlRGlzcGF0Y2giLCJhZGRSZW5kZXJTdGF0ZSIsImRlbGV0ZVJlbmRlclN0YXRlcyIsImN1c3RvbVN0YXRlcyIsInNlbGVjdCIsImdldEN1c3RvbVJlbmRlclN0YXRlcyIsImFkZFN0YXRlIiwidGhlbiIsInJlc3BvbnNlIiwib25TdWNjZXNzQWRkIiwic3RhdGUiLCJjYXRjaCIsImVycm9yIiwiY29uc29sZSIsInJlbW92ZVN0YXRlIiwibmFtZSIsImxpc3QiLCJwcmV2IiwiX29iamVjdFNwcmVhZCIsIl9kZWZpbmVQcm9wZXJ0eSIsIm9uRGVsZXRlIiwiZmluYWxseSIsInB1c2giLCJmaWx0ZXIiLCJpdGVtIiwiY3JlYXRlRWxlbWVudCIsInRpdGxlIiwib25SZXF1ZXN0Q2xvc2UiLCJjbGFzc05hbWVzIiwiY2xhc3NOYW1lIiwib25DaGFuZ2UiLCJuZXdWYWx1ZSIsInBsYWNlaG9sZGVyIiwidmFyaWFudCIsIm9uQ2xpY2siLCJkaXNhYmxlZCIsImlzQnVzeSIsInN0eWxlIiwicGFkZGluZyIsImhlaWdodCIsIkJvb2xlYW4iLCJsZW5ndGgiLCJSZWFjdCIsIkZyYWdtZW50IiwibWFwIiwiX2lzTG9hZGluZ0l0ZW0kc3RhdGUkIiwia2V5IiwiaWNvbiIsImljb25Qb3NpdGlvbiIsImxhYmVsIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/block-conditions/components/EditCustomRenderStates.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/components/HumanReadableConditions.js": +/*!************************************************************************!*\ + !*** ./package/block-conditions/components/HumanReadableConditions.js ***! + \************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _helpers_humanReadableCondition__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/humanReadableCondition */ \"./package/block-conditions/helpers/humanReadableCondition.js\");\n\nvar __ = wp.i18n.__;\nvar _wp$element = wp.element,\n Children = _wp$element.Children,\n cloneElement = _wp$element.cloneElement;\nfunction HumanReadableConditions(_ref) {\n var conditions = _ref.conditions,\n _ref$showWarning = _ref.showWarning,\n showWarning = _ref$showWarning === void 0 ? false : _ref$showWarning;\n var conditionsElements = [];\n var firstReadCondition = '';\n if (Boolean(conditions === null || conditions === void 0 ? void 0 : conditions.length)) {\n firstReadCondition = (0,_helpers_humanReadableCondition__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(conditions[0]);\n conditionsElements = conditions.filter(\n // Exclude first item\n function (c, index) {\n return 0 !== index;\n }).map(function (condition) {\n return wp.element.createElement(\"span\", {\n \"data-title\": __('And', 'jet-form-builder') + ':',\n dangerouslySetInnerHTML: {\n __html: (0,_helpers_humanReadableCondition__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(condition)\n }\n });\n });\n }\n return firstReadCondition ? wp.element.createElement(React.Fragment, null, wp.element.createElement(\"span\", {\n \"data-title\": __('If', 'jet-form-builder') + ':',\n dangerouslySetInnerHTML: {\n __html: firstReadCondition\n }\n }), Children.map(conditionsElements, cloneElement)) : showWarning && wp.element.createElement(\"span\", {\n \"data-title\": __('The condition is not fully configured.', 'jet-form-builder')\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HumanReadableConditions);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvY29tcG9uZW50cy9IdW1hblJlYWRhYmxlQ29uZGl0aW9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seVNldElubmVySFRNTD17IHtcclxuXHRcdFx0XHQgX19odG1sOiBmaXJzdFJlYWRDb25kaXRpb24sXHJcblx0XHRcdCB9IH1cclxuXHRcdCAvPlxyXG5cdFx0eyBDaGlsZHJlbi5tYXAoIGNvbmRpdGlvbnNFbGVtZW50cywgY2xvbmVFbGVtZW50ICkgfVxyXG5cdDwvPiA6IHNob3dXYXJuaW5nICYmIDxzcGFuXHJcblx0XHRkYXRhLXRpdGxlPXsgX18oXHJcblx0XHRcdCdUaGUgY29uZGl0aW9uIGlzIG5vdCBmdWxseSBjb25maWd1cmVkLicsXHJcblx0XHRcdCdqZXQtZm9ybS1idWlsZGVyJyxcclxuXHRcdCkgfVxyXG5cdC8+O1xyXG5cclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgSHVtYW5SZWFkYWJsZUNvbmRpdGlvbnM7Il0sIm5hbWVzIjpbImh1bWFuUmVhZGFibGVDb25kaXRpb24iLCJfXyIsIndwIiwiaTE4biIsIl93cCRlbGVtZW50IiwiZWxlbWVudCIsIkNoaWxkcmVuIiwiY2xvbmVFbGVtZW50IiwiSHVtYW5SZWFkYWJsZUNvbmRpdGlvbnMiLCJfcmVmIiwiY29uZGl0aW9ucyIsIl9yZWYkc2hvd1dhcm5pbmciLCJzaG93V2FybmluZyIsImNvbmRpdGlvbnNFbGVtZW50cyIsImZpcnN0UmVhZENvbmRpdGlvbiIsIkJvb2xlYW4iLCJsZW5ndGgiLCJmaWx0ZXIiLCJjIiwiaW5kZXgiLCJtYXAiLCJjb25kaXRpb24iLCJjcmVhdGVFbGVtZW50IiwiZGFuZ2Vyb3VzbHlTZXRJbm5lckhUTUwiLCJfX2h0bWwiLCJSZWFjdCIsIkZyYWdtZW50Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/block-conditions/components/HumanReadableConditions.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/components/RenderStateOptions.js": +/*!*******************************************************************!*\ + !*** ./package/block-conditions/components/RenderStateOptions.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _EditCustomRenderStates__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditCustomRenderStates */ \"./package/block-conditions/components/EditCustomRenderStates.js\");\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../tools */ \"./package/tools.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n BaseControl = _wp$components.BaseControl,\n FormTokenField = _wp$components.FormTokenField;\nvar __ = wp.i18n.__;\nvar useState = wp.element.useState;\nvar useSelect = wp.data.useSelect;\nvar RenderStateOptions = function RenderStateOptions(_ref) {\n var currentItem = _ref.currentItem,\n changeCurrentItem = _ref.changeCurrentItem;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n showModal = _useState2[0],\n setShowModal = _useState2[1];\n var renderStates = useSelect(function (select) {\n return (0,_tools__WEBPACK_IMPORTED_MODULE_1__.column)(select('jet-forms/block-conditions').getRenderStates(), 'value');\n }, [showModal]);\n // label={ }\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(BaseControl, {\n label: __('Render State', 'jet-form-builder'),\n className: 'control-flex'\n }, wp.element.createElement(\"div\", null, wp.element.createElement(\"label\", {\n className: 'jet-fb label mb-05-em'\n }, __('Add render state', 'jet-form-builder')), wp.element.createElement(\"div\", {\n className: 'jet-fb with-button clear-label'\n }, wp.element.createElement(FormTokenField, {\n value: currentItem.render_state,\n suggestions: renderStates,\n onChange: function onChange(render_state) {\n return changeCurrentItem({\n render_state: render_state\n });\n },\n tokenizeOnSpace: true,\n __experimentalExpandOnFocus: true\n }), wp.element.createElement(Button, {\n label: __('New render state', 'jet-form-builder'),\n variant: 'secondary',\n icon: 'plus-alt2',\n onClick: function onClick() {\n return setShowModal(true);\n }\n })))), showModal && wp.element.createElement(_EditCustomRenderStates__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n setShowModal: setShowModal,\n changeCurrentItem: changeCurrentItem,\n currentItem: currentItem\n }));\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RenderStateOptions);//# sourceUR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RlclN0YXRlcyIsImNvbHVtbiIsIl93cCRjb21wb25lbnRzIiwid3AiLCJjb21wb25lbnRzIiwiQnV0dG9uIiwiQmFzZUNvbnRyb2wiLCJGb3JtVG9rZW5GaWVsZCIsIl9fIiwiaTE4biIsInVzZVN0YXRlIiwiZWxlbWVudCIsInVzZVNlbGVjdCIsImRhdGEiLCJSZW5kZXJTdGF0ZU9wdGlvbnMiLCJfcmVmIiwiY3VycmVudEl0ZW0iLCJjaGFuZ2VDdXJyZW50SXRlbSIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJfc2xpY2VkVG9BcnJheSIsInNob3dNb2RhbCIsInNldFNob3dNb2RhbCIsInJlbmRlclN0YXRlcyIsInNlbGVjdCIsImdldFJlbmRlclN0YXRlcyIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50IiwibGFiZWwiLCJjbGFzc05hbWUiLCJ2YWx1ZSIsInJlbmRlcl9zdGF0ZSIsInN1Z2dlc3Rpb25zIiwib25DaGFuZ2UiLCJ0b2tlbml6ZU9uU3BhY2UiLCJfX2V4cGVyaW1lbnRhbEV4cGFuZE9uRm9jdXMiLCJ2YXJpYW50IiwiaWNvbiIsIm9uQ2xpY2siXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/block-conditions/components/RenderStateOptions.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/helpers/humanReadableCondition.js": +/*!********************************************************************!*\ + !*** ./package/block-conditions/helpers/humanReadableCondition.js ***! + \********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar select = wp.data.select;\n\n/**\r\n * @param condition\r\n * @return {boolean|string}\r\n */\nfunction humanReadableCondition(condition) {\n return select('jet-forms/block-conditions').readCondition(condition);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (humanReadableCondition);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvaGVscGVycy9odW1hblJlYWRhYmxlQ29uZGl0aW9uLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxNQUFNLEdBQ0hDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixNQUFNOztBQUdiO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsU0FBU0csc0JBQXNCQSxDQUFFQyxTQUFTLEVBQUc7RUFDNUMsT0FBT0osTUFBTSxDQUFFLDRCQUE2QixDQUFDLENBQUNLLGFBQWEsQ0FBRUQsU0FBVSxDQUFDO0FBQ3pFO0FBRUEsaUVBQWVELHNCQUFzQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYmxvY2stY29uZGl0aW9ucy9oZWxwZXJzL2h1bWFuUmVhZGFibGVDb25kaXRpb24uanM/MzBjYSJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCB7XHJcblx0ICAgICAgc2VsZWN0LFxyXG4gICAgICB9ID0gd3AuZGF0YTtcclxuXHJcbi8qKlxyXG4gKiBAcGFyYW0gY29uZGl0aW9uXHJcbiAqIEByZXR1cm4ge2Jvb2xlYW58c3RyaW5nfVxyXG4gKi9cclxuZnVuY3Rpb24gaHVtYW5SZWFkYWJsZUNvbmRpdGlvbiggY29uZGl0aW9uICkge1xyXG5cdHJldHVybiBzZWxlY3QoICdqZXQtZm9ybXMvYmxvY2stY29uZGl0aW9ucycgKS5yZWFkQ29uZGl0aW9uKCBjb25kaXRpb24gKTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgaHVtYW5SZWFkYWJsZUNvbmRpdGlvbjsiXSwibmFtZXMiOlsic2VsZWN0Iiwid3AiLCJkYXRhIiwiaHVtYW5SZWFkYWJsZUNvbmRpdGlvbiIsImNvbmRpdGlvbiIsInJlYWRDb25kaXRpb24iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/block-conditions/helpers/humanReadableCondition.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/hooks/useBlockConditions.js": +/*!**************************************************************!*\ + !*** ./package/block-conditions/hooks/useBlockConditions.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nvar useSelect = wp.data.useSelect;\n\n/**\r\n * @returns {{functions, operators}}\r\n */\nfunction useBlockConditions() {\n var _useSelect = useSelect(function (select) {\n return [select('jet-forms/block-conditions').getOperators(), select('jet-forms/block-conditions').getFunctions()];\n }, []),\n _useSelect2 = _slicedToArray(_useSelect, 2),\n operators = _useSelect2[0],\n functions = _useSelect2[1];\n return {\n operators: operators,\n functions: functions\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useBlockConditions);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvaG9va3MvdXNlQmxvY2tDb25kaXRpb25zLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFRQSxTQUFTLEdBQUtDLEVBQUUsQ0FBQ0MsSUFBSSxDQUFyQkYsU0FBUzs7QUFFakI7QUFDQTtBQUNBO0FBQ0EsU0FBU0csa0JBQWtCQSxDQUFBLEVBQUc7RUFDN0IsSUFBQUMsVUFBQSxHQUFpQ0osU0FBUyxDQUFFLFVBQUFLLE1BQU0sRUFBSTtNQUNyRCxPQUFPLENBQ05BLE1BQU0sQ0FBRSw0QkFBNkIsQ0FBQyxDQUFDQyxZQUFZLENBQUMsQ0FBQyxFQUNyREQsTUFBTSxDQUFFLDRCQUE2QixDQUFDLENBQUNFLFlBQVksQ0FBQyxDQUFDLENBQ3JEO0lBQ0YsQ0FBQyxFQUFFLEVBQUcsQ0FBQztJQUFBQyxXQUFBLEdBQUFDLGNBQUEsQ0FBQUwsVUFBQ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dGlvbnMiLCJfdXNlU2VsZWN0MiIsIl9zbGljZWRUb0FycmF5Iiwib3BlcmF0b3JzIiwiZnVuY3Rpb25zIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/block-conditions/hooks/useBlockConditions.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/store/actions.js": +/*!***************************************************!*\ + !*** ./package/block-conditions/store/actions.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/block-conditions/store/constants.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n register: function register(items) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].register,\n items: items\n };\n },\n addRenderState: function addRenderState(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addRenderState,\n item: item\n };\n },\n addRenderStates: function addRenderStates(items) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addRenderStates,\n items: items\n };\n },\n deleteRenderStates: function deleteRenderStates(items) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].deleteRenderStates,\n items: items\n };\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvc3RvcmUvYWN0aW9ucy5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFvQztBQUVwQyxpRUFBZTtFQUNkQyxRQUFRLFdBQUFBLFNBQUVDLEtBQUssRUFBRztJQUNqQixPQUFPO01BQ05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HJcblx0XHR9O1xyXG5cdH0sXHJcblx0YWRkUmVuZGVyU3RhdGVzKCBpdGVtcyApIHtcclxuXHRcdHJldHVybiB7XHJcblx0XHRcdHR5cGU6IGNvbnN0YW50cy5hZGRSZW5kZXJTdGF0ZXMsXHJcblx0XHRcdGl0ZW1zLFxyXG5cdFx0fTtcclxuXHR9LFxyXG5cdGRlbGV0ZVJlbmRlclN0YXRlcyggaXRlbXMgKSB7XHJcblx0XHRyZXR1cm4ge1xyXG5cdFx0XHR0eXBlOiBjb25zdGFudHMuZGVsZXRlUmVuZGVyU3RhdGVzLFxyXG5cdFx0XHRpdGVtcyxcclxuXHRcdH1cclxuXHR9XHJcblxyXG59OyJdLCJuYW1lcyI6WyJjb25zdGFudHMiLCJyZWdpc3RlciIsIml0ZW1zIiwidHlwZSIsImFkZFJlbmRlclN0YXRlIiwiaXRlbSIsImFkZFJlbmRlclN0YXRlcyIsImRlbGV0ZVJlbmRlclN0YXRlcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/block-conditions/store/actions.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/store/constants.js": +/*!*****************************************************!*\ + !*** ./package/block-conditions/store/constants.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n register: 'REGISTER',\n addRenderState: 'ADD_RENDER_STATE',\n addRenderStates: 'ADD_RENDER_STATES',\n deleteRenderStates: 'DELETE_RENDER_STATES'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvc3RvcmUvY29uc3RhbnRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxpRUFBZTtFQUNkQSxRQUFRLEVBQUUsVUFBVTtFQUNwQkMsY0FBYyxFQUFFLGtCQUFrQjtFQUNsQ0MsZUFBZSxFQUFFLG1CQUFtQjtFQUNwQ0Msa0JBQWtCLEVBQUU7QUFDckIsQ0FBQyIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYmxvY2stY29uZGl0aW9ucy9zdG9yZS9jb25zdGFudHMuanM/MWIzNCJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCB7XHJcblx0cmVnaXN0ZXI6ICdSRUdJU1RFUicsXHJcblx0YWRkUmVuZGVyU3RhdGU6ICdBRERfUkVOREVSX1NUQVRFJyxcclxuXHRhZGRSZW5kZXJTdGF0ZXM6ICdBRERfUkVOREVSX1NUQVRFUycsXHJcblx0ZGVsZXRlUmVuZGVyU3RhdGVzOiAnREVMRVRFX1JFTkRFUl9TVEFURVMnLFxyXG59XHJcblxyXG5cclxuIl0sIm5hbWVzIjpbInJlZ2lzdGVyIiwiYWRkUmVuZGVyU3RhdGUiLCJhZGRSZW5kZXJTdGF0ZXMiLCJkZWxldGVSZW5kZXJTdGF0ZXMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/block-conditions/store/constants.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/store/dispatchers.js": +/*!*******************************************************!*\ + !*** ./package/block-conditions/store/dispatchers.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/block-conditions/store/constants.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _dispatchers;\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\nvar doAction = wp.hooks.doAction;\nvar dispatchers = (_dispatchers = {}, _defineProperty(_dispatchers, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].register, function (state, action) {\n var _action$items = action.items,\n operators = _action$items.operators,\n functions = _action$items.functions,\n render_states = _action$items.render_states;\n state.operators = _toConsumableArray(operators);\n state.functions = _toConsumableArray(functions);\n state.renderStates = _toConsumableArray(render_states);\n doAction('jet.fb.change.blockConditions.renderState', state.renderStates);\n return state;\n}), _defineProperty(_dispatchers, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addRenderState, function (state, action) {\n state.renderStates.push(action.item);\n doAction('jet.fb.change.blockConditions.renderState', state.renderStates);\n return state;\n}), _defineProperty(_dispatchers, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].addRenderStates, function (state, action) {\n var _iterator = _createForOfIteratorHelper(action.items),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var item = _step.value;\n state.renderStates.push(item);\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n doAction('jet.fb.change.blockConditions.renderState', state.renderStates);\n return state;\n}), _defineProperty(_dispatchers, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].deleteRenderStates, function (state, action) {\n var items = Array.isArray(action.items) ? _toConsumableArray(action.items) : [action.items];\n state.renderStates = state.renderStates.filter(function (_ref) {\n var value = _ref.value;\n return !items.includes(value);\n });\n doAction('jet.fb.change.blockConditions.renderState', state.renderStates);\n return state;\n}), _dispatchers);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread({}, dispatchers));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvc3RvcmUvZGlzcGF0Y2hlcnMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFvQztBQUVwQyxJQUFRQyxRQUFRLEdBQUtDLEVBQUUsQ0FBQ0MsS0FBSyxDQUFyQkYsUUFBUTtBQUVoQixJQUFNRyxXQUFXLElBQUFDLFlBQUEsT0FBQUMsZUFBQSxDQUFBRCxZQUFBLEVBQ2RMLGtEQUFTLENBQUNPLFFBQVEsWU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lclN0YXRlcyxcclxuXHRcdCk7XHJcblxyXG5cdFx0cmV0dXJuIHN0YXRlO1xyXG5cdH0sXHJcbn07XHJcblxyXG5leHBvcnQgZGVmYXVsdCB7XHJcblx0Li4uZGlzcGF0Y2hlcnMsXHJcbn07Il0sIm5hbWVzIjpbImNvbnN0YW50cyIsImRvQWN0aW9uIiwid3AiLCJob29rcyIsImRpc3BhdGNoZXJzIiwiX2Rpc3BhdGNoZXJzIiwiX2RlZmluZVByb3BlcnR5IiwicmVnaXN0ZXIiLCJzdGF0ZSIsImFjdGlvbiIsIl9hY3Rpb24kaXRlbXMiLCJpdGVtcyIsIm9wZXJhdG9ycyIsImZ1bmN0aW9ucyIsInJlbmRlcl9zdGF0ZXMiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJyZW5kZXJTdGF0ZXMiLCJhZGRSZW5kZXJTdGF0ZSIsInB1c2giLCJpdGVtIiwiYWRkUmVuZGVyU3RhdGVzIiwiX2l0ZXJhdG9yIiwiX2NyZWF0ZUZvck9mSXRlcmF0b3JIZWxwZXIiLCJfc3RlcCIsInMiLCJuIiwiZG9uZSIsInZhbHVlIiwiZXJyIiwiZSIsImYiLCJkZWxldGVSZW5kZXJTdGF0ZXMiLCJBcnJheSIsImlzQXJyYXkiLCJmaWx0ZXIiLCJfcmVmIiwiaW5jbHVkZXMiLCJfb2JqZWN0U3ByZWFkIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/block-conditions/store/dispatchers.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/store/index.js": +/*!*************************************************!*\ + !*** ./package/block-conditions/store/index.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ \"./package/block-conditions/store/reducer.js\");\n/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ \"./package/block-conditions/store/actions.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ \"./package/block-conditions/store/selectors.js\");\n\n\n\nvar createReduxStore = wp.data.createReduxStore;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReduxStore('jet-forms/block-conditions', {\n reducer: _reducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n actions: _actions__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n selectors: _selectors__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvc3RvcmUvaW5kZXguanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFnQztBQUNBO0FBQ0k7QUFFcEMsSUFBUUcsZ0JBQWdCLEdBQUtDLEVBQUUsQ0FBQ0MsSUFBSSxDQUE1QkYsZ0JBQWdCO0FBRXhCLGlFQUFlQSxnQkFBZ0IsQ0FBRSw0QkFBNEIsRUFBRTtFQUM5REgsT0FBTyxFQUFQQSxnREFBTztFQUNQQyxPQUFPLEVBQVBBLGdEQUFPO0VBQ1BDLFNBQVMsRUFBVEEsa0RBQVNBO0FBQ1YsQ0FBRSxDQUFDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9ibG9jay1jb25kaXRpb25zL3N0b3JlL2luZGV4LmpzP2QwN2QiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHJlZHVjZXIgZnJvbSAnLi9yZWR1Y2VyJztcclxuaW1wb3J0IGFjdGlvbnMgZnJvbSAnLi9hY3Rpb25zJztcclxuaW1wb3J0IHNlbGVjdG9ycyBmcm9tICcuL3NlbGVjdG9ycyc7XHJcblxyXG5jb25zdCB7IGNyZWF0ZVJlZHV4U3RvcmUgfSA9IHdwLmRhdGE7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBjcmVhdGVSZWR1eFN0b3JlKCAnamV0LWZvcm1zL2Jsb2NrLWNvbmRpdGlvbnMnLCB7XHJcblx0cmVkdWNlcixcclxuXHRhY3Rpb25zLFxyXG5cdHNlbGVjdG9ycyxcclxufSApO1xyXG4iXSwibmFtZXMiOlsicmVkdWNlciIsImFjdGlvbnMiLCJzZWxlY3RvcnMiLCJjcmVhdGVSZWR1eFN0b3JlIiwid3AiLCJkYXRhIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/block-conditions/store/index.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/store/reducer.js": +/*!***************************************************!*\ + !*** ./package/block-conditions/store/reducer.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _dispatchers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dispatchers */ \"./package/block-conditions/store/dispatchers.js\");\n/* harmony import */ var _preset_helpers_humanReadablePreset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../preset/helpers/humanReadablePreset */ \"./package/preset/helpers/humanReadablePreset.js\");\n\n\nvar select = wp.data.select;\nvar __ = wp.i18n.__;\nvar emptyCondition = function emptyCondition(condition) {\n var operatorOptions = select('jet-forms/block-conditions').getOperator(condition === null || condition === void 0 ? void 0 : condition.operator);\n if (!operatorOptions) {\n return '';\n }\n var field = (condition === null || condition === void 0 ? void 0 : condition.field) || '(no field)';\n return [\"\".concat(field, \"\"), operatorOptions.label].join(' ');\n};\nvar DEFAULT_STATE = {\n functions: [],\n operators: [],\n conditionReaders: {\n default: function _default(condition) {\n var operatorOptions = select('jet-forms/block-conditions').getOperator(condition === null || condition === void 0 ? void 0 : condition.operator);\n if (!operatorOptions) {\n return '';\n }\n var field = (condition === null || condition === void 0 ? void 0 : condition.field) || '(no field)';\n var value = (0,_preset_helpers_humanReadablePreset__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(condition.value, 'b') || '(no value)';\n return [\"\".concat(field, \"\"), operatorOptions.label, \"\".concat(value, \"\")].join(' ');\n },\n empty: emptyCondition,\n not_empty: emptyCondition,\n render_state: function render_state(condition) {\n var _condition$render_sta;\n var states = ((_condition$render_sta = condition === null || condition === void 0 ? void 0 : condition.render_state) !== null && _condition$render_sta !== void 0 ? _condition$render_sta : []).map(function (current) {\n return \"\".concat(current, \"\");\n });\n var label = 1 === states.length ? __('Is render state', 'jet-form-builder') : __('One of the render states', 'jet-form-builder');\n return [label, states.join(', ')].join(': ');\n }\n },\n renderStates: []\n};\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n var callback = _dispatchers__WEBPACK_IMPORTED_MODULE_0__[\"default\"][action === null || action === void 0 ? void 0 : action.type];\n if (callback) {\n return callback(state, action);\n }\n return state;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvc3RvcmUvcmVkdWNlci5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBd0M7QUFDbUM7QUFFM0UsSUFDT0UsTUFBTSxHQUNIQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsTUFBTTtBQUViLElBQ09HLEVBQUUsR0FDQ0YsRUFBRS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xuXHRcdHJldHVybiBjYWxsYmFjayggc3RhdGUsIGFjdGlvbiApO1xyXG5cdH1cclxuXHJcblx0cmV0dXJuIHN0YXRlO1xyXG59Il0sIm5hbWVzIjpbImRpc3BhdGNoZXJzIiwiaHVtYW5SZWFkYWJsZVByZXNldCIsInNlbGVjdCIsIndwIiwiZGF0YSIsIl9fIiwiaTE4biIsImVtcHR5Q29uZGl0aW9uIiwiY29uZGl0aW9uIiwib3BlcmF0b3JPcHRpb25zIiwiZ2V0T3BlcmF0b3IiLCJvcGVyYXRvciIsImZpZWxkIiwiY29uY2F0IiwibGFiZWwiLCJqb2luIiwiREVGQVVMVF9TVEFURSIsImZ1bmN0aW9ucyIsIm9wZXJhdG9ycyIsImNvbmRpdGlvblJlYWRlcnMiLCJkZWZhdWx0IiwiX2RlZmF1bHQiLCJ2YWx1ZSIsImVtcHR5Iiwibm90X2VtcHR5IiwicmVuZGVyX3N0YXRlIiwiX2NvbmRpdGlvbiRyZW5kZXJfc3RhIiwic3RhdGVzIiwibWFwIiwiY3VycmVudCIsImxlbmd0aCIsInJlbmRlclN0YXRlcyIsInN0YXRlIiwiYXJndW1lbnRzIiwidW5kZWZpbmVkIiwiYWN0aW9uIiwiY2FsbGJhY2siLCJ0eXBlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/block-conditions/store/reducer.js\n"); + +/***/ }), + +/***/ "./package/block-conditions/store/selectors.js": +/*!*****************************************************!*\ + !*** ./package/block-conditions/store/selectors.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar selectors = {\n getFunctions: function getFunctions(state) {\n return state.functions;\n },\n getOperators: function getOperators(state) {\n return state.operators;\n },\n getRenderStates: function getRenderStates(state) {\n return state.renderStates;\n },\n getSwitchableRenderStates: function getSwitchableRenderStates(state) {\n return state.renderStates.filter(function (_ref) {\n var _ref$is_custom = _ref.is_custom,\n is_custom = _ref$is_custom === void 0 ? false : _ref$is_custom,\n _ref$can_be_switched = _ref.can_be_switched,\n can_be_switched = _ref$can_be_switched === void 0 ? false : _ref$can_be_switched;\n return is_custom || can_be_switched;\n });\n },\n getCustomRenderStates: function getCustomRenderStates(state) {\n return state.renderStates.filter(function (_ref2) {\n var _ref2$is_custom = _ref2.is_custom,\n is_custom = _ref2$is_custom === void 0 ? false : _ref2$is_custom;\n return is_custom;\n });\n },\n getOperator: function getOperator(state, operator) {\n var index = state.operators.findIndex(function (_ref3) {\n var value = _ref3.value;\n return value === operator;\n });\n if (-1 === index) {\n return false;\n }\n return state.operators[index];\n },\n readCondition: function readCondition(state, condition) {\n var _state$conditionReade;\n var _condition$operator = condition.operator,\n operator = _condition$operator === void 0 ? '' : _condition$operator;\n if (!operator) {\n return '';\n }\n\n /**\r\n * @type {Function}\r\n */\n var callback = (_state$conditionReade = state.conditionReaders[operator]) !== null && _state$conditionReade !== void 0 ? _state$conditionReade : false;\n if ('function' === typeof callback) {\n return callback(condition);\n }\n return state.conditionReaders.default(condition);\n },\n getFunction: function getFunction(state, funcType) {\n return state.functions.find(function (_ref4) {\n var value = _ref4.value;\n return value === funcType;\n });\n },\n getFunctionDisplay: function getFunctionDisplay(state, funcType) {\n var _selectors$getFunctio;\n return (_selectors$getFunctio = selectors.getFunction(state, funcType)) === null || _selectors$getFunctio === void 0 ? void 0 : _selectors$getFunctio.display;\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread({}, selectors));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2NrLWNvbmRpdGlvbnMvc3RvcmUvc2VsZWN0b3JzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFNQSxTQUFTLEdBQUc7RUFDakJDLFlBQVksV0FBQUEsYUFBRUMsS0FBSyxFQUFHO0lBQ3JCLE9BQU9BLEtBQUssQ0FBQ0MsU0FBUztFQUN2QixDQUFDO0VBQ0RDLFlBQVksV0FBQUEsYUFBRUYsS0FBSyx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IsImRlZmF1bHQiLCJnZXRGdW5jdGlvbiIsImZ1bmNUeXBlIiwiZmluZCIsIl9yZWY0IiwiZ2V0RnVuY3Rpb25EaXNwbGF5IiwiX3NlbGVjdG9ycyRnZXRGdW5jdGlvIiwiZGlzcGxheSIsIl9vYmplY3RTcHJlYWQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/block-conditions/store/selectors.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/AdvancedFields.js": +/*!*****************************************************!*\ + !*** ./package/blocks/components/AdvancedFields.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _BlockPlaceholder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BlockPlaceholder */ \"./package/blocks/components/BlockPlaceholder.js\");\n/* harmony import */ var _BlockAddPrevButton__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BlockAddPrevButton */ \"./package/blocks/components/BlockAddPrevButton.js\");\n/* harmony import */ var _BlockPrevButtonLabel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BlockPrevButtonLabel */ \"./package/blocks/components/BlockPrevButtonLabel.js\");\n/* harmony import */ var _BlockVisibility__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BlockVisibility */ \"./package/blocks/components/BlockVisibility.js\");\n/* harmony import */ var _BlockClassName__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./BlockClassName */ \"./package/blocks/components/BlockClassName.js\");\n\n\n\n\n\nvar __ = wp.i18n.__;\nvar InspectorControls = wp.blockEditor.InspectorControls;\nfunction AdvancedFields() {\n return wp.element.createElement(InspectorControls, {\n group: \"advanced\"\n }, wp.element.createElement(_BlockPlaceholder__WEBPACK_IMPORTED_MODULE_0__[\"default\"], null), wp.element.createElement(_BlockAddPrevButton__WEBPACK_IMPORTED_MODULE_1__[\"default\"], null), wp.element.createElement(_BlockPrevButtonLabel__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null), wp.element.createElement(_BlockVisibility__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null), wp.element.createElement(_BlockClassName__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AdvancedFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0FkdmFuY2VkRmllbGRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFrRDtBQUNJO0FBQ0k7QUFDVjtBQUNGO0FBRTlDLElBQ09LLEVBQUUsR0FDQ0MsRUFBRSxDQUFDQyxJQUFJLENBRFZGLEVBQUU7QUFHVCxJQUNPRyxpQkFBaUIsR0FDZEYsRUFBRSxDQUFDRyxXQUFXLENBRGpCRCxpQkFBaUI7QUFHeEIsU0FBU0UsY0FBY0EsQ0FBQSxFQUFHO0VBQ3pCLE9BQU9KLEVBQUEsQ0FBQUssT0FBQSxDQUFBQyxhQUFBLENBQUNKLGlCQUFpQjtJQUFDSyxLQUFLLEVBQUM7RUFBVSxHQUN6Q1AsRUFBQSxDQUFBSyxPQUFBLENBQUFDLGFBQUEsQ0FBQ1oseURBQWdCLE1BQUMsQ0FBQyxFQUNuQk0sRUFBQSxDQUFBSyxPQUFBLENBQUFDLGFBQUEsQ0FBQ1gsMkRBQWtCLE1BQUMsQ0FBQyxFQUNyQkssRUFBQSxDQUFBSyxPQUFBLENBQUFDLGFBQUEsQ0FBQ1YsNkRBQW9CLE1BQUMsQ0FBQyxFQUN2QkksRUFBQSxDQUFBSyxPQUFBLENBQUFDLG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aWxpdHkvPlxyXG5cdFx0PEJsb2NrQ2xhc3NOYW1lLz5cclxuXHQ8L0luc3BlY3RvckNvbnRyb2xzPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWR2YW5jZWRGaWVsZHM7Il0sIm5hbWVzIjpbIkJsb2NrUGxhY2Vob2xkZXIiLCJCbG9ja0FkZFByZXZCdXR0b24iLCJCbG9ja1ByZXZCdXR0b25MYWJlbCIsIkJsb2NrVmlzaWJpbGl0eSIsIkJsb2NrQ2xhc3NOYW1lIiwiX18iLCJ3cCIsImkxOG4iLCJJbnNwZWN0b3JDb250cm9scyIsImJsb2NrRWRpdG9yIiwiQWR2YW5jZWRGaWVsZHMiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImdyb3VwIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/AdvancedFields.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/AttributeHelp.js": +/*!****************************************************!*\ + !*** ./package/blocks/components/AttributeHelp.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _components_BaseHelp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../components/BaseHelp */ \"./package/components/BaseHelp.js\");\n\nvar useBlockEditContext = wp.blockEditor.useBlockEditContext;\nvar useSelect = wp.data.useSelect;\nvar __ = wp.i18n.__;\nfunction AttributeHelp(_ref) {\n var _ref$name = _ref.name,\n name = _ref$name === void 0 ? false : _ref$name,\n _ref$children = _ref.children,\n children = _ref$children === void 0 ? null : _ref$children;\n var _useBlockEditContext = useBlockEditContext(),\n blockName = _useBlockEditContext.name;\n var settings = useSelect(function (select) {\n var _block$attributes$nam, _block$attributes$nam2;\n if (false === name) {\n return false;\n }\n var block = select('core/blocks').getBlockType(blockName);\n return (_block$attributes$nam = (_block$attributes$nam2 = block.attributes[name]) === null || _block$attributes$nam2 === void 0 ? void 0 : _block$attributes$nam2.jfb) !== null && _block$attributes$nam !== void 0 ? _block$attributes$nam : false;\n }, [blockName, name]);\n if (!settings) {\n return Boolean(children) && wp.element.createElement(_components_BaseHelp__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n className: \"jet-fb mb-24\"\n }, children);\n }\n return wp.element.createElement(_components_BaseHelp__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n className: \"jet-fb mb-24\"\n }, children, (settings === null || settings === void 0 ? void 0 : settings.shortcode) && !children && wp.element.createElement(\"span\", null, \"\\xA0\", __('You can use shortcodes here.', 'jet-form-builder')), (settings === null || settings === void 0 ? void 0 : settings.shortcode) && children && wp.element.createElement(\"span\", null, \"\\xA0\", __('You can also use short codes here.', 'jet-form-builder')));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AttributeHelp);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0F0dHJpYnV0ZUhlbHAuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBaUQ7QUFFakQsSUFDT0MsbUJBQW1CLEdBQ2hCQyxFQUFFLENBQUNDLFdBQVcsQ0FEakJGLG1CQUFtQjtBQUcxQixJQUNPRyxTQUFTLEdBQ05GLEVBQUUsQ0FBQ0csSUFBSSxDQURWRCxTQUFTO0FBR2hCLElBQ09FLEVBQUUsR0FDQ0osRUFBRSxDQUFDSyxJQUFJLENBRFZELEVBQUU7QUFHVCxTQUFTRSxhQUFhQSxDQUFBQyxJQUFBLEVBQXNDO0VBQUEsSUFBQUMsU0FBQSxHQUFBRCxJQUFBLENBQWxDRSxJQUFJO0lBQUpBLElBQUksR0FBQUQ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XG5cdFx0XHRcdCdZb3UgY2FuIGFsc28gdXNlIHNob3J0IGNvZGVzIGhlcmUuJyxcclxuXHRcdFx0XHQnamV0LWZvcm0tYnVpbGRlcicsXHJcblx0XHRcdCkgfTwvc3Bhbj5cclxuXHRcdCkgfVxyXG5cdDwvQmFzZUhlbHA+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBBdHRyaWJ1dGVIZWxwOyJdLCJuYW1lcyI6WyJCYXNlSGVscCIsInVzZUJsb2NrRWRpdENvbnRleHQiLCJ3cCIsImJsb2NrRWRpdG9yIiwidXNlU2VsZWN0IiwiZGF0YSIsIl9fIiwiaTE4biIsIkF0dHJpYnV0ZUhlbHAiLCJfcmVmIiwiX3JlZiRuYW1lIiwibmFtZSIsIl9yZWYkY2hpbGRyZW4iLCJjaGlsZHJlbiIsIl91c2VCbG9ja0VkaXRDb250ZXh0IiwiYmxvY2tOYW1lIiwic2V0dGluZ3MiLCJzZWxlY3QiLCJfYmxvY2skYXR0cmlidXRlcyRuYW0iLCJfYmxvY2skYXR0cmlidXRlcyRuYW0yIiwiYmxvY2siLCJnZXRCbG9ja1R5cGUiLCJhdHRyaWJ1dGVzIiwiamZiIiwiQm9vbGVhbiIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiY2xhc3NOYW1lIiwic2hvcnRjb2RlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/AttributeHelp.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockAddPrevButton.js": +/*!*********************************************************!*\ + !*** ./package/blocks/components/BlockAddPrevButton.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar __ = wp.i18n.__;\nvar ToggleControl = wp.components.ToggleControl;\nfunction BlockAddPrevButton(_ref) {\n var label = _ref.label,\n help = _ref.help;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n if (!(0,_hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__[\"default\"])('add_prev')) {\n return null;\n }\n return wp.element.createElement(ToggleControl, {\n label: label !== null && label !== void 0 ? label : __('Add Prev Page Button', 'jet-form-builder'),\n help: help !== null && help !== void 0 ? help : __(\"It is recommended to use the \\\"Action Button\\\" block \\n\\t\\t\\twith the \\\"Go to Prev Page\\\" type\", 'jet-form-builder'),\n checked: attributes.add_prev,\n onChange: function onChange(add_prev) {\n return setAttributes({\n add_prev: add_prev\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlockAddPrevButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0Jsb2NrQWRkUHJldkJ1dHRvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBNkQ7QUFDQztBQUU5RCxJQUNPRSxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBRVQsSUFDT0csYUFBYSxHQUNWRixFQUFFLENBQUNHLFVBQVUsQ0FEaEJELGFBQWE7QUFHcEIsU0FBU0Usa0JBQWtCQSxDQUFBQyxJQUFBLEVBQW9CO0VBQUEsSUFBaEJDLEtBQUssR0FBQUQsSUFBQSxDQUFMQyxLQUFLO0lBQUVDLElBQUksR0FBQUYsSUFBQSxDQUFKRSxJQUFJO0VBQ3pDLElBQUFDLG1CQUFBLEdBR1VYLHFFQUFrQixDQUFDLENBQUM7SUFBQVksb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JfXyIsIndwIiwiaTE4biIsIlRvZ2dsZUNvbnRyb2wiLCJjb21wb25lbnRzIiwiQmxvY2tBZGRQcmV2QnV0dG9uIiwiX3JlZiIsImxhYmVsIiwiaGVscCIsIl91c2VCbG9ja0F0dHJpYnV0ZXMiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzMiIsIl9zbGljZWRUb0FycmF5IiwiYXR0cmlidXRlcyIsInNldEF0dHJpYnV0ZXMiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImNoZWNrZWQiLCJhZGRfcHJldiIsIm9uQ2hhbmdlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockAddPrevButton.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockAdvancedValue.js": +/*!*********************************************************!*\ + !*** ./package/blocks/components/BlockAdvancedValue.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _BlockDefaultValue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BlockDefaultValue */ \"./package/blocks/components/BlockDefaultValue.js\");\n/* harmony import */ var _dynamic_value_components_DynamicValues__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../dynamic.value/components/DynamicValues */ \"./package/dynamic.value/components/DynamicValues.js\");\nvar _excluded = [\"help\", \"label\", \"hasMacro\"];\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n\nfunction BlockAdvancedValue(_ref) {\n var help = _ref.help,\n label = _ref.label,\n _ref$hasMacro = _ref.hasMacro,\n hasMacro = _ref$hasMacro === void 0 ? true : _ref$hasMacro,\n props = _objectWithoutProperties(_ref, _excluded);\n return wp.element.createElement(\"div\", props, wp.element.createElement(_BlockDefaultValue__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n help: help,\n label: label,\n hasMacro: hasMacro\n }), wp.element.createElement(\"hr\", null), wp.element.createElement(_dynamic_value_components_DynamicValues__WEBPACK_IMPORTED_MODULE_1__[\"default\"], null));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlockAdvancedValue);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0Jsb2NrQWR2YW5jZWRWYWx1ZS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBb0Q7QUFDcUI7QUFFekUsU0FBU0Usa0JBQWtCQSxDQUFBQyxJQUFBLEVBQStDO0VBQUEsSUFBM0NDLElBQUksR0FBQUQsSUFBQSxDQUFKQyxJQUFJO0lBQUVDLEtBQUssR0FBQUYsSUFBQSxDQUFMRSxLQUFLO0lBQUFDLGFBQUEsR0FBQUgsSUFBQSxDQUFFSSxRQUFRO0lBQVJBLFFBQVEsR0FBQUQsYUFBQSxjQUFHLElBQUksR0FBQUEsYUFBQTtJQUFLRSxLQUFLLEdBQUFDLHdCQUFBLENBQUFOLElBQUEsRUFBQU8sU0FBQTtFQUNwRSxPQUFPQyxFQUFB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cdDwvZGl2PjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQmxvY2tBZHZhbmNlZFZhbHVlOyJdLCJuYW1lcyI6WyJCbG9ja0RlZmF1bHRWYWx1ZSIsIkR5bmFtaWNWYWx1ZXMiLCJCbG9ja0FkdmFuY2VkVmFsdWUiLCJfcmVmIiwiaGVscCIsImxhYmVsIiwiX3JlZiRoYXNNYWNybyIsImhhc01hY3JvIiwicHJvcHMiLCJfb2JqZWN0V2l0aG91dFByb3BlcnRpZXMiLCJfZXhjbHVkZWQiLCJ3cCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockAdvancedValue.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockClassName.js": +/*!*****************************************************!*\ + !*** ./package/blocks/components/BlockClassName.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar __ = wp.i18n.__;\nvar TextControl = wp.components.TextControl;\nfunction BlockClassName(_ref) {\n var label = _ref.label,\n help = _ref.help;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n return wp.element.createElement(TextControl, {\n label: label !== null && label !== void 0 ? label : __(\"CSS Class Name\", 'jet-form-builder'),\n value: attributes.class_name,\n help: help !== null && help !== void 0 ? help : '',\n onChange: function onChange(class_name) {\n return setAttributes({\n class_name: class_name\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlockClassName);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0Jsb2NrQ2xhc3NOYW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czIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJzZXRBdHRyaWJ1dGVzIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJ2YWx1ZSIsImNsYXNzX25hbWUiLCJvbkNoYW5nZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockClassName.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockDefaultValue.js": +/*!********************************************************!*\ + !*** ./package/blocks/components/BlockDefaultValue.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _components_AdvancedInspectorControl__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../components/AdvancedInspectorControl */ \"./package/components/AdvancedInspectorControl.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\n/* harmony import */ var _macros_button_components_ClientSideMacros__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../macros.button/components/ClientSideMacros */ \"./package/macros.button/components/ClientSideMacros.js\");\n/* harmony import */ var _macros_button_hooks_useInsertMacro__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../macros.button/hooks/useInsertMacro */ \"./package/macros.button/hooks/useInsertMacro.js\");\n/* harmony import */ var _AttributeHelp__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./AttributeHelp */ \"./package/blocks/components/AttributeHelp.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\n\n\nvar __ = wp.i18n.__;\nvar TextControl = wp.components.TextControl;\nfunction BlockDefaultValue(_ref) {\n var label = _ref.label,\n help = _ref.help,\n _ref$hasMacro = _ref.hasMacro,\n hasMacro = _ref$hasMacro === void 0 ? true : _ref$hasMacro;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var _useInsertMacro = (0,_macros_button_hooks_useInsertMacro__WEBPACK_IMPORTED_MODULE_4__[\"default\"])('default'),\n _useInsertMacro2 = _slicedToArray(_useInsertMacro, 2),\n input = _useInsertMacro2[0],\n updateInput = _useInsertMacro2[1];\n if (!(0,_hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_2__[\"default\"])('default')) {\n return null;\n }\n return wp.element.createElement(_macros_button_components_ClientSideMacros__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, wp.element.createElement(_components_AdvancedInspectorControl__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n value: attributes.default,\n label: label !== null && label !== void 0 ? label : __('Default Value', 'jet-form-builder'),\n onChangePreset: function onChangePreset(val) {\n return setAttributes({\n default: val\n });\n },\n onChangeMacros: hasMacro ? updateInput : false\n }, function (_ref2) {\n var instanceId = _ref2.instanceId;\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(TextControl, {\n ref: input,\n id: instanceId,\n value: attributes.default,\n className: \"jet-fb m-unset\",\n onChange: function onChange(val) {\n return setAttributes({\n default: val\n });\n }\n }), wp.element.createElement(_AttributeHelp__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n name: \"default\"\n }, help !== null && help !== void 0 ? help : ''));\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlockDefaultValue);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0Jsb2NrRGVmYXVsdFZhbHVlLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBNkQ7QUFFWDtBQUNZO0FBQ2lCO0FBQ1Q7QUFDMUI7QUFFNUMsSUFDT00sRUFBRS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eyBoZWxwID8/ICcnIH1cclxuXHRcdFx0XHRcdDwvQXR0cmlidXRlSGVscD5cclxuXHRcdFx0XHQ8Lz47XHJcblx0XHRcdH0gfVxyXG5cdFx0PC9BZHZhbmNlZEluc3BlY3RvckNvbnRyb2w+XHJcblx0PC9DbGllbnRTaWRlTWFjcm9zPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQmxvY2tEZWZhdWx0VmFsdWU7Il0sIm5hbWVzIjpbInVzZUJsb2NrQXR0cmlidXRlcyIsIkFkdmFuY2VkSW5zcGVjdG9yQ29udHJvbCIsInVzZUlzSGFzQXR0cmlidXRlIiwiQ2xpZW50U2lkZU1hY3JvcyIsInVzZUluc2VydE1hY3JvIiwiQXR0cmlidXRlSGVscCIsIl9fIiwid3AiLCJpMThuIiwiVGV4dENvbnRyb2wiLCJjb21wb25lbnRzIiwiQmxvY2tEZWZhdWx0VmFsdWUiLCJfcmVmIiwibGFiZWwiLCJoZWxwIiwiX3JlZiRoYXNNYWNybyIsImhhc01hY3JvIiwiX3VzZUJsb2NrQXR0cmlidXRlcyIsIl91c2VCbG9ja0F0dHJpYnV0ZXMyIiwiX3NsaWNlZFRvQXJyYXkiLCJhdHRyaWJ1dGVzIiwic2V0QXR0cmlidXRlcyIsIl91c2VJbnNlcnRNYWNybyIsIl91c2VJbnNlcnRNYWNybzIiLCJpbnB1dCIsInVwZGF0ZUlucHV0IiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJ2YWx1ZSIsImRlZmF1bHQiLCJvbkNoYW5nZVByZXNldCIsInZhbCIsIm9uQ2hhbmdlTWFjcm9zIiwiX3JlZjIiLCJpbnN0YW5jZUlkIiwiUmVhY3QiLCJGcmFnbWVudCIsInJlZiIsImlkIiwiY2xhc3NOYW1lIiwib25DaGFuZ2UiLCJuYW1lIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockDefaultValue.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockDescription.js": +/*!*******************************************************!*\ + !*** ./package/blocks/components/BlockDescription.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\n/* harmony import */ var _AttributeHelp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AttributeHelp */ \"./package/blocks/components/AttributeHelp.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\nvar __ = wp.i18n.__;\nvar TextControl = wp.components.TextControl;\nfunction BlockDescription(_ref) {\n var label = _ref.label,\n help = _ref.help;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n if (!(0,_hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__[\"default\"])('desc')) {\n return null;\n }\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(TextControl, {\n label: label !== null && label !== void 0 ? label : __('Field Description', 'jet-form-builder'),\n value: attributes.desc,\n className: \"jet-fb m-unset\",\n onChange: function onChange(desc) {\n return setAttributes({\n desc: desc\n });\n }\n }), wp.element.createElement(_AttributeHelp__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n name: \"desc\"\n }, help !== null && help !== void 0 ? help : ''));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlockDescription);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0Jsb2NrRGVzY3JpcHRpb24uanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUE2RDtBQUNDO0FBQ2xCO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WJlbCA/PyBfXyggJ0ZpZWxkIERlc2NyaXB0aW9uJywgJ2pldC1mb3JtLWJ1aWxkZXInICkgfVxyXG5cdFx0XHR2YWx1ZT17IGF0dHJpYnV0ZXMuZGVzYyB9XHJcblx0XHRcdGNsYXNzTmFtZT1cImpldC1mYiBtLXVuc2V0XCJcclxuXHRcdFx0b25DaGFuZ2U9eyBkZXNjID0+IHNldEF0dHJpYnV0ZXMoIHsgZGVzYyB9ICkgfVxyXG5cdFx0Lz5cclxuXHRcdDxBdHRyaWJ1dGVIZWxwIG5hbWU9XCJkZXNjXCI+XHJcblx0XHRcdHsgaGVscCA/PyAnJyB9XHJcblx0XHQ8L0F0dHJpYnV0ZUhlbHA+XHJcblx0PC8+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBCbG9ja0Rlc2NyaXB0aW9uOyJdLCJuYW1lcyI6WyJ1c2VCbG9ja0F0dHJpYnV0ZXMiLCJ1c2VJc0hhc0F0dHJpYnV0ZSIsIkF0dHJpYnV0ZUhlbHAiLCJfXyIsIndwIiwiaTE4biIsIlRleHRDb250cm9sIiwiY29tcG9uZW50cyIsIkJsb2NrRGVzY3JpcHRpb24iLCJfcmVmIiwibGFiZWwiLCJoZWxwIiwiX3VzZUJsb2NrQXR0cmlidXRlcyIsIl91c2VCbG9ja0F0dHJpYnV0ZXMyIiwiX3NsaWNlZFRvQXJyYXkiLCJhdHRyaWJ1dGVzIiwic2V0QXR0cmlidXRlcyIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiUmVhY3QiLCJGcmFnbWVudCIsInZhbHVlIiwiZGVzYyIsImNsYXNzTmFtZSIsIm9uQ2hhbmdlIiwibmFtZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockDescription.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockLabel.js": +/*!*************************************************!*\ + !*** ./package/blocks/components/BlockLabel.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _helpers_ChangeNameByLabel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/ChangeNameByLabel */ \"./package/blocks/helpers/ChangeNameByLabel.js\");\n/* harmony import */ var _AttributeHelp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AttributeHelp */ \"./package/blocks/components/AttributeHelp.js\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\nvar __ = wp.i18n.__;\nvar TextControl = wp.components.TextControl;\nvar _wp$compose = wp.compose,\n __experimentalUseFocusOutside = _wp$compose.__experimentalUseFocusOutside,\n useFocusOutside = _wp$compose.useFocusOutside;\nuseFocusOutside = useFocusOutside || __experimentalUseFocusOutside;\nfunction BlockLabel(_ref) {\n var label = _ref.label,\n help = _ref.help;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n function onBlurLabel() {\n (0,_helpers_ChangeNameByLabel__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(attributes, setAttributes);\n }\n var ref = useFocusOutside(onBlurLabel);\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(TextControl, _extends({\n label: label !== null && label !== void 0 ? label : __('Field Label', 'jet-form-builder'),\n className: \"jet-fb m-unset\",\n value: attributes.label,\n onChange: function onChange(label) {\n return setAttributes({\n label: label\n });\n }\n }, ref)), wp.element.createElement(_AttributeHelp__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n name: \"label\"\n }, help !== null && help !== void 0 ? help : ''));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXP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cblx0XHRcdHsgLi4ucmVmIH1cclxuXHRcdC8+XHJcblx0XHQ8QXR0cmlidXRlSGVscCBuYW1lPVwibGFiZWxcIj5cclxuXHRcdFx0eyBoZWxwID8/ICcnIH1cclxuXHRcdDwvQXR0cmlidXRlSGVscD5cclxuXHQ8Lz47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEJsb2NrTGFiZWw7Il0sIm5hbWVzIjpbInVzZUJsb2NrQXR0cmlidXRlcyIsIkNoYW5nZU5hbWVCeUxhYmVsIiwiQXR0cmlidXRlSGVscCIsIl9fIiwid3AiLCJpMThuIiwiVGV4dENvbnRyb2wiLCJjb21wb25lbnRzIiwiX3dwJGNvbXBvc2UiLCJjb21wb3NlIiwiX19leHBlcmltZW50YWxVc2VGb2N1c091dHNpZGUiLCJ1c2VGb2N1c091dHNpZGUiLCJCbG9ja0xhYmVsIiwiX3JlZiIsImxhYmVsIiwiaGVscCIsIl91c2VCbG9ja0F0dHJpYnV0ZXMiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzMiIsIl9zbGljZWRUb0FycmF5IiwiYXR0cmlidXRlcyIsInNldEF0dHJpYnV0ZXMiLCJvbkJsdXJMYWJlbCIsInJlZiIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiUmVhY3QiLCJGcmFnbWVudCIsIl9leHRlbmRzIiwiY2xhc3NOYW1lIiwidmFsdWUiLCJvbkNoYW5nZSIsIm5hbWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockLabel.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockName.js": +/*!************************************************!*\ + !*** ./package/blocks/components/BlockName.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\n/* harmony import */ var _hooks_useIsUniqueFieldName__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks/useIsUniqueFieldName */ \"./package/blocks/hooks/useIsUniqueFieldName.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\nvar __ = wp.i18n.__;\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n Icon = _wp$components.Icon,\n Flex = _wp$components.Flex,\n Tooltip = _wp$components.Tooltip;\nvar useInstanceId = wp.compose.useInstanceId;\nfunction BlockName(_ref) {\n var label = _ref.label,\n help = _ref.help;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var _useIsUniqueFieldName = (0,_hooks_useIsUniqueFieldName__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(),\n message = _useIsUniqueFieldName.message;\n var instanceId = useInstanceId(BlockName, 'AdvancedInspectorControl');\n if (!(0,_hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__[\"default\"])('name')) {\n return null;\n }\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(Flex, {\n align: 'center',\n justify: 'flex-start',\n style: {\n marginBottom: '8px'\n }\n }, wp.element.createElement(\"label\", {\n htmlFor: instanceId,\n className: 'jet-fb label'\n }, label !== null && label !== void 0 ? label : __('Form field name', 'jet-form-builder')), !!message && wp.element.createElement(Tooltip, {\n text: message,\n delay: 200,\n position: 'top center'\n }, wp.element.createElement(Icon, {\n icon: 'warning',\n style: {\n color: 'orange',\n cursor: 'help'\n }\n }))), wp.element.createElement(TextControl, {\n id: instanceId,\n value: attributes.name,\n help: help !== null && help !== void 0 ? help : __(\"Should contain only Latin letters, numbers, `-` \\nor `_` chars, no spaces only lower case\", 'jet-form-builder'),\n onChange: function onChange(name) {\n return setAttributes({\n name: name\n });\n }\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ =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JlbCIsImhlbHAiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzIiwiX3VzZUJsb2NrQXR0cmlidXRlczIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJzZXRBdHRyaWJ1dGVzIiwiX3VzZUlzVW5pcXVlRmllbGROYW1lIiwibWVzc2FnZSIsImluc3RhbmNlSWQiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIlJlYWN0IiwiRnJhZ21lbnQiLCJhbGlnbiIsImp1c3RpZnkiLCJzdHlsZSIsIm1hcmdpbkJvdHRvbSIsImh0bWxGb3IiLCJjbGFzc05hbWUiLCJ0ZXh0IiwiZGVsYXkiLCJwb3NpdGlvbiIsImljb24iLCJjb2xvciIsImN1cnNvciIsImlkIiwidmFsdWUiLCJuYW1lIiwib25DaGFuZ2UiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockName.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockPlaceholder.js": +/*!*******************************************************!*\ + !*** ./package/blocks/components/BlockPlaceholder.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar __ = wp.i18n.__;\nvar TextControl = wp.components.TextControl;\nfunction BlockPlaceholder(_ref) {\n var label = _ref.label,\n help = _ref.help;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n if (!(0,_hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__[\"default\"])('placeholder')) {\n return null;\n }\n return wp.element.createElement(TextControl, {\n label: label !== null && label !== void 0 ? label : __('Placeholder', 'jet-form-builder'),\n value: attributes.placeholder,\n help: help !== null && help !== void 0 ? help : '',\n onChange: function onChange(placeholder) {\n return setAttributes({\n placeholder: placeholder\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlockPlaceholder);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0Jsb2NrUGxhY2Vob2xkZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQTZEO0FBQ0M7QUFFOUQsSUFDT0UsRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUVULElBQ09HLFdBQVcsR0FDUkYsRUFBRSxDQUFDRyxVQUFVLENBRGhCRCxXQUFXO0FBR2xCLFNBQVNFLGdCQUFnQkEsQ0FBQUMsSUFBQSxFQUFvQjtFQUFBLElBQWhCQyxLQUFLLEdBQUFELElBQUEsQ0FBTEMsS0FBSztJQUFFQyxJQUFJLEdBQUFGLElBQUEsQ0FBSkUsSUFBSTtFQUN2QyxJQUFBQyxtQkFBQSxHQUdVWCxxRUFBa0IsQ0FBQyxDQUFDO0lBQUFZLG9CQUFBLEdBQUFDLGNBQUEsQ0FBQUYsbUJBQUE7SUFGdkJHLFVBQVUsR0FBQUYsb0JBQUE7SUFDVkcsYUFBYSxHQUFBSCxvQkFBQTtFQUdwQixJQUFLLENBQUVYLG9FQUFpQixDQUFFLGFBQWMsQ0FBQyxFQUFHO0lBQzNDLE9BQU8sSUFBSTtFQUNaO0VBRUEsT0FBT0UsRUFBQSxDQUFBYSxPQUFBLENBQUFDLGFBQUEsQ0FBQ1osV0FBVztJQUNsQkksS0FBSyxFQUFHQSxLQUFLLGFBQUxBLEtBQUssY0FBTEEsS0FBSyxHQUFJUCxFQUFFLENBQUUsYUFBYSxFQUFFLGtCQUFt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cblx0fVxyXG5cclxuXHRyZXR1cm4gPFRleHRDb250cm9sXHJcblx0XHRsYWJlbD17IGxhYmVsID8/IF9fKCAnUGxhY2Vob2xkZXInLCAnamV0LWZvcm0tYnVpbGRlcicgKSB9XHJcblx0XHR2YWx1ZT17IGF0dHJpYnV0ZXMucGxhY2Vob2xkZXIgfVxyXG5cdFx0aGVscD17IGhlbHAgPz8gJycgfVxyXG5cdFx0b25DaGFuZ2U9eyBwbGFjZWhvbGRlciA9PiBzZXRBdHRyaWJ1dGVzKCB7IHBsYWNlaG9sZGVyIH0gKSB9XHJcblx0Lz47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEJsb2NrUGxhY2Vob2xkZXI7Il0sIm5hbWVzIjpbInVzZUJsb2NrQXR0cmlidXRlcyIsInVzZUlzSGFzQXR0cmlidXRlIiwiX18iLCJ3cCIsImkxOG4iLCJUZXh0Q29udHJvbCIsImNvbXBvbmVudHMiLCJCbG9ja1BsYWNlaG9sZGVyIiwiX3JlZiIsImxhYmVsIiwiaGVscCIsIl91c2VCbG9ja0F0dHJpYnV0ZXMiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzMiIsIl9zbGljZWRUb0FycmF5IiwiYXR0cmlidXRlcyIsInNldEF0dHJpYnV0ZXMiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsInZhbHVlIiwicGxhY2Vob2xkZXIiLCJvbkNoYW5nZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockPlaceholder.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockPrevButtonLabel.js": +/*!***********************************************************!*\ + !*** ./package/blocks/components/BlockPrevButtonLabel.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _AttributeHelp__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AttributeHelp */ \"./package/blocks/components/AttributeHelp.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar __ = wp.i18n.__;\nvar TextControl = wp.components.TextControl;\nfunction BlockPrevButtonLabel(_ref) {\n var label = _ref.label,\n help = _ref.help;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n if (!attributes.add_prev) {\n return null;\n }\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(TextControl, {\n label: label !== null && label !== void 0 ? label : __('Prev Page Button Label', 'jet-form-builder'),\n value: attributes.prev_label,\n className: \"jet-fb m-unset\",\n onChange: function onChange(prev_label) {\n return setAttributes({\n prev_label: prev_label\n });\n }\n }), wp.element.createElement(_AttributeHelp__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n name: \"prev_label\"\n }, help !== null && help !== void 0 ? help : ''));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlockPrevButtonLabel);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0Jsb2NrUHJldkJ1dHRvbkxhYmVsLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUE2RDtBQUNqQjtBQUU1QyxJQUNPRSxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBRVQsSUFDT0csV0FBVyxHQUNSRixFQUFFLENBQUNHLFVBQVUsQ0FEaEJELFdBQVc7QUFHbEIsU0FBU0Usb0JBQW9CQSxDQUFBQyxJQUFBLEVBQW9CO0VBQUEsSUFBaEJDLEtBQUssR0FBQUQsSUFBQSxDQUFMQyxLQUFLO0lBQUVDLElBQUksR0FBQUYsSUFBQSxDQUFKRSxJQUFJO0VBQzNDLElBQUFDLG1CQUFBLEdBR1VYLHFFQUFrQixDQUF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clxuXHQ8Lz47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEJsb2NrUHJldkJ1dHRvbkxhYmVsOyJdLCJuYW1lcyI6WyJ1c2VCbG9ja0F0dHJpYnV0ZXMiLCJBdHRyaWJ1dGVIZWxwIiwiX18iLCJ3cCIsImkxOG4iLCJUZXh0Q29udHJvbCIsImNvbXBvbmVudHMiLCJCbG9ja1ByZXZCdXR0b25MYWJlbCIsIl9yZWYiLCJsYWJlbCIsImhlbHAiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzIiwiX3VzZUJsb2NrQXR0cmlidXRlczIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJzZXRBdHRyaWJ1dGVzIiwiYWRkX3ByZXYiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIlJlYWN0IiwiRnJhZ21lbnQiLCJ2YWx1ZSIsInByZXZfbGFiZWwiLCJjbGFzc05hbWUiLCJvbkNoYW5nZSIsIm5hbWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockPrevButtonLabel.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockRequired.js": +/*!****************************************************!*\ + !*** ./package/blocks/components/BlockRequired.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar __ = wp.i18n.__;\nvar ToolbarButton = wp.components.ToolbarButton;\nvar BlockControls = wp.blockEditor.BlockControls;\nvar _wp$primitives = wp.primitives,\n SVG = _wp$primitives.SVG,\n Path = _wp$primitives.Path;\nfunction BlockRequired() {\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n if (!(0,_hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__[\"default\"])('required')) {\n return null;\n }\n return wp.element.createElement(BlockControls, {\n group: \"block\"\n }, wp.element.createElement(ToolbarButton, {\n icon: wp.element.createElement(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"800px\",\n height: \"800px\",\n viewBox: \"0 0 24 24\",\n fill: \"none\"\n }, wp.element.createElement(Path, {\n d: \"M12 4L12 20\",\n stroke: \"currentcolor\",\n strokeWidth: \"2\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), wp.element.createElement(Path, {\n d: \"M17.3137 6.00024L6.00001 17.314\",\n stroke: \"currentcolor\",\n strokeWidth: \"2\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), wp.element.createElement(Path, {\n d: \"M20 12L4 12\",\n stroke: \"currentcolor\",\n strokeWidth: \"2\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), wp.element.createElement(Path, {\n d: \"M17.3137 17.3137L6.00001 6.00001\",\n stroke: \"currentcolor\",\n strokeWidth: \"2\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })),\n title: attributes.required ? __('Click to make this field optional', 'jet-form-builder') : __('Click to make this field required', 'jet-form-builder'),\n onClick: function onClick() {\n return setAttributes({\n required: !attributes.required\n });\n },\n isActive: attributes.required\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BlockRequired);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0Jsb2NrUmVxdWlyZWQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQTZEO0FBQ0M7QUFFOUQsSUFDT0UsRUFBRSxHQUNDQyxFQUFFLENBQUNDLEl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GgiLCJoZWlnaHQiLCJ2aWV3Qm94IiwiZmlsbCIsImQiLCJzdHJva2UiLCJzdHJva2VXaWR0aCIsInN0cm9rZUxpbmVjYXAiLCJzdHJva2VMaW5lam9pbiIsInRpdGxlIiwicmVxdWlyZWQiLCJvbkNsaWNrIiwiaXNBY3RpdmUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockRequired.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/BlockVisibility.js": +/*!******************************************************!*\ + !*** ./package/blocks/components/BlockVisibility.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar __ = wp.i18n.__;\nvar SelectControl = wp.components.SelectControl;\nfunction BlockVisibility(_ref) {\n var label = _ref.label,\n help = _ref.help;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n if (!(0,_hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_1__[\"default\"])('visibility')) {\n return null;\n }\n return wp.element.createElement(SelectControl, {\n options: [{\n \"value\": \"all\",\n \"label\": __(\"For all\", 'jet-form-builder')\n }, {\n \"value\": \"logged_id\",\n \"label\": __(\"Only for logged in users\", 'jet-form-builder')\n }, {\n \"value\": \"not_logged_in\",\n \"label\": __(\"Only for NOT-logged in users\", 'jet-form-builder')\n }],\n label: label !== null && label !== void 0 ? label : __(\"Field Visibility\", 'jet-form-builder'),\n help: help !== null && help !== void 0 ? help : '',\n value: attributes.visibility,\n onChange: function onChange(visibility) {\n return setAttributes({\n visibility: visibility\n });\n }\n });\n}\n/* harmony default export */ const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mlsaXR5ID0+IHNldEF0dHJpYnV0ZXMoIHsgdmlzaWJpbGl0eSB9ICkgfVxyXG5cdC8+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBCbG9ja1Zpc2liaWxpdHk7Il0sIm5hbWVzIjpbInVzZUJsb2NrQXR0cmlidXRlcyIsInVzZUlzSGFzQXR0cmlidXRlIiwiX18iLCJ3cCIsImkxOG4iLCJTZWxlY3RDb250cm9sIiwiY29tcG9uZW50cyIsIkJsb2NrVmlzaWJpbGl0eSIsIl9yZWYiLCJsYWJlbCIsImhlbHAiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzIiwiX3VzZUJsb2NrQXR0cmlidXRlczIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJzZXRBdHRyaWJ1dGVzIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJvcHRpb25zIiwidmFsdWUiLCJ2aXNpYmlsaXR5Iiwib25DaGFuZ2UiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/components/BlockVisibility.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/FieldControl.js": +/*!***************************************************!*\ + !*** ./package/blocks/components/FieldControl.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _helpers_ControlsSettings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/ControlsSettings */ \"./package/blocks/helpers/ControlsSettings.js\");\nvar _excluded = [\"help\", \"attrName\", \"label\"],\n _excluded2 = [\"help\", \"attrName\", \"label\"];\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar useBlockProps = wp.blockEditor.useBlockProps;\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n SelectControl = _wp$components.SelectControl,\n ToggleControl = _wp$components.ToggleControl,\n BaseControl = _wp$components.BaseControl,\n __experimentalNumberControl = _wp$components.__experimentalNumberControl;\nvar NumberControl = wp.components.NumberControl;\nif (typeof NumberControl === 'undefined') {\n NumberControl = __experimentalNumberControl;\n}\nfunction useControls(_ref) {\n var type = _ref.type,\n attributes = _ref.attributes,\n _ref$attrsSettings = _ref.attrsSettings,\n attrsSettings = _ref$attrsSettings === void 0 ? {} : _ref$attrsSettings;\n var blockProps = useBlockProps();\n var blockName = blockProps['data-type'];\n var controls = (0,_helpers_ControlsSettings__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n if (!controls[type]) {\n return [];\n }\n var currentControl = controls[type];\n var isValidCondition = function isValidCondition(attr) {\n if (!attr.condition) {\n return true;\n }\n if (blockName && attr.condition.blockName) {\n if ('string' === typeof attr.condition.blockName && blockName !== attr.condition.blockName) {\n return false;\n }\n if ('object' === _typeof(attr.condition.blockName) && attr.condition.blockName.length && !attr.condition.blockName.includes(blockName)) {\n return false;\n }\n }\n var objectNotMatch = function () {\n if ('object' !== _typeof(attr.condition.attr)) {\n return true;\n }\n var _attr$condition$attr = attr.condition.attr,\n _attr$condition$attr$ = _attr$condition$attr.operator,\n operator = _attr$condition$attr$ === void 0 ? 'and' : _attr$condition$attr$,\n _attr$condition$attr$2 = _attr$condition$attr.items,\n items = _attr$condition$attr$2 === void 0 ? {} : _attr$condition$attr$2;\n if ('or' === operator.toLowerCase()) {\n for (var attrToCompare in items) {\n var valueCompare = items[attrToCompare];\n if (valueCompare === attributes[attrToCompare]) {\n return true;\n }\n }\n }\n if ('and' === operator.toLowerCase()) {\n return function () {\n for (var _attrToCompare in items) {\n if (items[_attrToCompare] !== attributes[_attrToCompare]) {\n return false;\n }\n }\n return true;\n }();\n }\n return true;\n }();\n if (!objectNotMatch || 'string' === typeof attr.condition.attr && attr.condition.attr && !attributes[attr.condition.attr] || 'string' === typeof attr.condition && !attributes[attr.condition]) {\n return false;\n }\n return true;\n };\n return currentControl.attrs.filter(function (_ref2) {\n var _ref2$help = _ref2.help,\n help = _ref2$help === void 0 ? '' : _ref2$help,\n attrName = _ref2.attrName,\n label = _ref2.label,\n attr = _objectWithoutProperties(_ref2, _excluded);\n var isRegisterAttribute = (attrName in attributes);\n var validCondition = isValidCondition(attr);\n var isHidden = attrName in attrsSettings && 'show' in attrsSettings[attrName] && false === attrsSettings[attrName].show;\n return isRegisterAttribute && validCondition && !isHidden;\n });\n}\n\n/**\r\n * @deprecated 3.0.0\r\n *\r\n * @param props\r\n * @return {unknown[]}\r\n * @constructor\r\n */\nfunction FieldControl(props) {\n var setAttributes = props.setAttributes,\n attributes = props.attributes;\n var fieldControls = useControls(props);\n var onChangeValue = function onChangeValue(value, key) {\n setAttributes(_defineProperty({}, key, value));\n };\n return fieldControls.map(function (_ref3) {\n var _ref3$help = _ref3.help,\n help = _ref3$help === void 0 ? '' : _ref3$help,\n attrName = _ref3.attrName,\n label = _ref3.label,\n attr = _objectWithoutProperties(_ref3, _excluded2);\n switch (attr.type) {\n case 'text':\n return wp.element.createElement(TextControl, {\n key: \"\".concat(attr.type, \"-\").concat(attrName, \"-TextControl\"),\n label: label,\n help: help,\n value: attributes[attrName],\n onChange: function onChange(newVal) {\n return onChangeValue(newVal, attrName);\n }\n });\n case 'select':\n return wp.element.createElement(SelectControl, {\n key: \"\".concat(attr.type, \"-\").concat(attrName, \"-SelectControl\"),\n label: label,\n help: help,\n value: attributes[attrName],\n options: attr.options,\n onChange: function onChange(newVal) {\n onChangeValue(newVal, attrName);\n }\n });\n case 'toggle':\n return wp.element.createElement(ToggleControl, {\n key: \"\".concat(attr.type, \"-\").concat(attrName, \"-ToggleControl\"),\n label: label,\n help: help,\n checked: attributes[attrName],\n onChange: function onChange(newVal) {\n onChangeValue(newVal, attrName);\n }\n });\n case 'number':\n return wp.element.createElement(BaseControl, {\n key: \"\".concat(attr.type, \"-\").concat(attrName, \"-BaseControl\"),\n label: label\n }, wp.element.createElement(NumberControl, {\n key: \"\".concat(attr.type, \"-\").concat(attrName, \"-NumberControl\"),\n value: attributes[attrName],\n onChange: function onChange(newVal) {\n onChangeValue(Number(newVal), attrName);\n }\n }), wp.element.createElement(\"p\", {\n className: 'components-base-control__help',\n style: {\n color: 'rgb(117, 117, 117)'\n }\n }, help));\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFA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ImNoZWNrZWQiLCJOdW1iZXIiLCJjbGFzc05hbWUiLCJzdHlsZSIsImNvbG9yIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/FieldControl.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/FieldSettingsWrapper.js": +/*!***********************************************************!*\ + !*** ./package/blocks/components/FieldSettingsWrapper.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar __ = wp.i18n.__;\nvar PanelBody = wp.components.PanelBody;\nvar applyFilters = wp.hooks.applyFilters;\nvar useBlockProps = wp.blockEditor.useBlockProps;\n\n/**\r\n * @param props\r\n * @return {boolean|JSX.Element}\r\n * @constructor\r\n */\nfunction FieldSettingsWrapper(props) {\n var title = props.title,\n children = props.children;\n var blockProps = useBlockProps();\n var blockName = blockProps['data-type'].replace('/', '-');\n var CustomSettings = applyFilters(\"jet.fb.render.settings.\".concat(blockName), null);\n return (children || CustomSettings) && wp.element.createElement(PanelBody, {\n title: title || __('Field', 'jet-form-builder')\n }, children, CustomSettings);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FieldSettingsWrapper);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0ZpZWxkU2V0dGluZ3NXcmFwcGVyLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBRVQsSUFDT0csU0FBUyxHQUNORixFQUFFLENBQUNHLFVBQVUsQ0FEaEJELFNBQVM7QUFFa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mV4cG9ydCBkZWZhdWx0IEZpZWxkU2V0dGluZ3NXcmFwcGVyOyJdLCJuYW1lcyI6WyJfXyIsIndwIiwiaTE4biIsIlBhbmVsQm9keSIsImNvbXBvbmVudHMiLCJhcHBseUZpbHRlcnMiLCJob29rcyIsInVzZUJsb2NrUHJvcHMiLCJibG9ja0VkaXRvciIsIkZpZWxkU2V0dGluZ3NXcmFwcGVyIiwicHJvcHMiLCJ0aXRsZSIsImNoaWxkcmVuIiwiYmxvY2tQcm9wcyIsImJsb2NrTmFtZSIsInJlcGxhY2UiLCJDdXN0b21TZXR0aW5ncyIsImNvbmNhdCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/FieldSettingsWrapper.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/FieldWrapper.js": +/*!***************************************************!*\ + !*** ./package/blocks/components/FieldWrapper.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../tools */ \"./package/tools.js\");\n/* harmony import */ var _hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useSelectPostMeta */ \"./package/hooks/useSelectPostMeta.js\");\n/* harmony import */ var _helpers_ChangeNameByLabel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../helpers/ChangeNameByLabel */ \"./package/blocks/helpers/ChangeNameByLabel.js\");\n/* harmony import */ var _hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/useUniqKey */ \"./package/blocks/hooks/useUniqKey.js\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\n\n\n\nvar BaseControl = wp.components.BaseControl;\nvar _wp$blockEditor = wp.blockEditor,\n RichText = _wp$blockEditor.RichText,\n useBlockProps = _wp$blockEditor.useBlockProps;\nvar _wp$compose = wp.compose,\n __experimentalUseFocusOutside = _wp$compose.__experimentalUseFocusOutside,\n useFocusOutside = _wp$compose.useFocusOutside;\nuseFocusOutside = useFocusOutside || __experimentalUseFocusOutside;\nvar __ = wp.i18n.__;\nfunction RichDescription(content) {\n return wp.element.createElement(\"small\", {\n style: {\n whiteSpace: 'nowrap',\n padding: '0.2em 0.8em 0 0',\n color: '#8e8a8a'\n }\n }, content);\n}\nfunction FieldWrapper(props) {\n var attributes = props.attributes,\n children = props.children,\n _props$wrapClasses = props.wrapClasses,\n wrapClasses = _props$wrapClasses === void 0 ? [] : _props$wrapClasses,\n _props$valueIfEmptyLa = props.valueIfEmptyLabel,\n valueIfEmptyLabel = _props$valueIfEmptyLa === void 0 ? '' : _props$valueIfEmptyLa,\n setAttributes = props.setAttributes,\n _props$childrenPositi = props.childrenPosition,\n childrenPosition = _props$childrenPositi === void 0 ? 'between' : _props$childrenPositi;\n var uniqKey = (0,_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n var _jf_args = (0,_hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_1__[\"default\"])('_jf_args');\n function onBlurLabel() {\n (0,_helpers_ChangeNameByLabel__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(attributes, setAttributes);\n }\n var ref = useFocusOutside(onBlurLabel);\n function RenderLabel() {\n return wp.element.createElement(BaseControl.VisualLabel, null, RichDescription(__('input label:', 'jet-form-builder')), wp.element.createElement(\"div\", {\n className: \"jet-form-builder__label\"\n }, wp.element.createElement(RichText, _extends({\n key: uniqKey('rich-label'),\n placeholder: \"Label...\",\n value: attributes.label ? attributes.label : valueIfEmptyLabel,\n onChange: function onChange(newLabel) {\n return setAttributes({\n label: newLabel\n });\n }\n }, ref)), attributes.required && wp.element.createElement(\"span\", {\n className: 'jet-form-builder__required'\n }, _jf_args.required_mark ? _jf_args.required_mark : '*')));\n }\n function RenderDescription() {\n return wp.element.createElement(\"div\", {\n className: \"jet-form-builder__desc--wrapper\"\n }, RichDescription(__('input description:', 'jet-form-builder')), wp.element.createElement(BaseControl, {\n key: 'custom_help_description',\n className: 'jet-form-builder__desc'\n }, wp.element.createElement(\"div\", {\n className: \"components-base-control__help\"\n }, wp.element.createElement(RichText, {\n key: uniqKey('rich-description'),\n tagName: \"small\",\n placeholder: \"Description...\",\n value: attributes.desc,\n onChange: function onChange(desc) {\n return setAttributes({\n desc: desc\n });\n },\n style: {\n marginTop: '0px'\n }\n }))));\n }\n if ('row' === _jf_args.fields_layout) {\n wrapClasses.push('jet-form-builder-row__flex');\n }\n return wp.element.createElement(BaseControl, {\n key: uniqKey('placeHolder_block'),\n className: (0,_tools__WEBPACK_IMPORTED_MODULE_0__.classnames)('jet-form-builder__field-wrap', 'jet-form-builder-row', wrapClasses)\n }, 'row' !== _jf_args.fields_layout && wp.element.createElement(React.Fragment, null, 'top' === childrenPosition && children, wp.element.createElement(RenderLabel, null), 'between' === childrenPosition && children, wp.element.createElement(RenderDescription, null), 'bottom' === childrenPosition && children), 'row' === _jf_args.fields_layout && wp.element.createElement(React.Fragment, null, wp.element.createElement(\"div\", {\n className: \"jet-form-builder-row__flex--label\"\n }, wp.element.createElement(RenderLabel, null), wp.element.createElement(RenderDescription, null)), wp.element.createElement(\"div\", {\n className: \"jet-form-builder-row__flex--content\"\n }, children)));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FieldWrapper);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJma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d3JhcENsYXNzZXMiLCJ3cmFwQ2xhc3NlcyIsIl9wcm9wcyR2YWx1ZUlmRW1wdHlMYSIsInZhbHVlSWZFbXB0eUxhYmVsIiwic2V0QXR0cmlidXRlcyIsIl9wcm9wcyRjaGlsZHJlblBvc2l0aSIsImNoaWxkcmVuUG9zaXRpb24iLCJ1bmlxS2V5IiwiX2pmX2FyZ3MiLCJvbkJsdXJMYWJlbCIsInJlZiIsIlJlbmRlckxhYmVsIiwiVmlzdWFsTGFiZWwiLCJjbGFzc05hbWUiLCJfZXh0ZW5kcyIsImtleSIsInBsYWNlaG9sZGVyIiwidmFsdWUiLCJsYWJlbCIsIm9uQ2hhbmdlIiwibmV3TGFiZWwiLCJyZXF1aXJlZCIsInJlcXVpcmVkX21hcmsiLCJSZW5kZXJEZXNjcmlwdGlvbiIsInRhZ05hbWUiLCJkZXNjIiwibWFyZ2luVG9wIiwiZmllbGRzX2xheW91dCIsInB1c2giLCJSZWFjdCIsIkZyYWdtZW50Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/FieldWrapper.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/GeneralFields.js": +/*!****************************************************!*\ + !*** ./package/blocks/components/GeneralFields.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _BlockLabel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BlockLabel */ \"./package/blocks/components/BlockLabel.js\");\n/* harmony import */ var _BlockName__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BlockName */ \"./package/blocks/components/BlockName.js\");\n/* harmony import */ var _BlockDescription__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BlockDescription */ \"./package/blocks/components/BlockDescription.js\");\n/* harmony import */ var _BlockDefaultValue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./BlockDefaultValue */ \"./package/blocks/components/BlockDefaultValue.js\");\n\n\n\n\nvar PanelBody = wp.components.PanelBody;\nvar __ = wp.i18n.__;\nfunction GeneralFields(_ref) {\n var _ref$hasMacro = _ref.hasMacro,\n hasMacro = _ref$hasMacro === void 0 ? true : _ref$hasMacro;\n return wp.element.createElement(PanelBody, {\n title: __('General', 'jet-form-builder'),\n key: 'jet-form-general-fields'\n }, wp.element.createElement(_BlockLabel__WEBPACK_IMPORTED_MODULE_0__[\"default\"], null), wp.element.createElement(_BlockName__WEBPACK_IMPORTED_MODULE_1__[\"default\"], null), wp.element.createElement(_BlockDescription__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null), wp.element.createElement(_BlockDefaultValue__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n hasMacro: hasMacro\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GeneralFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL0dlbmVyYWxGaWVsZHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBc0M7QUFDRjtBQUNjO0FBQ0U7QUFFcEQsSUFDT0ksU0FBUyxHQUNOQyxFQUFFLENBQUNDLFVBQVUsQ0FEaEJGLFNBQVM7QUFFaEIsSUFDT0csRUFBRSxHQUNDRixFQUFFLENBQUNHLElBQUksQ0FEVkQsRUFBRTtBQUdULFNBQVNFLGFBQWFBLENBQUFDLElBQUEsRUFBd0I7RUFBQSxJQUFBQyxhQUFBLEdBQUFELElBQUEsQ0FBcEJFLFFBQVE7SUFBUkEsUUFBUSxHQUFBRCxhQUFBLGNBQUcsSUFBSSxHQUFBQSxhQUFBO0VBQ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G5cclxuZnVuY3Rpb24gR2VuZXJhbEZpZWxkcyggeyBoYXNNYWNybyA9IHRydWUgfSApIHtcclxuXHRyZXR1cm4gPFBhbmVsQm9keSB0aXRsZT17IF9fKCAnR2VuZXJhbCcsICdqZXQtZm9ybS1idWlsZGVyJyApIH1cclxuXHQgICAgICAgICAgICAgICAgICBrZXk9eyAnamV0LWZvcm0tZ2VuZXJhbC1maWVsZHMnIH0+XHJcblx0XHQ8QmxvY2tMYWJlbC8+XHJcblx0XHQ8QmxvY2tOYW1lLz5cclxuXHRcdDxCbG9ja0Rlc2NyaXB0aW9uLz5cclxuXHRcdDxCbG9ja0RlZmF1bHRWYWx1ZSBoYXNNYWNybz17IGhhc01hY3JvIH0gLz5cclxuXHQ8L1BhbmVsQm9keT47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEdlbmVyYWxGaWVsZHM7Il0sIm5hbWVzIjpbIkJsb2NrTGFiZWwiLCJCbG9ja05hbWUiLCJCbG9ja0Rlc2NyaXB0aW9uIiwiQmxvY2tEZWZhdWx0VmFsdWUiLCJQYW5lbEJvZHkiLCJ3cCIsImNvbXBvbmVudHMiLCJfXyIsImkxOG4iLCJHZW5lcmFsRmllbGRzIiwiX3JlZiIsIl9yZWYkaGFzTWFjcm8iLCJoYXNNYWNybyIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwidGl0bGUiLCJrZXkiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/components/GeneralFields.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/ScopedAttributesProvider.js": +/*!***************************************************************!*\ + !*** ./package/blocks/components/ScopedAttributesProvider.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _context_ScopedAttributesContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context/ScopedAttributesContext */ \"./package/blocks/context/ScopedAttributesContext.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar useState = wp.element.useState;\nfunction ScopedAttributesProvider(_ref) {\n var children = _ref.children;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var _useState = useState(function () {\n return attributes;\n }),\n _useState2 = _slicedToArray(_useState, 2),\n current = _useState2[0],\n setCurrent = _useState2[1];\n return wp.element.createElement(_context_ScopedAttributesContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Provider, {\n value: {\n realAttributes: attributes,\n setRealAttributes: setAttributes,\n attributes: current,\n setAttributes: setCurrent\n }\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ScopedAttributesProvider);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL1Njb3BlZEF0dHJpYnV0ZXNQcm92aWRlci5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBNkQ7QUFDWTtBQUV6RSxJQUNPRSxRQUFRLEdBQ0xDLEVBQUUsQ0FBQ0MsT0FBTyxDQURiRixRQUFRO0FBR2YsU0FBU0csd0JBQXdCQSxDQUFBQyxJQUFBLEVBQWlCO0VBQUEsSUFBYkMsUUFBUSxHQUFBRCxJQUFBLENBQVJDLFFBQVE7RUFDNUMsSUFBQUMsbUJBQUEsR0FBc0NSLHFFQUFrQixDQUFDLENBQUM7SUFBQVMsb0JBQUEsR0FBQUMsY0FBQSxDQUFBRixtQkFBQTtJQUFsREcsVUFBVSxHQUFBRixvQkFBQTtJQUFFRyxhQUFhLEdBQUFILG9CQUFBO0VBQ2pDLElBQUFJLFNBQUEsR0FBc0NYLFFBQVEsQ0FBRTtNQUFBLE9BQU1TLFVBQVU7SUFBQSxDQUFDLENBQUM7SUFB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XMgKTtcclxuXHJcblx0cmV0dXJuIDxTY29wZWRBdHRyaWJ1dGVzQ29udGV4dC5Qcm92aWRlciB2YWx1ZT17IHtcclxuXHRcdHJlYWxBdHRyaWJ1dGVzOiBhdHRyaWJ1dGVzLFxyXG5cdFx0c2V0UmVhbEF0dHJpYnV0ZXM6IHNldEF0dHJpYnV0ZXMsXHJcblx0XHRhdHRyaWJ1dGVzOiBjdXJyZW50LFxyXG5cdFx0c2V0QXR0cmlidXRlczogc2V0Q3VycmVudCxcclxuXHR9IH0+XHJcblx0XHR7IGNoaWxkcmVuIH1cclxuXHQ8L1Njb3BlZEF0dHJpYnV0ZXNDb250ZXh0LlByb3ZpZGVyPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgU2NvcGVkQXR0cmlidXRlc1Byb3ZpZGVyOyJdLCJuYW1lcyI6WyJ1c2VCbG9ja0F0dHJpYnV0ZXMiLCJTY29wZWRBdHRyaWJ1dGVzQ29udGV4dCIsInVzZVN0YXRlIiwid3AiLCJlbGVtZW50IiwiU2NvcGVkQXR0cmlidXRlc1Byb3ZpZGVyIiwiX3JlZiIsImNoaWxkcmVuIiwiX3VzZUJsb2NrQXR0cmlidXRlcyIsIl91c2VCbG9ja0F0dHJpYnV0ZXMyIiwiX3NsaWNlZFRvQXJyYXkiLCJhdHRyaWJ1dGVzIiwic2V0QXR0cmlidXRlcyIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJjdXJyZW50Iiwic2V0Q3VycmVudCIsImNyZWF0ZUVsZW1lbnQiLCJQcm92aWRlciIsInZhbHVlIiwicmVhbEF0dHJpYnV0ZXMiLCJzZXRSZWFsQXR0cmlidXRlcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/components/ScopedAttributesProvider.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/SelectVariations.js": +/*!*******************************************************!*\ + !*** ./package/blocks/components/SelectVariations.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar useSelect = wp.data.useSelect;\nvar _wp$components = wp.components,\n CustomSelectControl = _wp$components.CustomSelectControl,\n Icon = _wp$components.Icon;\nvar useBlockEditContext = wp.blockEditor.useBlockEditContext;\nfunction SelectVariations(_ref) {\n var value = _ref.value;\n var _useBlockEditContext = useBlockEditContext(),\n name = _useBlockEditContext.name;\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n setAttributes = _useBlockAttributes2[1];\n var _useSelect = useSelect(function (select) {\n var _select = select('core/blocks'),\n getBlockVariations = _select.getBlockVariations;\n var items = getBlockVariations(name, 'block');\n var options = [];\n var rawVariations = {};\n var _iterator = _createForOfIteratorHelper(items),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var item = _step.value;\n options.push({\n key: item.name,\n name: wp.element.createElement(\"span\", {\n className: 'jet-fb flex gap-1em ai-center'\n }, wp.element.createElement(Icon, {\n icon: item.icon\n }), item.title)\n });\n rawVariations[item.name] = item;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return {\n variations: options,\n rawVariations: rawVariations\n };\n }, []),\n variations = _useSelect.variations,\n rawVariations = _useSelect.rawVariations;\n if (!variations.length) {\n return null;\n }\n return wp.element.createElement(CustomSelectControl, {\n __nextUnconstrainedWidth: true,\n hideLabelFromVision: true,\n options: variations,\n size: '__unstable-large',\n onChange: function onChange(_ref2) {\n var selectedItem = _ref2.selectedItem;\n return setAttributes(_objectSpread({}, rawVariations[selectedItem.key].attributes));\n },\n value: variations.find(function (_ref3) {\n var key = _ref3.key;\n return key === value;\n })\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SelectVariations);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL1NlbGVjdFZhcmlhdGlvbnMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQTZEO0FBRTdELElBQ09DLFNBQVMsR0FDTkMsRUFBRSxDQUFDQyxJQUFJLENBRFZGLFNBQVM7QUFHaEIsSUFBQUcsY0FBQSxHQUdVRixFQUFFLENBQUNHLFVBQVU7RUFGaEJDLG1CQUFtQixHQUFBRixjQUFBLENBQW5CRSxtQkFBbUI7RUFDbkJDLElBQUksR0FBQUgsY0FBQSxDQUFKRyxJQUFJO0FBRVgsSUFDT0MsbUJBQW1CLEdBQ2hCTixFQUFFLENBQUNPLFdBQVcsQ0FEakJELG1CQUFtQjtBQUcxQixTQUFTRSxnQkFBZ0JBLENBQUFDLElBQUEsRUFBYztFQUFBLElBQVZDLEtBQUssR0FBQUQsSUFBQSxDQUFMQyxLQUFLO0VBQ2pDLElBQUFDLG9CQUFBLEdBQTRCTCxtQkFBbUIsQ0FBQyxDQUFDO0lBQXpDTSxJQUFJLEdBQUFELG9CQUFBLENBQUpDLElBQUk7RUFDWixJQUFBQyxtQkFBQSxHQUE0QmYscUVBQWtCLENBQUMsQ0FBQztJQUFBZ0Isb0JBQUEsR0FBQUMsY0FBQSxDQUFBRixtQkFBQTtJQUF0Q0csYUFBYSxHQUFBRixvQkFBQTtFQUV2QixJQUFBRyxVQUFBLEdBQXNDbEIsU0FBUyxDQUM5QyxV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yIsImZpbmQiLCJfcmVmMyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/components/SelectVariations.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/ToggleGroupVariations.js": +/*!************************************************************!*\ + !*** ./package/blocks/components/ToggleGroupVariations.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar _wp$element = wp.element,\n Children = _wp$element.Children,\n cloneElement = _wp$element.cloneElement,\n useContext = _wp$element.useContext;\nvar useSelect = wp.data.useSelect;\nvar useBlockEditContext = wp.blockEditor.useBlockEditContext;\nvar _wp$components = wp.components,\n __experimentalToggleGroupControl = _wp$components.__experimentalToggleGroupControl,\n __experimentalToggleGroupControlOptionIcon = _wp$components.__experimentalToggleGroupControlOptionIcon,\n __experimentalToolbarContext = _wp$components.__experimentalToolbarContext,\n ToggleGroupControl = _wp$components.ToggleGroupControl,\n ToggleGroupControlOptionIcon = _wp$components.ToggleGroupControlOptionIcon,\n ToolbarItem = _wp$components.ToolbarItem,\n ToolbarGroup = _wp$components.ToolbarGroup,\n ToolbarContext = _wp$components.ToolbarContext;\nToggleGroupControl = ToggleGroupControl || __experimentalToggleGroupControl;\nToggleGroupControlOptionIcon = ToggleGroupControlOptionIcon || __experimentalToggleGroupControlOptionIcon;\nToolbarContext = ToolbarContext || __experimentalToolbarContext;\nfunction ToggleGroupVariationsBase(_ref) {\n var value = _ref.value;\n var _useBlockEditContext = useBlockEditContext(),\n name = _useBlockEditContext.name;\n var toolbarState = useContext(ToolbarContext);\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n setAttributes = _useBlockAttributes2[1];\n var _useSelect = useSelect(function (select) {\n var _select = select('core/blocks'),\n getBlockVariations = _select.getBlockVariations;\n var items = getBlockVariations(name, 'block');\n return {\n variations: items,\n components: items.map(function (current) {\n var _toolbarState$current;\n return ((_toolbarState$current = toolbarState === null || toolbarState === void 0 ? void 0 : toolbarState.currentId) !== null && _toolbarState$current !== void 0 ? _toolbarState$current : toolbarState === null || toolbarState === void 0 ? void 0 : toolbarState.baseId) ? wp.element.createElement(ToolbarItem, {\n as: ToggleGroupControlOptionIcon,\n value: current.name,\n label: current.title,\n icon: current.icon\n }) : wp.element.createElement(ToggleGroupControlOptionIcon, {\n value: current.name,\n label: current.title,\n icon: current.icon\n });\n })\n };\n }, []),\n variations = _useSelect.variations,\n components = _useSelect.components;\n if (!variations.length) {\n return null;\n }\n return wp.element.createElement(ToggleGroupControl, {\n hideLabelFromVision: true,\n onChange: function onChange(varName) {\n return setAttributes(_objectSpread({}, variations.find(function (_ref2) {\n var name = _ref2.name;\n return name === varName;\n }).attributes));\n },\n value: value,\n isBlock: true\n }, Children.map(components, cloneElement));\n}\nfunction ToggleGroupVariations(props) {\n var toolbarState = useContext(ToolbarContext);\n if (!(toolbarState !== null && toolbarState !== void 0 && toolbarState.currentId)) {\n return wp.element.createElement(ToggleGroupVariationsBase, props);\n }\n return wp.element.createElement(ToolbarGroup, {\n className: 'jet-fb toggle-toolbar-group'\n }, wp.element.createElement(ToggleGroupVariationsBase, props));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToggleGroupVariations);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL1RvZ2dsZUdyb3VwVmFyaWF0aW9ucy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7OztBQUE2RDtBQUU3RCxJQUFBQyxXQUFBLEdBSVVDLEVBQUUsQ0FBQ0MsT0FBTztFQUhiQyxRQUFRLEdBQUFILFdBQUEsQ0FBUkcsUUFBUTtFQUNSQyxZQUFZLEdBQUFKLFdBQUEsQ0FBWkksWUFBWTtFQUNaQyxVQUFVLEdBQUFMLFdBQUEsQ0FBVkssVUFBVTtBQUdqQixJQUNPQyxTQUFTLEdBQ05MLEVBQUUsQ0FBQ00sSUFBSSxDQURWRCxTQUFTO0FBR2hCLElBQ09FLG1CQUFtQixHQUNoQlAsRUFBRSxDQUFDUSxXQUFXLENBRGpCRCxtQkFBbUI7Q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Il9yZWYyIiwiYXR0cmlidXRlcyIsImlzQmxvY2siLCJUb2dnbGVHcm91cFZhcmlhdGlvbnMiLCJwcm9wcyIsImNsYXNzTmFtZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/components/ToggleGroupVariations.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/ToolBarDefault.js": +/*!*****************************************************!*\ + !*** ./package/blocks/components/ToolBarDefault.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/useUniqKey */ \"./package/blocks/hooks/useUniqKey.js\");\n/* harmony import */ var _hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _hooks_useSuccessNotice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/useSuccessNotice */ \"./package/hooks/useSuccessNotice.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\nvar BlockControls = wp.blockEditor.BlockControls;\nvar useCopyToClipboard = wp.compose.useCopyToClipboard;\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n ToolbarGroup = _wp$components.ToolbarGroup,\n ToolbarItem = _wp$components.ToolbarItem,\n ToolbarButton = _wp$components.ToolbarButton,\n Button = _wp$components.Button;\nfunction ToolBarDefault(_ref) {\n var _ref$children = _ref.children,\n children = _ref$children === void 0 ? null : _ref$children;\n var uniqKey = (0,_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n var _useBlockAttributes = (0,_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var displayNotice = (0,_hooks_useSuccessNotice__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\"Copied \\\"\".concat(attributes.name, \"\\\" to clipboard.\"));\n var copyRef = useCopyToClipboard(attributes.name, function () {\n return displayNotice(true);\n });\n return wp.element.createElement(BlockControls, {\n key: uniqKey('ToolBarFields-BlockControls')\n }, wp.element.createElement(ToolbarGroup, {\n key: uniqKey('ToolBarFields-ToolbarGroup'),\n className: \"jet-fb-block-toolbar\"\n }, wp.element.createElement(ToolbarButton, {\n isSmall: true,\n icon: \"admin-page\",\n showTooltip: true,\n shortcut: \"Copy name\",\n ref: copyRef\n }), wp.element.createElement(ToolbarItem, {\n as: TextControl,\n value: attributes.name,\n onChange: function onChange(name) {\n return setAttributes({\n name: name\n });\n }\n }), children));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToolBarDefault);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL1Rvb2xCYXJEZWZhdWx0LmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBNkM7QUFDZ0I7QUFDRDtBQUU1RCxJQUNPRyxhQUFhLEdBQ1ZDLEVBQUUsQ0FBQ0MsV0FBVyxDQURqQkYsYUFBYTtBQUdwQixJQUNPRyxrQkFBa0IsR0FDZkYsRUFBRSxDQUFDRyxPQUFPLENBRGJELGtCQUFrQjtBQUd6QixJQUFBRSxjQUFBLEdBTVVKLEVBQUUsQ0FBQ0ssVUFBVTtFQUxoQkMsV0FBVyxHQUFBRixjQUFBLENBQVhFLFdBQVc7RUFDWEMsWUFBWSxHQUFBSCxjQUFBLENBQVpHLFlBQVk7RUFDWkMsV0FBVyxHQUFBSixjQUFBLENBQVhJLFdBQVc7RUFDWEMsYUFBYSxHQUFBTCxjQUFBLENBQWJLLGFBQWE7RUFDYkMsTUFBTSxHQUFBTixjQUFBLENBQU5NLE1BQU07QUFHYixTQUFTQyxjQUFjQSxDQUFBQyxJQUFBLEVBQXdCO0VBQUEsSUFBQUMsYUFBQSxHQUFBRCxJQUFBLENBQXBCRSxRQUFRO0lBQVJBL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lIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/components/ToolBarDefault.js\n"); + +/***/ }), + +/***/ "./package/blocks/components/ToolBarFields.js": +/*!****************************************************!*\ + !*** ./package/blocks/components/ToolBarFields.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ToolBarDefault__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ToolBarDefault */ \"./package/blocks/components/ToolBarDefault.js\");\n/* harmony import */ var _BlockRequired__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./BlockRequired */ \"./package/blocks/components/BlockRequired.js\");\n\n\nfunction ToolBarFields(_ref) {\n var _ref$children = _ref.children,\n children = _ref$children === void 0 ? null : _ref$children;\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(_ToolBarDefault__WEBPACK_IMPORTED_MODULE_0__[\"default\"], null, children), wp.element.createElement(_BlockRequired__WEBPACK_IMPORTED_MODULE_1__[\"default\"], null));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToolBarFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb21wb25lbnRzL1Rvb2xCYXJGaWVsZHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQThDO0FBQ0Y7QUFFNUMsU0FBU0UsYUFBYUEsQ0FBQUMsSUFBQSxFQUF3QjtFQUFBLElBQUFDLGFBQUEsR0FBQUQsSUFBQSxDQUFwQkUsUUFBUTtJQUFSQSxRQUFRLEdBQUFELGFBQUEsY0FBRyxJQUFJLEdBQUFBLGFBQ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-internal:///./package/blocks/components/ToolBarFields.js\n"); + +/***/ }), + +/***/ "./package/blocks/context/ScopedAttributesContext.js": +/*!***********************************************************!*\ + !*** ./package/blocks/context/ScopedAttributesContext.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar ScopedAttributesContext = createContext({});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ScopedAttributesContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9jb250ZXh0L1Njb3BlZEF0dHJpYnV0ZXNDb250ZXh0LmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUFRQSxhQUFhLEdBQUtDLEVBQUUsQ0FBQ0MsT0FBTyxDQUE1QkYsYUFBYTtBQUVyQixJQUFNRyx1QkFBdUIsR0FBR0gsYUFBYSxDQUFFLENBQUMsQ0FBRSxDQUFDO0FBRW5ELGlFQUFlRyx1QkFBdUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2Jsb2Nrcy9jb250ZXh0L1Njb3BlZEF0dHJpYnV0ZXNDb250ZXh0LmpzPzQ4ODYiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgeyBjcmVhdGVDb250ZXh0IH0gPSB3cC5lbGVtZW50O1xyXG5cclxuY29uc3QgU2NvcGVkQXR0cmlidXRlc0NvbnRleHQgPSBjcmVhdGVDb250ZXh0KCB7fSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgU2NvcGVkQXR0cmlidXRlc0NvbnRleHQ7Il0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJ3cCIsImVsZW1lbnQiLCJTY29wZWRBdHRyaWJ1dGVzQ29udGV4dCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/context/ScopedAttributesContext.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/ChangeNameByLabel.js": +/*!*****************************************************!*\ + !*** ./package/blocks/helpers/ChangeNameByLabel.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../tools */ \"./package/tools.js\");\n\nfunction ChangeNameByLabel(attributes, setAttributes) {\n if (1 >= attributes.label.length || attributes.name && 'field_name' !== attributes.name) {\n return;\n }\n setAttributes({\n name: (0,_tools__WEBPACK_IMPORTED_MODULE_0__.getConvertedName)(attributes.label)\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ChangeNameByLabel);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL0NoYW5nZU5hbWVCeUxhYmVsLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQStDO0FBRS9DLFNBQVNDLGlCQUFpQkEsQ0FBRUMsVUFBVSxFQUFFQyxhQUFhLEVBQUc7RUFDdkQsSUFBSyxDQUFDLElBQUlELFVBQVUsQ0FBQ0UsS0FBSyxDQUFDQyxNQUFNLElBRS9CSCxVQUFVLENBQUNJLElBQUksSUFBSSxZQUFZLEtBQy9CSixVQUFVLENBQUNJLElBQ1gsRUFDQTtJQUNEO0VBQ0Q7RUFFQUgsYUFBYSxDQUFFO0lBQ2RHLElBQUksRUFBRU4sd0RBQWdCLENBQUVFLFVBQVUsQ0FBQ0UsS0FBTTtFQUMxQyxDQUFFLENBQUM7QUFDSjtBQUVBLGlFQUFlSCxpQkFBaUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL0NoYW5nZU5hbWVCeUxhYmVsLmpzPzI1NzQiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZ2V0Q29udmVydGVkTmFtZSB9IGZyb20gJy4uLy4uL3Rvb2xzJztcclxuXHJcbmZ1bmN0aW9uIENoYW5nZU5hbWVCeUxhYmVsKCBhdHRyaWJ1dGVzLCBzZXRBdHRyaWJ1dGVzICkge1xyXG5cdGlmICggMSA+PSBhdHRyaWJ1dGVzLmxhYmVsLmxlbmd0aFxyXG5cdFx0fHwgKFxyXG5cdFx0XHRhdHRyaWJ1dGVzLm5hbWUgJiYgJ2ZpZWxkX25hbWUnICE9PVxyXG5cdFx0XHRhdHRyaWJ1dGVzLm5hbWVcclxuXHRcdClcclxuXHQpIHtcclxuXHRcdHJldHVybjtcclxuXHR9XHJcblxyXG5cdHNldEF0dHJpYnV0ZXMoIHtcclxuXHRcdG5hbWU6IGdldENvbnZlcnRlZE5hbWUoIGF0dHJpYnV0ZXMubGFiZWwgKSxcclxuXHR9ICk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IENoYW5nZU5hbWVCeUxhYmVsOyJdLCJuYW1lcyI6WyJnZXRDb252ZXJ0ZWROYW1lIiwiQ2hhbmdlTmFtZUJ5TGFiZWwiLCJhdHRyaWJ1dGVzIiwic2V0QXR0cmlidXRlcyIsImxhYmVsIiwibGVuZ3RoIiwibmFtZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/helpers/ChangeNameByLabel.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/ControlsSettings.js": +/*!****************************************************!*\ + !*** ./package/blocks/helpers/ControlsSettings.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar applyFilters = wp.hooks.applyFilters;\nvar ControlsSettings = function ControlsSettings() {\n return applyFilters('jet.fb.register.fields.controls', {});\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ControlsSettings);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL0NvbnRyb2xzU2V0dGluZ3MuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQVFBLFlBQVksR0FBS0MsRUFBRSxDQUFDQyxLQUFLLENBQXpCRixZQUFZO0FBRXBCLElBQU1HLGdCQUFnQixHQUFHLFNBQW5CQSxnQkFBZ0JBLENBQUE7RUFBQSxPQUFTSCxZQUFZLENBQUUsaUNBQWlDLEVBQUUsQ0FBQyxDQUFFLENBQUM7QUFBQTtBQUVwRixpRUFBZUcsZ0JBQWdCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9ibG9ja3MvaGVscGVycy9Db250cm9sc1NldHRpbmdzLmpzPzY2MzAiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgeyBhcHBseUZpbHRlcnMgfSA9IHdwLmhvb2tzO1xyXG5cclxuY29uc3QgQ29udHJvbHNTZXR0aW5ncyA9ICgpID0+IGFwcGx5RmlsdGVycyggJ2pldC5mYi5yZWdpc3Rlci5maWVsZHMuY29udHJvbHMnLCB7fSApXHJcblxyXG5leHBvcnQgZGVmYXVsdCBDb250cm9sc1NldHRpbmdzOyJdLCJuYW1lcyI6WyJhcHBseUZpbHRlcnMiLCJ3cCIsImhvb2tzIiwiQ29udHJvbHNTZXR0aW5ncyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/helpers/ControlsSettings.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/appendField.js": +/*!***********************************************!*\ + !*** ./package/blocks/helpers/appendField.js ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar addFilter = wp.hooks.addFilter;\nfunction appendField(callback) {\n var fieldNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n addFilter('jet.fb.register.fields', 'jet-form-builder', function (blocks) {\n return blocks.map(function (block) {\n if (fieldNames.length && !fieldNames.includes(block.name)) {\n return block;\n }\n return callback(block);\n });\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (appendField);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2FwcGVuZEZpZWxkLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUFRQSxTQUFTLEdBQUtDLEVBQUUsQ0FBQ0MsS0FBSyxDQUF0QkYsU0FBUztBQUVqQixTQUFTRyxXQUFXQSxDQUFFQyxRQUFRLEVBQXFCO0VBQUEsSUFBbkJDLFVBQVUsR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQUcsRUFBRTtFQUM5Q04sU0FBUyxDQUFFLHdCQUF3QixFQUFFLGtCQUFrQixFQUFFLFVBQUFTLE1BQU0sRUFBSTtJQUNsRSxPQUFPQSxNQUFNLENBQUNDLEd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iwibGVuZ3RoIiwidW5kZWZpbmVkIiwiYmxvY2tzIiwibWFwIiwiYmxvY2siLCJpbmNsdWRlcyIsIm5hbWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/helpers/appendField.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/blocksRecursiveIterator.js": +/*!***********************************************************!*\ + !*** ./package/blocks/helpers/blocksRecursiveIterator.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar select = wp.data.select;\nfunction blocksRecursiveIterator(blockParserFunc) {\n var blocksRecursiveIterator = function blocksRecursiveIterator(blocks) {\n var parent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n blocks = blocks || select('core/block-editor').getBlocks();\n blocks.forEach(function (block) {\n var _select, _select$__unstableGet, _innerReusable;\n blockParserFunc(block, parent);\n if (block.innerBlocks.length) {\n var currentParent = 'jet-forms/repeater-field' === block.name ? block : parent;\n blocksRecursiveIterator(block.innerBlocks, currentParent);\n return;\n }\n if ('core/block' !== block.name) {\n return;\n }\n\n /**\r\n * Hardcode the receipt of internal blocks \"Reusable block\".\r\n * This is the only way so far.\r\n *\r\n * Added after major refactoring\r\n * @since 3.0.4\r\n *\r\n * Introduced\r\n * @since 2.1.1\r\n *\r\n * @type {{clientId: String, innerBlocks: Array}[]}\r\n */\n var innerReusable = (_select = select('core/block-editor')) === null || _select === void 0 || (_select$__unstableGet = _select.__unstableGetClientIdsTree) === null || _select$__unstableGet === void 0 ? void 0 : _select$__unstableGet.call(_select, block.clientId);\n if (!((_innerReusable = innerReusable) !== null && _innerReusable !== void 0 && _innerReusable.length)) {\n return;\n }\n var innerReusableIds = innerReusable.map(function (_ref) {\n var clientId = _ref.clientId;\n return clientId;\n });\n\n /**\r\n * We update this variable because `__unstableGetClientIdsTree`\r\n * returns insufficient information about the block.\r\n * Namely, the `name` property is missing\r\n */\n innerReusable = select('core/block-editor').getBlocksByClientId(innerReusableIds);\n blocksRecursiveIterator(innerReusable);\n });\n };\n blocksRecursiveIterator();\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (blocksRecursiveIterator);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2Jsb2Nrc1JlY3Vyc2l2ZUl0ZXJhdG9yLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUFRQSxNQUFNLEdBQUtDLEVBQUUsQ0FBQ0MsSUFBSSxDQUFsQkYsTUFBTTtBQUVkLFNBQVNHLHVCQUF1QkEsQ0FBRUMsZUFBZSxFQUFHO0VBQ25ELElBQU1ELHVCQUF1QixHQUFHLFNBQTFCQSx1QkFBdUJBLENBQUtFLE1BQU0sRUFBcUI7SUFBQSxJQUFuQkMsTUFBTSxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxJQUFJO0lBRXRERixNQUFNLEdBQUdBLE1BQU0sSUFBSUwsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNVLFNBQVMsQ0FBQyxDQUFDO0lBRTVETCxNQUFNLENBQUNNLE9BQU8sQ0FBRSxVQUFBQyxLQUFLLEVBQUk7TUFBQSxJQUFBQyxPQUFBLEVBQUFDLHFCQUFBLEVBQUFDLGNBQUE7TUFDeEJYLGVBQWUsQ0FBRVEsS0FBSyxFQUFFTixNQUFPLENBQUM7TUFFaEMsSUFBS00sS0FBSyxDQUFDSSxXQUFXLENBQUNSLE1BQU0sRUFBRztRQUMvQixJQUFNUyxhQUFhLEdBQUcsMEJBQTBCLEtBQU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nRJZCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/helpers/blocksRecursiveIterator.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getAvailableFields.js": +/*!******************************************************!*\ + !*** ./package/blocks/helpers/getAvailableFields.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getFormFieldsBlocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getFormFieldsBlocks */ \"./package/blocks/helpers/getFormFieldsBlocks.js\");\n\nfunction getAvailableFields() {\n var exclude = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'default';\n var fields = [];\n var blocks = (0,_getFormFieldsBlocks__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(exclude, false, false, context);\n if (blocks) {\n blocks.forEach(function (item) {\n return fields.push(item.name);\n });\n }\n return fields;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getAvailableFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldEF2YWlsYWJsZUZpZWxkcy5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUF3RDtBQUV4RCxTQUFTQyxrQkFBa0JBLENBQUEsRUFBc0M7RUFBQSxJQUFwQ0MsT0FBTyxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxFQUFFO0VBQUEsSUFBRUcsT0FBTyxHQUFBSCxTQUFBLENBQUF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dWx0IGdldEF2YWlsYWJsZUZpZWxkczsiXSwibmFtZXMiOlsiZ2V0Rm9ybUZpZWxkc0Jsb2NrcyIsImdldEF2YWlsYWJsZUZpZWxkcyIsImV4Y2x1ZGUiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJjb250ZXh0IiwiZmllbGRzIiwiYmxvY2tzIiwiZm9yRWFjaCIsIml0ZW0iLCJwdXNoIiwibmFtZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getAvailableFields.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getAvailableFieldsString.js": +/*!************************************************************!*\ + !*** ./package/blocks/helpers/getAvailableFieldsString.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getAvailableFields__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getAvailableFields */ \"./package/blocks/helpers/getAvailableFields.js\");\n\nvar __ = wp.i18n.__;\nfunction getAvailableFieldsString(blockName) {\n var fields = (0,_getAvailableFields__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([blockName]);\n var fieldsString = [];\n fields.forEach(function (item) {\n fieldsString.push('%FIELD::' + item + '%');\n });\n return __('Available fields: ', 'jet-form-builder') + fieldsString.join(', ');\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getAvailableFieldsString);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldEF2YWlsYWJsZUZpZWxkc1N0cmluZy5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFzR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mcucHVzaCggJyVGSUVMRDo6JyArIGl0ZW0gKyAnJScgKTtcclxuXHR9ICk7XHJcblxyXG5cdHJldHVybiBfXyggJ0F2YWlsYWJsZSBmaWVsZHM6ICcsICdqZXQtZm9ybS1idWlsZGVyJyApICtcclxuXHRcdGZpZWxkc1N0cmluZy5qb2luKCAnLCAnICk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IGdldEF2YWlsYWJsZUZpZWxkc1N0cmluZzsiXSwibmFtZXMiOlsiZ2V0QXZhaWxhYmxlRmllbGRzIiwiX18iLCJ3cCIsImkxOG4iLCJnZXRBdmFpbGFibGVGaWVsZHNTdHJpbmciLCJibG9ja05hbWUiLCJmaWVsZHMiLCJmaWVsZHNTdHJpbmciLCJmb3JFYWNoIiwiaXRlbSIsInB1c2giLCJqb2luIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getAvailableFieldsString.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getBlockControls.js": +/*!****************************************************!*\ + !*** ./package/blocks/helpers/getBlockControls.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ControlsSettings__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ControlsSettings */ \"./package/blocks/helpers/ControlsSettings.js\");\n\nfunction getBlockControls() {\n var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'all';\n if (!type) {\n return false;\n }\n var controls = (0,_ControlsSettings__WEBPACK_IMPORTED_MODULE_0__[\"default\"])();\n if ('all' === type) {\n return controls;\n }\n if (controls[type] && controls[type].attrs && Array.isArray(controls[type].attrs) && 0 < controls[type].attrs.length) {\n return controls[type].attrs;\n }\n return false;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getBlockControls);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldEJsb2NrQ29udHJvbHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBa0Q7QUFFbEQsU0FBU0MsZ0JBQWdCQSxDQUFBLEVBQWlCO0VBQUEsSUFBZkMsSUFBSSxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxLQUFLO0VBQ3RDLElBQUssQ0FBQ0QsSUFBSSxFQUFHO0lBQ1osT0FBTyxLQUFLO0VBQ2I7RUFDQSxJQUFNSSxRQUFRLEdBQUdOLDZEQUFnQixDQUFDLENBQUM7RUFFbkMsSUFBSyxLQUFLLEtBQUtFLElBQUksRUFBRztJQUNyQixPQUFPSSxRQUFRO0VBQ2hCO0VBRUEsSUFBS0EsUUFBUSxDQUFFSixJQUFJLENBQUUsSUFDakJJLFFBQVEsQ0FBRUosSUFBSSxDQUFFLENBQUNLLEtBQUssSUFDdEJDLEtBQUssQ0FBQ0MsT0FBTyxDQUFFSCxRQUFRLENBQUVKLElBQUksQ0FBRSxDQUFDSyxLQUFNLENBQUMsSUFDdkMsQ0FBQyxHQUFHRCxRQUFRLENBQUVKLElBQUksQ0FBRSxDQUFDSyxLQUFLLENBQUNILE1BQU0sRUFDbkM7SUFDRCxPQUFPRSxRQUFRLENBQUVKLElBQUksQ0FBRSxDQUFDSyxLQUFLO0VBQzlCO0VBRUEsT0FBTyxLQUFLO0FBQ2I7QUFFQSxpRUFBZU4sZ0JBQWdCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9ibG9ja3MvaGVscGVycy9nZXRCbG9ja0NvbnRyb2xzLmpzPzhiYjciXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IENvbnRyb2xzU2V0dGluZ3MgZnJvbSAnLi9Db250cm9sc1NldHRpbmdzJztcclxuXHJcbmZ1bmN0aW9uIGdldEJsb2NrQ29udHJvbHMoIHR5cGUgPSAnYWxsJyApIHtcclxuXHRpZiAoICF0eXBlICkge1xyXG5cdFx0cmV0dXJuIGZhbHNlO1xyXG5cdH1cclxuXHRjb25zdCBjb250cm9scyA9IENvbnRyb2xzU2V0dGluZ3MoKTtcclxuXHJcblx0aWYgKCAnYWxsJyA9PT0gdHlwZSApIHtcclxuXHRcdHJldHVybiBjb250cm9scztcclxuXHR9XHJcblxyXG5cdGlmICggY29udHJvbHNbIHR5cGUgXVxyXG5cdFx0JiYgY29udHJvbHNbIHR5cGUgXS5hdHRyc1xyXG5cdFx0JiYgQXJyYXkuaXNBcnJheSggY29udHJvbHNbIHR5cGUgXS5hdHRycyApXHJcblx0XHQmJiAwIDwgY29udHJvbHNbIHR5cGUgXS5hdHRycy5sZW5ndGhcclxuXHQpIHtcclxuXHRcdHJldHVybiBjb250cm9sc1sgdHlwZSBdLmF0dHJzO1xyXG5cdH1cclxuXHJcblx0cmV0dXJuIGZhbHNlO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBnZXRCbG9ja0NvbnRyb2xzOyJdLCJuYW1lcyI6WyJDb250cm9sc1NldHRpbmdzIiwiZ2V0QmxvY2tDb250cm9scyIsInR5cGUiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJjb250cm9scyIsImF0dHJzIiwiQXJyYXkiLCJpc0FycmF5Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getBlockControls.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getBlocksByName.js": +/*!***************************************************!*\ + !*** ./package/blocks/helpers/getBlocksByName.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocksRecursiveIterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./blocksRecursiveIterator */ \"./package/blocks/helpers/blocksRecursiveIterator.js\");\n\nfunction getBlocksByName(blockNames) {\n var blocks = [];\n (0,_blocksRecursiveIterator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(function (block) {\n if (!blockNames.includes(block.name)) {\n return;\n }\n blocks.push(block);\n });\n return blocks;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getBlocksByName);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldEJsb2Nrc0J5TmFtZS5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFnRTtBQUVoRSxTQUFTQyxlQUFlQSxDQUFFQyxVQUFVLEVBQUc7RUFDdEMsSUFBTUMsTUFBTSxHQUFHLEVBQUU7RUFFakJILG9FQUF1QixDQUFFLFVBQUFJLEtBQUssRUFBSTtJQUNqQyxJQUFLLENBQUNGLFVBQVUsQ0FBQ0csUUFBUSxDQUFFRCxLQUFLLENBQUNFLElBQUssQ0FBQyxFQUFHO01BQ3pDO0lBQ0Q7SUFDQUgsTUFBTSxDQUFDSSxJQUFJLENBQUVILEtBQU0sQ0FBQztFQUNyQixDQUFFLENBQUM7RUFFSCxPQUFPRCxNQUFNO0FBQ2Q7QUFFQSxpRUFBZUYsZUFBZSIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYmxvY2tzL2hlbHBlcnMvZ2V0QmxvY2tzQnlOYW1lLmpzPzc4OGEiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGJsb2Nrc1JlY3Vyc2l2ZUl0ZXJhdG9yIGZyb20gJy4vYmxvY2tzUmVjdXJzaXZlSXRlcmF0b3InO1xyXG5cclxuZnVuY3Rpb24gZ2V0QmxvY2tzQnlOYW1lKCBibG9ja05hbWVzICkge1xyXG5cdGNvbnN0IGJsb2NrcyA9IFtdO1xyXG5cclxuXHRibG9ja3NSZWN1cnNpdmVJdGVyYXRvciggYmxvY2sgPT4ge1xyXG5cdFx0aWYgKCAhYmxvY2tOYW1lcy5pbmNsdWRlcyggYmxvY2submFtZSApICkge1xyXG5cdFx0XHRyZXR1cm47XHJcblx0XHR9XHJcblx0XHRibG9ja3MucHVzaCggYmxvY2sgKTtcclxuXHR9ICk7XHJcblxyXG5cdHJldHVybiBibG9ja3M7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IGdldEJsb2Nrc0J5TmFtZTsiXSwibmFtZXMiOlsiYmxvY2tzUmVjdXJzaXZlSXRlcmF0b3IiLCJnZXRCbG9ja3NCeU5hbWUiLCJibG9ja05hbWVzIiwiYmxvY2tzIiwiYmxvY2siLCJpbmNsdWRlcyIsIm5hbWUiLCJwdXNoIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getBlocksByName.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getCurrentInnerBlocks.js": +/*!*********************************************************!*\ + !*** ./package/blocks/helpers/getCurrentInnerBlocks.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _getInnerBlocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getInnerBlocks */ \"./package/blocks/helpers/getInnerBlocks.js\");\n\nvar useBlockProps = wp.blockEditor.useBlockProps;\nfunction getCurrentInnerBlocks() {\n var _useBlockProps = useBlockProps(),\n dataBlock = _useBlockProps['data-block'];\n return (0,_getInnerBlocks__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(dataBlock);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getCurrentInnerBlocks);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldEN1cnJlbnRJbm5lckJsb2Nrcy5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUE4QztBQUU5QyxJQUNPQyxhQUFhLEdBQ1ZDLEVBQUUsQ0FBQ0MsV0FBVyxDQURqQkYsYUFBYTtBQUdwQixTQUFTRyxxQkFBcUJBLENBQUEsRUFBRztFQUNoQyxJQUFBQyxjQUFBLEdBQW9DSixhQUFhLENBQUMsQ0FBQztJQUE3QkssU0FBUyxHQUFBRCxjQUFBLENBQXZCLFlBQVk7RUFFcEIsT0FBT0wsMkRBQWMsQ0FBRU0sU0FBVSxDQUFDO0FBQ25DO0FBRUEsaUVBQWVGLHFCQUFxQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYmxvY2tzL2hlbHBlcnMvZ2V0Q3VycmVudElubmVyQmxvY2tzLmpzPzczOWQiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGdldElubmVyQmxvY2tzIGZyb20gJy4vZ2V0SW5uZXJCbG9ja3MnO1xyXG5cclxuY29uc3Qge1xyXG5cdCAgICAgIHVzZUJsb2NrUHJvcHMsXHJcbiAgICAgIH0gPSB3cC5ibG9ja0VkaXRvcjtcclxuXHJcbmZ1bmN0aW9uIGdldEN1cnJlbnRJbm5lckJsb2NrcygpIHtcclxuXHRjb25zdCB7ICdkYXRhLWJsb2NrJzogZGF0YUJsb2NrIH0gPSB1c2VCbG9ja1Byb3BzKCk7XHJcblxyXG5cdHJldHVybiBnZXRJbm5lckJsb2NrcyggZGF0YUJsb2NrICk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IGdldEN1cnJlbnRJbm5lckJsb2NrczsiXSwibmFtZXMiOlsiZ2V0SW5uZXJCbG9ja3MiLCJ1c2VCbG9ja1Byb3BzIiwid3AiLCJibG9ja0VkaXRvciIsImdldEN1cnJlbnRJbm5lckJsb2NrcyIsIl91c2VCbG9ja1Byb3BzIiwiZGF0YUJsb2NrIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getCurrentInnerBlocks.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getFieldsWithoutCurrent.js": +/*!***********************************************************!*\ + !*** ./package/blocks/helpers/getFieldsWithoutCurrent.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocksRecursiveIterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./blocksRecursiveIterator */ \"./package/blocks/helpers/blocksRecursiveIterator.js\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\nvar _wp$hooks = wp.hooks,\n applyFilters = _wp$hooks.applyFilters,\n addFilter = _wp$hooks.addFilter;\nvar select = wp.data.select;\nfunction getFieldsWithoutCurrent() {\n var placeholder = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var suppressFilter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var context = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'default';\n var skipFields = ['submit', 'form-break', 'heading', 'group-break', 'conditional'];\n var formFields = [];\n var current = wp.data.select('core/block-editor').getSelectedBlock();\n (0,_blocksRecursiveIterator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(function (block) {\n if (block.name.includes('jet-forms/') && (current === null || current === void 0 ? void 0 : current.clientId) !== block.clientId && !skipFields.find(function (field) {\n return block.name.includes(field);\n })) {\n var _formFields;\n var blockType = select('core/blocks').getBlockType(block.name);\n var _blockType$jfbResolve = blockType.jfbResolveBlock.call(block, context),\n _blockType$jfbResolve2 = _blockType$jfbResolve.fields,\n newFields = _blockType$jfbResolve2 === void 0 ? [] : _blockType$jfbResolve2;\n if (blockType.hasOwnProperty('jfbGetFields')) {\n newFields = blockType.jfbGetFields.call(block, context);\n }\n (_formFields = formFields).push.apply(_formFields, _toConsumableArray(newFields.filter(function (current) {\n return !formFields.some(function (_ref) {\n var value = _ref.value;\n return value === current.value;\n });\n })));\n }\n });\n formFields = placeholder ? [{\n value: '',\n label: placeholder\n }].concat(_toConsumableArray(formFields)) : formFields;\n return suppressFilter ? formFields : applyFilters('jet.fb.getFormFieldsBlocks', formFields, context);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getFieldsWithoutCurrent);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldEZpZWxkc1dpdGhvdXRDdXJyZW50LmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQWdFO0FBRWhFLElBQUFDLFNBQUEsR0FHVUMsRUFBRSxDQUFDQyxLQUFLO0VBRlhDLFlBQVksR0FBQUgsU0FBQSxDQUFaRyxZQUFZO0VBQ1pDLFNBQVMsR0FBQUosU0FBQSxDQUFUSSxTQUFTO0FBRWhCLElBQ09DLE1BQU0sR0FDSEosRUFBRSxDQUFDSyxJQUFJLENBRFZELE1BQU07QUFHYixTQUFTRSx1QkFBdUJBLENBQUEsRUFJOUI7RUFBQSxJQUhEQyxXQUFXLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFNLEtBQUs7RUFBQSxJQUN0QkcsY0FBYyxHQUFBSCxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxLQUFLO0VBQUEsSUFDdEJJLE9BQU8sR0FBQUosU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQVUsU0FBUztFQUcxQixJQUFNSyxVQUFVLEdBQUcsQ0FDbEIsUUFBUSxFQUNSLFlBQVksRUFDWixTQUFTLEVBQ1QsYUFBYSxFQUNiLGFBQWEsQ0FDYjtFQUNELElBQUlDLFVBQVUsR0FBSyxFQUFFO0VBRXJCLElBQU1DLE9BQU8sR0FBR2YsRUFBRSxDQUFDSyxJQUFJLENBQUNELE1BQU0sQ0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CJzdXBwcmVzc0ZpbHRlciIsImNvbnRleHQiLCJza2lwRmllbGRzIiwiZm9ybUZpZWxkcyIsImN1cnJlbnQiLCJnZXRTZWxlY3RlZEJsb2NrIiwiYmxvY2siLCJuYW1lIiwiaW5jbHVkZXMiLCJjbGllbnRJZCIsImZpbmQiLCJmaWVsZCIsIl9mb3JtRmllbGRzIiwiYmxvY2tUeXBlIiwiZ2V0QmxvY2tUeXBlIiwiX2Jsb2NrVHlwZSRqZmJSZXNvbHZlIiwiamZiUmVzb2x2ZUJsb2NrIiwiY2FsbCIsIl9ibG9ja1R5cGUkamZiUmVzb2x2ZTIiLCJmaWVsZHMiLCJuZXdGaWVsZHMiLCJoYXNPd25Qcm9wZXJ0eSIsImpmYkdldEZpZWxkcyIsInB1c2giLCJhcHBseSIsIl90b0NvbnN1bWFibGVBcnJheSIsImZpbHRlciIsInNvbWUiLCJfcmVmIiwidmFsdWUiLCJsYWJlbCIsImNvbmNhdCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getFieldsWithoutCurrent.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getFormFieldsBlocks.js": +/*!*******************************************************!*\ + !*** ./package/blocks/helpers/getFormFieldsBlocks.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocksRecursiveIterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./blocksRecursiveIterator */ \"./package/blocks/helpers/blocksRecursiveIterator.js\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\nvar _wp$hooks = wp.hooks,\n applyFilters = _wp$hooks.applyFilters,\n addFilter = _wp$hooks.addFilter;\nvar select = wp.data.select;\nfunction getFormFieldsBlocks() {\n var exclude = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var placeholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var suppressFilter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var context = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'default';\n var formFields = [];\n var skipFields = ['submit', 'form-break', 'heading', 'group-break', 'conditional'].concat(_toConsumableArray(exclude));\n (0,_blocksRecursiveIterator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(function (block) {\n if (block.name.includes('jet-forms/') && !skipFields.find(function (field) {\n return block.name.includes(field);\n })) {\n var _formFields;\n var blockType = select('core/blocks').getBlockType(block.name);\n var _blockType$jfbResolve = blockType.jfbResolveBlock.call(block, context),\n _blockType$jfbResolve2 = _blockType$jfbResolve.fields,\n newFields = _blockType$jfbResolve2 === void 0 ? [] : _blockType$jfbResolve2;\n if (blockType.hasOwnProperty('jfbGetFields')) {\n newFields = blockType.jfbGetFields.call(block, context);\n }\n (_formFields = formFields).push.apply(_formFields, _toConsumableArray(newFields.filter(function (current) {\n return !formFields.some(function (_ref) {\n var value = _ref.value;\n return value === current.value;\n });\n })));\n }\n });\n formFields = placeholder ? [{\n value: '',\n label: placeholder\n }].concat(_toConsumableArray(formFields)) : formFields;\n return suppressFilter ? formFields : applyFilters('jet.fb.getFormFieldsBlocks', formFields, context);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getFormFieldsBlocks);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldEZvcm1GaWVsZHNCbG9ja3MuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBZ0U7QUFFaEUsSUFBQUMsU0FBQSxHQUdVQyxFQUFFLENBQUNDLEtBQUs7RUFGWEMsWUFBWSxHQUFBSCxTQUFBLENBQVpHLFlBQVk7RUFDWkMsU0FBUyxHQUFBSixTQUFBLENBQVRJLFNBQVM7QUFFaEIsSUFDT0MsTUFBTSxHQUNISixFQUFFLENBQUNLLElBQUksQ0FEVkQsTUFBTTtBQUdiLFNBQVNFLG1CQUFtQkEsQ0FBQSxFQUsxQjtFQUFBLElBSkRDLE9BQU8sR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQVUsRUFBRTtFQUFBLElBQ25CRyxXQUFXLEdBQUFILFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFNLEtBQUs7RUFBQSxJQUN0QkksY0FBYyxHQUFBSixTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNB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iwicGxhY2Vob2xkZXIiLCJzdXBwcmVzc0ZpbHRlciIsImNvbnRleHQiLCJmb3JtRmllbGRzIiwic2tpcEZpZWxkcyIsImNvbmNhdCIsIl90b0NvbnN1bWFibGVBcnJheSIsImJsb2NrIiwibmFtZSIsImluY2x1ZGVzIiwiZmluZCIsImZpZWxkIiwiX2Zvcm1GaWVsZHMiLCJibG9ja1R5cGUiLCJnZXRCbG9ja1R5cGUiLCJfYmxvY2tUeXBlJGpmYlJlc29sdmUiLCJqZmJSZXNvbHZlQmxvY2siLCJjYWxsIiwiX2Jsb2NrVHlwZSRqZmJSZXNvbHZlMiIsImZpZWxkcyIsIm5ld0ZpZWxkcyIsImhhc093blByb3BlcnR5IiwiamZiR2V0RmllbGRzIiwicHVzaCIsImFwcGx5IiwiZmlsdGVyIiwiY3VycmVudCIsInNvbWUiLCJfcmVmIiwidmFsdWUiLCJsYWJlbCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getFormFieldsBlocks.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getInnerBlocks.js": +/*!**************************************************!*\ + !*** ./package/blocks/helpers/getInnerBlocks.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction getInnerBlocks(clientId) {\n var block = wp.data.select('core/block-editor').getBlock(clientId);\n return block ? block.innerBlocks : [];\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getInnerBlocks);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldElubmVyQmxvY2tzLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxTQUFTQSxjQUFjQSxDQUFFQyxRQUFRLEVBQUc7RUFDbkMsSUFBTUMsS0FBSyxHQUFHQyxFQUFFLENBQUNDLElBQUksQ0FBQ0MsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNDLFFBQVEsQ0FBRUwsUUFBUyxDQUFDO0VBQ3hFLE9BQU9DLEtBQUssR0FBR0EsS0FBSyxDQUFDSyxXQUFXLEdBQUcsRUFBRTtBQUN0QztBQUVBLGlFQUFlUCxjQUFjIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9ibG9ja3MvaGVscGVycy9nZXRJbm5lckJsb2Nrcy5qcz8zMzgyIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIGdldElubmVyQmxvY2tzKCBjbGllbnRJZCApIHtcclxuXHRjb25zdCBibG9jayA9IHdwLmRhdGEuc2VsZWN0KCAnY29yZS9ibG9jay1lZGl0b3InICkuZ2V0QmxvY2soIGNsaWVudElkICk7XHJcblx0cmV0dXJuIGJsb2NrID8gYmxvY2suaW5uZXJCbG9ja3MgOiBbXTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgZ2V0SW5uZXJCbG9ja3M7Il0sIm5hbWVzIjpbImdldElubmVyQmxvY2tzIiwiY2xpZW50SWQiLCJibG9jayIsIndwIiwiZGF0YSIsInNlbGVjdCIsImdldEJsb2NrIiwiaW5uZXJCbG9ja3MiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getInnerBlocks.js\n"); + +/***/ }), + +/***/ "./package/blocks/helpers/getSupport.js": +/*!**********************************************!*\ + !*** ./package/blocks/helpers/getSupport.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar get = window._.get;\n\n/**\r\n * @param blockSettings {Object} from block.json\r\n * @param supportsPath {String|Array}\r\n */\nfunction getSupport(blockSettings, supportsPath) {\n if (!Array.isArray(supportsPath)) {\n supportsPath = [supportsPath];\n }\n return get(blockSettings, ['supports'].concat(_toConsumableArray(supportsPath)), false);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getSupport);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9oZWxwZXJzL2dldFN1cHBvcnQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLElBQVFBLEdBQUcsR0FBS0MsTUFBTSxDQUFDQyxDQUFDLENBQWhCRixHQ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iOlsiZ2V0Iiwid2luZG93IiwiXyIsImdldFN1cHBvcnQiLCJibG9ja1NldHRpbmdzIiwic3VwcG9ydHNQYXRoIiwiQXJyYXkiLCJpc0FycmF5IiwiY29uY2F0IiwiX3RvQ29uc3VtYWJsZUFycmF5Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/helpers/getSupport.js\n"); + +/***/ }), + +/***/ "./package/blocks/hooks/useBlockAttributes.js": +/*!****************************************************!*\ + !*** ./package/blocks/hooks/useBlockAttributes.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar useBlockEditContext = wp.blockEditor.useBlockEditContext;\nvar _wp$data = wp.data,\n useSelect = _wp$data.useSelect,\n useDispatch = _wp$data.useDispatch,\n select = _wp$data.select;\nfunction useBlockAttributes() {\n var otherClientId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n var blockProps = useBlockEditContext();\n var clientId = blockProps.clientId;\n if (otherClientId) {\n clientId = otherClientId;\n }\n var attributes = useSelect(function (select) {\n return select('core/block-editor').getBlockAttributes(clientId);\n });\n var _useDispatch = useDispatch('core/block-editor', []),\n updateBlock = _useDispatch.updateBlock;\n\n /**\r\n * @param props {Object|Function}\r\n */\n var updateAttributes = function updateAttributes(props) {\n props = 'object' === _typeof(props) ? props : props(attributes);\n props = select('jet-forms/fields').getSanitizedAttributes(props, blockProps);\n updateBlock(clientId, {\n attributes: props\n });\n };\n return [attributes, updateAttributes];\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useBlockAttributes);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VCbG9ja0F0dHJpYnV0ZXMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxJQUNPQSxtQkFBbUIsR0FDaEJDLEVBQUUsQ0FBQ0MsV0FBVyxDQURqQkYsbUJBQW1CO0FBRTFCLElBQUFHLFFBQUEsR0FJVUYsRUFBRSxDQUFDRyxJQUFJO0VBSFZDLFNBQVMsR0FBQUYsUUFBQSxDQUFURSxTQUFTO0VBQ1RDLFdBQVcsR0FBQUgsUUFBQSxDQUFYRyxXQUFXO0VBQ1hDLE1BQU0sR0FBQUosUUFBQSxDQUFOSSxNQUFNO0FBR2IsU0FBU0Msa0JBQWtCQSxDQUFBLEVBQXlCO0VBQUEsSUFBdkJDLGFBQWEsR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQUcsSUFBSTtFQUNoRCxJQUFNRyxVQUFVLEdBQUtiLG1CQUFtQixDQUFDLENBQUM7RUFDMUMsSUFBTWMsUUFBUSxHQUFLRCxVQUFVLENBQXZCQyxRQUFRO0VBRWQsSUFBS0wsYUFBYSxFQUFHO0lBQ3BCSyxRQUFRLEdBQUdMLGFBQWE7RUFDekI7RUFFQSxJQUFNTSxVQUFVLEdBQVFWLFNBQVMsQ0FBRSxVQUFBRSxNQUFNLEVBQUk7SUFDNUMsT0FBT0EsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNTLGtCQUFrQixDQUFFRixRQUFTLENBQUM7RUFDcEUsQ0FBRSxDQUFDO0VBQ0gsSUFBQUcsWUFBQSxHQUF3QlgsV0FBVyxDQUFFLG1CQUFt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zOyJdLCJuYW1lcyI6WyJ1c2VCbG9ja0VkaXRDb250ZXh0Iiwid3AiLCJibG9ja0VkaXRvciIsIl93cCRkYXRhIiwiZGF0YSIsInVzZVNlbGVjdCIsInVzZURpc3BhdGNoIiwic2VsZWN0IiwidXNlQmxvY2tBdHRyaWJ1dGVzIiwib3RoZXJDbGllbnRJZCIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsImJsb2NrUHJvcHMiLCJjbGllbnRJZCIsImF0dHJpYnV0ZXMiLCJnZXRCbG9ja0F0dHJpYnV0ZXMiLCJfdXNlRGlzcGF0Y2giLCJ1cGRhdGVCbG9jayIsInVwZGF0ZUF0dHJpYnV0ZXMiLCJwcm9wcyIsIl90eXBlb2YiLCJnZXRTYW5pdGl6ZWRBdHRyaWJ1dGVzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/hooks/useBlockAttributes.js\n"); + +/***/ }), + +/***/ "./package/blocks/hooks/useFields.js": +/*!*******************************************!*\ + !*** ./package/blocks/hooks/useFields.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../store */ \"./package/blocks/store/index.js\");\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../tools */ \"./package/tools.js\");\n/* harmony import */ var _actions_hooks_useRequestFields__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../actions/hooks/useRequestFields */ \"./package/actions/hooks/useRequestFields.js\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\nvar useSelect = wp.data.useSelect;\nvar useBlockEditContext = wp.blockEditor.useBlockEditContext;\nvar applyFilters = wp.hooks.applyFilters;\n\n/**\r\n * @param options {{\r\n * withInner: Boolean|undefined,\r\n * excludeCurrent: Boolean|undefined\r\n * currentId: String|undefined\r\n * placeholder: String|undefined\r\n * }}\r\n * @param deps {undefined|Array}\r\n * @returns {Array}\r\n */\nfunction useFields() {\n var _blockProps$clientId, _fields;\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var deps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n var blockProps = useBlockEditContext();\n var actionFields = (0,_actions_hooks_useRequestFields__WEBPACK_IMPORTED_MODULE_2__[\"default\"])();\n if (options.excludeCurrent && blockProps !== null && blockProps !== void 0 && (_blockProps$clientId = blockProps.clientId) !== null && _blockProps$clientId !== void 0 && _blockProps$clientId.length) {\n options.currentId = blockProps.clientId;\n }\n var fields = useSelect(function (select) {\n return select(_store__WEBPACK_IMPORTED_MODULE_0__.storeName).getFields(options);\n }, deps);\n\n // should be deprecated\n fields = applyFilters('jet.fb.getFormFieldsBlocks', fields);\n (_fields = fields).push.apply(_fields, _toConsumableArray(actionFields));\n return options.placeholder ? _tools__WEBPACK_IMPORTED_MODULE_1__[\"default\"].withPlaceholder(fields, options.placeholder) : fields;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VGaWVsZHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFxQztBQUNMO0FBQ29DO0FBRXBFLElBQ09HLFNBQVMsR0FDTkMsRUFBRSxDQUFDQyxJQUFJLENBRFZGLFNBQVM7QUFFaEIsSUFDT0csbUJBQW1CLEdBQ2hCRixFQUFFLENBQUNHLFdBQVcsQ0FEakJELG1CQUFtQjtBQUcxQixJQUFRRSxZQUFZLEdBQUtKLEVBQUUsQ0FBQ0ssS0FBSyxDQUF6QkQsWUFBWTs7QUFFcEI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxTQUFTRSxTQUFTQSxDQUFBLEVBQW1DO0VBQUEsSUFBQUMsb0JBQUEsRUFBQUMsT0FBQTtFQUFBLElBQWpDQyxPQUFPLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFHLENBQUMsQ0FBQztFQUFBLElBQUVHLElBQUksR0FBQUgsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQUdFLFNBQVM7RUFDakQsSUFBTUUsVUFBVSxHQUFLWixtQkFBbUIsQ0FBQyxDQUFDO0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package/blocks/hooks/useFields.js\n"); + +/***/ }), + +/***/ "./package/blocks/hooks/useIsAdvancedValidation.js": +/*!*********************************************************!*\ + !*** ./package/blocks/hooks/useIsAdvancedValidation.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../hooks/useSelectPostMeta */ \"./package/hooks/useSelectPostMeta.js\");\n/* harmony import */ var _useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nfunction useIsAdvancedValidation() {\n var _attributes$validatio;\n var _useSelectPostMeta = (0,_hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_0__[\"default\"])('_jf_validation'),\n type = _useSelectPostMeta.type;\n var _useBlockAttributes = (0,_useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 1),\n attributes = _useBlockAttributes2[0];\n if ((_attributes$validatio = attributes.validation) !== null && _attributes$validatio !== void 0 && _attributes$validatio.type) {\n var _attributes$validatio2;\n return 'advanced' === ((_attributes$validatio2 = attributes.validation) === null || _attributes$validatio2 === void 0 ? void 0 : _attributes$validatio2.type);\n }\n return 'advanced' === type;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useIsAdvancedValidation);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VJc0FkdmFuY2VkVmFsaWRhdGlvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBOEQ7QUFDUjtBQUV0RCxTQUFTRSx1QkFBdUJBLENBQUEsRUFBRztFQUFBLElBQUFDLHFCQUFBO0VBQ2xDLElBQUFDLGtCQUFBLEdBQXVCSixvRUFBaUIsQ0FBRSxnQkFBaUIsQ0FBQztJQUFwREssSUFBSSxHQUFBRCxrQkFBQSxDQUFKQyxJQUFJO0V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mNlZCcgPT09IGF0dHJpYnV0ZXMudmFsaWRhdGlvbj8udHlwZTtcclxuXHR9XHJcblxyXG5cdHJldHVybiAnYWR2YW5jZWQnID09PSB0eXBlO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VJc0FkdmFuY2VkVmFsaWRhdGlvbjsiXSwibmFtZXMiOlsidXNlU2VsZWN0UG9zdE1ldGEiLCJ1c2VCbG9ja0F0dHJpYnV0ZXMiLCJ1c2VJc0FkdmFuY2VkVmFsaWRhdGlvbiIsIl9hdHRyaWJ1dGVzJHZhbGlkYXRpbyIsIl91c2VTZWxlY3RQb3N0TWV0YSIsInR5cGUiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzIiwiX3VzZUJsb2NrQXR0cmlidXRlczIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJ2YWxpZGF0aW9uIiwiX2F0dHJpYnV0ZXMkdmFsaWRhdGlvMiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/hooks/useIsAdvancedValidation.js\n"); + +/***/ }), + +/***/ "./package/blocks/hooks/useIsUniqueFieldName.js": +/*!******************************************************!*\ + !*** ./package/blocks/hooks/useIsUniqueFieldName.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _actions_hooks_useRequestFields__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../actions/hooks/useRequestFields */ \"./package/actions/hooks/useRequestFields.js\");\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\nvar useSelect = wp.data.useSelect;\nvar useBlockEditContext = wp.blockEditor.useBlockEditContext;\nvar _wp$i18n = wp.i18n,\n __ = _wp$i18n.__,\n sprintf = _wp$i18n.sprintf;\nvar actionTypesMap = {};\nvar _iterator = _createForOfIteratorHelper(window.jetFormActionTypes),\n _step;\ntry {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _step$value = _step.value,\n id = _step$value.id,\n name = _step$value.name;\n actionTypesMap[id] = name;\n }\n} catch (err) {\n _iterator.e(err);\n} finally {\n _iterator.f();\n}\nfunction useIsUniqueFieldName() {\n var _useBlockEditContext = useBlockEditContext(),\n clientId = _useBlockEditContext.clientId;\n var actionFields = (0,_actions_hooks_useRequestFields__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n returnOnEmptyCurrentAction: false\n });\n var _useSelect = useSelect(function (select) {\n var _currentBlock$fields$, _currentBlock$fields, _currentBlock$fields$2;\n var currentBlock = select('jet-forms/fields').getBlockById(clientId);\n return {\n hasParent: !!(currentBlock !== null && currentBlock !== void 0 && currentBlock.parentBlock),\n fieldNames: (_currentBlock$fields$ = currentBlock === null || currentBlock === void 0 || (_currentBlock$fields = currentBlock.fields) === null || _currentBlock$fields === void 0 || (_currentBlock$fields$2 = _currentBlock$fields.map) === null || _currentBlock$fields$2 === void 0 ? void 0 : _currentBlock$fields$2.call(_currentBlock$fields, function (_ref) {\n var value = _ref.value;\n return value;\n })) !== null && _currentBlock$fields$ !== void 0 ? _currentBlock$fields$ : [],\n inFormFields: select('jet-forms/fields').isUniqueName(clientId)\n };\n }),\n inFormFields = _useSelect.inFormFields,\n hasParent = _useSelect.hasParent,\n fieldNames = _useSelect.fieldNames;\n if (!inFormFields) {\n return {\n error: 'not_unique_in_fields',\n message: __('The form field name must be unique. Please change it', 'jet-form-builder')\n };\n }\n if (hasParent) {\n return {};\n }\n var computed = actionFields.find(function (_ref2) {\n var value = _ref2.value;\n return fieldNames.includes(value);\n });\n if (!computed) {\n return {};\n }\n return {\n error: 'not_unique_in_actions',\n message: computed !== null && computed !== void 0 && computed.from ? sprintf(__(\"The %s action already uses this field name. Please change it\", 'jet-form-builder'), actionTypesMap[computed.from]) : __('The form field name must be unique. Please change it', 'jet-form-builder')\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useIsUniqueFieldName);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VJc1VuaXF1ZUZpZWxkTmFtZS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFvRTtBQUVwRSxJQUNPQyxTQUFTLEdBQ05DLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixTQUFTO0FBRWhC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5Gb3JtRmllbGRzIiwiaXNVbmlxdWVOYW1lIiwiZXJyb3IiLCJtZXNzYWdlIiwiY29tcHV0ZWQiLCJmaW5kIiwiX3JlZjIiLCJpbmNsdWRlcyIsImZyb20iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/hooks/useIsUniqueFieldName.js\n"); + +/***/ }), + +/***/ "./package/blocks/hooks/useScopedAttributesContext.js": +/*!************************************************************!*\ + !*** ./package/blocks/hooks/useScopedAttributesContext.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_ScopedAttributesContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/ScopedAttributesContext */ \"./package/blocks/context/ScopedAttributesContext.js\");\n\nvar useContext = wp.element.useContext;\n\n/**\r\n * @returns {{\r\n * attributes: Object,\r\n * setAttributes: Function,\r\n * realAttributes: Object,\r\n * setRealAttributes: Function,\r\n * }}\r\n */\nfunction useScopedAttributesContext() {\n return useContext(_context_ScopedAttributesContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useScopedAttributesContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VTY29wZWRBdHRyaWJ1dGVzQ29udGV4dC5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUF5RTtBQUV6RSxJQUNPQyxVQUFVLEdBQ1BDLEVBQUUsQ0FBQ0MsT0FBTyxDQURiRixVQUFVOztBQUdqQjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0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\n"); + +/***/ }), + +/***/ "./package/blocks/hooks/useSupport.js": +/*!********************************************!*\ + !*** ./package/blocks/hooks/useSupport.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar useSelect = wp.data.useSelect;\nvar useBlockEditContext = wp.blockEditor.useBlockEditContext;\nvar get = window._.get;\nfunction useSupport(supportName) {\n var _useBlockEditContext = useBlockEditContext(),\n clientId = _useBlockEditContext.clientId,\n name = _useBlockEditContext.name;\n return useSelect(function (select) {\n var blockType = select('core/blocks').getBlockType(name);\n return get(blockType, ['supports', supportName], false);\n }, [clientId]);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSupport);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VTdXBwb3J0LmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxTQUFTLEdBQ05DLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixTQUFTO0FBR2hCLElBQ09HLG1CQUFtQixHQUNoQkYsRUFBRSxDQUFDRyxXQUFXLENBRGpCRCxtQkFBbUI7QUFHMUIsSUFBUUUsR0FBRyxHQUFLQyxNQUFNLENBQUNDLENBQUMsQ0FBaEJGLEdBQUc7QUFFWCxTQUFTRyxVQUFVQSxDQUFFQyxXQUFXLEVBQUc7RUFDbEMsSUFBQUMsb0JBQUEsR0FBMkJQLG1CQUFtQixDQUFDLENBQUM7SUFBeENRLFFBQVEsR0FBQUQsb0JBQUEsQ0FBUkMsUUFBUTtJQUFFQyxJQUFJLEdBQUFGLG9CQUFBLENBQUpFLElBQUk7RUFFdEIsT0FBT1os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0sXHJcblx0KTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgdXNlU3VwcG9ydDsiXSwibmFtZXMiOlsidXNlU2VsZWN0Iiwid3AiLCJkYXRhIiwidXNlQmxvY2tFZGl0Q29udGV4dCIsImJsb2NrRWRpdG9yIiwiZ2V0Iiwid2luZG93IiwiXyIsInVzZVN1cHBvcnQiLCJzdXBwb3J0TmFtZSIsIl91c2VCbG9ja0VkaXRDb250ZXh0IiwiY2xpZW50SWQiLCJuYW1lIiwic2VsZWN0IiwiYmxvY2tUeXBlIiwiZ2V0QmxvY2tUeXBlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/hooks/useSupport.js\n"); + +/***/ }), + +/***/ "./package/blocks/hooks/useUniqKey.js": +/*!********************************************!*\ + !*** ./package/blocks/hooks/useUniqKey.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar useBlockEditContext = wp.blockEditor.useBlockEditContext;\nfunction useUniqKey() {\n var _useBlockEditContext = useBlockEditContext(),\n clientId = _useBlockEditContext.clientId;\n return function (slug) {\n return slug + '-' + clientId;\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useUniqKey);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VVbmlxS2V5LmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxtQkFBbUIsR0FDaEJDLEVBQUUsQ0FBQ0MsV0FBVyxDQURqQkYsbUJBQW1CO0FBRzFCLFNBQVNHLFVBQVVBLENBQUEsRUFBRztFQUNyQixJQUFBQyxvQkFBQSxHQUFxQkosbUJBQW1CLENBQUMsQ0FBQztJQUFsQ0ssUUFBUSxHQUFBRCxvQkFBQSxDQUFSQyxRQUFRO0VBRWhCLE9BQU8sVUFBQUMsSUFBSTtJQUFBLE9BQ1ZBLElBQUksR0FBRyxHQUFHLEdBQUdELFFBQVE7RUFBQSxDQUNyQjtBQUNGO0FBRUEsaUVBQWVGLFVBQVUiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VVbmlxS2V5LmpzPzcyOTAiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3Qge1xyXG5cdCAgICAgIHVzZUJsb2NrRWRpdENvbnRleHQsXHJcbiAgICAgIH0gPSB3cC5ibG9ja0VkaXRvcjtcclxuXHJcbmZ1bmN0aW9uIHVzZVVuaXFLZXkoKSB7XHJcblx0Y29uc3QgeyBjbGllbnRJZCB9ID0gdXNlQmxvY2tFZGl0Q29udGV4dCgpO1xyXG5cclxuXHRyZXR1cm4gc2x1ZyA9PiAoXHJcblx0XHRzbHVnICsgJy0nICsgY2xpZW50SWRcclxuXHQpO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VVbmlxS2V5OyJdLCJuYW1lcyI6WyJ1c2VCbG9ja0VkaXRDb250ZXh0Iiwid3AiLCJibG9ja0VkaXRvciIsInVzZVVuaXFLZXkiLCJfdXNlQmxvY2tFZGl0Q29udGV4dCIsImNsaWVudElkIiwic2x1ZyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/hooks/useUniqKey.js\n"); + +/***/ }), + +/***/ "./package/blocks/hooks/useUniqueNameOnDuplicate.js": +/*!**********************************************************!*\ + !*** ./package/blocks/hooks/useUniqueNameOnDuplicate.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../store */ \"./package/blocks/store/index.js\");\n/* harmony import */ var _useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar useEffect = wp.element.useEffect;\nvar useSelect = wp.data.useSelect;\nvar useBlockProps = wp.blockEditor.useBlockProps;\nfunction useUniqueNameOnDuplicate() {\n var customChangeNames = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n var blockProps = useBlockProps();\n var _useBlockAttributes = (0,_useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n setAttrs = _useBlockAttributes2[1];\n var clientId = blockProps['data-block'];\n var names = useSelect(function (select) {\n var isJust = select(_store__WEBPACK_IMPORTED_MODULE_0__.storeName).isRecentlyAdded(clientId);\n if (!isJust) {\n return false;\n }\n var _select$getUniqueName = select(_store__WEBPACK_IMPORTED_MODULE_0__.storeName).getUniqueNames(clientId),\n hasChanged = _select$getUniqueName.hasChanged,\n names = _select$getUniqueName.names;\n return hasChanged ? names : false;\n }, [clientId]);\n useEffect(function () {\n if (!names) {\n return;\n }\n if ('function' === typeof customChangeNames) {\n customChangeNames(names);\n return;\n }\n setAttrs({\n name: names.split('|')[0]\n });\n }, [names]);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useUniqueNameOnDuplicate);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9ob29rcy91c2VVbmlxdWVOYW1lT25EdXBsaWNhdGUuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQXFDO0FBQ2lCO0FBRXRELElBQ09FLFNBQVMsR0FDTkMsRUFBRSxDQUFDQyxPQUFPLENBRGJGLFNBQVM7QUFHaEIsSUFDT0csU0FBUyxHQUNORixFQUFFLENBQUNHLElBQUksQ0FEVkQsU0FBUztBQUdoQixJQUNPRSxhQUFhLEdBQ1ZKLEVBQUUsQ0FBQ0ssV0FBVyxDQURqQkQsYUFB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c2VCbG9ja0F0dHJpYnV0ZXMiLCJ1c2VFZmZlY3QiLCJ3cCIsImVsZW1lbnQiLCJ1c2VTZWxlY3QiLCJkYXRhIiwidXNlQmxvY2tQcm9wcyIsImJsb2NrRWRpdG9yIiwidXNlVW5pcXVlTmFtZU9uRHVwbGljYXRlIiwiY3VzdG9tQ2hhbmdlTmFtZXMiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJibG9ja1Byb3BzIiwiX3VzZUJsb2NrQXR0cmlidXRlcyIsIl91c2VCbG9ja0F0dHJpYnV0ZXMyIiwiX3NsaWNlZFRvQXJyYXkiLCJzZXRBdHRycyIsImNsaWVudElkIiwibmFtZXMiLCJzZWxlY3QiLCJpc0p1c3QiLCJpc1JlY2VudGx5QWRkZWQiLCJfc2VsZWN0JGdldFVuaXF1ZU5hbWUiLCJnZXRVbmlxdWVOYW1lcyIsImhhc0NoYW5nZWQiLCJuYW1lIiwic3BsaXQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/hooks/useUniqueNameOnDuplicate.js\n"); + +/***/ }), + +/***/ "./package/blocks/store/actions.js": +/*!*****************************************!*\ + !*** ./package/blocks/store/actions.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/blocks/store/constants.js\");\n/* harmony import */ var _getPreparedBlocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getPreparedBlocks */ \"./package/blocks/store/getPreparedBlocks.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./index */ \"./package/blocks/store/index.js\");\n\n\n\nvar _wp$data = wp.data,\n select = _wp$data.select,\n dispatch = _wp$data.dispatch;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n setBlocks: function setBlocks() {\n var action = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n if (null === action) {\n action = (0,_getPreparedBlocks__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n }\n var hasExecuted = select(_index__WEBPACK_IMPORTED_MODULE_2__.storeName).isExecuted();\n if (!hasExecuted) {\n dispatch(_index__WEBPACK_IMPORTED_MODULE_2__.storeName).toggleExecute();\n }\n return {\n type: hasExecuted ? _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setBlocks : _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setBlocksFirst,\n blocks: action.blocks,\n blockMap: action.blockMap\n };\n },\n toggleExecute: function toggleExecute() {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toggleExecute\n };\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9zdG9yZS9hY3Rpb25zLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBb0M7QUFDZ0I7QUFDaEI7QUFFcEMsSUFBQUcsUUFBQSxHQUdVQyxFQUFFLENBQUNDLElBQUk7RUFGVkMsTUFBTSxHQUFBSCxRQUFBLENBQU5HLE1BQU07RUFDTkMsUUFBUSxHQUFBSixRQUFBLENBQVJJLFFBQVE7QUFHZixpRUFBZTtFQUNkQyxTQUFTLFdBQUFBLFVBQUEsRUFBa0I7SUFBQSxJQUFoQkMsTUFBTSxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxJQUFJO0lBQ3ZCLElBQUssSUFBSSxLQUFLRCxNQUFNLEVBQUc7TUFDdEJBLE1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 }), + +/***/ "./package/blocks/store/constants.js": +/*!*******************************************!*\ + !*** ./package/blocks/store/constants.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n setBlocks: 'SET_BLOCKS',\n setBlocksFirst: 'SET_BLOCKS_FIRST',\n toggleExecute: 'TOGGLE_EXECUTE'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9zdG9yZS9jb25zdGFudHMuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLGlFQUFlO0VBQ2RBLFNBQVMsRUFBRSxZQUFZO0VBQ3ZCQyxjQUFjLEVBQUUsa0JBQWtCO0VBQ2xDQyxhQUFhLEVBQUU7QUFDaEIsQ0FBQyIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvYmxvY2tzL3N0b3JlL2NvbnN0YW50cy5qcz9kYjViIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IHtcclxuXHRzZXRCbG9ja3M6ICdTRVRfQkxPQ0tTJyxcclxuXHRzZXRCbG9ja3NGaXJzdDogJ1NFVF9CTE9DS1NfRklSU1QnLFxyXG5cdHRvZ2dsZUV4ZWN1dGU6ICdUT0dHTEVfRVhFQ1VURScsXHJcbn07XHJcblxyXG5cclxuIl0sIm5hbWVzIjpbInNldEJsb2NrcyIsInNldEJsb2Nrc0ZpcnN0IiwidG9nZ2xlRXhlY3V0ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/store/constants.js\n"); + +/***/ }), + +/***/ "./package/blocks/store/dispatchers.js": +/*!*********************************************!*\ + !*** ./package/blocks/store/dispatchers.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/blocks/store/constants.js\");\nvar _dispatchers;\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nvar dispatchers = (_dispatchers = {}, _defineProperty(_dispatchers, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setBlocks, function (state, action) {\n var recentlyAdded = [];\n for (var blockMapKey in action.blockMap) {\n if (!action.blockMap.hasOwnProperty(blockMapKey) || state.blockMap.hasOwnProperty(blockMapKey)) {\n continue;\n }\n recentlyAdded.push(blockMapKey);\n }\n return _objectSpread(_objectSpread({}, state), {}, {\n blocks: action.blocks,\n blockMap: action.blockMap,\n recentlyAdded: recentlyAdded\n });\n}), _defineProperty(_dispatchers, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setBlocksFirst, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n blocks: action.blocks,\n blockMap: action.blockMap\n });\n}), _defineProperty(_dispatchers, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].toggleExecute, function (state) {\n return _objectSpread(_objectSpread({}, state), {}, {\n executed: true\n });\n}), _dispatchers);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread({}, dispatchers));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9zdG9yZS9kaXNwYXRjaGVycy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBb0M7QUFFcEMsSUFBTUMsV0FBVyxJQUFBQyxZQUFBLE9BQUFDLGVBQUEsQ0FBQUQsWUFBQSxFQUNkRixrREFBUyxDQUFDSSxTQUFTLFlBQUlDLEtBQUssRUFBRUMsTUFBTSxFQUFHO0VBQ3hDLElBQU1DLGFBQWEsR0FBRyxFQUFFO0VBRXhCLEtBQU0sSUFB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mV0dXJuIHtcclxuXHRcdFx0Li4uc3RhdGUsXHJcblx0XHRcdGV4ZWN1dGVkOiB0cnVlLFxyXG5cdFx0fTtcclxuXHR9LFxyXG59O1xyXG5cclxuZXhwb3J0IGRlZmF1bHQge1xyXG5cdC4uLmRpc3BhdGNoZXJzLFxyXG59OyJdLCJuYW1lcyI6WyJjb25zdGFudHMiLCJkaXNwYXRjaGVycyIsIl9kaXNwYXRjaGVycyIsIl9kZWZpbmVQcm9wZXJ0eSIsInNldEJsb2NrcyIsInN0YXRlIiwiYWN0aW9uIiwicmVjZW50bHlBZGRlZCIsImJsb2NrTWFwS2V5IiwiYmxvY2tNYXAiLCJoYXNPd25Qcm9wZXJ0eSIsInB1c2giLCJfb2JqZWN0U3ByZWFkIiwiYmxvY2tzIiwic2V0QmxvY2tzRmlyc3QiLCJ0b2dnbGVFeGVjdXRlIiwiZXhlY3V0ZWQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/blocks/store/dispatchers.js\n"); + +/***/ }), + +/***/ "./package/blocks/store/getPreparedBlocks.js": +/*!***************************************************!*\ + !*** ./package/blocks/store/getPreparedBlocks.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _helpers_blocksRecursiveIterator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/blocksRecursiveIterator */ \"./package/blocks/helpers/blocksRecursiveIterator.js\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index */ \"./package/blocks/store/index.js\");\n\n\nvar select = wp.data.select;\nfunction getPreparedBlocks() {\n var blocks = [];\n var blockMap = {};\n (0,_helpers_blocksRecursiveIterator__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(function (block, parent) {\n var _block$name, _blockMap$parent$clie;\n if (!(block !== null && block !== void 0 && (_block$name = block.name) !== null && _block$name !== void 0 && _block$name.includes('jet-forms/'))) {\n return;\n }\n var blockType = select('core/blocks').getBlockType(block.name);\n var current = blockType.jfbResolveBlock.call(block);\n\n // deprecated since 3.2.0\n if (blockType.hasOwnProperty('jfbGetFields')) {\n current.fields = blockType.jfbGetFields.call(block);\n }\n if (!(parent !== null && parent !== void 0 && parent.name)) {\n blocks.push(current);\n blockMap[current.clientId] = current;\n return;\n }\n\n /**\r\n * @type {Object}\r\n */\n var parentField = (_blockMap$parent$clie = blockMap[parent === null || parent === void 0 ? void 0 : parent.clientId]) !== null && _blockMap$parent$clie !== void 0 ? _blockMap$parent$clie : false;\n if (!parentField) {\n return;\n }\n Object.defineProperty(current, 'parentBlock', {\n get: function get() {\n return parentField;\n }\n });\n parentField.innerBlocks = (parentField === null || parentField === void 0 ? void 0 : parentField.innerBlocks) || [];\n parentField.innerBlocks.push(current);\n blockMap[current.clientId] = current;\n });\n return {\n blocks: blocks,\n blockMap: blockMap\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getPreparedBlocks);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9zdG9yZS9nZXRQcmVwYXJlZEJsb2Nrcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBeUU7QUFDckM7QUFFcEMsSUFDT0UsTUFBTSxHQUNIQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsTUFBTTtBQUdiLFNBQVNHLGlCQUFpQkEsQ0FBQSxFQUFHO0VBQzVCLElBQU1DLE1BQU0sR0FBSyxFQUFFO0VBQ25CLElBQU1DLFFBQVEsR0FBRyxDQUFDLENBQUM7RUFFbkJQLDRFQUF1QixDQUFFLFVBQUVRLEtBQUssRUFBRUMsTU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ldHVybiBwYXJlbnRGaWVsZDtcclxuXHRcdFx0fSxcclxuXHRcdH0gKTtcclxuXHJcblx0XHRwYXJlbnRGaWVsZC5pbm5lckJsb2NrcyA9IHBhcmVudEZpZWxkPy5pbm5lckJsb2NrcyB8fCBbXTtcclxuXHRcdHBhcmVudEZpZWxkLmlubmVyQmxvY2tzLnB1c2goIGN1cnJlbnQgKTtcclxuXHJcblx0XHRibG9ja01hcFsgY3VycmVudC5jbGllbnRJZCBdID0gY3VycmVudDtcclxuXHR9ICk7XHJcblxyXG5cdHJldHVybiB7IGJsb2NrcywgYmxvY2tNYXAgfTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgZ2V0UHJlcGFyZWRCbG9ja3M7Il0sIm5hbWVzIjpbImJsb2Nrc1JlY3Vyc2l2ZUl0ZXJhdG9yIiwic3RvcmVOYW1lIiwic2VsZWN0Iiwid3AiLCJkYXRhIiwiZ2V0UHJlcGFyZWRCbG9ja3MiLCJibG9ja3MiLCJibG9ja01hcCIsImJsb2NrIiwicGFyZW50IiwiX2Jsb2NrJG5hbWUiLCJfYmxvY2tNYXAkcGFyZW50JGNsaWUiLCJuYW1lIiwiaW5jbHVkZXMiLCJibG9ja1R5cGUiLCJnZXRCbG9ja1R5cGUiLCJjdXJyZW50IiwiamZiUmVzb2x2ZUJsb2NrIiwiY2FsbCIsImhhc093blByb3BlcnR5IiwiZmllbGRzIiwiamZiR2V0RmllbGRzIiwicHVzaCIsImNsaWVudElkIiwicGFyZW50RmllbGQiLCJPYmplY3QiLCJkZWZpbmVQcm9wZXJ0eSIsImdldCIsImlubmVyQmxvY2tzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/store/getPreparedBlocks.js\n"); + +/***/ }), + +/***/ "./package/blocks/store/index.js": +/*!***************************************!*\ + !*** ./package/blocks/store/index.js ***! + \***************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ storeName: () => (/* binding */ storeName)\n/* harmony export */ });\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ \"./package/blocks/store/reducer.js\");\n/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ \"./package/blocks/store/actions.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ \"./package/blocks/store/selectors.js\");\n/* harmony import */ var _getPreparedBlocks__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getPreparedBlocks */ \"./package/blocks/store/getPreparedBlocks.js\");\n\n\n\n\nvar _wp$data = wp.data,\n createReduxStore = _wp$data.createReduxStore,\n dispatch = _wp$data.dispatch,\n select = _wp$data.select,\n subscribe = _wp$data.subscribe;\nvar storeName = 'jet-forms/fields';\nvar prevBlockCount;\nvar prevBlockAttrs;\nsubscribe(function () {\n var debounce = window._.debounce;\n var _dispatch = dispatch(storeName),\n setBlocks = _dispatch.setBlocks;\n var resetBlocks = debounce(function () {\n var countBlocks = select('core/block-editor').getGlobalBlockCount();\n if (prevBlockCount !== countBlocks) {\n prevBlockCount = countBlocks;\n setBlocks();\n return;\n }\n var action = (0,_getPreparedBlocks__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n var jsonAttrs = JSON.stringify(action.blocks);\n if (jsonAttrs === prevBlockAttrs) {\n return;\n }\n prevBlockAttrs = jsonAttrs;\n setBlocks(action);\n }, 100);\n resetBlocks();\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReduxStore(storeName, {\n reducer: _reducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n actions: _actions__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n selectors: _selectors__WEB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tZXMiOlsicmVkdWNlciIsImFjdGlvbnMiLCJzZWxlY3RvcnMiLCJnZXRQcmVwYXJlZEJsb2NrcyIsIl93cCRkYXRhIiwid3AiLCJkYXRhIiwiY3JlYXRlUmVkdXhTdG9yZSIsImRpc3BhdGNoIiwic2VsZWN0Iiwic3Vic2NyaWJlIiwic3RvcmVOYW1lIiwicHJldkJsb2NrQ291bnQiLCJwcmV2QmxvY2tBdHRycyIsImRlYm91bmNlIiwid2luZG93IiwiXyIsIl9kaXNwYXRjaCIsInNldEJsb2NrcyIsInJlc2V0QmxvY2tzIiwiY291bnRCbG9ja3MiLCJnZXRHbG9iYWxCbG9ja0NvdW50IiwiYWN0aW9uIiwianNvbkF0dHJzIiwiSlNPTiIsInN0cmluZ2lmeSIsImJsb2NrcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/blocks/store/index.js\n"); + +/***/ }), + +/***/ "./package/blocks/store/reducer.js": +/*!*****************************************!*\ + !*** ./package/blocks/store/reducer.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _dispatchers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dispatchers */ \"./package/blocks/store/dispatchers.js\");\n\nvar DEFAULT_STATE = {\n blocks: [],\n blockMap: {},\n executed: false,\n recentlyAdded: [],\n sanitizers: {\n name: [function (name) {\n return name.replace(/[^\\w\\-]/gi, '');\n }]\n }\n};\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n var callback = _dispatchers__WEBPACK_IMPORTED_MODULE_0__[\"default\"][action === null || action === void 0 ? void 0 : action.type];\n if (callback) {\n return callback(state, action);\n }\n return state;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9zdG9yZS9yZWR1Y2VyLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQXdDO0FBRXhDLElBQU1DLGFBQWEsR0FBRztFQUNyQkMsTUFBTSxFQUFFLEVBQUU7RUFDVkMsUUFBUSxFQUFFLENBQUMsQ0FBQztFQUNaQyxRQUFRLEVBQUUsS0FBSztFQUNmQyxhQUFhLEVBQUUsRUFBRTtFQUNqQkMsVUFBVSxFQUFFO0lBQ1hDLElBQUksRUFBRSxDQUNMLFVBQUFBLElBQUk7TUFBQSxPQUFJQSxJQUFJLENBQUNDLE9BQU8sQ0FBRSxXQUFXLEVBQUUsRUFBRyxDQUFDO0lBQUE7RUFFekM7QUFDRCxDQUFDO0FBRUQsNkJBQWUsc0NBQTJDO0VBQUEsSUFBaENDLEtBQUssR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQUdULGFBQWE7RUFBQSxJQUFFWSxNQUFNLEdBQUFILFNBQUEsQ0FBQUMsTUFBQSxPQUFBRCxTQUFBLE1BQUFFLFNBQUE7RUFDdEQsSUFBTUUsUUFBUSxHQUFHZCxvREFBVyxDQUFFYSxNQUFNLGFBQU5BLE1BQU0sdUJBQU5BLE1BQU0sQ0FBRUUsSUFBSSxDQUFFO0VBRTVDLElBQUtELFFBQVEsRUFBRztJQUNmLE9BQU9BLFFBQVEsQ0FBRUwsS0FBSyxFQUFFSSxNQUFPLENBQUM7RUFDakM7RUFFQSxPQUFPSixLQUFLO0FBQ2IiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2Jsb2Nrcy9zdG9yZS9yZWR1Y2VyLmpzPzhlN2YiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGRpc3BhdGNoZXJzIGZyb20gJy4vZGlzcGF0Y2hlcnMnO1xyXG5cclxuY29uc3QgREVGQVVMVF9TVEFURSA9IHtcclxuXHRibG9ja3M6IFtdLFxyXG5cdGJsb2NrTWFwOiB7fSxcclxuXHRleGVjdXRlZDogZmFsc2UsXHJcblx0cmVjZW50bHlBZGRlZDogW10sXHJcblx0c2FuaXRpemVyczoge1xyXG5cdFx0bmFtZTogW1xyXG5cdFx0XHRuYW1lID0+IG5hbWUucmVwbGFjZSggL1teXFx3XFwtXS9naSwgJycgKSxcclxuXHRcdF0sXHJcblx0fSxcclxufTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uICggc3RhdGUgPSBERUZBVUxUX1NUQVRFLCBhY3Rpb24gKSB7XHJcblx0Y29uc3QgY2FsbGJhY2sgPSBkaXNwYXRjaGVyc1sgYWN0aW9uPy50eXBlIF07XHJcblxyXG5cdGlmICggY2FsbGJhY2sgKSB7XHJcblx0XHRyZXR1cm4gY2FsbGJhY2soIHN0YXRlLCBhY3Rpb24gKTtcclxuXHR9XHJcblxyXG5cdHJldHVybiBzdGF0ZTtcclxufSJdLCJuYW1lcyI6WyJkaXNwYXRjaGVycyIsIkRFRkFVTFRfU1RBVEUiLCJibG9ja3MiLCJibG9ja01hcCIsImV4ZWN1dGVkIiwicmVjZW50bHlBZGRlZCIsInNhbml0aXplcnMiLCJuYW1lIiwicmVwbGFjZSIsInN0YXRlIiwiYXJndW1lbnRzIiwibGVuZ3RoIiwidW5kZWZpbmVkIiwiYWN0aW9uIiwiY2FsbGJhY2siLCJ0eXBlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/store/reducer.js\n"); + +/***/ }), + +/***/ "./package/blocks/store/selectors.js": +/*!*******************************************!*\ + !*** ./package/blocks/store/selectors.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar selectors = {\n getBlocks: function getBlocks(state) {\n return state.blocks;\n },\n getBlockMap: function getBlockMap(state) {\n return state.blockMap;\n },\n getFields: function getFields(state, _ref) {\n var _ref$withInner = _ref.withInner,\n withInner = _ref$withInner === void 0 ? true : _ref$withInner,\n _ref$currentId = _ref.currentId,\n currentId = _ref$currentId === void 0 ? false : _ref$currentId;\n var fields = [];\n var iterateFields = function iterateFields(blocks) {\n var _iterator = _createForOfIteratorHelper(blocks),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _block$fields, _block$innerBlocks;\n var block = _step.value;\n if ((_block$fields = block.fields) !== null && _block$fields !== void 0 && _block$fields.length && block.clientId !== currentId) {\n fields.push.apply(fields, _toConsumableArray(block.fields));\n }\n if (!withInner || !((_block$innerBlocks = block.innerBlocks) !== null && _block$innerBlocks !== void 0 && _block$innerBlocks.length)) {\n continue;\n }\n iterateFields(block.innerBlocks);\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n };\n iterateFields(state.blocks);\n return fields;\n },\n isExecuted: function isExecuted(state) {\n return state.executed;\n },\n isRecentlyAdded: function isRecentlyAdded(state, clientId) {\n return -1 !== state.recentlyAdded.indexOf(clientId);\n },\n getUniqueNames: function getUniqueNames(state, clientId) {\n var _state$blockMap$clien, _currentBlock$fields$, _currentBlock$fields, _currentBlock$fields$2;\n var currentBlock = (_state$blockMap$clien = state.blockMap[clientId]) !== null && _state$blockMap$clien !== void 0 ? _state$blockMap$clien : false;\n if (!currentBlock) {\n return {\n hasChanged: false\n };\n }\n var hasChanged = false;\n var names = (_currentBlock$fields$ = currentBlock === null || currentBlock === void 0 || (_currentBlock$fields = currentBlock.fields) === null || _currentBlock$fields === void 0 || (_currentBlock$fields$2 = _currentBlock$fields.map) === null || _currentBlock$fields$2 === void 0 ? void 0 : _currentBlock$fields$2.call(_currentBlock$fields, function (_ref2) {\n var value = _ref2.value;\n return value;\n })) !== null && _currentBlock$fields$ !== void 0 ? _currentBlock$fields$ : [];\n var scope = currentBlock.hasOwnProperty('parentBlock') ? currentBlock.parentBlock.innerBlocks : state.blocks;\n var walkerFields = function walkerFields(fields) {\n var _iterator2 = _createForOfIteratorHelper(fields),\n _step2;\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var field = _step2.value;\n var nameIndex = names.indexOf(field.value);\n if (-1 === nameIndex) {\n continue;\n }\n if ('field_name' === field.value) {\n hasChanged = true;\n continue;\n }\n names[nameIndex] = \"\".concat(names[nameIndex], \"_copy\");\n hasChanged = true;\n walkerFields(fields);\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n };\n var _iterator3 = _createForOfIteratorHelper(scope),\n _step3;\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var _block$fields2;\n var block = _step3.value;\n if (clientId === block.clientId) {\n continue;\n }\n walkerFields((_block$fields2 = block === null || block === void 0 ? void 0 : block.fields) !== null && _block$fields2 !== void 0 ? _block$fields2 : []);\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n return {\n hasChanged: hasChanged,\n names: names.join('|')\n };\n },\n getSanitizedAttributes: function getSanitizedAttributes(state, attrs) {\n var _ref3 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n type = _ref3.name;\n for (var attrsKey in attrs) {\n var _ref4, _state$sanitizers$typ, _state$sanitizers, _state$sanitizers2;\n if (!attrs.hasOwnProperty(attrsKey)) {\n continue;\n }\n var sanitizers = (_ref4 = (_state$sanitizers$typ = (_state$sanitizers = state.sanitizers) === null || _state$sanitizers === void 0 || (_state$sanitizers = _state$sanitizers[type]) === null || _state$sanitizers === void 0 ? void 0 : _state$sanitizers[attrsKey]) !== null && _state$sanitizers$typ !== void 0 ? _state$sanitizers$typ : (_state$sanitizers2 = state.sanitizers) === null || _state$sanitizers2 === void 0 ? void 0 : _state$sanitizers2[attrsKey]) !== null && _ref4 !== void 0 ? _ref4 : false;\n if (!(sanitizers !== null && sanitizers !== void 0 && sanitizers.length)) {\n continue;\n }\n var _iterator4 = _createForOfIteratorHelper(sanitizers),\n _step4;\n try {\n for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {\n var sanitizer = _step4.value;\n if ('function' !== typeof sanitizer) {\n continue;\n }\n attrs[attrsKey] = sanitizer(attrs[attrsKey]);\n }\n } catch (err) {\n _iterator4.e(err);\n } finally {\n _iterator4.f();\n }\n }\n return attrs;\n },\n isUniqueName: function isUniqueName(state, clientId) {\n var _selectors$getUniqueN = selectors.getUniqueNames(state, clientId),\n hasChanged = _selectors$getUniqueN.hasChanged;\n return !hasChanged;\n },\n /**\r\n * @since 3.1.0\r\n *\r\n * @param state\r\n * @param blockId {String} Block clientId or name\r\n * @returns {*}\r\n */\n getBlock: function getBlock(state, blockId) {\n return state.blocks.find(function (_ref5) {\n var name = _ref5.name,\n clientId = _ref5.clientId;\n return [name, clientId].includes(blockId);\n });\n },\n getBlockByName: function getBlockByName(state, fieldName) {\n if (!fieldName) {\n return false;\n }\n var iterateFields = function iterateFields(blocks) {\n var _iterator5 = _createForOfIteratorHelper(blocks),\n _step5;\n try {\n for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {\n var _block$innerBlocks2;\n var block = _step5.value;\n if (block.fields.some(function (_ref6) {\n var value = _ref6.value;\n return value === fieldName;\n })) {\n return block;\n }\n if (!((_block$innerBlocks2 = block.innerBlocks) !== null && _block$innerBlocks2 !== void 0 && _block$innerBlocks2.length)) {\n continue;\n }\n iterateFields(block.innerBlocks);\n }\n } catch (err) {\n _iterator5.e(err);\n } finally {\n _iterator5.f();\n }\n };\n iterateFields(state.blocks);\n return false;\n },\n getBlockNameByName: function getBlockNameByName(state, fieldName) {\n var _block$name;\n var block = selectors.getBlockByName(state, fieldName);\n return (_block$name = block === null || block === void 0 ? void 0 : block.name) !== null && _block$name !== void 0 ? _block$name : '';\n },\n getBlockById: function getBlockById(state, clientId) {\n var _state$blockMap$clien2;\n return (_state$blockMap$clien2 = state.blockMap[clientId]) !== null && _state$blockMap$clien2 !== void 0 ? _state$blockMap$clien2 : false;\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread({}, selectors));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2Jsb2Nrcy9zdG9yZS9zZWxlY3RvcnMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxJQUFNQSxTQUFTLEdBQUc7RUFDakJDLFNBQVMsV0FBQUEsVUFBRUMsS0FBSyxFQUFHO0lBQ2xCLE9BQU9BLEtBQUssQ0FBQ0MsTUFBTTtFQUNwQixDQUFDO0VBQ0RDLFdBQVcsV0FBQUEsWUFBRUYsS0FBSyxFQUFHO0lBQ3BCLE9BQU9BLEtBQUssQ0FBQ0csUUFBUTtFQUN0QixDQUFDO0VBQ0RDLFNBQVMsV0FBQUEsVUFDUkosS0FBSyxFQUFBSyxJQUFBLEVBS0o7SUFBQSxJQUFBQyxjQUFBLEdBQUFELElBQUEsQ0FIQUUsU0FBUztNQUFUQSxTQUFTLEdBQUFELGNBQUEsY0FBRyxJQUFJLEdBQUFBLGNBQUE7TUFBQUUsY0FBQSxHQUFBSCxJQUFBLENBQ2hCSSxTQUFTO01BQVRBLFNBQVMsR0FBQUQsY0FBQSxjQUFHLEtBQUssR0FBQUEsY0FBQTtJQUdsQixJQUFNRSxNQUFNLEdBQUcsRUFBRTtJQUVqQixJQUFNQyxhQUFhLEdBQUcsU0FBaEJBLGFBQWFBLENBQUdWLE1BQU0sRUFBSTtNQUFBLElBQUFXLFNBQUEsR0FBQUMsMEJBQUEsQ0FDVlosTUFBTTtRQUFBYSxLQUFBO01BQUE7UUFBM0IsS0FBQUYsU0FBQSxDQUFBRyxDQUFBLE1BQUFELEtBQUEsR0FBQUYsU0FBQSxDQUFBSSxDQUFBLElBQUFDLElBQUEsR0FBOEI7VUFBQSxJQUFBQyxhQUFBLEVBQUFDLGtCQUF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sIl9zdGF0ZSRibG9ja01hcCRjbGllbjIiLCJfb2JqZWN0U3ByZWFkIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/blocks/store/selectors.js\n"); + +/***/ }), + +/***/ "./package/components/AdvancedInspectorControl.js": +/*!********************************************************!*\ + !*** ./package/components/AdvancedInspectorControl.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _preset_components_PresetButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../preset/components/PresetButton */ \"./package/preset/components/PresetButton.js\");\n/* harmony import */ var _macros_button_components_MacrosFields__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../macros.button/components/MacrosFields */ \"./package/macros.button/components/MacrosFields.js\");\n/* harmony import */ var _BaseLabel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./BaseLabel */ \"./package/components/BaseLabel.js\");\n\n\n\nvar _wp$components = wp.components,\n Flex = _wp$components.Flex,\n FlexItem = _wp$components.FlexItem;\nvar useInstanceId = wp.compose.useInstanceId;\nfunction AdvancedInspectorControl(_ref) {\n var children = _ref.children,\n value = _ref.value,\n label = _ref.label,\n _ref$onChangePreset = _ref.onChangePreset,\n onChangePreset = _ref$onChangePreset === void 0 ? false : _ref$onChangePreset,\n _ref$onChangeMacros = _ref.onChangeMacros,\n onChangeMacros = _ref$onChangeMacros === void 0 ? false : _ref$onChangeMacros;\n var instanceId = useInstanceId(FlexItem, 'jfb-AdvancedInspectorControl');\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(_BaseLabel__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n label: label,\n htmlFor: instanceId\n }, false !== onChangePreset && wp.element.createElement(_preset_components_PresetButton__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n value: value,\n onChange: onChangePreset\n }), false !== onChangeMacros && wp.element.createElement(_macros_button_components_MacrosFields__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n onClick: onChangeMacros\n })), 'function' === typeof children ? children({\n instanceId: instanceId\n }) : children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AdvancedInspectorControl);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvQWR2YW5jZWRJbnNwZWN0b3JDb250cm9sLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBNkQ7QUFDTztBQUNoQztBQUVwQyxJQUFBRyxjQUFBLEdBR1VDLEVBQUUsQ0FBQ0MsVUFBVTtFQUZoQkMsSUFBSSxHQUFBSCxjQUFBLENBQUpHLElBQUk7RUFDSkMsUUFBUSxHQUFBSixjQUFBLENBQVJJLFFBQVE7QUFFZixJQUNPQyxhQUFhLEdBQ1ZKLEVBQUUsQ0FBQ0ssT0FBTyxDQURiRCxhQUFhO0FBR3BCLFNBQVNFLHdCQUF3QkEsQ0FBQUMsSUFBQSxFQU03QjtFQUFBLElBTEhDLFFBQVEsR0FBQUQsSUFBQSxDQUFSQyxRQUFRO0lBQ1JDLEtBQUssR0FBQUYsSUFBQSxDQUFMRSxLQUFLO0lBQ0xDLEtBQUssR0FBQUgsSUFBQSxDQUFMRyxLQUFLO0lBQUFDLG1CQUFBLEdBQUFKLElBQUEsQ0FDTEssY0FBYztJQUFkQSxjQUFjLEdBQUFELG1CQUFBLGNBQUcsS0FBSyxHQUFBQSxtQkFBQTtJQUFBRSxtQkFBQSxHQUFBTixJQUFBLENBQ3RCTyxjQUFjO0lBQWRBLGNBQWMsR0FBQUQsbUJBQUEsY0FBRyxLQUFLLEdBQUFBLG1CQUFBO0VBR3RCLElBQU1FL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gJ2Z1bmN0aW9uJyA9PT0gdHlwZW9mIGNoaWxkcmVuXHJcblx0XHQgID8gY2hpbGRyZW4oIHsgaW5zdGFuY2VJZCB9IClcclxuXHRcdCAgOiBjaGlsZHJlblxyXG5cdFx0fVxyXG5cdDwvPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWR2YW5jZWRJbnNwZWN0b3JDb250cm9sOyJdLCJuYW1lcyI6WyJQcmVzZXRCdXR0b24iLCJNYWNyb3NGaWVsZHMiLCJCYXNlTGFiZWwiLCJfd3AkY29tcG9uZW50cyIsIndwIiwiY29tcG9uZW50cyIsIkZsZXgiLCJGbGV4SXRlbSIsInVzZUluc3RhbmNlSWQiLCJjb21wb3NlIiwiQWR2YW5jZWRJbnNwZWN0b3JDb250cm9sIiwiX3JlZiIsImNoaWxkcmVuIiwidmFsdWUiLCJsYWJlbCIsIl9yZWYkb25DaGFuZ2VQcmVzZXQiLCJvbkNoYW5nZVByZXNldCIsIl9yZWYkb25DaGFuZ2VNYWNyb3MiLCJvbkNoYW5nZU1hY3JvcyIsImluc3RhbmNlSWQiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIlJlYWN0IiwiRnJhZ21lbnQiLCJodG1sRm9yIiwib25DaGFuZ2UiLCJvbkNsaWNrIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/components/AdvancedInspectorControl.js\n"); + +/***/ }), + +/***/ "./package/components/AdvancedModalControl.js": +/*!****************************************************!*\ + !*** ./package/components/AdvancedModalControl.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _preset_components_PresetButton__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../preset/components/PresetButton */ \"./package/preset/components/PresetButton.js\");\n/* harmony import */ var _macros_button_components_MacrosFields__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../macros.button/components/MacrosFields */ \"./package/macros.button/components/MacrosFields.js\");\n\n\nvar _wp$components = wp.components,\n Flex = _wp$components.Flex,\n FlexItem = _wp$components.FlexItem;\nvar useInstanceId = wp.compose.useInstanceId;\nfunction AdvancedModalControl(_ref) {\n var children = _ref.children,\n value = _ref.value,\n label = _ref.label,\n _ref$onChangePreset = _ref.onChangePreset,\n onChangePreset = _ref$onChangePreset === void 0 ? false : _ref$onChangePreset,\n _ref$onChangeMacros = _ref.onChangeMacros,\n onChangeMacros = _ref$onChangeMacros === void 0 ? false : _ref$onChangeMacros,\n _ref$macroWithCurrent = _ref.macroWithCurrent,\n macroWithCurrent = _ref$macroWithCurrent === void 0 ? false : _ref$macroWithCurrent;\n var instanceId = useInstanceId(FlexItem, 'jfb-AdvancedModalControl');\n return wp.element.createElement(\"div\", {\n className: 'components-base-control'\n }, wp.element.createElement(Flex, {\n align: 'flex-start',\n className: 'components-base-control__field'\n }, wp.element.createElement(FlexItem, {\n isBlock: true\n }, wp.element.createElement(Flex, {\n align: 'center',\n justify: 'flex-start'\n }, wp.element.createElement(\"label\", {\n htmlFor: instanceId,\n className: 'jet-fb label'\n }, label), false !== onChangePreset && wp.element.createElement(_preset_components_PresetButton__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n value: value,\n onChange: onChangePreset\n }), false !== onChangeMacros && wp.element.createElement(_macros_button_components_MacrosFields__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n onClick: onChangeMacros,\n withCurrent: macroWithCurrent\n }))), wp.element.createElement(FlexItem, {\n isBlock: true,\n style: {\n flex: 3,\n marginLeft: 'unset'\n }\n }, 'function' === typeof children ? children({\n instanceId: instanceId\n }) : children)));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AdvancedModalControl);//# sourceURL=[module]\n//# sourceMappingUR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JlblxyXG5cdFx0XHRcdCAgPyBjaGlsZHJlbiggeyBpbnN0YW5jZUlkIH0gKVxyXG5cdFx0XHRcdCAgOiBjaGlsZHJlblxyXG5cdFx0XHRcdH1cclxuXHRcdFx0PC9GbGV4SXRlbT5cclxuXHRcdDwvRmxleD5cclxuXHQ8L2Rpdj47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEFkdmFuY2VkTW9kYWxDb250cm9sOyJdLCJuYW1lcyI6WyJQcmVzZXRCdXR0b24iLCJNYWNyb3NGaWVsZHMiLCJfd3AkY29tcG9uZW50cyIsIndwIiwiY29tcG9uZW50cyIsIkZsZXgiLCJGbGV4SXRlbSIsInVzZUluc3RhbmNlSWQiLCJjb21wb3NlIiwiQWR2YW5jZWRNb2RhbENvbnRyb2wiLCJfcmVmIiwiY2hpbGRyZW4iLCJ2YWx1ZSIsImxhYmVsIiwiX3JlZiRvbkNoYW5nZVByZXNldCIsIm9uQ2hhbmdlUHJlc2V0IiwiX3JlZiRvbkNoYW5nZU1hY3JvcyIsIm9uQ2hhbmdlTWFjcm9zIiwiX3JlZiRtYWNyb1dpdGhDdXJyZW50IiwibWFjcm9XaXRoQ3VycmVudCIsImluc3RhbmNlSWQiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImNsYXNzTmFtZSIsImFsaWduIiwiaXNCbG9jayIsImp1c3RpZnkiLCJodG1sRm9yIiwib25DaGFuZ2UiLCJvbkNsaWNrIiwid2l0aEN1cnJlbnQiLCJzdHlsZSIsImZsZXgiLCJtYXJnaW5MZWZ0Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/components/AdvancedModalControl.js\n"); + +/***/ }), + +/***/ "./package/components/BaseHelp.js": +/*!****************************************!*\ + !*** ./package/components/BaseHelp.js ***! + \****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _excluded = [\"children\", \"className\", \"style\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction BaseHelp(_ref) {\n var children = _ref.children,\n _ref$className = _ref.className,\n className = _ref$className === void 0 ? '' : _ref$className,\n _ref$style = _ref.style,\n style = _ref$style === void 0 ? {} : _ref$style,\n props = _objectWithoutProperties(_ref, _excluded);\n return wp.element.createElement(\"p\", _extends({\n className: 'jet-fb-base-control__help' + (className ? \" \".concat(className) : ''),\n style: _objectSpread({\n fontSize: '12px',\n fontStyle: 'normal',\n color: 'rgb(117, 117, 117)',\n marginTop: '0px'\n }, style)\n }, props), children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseHelp);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvQmFzZUhlbHAuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQSxTQUFTQSxRQUFRQSxDQUFBQyxJQUFBLEVBS2I7RUFBQSxJQUpIQyxRQUFRLEdBQUFELElBQUEsQ0FBUkMsUUFBUTtJQUFBQyxjQUFBLEdBQUFGLElBQUEsQ0FDUkcsU0FBUztJQUFUQSxTQUFTLEd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weCcsXHJcblx0XHRcdGZvbnRTdHlsZTogJ25vcm1hbCcsXHJcblx0XHRcdGNvbG9yOiAncmdiKDExNywgMTE3LCAxMTcpJyxcclxuXHRcdFx0bWFyZ2luVG9wOiAnMHB4JyxcclxuXHRcdFx0Li4uc3R5bGUsXHJcblx0XHR9IH1cclxuXHRcdHsgLi4ucHJvcHMgfVxyXG5cdD5cclxuXHRcdHsgY2hpbGRyZW4gfVxyXG5cdDwvcD47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEJhc2VIZWxwOyJdLCJuYW1lcyI6WyJCYXNlSGVscCIsIl9yZWYiLCJjaGlsZHJlbiIsIl9yZWYkY2xhc3NOYW1lIiwiY2xhc3NOYW1lIiwiX3JlZiRzdHlsZSIsInN0eWxlIiwicHJvcHMiLCJfb2JqZWN0V2l0aG91dFByb3BlcnRpZXMiLCJfZXhjbHVkZWQiLCJ3cCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiX2V4dGVuZHMiLCJjb25jYXQiLCJfb2JqZWN0U3ByZWFkIiwiZm9udFNpemUiLCJmb250U3R5bGUiLCJjb2xvciIsIm1hcmdpblRvcCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/components/BaseHelp.js\n"); + +/***/ }), + +/***/ "./package/components/BaseLabel.js": +/*!*****************************************!*\ + !*** ./package/components/BaseLabel.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar _excluded = [\"label\", \"children\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar Flex = wp.components.Flex;\nfunction BaseLabel(_ref) {\n var label = _ref.label,\n children = _ref.children,\n props = _objectWithoutProperties(_ref, _excluded);\n return wp.element.createElement(Flex, {\n align: 'center',\n justify: 'flex-start',\n style: {\n marginBottom: '8px'\n }\n }, wp.element.createElement(\"label\", _extends({\n className: 'jet-fb label'\n }, props), label), children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseLabel);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvQmFzZUxhYmVsLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsSUFDT0EsSUFBSSxHQUNEQyxFQUFFLENBQUNDLFVBQVUsQ0FEaEJGLElBQUk7QUFHWCxTQUFTRyxTQUFTQSxDQUFBQyxJQUFBLEVBQWtDO0VBQUEsSUFBOUJDLEtBQUssR0FBQUQsSUFBQSxDQUFMQyxLQUFLO0lBQUVDLFFBQVEsR0FBQUYsSUFBQSxDQUFSRSxRQUFRO0lBQUtDLEtBQUssR0FBQUMsd0JBQUEsQ0FBQUosSUFBQSxFQUFBSyxTQUFBO0VBQzlDLE9BQU9SLEVBQUEsQ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xleCIsIndwIiwiY29tcG9uZW50cyIsIkJhc2VMYWJlbCIsIl9yZWYiLCJsYWJlbCIsImNoaWxkcmVuIiwicHJvcHMiLCJfb2JqZWN0V2l0aG91dFByb3BlcnRpZXMiLCJfZXhjbHVkZWQiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImFsaWduIiwianVzdGlmeSIsInN0eWxlIiwibWFyZ2luQm90dG9tIiwiX2V4dGVuZHMiLCJjbGFzc05hbWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/components/BaseLabel.js\n"); + +/***/ }), + +/***/ "./package/components/ContainersList.js": +/*!**********************************************!*\ + !*** ./package/components/ContainersList.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar _excluded = [\"children\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nfunction ContainersList(_ref) {\n var children = _ref.children,\n props = _objectWithoutProperties(_ref, _excluded);\n return wp.element.createElement(\"div\", _extends({\n className: 'jet-fb flex flex-dir-column gap-default',\n style: {\n marginBottom: '1em'\n }\n }, props), children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ContainersList);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvQ29udGFpbmVyc0xpc3QuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQSxTQUFTQSxjQUFjQSxDQUFBQyxJQUFBLEVBQTJCO0VBQUEsSUFBdkJDLFFBQVEsR0FBQUQsSUFBQSxDQUFSQyxRQUFRO0lBQUtDLEtBQUssR0FBQUMsd0JBQUEsQ0FBQUgsSUFBQSxFQUFBSSxTQUFBO0VBQzVDLE9BQU9DLEVBQUEsQ0FBQUMsT0FBQSxDQUFBQyxhQUFBLFFBQUFDLFFBQUE7SUFDTkMsU0FBUyxFQUFHLHlDQUEyQztJQUN2REMsS0FBSyxFQUFHO01BQ1BDLFlBQVksRUFBRTtJQUNmO0VBQUcsR0FDRVQsS0FBSyxHQUVSRCxRQUNFLENBQUM7QUFDUDtBQUVBLGlFQUFlRixjQUFjIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9jb21wb25lbnRzL0NvbnRhaW5lcnNMaXN0LmpzP2FmYjUiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gQ29udGFpbmVyc0xpc3QoIHsgY2hpbGRyZW4sIC4uLnByb3BzIH0gKSB7XHJcblx0cmV0dXJuIDxkaXZcclxuXHRcdGNsYXNzTmFtZT17ICdqZXQtZmIgZmxleCBmbGV4LWRpci1jb2x1bW4gZ2FwLWRlZmF1bHQnIH1cclxuXHRcdHN0eWxlPXsge1xyXG5cdFx0XHRtYXJnaW5Cb3R0b206ICcxZW0nLFxyXG5cdFx0fSB9XHJcblx0XHR7IC4uLnByb3BzIH1cclxuXHQ+XHJcblx0XHR7IGNoaWxkcmVuIH1cclxuXHQ8L2Rpdj47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IENvbnRhaW5lcnNMaXN0OyJdLCJuYW1lcyI6WyJDb250YWluZXJzTGlzdCIsIl9yZWYiLCJjaGlsZHJlbiIsInByb3BzIiwiX29iamVjdFdpdGhvdXRQcm9wZXJ0aWVzIiwiX2V4Y2x1ZGVkIiwid3AiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIl9leHRlbmRzIiwiY2xhc3NOYW1lIiwic3R5bGUiLCJtYXJnaW5Cb3R0b20iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/components/ContainersList.js\n"); + +/***/ }), + +/***/ "./package/components/DetailsContainer.js": +/*!************************************************!*\ + !*** ./package/components/DetailsContainer.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction DetailsContainer(_ref) {\n var children = _ref.children;\n return wp.element.createElement(\"div\", {\n className: ['jet-fb', 'flex', 'flex-dir-column', 'container', 'gap-1em'].join(' ')\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DetailsContainer);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvRGV0YWlsc0NvbnRhaW5lci5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsU0FBU0EsZ0JBQWdCQSxDQUFBQyxJQUFBLEVBQWlCO0VBQUEsSUFBYkMsUUFBUSxHQUFBRCxJQUFBLENBQVJDLFFBQVE7RUFDcEMsT0FBT0MsRUFBQSxDQUFBQyxPQUFBLENBQUFDLGFBQUE7SUFDTkMsU0FBUyxFQUFHLENBQ1gsUUFBUSxFQUNSLE1BQU0sRUFDTixpQkFBaUIsRUFDakIsV0FBVyxFQUNYLFNBQVMsQ0FDVCxDQUFDQyxJQUFJLENBQUUsR0FBSTtFQUFHLEdBRWJMLFFBQ0UsQ0FBQztBQUNQO0FBRUEsaUVBQWVGLGdCQUFnQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvY29tcG9uZW50cy9EZXRhaWxzQ29udGFpbmVyLmpzPzI3YjYiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gRGV0YWlsc0NvbnRhaW5lciggeyBjaGlsZHJlbiB9ICkge1xyXG5cdHJldHVybiA8ZGl2XHJcblx0XHRjbGFzc05hbWU9eyBbXHJcblx0XHRcdCdqZXQtZmInLFxyXG5cdFx0XHQnZmxleCcsXHJcblx0XHRcdCdmbGV4LWRpci1jb2x1bW4nLFxyXG5cdFx0XHQnY29udGFpbmVyJyxcclxuXHRcdFx0J2dhcC0xZW0nLFxyXG5cdFx0XS5qb2luKCAnICcgKSB9XHJcblx0PlxyXG5cdFx0eyBjaGlsZHJlbiB9XHJcblx0PC9kaXY+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBEZXRhaWxzQ29udGFpbmVyOyJdLCJuYW1lcyI6WyJEZXRhaWxzQ29udGFpbmVyIiwiX3JlZiIsImNoaWxkcmVuIiwid3AiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImNsYXNzTmFtZSIsImpvaW4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/components/DetailsContainer.js\n"); + +/***/ }), + +/***/ "./package/components/GroupedSelectControl.js": +/*!****************************************************!*\ + !*** ./package/components/GroupedSelectControl.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../tools */ \"./package/tools.js\");\n\n\n/**\r\n * WordPress dependencies\r\n */\nvar withInstanceId = window.wp.compose.withInstanceId;\n\n/**\r\n * Internal dependencies\r\n */\nvar BaseControl = window.wp.components.BaseControl;\nfunction GroupedSelectControl(_ref) {\n var help = _ref.help,\n instanceId = _ref.instanceId,\n label = _ref.label,\n _ref$multiple = _ref.multiple,\n multiple = _ref$multiple === void 0 ? false : _ref$multiple,\n onChange = _ref.onChange,\n _ref$options = _ref.options,\n options = _ref$options === void 0 ? [] : _ref$options,\n className = _ref.className,\n value = _ref.value,\n hideLabelFromVision = _ref.hideLabelFromVision;\n var id = \"inspector-select-control-\".concat(instanceId);\n var onChangeValue = function onChangeValue(event) {\n onChange(event.target.value);\n };\n\n // Disable reason: A select with an onchange throws a warning\n\n /* eslint-disable jsx-a11y/no-onchange */\n return !(0,_tools__WEBPACK_IMPORTED_MODULE_0__.isEmpty)(options) && wp.element.createElement(BaseControl, {\n label: label,\n hideLabelFromVision: hideLabelFromVision,\n id: id,\n help: help,\n className: className\n }, wp.element.createElement(\"select\", {\n id: id,\n className: \"components-select-control__input\",\n onChange: onChangeValue,\n value: value,\n \"aria-describedby\": !!help ? \"\".concat(id, \"__help\") : undefined\n }, wp.element.createElement(\"option\", {\n key: \"\".concat(label, \"-placeholder\"),\n value: \"\"\n }, \"--\"), options.map(function (optGroup, groupIndex) {\n return !(0,_tools__WEBPACK_IMPORTED_MODULE_0__.isEmpty)(optGroup.values) && wp.element.createElement(\"optgroup\", {\n key: \"\".concat(optGroup.label, \"-\").concat(groupIndex),\n label: optGroup.label\n }, optGroup.values.map(function (option, index) {\n return wp.element.createElement(\"option\", {\n key: \"\".concat(option.value, \"-\").concat(index, \"-\").concat(groupIndex),\n value: option.value,\n disabled: option.disabled\n }, option.label);\n }));\n })));\n /* eslint-enable jsx-a11y/no-onchange */\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withInstanceId(GroupedSelectControl));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvR3JvdXBlZFNlbGVjdENvbnRyb2wuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBbUM7O0FBRW5DO0FBQ0E7QUFDQTtBQUNBLElBQVFDLGNBQWMsR0FBS0MsTUFBTSxDQUFDQyxFQUFFLENBQUNDLE9BQU8sQ0FBcENILGNBQWM7O0FBRXRCO0FBQ0E7QUFDQTtBQUNBLElBQU1JLFdBQVcsR0FBR0gsTUFBTSxDQUFDQyxFQUFFLENBQUNHLFVBQVUsQ0FBQ0QsV0FBVztBQUVwRCxTQUFTRSxvQkFBb0JBLENBQUFDLElBQUEsRUFVZjtFQUFBLElBVEhDLElBQUksR0FBQUQsSUFBQSxDQUFKQyxJQUFJO0lBQ0pDLFVBQVUsR0FBQUYsSUFBQSxDQUFWRSxVQUFVO0lBQ1ZDLEtBQUssR0FBQUgsSUFBQSxDQUFMRyxLQUFLO0lBQUFDLGFBQUEsR0FBQUosSUFBQSxDQUNMSyxRQUFRO0lBQVJBLFFBQVEsR0FBQUQsYUFBQSxjQUFHLEtBQUssR0FBQUEsYUFBQTtJQUNoQkUsUUFBUSxHQUFBTixJQUFBLENBQVJNLFFBQVE7SUFBQUMsWUFBQSxHQUFBUCxJQUFBLENBQ1JRLE9BQU87SUFBUEEsT0FBTyxHQUFBRCxZQUFBLGNBQUcsRUFBRSxHQUFBQSxZQUFBO0lBQ1pFLFNBQVMsR0FBQVQsSUFBQSxDQUFUUyxTQUFTO0lBQ1RDLEtBQUssR0FBQVYsSUFBQSxD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V0IiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJ1bmRlZmluZWQiLCJrZXkiLCJtYXAiLCJvcHRHcm91cCIsImdyb3VwSW5kZXgiLCJ2YWx1ZXMiLCJvcHRpb24iLCJpbmRleCIsImRpc2FibGVkIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/components/GroupedSelectControl.js\n"); + +/***/ }), + +/***/ "./package/components/HorizontalLine.js": +/*!**********************************************!*\ + !*** ./package/components/HorizontalLine.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction HorizontalLine(props) {\n return wp.element.createElement(\"hr\", {\n style: _objectSpread({}, props)\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HorizontalLine);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvSG9yaXpvbnRhbExpbmUuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLFNBQVNBLGNBQWNBLENBQUVDLEtBQUssRUFBRztFQUNoQyxPQUFPQyxFQUFBLENBQUFDLE9BQUEsQ0FBQUMsYUFBQTtJQUFJQyxLQUFLLEVBQUFDLGFBQUEsS0FBUUwsS0FBSztFQUFJLENBQUMsQ0FBQztBQUNwQztBQUVBLGlFQUFlRCxjQUFjIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9jb21wb25lbnRzL0hvcml6b250YWxMaW5lLmpzP2JhMjkiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gSG9yaXpvbnRhbExpbmUoIHByb3BzICkge1xyXG5cdHJldHVybiA8aHIgc3R5bGU9eyB7IC4uLnByb3BzIH0gfS8+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBIb3Jpem9udGFsTGluZTsiXSwibmFtZXMiOlsiSG9yaXpvbnRhbExpbmUiLCJwcm9wcyIsIndwIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJzdHlsZSIsIl9vYmplY3RTcHJlYWQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/components/HorizontalLine.js\n"); + +/***/ }), + +/***/ "./package/components/HoverContainer.js": +/*!**********************************************!*\ + !*** ./package/components/HoverContainer.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction HoverContainer(_ref) {\n var _ref$isHover = _ref.isHover,\n isHover = _ref$isHover === void 0 ? false : _ref$isHover,\n children = _ref.children;\n return wp.element.createElement(\"div\", {\n className: ['jet-fb', isHover ? 'show' : 'hide', 'p-absolute', 'wh-100', 'flex-center', 'gap-05em'].join(' '),\n style: {\n backgroundColor: '#ffffffcc',\n transition: '0.3s'\n }\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HoverContainer);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvSG92ZXJDb250YWluZXIuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLFNBQVNBLGNBQWNBLENBQUFDLElBQUEsRUFBa0M7RUFBQSxJQUFBQyxZQUFBLEdBQUFELElBQUEsQ0FBOUJFLE9BQU87SUFBUEEsT0FBTyxHQUFBRCxZQUFBLGNBQUcsS0FBSyxHQUFBQSxZQUFBO0lBQUVFLFFBQVEsR0FBQUgsSUFBQSxDQUFSRyxRQUFRO0VBQ25ELE9BQU9DLEVBQUEsQ0FBQUMsT0FBQSxDQUFBQyxhQUFBO0lBQ05DLFNBQVMsRUFBRyxDQUNYLFFBQVEsRUFDUkwsT0FBTyxHQUFHLE1BQU0sR0F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iY3JlYXRlRWxlbWVudCIsImNsYXNzTmFtZSIsImpvaW4iLCJzdHlsZSIsImJhY2tncm91bmRDb2xvciIsInRyYW5zaXRpb24iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/components/HoverContainer.js\n"); + +/***/ }), + +/***/ "./package/components/MacrosInserter.js": +/*!**********************************************!*\ + !*** ./package/components/MacrosInserter.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar _excluded = [\"children\", \"fields\", \"onFieldClick\", \"customMacros\", \"zIndex\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n Popover = _wp$components.Popover,\n PanelBody = _wp$components.PanelBody;\nvar useState = wp.element.useState;\nfunction MacrosInserter(_ref) {\n var children = _ref.children,\n fields = _ref.fields,\n onFieldClick = _ref.onFieldClick,\n customMacros = _ref.customMacros,\n _ref$zIndex = _ref.zIndex,\n zIndex = _ref$zIndex === void 0 ? 1000000 : _ref$zIndex,\n popoverProps = _objectWithoutProperties(_ref, _excluded);\n var _useState = useState(function () {\n return false;\n }),\n _useState2 = _slicedToArray(_useState, 2),\n showPopover = _useState2[0],\n setPopoverState = _useState2[1];\n return wp.element.createElement(\"div\", {\n className: \"jet-form-editor__macros-inserter\"\n }, wp.element.createElement(Button, {\n isTertiary: true,\n isSmall: true,\n icon: showPopover ? 'no-alt' : 'admin-tools',\n label: 'Insert macros',\n className: \"jet-form-editor__macros-trigger\",\n onClick: function onClick() {\n setPopoverState(function (prev) {\n return !prev;\n });\n }\n }), showPopover && wp.element.createElement(Popover, _extends({\n style: {\n zIndex: zIndex\n },\n position: 'bottom left'\n }, popoverProps), fields.length && wp.element.createElement(PanelBody, {\n title: 'Form Fields'\n }, fields.map(function (field) {\n return wp.element.createElement(\"div\", {\n key: 'field_' + field.name\n }, wp.element.createElement(Button, {\n isLink: true,\n onClick: function onClick() {\n onFieldClick(field.name);\n }\n }, '%' + field.name + '%'));\n })), customMacros && wp.element.createElement(PanelBody, {\n title: 'Custom Macros'\n }, customMacros.map(function (macros) {\n return wp.element.createElement(\"div\", {\n key: 'macros_' + macros\n }, wp.element.createElement(Button, {\n isLink: true,\n onClick: function onClick() {\n onFieldClick(macros);\n }\n }, '%' + macros + '%'));\n }))));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MacrosInserter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvTWFjcm9zSW5zZXJ0ZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBQSxJQUFBQSxjQUFBLEdBSU9DLEVBQUUsQ0FBQ0MsVUFBVTtFQUhoQkMsTUFBTSxHQUFBSCxjQUFBLENBQU5HLE1BQU07RUFDTkMsT0FBTyxHQUFBSixjQUFBLENBQVBJLE9BQU87RUFDUEMsU0FBUyxHQUFBTCxjQUFBLENBQVRLLFNBQVM7QUFHYixJQUNJQyxRQUFRLEdBQ0xMLEVBQUUsQ0FBQ00sT0FBTyxDQURiRCxRQUFRO0FBR1osU0FBU0UsY0FBY0EsQ0FBQUMsSUFBQSxFQU9aO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RvbU1hY3JvcyIsIl9yZWYkekluZGV4IiwiekluZGV4IiwicG9wb3ZlclByb3BzIiwiX29iamVjdFdpdGhvdXRQcm9wZXJ0aWVzIiwiX2V4Y2x1ZGVkIiwiX3VzZVN0YXRlIiwiX3VzZVN0YXRlMiIsIl9zbGljZWRUb0FycmF5Iiwic2hvd1BvcG92ZXIiLCJzZXRQb3BvdmVyU3RhdGUiLCJjcmVhdGVFbGVtZW50IiwiY2xhc3NOYW1lIiwiaXNUZXJ0aWFyeSIsImlzU21hbGwiLCJpY29uIiwibGFiZWwiLCJvbkNsaWNrIiwicHJldiIsIl9leHRlbmRzIiwic3R5bGUiLCJwb3NpdGlvbiIsImxlbmd0aCIsInRpdGxlIiwibWFwIiwiZmllbGQiLCJrZXkiLCJuYW1lIiwiaXNMaW5rIiwibWFjcm9zIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/components/MacrosInserter.js\n"); + +/***/ }), + +/***/ "./package/components/ToggleControl.js": +/*!*********************************************!*\ + !*** ./package/components/ToggleControl.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _BaseHelp__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BaseHelp */ \"./package/components/BaseHelp.js\");\n\nvar _wp$components = wp.components,\n FormToggle = _wp$components.FormToggle,\n BaseControl = _wp$components.BaseControl,\n Flex = _wp$components.Flex;\nvar useInstanceId = wp.compose.useInstanceId;\nfunction ToggleControl(_ref) {\n var _ref$checked = _ref.checked,\n checked = _ref$checked === void 0 ? false : _ref$checked,\n _ref$disabled = _ref.disabled,\n disabled = _ref$disabled === void 0 ? false : _ref$disabled,\n _ref$onChange = _ref.onChange,\n _onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange,\n _ref$children = _ref.children,\n children = _ref$children === void 0 ? null : _ref$children,\n _ref$help = _ref.help,\n help = _ref$help === void 0 ? null : _ref$help;\n var Help = help;\n var instanceId = useInstanceId(ToggleControl);\n var id = \"inspector-jfb-toggle-control-\".concat(instanceId);\n return wp.element.createElement(BaseControl, {\n id: id\n }, wp.element.createElement(Flex, {\n direction: \"column\"\n }, wp.element.createElement(Flex, {\n gap: 3,\n align: \"flex-start\"\n }, wp.element.createElement(FormToggle, {\n id: id,\n checked: checked,\n onChange: function onChange(event) {\n return _onChange(event.target.checked);\n },\n disabled: disabled\n }), wp.element.createElement(\"label\", {\n htmlFor: id,\n style: {\n width: '100%'\n }\n }, children)), 'string' === typeof Help ? wp.element.createElement(_BaseHelp__WEBPACK_IMPORTED_MODULE_0__[\"default\"], null, Help) : Help && wp.element.createElement(Help, null)));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToggleControl);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbXBvbmVudHMvVG9nZ2xlQ29udHJvbC5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFrQztBQUVsQyxJQUFBQyxjQUFBLEdBSVVDLEVBQUUsQ0FBQ0MsVUFBVTtFQUhoQkMsVUFBVSxHQUFBSCxjQUFBLENBQVZHLFVBQVU7RUFDVkMsV0FBVyxHQUFBSixjQUFBLENBQVhJLFdBQVc7RUFDWEMsSUFBSSxHQUFBTCxjQUFBLENBQUpLLElBQUk7QUFHWCxJQUNPQyxhQUFhLEdBQ1ZMLEVBQUUsQ0FBQ00sT0FBTyxDQURiRCxhQUFhO0FBR3BCLFNBQVNFLGFBQWFBLENBQUFDLElBQUEsRUFNbEI7RUFBQSxJQUFBQyxZQUFBLEdBQUFELElBQUEsQ0FMSEUsT0FBTztJQUFQQSxPQUFPLEdBQUFELFlBQUEs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ICYmIDxIZWxwLz4gfVxyXG5cdFx0PC9GbGV4PlxyXG5cdDwvQmFzZUNvbnRyb2w+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBUb2dnbGVDb250cm9sOyJdLCJuYW1lcyI6WyJCYXNlSGVscCIsIl93cCRjb21wb25lbnRzIiwid3AiLCJjb21wb25lbnRzIiwiRm9ybVRvZ2dsZSIsIkJhc2VDb250cm9sIiwiRmxleCIsInVzZUluc3RhbmNlSWQiLCJjb21wb3NlIiwiVG9nZ2xlQ29udHJvbCIsIl9yZWYiLCJfcmVmJGNoZWNrZWQiLCJjaGVja2VkIiwiX3JlZiRkaXNhYmxlZCIsImRpc2FibGVkIiwiX3JlZiRvbkNoYW5nZSIsIm9uQ2hhbmdlIiwiX3JlZiRjaGlsZHJlbiIsImNoaWxkcmVuIiwiX3JlZiRoZWxwIiwiaGVscCIsIkhlbHAiLCJpbnN0YW5jZUlkIiwiaWQiLCJjb25jYXQiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImRpcmVjdGlvbiIsImdhcCIsImFsaWduIiwiZXZlbnQiLCJ0YXJnZXQiLCJodG1sRm9yIiwic3R5bGUiLCJ3aWR0aCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/components/ToggleControl.js\n"); + +/***/ }), + +/***/ "./package/context/block.value.item.context.js": +/*!*****************************************************!*\ + !*** ./package/context/block.value.item.context.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createContext({}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2NvbnRleHQvYmxvY2sudmFsdWUuaXRlbS5jb250ZXh0LmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUFRQSxhQUFhLEdBQUtDLEVBQUUsQ0FBQ0MsT0FBTyxDQUE1QkYsYUFBYTtBQUVyQixpRUFBZUEsYUFBYSxDQUFFLENBQUMsQ0FBRSxDQUFDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9jb250ZXh0L2Jsb2NrLnZhbHVlLml0ZW0uY29udGV4dC5qcz9hNzNmIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHsgY3JlYXRlQ29udGV4dCB9ID0gd3AuZWxlbWVudDtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGNyZWF0ZUNvbnRleHQoIHt9ICk7Il0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJ3cCIsImVsZW1lbnQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/context/block.value.item.context.js\n"); + +/***/ }), + +/***/ "./package/dynamic.value/components/DynamicItem.js": +/*!*********************************************************!*\ + !*** ./package/dynamic.value/components/DynamicItem.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _DynamicItemBody__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DynamicItemBody */ \"./package/dynamic.value/components/DynamicItemBody.js\");\n/* harmony import */ var _context_block_value_item_context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../context/block.value.item.context */ \"./package/context/block.value.item.context.js\");\n/* harmony import */ var _action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../action-modal/components/ActionModal */ \"./package/action-modal/components/ActionModal.js\");\n/* harmony import */ var _preset_helpers_humanReadablePreset__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../preset/helpers/humanReadablePreset */ \"./package/preset/helpers/humanReadablePreset.js\");\n/* harmony import */ var _block_conditions_helpers_humanReadableCondition__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../block-conditions/helpers/humanReadableCondition */ \"./package/block-conditions/helpers/humanReadableCondition.js\");\n/* harmony import */ var _block_conditions_components_HumanReadableConditions__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../block-conditions/components/HumanReadableConditions */ \"./package/block-conditions/components/HumanReadableConditions.js\");\n/* harmony import */ var _components_HoverContainer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../components/HoverContainer */ \"./package/components/HoverContainer.js\");\n/* harmony import */ var _components_DetailsContainer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../components/DetailsContainer */ \"./package/components/DetailsContainer.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\n\n\n\n\n\n\n\nvar __ = wp.i18n.__;\nvar useState = wp.element.useState;\nvar Button = wp.components.Button;\nfunction DynamicItem(_ref) {\n var _Object$keys;\n var current = _ref.current,\n update = _ref.update,\n isOpenModal = _ref.isOpenModal,\n setOpenModal = _ref.setOpenModal;\n var updateCurrent = function updateCurrent(settings) {\n update(function (value) {\n var groups = JSON.parse(JSON.stringify(value.groups));\n for (var groupIndex in groups) {\n if (!groups.hasOwnProperty(groupIndex) || current.id !== groups[groupIndex].id) {\n continue;\n }\n groups[groupIndex] = _objectSpread(_objectSpread({}, groups[groupIndex]), settings);\n }\n return {\n groups: groups\n };\n });\n };\n var deleteCurrent = function deleteCurrent() {\n update(function (value) {\n var groups = JSON.parse(JSON.stringify(value.groups));\n return {\n groups: groups.filter(function (_ref2) {\n var id = _ref2.id;\n return id !== current.id;\n })\n };\n });\n };\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n showModal = _useState2[0],\n setShowModal = _useState2[1];\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n isHover = _useState4[0],\n setHover = _useState4[1];\n var isEmpty = 1 >= ((_Object$keys = Object.keys(current)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length);\n return wp.element.createElement(_context_block_value_item_context__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Provider, {\n value: {\n update: updateCurrent,\n current: current\n }\n }, wp.element.createElement(\"div\", {\n className: \"jet-fb p-relative\",\n onMouseOver: function onMouseOver() {\n return setHover(true);\n },\n onMouseOut: function onMouseOut() {\n return setHover(false);\n }\n }, wp.element.createElement(_components_HoverContainer__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n isHover: isHover\n }, wp.element.createElement(Button, {\n isSmall: true,\n isSecondary: true,\n icon: showModal ? 'no-alt' : 'edit',\n onClick: function onClick() {\n return setShowModal(function (prev) {\n return !prev;\n });\n }\n }, __('Edit', 'jet-form-builder')), wp.element.createElement(Button, {\n isSmall: true,\n isDestructive: true,\n icon: 'trash',\n onClick: deleteCurrent\n }, __('Delete', 'jet-form-builder'))), wp.element.createElement(_components_DetailsContainer__WEBPACK_IMPORTED_MODULE_7__[\"default\"], null, isEmpty ? wp.element.createElement(\"div\", {\n \"data-title\": __('This value item is empty', 'jet-form-builder')\n }) : wp.element.createElement(React.Fragment, null, wp.element.createElement(\"span\", {\n \"data-title\": __('Set', 'jet-form-builder') + ':',\n dangerouslySetInnerHTML: {\n __html: (0,_preset_helpers_humanReadablePreset__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(current.to_set)\n }\n }), wp.element.createElement(_block_conditions_components_HumanReadableConditions__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n conditions: current === null || current === void 0 ? void 0 : current.conditions\n })))), (showModal || isOpenModal === current.id) && wp.element.createElement(_action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n classNames: ['width-60'],\n onRequestClose: function onRequestClose() {\n setShowModal(false);\n setOpenModal(false);\n },\n title: __('Edit Dynamic Value', 'jet-form-builder')\n }, wp.element.createElement(_DynamicItemBody__WEBPACK_IMPORTED_MODULE_0__[\"default\"], null)));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DynamicItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2R5bmFtaWMudmFsdWUvY29tcG9uZW50cy9EeW5hbWljSXRlbS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBZ0Q7QUFDMkI7QUFDUDtBQUNPO0FBRWI7QUFFSTtBQ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xhc3NOYW1lcyIsIm9uUmVxdWVzdENsb3NlIiwidGl0bGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/dynamic.value/components/DynamicItem.js\n"); + +/***/ }), + +/***/ "./package/dynamic.value/components/DynamicItemBody.js": +/*!*************************************************************!*\ + !*** ./package/dynamic.value/components/DynamicItemBody.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_block_value_item_context__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../context/block.value.item.context */ \"./package/context/block.value.item.context.js\");\n/* harmony import */ var _repeater_components_repeater__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../repeater/components/repeater */ \"./package/repeater/components/repeater.js\");\n/* harmony import */ var _repeater_components_repeater_add_new__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../repeater/components/repeater.add.new */ \"./package/repeater/components/repeater.add.new.js\");\n/* harmony import */ var _components_BaseHelp__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/BaseHelp */ \"./package/components/BaseHelp.js\");\n/* harmony import */ var _repeater_components_repeater_state__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../repeater/components/repeater.state */ \"./package/repeater/components/repeater.state.js\");\n/* harmony import */ var _action_modal_hooks_useOnUpdateModal__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../action-modal/hooks/useOnUpdateModal */ \"./package/action-modal/hooks/useOnUpdateModal.js\");\n/* harmony import */ var _preset_components_PresetButton__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../preset/components/PresetButton */ \"./package/preset/components/PresetButton.js\");\n/* harmony import */ var _macros_button_components_MacrosFields__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../macros.button/components/MacrosFields */ \"./package/macros.button/components/MacrosFields.js\");\n/* harmony import */ var _block_conditions_components_ConditionItem__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../block-conditions/components/ConditionItem */ \"./package/block-conditions/components/ConditionItem.js\");\n/* harmony import */ var _macros_button_components_ClientSideMacros__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../macros.button/components/ClientSideMacros */ \"./package/macros.button/components/ClientSideMacros.js\");\n/* harmony import */ var _block_conditions_components_ConditionsRepeaterContextProvider__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../block-conditions/components/ConditionsRepeaterContextProvider */ \"./package/block-conditions/components/ConditionsRepeaterContextProvider.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\n\n\n\n\n\n\n\nvar __ = wp.i18n.__;\nvar _wp$element = wp.element,\n useState = _wp$element.useState,\n useContext = _wp$element.useContext,\n Fragment = _wp$element.Fragment,\n useEffect = _wp$element.useEffect;\nvar _wp$components = wp.components,\n SelectControl = _wp$components.SelectControl,\n TextareaControl = _wp$components.TextareaControl,\n FlexItem = _wp$components.FlexItem,\n Button = _wp$components.Button,\n Flex = _wp$components.Flex,\n ToggleControl = _wp$components.ToggleControl;\nvar help = [{\n key: 'commas',\n render: function render() {\n return wp.element.createElement(\"li\", null, __(\"If this field supports multiple values, \\n\\t\\t\\tyou can separate them with commas\", 'jet-form-builder'));\n }\n}];\nvar options = [{\n value: 'on_change',\n label: __('On change conditions result', 'jet-form-builder'),\n help: __(\"The value will be applied if condition check-ups return a result \\ndifferent from the first check-up's cached value\", 'jet-form-builder')\n}, {\n value: 'once',\n label: __('Once', 'jet-form-builder'),\n help: __(\"The value will be applied only the first time \\nthe condition is matched\", 'jet-form-builder')\n}, {\n value: 'always',\n label: __('Always', 'jet-form-builder'),\n help: __(\"The value will be applied every time the condition is matched\", 'jet-form-builder')\n}];\nvar getHelp = function getHelp(frequency) {\n var option = options.find(function (current) {\n return current.value === (frequency !== null && frequency !== void 0 ? frequency : 'on_change');\n });\n return option.help;\n};\nfunction DynamicItemBody() {\n var _current$to_set2, _current$frequency, _current$conditions2, _current$set_on_empty;\n var _useContext = useContext(_context_block_value_item_context__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n currentValue = _useContext.current,\n update = _useContext.update;\n var _useState = useState(function () {\n return currentValue;\n }),\n _useState2 = _slicedToArray(_useState, 2),\n current = _useState2[0],\n setCurrent = _useState2[1];\n var _useState3 = useState(function () {\n return getHelp(current.frequency);\n }),\n _useState4 = _slicedToArray(_useState3, 2),\n currentHelp = _useState4[0],\n setCurrentHelp = _useState4[1];\n useEffect(function () {\n setCurrentHelp(getHelp(current.frequency));\n }, [current.frequency]);\n var updateCurrent = function updateCurrent(settings) {\n setCurrent(function (prev) {\n return _objectSpread(_objectSpread({}, prev), settings);\n });\n };\n var updateConditions = function updateConditions(conditions) {\n var _current$conditions;\n updateCurrent({\n conditions: 'function' === typeof conditions ? conditions((_current$conditions = current.conditions) !== null && _current$conditions !== void 0 ? _current$conditions : []) : conditions\n });\n };\n (0,_action_modal_hooks_useOnUpdateModal__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(function () {\n return update(current);\n });\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(Flex, {\n align: 'flex-start'\n }, wp.element.createElement(FlexItem, {\n isBlock: true\n }, wp.element.createElement(Flex, {\n align: 'center',\n justify: 'flex-start'\n }, wp.element.createElement(\"span\", {\n className: 'jet-fb label'\n }, __('Value to set', 'jet-form-builder')), wp.element.createElement(_preset_components_PresetButton__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n value: current.to_set,\n onChange: function onChange(to_set) {\n return updateCurrent({\n to_set: to_set\n });\n }\n }), wp.element.createElement(_macros_button_components_ClientSideMacros__WEBPACK_IMPORTED_MODULE_9__[\"default\"], {\n withThis: true\n }, wp.element.createElement(_macros_button_components_MacrosFields__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n onClick: function onClick(name) {\n var _current$to_set;\n return updateCurrent({\n to_set: \"\".concat((_current$to_set = current.to_set) !== null && _current$to_set !== void 0 ? _current$to_set : '').concat(name)\n });\n }\n }))), wp.element.createElement(_components_BaseHelp__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, wp.element.createElement(\"ul\", null, help.map(function (helpItem) {\n return wp.element.createElement(Fragment, {\n key: helpItem.key\n }, helpItem.render());\n })))), wp.element.createElement(FlexItem, {\n isBlock: true,\n style: {\n flex: 3,\n marginLeft: 'unset'\n }\n }, wp.element.createElement(TextareaControl, {\n className: 'jet-control-clear',\n hideLabelFromVision: true,\n value: (_current$to_set2 = current.to_set) !== null && _current$to_set2 !== void 0 ? _current$to_set2 : '',\n onChange: function onChange(to_set) {\n return updateCurrent({\n to_set: to_set\n });\n }\n }))), wp.element.createElement(SelectControl, {\n options: options,\n value: (_current$frequency = current.frequency) !== null && _current$frequency !== void 0 ? _current$frequency : 'on_change',\n label: __('Apply type', 'jet-form-builder'),\n labelPosition: 'side',\n onChange: function onChange(frequency) {\n return updateCurrent({\n frequency: frequency\n });\n },\n help: currentHelp\n }), wp.element.createElement(_repeater_components_repeater_state__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n state: updateConditions\n }, wp.element.createElement(_block_conditions_components_ConditionsRepeaterContextProvider__WEBPACK_IMPORTED_MODULE_10__[\"default\"], null, wp.element.createElement(_repeater_components_repeater__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n items: (_current$conditions2 = current.conditions) !== null && _current$conditions2 !== void 0 ? _current$conditions2 : []\n }, wp.element.createElement(_block_conditions_components_ConditionItem__WEBPACK_IMPORTED_MODULE_8__[\"default\"], null))), wp.element.createElement(\"div\", {\n className: 'jet-fb flex jc-space-between ai-center'\n }, wp.element.createElement(_repeater_components_repeater_add_new__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null, __('Add New Condition', 'jet-form-builder')), wp.element.createElement(ToggleControl, {\n className: 'jet-fb m-unset clear-control',\n label: __('Set value only if field is empty', 'jet-form-builder'),\n checked: (_current$set_on_empty = current.set_on_empty) !== null && _current$set_on_empty !== void 0 ? _current$set_on_empty : false,\n onChange: function onChange(set_on_empty) {\n return updateCurrent({\n set_on_empty: set_on_empty\n });\n }\n }))));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DynamicItemBody);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2R5bmFtaWMudmFsdWUvY29tcG9uZW50cy9EeW5hbWljSXRlbUJvZHkuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7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cnJlbnQkY29uZGl0aW9uczIiLCJfY3VycmVudCRzZXRfb25fZW1wdHkiLCJfdXNlQ29udGV4dCIsImN1cnJlbnRWYWx1ZSIsInVwZGF0ZSIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJfc2xpY2VkVG9BcnJheSIsInNldEN1cnJlbnQiLCJfdXNlU3RhdGUzIiwiX3VzZVN0YXRlNCIsImN1cnJlbnRIZWxwIiwic2V0Q3VycmVudEhlbHAiLCJ1cGRhdGVDdXJyZW50Iiwic2V0dGluZ3MiLCJwcmV2IiwiX29iamVjdFNwcmVhZCIsInVwZGF0ZUNvbmRpdGlvbnMiLCJjb25kaXRpb25zIiwiX2N1cnJlbnQkY29uZGl0aW9ucyIsIlJlYWN0IiwiYWxpZ24iLCJpc0Jsb2NrIiwianVzdGlmeSIsImNsYXNzTmFtZSIsInRvX3NldCIsIm9uQ2hhbmdlIiwid2l0aFRoaXMiLCJvbkNsaWNrIiwibmFtZSIsIl9jdXJyZW50JHRvX3NldCIsImNvbmNhdCIsIm1hcCIsImhlbHBJdGVtIiwic3R5bGUiLCJmbGV4IiwibWFyZ2luTGVmdCIsImhpZGVMYWJlbEZyb21WaXNpb24iLCJsYWJlbFBvc2l0aW9uIiwic3RhdGUiLCJpdGVtcyIsImNoZWNrZWQiLCJzZXRfb25fZW1wdHkiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/dynamic.value/components/DynamicItemBody.js\n"); + +/***/ }), + +/***/ "./package/dynamic.value/components/DynamicValues.js": +/*!***********************************************************!*\ + !*** ./package/dynamic.value/components/DynamicValues.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _DynamicItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./DynamicItem */ \"./package/dynamic.value/components/DynamicItem.js\");\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../tools */ \"./package/tools.js\");\n/* harmony import */ var _components_BaseHelp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/BaseHelp */ \"./package/components/BaseHelp.js\");\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../blocks/hooks/useUniqKey */ \"./package/blocks/hooks/useUniqKey.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\n/* harmony import */ var _components_ContainersList__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../components/ContainersList */ \"./package/components/ContainersList.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\n\n\n\nvar __ = wp.i18n.__;\nvar useState = wp.element.useState;\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n Flex = _wp$components.Flex;\nfunction DynamicValues() {\n var _attributes$value, _value$groups;\n var _useBlockAttributes = (0,_blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var uniqKey = (0,_blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_4__[\"default\"])();\n var value = (_attributes$value = attributes.value) !== null && _attributes$value !== void 0 ? _attributes$value : {};\n var groups = (_value$groups = value.groups) !== null && _value$groups !== void 0 ? _value$groups : [];\n var orGroups = groups.filter(\n // Exclude first item\n function (c, index) {\n return 0 !== index;\n });\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n openModal = _useState2[0],\n setOpenModal = _useState2[1];\n if (!(0,_hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_5__[\"default\"])('value')) {\n return null;\n }\n var updateValue = function updateValue(settings) {\n setAttributes(_objectSpread(_objectSpread({}, attributes), {}, {\n value: _objectSpread(_objectSpread({}, value), 'function' === typeof settings ? settings(value) : settings)\n }));\n };\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(_components_BaseHelp__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null, __(\"Or use a condition-dependent value\", 'jet-form-builder') + ' ', wp.element.createElement(Button, {\n isLink: true,\n onClick: function onClick() {},\n label: __(\"Former Set Value functionality, moved from the Conditional Block\", 'jet-form-builder'),\n showTooltip: true\n }, \"(?)\")), Boolean(groups.length) ? wp.element.createElement(_components_ContainersList__WEBPACK_IMPORTED_MODULE_6__[\"default\"], null, wp.element.createElement(_DynamicItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n key: uniqKey(groups[0].id),\n current: groups[0],\n update: updateValue,\n isOpenModal: openModal,\n setOpenModal: setOpenModal\n }), Boolean(orGroups.length) && orGroups.map(function (current) {\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(\"b\", null, __('OR', 'jet-form-builder')), wp.element.createElement(_DynamicItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n key: uniqKey(current.id),\n current: current,\n update: updateValue,\n isOpenModal: openModal,\n setOpenModal: setOpenModal\n }));\n })) : null, wp.element.createElement(Button, {\n icon: 'plus-alt2',\n isSecondary: true,\n onClick: function onClick() {\n var id = _tools__WEBPACK_IMPORTED_MODULE_1__[\"default\"].getRandomID();\n updateValue({\n groups: [].concat(_toConsumableArray(groups), [{\n id: id,\n conditions: [{\n __visible: true\n }]\n }])\n });\n setOpenModal(id);\n }\n }, __('Add Dynamic Value', 'jet-form-builder')));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DynamicValues);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiL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GUyIiwib3Blbk1vZGFsIiwic2V0T3Blbk1vZGFsIiwidXBkYXRlVmFsdWUiLCJzZXR0aW5ncyIsIl9vYmplY3RTcHJlYWQiLCJjcmVhdGVFbGVtZW50IiwiUmVhY3QiLCJGcmFnbWVudCIsImlzTGluayIsIm9uQ2xpY2siLCJsYWJlbCIsInNob3dUb29sdGlwIiwiQm9vbGVhbiIsImxlbmd0aCIsImtleSIsImlkIiwiY3VycmVudCIsInVwZGF0ZSIsImlzT3Blbk1vZGFsIiwibWFwIiwiaWNvbiIsImlzU2Vjb25kYXJ5IiwiZ2V0UmFuZG9tSUQiLCJjb25jYXQiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJjb25kaXRpb25zIiwiX192aXNpYmxlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/dynamic.value/components/DynamicValues.js\n"); + +/***/ }), + +/***/ "./package/events/hooks/useDefaultEvents.js": +/*!**************************************************!*\ + !*** ./package/events/hooks/useDefaultEvents.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar useSelect = wp.data.useSelect;\nfunction useDefaultEvents() {\n var eventsObjects = useSelect(function (select) {\n return select('jet-forms/events').getAlwaysTypes();\n });\n var events = [];\n var _iterator = _createForOfIteratorHelper(eventsObjects),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var value = _step.value.value;\n events.push(value);\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return _toConsumableArray(new Set(events));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDefaultEvents);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi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CB9ID0gd3AuZGF0YTtcclxuXHJcbmZ1bmN0aW9uIHVzZURlZmF1bHRFdmVudHMoKSB7XHJcblx0Y29uc3QgZXZlbnRzT2JqZWN0cyA9IHVzZVNlbGVjdChcclxuXHRcdHNlbGVjdCA9PiBzZWxlY3QoICdqZXQtZm9ybXMvZXZlbnRzJyApLmdldEFsd2F5c1R5cGVzKCkgKTtcclxuXHRjb25zdCBldmVudHMgICAgICAgID0gW107XHJcblxyXG5cdGZvciAoIGNvbnN0IHsgdmFsdWUgfSBvZiBldmVudHNPYmplY3RzICkge1xyXG5cdFx0ZXZlbnRzLnB1c2goIHZhbHVlICk7XHJcblx0fVxyXG5cclxuXHRyZXR1cm4gWyAuLi5uZXcgU2V0KCBldmVudHMgKSBdO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VEZWZhdWx0RXZlbnRzOyJdLCJuYW1lcyI6WyJ1c2VTZWxlY3QiLCJ3cCIsImRhdGEiLCJ1c2VEZWZhdWx0RXZlbnRzIiwiZXZlbnRzT2JqZWN0cyIsInNlbGVjdCIsImdldEFsd2F5c1R5cGVzIiwiZXZlbnRzIiwiX2l0ZXJhdG9yIiwiX2NyZWF0ZUZvck9mSXRlcmF0b3JIZWxwZXIiLCJfc3RlcCIsInMiLCJuIiwiZG9uZSIsInZhbHVlIiwicHVzaCIsImVyciIsImUiLCJmIiwiX3RvQ29uc3VtYWJsZUFycmF5IiwiU2V0Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/events/hooks/useDefaultEvents.js\n"); + +/***/ }), + +/***/ "./package/events/hooks/useDynamicEvents.js": +/*!**************************************************!*\ + !*** ./package/events/hooks/useDynamicEvents.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar useSelect = wp.data.useSelect;\nfunction useDynamicEvents() {\n return useSelect(function (select) {\n return select('jet-forms/events').getDynamicTypes().map(function (_ref) {\n var value = _ref.value;\n return value;\n });\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useDynamicEvents);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9ob29rcy91c2VEeW5hbWljRXZlbnRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxTQUFTLEdBQ05DLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixTQUFTO0FBR2hCLFNBQVNHLGdCQUFnQkEsQ0FBQSxFQUFHO0VBQzNCLE9BQU9ILFNBQVMsQ0FDZixVQUFBSSxNQUFNO0lBQUEsT0FBSUEsTUFBTSxDQUFFLGtCQUFtQixDQUFDLENBQUNDLGVBQWUsQ0FBQyxDQUFDLENBQUNDLEdBQUcsQ0FDM0QsVUFBQUMsSUFBQTtNQUFBLElBQUlDLEtBQUssR0FBQUQsSUFBQSxDQUFMQyxLQUFLO01BQUEsT0FBUUEsS0FBSztJQUFBLENBQ3ZCLENBQUM7RUFBQSxDQUNGLENBQUM7QUFDRjtBQUVBLGlFQUFlTCxnQkFBZ0IiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2V2ZW50cy9ob29rcy91c2VEeW5hbWljRXZlbnRzLmpzP2IyMTAiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3Qge1xyXG5cdCAgICAgIHVzZVNlbGVjdCxcclxuICAgICAgfSA9IHdwLmRhdGE7XHJcblxyXG5mdW5jdGlvbiB1c2VEeW5hbWljRXZlbnRzKCkge1xyXG5cdHJldHVybiB1c2VTZWxlY3QoXHJcblx0XHRzZWxlY3QgPT4gc2VsZWN0KCAnamV0LWZvcm1zL2V2ZW50cycgKS5nZXREeW5hbWljVHlwZXMoKS5tYXAoXHJcblx0XHRcdCggeyB2YWx1ZSB9ICkgPT4gdmFsdWUsXHJcblx0XHQpLFxyXG5cdCk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHVzZUR5bmFtaWNFdmVudHM7Il0sIm5hbWVzIjpbInVzZVNlbGVjdCIsIndwIiwiZGF0YSIsInVzZUR5bmFtaWNFdmVudHMiLCJzZWxlY3QiLCJnZXREeW5hbWljVHlwZXMiLCJtYXAiLCJfcmVmIiwidmFsdWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/events/hooks/useDynamicEvents.js\n"); + +/***/ }), + +/***/ "./package/events/hooks/useEvents.js": +/*!*******************************************!*\ + !*** ./package/events/hooks/useEvents.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _useDefaultEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useDefaultEvents */ \"./package/events/hooks/useDefaultEvents.js\");\n/* harmony import */ var _useEventsFromGateways__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useEventsFromGateways */ \"./package/events/hooks/useEventsFromGateways.js\");\n/* harmony import */ var _useEventsFromActions__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useEventsFromActions */ \"./package/events/hooks/useEventsFromActions.js\");\n/* harmony import */ var _useDynamicEvents__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useDynamicEvents */ \"./package/events/hooks/useDynamicEvents.js\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n\nvar useSelect = wp.data.useSelect;\nfunction useEvents(action) {\n var list = [].concat(_toConsumableArray((0,_useDefaultEvents__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(action)), _toConsumableArray((0,_useEventsFromGateways__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(action)), _toConsumableArray((0,_useEventsFromActions__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(action)), _toConsumableArray((0,_useDynamicEvents__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(action)));\n return useSelect(function (select) {\n return select('jet-forms/events').filterList(action.type, list);\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEvents);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9ob29rcy91c2VFdmVudHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7QUFBa0Q7QUFDVTtBQUNGO0FBQ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IHdwLmRhdGE7XHJcblxyXG5mdW5jdGlvbiB1c2VFdmVudHMoIGFjdGlvbiApIHtcclxuXHRjb25zdCBsaXN0ID0gW1xyXG5cdFx0Li4udXNlRGVmYXVsdEV2ZW50cyggYWN0aW9uICksXHJcblx0XHQuLi51c2VFdmVudHNGcm9tR2F0ZXdheXMoIGFjdGlvbiApLFxyXG5cdFx0Li4udXNlRXZlbnRzRnJvbUFjdGlvbnMoIGFjdGlvbiApLFxyXG5cdFx0Li4udXNlRHluYW1pY0V2ZW50cyggYWN0aW9uICksXHJcblx0XTtcclxuXHJcblx0cmV0dXJuIHVzZVNlbGVjdChcclxuXHRcdHNlbGVjdCA9PiBzZWxlY3QoICdqZXQtZm9ybXMvZXZlbnRzJyApLmZpbHRlckxpc3QoXHJcblx0XHRcdGFjdGlvbi50eXBlLFxyXG5cdFx0XHRsaXN0LFxyXG5cdFx0KSxcclxuXHQpO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VFdmVudHM7Il0sIm5hbWVzIjpbInVzZURlZmF1bHRFdmVudHMiLCJ1c2VFdmVudHNGcm9tR2F0ZXdheXMiLCJ1c2VFdmVudHNGcm9tQWN0aW9ucyIsInVzZUR5bmFtaWNFdmVudHMiLCJ1c2VTZWxlY3QiLCJ3cCIsImRhdGEiLCJ1c2VFdmVudHMiLCJhY3Rpb24iLCJsaXN0IiwiY29uY2F0IiwiX3RvQ29uc3VtYWJsZUFycmF5Iiwic2VsZWN0IiwiZmlsdGVyTGlzdCIsInR5cGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/events/hooks/useEvents.js\n"); + +/***/ }), + +/***/ "./package/events/hooks/useEventsFromActions.js": +/*!******************************************************!*\ + !*** ./package/events/hooks/useEventsFromActions.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../hooks/useSelectPostMeta */ \"./package/hooks/useSelectPostMeta.js\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\nvar useSelect = wp.data.useSelect;\nfunction useEventsFromActions(_ref) {\n var index = _ref.index;\n var actionsMeta = (0,_hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_0__[\"default\"])('_jf_actions');\n var actionsMap = useSelect(function (select) {\n return select('jet-forms/actions').getActionsMap();\n }, []);\n actionsMeta.splice(index, 1);\n var events = [];\n var _iterator = _createForOfIteratorHelper(actionsMeta),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _actionsMap$action$ty;\n var action = _step.value;\n var callback = actionsMap === null || actionsMap === void 0 || (_actionsMap$action$ty = actionsMap[action.type]) === null || _actionsMap$action$ty === void 0 ? void 0 : _actionsMap$action$ty.provideEvents;\n if ('function' !== typeof callback) {\n continue;\n }\n var _action$settings$acti = action.settings[action.type],\n current = _action$settings$acti === void 0 ? {} : _action$settings$acti;\n events.push.apply(events, _toConsumableArray(callback(current)));\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return _toConsumableArray(new Set(events));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEventsFromActions);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9ob29rcy91c2VFdmVudHNGcm9tQWN0aW9ucy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBOEQ7QUFFOUQsSUFDT0MsU0FBUyxHQUNOQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsU0FBUztBQUdoQixTQUFTRyxvQkFBb0JBLENBQUFDLElBQUEsRUFBYztFQUFBLElBQVZDLEtBQUssR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sYmFjayA9IGFjdGlvbnNNYXA/LlsgYWN0aW9uLnR5cGUgXT8ucHJvdmlkZUV2ZW50cztcclxuXHJcblx0XHRpZiAoICdmdW5jdGlvbicgIT09IHR5cGVvZiBjYWxsYmFjayApIHtcclxuXHRcdFx0Y29udGludWU7XHJcblx0XHR9XHJcblxyXG5cdFx0Y29uc3QgeyBbIGFjdGlvbi50eXBlIF06IGN1cnJlbnQgPSB7fSB9ID0gYWN0aW9uLnNldHRpbmdzO1xyXG5cclxuXHRcdGV2ZW50cy5wdXNoKCAuLi5jYWxsYmFjayggY3VycmVudCApICk7XHJcblx0fVxyXG5cclxuXHRyZXR1cm4gWyAuLi5uZXcgU2V0KCBldmVudHMgKSBdO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VFdmVudHNGcm9tQWN0aW9uczsiXSwibmFtZXMiOlsidXNlU2VsZWN0UG9zdE1ldGEiLCJ1c2VTZWxlY3QiLCJ3cCIsImRhdGEiLCJ1c2VFdmVudHNGcm9tQWN0aW9ucyIsIl9yZWYiLCJpbmRleCIsImFjdGlvbnNNZXRhIiwiYWN0aW9uc01hcCIsInNlbGVjdCIsImdldEFjdGlvbnNNYXAiLCJzcGxpY2UiLCJldmVudHMiLCJfaXRlcmF0b3IiLCJfY3JlYXRlRm9yT2ZJdGVyYXRvckhlbHBlciIsIl9zdGVwIiwicyIsIm4iLCJkb25lIiwiX2FjdGlvbnNNYXAkYWN0aW9uJHR5IiwiYWN0aW9uIiwidmFsdWUiLCJjYWxsYmFjayIsInR5cGUiLCJwcm92aWRlRXZlbnRzIiwiX2FjdGlvbiRzZXR0aW5ncyRhY3RpIiwic2V0dGluZ3MiLCJjdXJyZW50IiwicHVzaCIsImFwcGx5IiwiX3RvQ29uc3VtYWJsZUFycmF5IiwiZXJyIiwiZSIsImYiLCJTZXQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/events/hooks/useEventsFromActions.js\n"); + +/***/ }), + +/***/ "./package/events/hooks/useEventsFromGateways.js": +/*!*******************************************************!*\ + !*** ./package/events/hooks/useEventsFromGateways.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../hooks/useSelectPostMeta */ \"./package/hooks/useSelectPostMeta.js\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\nvar useSelect = wp.data.useSelect;\nfunction useEventsFromGateways() {\n var _gateways$gateways$ga;\n var gateways = (0,_hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_0__[\"default\"])('_jf_gateways');\n var _ref = (_gateways$gateways$ga = gateways[gateways === null || gateways === void 0 ? void 0 : gateways.gateway]) !== null && _gateways$gateways$ga !== void 0 ? _gateways$gateways$ga : {},\n _ref$scenario = _ref.scenario,\n scenario = _ref$scenario === void 0 ? {} : _ref$scenario;\n return useSelect(function (select) {\n var eventsObjects = select('jet-forms/events').getGatewayTypes();\n var events = [];\n var _iterator = _createForOfIteratorHelper(eventsObjects),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var event = _step.value;\n var correctGateway = event.gateway ? event.gateway === gateways.gateway : true;\n var correctScenario = event.scenario ? event.scenario === (scenario === null || scenario === void 0 ? void 0 : scenario.id) : true;\n if (correctGateway && correctScenario) {\n events.push(event.value);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return _toConsumableArray(new Set(events));\n }, [gateways === null || gateways === void 0 ? void 0 : gateways.gateway]);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useEventsFromGateways);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWN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XSxcclxuXHQpO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VFdmVudHNGcm9tR2F0ZXdheXM7Il0sIm5hbWVzIjpbInVzZVNlbGVjdFBvc3RNZXRhIiwidXNlU2VsZWN0Iiwid3AiLCJkYXRhIiwidXNlRXZlbnRzRnJvbUdhdGV3YXlzIiwiX2dhdGV3YXlzJGdhdGV3YXlzJGdhIiwiZ2F0ZXdheXMiLCJfcmVmIiwiZ2F0ZXdheSIsIl9yZWYkc2NlbmFyaW8iLCJzY2VuYXJpbyIsInNlbGVjdCIsImV2ZW50c09iamVjdHMiLCJnZXRHYXRld2F5VHlwZXMiLCJldmVudHMiLCJfaXRlcmF0b3IiLCJfY3JlYXRlRm9yT2ZJdGVyYXRvckhlbHBlciIsIl9zdGVwIiwicyIsIm4iLCJkb25lIiwiZXZlbnQiLCJ2YWx1ZSIsImNvcnJlY3RHYXRld2F5IiwiY29ycmVjdFNjZW5hcmlvIiwiaWQiLCJwdXNoIiwiZXJyIiwiZSIsImYiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJTZXQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/events/hooks/useEventsFromGateways.js\n"); + +/***/ }), + +/***/ "./package/events/hooks/useRequestEvents.js": +/*!**************************************************!*\ + !*** ./package/events/hooks/useRequestEvents.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _useEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useEvents */ \"./package/events/hooks/useEvents.js\");\n\nvar useSelect = wp.data.useSelect;\nfunction useRequestEvents() {\n var currentAction = useSelect(function (select) {\n return select('jet-forms/actions').getCurrentAction();\n });\n return (0,_useEvents__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(currentAction);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRequestEvents);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9ob29rcy91c2VSZXF1ZXN0RXZlbnRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQW9DO0FBRXBDLElBQVFDLFNBQVMsR0FBS0MsRUFBRSxDQUFDQyxJQUFJLENBQXJCRixTQUFTO0FBRWpCLFNBQVNHLGdCQUFnQkEsQ0FBQSxFQUFHO0VBQzNCLElBQU1DLGFBQWEsR0FBR0osU0FBUyxDQUM5QixVQUFBSyxNQUFNO0lBQUEsT0FBSUEsTUFBTSxDQUFFLG1CQUFvQixDQUFDLENBQUNDLGdCQUFnQixDQUFDLENBQUM7RUFBQSxDQUMzRCxDQUFDO0VBRUQsT0FBT1Asc0RBQVMsQ0FBRUssYUFBYyxDQUFDO0FBQ2xDO0FBRUEsaUVBQWVELGdCQUFnQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvZXZlbnRzL2hvb2tzL3VzZVJlcXVlc3RFdmVudHMuanM/NjFkMiJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdXNlRXZlbnRzIGZyb20gJy4vdXNlRXZlbnRzJztcclxuXHJcbmNvbnN0IHsgdXNlU2VsZWN0IH0gPSB3cC5kYXRhO1xyXG5cclxuZnVuY3Rpb24gdXNlUmVxdWVzdEV2ZW50cygpIHtcclxuXHRjb25zdCBjdXJyZW50QWN0aW9uID0gdXNlU2VsZWN0KFxyXG5cdFx0c2VsZWN0ID0+IHNlbGVjdCggJ2pldC1mb3Jtcy9hY3Rpb25zJyApLmdldEN1cnJlbnRBY3Rpb24oKSxcclxuXHQpO1xyXG5cclxuXHRyZXR1cm4gdXNlRXZlbnRzKCBjdXJyZW50QWN0aW9uICk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHVzZVJlcXVlc3RFdmVudHM7Il0sIm5hbWVzIjpbInVzZUV2ZW50cyIsInVzZVNlbGVjdCIsIndwIiwiZGF0YSIsInVzZVJlcXVlc3RFdmVudHMiLCJjdXJyZW50QWN0aW9uIiwic2VsZWN0IiwiZ2V0Q3VycmVudEFjdGlvbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/events/hooks/useRequestEvents.js\n"); + +/***/ }), + +/***/ "./package/events/store/actions.js": +/*!*****************************************!*\ + !*** ./package/events/store/actions.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/events/store/constants.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n register: function register(items) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].register,\n items: items\n };\n },\n lockActions: function lockActions() {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].lockActions\n };\n },\n unRegister: function unRegister(types) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].unRegister,\n types: types\n };\n },\n clearDynamicEvents: function clearDynamicEvents() {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].clearDynamicEvents\n };\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9hY3Rpb25zLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQW9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IHR5cGVzICkge1xyXG5cdFx0cmV0dXJuIHtcclxuXHRcdFx0dHlwZTogY29uc3RhbnRzLnVuUmVnaXN0ZXIsXHJcblx0XHRcdHR5cGVzLFxyXG5cdFx0fTtcclxuXHR9LFxyXG5cdGNsZWFyRHluYW1pY0V2ZW50cygpIHtcclxuXHRcdHJldHVybiB7XHJcblx0XHRcdHR5cGU6IGNvbnN0YW50cy5jbGVhckR5bmFtaWNFdmVudHMsXHJcblx0XHR9O1xyXG5cdH0sXHJcbn07Il0sIm5hbWVzIjpbImNvbnN0YW50cyIsInJlZ2lzdGVyIiwiaXRlbXMiLCJ0eXBlIiwibG9ja0FjdGlvbnMiLCJ1blJlZ2lzdGVyIiwidHlwZXMiLCJjbGVhckR5bmFtaWNFdmVudHMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/events/store/actions.js\n"); + +/***/ }), + +/***/ "./package/events/store/constants.js": +/*!*******************************************!*\ + !*** ./package/events/store/constants.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n register: 'REGISTER',\n unRegister: 'UNREGISTER',\n lockActions: 'LOCK_ACTIONS',\n clearDynamicEvents: 'CLEAR_DYNAMIC_EVENTS'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9jb25zdGFudHMuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLGlFQUFlO0VBQ2RBLFFBQVEsRUFBRSxVQUFVO0VBQ3BCQyxVQUFVLEVBQUUsWUFBWTtFQUN4QkMsV0FBVyxFQUFFLGNBQWM7RUFDM0JDLGtCQUFrQixFQUFFO0FBQ3JCLENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9jb25zdGFudHMuanM/YjNkMCJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCB7XHJcblx0cmVnaXN0ZXI6ICdSRUdJU1RFUicsXHJcblx0dW5SZWdpc3RlcjogJ1VOUkVHSVNURVInLFxyXG5cdGxvY2tBY3Rpb25zOiAnTE9DS19BQ1RJT05TJyxcclxuXHRjbGVhckR5bmFtaWNFdmVudHM6ICdDTEVBUl9EWU5BTUlDX0VWRU5UUycsXHJcbn07XHJcblxyXG5cclxuIl0sIm5hbWVzIjpbInJlZ2lzdGVyIiwidW5SZWdpc3RlciIsImxvY2tBY3Rpb25zIiwiY2xlYXJEeW5hbWljRXZlbnRzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/events/store/constants.js\n"); + +/***/ }), + +/***/ "./package/events/store/dispatchers.js": +/*!*********************************************!*\ + !*** ./package/events/store/dispatchers.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/events/store/constants.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./selectors */ \"./package/events/store/selectors.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _constants$register$c;\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_constants$register$c = {}, _defineProperty(_constants$register$c, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].register, function (state, action) {\n var types = state.types;\n var _iterator = _createForOfIteratorHelper(action.items),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var item = _step.value;\n item.title = item.label;\n var issetIndex = _selectors__WEBPACK_IMPORTED_MODULE_1__[\"default\"].getTypeIndex(state, item.value);\n\n // is new event type\n if (-1 === issetIndex) {\n types.push(_objectSpread({}, item));\n } else {\n types[issetIndex] = _objectSpread({}, item);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return _objectSpread(_objectSpread({}, state), {}, {\n types: types\n });\n}), _defineProperty(_constants$register$c, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].lockActions, function (state, action) {\n var _iterator2 = _createForOfIteratorHelper(window.jetFormActionTypes),\n _step2;\n try {\n var _loop = function _loop() {\n var _window$actionSelf;\n var _step2$value = _step2.value,\n id = _step2$value.id,\n actionSelf = _step2$value.self;\n var current = (_window$actionSelf = window[actionSelf]) !== null && _window$actionSelf !== void 0 ? _window$actionSelf : false;\n if (false === current) {\n return \"continue\";\n }\n var unSup = current.__unsupported_events,\n sup = current.__supported_events;\n var action = {\n unsupported: state.types.filter(function (_ref) {\n var self = _ref.self;\n return unSup.includes(self);\n }).map(function (_ref2) {\n var value = _ref2.value;\n return value;\n }),\n supported: state.types.filter(function (_ref3) {\n var self = _ref3.self;\n return sup.includes(self);\n }).map(function (_ref4) {\n var value = _ref4.value;\n return value;\n })\n };\n if (!action.supported.length && !action.unsupported.length) {\n return \"continue\";\n }\n state.lockedActions[id] = action;\n };\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var _ret = _loop();\n if (_ret === \"continue\") continue;\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n return state;\n}), _defineProperty(_constants$register$c, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].unRegister, function (state, action) {\n var types = action.types;\n state.types = state.types.filter(function (_ref5) {\n var value = _ref5.value;\n return !types.includes(value);\n });\n return state;\n}), _defineProperty(_constants$register$c, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].clearDynamicEvents, function (state) {\n state.types = state.types.filter(function (_ref6) {\n var _ref6$isDynamic = _ref6.isDynamic,\n isDynamic = _ref6$isDynamic === void 0 ? false : _ref6$isDynamic;\n return !isDynamic;\n });\n return state;\n}), _constants$register$c);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9kaXNwYXRjaGVycy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQW9DO0FBQ0E7QUFFcEMsaUVBQUFFLHFCQUFBLE9BQUFDLGVBQUEsQ0FBQUQscUJBQUEsRUFDR0Ysa0RBQVMsQ0FBQ0ksUUFBUSxZQUFJQyxLQUFLLEVBQUVDLE1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/ "./package/events/store/index.js": +/*!***************************************!*\ + !*** ./package/events/store/index.js ***! + \***************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ \"./package/events/store/reducer.js\");\n/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ \"./package/events/store/actions.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ \"./package/events/store/selectors.js\");\n\n\n\nvar createReduxStore = wp.data.createReduxStore;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReduxStore('jet-forms/events', {\n reducer: _reducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n actions: _actions__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n selectors: _selectors__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9pbmRleC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQWdDO0FBQ0E7QUFDSTtBQUVwQyxJQUFRRyxnQkFBZ0IsR0FBS0MsRUFBRSxDQUFDQyxJQUFJLENBQTVCRixnQkFBZ0I7QUFFeEIsaUVBQWVBLGdCQUFnQixDQUFFLGtCQUFrQixFQUFFO0VBQ3BESCxPQUFPLEVBQVBBLGdEQUFPO0VBQ1BDLE9BQU8sRUFBUEEsZ0RBQU87RUFDUEMsU0FBUyxFQUFUQSxrREFBU0E7QUFDVixDQUFFLENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9pbmRleC5qcz84YjdlIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCByZWR1Y2VyIGZyb20gJy4vcmVkdWNlcic7XHJcbmltcG9ydCBhY3Rpb25zIGZyb20gJy4vYWN0aW9ucyc7XHJcbmltcG9ydCBzZWxlY3RvcnMgZnJvbSAnLi9zZWxlY3RvcnMnO1xyXG5cclxuY29uc3QgeyBjcmVhdGVSZWR1eFN0b3JlIH0gPSB3cC5kYXRhO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgY3JlYXRlUmVkdXhTdG9yZSggJ2pldC1mb3Jtcy9ldmVudHMnLCB7XHJcblx0cmVkdWNlcixcclxuXHRhY3Rpb25zLFxyXG5cdHNlbGVjdG9ycyxcclxufSApO1xyXG4iXSwibmFtZXMiOlsicmVkdWNlciIsImFjdGlvbnMiLCJzZWxlY3RvcnMiLCJjcmVhdGVSZWR1eFN0b3JlIiwid3AiLCJkYXRhIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/events/store/index.js\n"); + +/***/ }), + +/***/ "./package/events/store/reducer.js": +/*!*****************************************!*\ + !*** ./package/events/store/reducer.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _dispatchers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dispatchers */ \"./package/events/store/dispatchers.js\");\n\nvar DEFAULT_STATE = {\n types: [],\n labels: {},\n lockedActions: {}\n};\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n var callback = _dispatchers__WEBPACK_IMPORTED_MODULE_0__[\"default\"][action === null || action === void 0 ? void 0 : action.type];\n if (callback) {\n return callback(state, action);\n }\n return state;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9yZWR1Y2VyLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQXdDO0FBRXhDLElBQU1DLGFBQWEsR0FBRztFQUNyQkMsS0FBSyxFQUFFLEVBQUU7RUFDVEMsTUFBTSxFQUFFLENBQUMsQ0FBQztFQUNWQyxhQUFhLEVBQUUsQ0FBQztBQUNqQixDQUFDO0FBRUQsNkJBQWUsc0NBQTJDO0VBQUEsSUFBaENDLEtBQUssR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQUdMLGFBQWE7RUFBQSxJQUFFUSxNQUFNLEdBQUFILFNBQUEsQ0FBQUMsTUFBQSxPQUFBRCxTQUFBLE1BQUFFLFNBQUE7RUFDdEQsSUFBTUUsUUFBUSxHQUFHVixvREFBVyxDQUFFUyxNQUFNLGFBQU5BLE1BQU0sdUJBQU5BLE1BQU0sQ0FBRUUsSUFBSSxDQUFFO0VBRTVDLElBQUtELFFBQVEsRUFBRztJQUNmLE9BQU9BLFFBQVEsQ0FBRUwsS0FBSyxFQUFFSSxNQUFPLENBQUM7RUFDakM7RUFFQSxPQUFPSixLQUFLO0FBQ2IiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9yZWR1Y2VyLmpzPzBiNDIiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGRpc3BhdGNoZXJzIGZyb20gJy4vZGlzcGF0Y2hlcnMnO1xyXG5cclxuY29uc3QgREVGQVVMVF9TVEFURSA9IHtcclxuXHR0eXBlczogW10sXHJcblx0bGFiZWxzOiB7fSxcclxuXHRsb2NrZWRBY3Rpb25zOiB7fSxcclxufTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uICggc3RhdGUgPSBERUZBVUxUX1NUQVRFLCBhY3Rpb24gKSB7XHJcblx0Y29uc3QgY2FsbGJhY2sgPSBkaXNwYXRjaGVyc1sgYWN0aW9uPy50eXBlIF07XHJcblxyXG5cdGlmICggY2FsbGJhY2sgKSB7XHJcblx0XHRyZXR1cm4gY2FsbGJhY2soIHN0YXRlLCBhY3Rpb24gKTtcclxuXHR9XHJcblxyXG5cdHJldHVybiBzdGF0ZTtcclxufSJdLCJuYW1lcyI6WyJkaXNwYXRjaGVycyIsIkRFRkFVTFRfU1RBVEUiLCJ0eXBlcyIsImxhYmVscyIsImxvY2tlZEFjdGlvbnMiLCJzdGF0ZSIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsImFjdGlvbiIsImNhbGxiYWNrIiwidHlwZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/events/store/reducer.js\n"); + +/***/ }), + +/***/ "./package/events/store/selectors.js": +/*!*******************************************!*\ + !*** ./package/events/store/selectors.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar selectors = {\n getTypeIndex: function getTypeIndex(state, slug) {\n return state.types.findIndex(function (event) {\n return event.value === slug;\n });\n },\n getTypes: function getTypes(state) {\n return state.types;\n },\n getGatewayTypes: function getGatewayTypes(state) {\n return state.types.filter(function (event) {\n return 'gateway' in event;\n });\n },\n getAlwaysTypes: function getAlwaysTypes(state) {\n return state.types.filter(function (event) {\n return 'always' in event;\n });\n },\n getDynamicTypes: function getDynamicTypes(state) {\n return state.types.filter(function (_ref) {\n var isDynamic = _ref.isDynamic;\n return isDynamic;\n });\n },\n getType: function getType(state, slug) {\n var index = selectors.getTypeIndex(state, slug);\n return state.types[index];\n },\n getUnsupported: function getUnsupported(state, actionId) {\n var _state$lockedActions$;\n var action = (_state$lockedActions$ = state.lockedActions[actionId]) !== null && _state$lockedActions$ !== void 0 ? _state$lockedActions$ : false;\n if (false === action) {\n return [];\n }\n return action.unsupported;\n },\n getSupported: function getSupported(state, actionId) {\n var _state$lockedActions$2;\n var action = (_state$lockedActions$2 = state.lockedActions[actionId]) !== null && _state$lockedActions$2 !== void 0 ? _state$lockedActions$2 : false;\n if (false === action) {\n return [];\n }\n return action.supported;\n },\n isValid: function isValid(state, actionId, eventSlug) {\n var unsupported = selectors.getUnsupported(state, actionId);\n if (unsupported.length && unsupported.includes(eventSlug)) {\n return false;\n }\n var supported = selectors.getSupported(state, actionId);\n return !supported.length || supported.includes(eventSlug);\n },\n filterList: function filterList(state, actionId, eventList) {\n return eventList.filter(function (current) {\n return selectors.isValid(state, actionId, current);\n });\n },\n getHelpMap: function getHelpMap(state) {\n var map = {};\n var _iterator = _createForOfIteratorHelper(state.types),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var _step$value = _step.value,\n value = _step$value.value,\n help = _step$value.help;\n map[value] = help;\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return map;\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread({}, selectors));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2V2ZW50cy9zdG9yZS9zZWxlY3RvcnMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUFBLElBQU1BLFNBQVMsR0FBRztFQUNqQkMsWUFBWSxXQUFBQSxhQUFFQyxLQUFLLEVBQUVDLElBQUksRUFBRztJQUMzQixPQUFPRCxLQUFLLENBQUNFLEtBQUssQ0FBQ0MsU0FBUyxDQUFFLFVBQUFDLEtBQUs7TUFBQSxPQUFJQSxLQUFLLENBQUNDLEtBQUssS0FBS0osSUFBSTtJQUFBLENBQUMsQ0FBQztFQUM5RCxDQUFDO0VBQ0RLLFFBQVEsV0FBQUEsU0FBRU4sS0FBSyxFQUFHO0lBQ2pCLE9BQU9BLEtBQUssQ0FBQ0UsS0FBSztFQUNuQixDQUFDO0VBQ0RLLGVBQWUsV0FBQUEsZ0JBQUVQLEtBQUssRUFBRztJQUN4QixPQUFPQSxLQUFLLENBQUNFLEtBQUssQ0FBQ00sTUFBTSxDQUFFLFVBQUFKLEtBQUs7TUFBQSxPQUMvQixTQUFTLElBQUlBLEtBQUs7SUFBQSxDQUNqQixDQUFDO0VBQ0osQ0FBQztF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gdmFsdWUgXSA9IGhlbHA7XHJcblx0XHR9XHJcblxyXG5cdFx0cmV0dXJuIG1hcDtcclxuXHR9LFxyXG59O1xyXG5cclxuZXhwb3J0IGRlZmF1bHQge1xyXG5cdC4uLnNlbGVjdG9ycyxcclxufTsiXSwibmFtZXMiOlsic2VsZWN0b3JzIiwiZ2V0VHlwZUluZGV4Iiwic3RhdGUiLCJzbHVnIiwidHlwZXMiLCJmaW5kSW5kZXgiLCJldmVudCIsInZhbHVlIiwiZ2V0VHlwZXMiLCJnZXRHYXRld2F5VHlwZXMiLCJmaWx0ZXIiLCJnZXRBbHdheXNUeXBlcyIsImdldER5bmFtaWNUeXBlcyIsIl9yZWYiLCJpc0R5bmFtaWMiLCJnZXRUeXBlIiwiaW5kZXgiLCJnZXRVbnN1cHBvcnRlZCIsImFjdGlvbklkIiwiX3N0YXRlJGxvY2tlZEFjdGlvbnMkIiwiYWN0aW9uIiwibG9ja2VkQWN0aW9ucyIsInVuc3VwcG9ydGVkIiwiZ2V0U3VwcG9ydGVkIiwiX3N0YXRlJGxvY2tlZEFjdGlvbnMkMiIsInN1cHBvcnRlZCIsImlzVmFsaWQiLCJldmVudFNsdWciLCJsZW5ndGgiLCJpbmNsdWRlcyIsImZpbHRlckxpc3QiLCJldmVudExpc3QiLCJjdXJyZW50IiwiZ2V0SGVscE1hcCIsIm1hcCIsIl9pdGVyYXRvciIsIl9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyIiwiX3N0ZXAiLCJzIiwibiIsImRvbmUiLCJfc3RlcCR2YWx1ZSIsImhlbHAiLCJlcnIiLCJlIiwiZiIsIl9vYmplY3RTcHJlYWQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/events/store/selectors.js\n"); + +/***/ }), + +/***/ "./package/gateways/components/GatewayFetchButton.js": +/*!***********************************************************!*\ + !*** ./package/gateways/components/GatewayFetchButton.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_withSelectGateways__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hooks/withSelectGateways */ \"./package/gateways/hooks/withSelectGateways.js\");\n/* harmony import */ var _actions_components_FetchApiButton__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../actions/components/FetchApiButton */ \"./package/actions/components/FetchApiButton.js\");\n\n\nvar compose = wp.compose.compose;\nvar withSelect = wp.data.withSelect;\nfunction GatewayFetchButton(_ref) {\n var _ref$initialLabel = _ref.initialLabel,\n initialLabel = _ref$initialLabel === void 0 ? 'Valid' : _ref$initialLabel,\n _ref$label = _ref.label,\n label = _ref$label === void 0 ? 'InValid' : _ref$label,\n _ref$apiArgs = _ref.apiArgs,\n apiArgs = _ref$apiArgs === void 0 ? {} : _ref$apiArgs,\n gatewayRequestId = _ref.gatewayRequestId,\n loadingGateway = _ref.loadingGateway,\n _ref$onLoading = _ref.onLoading,\n onLoading = _ref$onLoading === void 0 ? function () {} : _ref$onLoading,\n _ref$onSuccess = _ref.onSuccess,\n onSuccess = _ref$onSuccess === void 0 ? function () {} : _ref$onSuccess,\n _ref$onFail = _ref.onFail,\n onFail = _ref$onFail === void 0 ? function () {} : _ref$onFail,\n _ref$isHidden = _ref.isHidden,\n isHidden = _ref$isHidden === void 0 ? false : _ref$isHidden;\n return wp.element.createElement(_actions_components_FetchApiButton__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n id: gatewayRequestId,\n loadingState: loadingGateway,\n initialLabel: initialLabel,\n label: label,\n apiArgs: apiArgs,\n onFail: onFail,\n onLoading: onLoading,\n onSuccess: onSuccess,\n isHidden: isHidden\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compose(withSelect(_hooks_withSel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XR0b24iLCJjb21wb3NlIiwid3AiLCJ3aXRoU2VsZWN0IiwiZGF0YSIsIkdhdGV3YXlGZXRjaEJ1dHRvbiIsIl9yZWYiLCJfcmVmJGluaXRpYWxMYWJlbCIsImluaXRpYWxMYWJlbCIsIl9yZWYkbGFiZWwiLCJsYWJlbCIsIl9yZWYkYXBpQXJncyIsImFwaUFyZ3MiLCJnYXRld2F5UmVxdWVzdElkIiwibG9hZGluZ0dhdGV3YXkiLCJfcmVmJG9uTG9hZGluZyIsIm9uTG9hZGluZyIsIl9yZWYkb25TdWNjZXNzIiwib25TdWNjZXNzIiwiX3JlZiRvbkZhaWwiLCJvbkZhaWwiLCJfcmVmJGlzSGlkZGVuIiwiaXNIaWRkZW4iLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImlkIiwibG9hZGluZ1N0YXRlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/gateways/components/GatewayFetchButton.js\n"); + +/***/ }), + +/***/ "./package/gateways/helpers/gatewayAttr.js": +/*!*************************************************!*\ + !*** ./package/gateways/helpers/gatewayAttr.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction gatewayAttr() {\n var attr = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var isEmpty = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var data = window.JetFormEditorData.gateways;\n if (!attr) {\n return data;\n }\n if (!data[attr]) {\n return false;\n }\n var source = data[attr];\n return function (name) {\n return source[name] ? source[name] : isEmpty;\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (gatewayAttr);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJ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2F5cztcclxuXHJcblx0aWYgKCAhYXR0ciApIHtcclxuXHRcdHJldHVybiBkYXRhO1xyXG5cdH1cclxuXHRpZiAoICFkYXRhWyBhdHRyIF0gKSB7XHJcblx0XHRyZXR1cm4gZmFsc2U7XHJcblx0fVxyXG5cclxuXHRjb25zdCBzb3VyY2UgPSBkYXRhWyBhdHRyIF07XHJcblxyXG5cdHJldHVybiBuYW1lID0+IHNvdXJjZVsgbmFtZSBdID8gc291cmNlWyBuYW1lIF0gOiBpc0VtcHR5O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBnYXRld2F5QXR0cjsiXSwibmFtZXMiOlsiZ2F0ZXdheUF0dHIiLCJhdHRyIiwiYXJndW1lbnRzIiwibGVuZ3RoIiwidW5kZWZpbmVkIiwiaXNFbXB0eSIsImRhdGEiLCJ3aW5kb3ciLCJKZXRGb3JtRWRpdG9yRGF0YSIsImdhdGV3YXlzIiwic291cmNlIiwibmFtZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/gateways/helpers/gatewayAttr.js\n"); + +/***/ }), + +/***/ "./package/gateways/helpers/gatewayLabel.js": +/*!**************************************************!*\ + !*** ./package/gateways/helpers/gatewayLabel.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _gatewayAttr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./gatewayAttr */ \"./package/gateways/helpers/gatewayAttr.js\");\n\nfunction gatewayLabel(type) {\n var isEmpty = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var label = (0,_gatewayAttr__WEBPACK_IMPORTED_MODULE_0__[\"default\"])('labels');\n return function (attr) {\n return label(type) ? label(type)[attr] : isEmpty;\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (gatewayLabel);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvZ2F0ZXdheUxhYmVsLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQXdDO0FBRXhDLFNBQVNDLFlBQVlBLENBQUVDLElBQUksRUFBaUI7RUFBQSxJQUFmQyxPQUFPLEdBQUFDLFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFHLEVBQUU7RUFDeEMsSUFBTUcsS0FBSyxHQUFHUCx3REFBVyxDQUFFLFFBQVMsQ0FBQztFQUVyQyxPQUFPLFVBQUFRLElBQUk7SUFBQSxPQUFJRCxLQUFLLENBQUVMLElBQUssQ0FBQyxHQUFHSyxLQUFLLENBQUVMLElBQUssQ0FBQyxDQUFFTSxJQUFJLENBQUUsR0FBR0wsT0FBTztFQUFBO0FBQy9EO0FBRUEsaUVBQWVGLFlBQVkiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvZ2F0ZXdheUxhYmVsLmpzP2QxYzEiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGdhdGV3YXlBdHRyIGZyb20gJy4vZ2F0ZXdheUF0dHInO1xyXG5cclxuZnVuY3Rpb24gZ2F0ZXdheUxhYmVsKCB0eXBlLCBpc0VtcHR5ID0gJycgKSB7XHJcblx0Y29uc3QgbGFiZWwgPSBnYXRld2F5QXR0ciggJ2xhYmVscycgKTtcclxuXHJcblx0cmV0dXJuIGF0dHIgPT4gbGFiZWwoIHR5cGUgKSA/IGxhYmVsKCB0eXBlIClbIGF0dHIgXSA6IGlzRW1wdHk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IGdhdGV3YXlMYWJlbDsiXSwibmFtZXMiOlsiZ2F0ZXdheUF0dHIiLCJnYXRld2F5TGFiZWwiLCJ0eXBlIiwiaXNFbXB0eSIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsImxhYmVsIiwiYXR0ciJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/gateways/helpers/gatewayLabel.js\n"); + +/***/ }), + +/***/ "./package/gateways/helpers/issetRenderGateway.js": +/*!********************************************************!*\ + !*** ./package/gateways/helpers/issetRenderGateway.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction issetRenderGateway(id) {\n var what = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'cred';\n return window.JetFBGatewaysList && window.JetFBGatewaysList[id] && window.JetFBGatewaysList[id][what];\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (issetRenderGateway);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvaXNzZXRSZW5kZXJHYXRld2F5LmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxTQUFTQSxrQkFBa0JBLENBQUVDLEVBQUUsRUFBa0I7RUFBQSxJQUFoQkMsSUFBSSxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxNQUFNO0VBQzdDLE9BQ0NHLE1BQU0sQ0FBQ0MsaUJBQWlCLElBQUlELE1BQU0sQ0FBQ0MsaUJBQWlCLENBQUVOLEVBQUUsQ0FBRSxJQUMxREssTUFBTSxDQUFDQyxpQkFBaUIsQ0FBRU4sRUFBRSxDQUFFLENBQUVDLElBQUksQ0FBRTtBQUV4QztBQUVBLGlFQUFlRixrQkFBa0IiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvaXNzZXRSZW5kZXJHYXRld2F5LmpzPzE2ZjkiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gaXNzZXRSZW5kZXJHYXRld2F5KCBpZCwgd2hhdCA9ICdjcmVkJyApIHtcclxuXHRyZXR1cm4gKFxyXG5cdFx0d2luZG93LkpldEZCR2F0ZXdheXNMaXN0ICYmIHdpbmRvdy5KZXRGQkdhdGV3YXlzTGlzdFsgaWQgXSAmJlxyXG5cdFx0d2luZG93LkpldEZCR2F0ZXdheXNMaXN0WyBpZCBdWyB3aGF0IF1cclxuXHQpO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBpc3NldFJlbmRlckdhdGV3YXk7Il0sIm5hbWVzIjpbImlzc2V0UmVuZGVyR2F0ZXdheSIsImlkIiwid2hhdCIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsIndpbmRvdyIsIkpldEZCR2F0ZXdheXNMaXN0Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/gateways/helpers/issetRenderGateway.js\n"); + +/***/ }), + +/***/ "./package/gateways/helpers/registerGateway.js": +/*!*****************************************************!*\ + !*** ./package/gateways/helpers/registerGateway.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction registerGateway(id, callback) {\n var forWhat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'cred';\n window.JetFBGatewaysList = window.JetFBGatewaysList || {};\n window.JetFBGatewaysList[id] = window.JetFBGatewaysList[id] || {};\n window.JetFBGatewaysList[id][forWhat] = callback;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (registerGateway);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvcmVnaXN0ZXJHYXRld2F5LmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxTQUFTQSxlQUFlQSxDQUFFQyxFQUFFLEVBQUVDLFFBQVEsRUFBcUI7RUFBQSxJQUFuQkMsT0FBTyxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxNQUFNO0VBQ3ZERyxNQUFNLENBQUNDLGlCQUFpQixHQUFTRCxNQUFNLENBQUNDLGlCQUFpQixJQUFJLENBQUMsQ0FBQztFQUMvREQsTUFBTSxDQUFDQyxpQkFBaUIsQ0FBRVAsRUFBRSxDQUFFLEdBQUdNLE1BQU0sQ0FBQ0MsaUJBQWlCLENBQUVQLEVBQUUsQ0FBRSxJQUM5RCxDQUFDLENBQUM7RUFFSE0sTUFBTSxDQUFDQyxpQkFBaUIsQ0FBRVAsRUFBRSxDQUFFLENBQUVFLE9BQU8sQ0FBRSxHQUFHRCxRQUFRO0FBQ3JEO0FBRUEsaUVBQWVGLGVBQWUiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvcmVnaXN0ZXJHYXRld2F5LmpzPzQ3OGMiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gcmVnaXN0ZXJHYXRld2F5KCBpZCwgY2FsbGJhY2ssIGZvcldoYXQgPSAnY3JlZCcgKSB7XHJcblx0d2luZG93LkpldEZCR2F0ZXdheXNMaXN0ICAgICAgID0gd2luZG93LkpldEZCR2F0ZXdheXNMaXN0IHx8IHt9O1xyXG5cdHdpbmRvdy5KZXRGQkdhdGV3YXlzTGlzdFsgaWQgXSA9IHdpbmRvdy5KZXRGQkdhdGV3YXlzTGlzdFsgaWQgXSB8fFxyXG5cdFx0e307XHJcblxyXG5cdHdpbmRvdy5KZXRGQkdhdGV3YXlzTGlzdFsgaWQgXVsgZm9yV2hhdCBdID0gY2FsbGJhY2s7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHJlZ2lzdGVyR2F0ZXdheTsiXSwibmFtZXMiOlsicmVnaXN0ZXJHYXRld2F5IiwiaWQiLCJjYWxsYmFjayIsImZvcldoYXQiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJ3aW5kb3ciLCJKZXRGQkdhdGV3YXlzTGlzdCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/gateways/helpers/registerGateway.js\n"); + +/***/ }), + +/***/ "./package/gateways/helpers/renderGateway.js": +/*!***************************************************!*\ + !*** ./package/gateways/helpers/renderGateway.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _issetRenderGateway__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./issetRenderGateway */ \"./package/gateways/helpers/issetRenderGateway.js\");\n\nfunction renderGateway(id, props) {\n var what = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'cred';\n if (!(0,_issetRenderGateway__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(id, what)) {\n return null;\n }\n var GatewayComponent = window.JetFBGatewaysList[id][what];\n return wp.element.createElement(GatewayComponent, props);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (renderGateway);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvcmVuZGVyR2F0ZXdheS5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFzRDtBQUV0RCxTQUFTQyxhQUFhQSxDQUFFQyxFQUFFLEVBQUVDLEtBQUssRUFBa0I7RUFBQSxJQUFoQkMsSUFBSSxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxNQUFNO0VBQy9DLElBQUssQ0FBQ0wsK0RBQWtCLENBQUVFLEVBQUUsRUFBRUUsSUFBSyxDQUFDLEVBQUc7SUFDdEMsT0FBTyxJQUFJO0VBQ1o7RUFDQSxJQUFNSSxnQkFBZ0IsR0FBR0MsTUFBTSxDQUFDQyxpQkFBaUIsQ0FBRVIsRUFBRSxDQUFFLENBQUVFLElBQUksQ0FBRTtFQUUvRCxPQUFPTyxFQUFBLENBQUFDLE9BQUEsQ0FBQUMsYUFBQSxDQUFDTCxnQkFBZ0IsRUFBTUwsS0FBUyxDQUFDO0FBQ3pDO0FBRUEsaUVBQWVGLGFBQWEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvcmVuZGVyR2F0ZXdheS5qcz85MGY1Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBpc3NldFJlbmRlckdhdGV3YXkgZnJvbSAnLi9pc3NldFJlbmRlckdhdGV3YXknO1xyXG5cclxuZnVuY3Rpb24gcmVuZGVyR2F0ZXdheSggaWQsIHByb3BzLCB3aGF0ID0gJ2NyZWQnICkge1xyXG5cdGlmICggIWlzc2V0UmVuZGVyR2F0ZXdheSggaWQsIHdoYXQgKSApIHtcclxuXHRcdHJldHVybiBudWxsO1xyXG5cdH1cclxuXHRjb25zdCBHYXRld2F5Q29tcG9uZW50ID0gd2luZG93LkpldEZCR2F0ZXdheXNMaXN0WyBpZCBdWyB3aGF0IF07XHJcblxyXG5cdHJldHVybiA8R2F0ZXdheUNvbXBvbmVudCB7IC4uLnByb3BzIH0gLz47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHJlbmRlckdhdGV3YXk7Il0sIm5hbWVzIjpbImlzc2V0UmVuZGVyR2F0ZXdheSIsInJlbmRlckdhdGV3YXkiLCJpZCIsInByb3BzIiwid2hhdCIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsIkdhdGV3YXlDb21wb25lbnQiLCJ3aW5kb3ciLCJKZXRGQkdhdGV3YXlzTGlzdCIsIndwIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/gateways/helpers/renderGateway.js\n"); + +/***/ }), + +/***/ "./package/gateways/helpers/renderGatewayWithPlaceholder.js": +/*!******************************************************************!*\ + !*** ./package/gateways/helpers/renderGatewayWithPlaceholder.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _issetRenderGateway__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./issetRenderGateway */ \"./package/gateways/helpers/issetRenderGateway.js\");\n/* harmony import */ var _renderGateway__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./renderGateway */ \"./package/gateways/helpers/renderGateway.js\");\n\n\nfunction renderGatewayWithPlaceholder(id, props) {\n var what = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'cred';\n var Placeholder = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n if (!(0,_issetRenderGateway__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(id, what)) {\n return Placeholder;\n }\n props.Placeholder = Placeholder;\n return (0,_renderGateway__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(id, props, what);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (renderGatewayWithPlaceholder);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL2hlbHBlcnMvcmVuZGVyR2F0ZXdheVdpdGhQbGFjZWhvbGRlci5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBc0Q7QUFDVjtBQUU1QyxTQUFTRSw0QkFBNEJBLENBQ3BDQyxFQUFFLEVBQ0ZDLEtBQUssRUFHSjtFQUFBLElBRkRDLElBQUksR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQVUsTUFBTTtFQUFBLElBQ3BCRyxXQUFXLEdBQUFILFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFHLElBQUk7RUFFbEIsSUFBSyxDQUFDTiwrREFBa0IsQ0FBRUcsRUFBRSxFQUFFRSxJQUFLLENBQUMsRUFBRztJQUN0QyxPQUFPSSxXQUFXO0VBQ25CO0VBQ0FMLEtBQUssQ0FBQ0ssV0FBVyxHQUFHQSxXQUFXO0VBRS9CLE9BQU9SLDBEQUFhLENBQUVFLEVBQUUsRUFBRUMsS0FBSyxFQUFFQyxJQUFLLENBQUM7QUFDeEM7QUFFQSxpRUFBZUgsNEJBQTRCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9nYXRld2F5cy9oZWxwZXJzL3JlbmRlckdhdGV3YXlXaXRoUGxhY2Vob2xkZXIuanM/ZTBkMiJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgaXNzZXRSZW5kZXJHYXRld2F5IGZyb20gJy4vaXNzZXRSZW5kZXJHYXRld2F5JztcclxuaW1wb3J0IHJlbmRlckdhdGV3YXkgZnJvbSAnLi9yZW5kZXJHYXRld2F5JztcclxuXHJcbmZ1bmN0aW9uIHJlbmRlckdhdGV3YXlXaXRoUGxhY2Vob2xkZXIoXHJcblx0aWQsXHJcblx0cHJvcHMsXHJcblx0d2hhdCAgICAgICAgPSAnY3JlZCcsXHJcblx0UGxhY2Vob2xkZXIgPSBudWxsLFxyXG4pIHtcclxuXHRpZiAoICFpc3NldFJlbmRlckdhdGV3YXkoIGlkLCB3aGF0ICkgKSB7XHJcblx0XHRyZXR1cm4gUGxhY2Vob2xkZXI7XHJcblx0fVxyXG5cdHByb3BzLlBsYWNlaG9sZGVyID0gUGxhY2Vob2xkZXI7XHJcblxyXG5cdHJldHVybiByZW5kZXJHYXRld2F5KCBpZCwgcHJvcHMsIHdoYXQgKTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgcmVuZGVyR2F0ZXdheVdpdGhQbGFjZWhvbGRlcjsiXSwibmFtZXMiOlsiaXNzZXRSZW5kZXJHYXRld2F5IiwicmVuZGVyR2F0ZXdheSIsInJlbmRlckdhdGV3YXlXaXRoUGxhY2Vob2xkZXIiLCJpZCIsInByb3BzIiwid2hhdCIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsIlBsYWNlaG9sZGVyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/gateways/helpers/renderGatewayWithPlaceholder.js\n"); + +/***/ }), + +/***/ "./package/gateways/hooks/withDispatchGateways.js": +/*!********************************************************!*\ + !*** ./package/gateways/hooks/withDispatchGateways.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction withDispatchGateways(dispatch) {\n var store = dispatch('jet-forms/gateways');\n return {\n setGatewayRequest: store.setRequest,\n setGatewayScenario: store.setScenario,\n setScenario: store.setCurrentScenario,\n setGateway: store.setGateway,\n setGatewayInner: store.setGatewayInner,\n setGatewaySpecific: store.setGatewaySpecific,\n clearGateway: store.clearGateway,\n clearScenario: store.clearScenario\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withDispatchGateways);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL2hvb2tzL3dpdGhEaXNwYXRjaEdhdGV3YXlzLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxTQUFTQSxvQkFBb0JBLENBQUdDLFFBQVEsRUFBRTtFQUN6QyxJQUFNQyxLQUFLLEdBQUdELFFBQVEsQ0FBRSxvQkFBcUIsQ0FBQztFQUU5QyxPQUFPO0lBQ05FLGlCQUFpQixFQUFFRCxLQUFLLENBQUNFLFVBQVU7SUFDbkNDLGtCQUFrQixFQUFFSCxLQUFLLENBQUNJLFdBQVc7SUFDckNBLFdBQVcsRUFBRUosS0FBSyxDQUFDSyxrQkFBa0I7SUFDckNDLFVBQVUsRUFBRU4sS0FBSyxDQUFDTSxVQUFVO0lBQzVCQyxlQUFlLEVBQUVQLEtBQUssQ0FBQ08sZUFBZTtJQUN0Q0Msa0JBQWtCLEVBQUVSLEtBQUssQ0FBQ1Esa0JBQWtCO0lBQzVDQyxZQUFZLEVBQUVULEtBQUssQ0FBQ1MsWUFBWTtJQUNoQ0MsYUFBYSxFQUFFVixLQUFLLENBQUNVO0VBQ3RCLENBQUM7QUFDRjtBQUVBLGlFQUFlWixvQkFBb0IiLCJzb3VyY2V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XlTcGVjaWZpYyIsImNsZWFyR2F0ZXdheSIsImNsZWFyU2NlbmFyaW8iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/gateways/hooks/withDispatchGateways.js\n"); + +/***/ }), + +/***/ "./package/gateways/hooks/withSelectGateways.js": +/*!******************************************************!*\ + !*** ./package/gateways/hooks/withSelectGateways.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _helpers_gatewayAttr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/gatewayAttr */ \"./package/gateways/helpers/gatewayAttr.js\");\n/* harmony import */ var _helpers_gatewayLabel__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../helpers/gatewayLabel */ \"./package/gateways/helpers/gatewayLabel.js\");\n/* harmony import */ var _actions_helpers_globalTab__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../actions/helpers/globalTab */ \"./package/actions/helpers/globalTab.js\");\n\n\n\nfunction withSelectGateways(select) {\n var store = select('jet-forms/gateways');\n var gatewayRequestId = store.getCurrentRequestId();\n var gatewaySpecific = store.getGatewaySpecific();\n var scenario = store.getScenario();\n var CURRENT_GATEWAY = store.getGatewayId();\n var _scenario$id = scenario.id,\n CURRENT_SCENARIO = _scenario$id === void 0 ? 'PAY_NOW' : _scenario$id;\n var _gatewaySpecific$use_ = gatewaySpecific.use_global,\n use_global = _gatewaySpecific$use_ === void 0 ? false : _gatewaySpecific$use_;\n var currentTab = (0,_actions_helpers_globalTab__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n slug: CURRENT_GATEWAY\n });\n var getSpecificOrGlobal = function getSpecificOrGlobal(key) {\n var ifEmpty = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n return use_global ? currentTab[key] || ifEmpty : gatewaySpecific[key] || ifEmpty;\n };\n var callableGateway = (0,_helpers_gatewayAttr__WEBPACK_IMPORTED_MODULE_0__[\"default\"])('additional');\n var additionalSourceGateway = callableGateway(CURRENT_GATEWAY);\n var loadingGateway = select('jet-forms/actions').getLoading(gatewayRequestId);\n var globalGatewayLabel = (0,_helpers_gatewayAttr__WEBPACK_IMPORTED_MODULE_0__[\"default\"])('labels');\n var specificGatewayLabel = (0,_helpers_gatewayLabel__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(CURRENT_GATEWAY);\n var customGatewayLabel = function customGatewayLabel(key) {\n return globalGatewayLabel(\"\".concat(CURRENT_GATEWAY, \".\").concat(key));\n };\n var scenarioLabel = function scenarioLabel(key) {\n return customGatewayLabel(\"scenario.\".concat(CURRENT_SCENARIO, \".\").concat(key));\n };\n return {\n gatewayGeneral: store.getGateway(),\n gatewayRequest: store.getCurrentRequest(),\n scenarioSource: additionalSourceGateway[CURRENT_SCENARIO] || {},\n currentScenario: scenario[CURRENT_SCENARIO] || {},\n CURRENT_SCENARIO: CURRENT_SCENARIO,\n gatewayScenario: scenario,\n additionalSourceGateway: additionalSourceGateway,\n gatewaySpecific: gatewaySpecific,\n gatewayRequestId: gatewayRequestId,\n loadingGateway: loadingGateway,\n getSpecificOrGlobal: getSpecificOrGlobal,\n globalGatewayLabel: globalGatewayLabel,\n specificGatewayLabel: specificGatewayLabel,\n customGatewayLabel: customGatewayLabel,\n scenarioLabel: scenarioLabel\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withSelectGateways);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL2hvb2tzL3dpdGhTZWxlY3RHYXRld2F5cy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQWlEO0FBQ0U7Q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mVxdWVzdCIsImdldEN1cnJlbnRSZXF1ZXN0Iiwic2NlbmFyaW9Tb3VyY2UiLCJjdXJyZW50U2NlbmFyaW8iLCJnYXRld2F5U2NlbmFyaW8iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/gateways/hooks/withSelectGateways.js\n"); + +/***/ }), + +/***/ "./package/gateways/store/actions.js": +/*!*******************************************!*\ + !*** ./package/gateways/store/actions.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/gateways/store/constants.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n clearGateway: function clearGateway() {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].clearGateway\n };\n },\n clearScenario: function clearScenario() {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].clearScenario\n };\n },\n setRequest: function setRequest(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setRequest,\n item: item\n };\n },\n setGateway: function setGateway(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setGateway,\n item: item\n };\n },\n setGatewayInner: function setGatewayInner(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setGatewayInner,\n item: item\n };\n },\n setGatewaySpecific: function setGatewaySpecific(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setGatewaySpecific,\n item: item\n };\n },\n setScenario: function setScenario(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setScenario,\n item: item\n };\n },\n setCurrentScenario: function setCurrentScenario(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setCurrentScenario,\n item: item\n };\n },\n registerEventType: function registerEventType(item) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].registerEventType,\n item: item\n };\n },\n hardSetGateway: function hardSetGateway(item) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hardSetGateway,\n item: item,\n value: value\n };\n },\n hardSetGatewaySpecific: function hardSetGatewaySpecific(item) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hardSetGatewaySpecific,\n item: item,\n value: value\n };\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL3N0b3JlL2FjdGlvbnMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBb0M7QUFFcEMsaUVBQWU7RUFDZEMsWUFBWSxXQUFBQSxhQUFBLEVBQUc7SUFDZCxPQUFPO01BQ05DLElBQUksRUFBRUYsa0RBQVMsQ0FBQ0M7SUFDakIsQ0FBQztFQUNGLENBQUM7RUFDREUsYUFBYSxXQUFBQSxjQUFBLEVBQUc7SUFDZixPQUFPO01BQ05ELElBQUksRUFBRUYsa0RBQVMsQ0FBQ0c7SUFDakIsQ0FBQztFQUNGLENBQUM7RUFDREMsVUFBVSxXQUFBQSxXQUFFQyxJQUFJLEVBQUc7SUFDbEIsT0FBTztNQUNOSCxJQUFJLEVBQUVGLGtEQUFTLENBQUNJLFVBQVU7TUFDMUJDLElBQUksRUFBSkE7SUFDRCxDQUFDO0VBQ0YsQ0FBQztFQUNEQyxVQUFVLFdBQUFBLFdBQUVELElBQUksRUFBRztJQUNsQixPQUFPO01BQ05ILElBQ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hbHVlLFxyXG5cdFx0fTtcclxuXHR9LFxyXG5cdGhhcmRTZXRHYXRld2F5U3BlY2lmaWMoIGl0ZW0sIHZhbHVlID0gJycgKSB7XHJcblx0XHRyZXR1cm4ge1xyXG5cdFx0XHR0eXBlOiBjb25zdGFudHMuaGFyZFNldEdhdGV3YXlTcGVjaWZpYyxcclxuXHRcdFx0aXRlbSxcclxuXHRcdFx0dmFsdWUsXHJcblx0XHR9O1xyXG5cdH0sXHJcbn0iXSwibmFtZXMiOlsiY29uc3RhbnRzIiwiY2xlYXJHYXRld2F5IiwidHlwZSIsImNsZWFyU2NlbmFyaW8iLCJzZXRSZXF1ZXN0IiwiaXRlbSIsInNldEdhdGV3YXkiLCJzZXRHYXRld2F5SW5uZXIiLCJzZXRHYXRld2F5U3BlY2lmaWMiLCJzZXRTY2VuYXJpbyIsInNldEN1cnJlbnRTY2VuYXJpbyIsInJlZ2lzdGVyRXZlbnRUeXBlIiwiaGFyZFNldEdhdGV3YXkiLCJ2YWx1ZSIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsImhhcmRTZXRHYXRld2F5U3BlY2lmaWMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/gateways/store/actions.js\n"); + +/***/ }), + +/***/ "./package/gateways/store/constants.js": +/*!*********************************************!*\ + !*** ./package/gateways/store/constants.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n clearGateway: 'CLEAR_GATEWAY',\n clearScenario: 'CLEAR_SCENARIO',\n setScenario: 'SET_CURRENT_GATEWAY_SCENARIO',\n setGateway: 'SET_CURRENT_GATEWAY',\n setGatewaySpecific: 'SET_CURRENT_GATEWAY_SPECIFIC',\n setGatewayInner: 'SET_CURRENT_GATEWAY_INNER',\n setRequest: 'SET_CURRENT_REQUEST',\n setCurrentScenario: 'SET_CURRENT_SCENARIO',\n registerEventType: 'REGISTER_EVENT_TYPE',\n hardSetGateway: 'HARD_SET_CURRENT_GATEWAY',\n hardSetGatewaySpecific: 'HARD_SET_CURRENT_GATEWAY_SPECIFIC'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL3N0b3JlL2NvbnN0YW50cy5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsaUVBQWU7RUFDZEEsWUFBWSxFQUFFLGVBQWU7RUFDN0JDLGFBQWEsRUFBRSxnQkFBZ0I7RUFDL0JDLFdBQVcsRUFBRSw4QkFBOEI7RUFDM0NDLFVBQVUsRUFBRSxxQkFBcUI7RUFDakNDLGtCQUFrQixFQUFFLDhCQUE4QjtFQUNsREMsZUFBZSxFQUFFLDJCQUEyQjtFQUM1Q0MsVUFBVSxFQUFFLHFCQUFxQjtFQUNqQ0Msa0JBQWtCLEVBQUUsc0JBQXNCO0VBQzFDQyxpQkFBaUIsRUFBRSxxQkFBcUI7RUFDeENDLGNBQWMsRUFBRSwwQkFBMEI7RUFDMUNDLHNCQUFzQixFQUFFO0FBQ3pCLENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL2dhdGV3YXlzL3N0b3JlL2NvbnN0YW50cy5qcz9hNTJhIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IHtcclxuXHRjbGVhckdhdGV3YXk6ICdDTEVBUl9HQVRFV0FZJyxcclxuXHRjbGVhclNjZW5hcmlvOiAnQ0xFQVJfU0NFTkFSSU8nLFxyXG5cdHNldFNjZW5hcmlvOiAnU0VUX0NVUlJFTlRfR0FURVdBWV9TQ0VOQVJJTycsXHJcblx0c2V0R2F0ZXdheTogJ1NFVF9DVVJSRU5UX0dBVEVXQVknLFxyXG5cdHNldEdhdGV3YXlTcGVjaWZpYzogJ1NFVF9DVVJSRU5UX0dBVEVXQVlfU1BFQ0lGSUMnLFxyXG5cdHNldEdhdGV3YXlJbm5lcjogJ1NFVF9DVVJSRU5UX0dBVEVXQVlfSU5ORVInLFxyXG5cdHNldFJlcXVlc3Q6ICdTRVRfQ1VSUkVOVF9SRVFVRVNUJyxcclxuXHRzZXRDdXJyZW50U2NlbmFyaW86ICdTRVRfQ1VSUkVOVF9TQ0VOQVJJTycsXHJcblx0cmVnaXN0ZXJFdmVudFR5cGU6ICdSRUdJU1RFUl9FVkVOVF9UWVBFJyxcclxuXHRoYXJkU2V0R2F0ZXdheTogJ0hBUkRfU0VUX0NVUlJFTlRfR0FURVdBWScsXHJcblx0aGFyZFNldEdhdGV3YXlTcGVjaWZpYzogJ0hBUkRfU0VUX0NVUlJFTlRfR0FURVdBWV9TUEVDSUZJQydcclxufVxyXG5cclxuXHJcbiJdLCJuYW1lcyI6WyJjbGVhckdhdGV3YXkiLCJjbGVhclNjZW5hcmlvIiwic2V0U2NlbmFyaW8iLCJzZXRHYXRld2F5Iiwic2V0R2F0ZXdheVNwZWNpZmljIiwic2V0R2F0ZXdheUlubmVyIiwic2V0UmVxdWVzdCIsInNldEN1cnJlbnRTY2VuYXJpbyIsInJlZ2lzdGVyRXZlbnRUeXBlIiwiaGFyZFNldEdhdGV3YXkiLCJoYXJkU2V0R2F0ZXdheVNwZWNpZmljIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/gateways/store/constants.js\n"); + +/***/ }), + +/***/ "./package/gateways/store/dispatchers.js": +/*!***********************************************!*\ + !*** ./package/gateways/store/dispatchers.js ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/gateways/store/constants.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./selectors */ \"./package/gateways/store/selectors.js\");\nvar _constants$clearGatew;\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_constants$clearGatew = {}, _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].clearGateway, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n currentGateway: {}\n });\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].clearScenario, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n currentScenario: {}\n });\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setScenario, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n currentScenario: _objectSpread(_objectSpread({}, state.currentScenario), action.item || {})\n });\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setGateway, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n currentGateway: _objectSpread(_objectSpread({}, state.currentGateway), action.item)\n });\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setGatewaySpecific, function (state, action) {\n return _objectSpread(_objectSpread({}, state), {}, {\n currentGateway: _objectSpread(_objectSpread({}, state.currentGateway), {}, _defineProperty({}, state.currentGateway.gateway, _objectSpread(_objectSpread({}, _selectors__WEBPACK_IMPORTED_MODULE_1__[\"default\"].getGatewaySpecific(state)), action.item)))\n });\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setGatewayInner, function (state, action) {\n var _action$item = action.item,\n key = _action$item.key,\n value = _action$item.value;\n return _objectSpread(_objectSpread({}, state), {}, {\n currentGateway: _objectSpread(_objectSpread({}, state.currentGateway), {}, _defineProperty({}, key, _objectSpread(_objectSpread({}, state.currentGateway[key] || {}), value)))\n });\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setRequest, function (state, action) {\n var _action$item2;\n var items = [_selectors__WEBPACK_IMPORTED_MODULE_1__[\"default\"].getGatewayId(state), (_action$item2 = action.item) === null || _action$item2 === void 0 ? void 0 : _action$item2.id].filter(function (value) {\n return value;\n });\n action.item.id = items.join('/');\n return _objectSpread(_objectSpread({}, state), {}, {\n currentRequest: action.item\n });\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].setCurrentScenario, function (state, action) {\n var _state$currentScenari, _state$currentScenari2;\n return _objectSpread(_objectSpread({}, state), {}, {\n currentScenario: _objectSpread(_objectSpread({}, state.currentScenario), {}, _defineProperty({}, (_state$currentScenari = state.currentScenario) === null || _state$currentScenari === void 0 ? void 0 : _state$currentScenari.id, _objectSpread(_objectSpread({}, state.currentScenario[(_state$currentScenari2 = state.currentScenario) === null || _state$currentScenari2 === void 0 ? void 0 : _state$currentScenari2.id] || {}), action.item || {})))\n });\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hardSetGateway, function (state, action) {\n if (action.item) {\n state.currentGateway[action.item] = action.value;\n }\n return _objectSpread({}, state);\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].hardSetGatewaySpecific, function (state, action) {\n var _state$currentGateway;\n if (action.item && (_state$currentGateway = state.currentGateway) !== null && _state$currentGateway !== void 0 && _state$currentGateway.gateway) {\n var _state$currentGateway2, _state$currentGateway3;\n state.currentGateway[(_state$currentGateway2 = state.currentGateway) === null || _state$currentGateway2 === void 0 ? void 0 : _state$currentGateway2.gateway] = {};\n state.currentGateway[(_state$currentGateway3 = state.currentGateway) === null || _state$currentGateway3 === void 0 ? void 0 : _state$currentGateway3.gateway][action.item] = action.value;\n }\n return _objectSpread({}, state);\n}), _defineProperty(_constants$clearGatew, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].registerEventType, function (state, action) {\n var _action$item$gateway, _action$item3, _state$currentGateway4, _action$item$scenario, _action$item4, _state$currentScenari3;\n var event = _objectSpread(_objectSpread({}, action.item), {}, {\n gateway: (_action$item$gateway = (_action$item3 = action.item) === null || _action$item3 === void 0 ? void 0 : _action$item3.gateway) !== null && _action$item$gateway !== void 0 ? _action$item$gateway : (_state$currentGateway4 = state.currentGateway) === null || _state$currentGateway4 === void 0 ? void 0 : _state$currentGateway4.gateway,\n scenario: (_action$item$scenario = (_action$item4 = action.item) === null || _action$item4 === void 0 ? void 0 : _action$item4.scenario) !== null && _action$item$scenario !== void 0 ? _action$item$scenario : (_state$currentScenari3 = state.currentScenario) === null || _state$currentScenari3 === void 0 ? void 0 : _state$currentScenari3.id\n });\n state.eventTypes.push(event);\n return state;\n}), _constants$clearGatew);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL3N0b3JlL2Rpc3BhdGNoZXJzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7QUFBb0M7QUFDQTtBQUVwQyxpRUFBQUUscUJBQUEsT0FBQUMsZUFBQSxDQUFBRCxxQkFBQSxFQUNHRixrREFBUyxDQUFDSSxZQUFZLEVBQUksVUFBRUMsS0FBSyxFQUFFQyxNQUFNO0VBQUEsT0FBQUMsYUFBQSxDQUFBQSxhQUFBLEtBRXRDRixLQUFLO0lBQ1JHLGNBQWMsRUFBRSxDQUFDO0VBQUM7QUFBQSxDQUVuQixHQUFBTCxlQUFBLENBQUFELHFCQUFBLEVBQ0NGLGtEQUFTLENBQUNTLGFBQWEsRUFBSSxVQUFFSixLQUFLLEVBQUVDLE1BQU07RUFBQSxPQUFBQyxhQUFBLENBQUFBLGFBQUEsS0FFdkNGLEtBQUs7SUFDUkssZUFBZSxFQUFFLENBQUM7RUFBQztBQUFBLENBRXBCLEdBQUFQLGVBQUEsQ0FBQU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kIiwiaWQiLCJmaWx0ZXIiLCJqb2luIiwiY3VycmVudFJlcXVlc3QiLCJzZXRDdXJyZW50U2NlbmFyaW8iLCJfc3RhdGUkY3VycmVudFNjZW5hcmkiLCJfc3RhdGUkY3VycmVudFNjZW5hcmkyIiwiaGFyZFNldEdhdGV3YXkiLCJoYXJkU2V0R2F0ZXdheVNwZWNpZmljIiwiX3N0YXRlJGN1cnJlbnRHYXRld2F5IiwiX3N0YXRlJGN1cnJlbnRHYXRld2F5MiIsIl9zdGF0ZSRjdXJyZW50R2F0ZXdheTMiLCJyZWdpc3RlckV2ZW50VHlwZSIsIl9hY3Rpb24kaXRlbSRnYXRld2F5IiwiX2FjdGlvbiRpdGVtMyIsIl9zdGF0ZSRjdXJyZW50R2F0ZXdheTQiLCJfYWN0aW9uJGl0ZW0kc2NlbmFyaW8iLCJfYWN0aW9uJGl0ZW00IiwiX3N0YXRlJGN1cnJlbnRTY2VuYXJpMyIsImV2ZW50Iiwic2NlbmFyaW8iLCJldmVudFR5cGVzIiwicHVzaCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/gateways/store/dispatchers.js\n"); + +/***/ }), + +/***/ "./package/gateways/store/index.js": +/*!*****************************************!*\ + !*** ./package/gateways/store/index.js ***! + \*****************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ \"./package/gateways/store/reducer.js\");\n/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ \"./package/gateways/store/actions.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ \"./package/gateways/store/selectors.js\");\n\n\n\nvar createReduxStore = wp.data.createReduxStore;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReduxStore('jet-forms/gateways', {\n reducer: _reducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n actions: _actions__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n selectors: _selectors__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL3N0b3JlL2luZGV4LmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBZ0M7QUFDQTtBQUNJO0FBRXBDLElBQVFHLGdCQUFnQixHQUFLQyxFQUFFLENBQUNDLElBQUksQ0FBNUJGLGdCQUFnQjtBQUV4QixpRUFBZUEsZ0JBQWdCLENBQUUsb0JBQW9CLEVBQUU7RUFDdERILE9BQU8sRUFBUEEsZ0RBQU87RUFDUEMsT0FBTyxFQUFQQSxnREFBTztFQUNQQyxTQUFTLEVBQVRBLGtEQUFTQTtBQUNWLENBQUUsQ0FBQyIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvZ2F0ZXdheXMvc3RvcmUvaW5kZXguanM/NDczMiJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgcmVkdWNlciBmcm9tICcuL3JlZHVjZXInO1xyXG5pbXBvcnQgYWN0aW9ucyBmcm9tICcuL2FjdGlvbnMnO1xyXG5pbXBvcnQgc2VsZWN0b3JzIGZyb20gJy4vc2VsZWN0b3JzJztcclxuXHJcbmNvbnN0IHsgY3JlYXRlUmVkdXhTdG9yZSB9ID0gd3AuZGF0YTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGNyZWF0ZVJlZHV4U3RvcmUoICdqZXQtZm9ybXMvZ2F0ZXdheXMnLCB7XHJcblx0cmVkdWNlcixcclxuXHRhY3Rpb25zLFxyXG5cdHNlbGVjdG9ycyxcclxufSApO1xyXG5cclxuXHJcbiJdLCJuYW1lcyI6WyJyZWR1Y2VyIiwiYWN0aW9ucyIsInNlbGVjdG9ycyIsImNyZWF0ZVJlZHV4U3RvcmUiLCJ3cCIsImRhdGEiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/gateways/store/index.js\n"); + +/***/ }), + +/***/ "./package/gateways/store/reducer.js": +/*!*******************************************!*\ + !*** ./package/gateways/store/reducer.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _dispatchers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dispatchers */ \"./package/gateways/store/dispatchers.js\");\n\nvar DEFAULT_STATE = {\n currentRequest: {\n id: -1\n },\n currentGateway: {},\n currentScenario: {},\n eventTypes: []\n};\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n var callback = _dispatchers__WEBPACK_IMPORTED_MODULE_0__[\"default\"][action === null || action === void 0 ? void 0 : action.type];\n if (callback) {\n return callback(state, action);\n }\n return state;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2dhdGV3YXlzL3N0b3JlL3JlZHVjZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBd0M7QUFFeEMsSUFBTUMsYUFBYSxHQUFHO0VBQ3JCQyxjQUFjLEVBQUU7SUFDZkMsRUFBRSxFQUFFLENBQUU7RUFDUCxDQ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jaGVyc1sgYWN0aW9uPy50eXBlIF07XHJcblxyXG5cdGlmICggY2FsbGJhY2sgKSB7XHJcblx0XHRyZXR1cm4gY2FsbGJhY2soIHN0YXRlLCBhY3Rpb24gKTtcclxuXHR9XHJcblxyXG5cdHJldHVybiBzdGF0ZTtcclxufSJdLCJuYW1lcyI6WyJkaXNwYXRjaGVycyIsIkRFRkFVTFRfU1RBVEUiLCJjdXJyZW50UmVxdWVzdCIsImlkIiwiY3VycmVudEdhdGV3YXkiLCJjdXJyZW50U2NlbmFyaW8iLCJldmVudFR5cGVzIiwic3RhdGUiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJhY3Rpb24iLCJjYWxsYmFjayIsInR5cGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/gateways/store/reducer.js\n"); + +/***/ }), + +/***/ "./package/gateways/store/selectors.js": +/*!*********************************************!*\ + !*** ./package/gateways/store/selectors.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar selectors = {\n getCurrentRequestId: function getCurrentRequestId(state) {\n return state.currentRequest.id;\n },\n getCurrentRequest: function getCurrentRequest(state) {\n return state.currentRequest;\n },\n getScenario: function getScenario(state) {\n return state.currentScenario;\n },\n getScenarioId: function getScenarioId(state) {\n var _state$currentScenari;\n return (_state$currentScenari = state.currentScenario) === null || _state$currentScenari === void 0 ? void 0 : _state$currentScenari.id;\n },\n getGatewayId: function getGatewayId(state) {\n var _state$currentGateway;\n return (_state$currentGateway = state.currentGateway) === null || _state$currentGateway === void 0 ? void 0 : _state$currentGateway.gateway;\n },\n getGateway: function getGateway(state) {\n return state.currentGateway;\n },\n getEventTypes: function getEventTypes(state) {\n return state.eventTypes;\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread(_objectSpread({}, selectors), {}, {\n getGatewaySpecific: function getGatewaySpecific(state) {\n return state.currentGateway[selectors.getGatewayId(state)] || {};\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ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cztcclxuXHR9LFxyXG59O1xyXG5cclxuZXhwb3J0IGRlZmF1bHQge1xyXG5cdC4uLnNlbGVjdG9ycyxcclxuXHRnZXRHYXRld2F5U3BlY2lmaWMoIHN0YXRlICkge1xyXG5cdFx0cmV0dXJuIHN0YXRlLmN1cnJlbnRHYXRld2F5WyBzZWxlY3RvcnMuZ2V0R2F0ZXdheUlkKCBzdGF0ZSApIF0gfHwge307XHJcblx0fSxcclxufSJdLCJuYW1lcyI6WyJzZWxlY3RvcnMiLCJnZXRDdXJyZW50UmVxdWVzdElkIiwic3RhdGUiLCJjdXJyZW50UmVxdWVzdCIsImlkIiwiZ2V0Q3VycmVudFJlcXVlc3QiLCJnZXRTY2VuYXJpbyIsImN1cnJlbnRTY2VuYXJpbyIsImdldFNjZW5hcmlvSWQiLCJfc3RhdGUkY3VycmVudFNjZW5hcmkiLCJnZXRHYXRld2F5SWQiLCJfc3RhdGUkY3VycmVudEdhdGV3YXkiLCJjdXJyZW50R2F0ZXdheSIsImdhdGV3YXkiLCJnZXRHYXRld2F5IiwiZ2V0RXZlbnRUeXBlcyIsImV2ZW50VHlwZXMiLCJfb2JqZWN0U3ByZWFkIiwiZ2V0R2F0ZXdheVNwZWNpZmljIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/gateways/store/selectors.js\n"); + +/***/ }), + +/***/ "./package/hooks/useIsHasAttribute.js": +/*!********************************************!*\ + !*** ./package/hooks/useIsHasAttribute.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar useBlockProps = wp.blockEditor.useBlockProps;\nvar useSelect = wp.data.useSelect;\nfunction useIsHasAttribute(attrName) {\n var blockProps = useBlockProps();\n var type = blockProps['data-type'];\n return useSelect(function (select) {\n var block = select('core/blocks').getBlockType(type);\n return !!block.attributes[attrName];\n }, [type]);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useIsHasAttribute);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2hvb2tzL3VzZUlzSGFzQXR0cmlidXRlLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxhQUFhLEdBQ1ZDLEVBQUUsQ0FBQ0MsV0FBVyxDQURqQkYsYUFBYTtBQUVwQixJQUNPRyxTQUFTLEdBQ05GLEVBQUUsQ0FBQ0csSUFBSSxDQURWRCxTQUFTO0FBR2hCLFNBQVNFLGlCQUFpQkEsQ0FBRUMsUUFBUSxFQUFHO0VBQ3RDLElBQU1DLFVBQVUsR0FBR1AsYUFBYSxDQUFDLENBQUM7RUFDbEMsSUFBTVEsSUFBSSxHQUFTRCxVQUFVLENBQUUsV0FBVyxDQUFFO0VBRTVDLE9BQU9KLFNBQVMsQ0FDZixVQUFBTSxNQUFNLEVBQUk7SUFDVCxJQUFNQyxLQUFLLEdBQUdELE1BQU0sQ0FBRSxhQUFjLENBQUMsQ0FBQ0UsWUFBWSxDQUFFSCxJQUFLLENBQUM7SUFFMUQsT0FBTyxDQUFDLENBQUNFLEtBQUssQ0FBQ0UsVUFBVSxDQUFFTixRQUFRLENBQUU7RUFDdEMsQ0FBQyxFQUNELENBQUVFLElBQUksQ0FDUCxDQUFDO0FBQ0Y7QUFFQSxpRUFBZUgsaUJBQWlCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9ob29rcy91c2VJc0hhc0F0dHJpYnV0ZS5qcz8wMDg4Il0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHtcclxuXHQgICAgICB1c2VCbG9ja1Byb3BzLFxyXG4gICAgICB9ID0gd3AuYmxvY2tFZGl0b3I7XHJcbmNvbnN0IHtcclxuXHQgICAgICB1c2VTZWxlY3QsXHJcbiAgICAgIH0gPSB3cC5kYXRhO1xyXG5cclxuZnVuY3Rpb24gdXNlSXNIYXNBdHRyaWJ1dGUoIGF0dHJOYW1lICkge1xyXG5cdGNvbnN0IGJsb2NrUHJvcHMgPSB1c2VCbG9ja1Byb3BzKCk7XHJcblx0Y29uc3QgdHlwZSAgICAgICA9IGJsb2NrUHJvcHNbICdkYXRhLXR5cGUnIF07XHJcblxyXG5cdHJldHVybiB1c2VTZWxlY3QoXHJcblx0XHRzZWxlY3QgPT4ge1xyXG5cdFx0XHRjb25zdCBibG9jayA9IHNlbGVjdCggJ2NvcmUvYmxvY2tzJyApLmdldEJsb2NrVHlwZSggdHlwZSApO1xyXG5cclxuXHRcdFx0cmV0dXJuICEhYmxvY2suYXR0cmlidXRlc1sgYXR0ck5hbWUgXTtcclxuXHRcdH0sXHJcblx0XHRbIHR5cGUgXSxcclxuXHQpO1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCB1c2VJc0hhc0F0dHJpYnV0ZTsiXSwibmFtZXMiOlsidXNlQmxvY2tQcm9wcyIsIndwIiwiYmxvY2tFZGl0b3IiLCJ1c2VTZWxlY3QiLCJkYXRhIiwidXNlSXNIYXNBdHRyaWJ1dGUiLCJhdHRyTmFtZSIsImJsb2NrUHJvcHMiLCJ0eXBlIiwic2VsZWN0IiwiYmxvY2siLCJnZXRCbG9ja1R5cGUiLCJhdHRyaWJ1dGVzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/hooks/useIsHasAttribute.js\n"); + +/***/ }), + +/***/ "./package/hooks/useMetaState.js": +/*!***************************************!*\ + !*** ./package/hooks/useMetaState.js ***! + \***************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _wp$data = wp.data,\n useSelect = _wp$data.useSelect,\n useDispatch = _wp$data.useDispatch;\nfunction useMetaState(key) {\n var ifEmpty = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '{}';\n var dependencies = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;\n var meta = useSelect(function (select) {\n var rawMeta = select('core/editor').getEditedPostAttribute('meta') || {};\n return JSON.parse(rawMeta[key] || ifEmpty);\n }, dependencies);\n var _useDispatch = useDispatch('core/editor'),\n editPost = _useDispatch.editPost;\n var setMetaStateValue = function setMetaStateValue(callable) {\n var value;\n if ('function' === typeof callable) {\n value = callable(meta);\n } else {\n value = callable;\n }\n if ('object' !== _typeof(value) || null === value) {\n value = JSON.parse(ifEmpty);\n }\n editPost({\n meta: _objectSpread(_objectSpread({}, meta), {}, _defineProperty({}, key, JSON.stringify(value)))\n });\n };\n return [meta, setMetaStateValue];\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useMetaState);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2hvb2tzL3VzZU1ldGFTdGF0ZS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsSUFBQUEsUUFBQSxHQUdVQyxFQUFFLENBQUNDLElBQUk7RUFGVkMsU0FBUyxHQUFBSCxRQUFBLENBQVRHLFNBQVM7RUFDVEMsV0FBVyxHQUFBSixRQUFBLENBQVhJLFdBQVc7QUFHbEIsU0FBU0MsWUFBWUEsQ0FDcEJDLEdBQUcsRUFHRjtFQUFBLElBRkRDLE9BQU8sR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQUUsU0FBQSxHQUFBRixTQUFBLE1BQVEsSUFBSTtFQUFBLElBQ25CRyxZQUFZLEdBQUFILFNBQUEsQ0FBQUMsTUFBQSxRQUFBRCxTQUFBLFFBQUFFLFNBQUEsR0FBQUYsU0FBQSxNQUFHRSxTQUFTO0VBRXhCLElBQU1FLElBQUksR0FBR1QsU0FBUyxDQUFFLFVBQUVVLE1BQU0sRUFBTTtJQUNyQyxJQUFNQyxPQUFPLEdBQUdELE1BQU0sQ0FBRSxhQUFjLENBQUMsQ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cblx0XHR9XHJcblxyXG5cdFx0ZWRpdFBvc3QoIHtcclxuXHRcdFx0bWV0YTogKFxyXG5cdFx0XHRcdHtcclxuXHRcdFx0XHRcdC4uLm1ldGEsXHJcblx0XHRcdFx0XHRbIGtleSBdOiBKU09OLnN0cmluZ2lmeSggdmFsdWUgKSxcclxuXHRcdFx0XHR9XHJcblx0XHRcdCksXHJcblx0XHR9ICk7XHJcblx0fTtcclxuXHJcblx0cmV0dXJuIFsgbWV0YSwgc2V0TWV0YVN0YXRlVmFsdWUgXTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgdXNlTWV0YVN0YXRlOyJdLCJuYW1lcyI6WyJfd3AkZGF0YSIsIndwIiwiZGF0YSIsInVzZVNlbGVjdCIsInVzZURpc3BhdGNoIiwidXNlTWV0YVN0YXRlIiwia2V5IiwiaWZFbXB0eSIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsImRlcGVuZGVuY2llcyIsIm1ldGEiLCJzZWxlY3QiLCJyYXdNZXRhIiwiZ2V0RWRpdGVkUG9zdEF0dHJpYnV0ZSIsIkpTT04iLCJwYXJzZSIsIl91c2VEaXNwYXRjaCIsImVkaXRQb3N0Iiwic2V0TWV0YVN0YXRlVmFsdWUiLCJjYWxsYWJsZSIsInZhbHVlIiwiX3R5cGVvZiIsIl9vYmplY3RTcHJlYWQiLCJfZGVmaW5lUHJvcGVydHkiLCJzdHJpbmdpZnkiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/hooks/useMetaState.js\n"); + +/***/ }), + +/***/ "./package/hooks/useRepeaterState.js": +/*!*******************************************!*\ + !*** ./package/hooks/useRepeaterState.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _repeater_context_safe_delete__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../repeater/context/safe.delete */ \"./package/repeater/context/safe.delete.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nvar useContext = wp.element.useContext;\nvar __ = wp.i18n.__;\nvar onSaveDeleting = function onSaveDeleting(index) {\n return confirm(__(\"Are you sure you want to remove item \".concat(index + 1, \"?\"), 'jet-form-builder'));\n};\n\n/**\r\n *\r\n * @param setItemsData\r\n * @returns {{\r\n * cloneItem: function,\r\n * addNewItem: function,\r\n * changeCurrentItem: function,\r\n * toggleVisible: function,\r\n * moveDown: function,\r\n * moveUp: function,\r\n * removeOption: function\r\n * }|null}\r\n */\nfunction useRepeaterState(setItemsData) {\n if ('undefined' === typeof setItemsData) {\n return null;\n }\n var isSafeDeleting = useContext(_repeater_context_safe_delete__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n var changeCurrentItem = function changeCurrentItem(valueToSet, index) {\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n prevClone[index] = _objectSpread(_objectSpread({}, prev[index]), valueToSet);\n return prevClone;\n });\n };\n var removeOption = function removeOption(index) {\n if (isSafeDeleting && !onSaveDeleting(index)) {\n return;\n }\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n prevClone.splice(index, 1);\n return prevClone;\n });\n };\n var addNewItem = function addNewItem(value) {\n setItemsData(function (prev) {\n return [].concat(_toConsumableArray(prev), [_objectSpread({\n __visible: true\n }, value)]);\n });\n };\n var cloneItem = function cloneItem(index) {\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n var _ref = [prevClone.slice(0, index + 1), prevClone.slice(index + 1)],\n before = _ref[0],\n after = _ref[1];\n return [].concat(_toConsumableArray(before), [prevClone[index]], _toConsumableArray(after));\n });\n };\n var moveRepeaterItem = function moveRepeaterItem(_ref2) {\n var oldIndex = _ref2.oldIndex,\n newIndex = _ref2.newIndex;\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n var _ref3 = [prevClone[oldIndex], prevClone[newIndex]];\n prevClone[newIndex] = _ref3[0];\n prevClone[oldIndex] = _ref3[1];\n return prevClone;\n });\n };\n var moveUp = function moveUp(index) {\n moveRepeaterItem({\n oldIndex: index,\n newIndex: index - 1\n });\n };\n var moveDown = function moveDown(index) {\n moveRepeaterItem({\n oldIndex: index,\n newIndex: index + 1\n });\n };\n var toggleVisible = function toggleVisible(index) {\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n prevClone[index].__visible = !prevClone[index].__visible;\n return prevClone;\n });\n };\n return {\n changeCurrentItem: changeCurrentItem,\n toggleVisible: toggleVisible,\n moveDown: moveDown,\n moveUp: moveUp,\n cloneItem: cloneItem,\n addNewItem: addNewItem,\n removeOption: removeOption\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useRepeaterState);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2hvb2tzL3VzZVJlcGVhdGVyU3RhdGUuanMiLCJtYXBwaW5ncy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V0IiwicHJldiIsInByZXZDbG9uZSIsIkpTT04iLCJwYXJzZSIsInN0cmluZ2lmeSIsIl9vYmplY3RTcHJlYWQiLCJyZW1vdmVPcHRpb24iLCJzcGxpY2UiLCJhZGROZXdJdGVtIiwidmFsdWUiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJfX3Zpc2libGUiLCJjbG9uZUl0ZW0iLCJfcmVmIiwic2xpY2UiLCJiZWZvcmUiLCJhZnRlciIsIm1vdmVSZXBlYXRlckl0ZW0iLCJfcmVmMiIsIm9sZEluZGV4IiwibmV3SW5kZXgiLCJfcmVmMyIsIm1vdmVVcCIsIm1vdmVEb3duIiwidG9nZ2xlVmlzaWJsZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/hooks/useRepeaterState.js\n"); + +/***/ }), + +/***/ "./package/hooks/useSelectPostMeta.js": +/*!********************************************!*\ + !*** ./package/hooks/useSelectPostMeta.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar useSelect = wp.data.useSelect;\nfunction useSelectPostMeta(name) {\n var allMeta = useSelect(function (select) {\n return select('core/editor').getEditedPostAttribute('meta') || {};\n });\n return JSON.parse(allMeta[name] || '{}');\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSelectPostMeta);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2hvb2tzL3VzZVNlbGVjdFBvc3RNZXRhLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUNPQSxTQUFTLEdBQ05DLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixTQUFTO0FBR2hCLFNBQVNH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Sb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/hooks/useSelectPostMeta.js\n"); + +/***/ }), + +/***/ "./package/hooks/useStateLoadingClasses.js": +/*!*************************************************!*\ + !*** ./package/hooks/useStateLoadingClasses.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _useStateValidClasses__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useStateValidClasses */ \"./package/hooks/useStateValidClasses.js\");\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar useState = wp.element.useState;\nfunction useStateLoadingClasses() {\n var _useState = useState(_toConsumableArray(_useStateValidClasses__WEBPACK_IMPORTED_MODULE_0__.initClasses)),\n _useState2 = _slicedToArray(_useState, 2),\n classes = _useState2[0],\n setClasses = _useState2[1];\n var setLoadingClass = function setLoadingClass() {\n setClasses([].concat(_toConsumableArray(_useStateValidClasses__WEBPACK_IMPORTED_MODULE_0__.initClasses), ['loading']));\n };\n var clearLoadingClass = function clearLoadingClass() {\n setClasses(_useStateValidClasses__WEBPACK_IMPORTED_MODULE_0__.initClasses);\n };\n return [classes.join(' '), setLoadingClass, clearLoadingClass];\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useStateLoadingClasses);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2hvb2tzL3VzZVN0YXRlTG9hZGluZ0NsYXNzZXMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQXFEO0FBRXJELElBQ09DLFFBQVEsR0FDTEMsRUFBRSxD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bIC4uLmluaXRDbGFzc2VzIF0gKTtcclxuXHJcblx0Y29uc3Qgc2V0TG9hZGluZ0NsYXNzICAgPSAoKSA9PiB7XHJcblx0XHRzZXRDbGFzc2VzKCBbIC4uLmluaXRDbGFzc2VzLCAnbG9hZGluZycgXSApO1xyXG5cdH07XHJcblx0Y29uc3QgY2xlYXJMb2FkaW5nQ2xhc3MgPSAoKSA9PiB7XHJcblx0XHRzZXRDbGFzc2VzKCBpbml0Q2xhc3NlcyApO1xyXG5cdH07XHJcblxyXG5cdHJldHVybiBbIGNsYXNzZXMuam9pbiggJyAnICksIHNldExvYWRpbmdDbGFzcywgY2xlYXJMb2FkaW5nQ2xhc3MgXTtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgdXNlU3RhdGVMb2FkaW5nQ2xhc3NlczsiXSwibmFtZXMiOlsiaW5pdENsYXNzZXMiLCJ1c2VTdGF0ZSIsIndwIiwiZWxlbWVudCIsInVzZVN0YXRlTG9hZGluZ0NsYXNzZXMiLCJfdXNlU3RhdGUiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJfdXNlU3RhdGUyIiwiX3NsaWNlZFRvQXJyYXkiLCJjbGFzc2VzIiwic2V0Q2xhc3NlcyIsInNldExvYWRpbmdDbGFzcyIsImNvbmNhdCIsImNsZWFyTG9hZGluZ0NsYXNzIiwiam9pbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/hooks/useStateLoadingClasses.js\n"); + +/***/ }), + +/***/ "./package/hooks/useStateValidClasses.js": +/*!***********************************************!*\ + !*** ./package/hooks/useStateValidClasses.js ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ initClasses: () => (/* binding */ initClasses)\n/* harmony export */ });\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nvar initClasses = ['jet-form-validate-button'];\nvar useState = wp.element.useState;\nfunction useStateValidClasses(initialValid) {\n var validClass = 'is-valid';\n var invalidClass = 'is-invalid';\n var initStateClasses = function initStateClasses() {\n if (initialValid) {\n return [validClass];\n }\n return false === initialValid ? [invalidClass] : [];\n };\n var _useState = useState(function () {\n return [].concat(initClasses, _toConsumableArray(initStateClasses()));\n }),\n _useState2 = _slicedToArray(_useState, 2),\n classes = _useState2[0],\n setClasses = _useState2[1];\n var setValidClass = function setValidClass() {\n setClasses([].concat(initClasses, [validClass]));\n };\n var setInvalidClass = function setInvalidClass() {\n setClasses([].concat(initClasses, [invalidClass]));\n };\n var setLoadingClass = function setLoadingClass() {\n setClasses([].concat(initClasses, ['loading']));\n };\n return [classes.join(' '), setValidClass, setInvalidClass, setLoadingClass];\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useStateValidClasses);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2hvb2tzL3VzZVN0YXRlVmFsaWRDbGFzc2VzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OztBQUFPLElBQU1BLFdBQVcsR0FBRyxDQUFFLDBCQUEwQixDQUFFO0FBRXpELElBQ09DLFFBQVEsR0FDTEMsRUFBRSxDQUFDQyxPQUFPLENBRGJGLFFBQVE7QUFHZixTQUFTRyxvQkFBb0JBLENBQUVDLFlBQVksRUFBRztFQUM3QyxJQUFNQyxVQUFVLEdBQUssVUFBVTtFQUMvQixJQUFNQyxZQUFZLEdBQUcsWUFBWTtFQUVqQyxJQUFNQyxnQkFBZ0IsR0FBRyxTQUFuQkEsZ0JBQWdCQSxDQUFBLEVBQVM7SUFDOUIsSUFBS0gsWUFBWSxFQUFHO01BQ25CLE9BQU8s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cclxuXHRcdHNldENsYXNzZXMoIFsgLi4uaW5pdENsYXNzZXMsICdsb2FkaW5nJyBdICk7XHJcblx0fTtcclxuXHJcblx0cmV0dXJuIFtcclxuXHRcdGNsYXNzZXMuam9pbiggJyAnICksXHJcblx0XHRzZXRWYWxpZENsYXNzLFxyXG5cdFx0c2V0SW52YWxpZENsYXNzLFxyXG5cdFx0c2V0TG9hZGluZ0NsYXNzLFxyXG5cdF07XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IHVzZVN0YXRlVmFsaWRDbGFzc2VzOyJdLCJuYW1lcyI6WyJpbml0Q2xhc3NlcyIsInVzZVN0YXRlIiwid3AiLCJlbGVtZW50IiwidXNlU3RhdGVWYWxpZENsYXNzZXMiLCJpbml0aWFsVmFsaWQiLCJ2YWxpZENsYXNzIiwiaW52YWxpZENsYXNzIiwiaW5pdFN0YXRlQ2xhc3NlcyIsIl91c2VTdGF0ZSIsImNvbmNhdCIsIl90b0NvbnN1bWFibGVBcnJheSIsIl91c2VTdGF0ZTIiLCJfc2xpY2VkVG9BcnJheSIsImNsYXNzZXMiLCJzZXRDbGFzc2VzIiwic2V0VmFsaWRDbGFzcyIsInNldEludmFsaWRDbGFzcyIsInNldExvYWRpbmdDbGFzcyIsImpvaW4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/hooks/useStateValidClasses.js\n"); + +/***/ }), + +/***/ "./package/hooks/useSuccessNotice.js": +/*!*******************************************!*\ + !*** ./package/hooks/useSuccessNotice.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nvar _wp$element = wp.element,\n useState = _wp$element.useState,\n useEffect = _wp$element.useEffect;\nvar useDispatch = wp.data.useDispatch;\nfunction useSuccessNotice(text) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n hasCopied = _useState2[0],\n setHasCopied = _useState2[1];\n var noticeStore = useDispatch(wp.notices.store);\n useEffect(function () {\n if (hasCopied) {\n noticeStore.createWarningNotice(text, _objectSpread({\n type: 'snackbar'\n }, options));\n }\n }, [hasCopied]);\n return setHasCopied;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useSuccessNotice);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2hvb2tzL3VzZVN1Y2Nlc3NOb3RpY2UuanMiLCJt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nJheSIsImhhc0NvcGllZCIsInNldEhhc0NvcGllZCIsIm5vdGljZVN0b3JlIiwibm90aWNlcyIsInN0b3JlIiwiY3JlYXRlV2FybmluZ05vdGljZSIsIl9vYmplY3RTcHJlYWQiLCJ0eXBlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/hooks/useSuccessNotice.js\n"); + +/***/ }), + +/***/ "./package/hooks/withSelectFormFields.js": +/*!***********************************************!*\ + !*** ./package/hooks/withSelectFormFields.js ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar applyFilters = wp.hooks.applyFilters;\nvar getFormFields = function getFormFields(blockParserFunc, blocks) {\n blocks.map(function (block) {\n blockParserFunc(block);\n if (block.innerBlocks.length) {\n getFormFields(blockParserFunc, block.innerBlocks);\n }\n });\n};\nvar withSelectFormFields = function withSelectFormFields() {\n var exclude = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var placeholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var suppressFilter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n return function (select) {\n var formFields = [];\n var skipFields = ['submit', 'form-break', 'heading', 'group-break', 'conditional'].concat(_toConsumableArray(exclude));\n getFormFields(function (block) {\n if (block.name.includes('jet-forms/') && block.attributes.name && !skipFields.find(function (field) {\n return block.name.includes(field);\n })) {\n /*const blockType = select( blocksStore ).getBlockType( block.name );*/\n\n formFields.push({\n blockName: block.name,\n name: block.attributes.name,\n label: block.attributes.label || block.attributes.name,\n value: block.attributes.name\n //icon: blockType.icon.src,\n });\n }\n }, select('core/block-editor').getBlocks());\n formFields = placeholder ? [{\n value: '',\n label: placeholder\n }].concat(_toConsumableArray(formFields)) : formFields;\n return {\n formFields: suppressFilter ? formFields : applyFilters('jet.fb.getFormFieldsBlocks', formFields)\n };\n };\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withSelectFormFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL2hvb2tzL3dpdGhTZWxlY3RGb3JtRmllbGRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFRQSxZQUFZLEdBQUtDLEVBQUUsQ0FBQ0MsS0FBSyxDQUF6QkYsWUFBWTtBQUVwQixJQUFNRyxhQUFhLEdBQUcsU0FBaEJBLGFBQWFBLENBQUtDLGVBQWUsRUFBRUMsTUFBTSxFQUFNO0VBQ3BEQSxNQUFNLENBQUNDLEdBQUcsQ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IsImxlbmd0aCIsIndpdGhTZWxlY3RGb3JtRmllbGRzIiwiZXhjbHVkZSIsImFyZ3VtZW50cyIsInVuZGVmaW5lZCIsInBsYWNlaG9sZGVyIiwic3VwcHJlc3NGaWx0ZXIiLCJzZWxlY3QiLCJmb3JtRmllbGRzIiwic2tpcEZpZWxkcyIsImNvbmNhdCIsIl90b0NvbnN1bWFibGVBcnJheSIsIm5hbWUiLCJpbmNsdWRlcyIsImF0dHJpYnV0ZXMiLCJmaW5kIiwiZmllbGQiLCJwdXNoIiwiYmxvY2tOYW1lIiwibGFiZWwiLCJ2YWx1ZSIsImdldEJsb2NrcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/hooks/withSelectFormFields.js\n"); + +/***/ }), + +/***/ "./package/macros.button/abstract/BaseFilter.js": +/*!******************************************************!*\ + !*** ./package/macros.button/abstract/BaseFilter.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _BasePopoverItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BasePopoverItem */ \"./package/macros.button/abstract/BasePopoverItem.js\");\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\nvar __ = wp.i18n.__;\nfunction BaseFilter() {\n _BasePopoverItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n}\nBaseFilter.prototype = Object.create(_BasePopoverItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\nBaseFilter.prototype.docArgument = false;\nBaseFilter.prototype.help = null;\nBaseFilter.prototype.isServerSide = false;\nBaseFilter.prototype.isClientSide = false;\nBaseFilter.prototype.getArgumentsList = function () {\n if (!this.docArgument || !this.docArgument.length) {\n return null;\n }\n var list = Array.isArray(this.docArgument) ? this.docArgument : [this.docArgument];\n var response = [];\n var _iterator = _createForOfIteratorHelper(list),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var listElement = _step.value;\n switch (listElement) {\n case 'string':\n case String:\n response.push(__('String', 'jet-form-builder'));\n break;\n case 'number':\n case Number:\n response.push(__('Number', 'jet-form-builder'));\n break;\n case 'array':\n case Array:\n response.push(__('Array', 'jet-form-builder'));\n break;\n case 'any':\n response.push(__('Anything', 'jet-form-builder'));\n break;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return response.join(' | ');\n};\nBaseFilter.prototype.fullHelp = function () {\n if (!this.docArgument && !this.help) {\n return null;\n }\n var Help = this.help;\n var list = this.getArgumentsList();\n return wp.element.createElement(React.Fragment, null, list && wp.element.createElement(\"div\", {\n style: {\n marginBottom: '0.5em'\n }\n }, __('Arguments:', 'jet-form-builder') + ' ', wp.element.createElement(\"code\", null, list)), 'function' !== typeof Help ? Help : wp.element.createElement(Help, null));\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vYWJzdHJhY3QvQmFzZUZpbHRlci5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7OztBQUFnRDtBQUVoRCxJQUNPQyxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBR1QsU0FBU0csVUFBVUEsQ0FBQSxFQUFHO0VBQ3JCSix3REFBZSxDQUFDSyxJQUFJLENBQUUsSUFBSyxDQUFDO0FBQzdCO0FBRUFELFVBQVUsQ0FBQ0UsU0FBUyxHQUFHQyxNQUFNLENBQUNDLE1BQU0sQ0FBRVIsd0RBQWUsQ0FBQ00sU0FBVSxDQUFDO0FBRWpFRixVQUFVLENBQUNFLFNBQVMsQ0FBQ0csV0FBVyxHQUFRLEtBQUs7QUFDN0NMLFVBQVUsQ0FBQ0UsU0FBUyxDQUFDSSxJQUFJLEdBQWUsSUFBSTtBQUM1Q04sVUFBVSxDQUFDRSxTQUFTLENBQUNLLFlBQVksR0FBTyxLQUFLO0FBQzdDUCxVQUFVLENBQUNFLFNBQVMsQ0FBQ00sWUFBWSxHQUFPLEtBQUs7QUFDN0NSLFVBQVUsQ0FBQ0UsU0FBUyxDQUFDTyxnQkFBZ0IsR0FBRyxZQUFZO0VBQ25ELElBQUssQ0FBQyxJQUFJLENBQUNKLFdBQVcsSU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ilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/abstract/BaseMacro.js": +/*!*****************************************************!*\ + !*** ./package/macros.button/abstract/BaseMacro.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _BasePopoverItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BasePopoverItem */ \"./package/macros.button/abstract/BasePopoverItem.js\");\n\nfunction BaseMacro() {\n _BasePopoverItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n}\nBaseMacro.prototype = Object.create(_BasePopoverItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n\n/**\r\n * Can be used in Send Email action & other actions...\r\n */\nBaseMacro.prototype.isServerSide = false;\n\n/**\r\n * Can be used in Calculated field & other field attributes\r\n */\nBaseMacro.prototype.isClientSide = false;\n\n/**\r\n * Ex.: CurrentDate\r\n */\nBaseMacro.prototype.name = '';\n\n/**\r\n * With namespace\r\n * Ex.: CT\r\n */\nBaseMacro.prototype.namespace = 'CT';\n\n/**\r\n * @type {null|String|Function}\r\n */\nBaseMacro.prototype.help = null;\nBaseMacro.prototype.fullHelp = function () {\n return this.help;\n};\nBaseMacro.prototype.fullName = function () {\n return \"%\".concat(this.namespace, \"::\").concat(this.name, \"%\");\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseMacro);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vYWJzdHJhY3QvQmFzZU1hY3JvLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQWdEO0FBRWhELFNBQVNDLFNBQVNBLENBQ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cmV0dXJuIGAlJHsgdGhpcy5uYW1lc3BhY2UgfTo6JHsgdGhpcy5uYW1lIH0lYDtcclxufTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IEJhc2VNYWNybzsiXSwibmFtZXMiOlsiQmFzZVBvcG92ZXJJdGVtIiwiQmFzZU1hY3JvIiwiY2FsbCIsInByb3RvdHlwZSIsIk9iamVjdCIsImNyZWF0ZSIsImlzU2VydmVyU2lkZSIsImlzQ2xpZW50U2lkZSIsIm5hbWUiLCJuYW1lc3BhY2UiLCJoZWxwIiwiZnVsbEhlbHAiLCJmdWxsTmFtZSIsImNvbmNhdCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/abstract/BaseMacro.js\n"); + +/***/ }), + +/***/ "./package/macros.button/abstract/BasePopoverItem.js": +/*!***********************************************************!*\ + !*** ./package/macros.button/abstract/BasePopoverItem.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction BasePopoverItem() {}\nBasePopoverItem.prototype = {\n fullName: function fullName() {},\n fullHelp: function fullHelp() {}\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BasePopoverItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vYWJzdHJhY3QvQmFzZVBvcG92ZXJJdGVtLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxTQUFTQSxlQUFlQSxDQUFBLEVBQUcsQ0FFM0I7QUFFQUEsZUFBZSxDQUFDQyxTQUFTLEdBQUc7RUFDM0JDLFFBQVEsV0FBQUEsU0FBQSxFQUFHLENBQ1gsQ0FBQztFQUNEQyxRQUFRLFdBQUFBLFNBQUEsRUFBRyxDQUNYO0FBQ0QsQ0FBQztBQUVELGlFQUFlSCxlQUFlIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3MuYnV0dG9uL2Fic3RyYWN0L0Jhc2VQb3BvdmVySXRlbS5qcz9jNWFiIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIEJhc2VQb3BvdmVySXRlbSgpIHtcclxuXHJcbn1cclxuXHJcbkJhc2VQb3BvdmVySXRlbS5wcm90b3R5cGUgPSB7XHJcblx0ZnVsbE5hbWUoKSB7XHJcblx0fSxcclxuXHRmdWxsSGVscCgpIHtcclxuXHR9LFxyXG59O1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgQmFzZVBvcG92ZXJJdGVtOyJdLCJuYW1lcyI6WyJCYXNlUG9wb3Zlckl0ZW0iLCJwcm90b3R5cGUiLCJmdWxsTmFtZSIsImZ1bGxIZWxwIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/abstract/BasePopoverItem.js\n"); + +/***/ }), + +/***/ "./package/macros.button/components/ClientSideMacros.js": +/*!**************************************************************!*\ + !*** ./package/macros.button/components/ClientSideMacros.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_ExtraMacroContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/ExtraMacroContext */ \"./package/macros.button/context/ExtraMacroContext.js\");\n/* harmony import */ var _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../abstract/BaseMacro */ \"./package/macros.button/abstract/BaseMacro.js\");\n\n\nvar useSelect = wp.data.useSelect;\nvar __ = wp.i18n.__;\nvar thisMacro = new _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_1__[\"default\"]();\nthisMacro.fullName = function () {\n return '%this%';\n};\nthisMacro.fullHelp = function () {\n return __('Returns current field value', 'jet-form-builder');\n};\nfunction ClientSideMacros(_ref) {\n var children = _ref.children,\n _ref$withThis = _ref.withThis,\n withThis = _ref$withThis === void 0 ? false : _ref$withThis;\n var extra = useSelect(function (select) {\n return select('jet-forms/macros').getClientMacros();\n }, []);\n var value = withThis ? {\n extra: extra,\n afterFields: [thisMacro]\n } : {\n extra: extra\n };\n return wp.element.createElement(_context_ExtraMacroContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: value\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ClientSideMacros);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29tcG9uZW50cy9DbGllbnRTaWRlTWFjcm9zLmpzIiwibWFwcGluZ3MiOiI7Ozs7OztBQUE2RDtBQUNmO0FBRTlDLElBQ09FLFNBQVMsR0FDTkMsRUFBRSxDQUFDQyxJQUFJLENBRFZGLFNBQVM7QUFFaEIsSUFDT0csRUFBRSxHQUNDRixFQUFFLENBQUNHLElBQUksQ0FEVkQsRUFBRTtBQUdULElBQU1FLFNBQVMsR0FBRyxJQUFJTiwyREFBUyxDQUFDLENBQUM7QUFFakNNLFNBQVMsQ0FBQ0MsUUFBUSxHQUFHO0VBQUEsT0FBTSxRQUFRO0FBQUE7QUFDbkNELFNBQVMsQ0FBQ0UsUUFBUSxHQUFHO0VBQUEsT0FBTUosRUFBRSxDQUM1Qiw2QkFBNkIsRUFDN0Isa0JBQ0QsQ0FBQztBQUFBO0FBRUQsU0FBU0ssZ0JBQWdCQSxDQUFBQyxJQUFBLEVBQW1DO0VBQUEs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Y2hpbGRyZW4iLCJfcmVmJHdpdGhUaGlzIiwid2l0aFRoaXMiLCJleHRyYSIsInNlbGVjdCIsImdldENsaWVudE1hY3JvcyIsInZhbHVlIiwiYWZ0ZXJGaWVsZHMiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIlByb3ZpZGVyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/components/ClientSideMacros.js\n"); + +/***/ }), + +/***/ "./package/macros.button/components/GroupItemsPopover.js": +/*!***************************************************************!*\ + !*** ./package/macros.button/components/GroupItemsPopover.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _PopoverItemMacro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PopoverItemMacro */ \"./package/macros.button/components/PopoverItemMacro.js\");\n\nvar _wp$element = wp.element,\n Children = _wp$element.Children,\n cloneElement = _wp$element.cloneElement;\nvar PanelBody = wp.components.PanelBody;\nfunction GroupItemsPopover(_ref) {\n var title = _ref.title,\n items = _ref.items,\n children = _ref.children,\n initialOpen = _ref.initialOpen;\n var elements = items.map(function (item) {\n return wp.element.createElement(_PopoverItemMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n current: item\n });\n });\n return wp.element.createElement(PanelBody, {\n title: title,\n initialOpen: initialOpen\n }, wp.element.createElement(\"ul\", {\n style: {\n padding: '0 0.5em'\n }\n }, Children.map(elements, function (current) {\n return cloneElement(current, {}, children);\n })));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GroupItemsPopover);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYW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clxuXHRcdFx0XHRjaGlsZHJlbixcclxuXHRcdFx0KSApIH1cclxuXHRcdDwvdWw+XHJcblx0PC9QYW5lbEJvZHk+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBHcm91cEl0ZW1zUG9wb3ZlcjsiXSwibmFtZXMiOlsiUG9wb3Zlckl0ZW1NYWNybyIsIl93cCRlbGVtZW50Iiwid3AiLCJlbGVtZW50IiwiQ2hpbGRyZW4iLCJjbG9uZUVsZW1lbnQiLCJQYW5lbEJvZHkiLCJjb21wb25lbnRzIiwiR3JvdXBJdGVtc1BvcG92ZXIiLCJfcmVmIiwidGl0bGUiLCJpdGVtcyIsImNoaWxkcmVuIiwiaW5pdGlhbE9wZW4iLCJlbGVtZW50cyIsIm1hcCIsIml0ZW0iLCJjcmVhdGVFbGVtZW50IiwiY3VycmVudCIsInN0eWxlIiwicGFkZGluZyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/components/GroupItemsPopover.js\n"); + +/***/ }), + +/***/ "./package/macros.button/components/MacroFieldItem.js": +/*!************************************************************!*\ + !*** ./package/macros.button/components/MacroFieldItem.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_PopoverItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/PopoverItem */ \"./package/macros.button/context/PopoverItem.js\");\n\nvar useContext = wp.element.useContext;\nvar Button = wp.components.Button;\nfunction MacroFieldItem(_ref) {\n var _onClick = _ref.onClick;\n var field = useContext(_context_PopoverItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n var value = field.fullName ? field.fullName() : \"%\".concat(field.value, \"%\");\n return wp.element.createElement(Button, {\n isLink: true,\n onClick: function onClick() {\n return _onClick(value);\n }\n }, value);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MacroFieldItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29tcG9uZW50cy9NYWNyb0ZpZWxkSXRlbS5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFpRDtBQUVqRCxJQUNPQyxVQUFVLEdBQ1BDLEVBQUUsQ0FBQ0MsT0FBTyxDQURiRixVQUFVO0FBRWpCLElBQ09HLE1BQU0sR0FDSEYsRUFBRSxDQUFDRyxVQUFVLENBRGhCRCxNQUFNO0FBR2IsU0FBU0UsY0FBY0EsQ0FBQUMsSUFBQSxFQUFnQjtFQUFBLElBQVpDLFFBQU8sR0FBQUQsSUFBQSxDQUFQQyxPQUFPO0VBQ2pDLElBQU1DLEtBQUssR0FBR1IsVUFBVSxDQUFFRCw0REFBWSxDQUFDO0VBRXZDLElBQU1VLEtBQUssR0FBR0QsS0FBSyxDQUFDRSxRQUFRLEdBQ1pGLEtBQUssQ0FBQ0UsUUFBUSxDQUFDLENBQUMsT0FBQUMsTUFBQSxDQUNYSCxLQUFLLENBQUNDLEtBQUssTUFBSTtFQUVwQyxPQUFPUixFQUFBLENBQUFDLE9BQUEsQ0FBQVUsYUFBQSxDQUFDVCxNQUFNO0lBQ2JVLE1BQU07SUFDTk4sT0FBTyxFQUFHLFNBQUFBLFFBQUE7TUFBQSxPQUFNQSxRQUFPLENBQUVFLEtBQU0sQ0FBQztJQUFBO0VBQUUsR0FFaENBLEtBQ0ssQ0FBQztBQUNWO0FBRUEsaUVBQWVKLGNBQWMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29tcG9uZW50cy9NYWNyb0ZpZWxkSXRlbS5qcz9kMGE5Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBQb3BvdmVySXRlbSBmcm9tICcuLi9jb250ZXh0L1BvcG92ZXJJdGVtJztcclxuXHJcbmNvbnN0IHtcclxuXHQgICAgICB1c2VDb250ZXh0LFxyXG4gICAgICB9ID0gd3AuZWxlbWVudDtcclxuY29uc3Qge1xyXG5cdCAgICAgIEJ1dHRvbixcclxuICAgICAgfSA9IHdwLmNvbXBvbmVudHM7XHJcblxyXG5mdW5jdGlvbiBNYWNyb0ZpZWxkSXRlbSggeyBvbkNsaWNrIH0gKSB7XHJcblx0Y29uc3QgZmllbGQgPSB1c2VDb250ZXh0KCBQb3BvdmVySXRlbSApO1xyXG5cclxuXHRjb25zdCB2YWx1ZSA9IGZpZWxkLmZ1bGxOYW1lXHJcblx0ICAgICAgICAgICAgICA/IGZpZWxkLmZ1bGxOYW1lKClcclxuXHQgICAgICAgICAgICAgIDogYCUkeyBmaWVsZC52YWx1ZSB9JWA7XHJcblxyXG5cdHJldHVybiA8QnV0dG9uXHJcblx0XHRpc0xpbmtcclxuXHRcdG9uQ2xpY2s9eyAoKSA9PiBvbkNsaWNrKCB2YWx1ZSApIH1cclxuXHQ+XHJcblx0XHR7IHZhbHVlIH1cclxuXHQ8L0J1dHRvbj47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IE1hY3JvRmllbGRJdGVtOyJdLCJuYW1lcyI6WyJQb3BvdmVySXRlbSIsInVzZUNvbnRleHQiLCJ3cCIsImVsZW1lbnQiLCJCdXR0b24iLCJjb21wb25lbnRzIiwiTWFjcm9GaWVsZEl0ZW0iLCJfcmVmIiwib25DbGljayIsImZpZWxkIiwidmFsdWUiLCJmdWxsTmFtZSIsImNvbmNhdCIsImNyZWF0ZUVsZW1lbnQiLCJpc0xpbmsiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/components/MacroFieldItem.js\n"); + +/***/ }), + +/***/ "./package/macros.button/components/MacrosButtonTemplate.js": +/*!******************************************************************!*\ + !*** ./package/macros.button/components/MacrosButtonTemplate.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_PopoverContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/PopoverContext */ \"./package/macros.button/context/PopoverContext.js\");\nvar _excluded = [\"children\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nvar _wp$element = wp.element,\n useState = _wp$element.useState,\n useRef = _wp$element.useRef;\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n Popover = _wp$components.Popover;\nfunction MacrosButtonTemplate(_ref) {\n var children = _ref.children,\n props = _objectWithoutProperties(_ref, _excluded);\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n showPopover = _useState2[0],\n setShowPopover = _useState2[1];\n var buttonRef = useRef();\n return wp.element.createElement(_context_PopoverContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: {\n showPopover: showPopover,\n setShowPopover: setShowPopover\n }\n }, wp.element.createElement(Button, _extends({\n ref: buttonRef,\n icon: 'admin-tools',\n variant: \"tertiary\",\n isSmall: true,\n className: 'jet-fb-is-thick',\n onClick: function onClick() {\n return setShowPopover(true);\n }\n }, props)), showPopover && wp.element.createElement(Popover, {\n anchorRef: buttonRef.current,\n position: 'top-start',\n noArrow: false,\n isAlternate: true,\n onClose: function onClose() {\n return setShowPopover(false);\n }\n }, children));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MacrosButtonTemplate);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29tcG9uZW50cy9NYWNyb3NCdXR0b25UZW1wbGF0ZS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBdUQ7QUFFdkQsSUFBQUMsV0FBQSxHQUdVQyxFQUFFLENBQUNDLE9BQU87RUFGYkMsUUFBUSxHQUFBSCxXQUFBLENBQVJHLFFBQVE7RUFDUkMsTUFBTSxHQUFBSixXQUFBLENBQU5JLE1BQU07QUFFYixJQUFBQyxjQUFBLEdBR1VKLEVBQUUsQ0FBQ0ssVUFBVTtFQUZoQkMsTUFBTSxHQUFBRixjQUFBLENBQU5FLE1BQU07RUFDTkMsT0FBTyxHQUFBSCxjQUFBLENBQVBHLE9BQU87QUFHZCxTQUFTQyxvQkFBb0JBLENBQUFDLElBQUEsRUFHekI7RUFBQSxJQUZIQyxRQUFRLEdBQUFELElBQUEsQ0FBUkMsUUFBUTtJQUNMQyxLQUFLLEdBQUFDLHdCQUFBLENBQUFILElBQUEsRUFBQUksU0FBQTtFQUVSLElBQUFDLFNBQUEsR0FBd0NaLFFBQVEsQ0FBRSxLQUFNLENBQUM7SUFBQWEsVUFBQSxHQUFBQyxjQUFBLENBQUFGLFNBQUE7SUFBakRHLFdBQVcsR0FBQUYsVUFBQTtJQUFFRyxjQUFjLEdBQUFILFVBQUE7RUFDbkMsSUFBTUksU0FBUyxHQUF5QmhCLE1BQU0sQ0FBQyxDQUFDO0VBRWhELE9BQU9ILEVBQUEsQ0FBQUMsT0FBQSxDQUFBbUIsYUFBQSxDQUFDdEIsK0RBQWMsQ0FB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XHRpc0FsdGVybmF0ZVxyXG5cdFx0XHRcdG9uQ2xvc2U9eyAoKSA9PiBzZXRTaG93UG9wb3ZlciggZmFsc2UgKSB9XHJcblx0XHRcdD5cclxuXHRcdFx0XHR7IGNoaWxkcmVuIH1cclxuXHRcdFx0PC9Qb3BvdmVyPlxyXG5cdFx0KSB9XHJcblx0PC9Qb3BvdmVyQ29udGV4dC5Qcm92aWRlcj47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IE1hY3Jvc0J1dHRvblRlbXBsYXRlOyJdLCJuYW1lcyI6WyJQb3BvdmVyQ29udGV4dCIsIl93cCRlbGVtZW50Iiwid3AiLCJlbGVtZW50IiwidXNlU3RhdGUiLCJ1c2VSZWYiLCJfd3AkY29tcG9uZW50cyIsImNvbXBvbmVudHMiLCJCdXR0b24iLCJQb3BvdmVyIiwiTWFjcm9zQnV0dG9uVGVtcGxhdGUiLCJfcmVmIiwiY2hpbGRyZW4iLCJwcm9wcyIsIl9vYmplY3RXaXRob3V0UHJvcGVydGllcyIsIl9leGNsdWRlZCIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJfc2xpY2VkVG9BcnJheSIsInNob3dQb3BvdmVyIiwic2V0U2hvd1BvcG92ZXIiLCJidXR0b25SZWYiLCJjcmVhdGVFbGVtZW50IiwiUHJvdmlkZXIiLCJ2YWx1ZSIsIl9leHRlbmRzIiwicmVmIiwiaWNvbiIsInZhcmlhbnQiLCJpc1NtYWxsIiwiY2xhc3NOYW1lIiwib25DbGljayIsImFuY2hvclJlZiIsImN1cnJlbnQiLCJwb3NpdGlvbiIsIm5vQXJyb3ciLCJpc0FsdGVybmF0ZSIsIm9uQ2xvc2UiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/components/MacrosButtonTemplate.js\n"); + +/***/ }), + +/***/ "./package/macros.button/components/MacrosFields.js": +/*!**********************************************************!*\ + !*** ./package/macros.button/components/MacrosFields.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _MacrosFieldsTemplate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MacrosFieldsTemplate */ \"./package/macros.button/components/MacrosFieldsTemplate.js\");\n/* harmony import */ var _MacroFieldItem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MacroFieldItem */ \"./package/macros.button/components/MacroFieldItem.js\");\n/* harmony import */ var _blocks_hooks_useFields__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../blocks/hooks/useFields */ \"./package/blocks/hooks/useFields.js\");\nvar _excluded = [\"onClick\", \"withCurrent\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n\n\nfunction MacrosFields(_ref) {\n var _ref$onClick = _ref.onClick,\n onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick,\n _ref$withCurrent = _ref.withCurrent,\n withCurrent = _ref$withCurrent === void 0 ? false : _ref$withCurrent,\n props = _objectWithoutProperties(_ref, _excluded);\n var fields = (0,_blocks_hooks_useFields__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({\n excludeCurrent: !withCurrent\n });\n return wp.element.createElement(_MacrosFieldsTemplate__WEBPACK_IMPORTED_MODULE_0__[\"default\"], _extends({\n withCurrent: withCurrent,\n fields: fields\n }, props), wp.element.createElement(_MacroFieldItem__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n onClick: onClick\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MacrosFields);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29tcG9uZW50cy9NYWNyb3NGaWVsZHMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBMEQ7QUFDWjtBQUNPO0FBRXJELFNBQVNHLFlBQVlBLENBQUFDLElBQUEsRUFJakI7RUFBQSxJQUFBQyxZQUFBLEdBQUFELElBQUEsQ0FISEUsT0FBTztJQUFQQSxPQUFPLEdBQUFELFlBQUEsY0FBRyxZQUFNLENBQUMsQ0FBQyxHQUFBQSxZQUFBO0lBQUFFLGdCQUFBLEdBQUFILElBQUEsQ0FDbEJJLFdBQVc7SUFBWEEsV0FBVyxHQUFBRCxnQkFBQSxjQUFHLEtBQUssR0FBQUEsZ0JBQUE7SUFDaEJFLEtBQUssR0FBQUMsd0JBQUEsQ0FBQU4sSUFBQSxFQUFBTyxTQUFBO0VBRVIsSUFBTUMsTUFBTSxHQUFHVixtRUFBUyxDQUFFO0lBQUVXLGNBQWMsRUFBRSxDQUFDTDtFQUFZLENBQUUsQ0FBQztFQUU1RCxPQUFPTSxFQUFBLENBQUFDLE9BQUEsQ0FBQUMsYUFBQSxDQUFDaEIsNkRBQW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0vPlxyXG5cdDwvTWFjcm9zRmllbGRzVGVtcGxhdGU+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBNYWNyb3NGaWVsZHM7Il0sIm5hbWVzIjpbIk1hY3Jvc0ZpZWxkc1RlbXBsYXRlIiwiTWFjcm9GaWVsZEl0ZW0iLCJ1c2VGaWVsZHMiLCJNYWNyb3NGaWVsZHMiLCJfcmVmIiwiX3JlZiRvbkNsaWNrIiwib25DbGljayIsIl9yZWYkd2l0aEN1cnJlbnQiLCJ3aXRoQ3VycmVudCIsInByb3BzIiwiX29iamVjdFdpdGhvdXRQcm9wZXJ0aWVzIiwiX2V4Y2x1ZGVkIiwiZmllbGRzIiwiZXhjbHVkZUN1cnJlbnQiLCJ3cCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiX2V4dGVuZHMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/components/MacrosFields.js\n"); + +/***/ }), + +/***/ "./package/macros.button/components/MacrosFieldsTemplate.js": +/*!******************************************************************!*\ + !*** ./package/macros.button/components/MacrosFieldsTemplate.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _MacrosButtonTemplate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MacrosButtonTemplate */ \"./package/macros.button/components/MacrosButtonTemplate.js\");\n/* harmony import */ var _context_ExtraMacroContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context/ExtraMacroContext */ \"./package/macros.button/context/ExtraMacroContext.js\");\n/* harmony import */ var _GroupItemsPopover__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GroupItemsPopover */ \"./package/macros.button/components/GroupItemsPopover.js\");\nvar _excluded = [\"children\", \"fields\"];\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n\n\nvar useContext = wp.element.useContext;\nvar __ = wp.i18n.__;\nfunction MacrosFieldsTemplate(_ref) {\n var _macros$beforeFields, _macros$afterFields, _macros$extra, _macros$filters, _macros$extra2, _macros$filters2;\n var children = _ref.children,\n fields = _ref.fields,\n props = _objectWithoutProperties(_ref, _excluded);\n /**\r\n * @type {{\r\n * extra: BaseMacro[],\r\n * filters: BaseFilter[]\r\n * beforeFields: BasePopoverItem[]\r\n * afterFields: BasePopoverItem[]\r\n * }}\r\n */\n var macros = useContext(_context_ExtraMacroContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n var fullFields = [].concat(_toConsumableArray((_macros$beforeFields = macros.beforeFields) !== null && _macros$beforeFields !== void 0 ? _macros$beforeFields : []), _toConsumableArray(fields), _toConsumableArray((_macros$afterFields = macros.afterFields) !== null && _macros$afterFields !== void 0 ? _macros$afterFields : []));\n if (!fullFields.length && !(macros !== null && macros !== void 0 && (_macros$extra = macros.extra) !== null && _macros$extra !== void 0 && _macros$extra.length) && !(macros !== null && macros !== void 0 && (_macros$filters = macros.filters) !== null && _macros$filters !== void 0 && _macros$filters.length)) {\n return null;\n }\n return wp.element.createElement(_MacrosButtonTemplate__WEBPACK_IMPORTED_MODULE_0__[\"default\"], props, Boolean(fullFields.length) && wp.element.createElement(_GroupItemsPopover__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n title: __('Fields:', 'jet-form-builder'),\n items: fullFields,\n initialOpen: true\n }, children), Boolean(macros === null || macros === void 0 || (_macros$extra2 = macros.extra) === null || _macros$extra2 === void 0 ? void 0 : _macros$extra2.length) && wp.element.createElement(_GroupItemsPopover__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n title: __('Extra macros:', 'jet-form-builder'),\n items: macros.extra\n }, children), Boolean(macros === null || macros === void 0 || (_macros$filters2 = macros.filters) === null || _macros$filters2 === void 0 ? void 0 : _macros$filters2.length) && wp.element.createElement(_GroupItemsPopover__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n title: __('Filters:', 'jet-form-builder'),\n items: macros.filters\n }, children));\n}\n/* harmony default export */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MkZmlsdGVycyIsIl9tYWNyb3MkZXh0cmEyIiwiX21hY3JvcyRmaWx0ZXJzMiIsImNoaWxkcmVuIiwiZmllbGRzIiwicHJvcHMiLCJfb2JqZWN0V2l0aG91dFByb3BlcnRpZXMiLCJfZXhjbHVkZWQiLCJtYWNyb3MiLCJmdWxsRmllbGRzIiwiY29uY2F0IiwiX3RvQ29uc3VtYWJsZUFycmF5IiwiYmVmb3JlRmllbGRzIiwiYWZ0ZXJGaWVsZHMiLCJsZW5ndGgiLCJleHRyYSIsImZpbHRlcnMiLCJjcmVhdGVFbGVtZW50IiwiQm9vbGVhbiIsInRpdGxlIiwiaXRlbXMiLCJpbml0aWFsT3BlbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/components/MacrosFieldsTemplate.js\n"); + +/***/ }), + +/***/ "./package/macros.button/components/PopoverItemMacro.js": +/*!**************************************************************!*\ + !*** ./package/macros.button/components/PopoverItemMacro.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_PopoverItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/PopoverItem */ \"./package/macros.button/context/PopoverItem.js\");\n/* harmony import */ var _abstract_BasePopoverItem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../abstract/BasePopoverItem */ \"./package/macros.button/abstract/BasePopoverItem.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar useState = wp.element.useState;\nvar Button = wp.components.Button;\n\n/**\r\n * @param current {BasePopoverItem}\r\n * @param children\r\n * @constructor\r\n */\nfunction PopoverItemMacro(_ref) {\n var current = _ref.current,\n children = _ref.children;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n showHelp = _useState2[0],\n setShowHelp = _useState2[1];\n if (!(current instanceof _abstract_BasePopoverItem__WEBPACK_IMPORTED_MODULE_1__[\"default\"])) {\n return wp.element.createElement(\"li\", null, wp.element.createElement(_context_PopoverItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: current\n }, children));\n }\n var MacroHelp = current.fullHelp.bind(current);\n return wp.element.createElement(\"li\", null, wp.element.createElement(_context_PopoverItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: current\n }, wp.element.createElement(\"div\", {\n style: {\n display: 'flex',\n alignItems: 'center',\n gap: '0.6em'\n }\n }, wp.element.createElement(Button, {\n isSmall: true,\n variant: \"tertiary\",\n icon: showHelp ? 'arrow-down' : 'arrow-right',\n className: 'jet-fb-is-thick',\n onClick: function onClick() {\n return setShowHelp(function (prev) {\n return !prev;\n });\n }\n }), children), showHelp && wp.element.createElement(MacroHelp, null)));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PopoverItemMacro);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29tcG9uZW50cy9Qb3BvdmVySXRlbU1hY3JvLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFpRDtBQUNTO0FBRTFELElBQ09FLFFBQVEsR0FDTEMsRUFBRSxDQUFDQyxPQUFPLENBRGJGLFFBQVE7QUFFZixJQUNPRyxNQUFNLEdBQ0hGLEVBQUUsQ0FBQ0csVUFBVSxDQURoQkQsTUFBTTs7QUFHYjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsU0FBU0UsZ0JBQWdCQSxDQUFBQyxJQUFBLEVBQTBCO0VBQUEsSUFBdEJDLE9BQU8sR0FBQUQsSUFBQSxDQUFQQyxPQUFPO0lBQUVDLFFBQVEsR0FBQUYsSUFBQSxDQUFSRSxRQUFRO0VBQzdDLElBQUFDLFNBQUEsR0FBa0NULFFBQVEsQ0FBRSxLQUFNLENBQUM7SUFBQVUsVUFBQSxHQUFBQyxjQUFBLENBQUFGLFNBQUE7SUFBM0NHLFFBQVEsR0FBQUYsVUFBQTtJQUFFRyxXQUFXLEdBQUFILFVBQUE7RUFFN0IsSUFBSyxFQUNKSCxPQUFPLFlBQVlSLGlFQUFlLENBQ2xDLEVBQUc7SUFDSCxP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RvbiIsImNvbXBvbmVudHMiLCJQb3BvdmVySXRlbU1hY3JvIiwiX3JlZiIsImN1cnJlbnQiLCJjaGlsZHJlbiIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJfc2xpY2VkVG9BcnJheSIsInNob3dIZWxwIiwic2V0U2hvd0hlbHAiLCJjcmVhdGVFbGVtZW50IiwiUHJvdmlkZXIiLCJ2YWx1ZSIsIk1hY3JvSGVscCIsImZ1bGxIZWxwIiwiYmluZCIsInN0eWxlIiwiZGlzcGxheSIsImFsaWduSXRlbXMiLCJnYXAiLCJpc1NtYWxsIiwidmFyaWFudCIsImljb24iLCJjbGFzc05hbWUiLCJvbkNsaWNrIiwicHJldiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/components/PopoverItemMacro.js\n"); + +/***/ }), + +/***/ "./package/macros.button/components/ServerSideMacros.js": +/*!**************************************************************!*\ + !*** ./package/macros.button/components/ServerSideMacros.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_ExtraMacroContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/ExtraMacroContext */ \"./package/macros.button/context/ExtraMacroContext.js\");\n/* harmony import */ var _actions_hooks_useRequestFields__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../actions/hooks/useRequestFields */ \"./package/actions/hooks/useRequestFields.js\");\n\n\nfunction ServerSideMacros(_ref) {\n var children = _ref.children;\n var requestFields = (0,_actions_hooks_useRequestFields__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n return wp.element.createElement(_context_ExtraMacroContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: {\n afterFields: requestFields\n }\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ServerSideMacros);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29tcG9uZW50cy9TZXJ2ZXJTaWRlTWFjcm9zLmpzIiwibWFwcGluZ3MiOiI7Ozs7OztBQUE2RDtBQUNPO0FBRXBFLFNBQVNFLGdCQUFnQkEsQ0FBQUMsSUFBQSxFQUFpQjtFQUFBLElBQWJDLFFBQVEsR0FBQUQsSUFBQSxDQUFSQyxRQUFRO0VBQ3BDLElBQU1DLGFBQWEsR0FBR0osMkVBQWdCLENBQUMsQ0FBQztFQUV4QyxPQUFPSyxFQUFBLENBQUFDLE9BQUEsQ0FBQUMsYUFBQSxDQUFDUixrRUFBaUIsQ0FBQ1MsUUFBUTtJQUFDQyxLQUFLLEVBQUc7TUFBRUMsV0FBVyxFQUFFTjtJQUFjO0VBQUcsR0FDeEVELFFBQ3lCLENBQUM7QUFDOUI7QUFFQSxpRUFBZUYsZ0JBQWdCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3MuYnV0dG9uL2NvbXBvbmVudHMvU2VydmVyU2lkZU1hY3Jvcy5qcz83MzU3Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBFeHRyYU1hY3JvQ29udGV4dCBmcm9tICcuLi9jb250ZXh0L0V4dHJhTWFjcm9Db250ZXh0JztcclxuaW1wb3J0IHVzZVJlcXVlc3RGaWVsZHMgZnJvbSAnLi4vLi4vYWN0aW9ucy9ob29rcy91c2VSZXF1ZXN0RmllbGRzJztcclxuXHJcbmZ1bmN0aW9uIFNlcnZlclNpZGVNYWNyb3MoIHsgY2hpbGRyZW4gfSApIHtcclxuXHRjb25zdCByZXF1ZXN0RmllbGRzID0gdXNlUmVxdWVzdEZpZWxkcygpO1xyXG5cclxuXHRyZXR1cm4gPEV4dHJhTWFjcm9Db250ZXh0LlByb3ZpZGVyIHZhbHVlPXsgeyBhZnRlckZpZWxkczogcmVxdWVzdEZpZWxkcyB9IH0+XHJcblx0XHR7IGNoaWxkcmVuIH1cclxuXHQ8L0V4dHJhTWFjcm9Db250ZXh0LlByb3ZpZGVyPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgU2VydmVyU2lkZU1hY3JvczsiXSwibmFtZXMiOlsiRXh0cmFNYWNyb0NvbnRleHQiLCJ1c2VSZXF1ZXN0RmllbGRzIiwiU2VydmVyU2lkZU1hY3JvcyIsIl9yZWYiLCJjaGlsZHJlbiIsInJlcXVlc3RGaWVsZHMiLCJ3cCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiUHJvdmlkZXIiLCJ2YWx1ZSIsImFmdGVyRmllbGRzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/components/ServerSideMacros.js\n"); + +/***/ }), + +/***/ "./package/macros.button/context/ExtraMacroContext.js": +/*!************************************************************!*\ + !*** ./package/macros.button/context/ExtraMacroContext.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar ExtraMacroContext = createContext([]);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ExtraMacroContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29udGV4dC9FeHRyYU1hY3JvQ29udGV4dC5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFDckIsSUFBTUcsaUJBQWlCLEdBQU1ILGFBQWEsQ0FBRSxFQUFHLENBQUM7QUFFaEQsaUVBQWVHLGlCQUFpQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvbWFjcm9zLmJ1dHRvbi9jb250ZXh0L0V4dHJhTWFjcm9Db250ZXh0LmpzPzNjYTMiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgeyBjcmVhdGVDb250ZXh0IH0gPSB3cC5lbGVtZW50O1xyXG5jb25zdCBFeHRyYU1hY3JvQ29udGV4dCAgICA9IGNyZWF0ZUNvbnRleHQoIFtdICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBFeHRyYU1hY3JvQ29udGV4dDsiXSwibmFtZXMiOlsiY3JlYXRlQ29udGV4dCIsIndwIiwiZWxlbWVudCIsIkV4dHJhTWFjcm9Db250ZXh0Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/context/ExtraMacroContext.js\n"); + +/***/ }), + +/***/ "./package/macros.button/context/PopoverContext.js": +/*!*********************************************************!*\ + !*** ./package/macros.button/context/PopoverContext.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar PopoverContext = createContext(false);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PopoverContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29udGV4dC9Qb3BvdmVyQ29udGV4dC5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFDckIsSUFBTUcsY0FBYyxHQUFNSCxhQUFhLENBQUUsS0FBTSxDQUFDO0FBRWhELGlFQUFlRyxjQUFjIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3MuYnV0dG9uL2NvbnRleHQvUG9wb3ZlckNvbnRleHQuanM/OWE1MyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCB7IGNyZWF0ZUNvbnRleHQgfSA9IHdwLmVsZW1lbnQ7XHJcbmNvbnN0IFBvcG92ZXJDb250ZXh0ICAgID0gY3JlYXRlQ29udGV4dCggZmFsc2UgKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IFBvcG92ZXJDb250ZXh0OyJdLCJuYW1lcyI6WyJjcmVhdGVDb250ZXh0Iiwid3AiLCJlbGVtZW50IiwiUG9wb3ZlckNvbnRleHQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/context/PopoverContext.js\n"); + +/***/ }), + +/***/ "./package/macros.button/context/PopoverItem.js": +/*!******************************************************!*\ + !*** ./package/macros.button/context/PopoverItem.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar PopoverItem = createContext({\n name: ''\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PopoverItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vY29udGV4dC9Qb3BvdmVySXRlbS5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFDckIsSUFBTUcsV0FBVyxHQUFTSCxhQUFhLENBQUU7RUFBRUksSUFBSSxFQUFFO0FBQUcsQ0FBRSxDQUFDO0FBRXZELGlFQUFlRCxXQUFXIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3MuYnV0dG9uL2NvbnRleHQvUG9wb3Zlckl0ZW0uanM/YjVkMSJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCB7IGNyZWF0ZUNvbnRleHQgfSA9IHdwLmVsZW1lbnQ7XHJcbmNvbnN0IFBvcG92ZXJJdGVtICAgICAgID0gY3JlYXRlQ29udGV4dCggeyBuYW1lOiAnJyB9ICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBQb3BvdmVySXRlbTsiXSwibmFtZXMiOlsiY3JlYXRlQ29udGV4dCIsIndwIiwiZWxlbWVudCIsIlBvcG92ZXJJdGVtIiwibmFtZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/context/PopoverItem.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/AddDayFilter.js": +/*!*******************************************************!*\ + !*** ./package/macros.button/filters/AddDayFilter.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction AddDayFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'addDay';\n };\n this.docArgument = Number;\n this.isClientSide = true;\n this.help = __(\"Adds the passed number of days via an argument \\n\\t\\tto a macro that returns a date or a timestamp.\", 'jet-form-builder');\n}\nAddDayFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AddDayFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9BZGREYXlGaWx0ZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBZ0Q7QUFFaEQsSUFDT0MsRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUdULFNBQVNHLFlBQVlBLENBQUEsRUFBRztFQUN2QkosNERBQVUsQ0FBQ0ssSUFBSSxDQUFFLElBQUssQ0FBQztFQUV2QixJQUFJLENBQUNDLFFBQVEsR0FBTztJQUFBLE9BQU0sUUFBUTtFQUFBO0VBQ2xDLElBQUksQ0FBQ0MsV0FBVyxHQUFJQyxNQUFNO0VBQzFCLElBQUksQ0FBQ0MsWUFBWSxHQUFHLElBQUk7RUFFeEIsSUFBSSxDQUFDQyxJQUFJLEdBQUdULEVBQUUsd0dBR2Isa0JBQ0QsQ0FBQztBQUNGO0FBRUFHLFlBQVksQ0FBQ08sU0FBUyxHQUFHQyxNQUFNLENBQUNDLE1BQU0sQ0FBRWIsNERBQVUsQ0FBQ1csU0FBVSxDQUFDO0FBRTlELGlFQUFlUCxZQUFZIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3MuYnV0dG9uL2ZpbHRlcnMvQWRkRGF5RmlsdGVyLmpzP2ZmNWEiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEJhc2VGaWx0ZXIgZnJvbSAnLi4vYWJzdHJhY3QvQmFzZUZpbHRlcic7XHJcblxyXG5jb25zdCB7XHJcblx0ICAgICAgX18sXHJcbiAgICAgIH0gPSB3cC5pMThuO1xyXG5cclxuZnVuY3Rpb24gQWRkRGF5RmlsdGVyKCkge1xyXG5cdEJhc2VGaWx0ZXIuY2FsbCggdGhpcyApO1xyXG5cclxuXHR0aGlzLmZ1bGxOYW1lICAgICA9ICgpID0+ICdhZGREYXknO1xyXG5cdHRoaXMuZG9jQXJndW1lbnQgID0gTnVtYmVyO1xyXG5cdHRoaXMuaXNDbGllbnRTaWRlID0gdHJ1ZTtcclxuXHJcblx0dGhpcy5oZWxwID0gX18oXHJcblx0XHRgQWRkcyB0aGUgcGFzc2VkIG51bWJlciBvZiBkYXlzIHZpYSBhbiBhcmd1bWVudCBcclxuXHRcdHRvIGEgbWFjcm8gdGhhdCByZXR1cm5zIGEgZGF0ZSBvciBhIHRpbWVzdGFtcC5gLFxyXG5cdFx0J2pldC1mb3JtLWJ1aWxkZXInLFxyXG5cdCk7XHJcbn1cclxuXHJcbkFkZERheUZpbHRlci5wcm90b3R5cGUgPSBPYmplY3QuY3JlYXRlKCBCYXNlRmlsdGVyLnByb3RvdHlwZSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWRkRGF5RmlsdGVyOyJdLCJuYW1lcyI6WyJCYXNlRmlsdGVyIiwiX18iLCJ3cCIsImkxOG4iLCJBZGREYXlGaWx0ZXIiLCJjYWxsIiwiZnVsbE5hbWUiLCJkb2NBcmd1bWVudCIsIk51bWJlciIsImlzQ2xpZW50U2lkZSIsImhlbHAiLCJwcm90b3R5cGUiLCJPYmplY3QiLCJjcmVhdGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/filters/AddDayFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/AddMonthFilter.js": +/*!*********************************************************!*\ + !*** ./package/macros.button/filters/AddMonthFilter.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction AddMonthFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'addMonth';\n };\n this.docArgument = Number;\n this.isClientSide = true;\n this.help = __(\"Adds the passed number of months via an argument \\n\\t\\tto a macro that returns a date or a timestamp.\", 'jet-form-builder');\n}\nAddMonthFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AddMonthFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9BZGRNb250aEZpbHRlci5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFnRDtBQUVoRCxJQUNPQyxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBR1QsU0FBU0csY0FBY0EsQ0FBQSxFQUFHO0VBQ3pCSiw0REFBVSxDQUFDSyxJQUFJLENBQUUsSUFBSyxDQUFDO0VBRXZCLElBQUksQ0FBQ0MsUUFBUSxHQUFPO0lBQUEsT0FBTSxVQUFVO0VBQUE7RUFDcEMsSUFBSSxDQUFDQyxXQUFXLEdBQUlDLE1BQU07RUFDMUIsSUFBSSxDQUFDQyxZQUFZLEdBQUcsSUFBS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udGhGaWx0ZXI7Il0sIm5hbWVzIjpbIkJhc2VGaWx0ZXIiLCJfXyIsIndwIiwiaTE4biIsIkFkZE1vbnRoRmlsdGVyIiwiY2FsbCIsImZ1bGxOYW1lIiwiZG9jQXJndW1lbnQiLCJOdW1iZXIiLCJpc0NsaWVudFNpZGUiLCJoZWxwIiwicHJvdG90eXBlIiwiT2JqZWN0IiwiY3JlYXRlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/filters/AddMonthFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/AddYearFilter.js": +/*!********************************************************!*\ + !*** ./package/macros.button/filters/AddYearFilter.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction AddYearFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'addYear';\n };\n this.docArgument = Number;\n this.isClientSide = true;\n this.help = __(\"Adds the passed number of years through an argument \\n\\t\\tto a macro that returns a date or a timestamp.\", 'jet-form-builder');\n}\nAddYearFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AddYearFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9BZGRZZWFyRmls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FxyXG5cdFx0YEFkZHMgdGhlIHBhc3NlZCBudW1iZXIgb2YgeWVhcnMgdGhyb3VnaCBhbiBhcmd1bWVudCBcclxuXHRcdHRvIGEgbWFjcm8gdGhhdCByZXR1cm5zIGEgZGF0ZSBvciBhIHRpbWVzdGFtcC5gLFxyXG5cdFx0J2pldC1mb3JtLWJ1aWxkZXInLFxyXG5cdCk7XHJcbn1cclxuXHJcbkFkZFllYXJGaWx0ZXIucHJvdG90eXBlID0gT2JqZWN0LmNyZWF0ZSggQmFzZUZpbHRlci5wcm90b3R5cGUgKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IEFkZFllYXJGaWx0ZXI7Il0sIm5hbWVzIjpbIkJhc2VGaWx0ZXIiLCJfXyIsIndwIiwiaTE4biIsIkFkZFllYXJGaWx0ZXIiLCJjYWxsIiwiZnVsbE5hbWUiLCJkb2NBcmd1bWVudCIsIk51bWJlciIsImlzQ2xpZW50U2lkZSIsImhlbHAiLCJwcm90b3R5cGUiLCJPYmplY3QiLCJjcmVhdGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/filters/AddYearFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/FallbackFilter.js": +/*!*********************************************************!*\ + !*** ./package/macros.button/filters/FallbackFilter.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction FallbackFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'ifEmpty';\n };\n this.docArgument = 'any';\n this.isClientSide = true;\n this.help = __(\"If the macro returns an empty value, \\n\\t\\tthen the filter returns the value passed in the argument\", 'jet-form-builder');\n}\nFallbackFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FallbackFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9GYWxsYmFja0ZpbHRlci5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFnRDtBQUVoRCxJQUNPQyxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBR1QsU0FBU0csY0FBY0EsQ0FBQSxFQUFHO0VBQ3pCSiw0REFBVSxDQUFDSyxJQUFJLENBQUUsSUFBSyxDQUFDO0VBRXZCLElBQUksQ0FBQ0MsUUFBUSxHQUFPO0lBQUEsT0FBTSxTQUFTO0VBQUE7RUFDbkMsSUFBSSxDQUFDQyxXQUFXLEdBQUksS0FBSztFQUN6QixJQUFJLENBQUNDLFlBQVksR0FBRyxJQUFJO0VBRXhCLElBQUksQ0FBQ0MsSUFBSSxHQUFHUixFQUFFLHdHQUdiLGtCQUNELENBQUM7QUFDRjtBQUVBRyxjQUFjLENBQUNNLFNBQVMsR0FBR0MsTUFBTSxDQUFDQyxNQUFNLENBQUVaLDREQUFVLENBQUNVLFNBQVUsQ0FBQztBQUVoRSxpRUFBZU4sY0FBYyIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvbWFjcm9zLmJ1dHRvbi9maWx0ZXJzL0ZhbGxiYWNrRmlsdGVyLmpzP2IxNjgiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEJhc2VGaWx0ZXIgZnJvbSAnLi4vYWJzdHJhY3QvQmFzZUZpbHRlcic7XHJcblxyXG5jb25zdCB7XHJcblx0ICAgICAgX18sXHJcbiAgICAgIH0gPSB3cC5pMThuO1xyXG5cclxuZnVuY3Rpb24gRmFsbGJhY2tGaWx0ZXIoKSB7XHJcblx0QmFzZUZpbHRlci5jYWxsKCB0aGlzICk7XHJcblxyXG5cdHRoaXMuZnVsbE5hbWUgICAgID0gKCkgPT4gJ2lmRW1wdHknO1xyXG5cdHRoaXMuZG9jQXJndW1lbnQgID0gJ2FueSc7XHJcblx0dGhpcy5pc0NsaWVudFNpZGUgPSB0cnVlO1xyXG5cclxuXHR0aGlzLmhlbHAgPSBfXyhcclxuXHRcdGBJZiB0aGUgbWFjcm8gcmV0dXJucyBhbiBlbXB0eSB2YWx1ZSwgXHJcblx0XHR0aGVuIHRoZSBmaWx0ZXIgcmV0dXJucyB0aGUgdmFsdWUgcGFzc2VkIGluIHRoZSBhcmd1bWVudGAsXHJcblx0XHQnamV0LWZvcm0tYnVpbGRlcicsXHJcblx0KTtcclxufVxyXG5cclxuRmFsbGJhY2tGaWx0ZXIucHJvdG90eXBlID0gT2JqZWN0LmNyZWF0ZSggQmFzZUZpbHRlci5wcm90b3R5cGUgKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IEZhbGxiYWNrRmlsdGVyOyJdLCJuYW1lcyI6WyJCYXNlRmlsdGVyIiwiX18iLCJ3cCIsImkxOG4iLCJGYWxsYmFja0ZpbHRlciIsImNhbGwiLCJmdWxsTmFtZSIsImRvY0FyZ3VtZW50IiwiaXNDbGllbnRTaWRlIiwiaGVscCIsInByb3RvdHlwZSIsIk9iamVjdCIsImNyZWF0ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/filters/FallbackFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/LengthFilter.js": +/*!*******************************************************!*\ + !*** ./package/macros.button/filters/LengthFilter.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction LengthFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'length';\n };\n this.isClientSide = true;\n this.help = __(\"Returns the length of a string or array\", 'jet-form-builder');\n}\nLengthFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (LengthFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9MZW5ndGhGaWx0ZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBZ0Q7QUFFaEQsSUFDT0MsRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUdULFNBQVNHLFlBQVlBLENBQUEsRUFBRztFQUN2QkosNERBQVUsQ0FBQ0ssSUFBSSxDQUFFLElBQUssQ0FBQztFQUV2QixJQUFJLENBQUNDLFFBQVEsR0FBTztJQUFBLE9BQU0sUUFBUTtFQUFBO0VBQ2xDLElBQUksQ0FBQ0MsWUFBWSxHQUFHLElBQUk7RUFFeEIsSUFBSSxDQUFDQyxJQUFJLEdBQUdQLEVBQUUsNENBRWIsa0JBQ0QsQ0FBQztBQUNGO0FBRUFHLFlBQVksQ0FBQ0ssU0FBUyxHQUFHQyxNQUFNLENBQUNDLE1BQU0sQ0FBRVgsNERBQVUsQ0FBQ1MsU0FBVSxDQUFDO0FBRTlELGlFQUFlTCxZQUFZIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3MuYnV0dG9uL2ZpbHRlcnMvTGVuZ3RoRmlsdGVyLmpzP2RkYTYiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEJhc2VGaWx0ZXIgZnJvbSAnLi4vYWJzdHJhY3QvQmFzZUZpbHRlcic7XHJcblxyXG5jb25zdCB7XHJcblx0ICAgICAgX18sXHJcbiAgICAgIH0gPSB3cC5pMThuO1xyXG5cclxuZnVuY3Rpb24gTGVuZ3RoRmlsdGVyKCkge1xyXG5cdEJhc2VGaWx0ZXIuY2FsbCggdGhpcyApO1xyXG5cclxuXHR0aGlzLmZ1bGxOYW1lICAgICA9ICgpID0+ICdsZW5ndGgnO1xyXG5cdHRoaXMuaXNDbGllbnRTaWRlID0gdHJ1ZTtcclxuXHJcblx0dGhpcy5oZWxwID0gX18oXHJcblx0XHRgUmV0dXJucyB0aGUgbGVuZ3RoIG9mIGEgc3RyaW5nIG9yIGFycmF5YCxcclxuXHRcdCdqZXQtZm9ybS1idWlsZGVyJyxcclxuXHQpO1xyXG59XHJcblxyXG5MZW5ndGhGaWx0ZXIucHJvdG90eXBlID0gT2JqZWN0LmNyZWF0ZSggQmFzZUZpbHRlci5wcm90b3R5cGUgKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IExlbmd0aEZpbHRlcjsiXSwibmFtZXMiOlsiQmFzZUZpbHRlciIsIl9fIiwid3AiLCJpMThuIiwiTGVuZ3RoRmlsdGVyIiwiY2FsbCIsImZ1bGxOYW1lIiwiaXNDbGllbnRTaWRlIiwiaGVscCIsInByb3RvdHlwZSIsIk9iamVjdCIsImNyZWF0ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/filters/LengthFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/SubtractDayFilter.js": +/*!************************************************************!*\ + !*** ./package/macros.button/filters/SubtractDayFilter.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction SubtractDayFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'subDay';\n };\n this.docArgument = Number;\n this.isClientSide = true;\n this.help = __(\"Subtracts the number of days by argument\\nfrom a macro that returns a date or timestamp.\", 'jet-form-builder');\n}\nSubtractDayFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SubtractDayFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9TdWJ0cmFjdERheUZpbHRlci5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFnRDtBQUVoRCxJQUNPQyxFQUFFLEdBQ0NDLEVBQUUsQ0FBQ0MsSUFBSSxDQURWRixFQUFFO0FBR1QsU0FBU0csaUJBQWlCQSxDQUFBLEVBQUc7RUFDNUJKLDREQUFVLENBQUNLLElBQUksQ0FBRSxJQUFLLENBQUM7RUFFdkIsSUFBSSxDQUFDQyxRQUFRLEdBQU87SUFBQSxPQUFNLFFBQVE7RUFBQTtFQUNsQyxJQUFJLENBQUNDLFdBQVcsR0FBSUMsT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dHlwZSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgU3VidHJhY3REYXlGaWx0ZXI7Il0sIm5hbWVzIjpbIkJhc2VGaWx0ZXIiLCJfXyIsIndwIiwiaTE4biIsIlN1YnRyYWN0RGF5RmlsdGVyIiwiY2FsbCIsImZ1bGxOYW1lIiwiZG9jQXJndW1lbnQiLCJOdW1iZXIiLCJpc0NsaWVudFNpZGUiLCJoZWxwIiwicHJvdG90eXBlIiwiT2JqZWN0IiwiY3JlYXRlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/filters/SubtractDayFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/SubtractMonthFilter.js": +/*!**************************************************************!*\ + !*** ./package/macros.button/filters/SubtractMonthFilter.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction SubtractMonthFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'subMonth';\n };\n this.docArgument = Number;\n this.isClientSide = true;\n this.help = __(\"Subtracts the number of months by argument\\nfrom a macro that returns a date or timestamp.\", 'jet-form-builder');\n}\nSubtractMonthFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SubtractMonthFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjoz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blx0dGhpcy5kb2NBcmd1bWVudCAgPSBOdW1iZXI7XHJcblx0dGhpcy5pc0NsaWVudFNpZGUgPSB0cnVlO1xyXG5cclxuXHR0aGlzLmhlbHAgPSBfXyhcclxuXHRcdGBTdWJ0cmFjdHMgdGhlIG51bWJlciBvZiBtb250aHMgYnkgYXJndW1lbnRcclxuZnJvbSBhIG1hY3JvIHRoYXQgcmV0dXJucyBhIGRhdGUgb3IgdGltZXN0YW1wLmAsXHJcblx0XHQnamV0LWZvcm0tYnVpbGRlcicsXHJcblx0KTtcclxufVxyXG5cclxuU3VidHJhY3RNb250aEZpbHRlci5wcm90b3R5cGUgPSBPYmplY3QuY3JlYXRlKCBCYXNlRmlsdGVyLnByb3RvdHlwZSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgU3VidHJhY3RNb250aEZpbHRlcjsiXSwibmFtZXMiOlsiQmFzZUZpbHRlciIsIl9fIiwid3AiLCJpMThuIiwiU3VidHJhY3RNb250aEZpbHRlciIsImNhbGwiLCJmdWxsTmFtZSIsImRvY0FyZ3VtZW50IiwiTnVtYmVyIiwiaXNDbGllbnRTaWRlIiwiaGVscCIsInByb3RvdHlwZSIsIk9iamVjdCIsImNyZWF0ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/filters/SubtractMonthFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/SubtractYearFilter.js": +/*!*************************************************************!*\ + !*** ./package/macros.button/filters/SubtractYearFilter.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction SubtractYearFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'subYear';\n };\n this.docArgument = Number;\n this.isClientSide = true;\n this.help = __(\"Subtracts the number of years by argument\\nfrom a macro that returns a date or timestamp.\", 'jet-form-builder');\n}\nSubtractYearFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SubtractYearFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9TdWJ0cmFjdFllYXJGaWx0ZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBZ0Q7QUFFaEQsSUFDT0MsRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUdULFNBQVNHLGtCQUFrQkEsQ0FBQSxFQUFHO0VBQzdCSiw0REFBVSxDQUFDSyxJQUFJLENBQUUsSUFBSyxDQUFDO0VBRXZCLElBQUksQ0FBQ0MsUUFBUSxHQUFPO0lBQUEsT0FBTSxTQUFTO0VBQUE7RUFDbkMsSUFBSSxDQUFDQyxXQUFXLEdBQUlDLE1BQU07RUFDMUIsSUFBSSxDQUFDQyxZQUFZLEdBQUcsSUFBSTtFQUV4QixJQUFJLENBQUNDLElBQUksR0FBR1QsRUFBRSw4RkFHYixrQkFDRCxDQUFDO0FBQ0Y7QUFFQUcsa0JBQWtCLENBQUNPLFNBQVMsR0FBR0MsTUFBTSxDQUFDQyxNQUFNLENBQUViLDREQUFVLENBQUNXLFNBQVUsQ0FBQztBQUVwRSxpRUFBZVAsa0JBQWtCIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3M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# sourceURL=webpack-internal:///./package/macros.button/filters/SubtractYearFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/ToDateFilter.js": +/*!*******************************************************!*\ + !*** ./package/macros.button/filters/ToDateFilter.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction ToDateFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'toDate';\n };\n this.isClientSide = true;\n this.help = function () {\n return wp.element.createElement(React.Fragment, null, __(\"Gets the timestamp from the macro and formats it according \\n\\t\\tto the format of the Date Field.\", 'jet-form-builder'), wp.element.createElement(\"hr\", null), __('Example:', 'jet-form-builder') + ' ', wp.element.createElement(\"code\", null, \"2022-02-24\"));\n };\n}\nToDateFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToDateFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9Ub0RhdGVGaWx0ZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBZ0Q7QUFFaEQsSUFDT0MsRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUdULFNBQVNHLFlBQVlBLENBQUEsRUFBRztFQUN2QkosNERBQV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xpZW50U2lkZSA9IHRydWU7XHJcblxyXG5cdHRoaXMuaGVscCA9ICgpID0+IDw+XHJcblx0XHR7IF9fKFxyXG5cdFx0XHRgR2V0cyB0aGUgdGltZXN0YW1wIGZyb20gdGhlIG1hY3JvIGFuZCBmb3JtYXRzIGl0IGFjY29yZGluZyBcclxuXHRcdHRvIHRoZSBmb3JtYXQgb2YgdGhlIERhdGUgRmllbGQuYCxcclxuXHRcdFx0J2pldC1mb3JtLWJ1aWxkZXInLFxyXG5cdFx0KSB9XHJcblx0XHQ8aHIvPlxyXG5cdFx0eyBfXyggJ0V4YW1wbGU6JywgJ2pldC1mb3JtLWJ1aWxkZXInICkgKyAnICcgfVxyXG5cdFx0PGNvZGU+MjAyMi0wMi0yNDwvY29kZT5cclxuXHQ8Lz47XHJcbn1cclxuXHJcblRvRGF0ZUZpbHRlci5wcm90b3R5cGUgPSBPYmplY3QuY3JlYXRlKCBCYXNlRmlsdGVyLnByb3RvdHlwZSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgVG9EYXRlRmlsdGVyOyJdLCJuYW1lcyI6WyJCYXNlRmlsdGVyIiwiX18iLCJ3cCIsImkxOG4iLCJUb0RhdGVGaWx0ZXIiLCJjYWxsIiwiZnVsbE5hbWUiLCJpc0NsaWVudFNpZGUiLCJoZWxwIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50IiwicHJvdG90eXBlIiwiT2JqZWN0IiwiY3JlYXRlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/filters/ToDateFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/ToDateTimeFilter.js": +/*!***********************************************************!*\ + !*** ./package/macros.button/filters/ToDateTimeFilter.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction ToDateTimeFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'toDateTime';\n };\n this.isClientSide = true;\n this.help = function () {\n return wp.element.createElement(React.Fragment, null, __(\"Gets the timestamp from the macro and formats it according \\n\\t\\tto the format of the Datetime Field.\", 'jet-form-builder'), wp.element.createElement(\"hr\", null), __('Example:', 'jet-form-builder') + ' ', wp.element.createElement(\"code\", null, \"2022-02-24T04:25\"));\n };\n}\nToDateTimeFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToDateTimeFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9Ub0RhdGVUaW1lRmlsdGVyLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQWdEO0FBRWhELElBQ09DLEVBQUUsR0FDQ0MsRUFBRSxDQUFDQyxJQUFJLENBRFZGLEVBQUU7QUFHVCxTQUFTRyxnQkFBZ0JBLENBQUEsRUFBRztFQUMzQkosNERBQVUsQ0FBQ0ssSUFBSSxDQUFFLElBQUssQ0FBQztFQUV2QixJQUFJLENBQUNDLFFBQVEsR0FBTztJQUFBLE9BQU0sWUFBWTtFQUFBO0VBQ3RDLElBQUksQ0FBQ0MsWUFBWSxHQUFHLElBQUk7RUFFeEIsSUFBSSxDQUFDQyxJQUFJLEdBQUc7SUFBQSxPQUFNTixFQUFBLENB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nIFxyXG5cdFx0dG8gdGhlIGZvcm1hdCBvZiB0aGUgRGF0ZXRpbWUgRmllbGQuYCxcclxuXHRcdFx0J2pldC1mb3JtLWJ1aWxkZXInLFxyXG5cdFx0KSB9XHJcblx0XHQ8aHIvPlxyXG5cdFx0eyBfXyggJ0V4YW1wbGU6JywgJ2pldC1mb3JtLWJ1aWxkZXInICkgKyAnICcgfVxyXG5cdFx0PGNvZGU+MjAyMi0wMi0yNFQwNDoyNTwvY29kZT5cclxuXHQ8Lz47XHJcbn1cclxuXHJcblRvRGF0ZVRpbWVGaWx0ZXIucHJvdG90eXBlID0gT2JqZWN0LmNyZWF0ZSggQmFzZUZpbHRlci5wcm90b3R5cGUgKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IFRvRGF0ZVRpbWVGaWx0ZXI7Il0sIm5hbWVzIjpbIkJhc2VGaWx0ZXIiLCJfXyIsIndwIiwiaTE4biIsIlRvRGF0ZVRpbWVGaWx0ZXIiLCJjYWxsIiwiZnVsbE5hbWUiLCJpc0NsaWVudFNpZGUiLCJoZWxwIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50IiwicHJvdG90eXBlIiwiT2JqZWN0IiwiY3JlYXRlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/filters/ToDateTimeFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/filters/ToTimeFilter.js": +/*!*******************************************************!*\ + !*** ./package/macros.button/filters/ToTimeFilter.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseFilter */ \"./package/macros.button/abstract/BaseFilter.js\");\n\nvar __ = wp.i18n.__;\nfunction ToTimeFilter() {\n _abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.fullName = function () {\n return 'toTime';\n };\n this.isClientSide = true;\n this.help = function () {\n return wp.element.createElement(React.Fragment, null, __(\"Gets the timestamp from the macro and formats it according \\n\\t\\tto the format of the Time Field.\", 'jet-form-builder'), wp.element.createElement(\"hr\", null), __('Example:', 'jet-form-builder') + ' ', wp.element.createElement(\"code\", null, \"04:25\"));\n };\n}\nToTimeFilter.prototype = Object.create(_abstract_BaseFilter__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ToTimeFilter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vZmlsdGVycy9Ub1RpbWVGaWx0ZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBZ0Q7QUFFaEQsSUFDT0MsRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUdULFNBQVNHLFlBQVlBLENBQUEsRUFBRztFQUN2QkosNERBQVUsQ0FBQ0ssSUFBSSxDQUFFLElBQUssQ0FBQztFQUV2QixJQUFJLENBQUNDLFFBQVEsR0FBTztJQUFBLE9BQU0sUUFBUTtFQUFBO0VBQ2xDLElBQUksQ0FBQ0MsWUFBWSxHQUFHLElBQUk7RUFFeEIsSUFBSSxDQUFDQyxJQUFJLEdBQUc7SUFBQSxPQUFNTixFQUFBLENBQUFPLE9BQUEsQ0FBQUMsYUFBQSxDQUFBQyxLQUFBLENBQUFDLFFBQUEsUUFDZlgsRUFBRSxzR0FHSCxrQkFDRCxDQUFDLEVBQ0RDLEVBQUEsQ0FBQU8sT0FBQSxDQUFBQyxhQUFBLFdBQUksQ0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GRlcicgKSArICcgJyB9XHJcblx0XHQ8Y29kZT4wNDoyNTwvY29kZT5cclxuXHQ8Lz47XHJcbn1cclxuXHJcblRvVGltZUZpbHRlci5wcm90b3R5cGUgPSBPYmplY3QuY3JlYXRlKCBCYXNlRmlsdGVyLnByb3RvdHlwZSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgVG9UaW1lRmlsdGVyOyJdLCJuYW1lcyI6WyJCYXNlRmlsdGVyIiwiX18iLCJ3cCIsImkxOG4iLCJUb1RpbWVGaWx0ZXIiLCJjYWxsIiwiZnVsbE5hbWUiLCJpc0NsaWVudFNpZGUiLCJoZWxwIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50IiwicHJvdG90eXBlIiwiT2JqZWN0IiwiY3JlYXRlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/filters/ToTimeFilter.js\n"); + +/***/ }), + +/***/ "./package/macros.button/functions.js": +/*!********************************************!*\ + !*** ./package/macros.button/functions.js ***! + \********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ insertMacro: () => (/* binding */ insertMacro)\n/* harmony export */ });\n/**\r\n * @param initial {String}\r\n * @param name {String}\r\n * @param nodeElement {HTMLInputElement}\r\n */\nfunction insertMacro(initial, name, nodeElement) {\n var _initial;\n var start = nodeElement.selectionStart,\n end = nodeElement.selectionEnd;\n initial = (_initial = initial) !== null && _initial !== void 0 ? _initial : '';\n var startString = initial.slice(0, start),\n endString = initial.slice(end);\n startString = startString + name;\n setTimeout(function () {\n nodeElement.focus();\n nodeElement.selectionStart = startString.length;\n nodeElement.selectionEnd = startString.length;\n });\n return startString + endString;\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9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ic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/functions.js\n"); + +/***/ }), + +/***/ "./package/macros.button/hooks/useInsertMacro.js": +/*!*******************************************************!*\ + !*** ./package/macros.button/hooks/useInsertMacro.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _functions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../functions */ \"./package/macros.button/functions.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar useRef = wp.element.useRef;\nfunction useInsertMacro(attrName) {\n var _attributes$attrName;\n var _useBlockAttributes = (0,_blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n updateAttributes = _useBlockAttributes2[1];\n var initial = (_attributes$attrName = attributes[attrName]) !== null && _attributes$attrName !== void 0 ? _attributes$attrName : '';\n var input = useRef();\n var update = function update(macro) {\n updateAttributes(_defineProperty({}, attrName, (0,_functions__WEBPACK_IMPORTED_MODULE_1__.insertMacro)(initial, macro, input.current)));\n };\n return [input, update];\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useInsertMacro);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vaG9va3MvdXNlSW5zZXJ0TWFjcm8uanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUF1RTtBQUM1QjtBQUUzQyxJQUNPRSxNQUFNLEdBQ0hDLEVBQUUsQ0FBQ0MsT0FBTyxDQURiRixNQUFNO0FBR2IsU0FBU0csY0FBY0EsQ0FBRUMsUUFBUSxFQUFHO0VBQUEsSUFBQUMsb0JBQUE7RUFDbkMsSUFBQUMsbUJBQUEsR0FBeUNSLDRFQUFrQixDQUFDLENBQUM7SUFBQVMsb0JBQUEsR0FBQUMsY0FBQSxDQUFBRixtQkFBQTtJQUFyREcsVUFBVSxHQUFBRixvQkFBQTtJQUFFRyxnQkFBZ0IsR0FBQUgsb0JBQUE7RUFFcEMsSUFBTUksT0FBTyxJQUFBTixvQkFBQSxHQUFHSSxVQUFVLENBQUVMLFFBQVEsQ0FBRSxjQUFBQyxvQkFBQSxjQUFBQSxvQkFBQSxHQUFJLEVBQUU7RUFFNUMsSUFBTU8sS0FBSyxHQUFJWixNQUFNLENBQUMsQ0FBQztFQUN2QixJQUFNYSxNQUFNLEdBQUcsU0FBVEEsTUFBTUEsQ0FBR0MsS0FBSyxFQUFJO0lBQ3ZCSixnQkFBZ0IsQ0FBQUssZUFBQSxLQUNiWCxRQUFRLEVBQUlMLHVEQUFXLENBQUVZLE9BQU8sRUFBRUcsS0FBSyxFQUFFRixLQUFLLENBQUNJLE9BQVEsQ0FBQyxDQUN6RCxDQUFDO0VBQ0osQ0FBQztFQUVELE9BQU8sQ0FBRUosS0FBSyxFQUFFQyxNQUFN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QiLCJ1c2VJbnNlcnRNYWNybyIsImF0dHJOYW1lIiwiX2F0dHJpYnV0ZXMkYXR0ck5hbWUiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzIiwiX3VzZUJsb2NrQXR0cmlidXRlczIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJ1cGRhdGVBdHRyaWJ1dGVzIiwiaW5pdGlhbCIsImlucHV0IiwidXBkYXRlIiwibWFjcm8iLCJfZGVmaW5lUHJvcGVydHkiLCJjdXJyZW50Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/hooks/useInsertMacro.js\n"); + +/***/ }), + +/***/ "./package/macros.button/macros/CurrentDateMacro.js": +/*!**********************************************************!*\ + !*** ./package/macros.button/macros/CurrentDateMacro.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseMacro */ \"./package/macros.button/abstract/BaseMacro.js\");\n\nvar __ = wp.i18n.__;\nfunction CurrentDateMacro() {\n _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.name = 'CurrentDate';\n this.isClientSide = true;\n this.fullHelp = function () {\n return wp.element.createElement(React.Fragment, null, __('Returns the current timestamp. Replacing', 'jet-form-builder'), ' ', wp.element.createElement(\"code\", null, \"Date.now()\"));\n };\n}\nCurrentDateMacro.prototype = Object.create(_abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CurrentDateMacro);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset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gQ3VycmVudERhdGVNYWNybygpIHtcclxuXHRCYXNlTWFjcm8uY2FsbCggdGhpcyApO1xyXG5cclxuXHR0aGlzLm5hbWUgICAgICAgICA9ICdDdXJyZW50RGF0ZSc7XHJcblx0dGhpcy5pc0NsaWVudFNpZGUgPSB0cnVlO1xyXG5cclxuXHR0aGlzLmZ1bGxIZWxwID0gKCkgPT4gPD5cclxuXHRcdHsgX18oICdSZXR1cm5zIHRoZSBjdXJyZW50IHRpbWVzdGFtcC4gUmVwbGFjaW5nJywgJ2pldC1mb3JtLWJ1aWxkZXInICkgfVxyXG5cdFx0eyAnICcgfVxyXG5cdFx0PGNvZGU+RGF0ZS5ub3coKTwvY29kZT5cclxuXHQ8Lz47XHJcbn1cclxuXHJcbkN1cnJlbnREYXRlTWFjcm8ucHJvdG90eXBlID0gT2JqZWN0LmNyZWF0ZSggQmFzZU1hY3JvLnByb3RvdHlwZSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgQ3VycmVudERhdGVNYWNybzsiXSwibmFtZXMiOlsiQmFzZU1hY3JvIiwiX18iLCJ3cCIsImkxOG4iLCJDdXJyZW50RGF0ZU1hY3JvIiwiY2FsbCIsIm5hbWUiLCJpc0NsaWVudFNpZGUiLCJmdWxsSGVscCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiUmVhY3QiLCJGcmFnbWVudCIsInByb3RvdHlwZSIsIk9iamVjdCIsImNyZWF0ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/macros/CurrentDateMacro.js\n"); + +/***/ }), + +/***/ "./package/macros.button/macros/DayInSecMacro.js": +/*!*******************************************************!*\ + !*** ./package/macros.button/macros/DayInSecMacro.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseMacro */ \"./package/macros.button/abstract/BaseMacro.js\");\n\nvar __ = wp.i18n.__;\nfunction DayInSecMacro() {\n _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.name = 'Day_In_Sec';\n this.isClientSide = true;\n this.help = __('Number of milliseconds in one day', 'jet-form-builder');\n}\nDayInSecMacro.prototype = Object.create(_abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DayInSecMacro);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vbWFjcm9zL0RheUluU2VjTWFjcm8uanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBOEM7QUFFOUMsSUFBUUMsRUFBRSxHQUFLQyxFQUFFLENBQUNDLElBQUksQ0FBZEYsRUFBRTtBQUVWLFNBQVNHLGFBQWFBLENBQUEsRUFBRztFQUN4QkosMkRBQVMsQ0FBQ0ssSUFBSSxDQUFFLElBQUssQ0FBQztFQUV0QixJQUFJLENBQUNDLElBQUksR0FBVyxZQUFZO0VBQ2hDLElBQUksQ0FBQ0MsWUFBWSxHQUFHLElBQUk7RUFFeEIsSUFBSSxDQUFDQyxJQUFJLEdBQUdQLEVBQUUsQ0FBRSxtQ0FBbUMsRUFBRSxrQkFBbUIsQ0FBQztBQUMxRTtBQUVBRyxhQUFhLENBQUNLLFNBQVMsR0FBR0MsTUFBTSxDQUFDQyxNQUFNLENBQUVYLDJEQUFTLENBQUNTLFNBQVUsQ0FBQztBQUU5RCxpRUFBZUwsYUFBYSIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvbWFjcm9zLmJ1dHRvbi9tYWNyb3MvRGF5SW5TZWNNYWNyby5qcz85NGQ3Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBCYXNlTWFjcm8gZnJvbSAnLi4vYWJzdHJhY3QvQmFzZU1hY3JvJztcclxuXHJcbmNvbnN0IHsgX18gfSA9IHdwLmkxOG47XHJcblxyXG5mdW5jdGlvbiBEYXlJblNlY01hY3JvKCkge1xyXG5cdEJhc2VNYWNyby5jYWxsKCB0aGlzICk7XHJcblxyXG5cdHRoaXMubmFtZSAgICAgICAgID0gJ0RheV9Jbl9TZWMnO1xyXG5cdHRoaXMuaXNDbGllbnRTaWRlID0gdHJ1ZTtcclxuXHJcblx0dGhpcy5oZWxwID0gX18oICdOdW1iZXIgb2YgbWlsbGlzZWNvbmRzIGluIG9uZSBkYXknLCAnamV0LWZvcm0tYnVpbGRlcicgKTtcclxufVxyXG5cclxuRGF5SW5TZWNNYWNyby5wcm90b3R5cGUgPSBPYmplY3QuY3JlYXRlKCBCYXNlTWFjcm8ucHJvdG90eXBlICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBEYXlJblNlY01hY3JvOyJdLCJuYW1lcyI6WyJCYXNlTWFjcm8iLCJfXyIsIndwIiwiaTE4biIsIkRheUluU2VjTWFjcm8iLCJjYWxsIiwibmFtZSIsImlzQ2xpZW50U2lkZSIsImhlbHAiLCJwcm90b3R5cGUiLCJPYmplY3QiLCJjcmVhdGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/macros/DayInSecMacro.js\n"); + +/***/ }), + +/***/ "./package/macros.button/macros/MinInSecMacro.js": +/*!*******************************************************!*\ + !*** ./package/macros.button/macros/MinInSecMacro.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseMacro */ \"./package/macros.button/abstract/BaseMacro.js\");\n\nvar __ = wp.i18n.__;\nfunction MinInSecMacro() {\n _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.name = 'Min_In_Sec';\n this.isClientSide = true;\n this.help = __('Number of milliseconds in one minute', 'jet-form-builder');\n}\nMinInSecMacro.prototype = Object.create(_abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MinInSecMacro);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vbWFjcm9zL01pbkluU2VjTWFjcm8uanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBOEM7QUFFOUMsSUFBUUMsRUFBRSxHQUFLQyxFQUFFLENBQUNDLElBQUksQ0FBZEYsRUFBRTtBQUVWLFNBQVNHLGFBQWFBLENBQUEsRUFBRztFQUN4QkosMkRBQVMsQ0FBQ0ssSUFBSSxDQUFFLElBQUssQ0FBQztFQUV0QixJQUFJLENBQUNDLElBQUksR0FBVyxZQUFZO0VBQ2hDLElBQUksQ0FBQ0MsWUFBWSxHQUFHLElBQUk7RUFFeEIsSUFBSSxDQUFDQyxJQUFJLEdBQUdQLEVBQUUsQ0FDYixzQ0FBc0MsRUFDdEMsa0JBQ0QsQ0FBQztBQUNGO0FBRUFHLGFBQWEsQ0FBQ0ssU0FBUyxHQUFHQyxNQUFNLENBQUNDLE1BQU0sQ0FBRVgsMkRBQVMsQ0FBQ1MsU0FBVSxDQUFDO0FBRTlELGlFQUFlTCxhQUFhIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3MuYnV0dG9uL21hY3Jvcy9NaW5JblNlY01hY3JvLmpzPzZlNjUiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEJhc2VNYWNybyBmcm9tICcuLi9hYnN0cmFjdC9CYXNlTWFjcm8nO1xyXG5cclxuY29uc3QgeyBfXyB9ID0gd3AuaTE4bjtcclxuXHJcbmZ1bmN0aW9uIE1pbkluU2VjTWFjcm8oKSB7XHJcblx0QmFzZU1hY3JvLmNhbGwoIHRoaXMgKTtcclxuXHJcblx0dGhpcy5uYW1lICAgICAgICAgPSAnTWluX0luX1NlYyc7XHJcblx0dGhpcy5pc0NsaWVudFNpZGUgPSB0cnVlO1xyXG5cclxuXHR0aGlzLmhlbHAgPSBfXyhcclxuXHRcdCdOdW1iZXIgb2YgbWlsbGlzZWNvbmRzIGluIG9uZSBtaW51dGUnLFxyXG5cdFx0J2pldC1mb3JtLWJ1aWxkZXInLFxyXG5cdCk7XHJcbn1cclxuXHJcbk1pbkluU2VjTWFjcm8ucHJvdG90eXBlID0gT2JqZWN0LmNyZWF0ZSggQmFzZU1hY3JvLnByb3RvdHlwZSApO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgTWluSW5TZWNNYWNybzsiXSwibmFtZXMiOlsiQmFzZU1hY3JvIiwiX18iLCJ3cCIsImkxOG4iLCJNaW5JblNlY01hY3JvIiwiY2FsbCIsIm5hbWUiLCJpc0NsaWVudFNpZGUiLCJoZWxwIiwicHJvdG90eXBlIiwiT2JqZWN0IiwiY3JlYXRlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/macros/MinInSecMacro.js\n"); + +/***/ }), + +/***/ "./package/macros.button/macros/MonthInSecMacro.js": +/*!*********************************************************!*\ + !*** ./package/macros.button/macros/MonthInSecMacro.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseMacro */ \"./package/macros.button/abstract/BaseMacro.js\");\n\nvar __ = wp.i18n.__;\nfunction MonthInSecMacro() {\n _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.name = 'Month_In_Sec';\n this.isClientSide = true;\n this.help = __('Number of milliseconds in one month', 'jet-form-builder');\n}\nMonthInSecMacro.prototype = Object.create(_abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MonthInSecMacro);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vbWFjcm9zL01vbnRoSW5TZWNNYWNyby5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUE4QztBQUU5QyxJQUFRQyxFQUFFLEdBQUtDLEVBQUUsQ0FBQ0MsSUFBSSxDQUFkRixFQUFFO0FBRVYsU0FBU0csZUFBZUEsQ0FBQSxFQUFHO0VBQzFCSiwyREFBUyxDQUFDSyxJQUFJLENBQUUsSUFBSyxDQUFDO0VBRXRCLElBQUksQ0FBQ0MsSUFBSSxHQUFXLGNBQWM7RUFDbEMsSUFBSSxDQUFDQyxZQUFZLEdBQUcsSUFBSTtFQUV4QixJQUFJLENBQUNDLElBQUksR0FBR1AsRUFBRSxDQUFFLHFDQUFxQyxFQUFFLGtCQUFtQixDQUFDO0FBQzVFO0FBRUFHLGVBQWUsQ0FBQ0ssU0FBUyxHQUFHQyxNQUFNLENBQUNDLE1BQU0sQ0FBRVgsMkRBQVMsQ0FBQ1MsU0FBVSxDQUFDO0FBRWhFLGlFQUFlTCxlQUFlIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9tYWNyb3MuYnV0dG9uL21hY3Jvcy9Nb250aEluU2VjTWFjcm8uanM/MjdjMyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgQmFzZU1hY3JvIGZyb20gJy4uL2Fic3RyYWN0L0Jhc2VNYWNybyc7XHJcblxyXG5jb25zdCB7IF9fIH0gPSB3cC5pMThuO1xyXG5cclxuZnVuY3Rpb24gTW9udGhJblNlY01hY3JvKCkge1xyXG5cdEJhc2VNYWNyby5jYWxsKCB0aGlzICk7XHJcblxyXG5cdHRoaXMubmFtZSAgICAgICAgID0gJ01vbnRoX0luX1NlYyc7XHJcblx0dGhpcy5pc0NsaWVudFNpZGUgPSB0cnVlO1xyXG5cclxuXHR0aGlzLmhlbHAgPSBfXyggJ051bWJlciBvZiBtaWxsaXNlY29uZHMgaW4gb25lIG1vbnRoJywgJ2pldC1mb3JtLWJ1aWxkZXInICk7XHJcbn1cclxuXHJcbk1vbnRoSW5TZWNNYWNyby5wcm90b3R5cGUgPSBPYmplY3QuY3JlYXRlKCBCYXNlTWFjcm8ucHJvdG90eXBlICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBNb250aEluU2VjTWFjcm87Il0sIm5hbWVzIjpbIkJhc2VNYWNybyIsIl9fIiwid3AiLCJpMThuIiwiTW9udGhJblNlY01hY3JvIiwiY2FsbCIsIm5hbWUiLCJpc0NsaWVudFNpZGUiLCJoZWxwIiwicHJvdG90eXBlIiwiT2JqZWN0IiwiY3JlYXRlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/macros/MonthInSecMacro.js\n"); + +/***/ }), + +/***/ "./package/macros.button/macros/YearInSecMacro.js": +/*!********************************************************!*\ + !*** ./package/macros.button/macros/YearInSecMacro.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../abstract/BaseMacro */ \"./package/macros.button/abstract/BaseMacro.js\");\n\nvar __ = wp.i18n.__;\nfunction YearInSecMacro() {\n _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].call(this);\n this.name = 'Year_In_Sec';\n this.isClientSide = true;\n this.help = __('Number of milliseconds in one year', 'jet-form-builder');\n}\nYearInSecMacro.prototype = Object.create(_abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (YearInSecMacro);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vbWFjcm9zL1llYXJJblNlY01hY3JvLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQThDO0FBRTlDLElBQVFDLEVBQUUsR0FBS0MsRUFBRSxDQUFDQyxJQUFJLENBQWRGLEVBQUU7QUFFVixTQUFTRyxjQUFjQSxDQUFBLEVBQUc7RUFDekJKLDJEQUFTLENBQUNLLElBQUksQ0FBRSxJQUFLLENBQUM7RUFFdEIsSUFBSSxDQUFDQyxJQUFJLEdBQVcsYUFBYTtFQUNqQyxJQUFJLENBQUNDLFlBQVksR0FBRyxJQUFJO0VBRXhCLElBQUksQ0FBQ0MsSUFBSSxHQUFHUCxFQUFFLENBQUUsb0NBQW9DLEVBQUUsa0JBQW1CLENBQUM7QUFDM0U7QUFFQUcsY0FBYyxDQUFDSyxTQUFTLEdBQUdDLE1BQU0sQ0FBQ0MsTUFBTSxDQUFFWCwyREFBUyxDQUFDUyxTQUFVLENBQUM7QUFFL0QsaUVBQWVMLGNBQWMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vbWFjcm9zL1llYXJJblNlY01hY3JvLmpzP2JjMGQiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEJhc2VNYWNybyBmcm9tICcuLi9hYnN0cmFjdC9CYXNlTWFjcm8nO1xyXG5cclxuY29uc3QgeyBfXyB9ID0gd3AuaTE4bjtcclxuXHJcbmZ1bmN0aW9uIFllYXJJblNlY01hY3JvKCkge1xyXG5cdEJhc2VNYWNyby5jYWxsKCB0aGlzICk7XHJcblxyXG5cdHRoaXMubmFtZSAgICAgICAgID0gJ1llYXJfSW5fU2VjJztcclxuXHR0aGlzLmlzQ2xpZW50U2lkZSA9IHRydWU7XHJcblxyXG5cdHRoaXMuaGVscCA9IF9fKCAnTnVtYmVyIG9mIG1pbGxpc2Vjb25kcyBpbiBvbmUgeWVhcicsICdqZXQtZm9ybS1idWlsZGVyJyApO1xyXG59XHJcblxyXG5ZZWFySW5TZWNNYWNyby5wcm90b3R5cGUgPSBPYmplY3QuY3JlYXRlKCBCYXNlTWFjcm8ucHJvdG90eXBlICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBZZWFySW5TZWNNYWNybzsiXSwibmFtZXMiOlsiQmFzZU1hY3JvIiwiX18iLCJ3cCIsImkxOG4iLCJZZWFySW5TZWNNYWNybyIsImNhbGwiLCJuYW1lIiwiaXNDbGllbnRTaWRlIiwiaGVscCIsInByb3RvdHlwZSIsIk9iamVjdCIsImNyZWF0ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/macros/YearInSecMacro.js\n"); + +/***/ }), + +/***/ "./package/macros.button/store/actions.js": +/*!************************************************!*\ + !*** ./package/macros.button/store/actions.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/macros.button/store/constants.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n registerMacro: function registerMacro(items) {\n var isClient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].registerMacro,\n items: items,\n isClient: isClient\n };\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vc3RvcmUvYWN0aW9ucy5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFvQztBQUVwQyxpRUFBZTtFQUNkQyxhQUFhLFdBQUFBLGNBQUVDLEtBQUssRUFBb0I7SUFBQSxJQUFsQkMsUUFBUSxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxJQUFJO0lBQ3BDLE9BQU87TUFDTkcsSUFBSSxFQUFFUCxrREFBUyxDQUFDQyxhQUFhO01BQzdCQyxLQUFLLEVBQUxBLEtBQUs7TUFDTEMsUUFBUSxFQUFSQTtJQUNELENBQUM7RUFDRjtBQUVELENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vc3RvcmUvYWN0aW9ucy5qcz8yMzc5Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjb25zdGFudHMgZnJvbSAnLi9jb25zdGFudHMnO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQge1xyXG5cdHJlZ2lzdGVyTWFjcm8oIGl0ZW1zLCBpc0NsaWVudCA9IHRydWUgKSB7XHJcblx0XHRyZXR1cm4ge1xyXG5cdFx0XHR0eXBlOiBjb25zdGFudHMucmVnaXN0ZXJNYWNybyxcclxuXHRcdFx0aXRlbXMsXHJcblx0XHRcdGlzQ2xpZW50LFxyXG5cdFx0fTtcclxuXHR9LFxyXG5cclxufTsiXSwibmFtZXMiOlsiY29uc3RhbnRzIiwicmVnaXN0ZXJNYWNybyIsIml0ZW1zIiwiaXNDbGllbnQiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJ0eXBlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/store/actions.js\n"); + +/***/ }), + +/***/ "./package/macros.button/store/constants.js": +/*!**************************************************!*\ + !*** ./package/macros.button/store/constants.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n registerMacro: 'REGISTER_MACRO',\n registerFilter: 'REGISTER_FILTER'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vc3RvcmUvY29uc3RhbnRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxpRUFBZTtFQUNkQSxhQUFhLEVBQUUsZ0JBQWdCO0VBQy9CQyxjQUFjLEVBQUU7QUFDakIsQ0FBQyIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvbWFjcm9zLmJ1dHRvbi9zdG9yZS9jb25zdGFudHMuanM/NzEyNSJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCB7XHJcblx0cmVnaXN0ZXJNYWNybzogJ1JFR0lTVEVSX01BQ1JPJyxcclxuXHRyZWdpc3RlckZpbHRlcjogJ1JFR0lTVEVSX0ZJTFRFUicsXHJcbn07XHJcblxyXG5cclxuIl0sIm5hbWVzIjpbInJlZ2lzdGVyTWFjcm8iLCJyZWdpc3RlckZpbHRlciJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/store/constants.js\n"); + +/***/ }), + +/***/ "./package/macros.button/store/dispatchers.js": +/*!****************************************************!*\ + !*** ./package/macros.button/store/dispatchers.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/macros.button/store/constants.js\");\n/* harmony import */ var _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../abstract/BaseMacro */ \"./package/macros.button/abstract/BaseMacro.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_defineProperty({}, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].registerMacro, function (state, action) {\n var items = action.items,\n isClient = action.isClient;\n var macros = Array.isArray(items) ? items : [items];\n var _iterator = _createForOfIteratorHelper(macros),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var macro = _step.value;\n if (macro instanceof _abstract_BaseMacro__WEBPACK_IMPORTED_MODULE_1__[\"default\"]) {\n continue;\n }\n console.error(macro);\n throw new Error('^^^ Invalid macro item ^^^');\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n if (isClient) {\n var _state$clientMacros;\n (_state$clientMacros = state.clientMacros).push.apply(_state$clientMacros, _toConsumableArray(macros));\n } else {\n var _state$serverMacros;\n (_state$serverMacros = state.serverMacros).push.apply(_state$serverMacros, _toConsumableArray(macros));\n }\n return state;\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vc3RvcmUvZGlzcGF0Y2hlcnMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBb0M7QUFDVTtBQUU5QyxpRUFBQUUsZUFBQSxLQUNHRixrREFBUyxDQUFDRyxhQUFhLFlBQUlDLEtBQUssRUFBRUMsTUFBTSxFQUFHO0VBQzVDLElBQVFDLEtBQUssR0FBZUQsTUFBTSxDQUExQkMsS0FBSztJQUFFQyxRQUFRLEdBQUtGLE1BQU0sQ0FBbkJFLFFBQVE7RUFDdkIsSUFBTUMsTUFBTSxHQUFnQkMsS0FBSyxDQUFDQyxPQUFPLENBQUVKLEtBQU0sQ0FBQyxHQUFHQSxLQUFLLEd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WN0aW9uIiwiaXRlbXMiLCJpc0NsaWVudCIsIm1hY3JvcyIsIkFycmF5IiwiaXNBcnJheSIsIl9pdGVyYXRvciIsIl9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyIiwiX3N0ZXAiLCJzIiwibiIsImRvbmUiLCJtYWNybyIsInZhbHVlIiwiY29uc29sZSIsImVycm9yIiwiRXJyb3IiLCJlcnIiLCJlIiwiZiIsIl9zdGF0ZSRjbGllbnRNYWNyb3MiLCJjbGllbnRNYWNyb3MiLCJwdXNoIiwiYXBwbHkiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJfc3RhdGUkc2VydmVyTWFjcm9zIiwic2VydmVyTWFjcm9zIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/store/dispatchers.js\n"); + +/***/ }), + +/***/ "./package/macros.button/store/index.js": +/*!**********************************************!*\ + !*** ./package/macros.button/store/index.js ***! + \**********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ \"./package/macros.button/store/reducer.js\");\n/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ \"./package/macros.button/store/actions.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ \"./package/macros.button/store/selectors.js\");\n\n\n\nvar createReduxStore = wp.data.createReduxStore;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReduxStore('jet-forms/macros', {\n reducer: _reducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n actions: _actions__WEBPACK_IMPORTED_MODULE_1__[\"default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291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/macros.button/store/index.js\n"); + +/***/ }), + +/***/ "./package/macros.button/store/reducer.js": +/*!************************************************!*\ + !*** ./package/macros.button/store/reducer.js ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _dispatchers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dispatchers */ \"./package/macros.button/store/dispatchers.js\");\n/* harmony import */ var _macros_CurrentDateMacro__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../macros/CurrentDateMacro */ \"./package/macros.button/macros/CurrentDateMacro.js\");\n/* harmony import */ var _macros_MinInSecMacro__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../macros/MinInSecMacro */ \"./package/macros.button/macros/MinInSecMacro.js\");\n/* harmony import */ var _macros_MonthInSecMacro__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../macros/MonthInSecMacro */ \"./package/macros.button/macros/MonthInSecMacro.js\");\n/* harmony import */ var _macros_DayInSecMacro__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../macros/DayInSecMacro */ \"./package/macros.button/macros/DayInSecMacro.js\");\n/* harmony import */ var _macros_YearInSecMacro__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../macros/YearInSecMacro */ \"./package/macros.button/macros/YearInSecMacro.js\");\n/* harmony import */ var _filters_AddDayFilter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../filters/AddDayFilter */ \"./package/macros.button/filters/AddDayFilter.js\");\n/* harmony import */ var _filters_AddMonthFilter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../filters/AddMonthFilter */ \"./package/macros.button/filters/AddMonthFilter.js\");\n/* harmony import */ var _filters_AddYearFilter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../filters/AddYearFilter */ \"./package/macros.button/filters/AddYearFilter.js\");\n/* harmony import */ var _filters_FallbackFilter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../filters/FallbackFilter */ \"./package/macros.button/filters/FallbackFilter.js\");\n/* harmony import */ var _filters_LengthFilter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../filters/LengthFilter */ \"./package/macros.button/filters/LengthFilter.js\");\n/* harmony import */ var _filters_ToDateFilter__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../filters/ToDateFilter */ \"./package/macros.button/filters/ToDateFilter.js\");\n/* harmony import */ var _filters_ToDateTimeFilter__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../filters/ToDateTimeFilter */ \"./package/macros.button/filters/ToDateTimeFilter.js\");\n/* harmony import */ var _filters_ToTimeFilter__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../filters/ToTimeFilter */ \"./package/macros.button/filters/ToTimeFilter.js\");\n/* harmony import */ var _filters_SubtractDayFilter__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../filters/SubtractDayFilter */ \"./package/macros.button/filters/SubtractDayFilter.js\");\n/* harmony import */ var _filters_SubtractMonthFilter__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../filters/SubtractMonthFilter */ \"./package/macros.button/filters/SubtractMonthFilter.js\");\n/* harmony import */ var _filters_SubtractYearFilter__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../filters/SubtractYearFilter */ \"./package/macros.button/filters/SubtractYearFilter.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\r\n *\r\n * @type {{\r\n * macros: BaseMacro[],\r\n * filters: BaseFilter[]\r\n * }}\r\n */\nvar DEFAULT_STATE = {\n macros: [new _macros_CurrentDateMacro__WEBPACK_IMPORTED_MODULE_1__[\"default\"](), new _macros_MinInSecMacro__WEBPACK_IMPORTED_MODULE_2__[\"default\"](), new _macros_DayInSecMacro__WEBPACK_IMPORTED_MODULE_4__[\"default\"](), new _macros_MonthInSecMacro__WEBPACK_IMPORTED_MODULE_3__[\"default\"](), new _macros_YearInSecMacro__WEBPACK_IMPORTED_MODULE_5__[\"default\"]()],\n filters: [new _filters_FallbackFilter__WEBPACK_IMPORTED_MODULE_9__[\"default\"](), new _filters_LengthFilter__WEBPACK_IMPORTED_MODULE_10__[\"default\"](), new _filters_AddDayFilter__WEBPACK_IMPORTED_MODULE_6__[\"default\"](), new _filters_AddMonthFilter__WEBPACK_IMPORTED_MODULE_7__[\"default\"](), new _filters_AddYearFilter__WEBPACK_IMPORTED_MODULE_8__[\"default\"](), new _filters_SubtractDayFilter__WEBPACK_IMPORTED_MODULE_14__[\"default\"](), new _filters_SubtractMonthFilter__WEBPACK_IMPORTED_MODULE_15__[\"default\"](), new _filters_SubtractYearFilter__WEBPACK_IMPORTED_MODULE_16__[\"default\"](), new _filters_ToDateFilter__WEBPACK_IMPORTED_MODULE_11__[\"default\"](), new _filters_ToDateTimeFilter__WEBPACK_IMPORTED_MODULE_12__[\"default\"](), new _filters_ToTimeFilter__WEBPACK_IMPORTED_MODULE_13__[\"default\"]()]\n};\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n var callback = _dispatchers__WEBPACK_IMPORTED_MODULE_0__[\"default\"][action === null || action === void 0 ? void 0 : action.type];\n if (callback) {\n return callback(state, action);\n }\n return state;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vc3RvcmUvcmVkd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IiLCJUb0RhdGVUaW1lRmlsdGVyIiwiVG9UaW1lRmlsdGVyIiwiU3VidHJhY3REYXlGaWx0ZXIiLCJTdWJ0cmFjdE1vbnRoRmlsdGVyIiwiU3VidHJhY3RZZWFyRmlsdGVyIiwiREVGQVVMVF9TVEFURSIsIm1hY3JvcyIsImZpbHRlcnMiLCJzdGF0ZSIsImFyZ3VtZW50cyIsImxlbmd0aCIsInVuZGVmaW5lZCIsImFjdGlvbiIsImNhbGxiYWNrIiwidHlwZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/macros.button/store/reducer.js\n"); + +/***/ }), + +/***/ "./package/macros.button/store/selectors.js": +/*!**************************************************!*\ + !*** ./package/macros.button/store/selectors.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar selectors = {\n getClientMacros: function getClientMacros(state) {\n return state.macros.filter(\n /**\r\n * @param macro {BaseMacro}\r\n */\n function (macro) {\n return macro.isClientSide;\n });\n },\n getServerMacros: function getServerMacros(state) {\n return state.macros.filter(\n /**\r\n * @param macro {BaseMacro}\r\n */\n function (macro) {\n return macro.isServerSide;\n });\n },\n getClientFilters: function getClientFilters(state) {\n return state.filters.filter(\n /**\r\n * @param macro {BaseFilter}\r\n */\n function (macro) {\n return macro.isClientSide;\n });\n },\n getServerFilters: function getServerFilters(state) {\n return state.filters.filter(\n /**\r\n * @param macro {BaseFilter}\r\n */\n function (macro) {\n return macro.isServerSide;\n });\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread({}, selectors));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hY3Jvcy5idXR0b24vc3RvcmUvc2VsZWN0b3JzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSxJQUFNQSxTQUFTLEdBQUc7RUFDakJDLGVBQWUsV0FBQUEsZ0JBQUVDLEtBQUssRUFBRztJQUN4QixPQUFPQSxLQUFLLENBQUND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Z1bmN0aW9uICggbWFjcm8gKSB7XHJcblx0XHRcdFx0cmV0dXJuIG1hY3JvLmlzU2VydmVyU2lkZTtcclxuXHRcdFx0fSxcclxuXHRcdCk7XHJcblx0fSxcclxufTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuXHQuLi5zZWxlY3RvcnMsXHJcbn07Il0sIm5hbWVzIjpbInNlbGVjdG9ycyIsImdldENsaWVudE1hY3JvcyIsInN0YXRlIiwibWFjcm9zIiwiZmlsdGVyIiwibWFjcm8iLCJpc0NsaWVudFNpZGUiLCJnZXRTZXJ2ZXJNYWNyb3MiLCJpc1NlcnZlclNpZGUiLCJnZXRDbGllbnRGaWx0ZXJzIiwiZmlsdGVycyIsImdldFNlcnZlckZpbHRlcnMiLCJfb2JqZWN0U3ByZWFkIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/macros.button/store/selectors.js\n"); + +/***/ }), + +/***/ "./package/manager.js": +/*!****************************!*\ + !*** ./package/manager.js ***! + \****************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _action_fields_map_components_ActionFieldsMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./action-fields-map/components/ActionFieldsMap */ \"./package/action-fields-map/components/ActionFieldsMap.js\");\n/* harmony import */ var _action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./action-modal/components/ActionModal */ \"./package/action-modal/components/ActionModal.js\");\n/* harmony import */ var _action_fields_map_components_WrapperRequiredControl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./action-fields-map/components/WrapperRequiredControl */ \"./package/action-fields-map/components/WrapperRequiredControl.js\");\n/* harmony import */ var _actions_components_RequestButton__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./actions/components/RequestButton */ \"./package/actions/components/RequestButton.js\");\n/* harmony import */ var _actions_components_ValidateButton__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./actions/components/ValidateButton */ \"./package/actions/components/ValidateButton.js\");\n/* harmony import */ var _actions_helpers_addAction__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./actions/helpers/addAction */ \"./package/actions/helpers/addAction.js\");\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./tools */ \"./package/tools.js\");\n/* harmony import */ var _blocks_helpers_getAvailableFields__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./blocks/helpers/getAvailableFields */ \"./package/blocks/helpers/getAvailableFields.js\");\n/* harmony import */ var _blocks_helpers_getAvailableFieldsString__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./blocks/helpers/getAvailableFieldsString */ \"./package/blocks/helpers/getAvailableFieldsString.js\");\n/* harmony import */ var _blocks_helpers_getBlocksByName__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./blocks/helpers/getBlocksByName */ \"./package/blocks/helpers/getBlocksByName.js\");\n/* harmony import */ var _blocks_helpers_getFieldsWithoutCurrent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./blocks/helpers/getFieldsWithoutCurrent */ \"./package/blocks/helpers/getFieldsWithoutCurrent.js\");\n/* harmony import */ var _blocks_helpers_getFormFieldsBlocks__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./blocks/helpers/getFormFieldsBlocks */ \"./package/blocks/helpers/getFormFieldsBlocks.js\");\n/* harmony import */ var _blocks_helpers_getInnerBlocks__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./blocks/helpers/getInnerBlocks */ \"./package/blocks/helpers/getInnerBlocks.js\");\n/* harmony import */ var _blocks_helpers_appendField__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./blocks/helpers/appendField */ \"./package/blocks/helpers/appendField.js\");\n/* harmony import */ var _gateways_helpers_gatewayAttr__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./gateways/helpers/gatewayAttr */ \"./package/gateways/helpers/gatewayAttr.js\");\n/* harmony import */ var _gateways_helpers_gatewayLabel__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./gateways/helpers/gatewayLabel */ \"./package/gateways/helpers/gatewayLabel.js\");\n/* harmony import */ var _gateways_helpers_registerGateway__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./gateways/helpers/registerGateway */ \"./package/gateways/helpers/registerGateway.js\");\n/* harmony import */ var _gateways_helpers_renderGateway__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./gateways/helpers/renderGateway */ \"./package/gateways/helpers/renderGateway.js\");\n/* harmony import */ var _gateways_helpers_renderGatewayWithPlaceholder__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./gateways/helpers/renderGatewayWithPlaceholder */ \"./package/gateways/helpers/renderGatewayWithPlaceholder.js\");\n/* harmony import */ var _actions_hooks_useActions__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./actions/hooks/useActions */ \"./package/actions/hooks/useActions.js\");\n/* harmony import */ var _hooks_useMetaState__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./hooks/useMetaState */ \"./package/hooks/useMetaState.js\");\n/* harmony import */ var _hooks_useStateLoadingClasses__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./hooks/useStateLoadingClasses */ \"./package/hooks/useStateLoadingClasses.js\");\n/* harmony import */ var _hooks_useStateValidClasses__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./hooks/useStateValidClasses */ \"./package/hooks/useStateValidClasses.js\");\n/* harmony import */ var _hooks_useSuccessNotice__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./hooks/useSuccessNotice */ \"./package/hooks/useSuccessNotice.js\");\n/* harmony import */ var _actions_hooks_useRequestFields__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./actions/hooks/useRequestFields */ \"./package/actions/hooks/useRequestFields.js\");\n/* harmony import */ var _hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./hooks/useSelectPostMeta */ \"./package/hooks/useSelectPostMeta.js\");\n/* harmony import */ var _actions_hooks_withRequestFields__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./actions/hooks/withRequestFields */ \"./package/actions/hooks/withRequestFields.js\");\n/* harmony import */ var _action_modal_hooks_useOnUpdateModal__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./action-modal/hooks/useOnUpdateModal */ \"./package/action-modal/hooks/useOnUpdateModal.js\");\n/* harmony import */ var _hooks_withSelectFormFields__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./hooks/withSelectFormFields */ \"./package/hooks/withSelectFormFields.js\");\n/* harmony import */ var _gateways_hooks_withSelectGateways__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./gateways/hooks/withSelectGateways */ \"./package/gateways/hooks/withSelectGateways.js\");\n/* harmony import */ var _gateways_hooks_withDispatchGateways__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./gateways/hooks/withDispatchGateways */ \"./package/gateways/hooks/withDispatchGateways.js\");\n/* harmony import */ var _actions_hooks_useSanitizeFieldsMap__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./actions/hooks/useSanitizeFieldsMap */ \"./package/actions/hooks/useSanitizeFieldsMap.js\");\n/* harmony import */ var _actions_hooks_withSelectActionLoading__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./actions/hooks/withSelectActionLoading */ \"./package/actions/hooks/withSelectActionLoading.js\");\n/* harmony import */ var _events_hooks_useRequestEvents__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./events/hooks/useRequestEvents */ \"./package/events/hooks/useRequestEvents.js\");\n/* harmony import */ var _block_conditions_hooks_useBlockConditions__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./block-conditions/hooks/useBlockConditions */ \"./package/block-conditions/hooks/useBlockConditions.js\");\n/* harmony import */ var _blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./blocks/hooks/useUniqKey */ \"./package/blocks/hooks/useUniqKey.js\");\n/* harmony import */ var _blocks_hooks_useIsAdvancedValidation__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./blocks/hooks/useIsAdvancedValidation */ \"./package/blocks/hooks/useIsAdvancedValidation.js\");\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./hooks/useIsHasAttribute */ \"./package/hooks/useIsHasAttribute.js\");\n/* harmony import */ var _actions_helpers_globalTab__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./actions/helpers/globalTab */ \"./package/actions/helpers/globalTab.js\");\n/* harmony import */ var _preset_components_DynamicPreset__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./preset/components/DynamicPreset */ \"./package/preset/components/DynamicPreset.js\");\n/* harmony import */ var _editor_blocks_controls_fields_map__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../editor/blocks/controls/fields-map */ \"./editor/blocks/controls/fields-map.js\");\n/* harmony import */ var _preset_components_FieldWithPreset__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./preset/components/FieldWithPreset */ \"./package/preset/components/FieldWithPreset.js\");\n/* harmony import */ var _preset_components_GlobalFieldPreset__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./preset/components/GlobalFieldPreset */ \"./package/preset/components/GlobalFieldPreset.js\");\n/* harmony import */ var _preset_components_AvailableMapFieldPreset__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./preset/components/AvailableMapFieldPreset */ \"./package/preset/components/AvailableMapFieldPreset.js\");\n/* harmony import */ var _preset_components_MapFieldPreset__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./preset/components/MapFieldPreset */ \"./package/preset/components/MapFieldPreset.js\");\n/* harmony import */ var _validation_hooks_useGroupedValidationMessages__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./validation/hooks/useGroupedValidationMessages */ \"./package/validation/hooks/useGroupedValidationMessages.js\");\n/* harmony import */ var _blocks_components_FieldWrapper__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./blocks/components/FieldWrapper */ \"./package/blocks/components/FieldWrapper.js\");\n/* harmony import */ var _components_MacrosInserter__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./components/MacrosInserter */ \"./package/components/MacrosInserter.js\");\n/* harmony import */ var _repeater_components_RepeaterWithState__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./repeater/components/RepeaterWithState */ \"./package/repeater/components/RepeaterWithState.js\");\n/* harmony import */ var _preset_components_withPreset__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./preset/components/withPreset */ \"./package/preset/components/withPreset.js\");\n/* harmony import */ var _blocks_components_AdvancedFields__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./blocks/components/AdvancedFields */ \"./package/blocks/components/AdvancedFields.js\");\n/* harmony import */ var _blocks_components_GeneralFields__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./blocks/components/GeneralFields */ \"./package/blocks/components/GeneralFields.js\");\n/* harmony import */ var _blocks_components_ToolBarFields__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./blocks/components/ToolBarFields */ \"./package/blocks/components/ToolBarFields.js\");\n/* harmony import */ var _actions_components_PlaceholderMessage__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./actions/components/PlaceholderMessage */ \"./package/actions/components/PlaceholderMessage.js\");\n/* harmony import */ var _actions_components_ActionMessages__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./actions/components/ActionMessages */ \"./package/actions/components/ActionMessages.js\");\n/* harmony import */ var _components_HorizontalLine__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./components/HorizontalLine */ \"./package/components/HorizontalLine.js\");\n/* harmony import */ var _actions_components_RequestLoadingButton__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./actions/components/RequestLoadingButton */ \"./package/actions/components/RequestLoadingButton.js\");\n/* harmony import */ var _actions_helpers_convertListToFieldsMap__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./actions/helpers/convertListToFieldsMap */ \"./package/actions/helpers/convertListToFieldsMap.js\");\n/* harmony import */ var _blocks_components_FieldSettingsWrapper__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./blocks/components/FieldSettingsWrapper */ \"./package/blocks/components/FieldSettingsWrapper.js\");\n/* harmony import */ var _components_GroupedSelectControl__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./components/GroupedSelectControl */ \"./package/components/GroupedSelectControl.js\");\n/* harmony import */ var _blocks_helpers_getBlockControls__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./blocks/helpers/getBlockControls */ \"./package/blocks/helpers/getBlockControls.js\");\n/* harmony import */ var _components_BaseHelp__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./components/BaseHelp */ \"./package/components/BaseHelp.js\");\n/* harmony import */ var _actions_components_ValidateButtonWithStore__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./actions/components/ValidateButtonWithStore */ \"./package/actions/components/ValidateButtonWithStore.js\");\n/* harmony import */ var _gateways_components_GatewayFetchButton__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./gateways/components/GatewayFetchButton */ \"./package/gateways/components/GatewayFetchButton.js\");\n/* harmony import */ var _store_manager__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./store.manager */ \"./package/store.manager.js\");\n/* harmony import */ var _action_modal_context_ActionModalContext__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./action-modal/context/ActionModalContext */ \"./package/action-modal/context/ActionModalContext.js\");\n/* harmony import */ var _repeater_context_safe_delete__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./repeater/context/safe.delete */ \"./package/repeater/context/safe.delete.js\");\n/* harmony import */ var _repeater_context_repeater_item__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./repeater/context/repeater.item */ \"./package/repeater/context/repeater.item.js\");\n/* harmony import */ var _actions_context_ActionListItemContext__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./actions/context/ActionListItemContext */ \"./package/actions/context/ActionListItemContext.js\");\n/* harmony import */ var _repeater_context_repeater_custom_item_body__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./repeater/context/repeater.custom.item.body */ \"./package/repeater/context/repeater.custom.item.body.js\");\n/* harmony import */ var _repeater_context_repeater_custom_item_head__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./repeater/context/repeater.custom.item.head */ \"./package/repeater/context/repeater.custom.item.head.js\");\n/* harmony import */ var _repeater_context_repeater_custom_item_buttons__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./repeater/context/repeater.custom.item.buttons */ \"./package/repeater/context/repeater.custom.item.buttons.js\");\n/* harmony import */ var _context_block_value_item_context__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./context/block.value.item.context */ \"./package/context/block.value.item.context.js\");\n/* harmony import */ var _repeater_components_safe_delete_toggle__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./repeater/components/safe.delete.toggle */ \"./package/repeater/components/safe.delete.toggle.js\");\n/* harmony import */ var _repeater_components_repeater_add_new__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./repeater/components/repeater.add.new */ \"./package/repeater/components/repeater.add.new.js\");\n/* harmony import */ var _repeater_components_repeater__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./repeater/components/repeater */ \"./package/repeater/components/repeater.js\");\n/* harmony import */ var _validation_components_ValidationToggleGroup__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./validation/components/ValidationToggleGroup */ \"./package/validation/components/ValidationToggleGroup.js\");\n/* harmony import */ var _validation_components_ValidationBlockMessage__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./validation/components/ValidationBlockMessage */ \"./package/validation/components/ValidationBlockMessage.js\");\n/* harmony import */ var _validation_components_ValidationMetaMessage__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./validation/components/ValidationMetaMessage */ \"./package/validation/components/ValidationMetaMessage.js\");\n/* harmony import */ var _actions_context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./actions/context/CurrentActionEditContext */ \"./package/actions/context/CurrentActionEditContext.js\");\n/* harmony import */ var _action_fields_map_context_ActionFieldsMapContext__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./action-fields-map/context/ActionFieldsMapContext */ \"./package/action-fields-map/context/ActionFieldsMapContext.js\");\n/* harmony import */ var _action_fields_map_context_CurrentPropertyMapContext__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./action-fields-map/context/CurrentPropertyMapContext */ \"./package/action-fields-map/context/CurrentPropertyMapContext.js\");\n/* harmony import */ var _action_fields_map_components_DynamicPropertySelect__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./action-fields-map/components/DynamicPropertySelect */ \"./package/action-fields-map/components/DynamicPropertySelect.js\");\n/* harmony import */ var _actions_components_ActionFetchButton__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./actions/components/ActionFetchButton */ \"./package/actions/components/ActionFetchButton.js\");\n/* harmony import */ var _dynamic_value_components_DynamicValues__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./dynamic.value/components/DynamicValues */ \"./package/dynamic.value/components/DynamicValues.js\");\n/* harmony import */ var _repeater_components_repeater_add_or__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./repeater/components/repeater.add.or */ \"./package/repeater/components/repeater.add.or.js\");\n/* harmony import */ var _validation_components_EditAdvancedRulesButton__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./validation/components/EditAdvancedRulesButton */ \"./package/validation/components/EditAdvancedRulesButton.js\");\n/* harmony import */ var _repeater_context_repeater_state__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./repeater/context/repeater.state */ \"./package/repeater/context/repeater.state.js\");\n/* harmony import */ var _repeater_components_repeater_state__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./repeater/components/repeater.state */ \"./package/repeater/components/repeater.state.js\");\n/* harmony import */ var _blocks_components_FieldControl__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./blocks/components/FieldControl */ \"./package/blocks/components/FieldControl.js\");\n/* harmony import */ var _blocks_components_BlockLabel__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./blocks/components/BlockLabel */ \"./package/blocks/components/BlockLabel.js\");\n/* harmony import */ var _blocks_components_BlockName__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./blocks/components/BlockName */ \"./package/blocks/components/BlockName.js\");\n/* harmony import */ var _blocks_components_BlockDescription__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./blocks/components/BlockDescription */ \"./package/blocks/components/BlockDescription.js\");\n/* harmony import */ var _blocks_components_BlockDefaultValue__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./blocks/components/BlockDefaultValue */ \"./package/blocks/components/BlockDefaultValue.js\");\n/* harmony import */ var _blocks_components_BlockPlaceholder__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./blocks/components/BlockPlaceholder */ \"./package/blocks/components/BlockPlaceholder.js\");\n/* harmony import */ var _blocks_components_BlockAddPrevButton__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./blocks/components/BlockAddPrevButton */ \"./package/blocks/components/BlockAddPrevButton.js\");\n/* harmony import */ var _blocks_components_BlockPrevButtonLabel__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./blocks/components/BlockPrevButtonLabel */ \"./package/blocks/components/BlockPrevButtonLabel.js\");\n/* harmony import */ var _blocks_components_BlockVisibility__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./blocks/components/BlockVisibility */ \"./package/blocks/components/BlockVisibility.js\");\n/* harmony import */ var _blocks_components_BlockClassName__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./blocks/components/BlockClassName */ \"./package/blocks/components/BlockClassName.js\");\n/* harmony import */ var _blocks_components_BlockAdvancedValue__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./blocks/components/BlockAdvancedValue */ \"./package/blocks/components/BlockAdvancedValue.js\");\n/* harmony import */ var _macros_button_components_MacrosFieldsTemplate__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./macros.button/components/MacrosFieldsTemplate */ \"./package/macros.button/components/MacrosFieldsTemplate.js\");\n/* harmony import */ var _macros_button_components_MacrosButtonTemplate__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./macros.button/components/MacrosButtonTemplate */ \"./package/macros.button/components/MacrosButtonTemplate.js\");\n/* harmony import */ var _macros_button_components_MacrosFields__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./macros.button/components/MacrosFields */ \"./package/macros.button/components/MacrosFields.js\");\n/* harmony import */ var _macros_button_context_PopoverContext__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./macros.button/context/PopoverContext */ \"./package/macros.button/context/PopoverContext.js\");\n/* harmony import */ var _macros_button_context_PopoverItem__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./macros.button/context/PopoverItem */ \"./package/macros.button/context/PopoverItem.js\");\n/* harmony import */ var _preset_components_PresetButton__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ./preset/components/PresetButton */ \"./package/preset/components/PresetButton.js\");\n/* harmony import */ var _block_conditions_components_ConditionItem__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ./block-conditions/components/ConditionItem */ \"./package/block-conditions/components/ConditionItem.js\");\n/* harmony import */ var _components_AdvancedInspectorControl__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ./components/AdvancedInspectorControl */ \"./package/components/AdvancedInspectorControl.js\");\n/* harmony import */ var _components_AdvancedModalControl__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ./components/AdvancedModalControl */ \"./package/components/AdvancedModalControl.js\");\n/* harmony import */ var _macros_button_components_ClientSideMacros__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./macros.button/components/ClientSideMacros */ \"./package/macros.button/components/ClientSideMacros.js\");\n/* harmony import */ var _macros_button_functions__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./macros.button/functions */ \"./package/macros.button/functions.js\");\n/* harmony import */ var _macros_button_hooks_useInsertMacro__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./macros.button/hooks/useInsertMacro */ \"./package/macros.button/hooks/useInsertMacro.js\");\n/* harmony import */ var _actions_helpers_addDetail__WEBPACK_IMPORTED_MODULE_113__ = __webpack_require__(/*! ./actions/helpers/addDetail */ \"./package/actions/helpers/addDetail.js\");\n/* harmony import */ var _components_ToggleControl__WEBPACK_IMPORTED_MODULE_114__ = __webpack_require__(/*! ./components/ToggleControl */ \"./package/components/ToggleControl.js\");\n/* harmony import */ var _actions_abstract_BaseAction__WEBPACK_IMPORTED_MODULE_115__ = __webpack_require__(/*! ./actions/abstract/BaseAction */ \"./package/actions/abstract/BaseAction.js\");\n/* harmony import */ var _actions_helpers_addComputedField__WEBPACK_IMPORTED_MODULE_116__ = __webpack_require__(/*! ./actions/helpers/addComputedField */ \"./package/actions/helpers/addComputedField.js\");\n/* harmony import */ var _actions_abstract_BaseComputedField__WEBPACK_IMPORTED_MODULE_117__ = __webpack_require__(/*! ./actions/abstract/BaseComputedField */ \"./package/actions/abstract/BaseComputedField.js\");\n/* harmony import */ var _components_DetailsContainer__WEBPACK_IMPORTED_MODULE_118__ = __webpack_require__(/*! ./components/DetailsContainer */ \"./package/components/DetailsContainer.js\");\n/* harmony import */ var _components_HoverContainer__WEBPACK_IMPORTED_MODULE_119__ = __webpack_require__(/*! ./components/HoverContainer */ \"./package/components/HoverContainer.js\");\n/* harmony import */ var _blocks_helpers_getCurrentInnerBlocks__WEBPACK_IMPORTED_MODULE_120__ = __webpack_require__(/*! ./blocks/helpers/getCurrentInnerBlocks */ \"./package/blocks/helpers/getCurrentInnerBlocks.js\");\n/* harmony import */ var _components_ContainersList__WEBPACK_IMPORTED_MODULE_121__ = __webpack_require__(/*! ./components/ContainersList */ \"./package/components/ContainersList.js\");\n/* harmony import */ var _block_conditions_components_HumanReadableConditions__WEBPACK_IMPORTED_MODULE_122__ = __webpack_require__(/*! ./block-conditions/components/HumanReadableConditions */ \"./package/block-conditions/components/HumanReadableConditions.js\");\n/* harmony import */ var _block_conditions_helpers_humanReadableCondition__WEBPACK_IMPORTED_MODULE_123__ = __webpack_require__(/*! ./block-conditions/helpers/humanReadableCondition */ \"./package/block-conditions/helpers/humanReadableCondition.js\");\n/* harmony import */ var _block_conditions_components_ConditionsRepeaterContextProvider__WEBPACK_IMPORTED_MODULE_124__ = __webpack_require__(/*! ./block-conditions/components/ConditionsRepeaterContextProvider */ \"./package/block-conditions/components/ConditionsRepeaterContextProvider.js\");\n/* harmony import */ var _macros_button_components_ServerSideMacros__WEBPACK_IMPORTED_MODULE_125__ = __webpack_require__(/*! ./macros.button/components/ServerSideMacros */ \"./package/macros.button/components/ServerSideMacros.js\");\n/* harmony import */ var _actions_helpers_convertFlow__WEBPACK_IMPORTED_MODULE_126__ = __webpack_require__(/*! ./actions/helpers/convertFlow */ \"./package/actions/helpers/convertFlow.js\");\n/* harmony import */ var _actions_abstract_ActionsFlow__WEBPACK_IMPORTED_MODULE_127__ = __webpack_require__(/*! ./actions/abstract/ActionsFlow */ \"./package/actions/abstract/ActionsFlow.js\");\n/* harmony import */ var _actions_hooks_useCurrentAction__WEBPACK_IMPORTED_MODULE_128__ = __webpack_require__(/*! ./actions/hooks/useCurrentAction */ \"./package/actions/hooks/useCurrentAction.js\");\n/* harmony import */ var _actions_hooks_useUpdateCurrentAction__WEBPACK_IMPORTED_MODULE_129__ = __webpack_require__(/*! ./actions/hooks/useUpdateCurrentAction */ \"./package/actions/hooks/useUpdateCurrentAction.js\");\n/* harmony import */ var _actions_hooks_useUpdateCurrentActionMeta__WEBPACK_IMPORTED_MODULE_130__ = __webpack_require__(/*! ./actions/hooks/useUpdateCurrentActionMeta */ \"./package/actions/hooks/useUpdateCurrentActionMeta.js\");\n/* harmony import */ var _actions_hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_131__ = __webpack_require__(/*! ./actions/hooks/useActionsEdit */ \"./package/actions/hooks/useActionsEdit.js\");\n/* harmony import */ var _actions_hooks_useActionCallback__WEBPACK_IMPORTED_MODULE_132__ = __webpack_require__(/*! ./actions/hooks/useActionCallback */ \"./package/actions/hooks/useActionCallback.js\");\n/* harmony import */ var _actions_hooks_useActionDetail__WEBPACK_IMPORTED_MODULE_133__ = __webpack_require__(/*! ./actions/hooks/useActionDetail */ \"./package/actions/hooks/useActionDetail.js\");\n/* harmony import */ var _blocks_hooks_useUniqueNameOnDuplicate__WEBPACK_IMPORTED_MODULE_134__ = __webpack_require__(/*! ./blocks/hooks/useUniqueNameOnDuplicate */ \"./package/blocks/hooks/useUniqueNameOnDuplicate.js\");\n/* harmony import */ var _blocks_hooks_useFields__WEBPACK_IMPORTED_MODULE_135__ = __webpack_require__(/*! ./blocks/hooks/useFields */ \"./package/blocks/hooks/useFields.js\");\n/* harmony import */ var _blocks_components_SelectVariations__WEBPACK_IMPORTED_MODULE_136__ = __webpack_require__(/*! ./blocks/components/SelectVariations */ \"./package/blocks/components/SelectVariations.js\");\n/* harmony import */ var _blocks_components_ToggleGroupVariations__WEBPACK_IMPORTED_MODULE_137__ = __webpack_require__(/*! ./blocks/components/ToggleGroupVariations */ \"./package/blocks/components/ToggleGroupVariations.js\");\n/* harmony import */ var _components_BaseLabel__WEBPACK_IMPORTED_MODULE_138__ = __webpack_require__(/*! ./components/BaseLabel */ \"./package/components/BaseLabel.js\");\n/* harmony import */ var _blocks_hooks_useSupport__WEBPACK_IMPORTED_MODULE_139__ = __webpack_require__(/*! ./blocks/hooks/useSupport */ \"./package/blocks/hooks/useSupport.js\");\n/* harmony import */ var _blocks_components_AttributeHelp__WEBPACK_IMPORTED_MODULE_140__ = __webpack_require__(/*! ./blocks/components/AttributeHelp */ \"./package/blocks/components/AttributeHelp.js\");\n/* harmony import */ var _actions_components_ActionMessagesSlotFills__WEBPACK_IMPORTED_MODULE_141__ = __webpack_require__(/*! ./actions/components/ActionMessagesSlotFills */ \"./package/actions/components/ActionMessagesSlotFills.js\");\n/* harmony import */ var _actions_components_ListActionItem__WEBPACK_IMPORTED_MODULE_142__ = __webpack_require__(/*! ./actions/components/ListActionItem */ \"./package/actions/components/ListActionItem.js\");\n/* harmony import */ var _actions_components_ActionItemWrapper__WEBPACK_IMPORTED_MODULE_143__ = __webpack_require__(/*! ./actions/components/ActionItemWrapper */ \"./package/actions/components/ActionItemWrapper.js\");\n/* harmony import */ var _actions_components_ActionItemHeader__WEBPACK_IMPORTED_MODULE_144__ = __webpack_require__(/*! ./actions/components/ActionItemHeader */ \"./package/actions/components/ActionItemHeader.js\");\n/* harmony import */ var _actions_components_ActionItemFooter__WEBPACK_IMPORTED_MODULE_145__ = __webpack_require__(/*! ./actions/components/ActionItemFooter */ \"./package/actions/components/ActionItemFooter.js\");\n/* harmony import */ var _actions_components_EditActionSettingsButton__WEBPACK_IMPORTED_MODULE_146__ = __webpack_require__(/*! ./actions/components/EditActionSettingsButton */ \"./package/actions/components/EditActionSettingsButton.js\");\n/* harmony import */ var _actions_components_AllProActionsLink__WEBPACK_IMPORTED_MODULE_147__ = __webpack_require__(/*! ./actions/components/AllProActionsLink */ \"./package/actions/components/AllProActionsLink.js\");\n/* harmony import */ var _actions_components_AddActionButton__WEBPACK_IMPORTED_MODULE_148__ = __webpack_require__(/*! ./actions/components/AddActionButton */ \"./package/actions/components/AddActionButton.js\");\n/* harmony import */ var _actions_components_ActionsAfterNewButtonSlotFill__WEBPACK_IMPORTED_MODULE_149__ = __webpack_require__(/*! ./actions/components/ActionsAfterNewButtonSlotFill */ \"./package/actions/components/ActionsAfterNewButtonSlotFill.js\");\n/* harmony import */ var _actions_components_EditActionConditionsButton__WEBPACK_IMPORTED_MODULE_150__ = __webpack_require__(/*! ./actions/components/EditActionConditionsButton */ \"./package/actions/components/EditActionConditionsButton.js\");\n/* harmony import */ var _actions_components_ActionItemDetails__WEBPACK_IMPORTED_MODULE_151__ = __webpack_require__(/*! ./actions/components/ActionItemDetails */ \"./package/actions/components/ActionItemDetails.js\");\n/* harmony import */ var _actions_components_ActionItemDetailsSlotFill__WEBPACK_IMPORTED_MODULE_152__ = __webpack_require__(/*! ./actions/components/ActionItemDetailsSlotFill */ \"./package/actions/components/ActionItemDetailsSlotFill.js\");\n/* harmony import */ var _actions_components_ActionItemMoreButton__WEBPACK_IMPORTED_MODULE_153__ = __webpack_require__(/*! ./actions/components/ActionItemMoreButton */ \"./package/actions/components/ActionItemMoreButton.js\");\n/* harmony import */ var _actions_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_154__ = __webpack_require__(/*! ./actions/hooks/useLoopedAction */ \"./package/actions/hooks/useLoopedAction.js\");\n/* harmony import */ var _actions_components_SelectActionsControl__WEBPACK_IMPORTED_MODULE_155__ = __webpack_require__(/*! ./actions/components/SelectActionsControl */ \"./package/actions/components/SelectActionsControl.js\");\n/* harmony import */ var _actions_components_ActionModalHeaderSlotFill__WEBPACK_IMPORTED_MODULE_156__ = __webpack_require__(/*! ./actions/components/ActionModalHeaderSlotFill */ \"./package/actions/components/ActionModalHeaderSlotFill.js\");\n/* harmony import */ var _action_buttons_components_ActionButtonPlaceholder__WEBPACK_IMPORTED_MODULE_157__ = __webpack_require__(/*! ./action-buttons/components/ActionButtonPlaceholder */ \"./package/action-buttons/components/ActionButtonPlaceholder.js\");\n/* harmony import */ var _action_modal_components_ActionModalFooterSlotFill__WEBPACK_IMPORTED_MODULE_158__ = __webpack_require__(/*! ./action-modal/components/ActionModalFooterSlotFill */ \"./package/action-modal/components/ActionModalFooterSlotFill.js\");\n/* harmony import */ var _blocks_hooks_useScopedAttributesContext__WEBPACK_IMPORTED_MODULE_159__ = __webpack_require__(/*! ./blocks/hooks/useScopedAttributesContext */ \"./package/blocks/hooks/useScopedAttributesContext.js\");\n/* harmony import */ var _blocks_components_ScopedAttributesProvider__WEBPACK_IMPORTED_MODULE_160__ = __webpack_require__(/*! ./blocks/components/ScopedAttributesProvider */ \"./package/blocks/components/ScopedAttributesProvider.js\");\n/* harmony import */ var _blocks_helpers_getSupport__WEBPACK_IMPORTED_MODULE_161__ = __webpack_require__(/*! ./blocks/helpers/getSupport */ \"./package/blocks/helpers/getSupport.js\");\n/* harmony import */ var _events_hooks_useEvents__WEBPACK_IMPORTED_MODULE_162__ = __webpack_require__(/*! ./events/hooks/useEvents */ \"./package/events/hooks/useEvents.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// JFBComponents\nwindow.JetFBComponents = {\n BaseLabel: _components_BaseLabel__WEBPACK_IMPORTED_MODULE_138__[\"default\"],\n ActionFieldsMap: _action_fields_map_components_ActionFieldsMap__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n ActionModal: _action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n ActionModalContext: _action_modal_context_ActionModalContext__WEBPACK_IMPORTED_MODULE_66__[\"default\"],\n SafeDeleteContext: _repeater_context_safe_delete__WEBPACK_IMPORTED_MODULE_67__[\"default\"],\n RepeaterItemContext: _repeater_context_repeater_item__WEBPACK_IMPORTED_MODULE_68__[\"default\"],\n ActionListItemContext: _actions_context_ActionListItemContext__WEBPACK_IMPORTED_MODULE_69__[\"default\"],\n RepeaterBodyContext: _repeater_context_repeater_custom_item_body__WEBPACK_IMPORTED_MODULE_70__[\"default\"],\n RepeaterHeadContext: _repeater_context_repeater_custom_item_head__WEBPACK_IMPORTED_MODULE_71__[\"default\"],\n RepeaterButtonsContext: _repeater_context_repeater_custom_item_buttons__WEBPACK_IMPORTED_MODULE_72__[\"default\"],\n CurrentActionEditContext: _actions_context_CurrentActionEditContext__WEBPACK_IMPORTED_MODULE_80__[\"default\"],\n ActionFieldsMapContext: _action_fields_map_context_ActionFieldsMapContext__WEBPACK_IMPORTED_MODULE_81__[\"default\"],\n CurrentPropertyMapContext: _action_fields_map_context_CurrentPropertyMapContext__WEBPACK_IMPORTED_MODULE_82__[\"default\"],\n BlockValueItemContext: _context_block_value_item_context__WEBPACK_IMPORTED_MODULE_73__[\"default\"],\n DynamicPropertySelect: _action_fields_map_components_DynamicPropertySelect__WEBPACK_IMPORTED_MODULE_83__[\"default\"],\n SafeDeleteToggle: _repeater_components_safe_delete_toggle__WEBPACK_IMPORTED_MODULE_74__[\"default\"],\n RepeaterAddNew: _repeater_components_repeater_add_new__WEBPACK_IMPORTED_MODULE_75__[\"default\"],\n RepeaterAddOrOperator: _repeater_components_repeater_add_or__WEBPACK_IMPORTED_MODULE_86__[\"default\"],\n Repeater: _repeater_components_repeater__WEBPACK_IMPORTED_MODULE_76__[\"default\"],\n RequestButton: _actions_components_RequestButton__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n ValidateButton: _actions_components_ValidateButton__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n RequestLoadingButton: _actions_components_RequestLoadingButton__WEBPACK_IMPORTED_MODULE_57__[\"default\"],\n WrapperRequiredControl: _action_fields_map_components_WrapperRequiredControl__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n DynamicPreset: _preset_components_DynamicPreset__WEBPACK_IMPORTED_MODULE_40__[\"default\"],\n JetFieldsMapControl: _editor_blocks_controls_fields_map__WEBPACK_IMPORTED_MODULE_41__[\"default\"],\n FieldWithPreset: _preset_components_FieldWithPreset__WEBPACK_IMPORTED_MODULE_42__[\"default\"],\n GlobalField: _preset_components_GlobalFieldPreset__WEBPACK_IMPORTED_MODULE_43__[\"default\"],\n AvailableMapField: _preset_components_AvailableMapFieldPreset__WEBPACK_IMPORTED_MODULE_44__[\"default\"],\n MapField: _preset_components_MapFieldPreset__WEBPACK_IMPORTED_MODULE_45__[\"default\"],\n FieldWrapper: _blocks_components_FieldWrapper__WEBPACK_IMPORTED_MODULE_47__[\"default\"],\n MacrosInserter: _components_MacrosInserter__WEBPACK_IMPORTED_MODULE_48__[\"default\"],\n RepeaterWithState: _repeater_components_RepeaterWithState__WEBPACK_IMPORTED_MODULE_49__[\"default\"],\n AdvancedFields: _blocks_components_AdvancedFields__WEBPACK_IMPORTED_MODULE_51__[\"default\"],\n GeneralFields: _blocks_components_GeneralFields__WEBPACK_IMPORTED_MODULE_52__[\"default\"],\n ToolBarFields: _blocks_components_ToolBarFields__WEBPACK_IMPORTED_MODULE_53__[\"default\"],\n FieldControl: _blocks_components_FieldControl__WEBPACK_IMPORTED_MODULE_90__[\"default\"],\n PlaceholderMessage: _actions_components_PlaceholderMessage__WEBPACK_IMPORTED_MODULE_54__[\"default\"],\n HorizontalLine: _components_HorizontalLine__WEBPACK_IMPORTED_MODULE_56__[\"default\"],\n FieldSettingsWrapper: _blocks_components_FieldSettingsWrapper__WEBPACK_IMPORTED_MODULE_59__[\"default\"],\n ActionMessages: _actions_components_ActionMessages__WEBPACK_IMPORTED_MODULE_55__[\"default\"],\n GroupedSelectControl: _components_GroupedSelectControl__WEBPACK_IMPORTED_MODULE_60__[\"default\"],\n BaseHelp: _components_BaseHelp__WEBPACK_IMPORTED_MODULE_62__[\"default\"],\n ValidateButtonWithStore: _actions_components_ValidateButtonWithStore__WEBPACK_IMPORTED_MODULE_63__[\"default\"],\n GatewayFetchButton: _gateways_components_GatewayFetchButton__WEBPACK_IMPORTED_MODULE_64__[\"default\"],\n ValidationToggleGroup: _validation_components_ValidationToggleGroup__WEBPACK_IMPORTED_MODULE_77__[\"default\"],\n ValidationBlockMessage: _validation_components_ValidationBlockMessage__WEBPACK_IMPORTED_MODULE_78__[\"default\"],\n ValidationMetaMessage: _validation_components_ValidationMetaMessage__WEBPACK_IMPORTED_MODULE_79__[\"default\"],\n ActionFetchButton: _actions_components_ActionFetchButton__WEBPACK_IMPORTED_MODULE_84__[\"default\"],\n DynamicValues: _dynamic_value_components_DynamicValues__WEBPACK_IMPORTED_MODULE_85__[\"default\"],\n EditAdvancedRulesButton: _validation_components_EditAdvancedRulesButton__WEBPACK_IMPORTED_MODULE_87__[\"default\"],\n RepeaterStateContext: _repeater_context_repeater_state__WEBPACK_IMPORTED_MODULE_88__[\"default\"],\n RepeaterState: _repeater_components_repeater_state__WEBPACK_IMPORTED_MODULE_89__[\"default\"],\n BlockLabel: _blocks_components_BlockLabel__WEBPACK_IMPORTED_MODULE_91__[\"default\"],\n BlockName: _blocks_components_BlockName__WEBPACK_IMPORTED_MODULE_92__[\"default\"],\n BlockDescription: _blocks_components_BlockDescription__WEBPACK_IMPORTED_MODULE_93__[\"default\"],\n BlockDefaultValue: _blocks_components_BlockDefaultValue__WEBPACK_IMPORTED_MODULE_94__[\"default\"],\n BlockPlaceholder: _blocks_components_BlockPlaceholder__WEBPACK_IMPORTED_MODULE_95__[\"default\"],\n BlockAddPrevButton: _blocks_components_BlockAddPrevButton__WEBPACK_IMPORTED_MODULE_96__[\"default\"],\n BlockPrevButtonLabel: _blocks_components_BlockPrevButtonLabel__WEBPACK_IMPORTED_MODULE_97__[\"default\"],\n BlockVisibility: _blocks_components_BlockVisibility__WEBPACK_IMPORTED_MODULE_98__[\"default\"],\n BlockClassName: _blocks_components_BlockClassName__WEBPACK_IMPORTED_MODULE_99__[\"default\"],\n BlockAdvancedValue: _blocks_components_BlockAdvancedValue__WEBPACK_IMPORTED_MODULE_100__[\"default\"],\n MacrosFields: _macros_button_components_MacrosFields__WEBPACK_IMPORTED_MODULE_103__[\"default\"],\n MacrosButtonTemplate: _macros_button_components_MacrosButtonTemplate__WEBPACK_IMPORTED_MODULE_102__[\"default\"],\n MacrosFieldsTemplate: _macros_button_components_MacrosFieldsTemplate__WEBPACK_IMPORTED_MODULE_101__[\"default\"],\n ShowPopoverContext: _macros_button_context_PopoverContext__WEBPACK_IMPORTED_MODULE_104__[\"default\"],\n PopoverItem: _macros_button_context_PopoverItem__WEBPACK_IMPORTED_MODULE_105__[\"default\"],\n PresetButton: _preset_components_PresetButton__WEBPACK_IMPORTED_MODULE_106__[\"default\"],\n ConditionItem: _block_conditions_components_ConditionItem__WEBPACK_IMPORTED_MODULE_107__[\"default\"],\n AdvancedInspectorControl: _components_AdvancedInspectorControl__WEBPACK_IMPORTED_MODULE_108__[\"default\"],\n AdvancedModalControl: _components_AdvancedModalControl__WEBPACK_IMPORTED_MODULE_109__[\"default\"],\n ClientSideMacros: _macros_button_components_ClientSideMacros__WEBPACK_IMPORTED_MODULE_110__[\"default\"],\n ToggleControl: _components_ToggleControl__WEBPACK_IMPORTED_MODULE_114__[\"default\"],\n BaseAction: _actions_abstract_BaseAction__WEBPACK_IMPORTED_MODULE_115__[\"default\"],\n BaseComputedField: _actions_abstract_BaseComputedField__WEBPACK_IMPORTED_MODULE_117__[\"default\"],\n DetailsContainer: _components_DetailsContainer__WEBPACK_IMPORTED_MODULE_118__[\"default\"],\n HoverContainer: _components_HoverContainer__WEBPACK_IMPORTED_MODULE_119__[\"default\"],\n ContainersList: _components_ContainersList__WEBPACK_IMPORTED_MODULE_121__[\"default\"],\n HumanReadableConditions: _block_conditions_components_HumanReadableConditions__WEBPACK_IMPORTED_MODULE_122__[\"default\"],\n ConditionsRepeaterContextProvider: _block_conditions_components_ConditionsRepeaterContextProvider__WEBPACK_IMPORTED_MODULE_124__[\"default\"],\n ServerSideMacros: _macros_button_components_ServerSideMacros__WEBPACK_IMPORTED_MODULE_125__[\"default\"],\n ActionsFlow: _actions_abstract_ActionsFlow__WEBPACK_IMPORTED_MODULE_127__[\"default\"],\n SelectVariations: _blocks_components_SelectVariations__WEBPACK_IMPORTED_MODULE_136__[\"default\"],\n ToggleGroupVariations: _blocks_components_ToggleGroupVariations__WEBPACK_IMPORTED_MODULE_137__[\"default\"],\n AttributeHelp: _blocks_components_AttributeHelp__WEBPACK_IMPORTED_MODULE_140__[\"default\"],\n ActionMessagesSlotFills: _actions_components_ActionMessagesSlotFills__WEBPACK_IMPORTED_MODULE_141__[\"default\"],\n ActionsAfterNewButtonSlotFill: _actions_components_ActionsAfterNewButtonSlotFill__WEBPACK_IMPORTED_MODULE_149__[\"default\"],\n ListActionItem: _actions_components_ListActionItem__WEBPACK_IMPORTED_MODULE_142__[\"default\"],\n ActionItemWrapper: _actions_components_ActionItemWrapper__WEBPACK_IMPORTED_MODULE_143__[\"default\"],\n ActionItemHeader: _actions_components_ActionItemHeader__WEBPACK_IMPORTED_MODULE_144__[\"default\"],\n ActionItemFooter: _actions_components_ActionItemFooter__WEBPACK_IMPORTED_MODULE_145__[\"default\"],\n EditActionSettingsButton: _actions_components_EditActionSettingsButton__WEBPACK_IMPORTED_MODULE_146__[\"default\"],\n AllProActionsLink: _actions_components_AllProActionsLink__WEBPACK_IMPORTED_MODULE_147__[\"default\"],\n AddActionButton: _actions_components_AddActionButton__WEBPACK_IMPORTED_MODULE_148__[\"default\"],\n EditActionConditionsButton: _actions_components_EditActionConditionsButton__WEBPACK_IMPORTED_MODULE_150__[\"default\"],\n ActionItemDetails: _actions_components_ActionItemDetails__WEBPACK_IMPORTED_MODULE_151__[\"default\"],\n ActionItemDetailsSlotFill: _actions_components_ActionItemDetailsSlotFill__WEBPACK_IMPORTED_MODULE_152__[\"default\"],\n ActionItemMoreButton: _actions_components_ActionItemMoreButton__WEBPACK_IMPORTED_MODULE_153__[\"default\"],\n SelectActionsControl: _actions_components_SelectActionsControl__WEBPACK_IMPORTED_MODULE_155__[\"default\"],\n ActionModalHeaderSlotFill: _actions_components_ActionModalHeaderSlotFill__WEBPACK_IMPORTED_MODULE_156__[\"default\"],\n ActionButtonPlaceholder: _action_buttons_components_ActionButtonPlaceholder__WEBPACK_IMPORTED_MODULE_157__[\"default\"],\n ActionModalFooterSlotFill: _action_modal_components_ActionModalFooterSlotFill__WEBPACK_IMPORTED_MODULE_158__[\"default\"],\n ScopedAttributesProvider: _blocks_components_ScopedAttributesProvider__WEBPACK_IMPORTED_MODULE_160__[\"default\"]\n};\n\n// JFBFunctions\nwindow.JetFBActions = {\n addAction: _actions_helpers_addAction__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n withPreset: _preset_components_withPreset__WEBPACK_IMPORTED_MODULE_50__[\"default\"],\n getInnerBlocks: _blocks_helpers_getInnerBlocks__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n getAvailableFieldsString: _blocks_helpers_getAvailableFieldsString__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n getAvailableFields: _blocks_helpers_getAvailableFields__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n getFormFieldsBlocks: _blocks_helpers_getFormFieldsBlocks__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n getFieldsWithoutCurrent: _blocks_helpers_getFieldsWithoutCurrent__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n gatewayAttr: _gateways_helpers_gatewayAttr__WEBPACK_IMPORTED_MODULE_14__[\"default\"],\n gatewayLabel: _gateways_helpers_gatewayLabel__WEBPACK_IMPORTED_MODULE_15__[\"default\"],\n registerGateway: _gateways_helpers_registerGateway__WEBPACK_IMPORTED_MODULE_16__[\"default\"],\n Tools: _tools__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n event: _tools__WEBPACK_IMPORTED_MODULE_6__.event,\n listen: _tools__WEBPACK_IMPORTED_MODULE_6__.listen,\n renderGateway: _gateways_helpers_renderGateway__WEBPACK_IMPORTED_MODULE_17__[\"default\"],\n renderGatewayWithPlaceholder: _gateways_helpers_renderGatewayWithPlaceholder__WEBPACK_IMPORTED_MODULE_18__[\"default\"],\n globalTab: _actions_helpers_globalTab__WEBPACK_IMPORTED_MODULE_39__[\"default\"],\n versionCompare: _tools__WEBPACK_IMPORTED_MODULE_6__.versionCompare,\n convertListToFieldsMap: _actions_helpers_convertListToFieldsMap__WEBPACK_IMPORTED_MODULE_58__[\"default\"],\n maybeCyrToLatin: _tools__WEBPACK_IMPORTED_MODULE_6__.maybeCyrToLatin,\n getConvertedName: _tools__WEBPACK_IMPORTED_MODULE_6__.getConvertedName,\n getBlockControls: _blocks_helpers_getBlockControls__WEBPACK_IMPORTED_MODULE_61__[\"default\"],\n classnames: _tools__WEBPACK_IMPORTED_MODULE_6__.classnames,\n getBlocksByName: _blocks_helpers_getBlocksByName__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n convertObjectToOptionsList: _tools__WEBPACK_IMPORTED_MODULE_6__.convertObjectToOptionsList,\n appendField: _blocks_helpers_appendField__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n insertMacro: _macros_button_functions__WEBPACK_IMPORTED_MODULE_111__.insertMacro,\n addDetail: _actions_helpers_addDetail__WEBPACK_IMPORTED_MODULE_113__[\"default\"],\n column: _tools__WEBPACK_IMPORTED_MODULE_6__.column,\n addComputedField: _actions_helpers_addComputedField__WEBPACK_IMPORTED_MODULE_116__[\"default\"],\n getCurrentInnerBlocks: _blocks_helpers_getCurrentInnerBlocks__WEBPACK_IMPORTED_MODULE_120__[\"default\"],\n humanReadableCondition: _block_conditions_helpers_humanReadableCondition__WEBPACK_IMPORTED_MODULE_123__[\"default\"],\n convertFlow: _actions_helpers_convertFlow__WEBPACK_IMPORTED_MODULE_126__[\"default\"],\n assetUrl: _tools__WEBPACK_IMPORTED_MODULE_6__.assetUrl,\n set: _tools__WEBPACK_IMPORTED_MODULE_6__.set,\n isEmpty: _tools__WEBPACK_IMPORTED_MODULE_6__.isEmpty,\n getSupport: _blocks_helpers_getSupport__WEBPACK_IMPORTED_MODULE_161__[\"default\"]\n};\n\n// JFBHooks\nwindow.JetFBHooks = {\n useActions: _actions_hooks_useActions__WEBPACK_IMPORTED_MODULE_19__[\"default\"],\n useMetaState: _hooks_useMetaState__WEBPACK_IMPORTED_MODULE_20__[\"default\"],\n useSelectPostMeta: _hooks_useSelectPostMeta__WEBPACK_IMPORTED_MODULE_25__[\"default\"],\n useStateValidClasses: _hooks_useStateValidClasses__WEBPACK_IMPORTED_MODULE_22__[\"default\"],\n useStateLoadingClasses: _hooks_useStateLoadingClasses__WEBPACK_IMPORTED_MODULE_21__[\"default\"],\n useSuccessNotice: _hooks_useSuccessNotice__WEBPACK_IMPORTED_MODULE_23__[\"default\"],\n useEvents: _events_hooks_useEvents__WEBPACK_IMPORTED_MODULE_162__[\"default\"],\n useRequestEvents: _events_hooks_useRequestEvents__WEBPACK_IMPORTED_MODULE_33__[\"default\"],\n useBlockConditions: _block_conditions_hooks_useBlockConditions__WEBPACK_IMPORTED_MODULE_34__[\"default\"],\n useUniqKey: _blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_35__[\"default\"],\n useBlockAttributes: _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_37__[\"default\"],\n useIsAdvancedValidation: _blocks_hooks_useIsAdvancedValidation__WEBPACK_IMPORTED_MODULE_36__[\"default\"],\n useGroupedValidationMessages: _validation_hooks_useGroupedValidationMessages__WEBPACK_IMPORTED_MODULE_46__[\"default\"],\n useSanitizeFieldsMap: _actions_hooks_useSanitizeFieldsMap__WEBPACK_IMPORTED_MODULE_31__[\"default\"],\n withRequestFields: _actions_hooks_withRequestFields__WEBPACK_IMPORTED_MODULE_26__[\"default\"],\n useRequestFields: _actions_hooks_useRequestFields__WEBPACK_IMPORTED_MODULE_24__[\"default\"],\n withSelectActionLoading: _actions_hooks_withSelectActionLoading__WEBPACK_IMPORTED_MODULE_32__[\"default\"],\n withSelectFormFields: _hooks_withSelectFormFields__WEBPACK_IMPORTED_MODULE_28__[\"default\"],\n withSelectGateways: _gateways_hooks_withSelectGateways__WEBPACK_IMPORTED_MODULE_29__[\"default\"],\n withDispatchGateways: _gateways_hooks_withDispatchGateways__WEBPACK_IMPORTED_MODULE_30__[\"default\"],\n useOnUpdateModal: _action_modal_hooks_useOnUpdateModal__WEBPACK_IMPORTED_MODULE_27__[\"default\"],\n useInsertMacro: _macros_button_hooks_useInsertMacro__WEBPACK_IMPORTED_MODULE_112__[\"default\"],\n useIsHasAttribute: _hooks_useIsHasAttribute__WEBPACK_IMPORTED_MODULE_38__[\"default\"],\n useCurrentAction: _actions_hooks_useCurrentAction__WEBPACK_IMPORTED_MODULE_128__[\"default\"],\n useUpdateCurrentAction: _actions_hooks_useUpdateCurrentAction__WEBPACK_IMPORTED_MODULE_129__[\"default\"],\n useUpdateCurrentActionMeta: _actions_hooks_useUpdateCurrentActionMeta__WEBPACK_IMPORTED_MODULE_130__[\"default\"],\n useActionsEdit: _actions_hooks_useActionsEdit__WEBPACK_IMPORTED_MODULE_131__[\"default\"],\n useActionCallback: _actions_hooks_useActionCallback__WEBPACK_IMPORTED_MODULE_132__[\"default\"],\n useActionDetail: _actions_hooks_useActionDetail__WEBPACK_IMPORTED_MODULE_133__[\"default\"],\n useUniqueNameOnDuplicate: _blocks_hooks_useUniqueNameOnDuplicate__WEBPACK_IMPORTED_MODULE_134__[\"default\"],\n useFields: _blocks_hooks_useFields__WEBPACK_IMPORTED_MODULE_135__[\"default\"],\n useSupport: _blocks_hooks_useSupport__WEBPACK_IMPORTED_MODULE_139__[\"default\"],\n useLoopedAction: _actions_hooks_useLoopedAction__WEBPACK_IMPORTED_MODULE_154__[\"default\"],\n useScopedAttributesContext: _blocks_hooks_useScopedAttributesContext__WEBPACK_IMPORTED_MODULE_159__[\"default\"]\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL21hbmFnZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBNkU7QUFDYjtBQUVGO0FBQ0M7QUFDRTtBQUNiO0FBYW5DO0FBRW9EO0FBRW5CO0FBQ2E7QUFDZ0I7QUFDUjtBQUNWO0FBQ047QUFFRTtBQUNFO0FBQ007QUFDSjtBQUVMO0FBQ0o7QUFDSjtBQUNvQjtBQUNKO0FBQ1I7QUFDUTtBQUNOO0FBQ1E7QUFDRztBQUNMO0FBQ0s7QUFDSTtBQUNEO0FBQ007QUFDZjtBQUNjO0FBQzFCO0FBQz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25Nb2RhbEZvb3RlclNsb3RGaWxsIiwidXNlU2NvcGVkQXR0cmlidXRlc0NvbnRleHQiLCJTY29wZWRBdHRyaWJ1dGVzUHJvdmlkZXIiLCJnZXRTdXBwb3J0IiwidXNlRXZlbnRzIiwid2luZG93IiwiSmV0RkJDb21wb25lbnRzIiwiR2xvYmFsRmllbGQiLCJBdmFpbGFibGVNYXBGaWVsZCIsIk1hcEZpZWxkIiwiU2hvd1BvcG92ZXJDb250ZXh0IiwiSmV0RkJBY3Rpb25zIiwiSmV0RkJIb29rcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/manager.js\n"); + +/***/ }), + +/***/ "./package/migrations/migrate.gateways.settings.js": +/*!*********************************************************!*\ + !*** ./package/migrations/migrate.gateways.settings.js ***! + \*********************************************************/ +/***/ (() => { + +eval("function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar getMeta = function getMeta() {\n var select = wp.data.select;\n return select('core/editor').getEditedPostAttribute('meta');\n};\nvar editMeta = function editMeta(name, objectValue) {\n var dispatch = wp.data.dispatch;\n var _dispatch = dispatch('core/editor'),\n editPost = _dispatch.editPost;\n var formBuilderMeta = getMeta();\n editPost({\n meta: _objectSpread(_objectSpread({}, formBuilderMeta), {}, _defineProperty({}, name, JSON.stringify(objectValue)))\n });\n};\nvar getActiveActions = function getActiveActions(actions) {\n var response = [];\n for (var _i = 0, _Object$entries = Object.entries(actions); _i < _Object$entries.length; _i++) {\n var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),\n action_id = _Object$entries$_i[0],\n _Object$entries$_i$1$ = _Object$entries$_i[1].active,\n active = _Object$entries$_i$1$ === void 0 ? false : _Object$entries$_i$1$;\n if (!active) {\n continue;\n }\n response.push(+action_id);\n }\n return response;\n};\nvar getGatewaysActions = function getGatewaysActions() {\n var formBuilderMeta = getMeta();\n var gateways = {},\n actions = [];\n try {\n gateways = JSON.parse(formBuilderMeta['_jf_gateways']);\n } catch (error) {\n return [];\n }\n if (1 === gateways.last_migrate) {\n throw 'migrated';\n }\n try {\n actions = JSON.parse(formBuilderMeta['_jf_actions']);\n } catch (error) {\n return [gateways];\n }\n return [gateways, actions];\n};\nvar migrate = function migrate(gateways, actions) {\n var _gateways$notificatio, _gateways$notificatio2, _gateways$notificatio3, _gateways$use_success;\n var on_success = getActiveActions((_gateways$notificatio = gateways['notifications_success']) !== null && _gateways$notificatio !== void 0 ? _gateways$notificatio : {});\n var on_failed = getActiveActions((_gateways$notificatio2 = gateways['notifications_failed']) !== null && _gateways$notificatio2 !== void 0 ? _gateways$notificatio2 : {});\n var on_before = getActiveActions((_gateways$notificatio3 = gateways['notifications_before']) !== null && _gateways$notificatio3 !== void 0 ? _gateways$notificatio3 : {});\n var use_redirect = (_gateways$use_success = gateways['use_success_redirect']) !== null && _gateways$use_success !== void 0 ? _gateways$use_success : false;\n var has_redirect = false;\n if (!on_success.length && !on_failed.length && !on_before.length && !use_redirect) {\n throw 'nothing_to_migrate';\n }\n return actions.map(function (action) {\n var _action$events;\n action.events = (_action$events = action.events) !== null && _action$events !== void 0 ? _action$events : [];\n if (on_success.includes(action.id)) {\n action.events.push('GATEWAY.SUCCESS');\n }\n if (on_failed.includes(action.id)) {\n action.events.push('GATEWAY.FAILED');\n }\n if (on_before.includes(action.id)) {\n action.events.push('DEFAULT.PROCESS');\n }\n if (use_redirect && !has_redirect && 'redirect_to_page' === action.type) {\n action.events.push('GATEWAY.SUCCESS');\n has_redirect = true;\n }\n return action;\n });\n};\nvar runEvent = function runEvent() {\n var gateways = {},\n actions = [];\n try {\n var _getGatewaysActions = getGatewaysActions();\n var _getGatewaysActions2 = _slicedToArray(_getGatewaysActions, 2);\n var _getGatewaysActions2$ = _getGatewaysActions2[0];\n gateways = _getGatewaysActions2$ === void 0 ? {} : _getGatewaysActions2$;\n var _getGatewaysActions2$2 = _getGatewaysActions2[1];\n actions = _getGatewaysActions2$2 === void 0 ? [] : _getGatewaysActions2$2;\n } catch (error) {\n return;\n }\n gateways.last_migrate = 1;\n editMeta('_jf_gateways', gateways);\n var withConditions = [];\n try {\n withConditions.push.apply(withConditions, _toConsumableArray(migrate(gateways, actions)));\n } catch (error) {\n return;\n }\n editMeta('_jf_actions', withConditions);\n};\nwp.domReady(function () {\n return set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sourceURL=webpack-internal:///./package/migrations/migrate.gateways.settings.js\n"); + +/***/ }), + +/***/ "./package/preset/components/AvailableMapFieldPreset.js": +/*!**************************************************************!*\ + !*** ./package/preset/components/AvailableMapFieldPreset.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _components_GroupedSelectControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../components/GroupedSelectControl */ \"./package/components/GroupedSelectControl.js\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n SelectControl = _wp$components.SelectControl,\n CustomSelectControl = _wp$components.CustomSelectControl,\n Card = _wp$components.Card,\n CardBody = _wp$components.CardBody,\n CardHeader = _wp$components.CardHeader;\nfunction AvailableMapFieldPreset(_ref) {\n var fieldsMap = _ref.fieldsMap,\n field = _ref.field,\n index = _ref.index,\n value = _ref.value,\n onChangeValue = _ref.onChangeValue,\n isMapFieldVisible = _ref.isMapFieldVisible;\n var currentVal = null;\n if (!fieldsMap) {\n fieldsMap = {};\n }\n currentVal = fieldsMap[field];\n if (!currentVal || 'object' !== _typeof(currentVal)) {\n currentVal = {};\n }\n var AvailableFieldWrapper = function AvailableFieldWrapper(_ref2) {\n var field = _ref2.field,\n name = _ref2.name,\n index = _ref2.index,\n fIndex = _ref2.fIndex,\n children = _ref2.children;\n return wp.element.createElement(Card, {\n key: field + name + index + fIndex,\n size: 'extraSmall',\n style: {\n marginBottom: '10px'\n }\n }, wp.element.createElement(CardHeader, null, wp.element.createElement(\"span\", {\n className: \"jet-label-overflow\"\n }, field)), wp.element.createElement(CardBody, {\n key: field + name + index + fIndex,\n className: 'jet-form-preset__fields-map-item'\n }, children));\n };\n function AvailableFieldWrapperFunc(_ref3, children) {\n var field = _ref3.field,\n name = _ref3.name,\n index = _ref3.index,\n fIndex = _ref3.fIndex;\n return wp.element.createElement(Card, {\n key: field + name + index + fIndex,\n size: 'extraSmall',\n style: {\n marginBottom: '10px'\n }\n }, wp.element.createElement(CardHeader, null, wp.element.createElement(\"span\", {\n className: \"jet-label-overflow\"\n }, field)), wp.element.createElement(CardBody, {\n key: field + name + index + fIndex,\n className: 'jet-form-preset__fields-map-item'\n }, children));\n }\n return wp.element.createElement(React.Fragment, {\n key: \"map_field_preset_\".concat(field + index)\n }, window.JetFormEditorData.presetConfig.map_fields.map(function (data, fIndex) {\n var props = {\n field: field,\n name: data.name,\n index: index,\n fIndex: fIndex\n };\n var uniqKey = 'control_' + field + data.name + index + fIndex;\n switch (data.type) {\n case 'text':\n return isMapFieldVisible(value, data, field) && AvailableFieldWrapperFunc(props, wp.element.createElement(TextControl, {\n key: uniqKey + 'TextControl',\n placeholder: data.label,\n value: currentVal[data.name],\n onChange: function onChange(newVal) {\n currentVal[data.name] = newVal;\n onChangeValue(_objectSpread(_objectSpread({}, fieldsMap), {}, _defineProperty({}, field, currentVal)), 'fields_map');\n }\n }));\n case 'select':\n return isMapFieldVisible(value, data, field) && wp.element.createElement(AvailableFieldWrapper, _extends({}, props, {\n key: uniqKey\n }), wp.element.createElement(SelectControl, {\n options: data.options\n //label={ data.label }\n ,\n labelPosition: \"top\",\n value: currentVal[data.name],\n onChange: function onChange(newVal) {\n currentVal[data.name] = newVal;\n onChangeValue(_objectSpread(_objectSpread({}, fieldsMap), {}, _defineProperty({}, field, currentVal)), 'fields_map');\n }\n }));\n case 'custom_select':\n return isMapFieldVisible(value, data, field) && wp.element.createElement(AvailableFieldWrapper, _extends({}, props, {\n key: uniqKey\n }), wp.element.createElement(CustomSelectControl, {\n options: data.options,\n onChange: function onChange(_ref4) {\n var selectedItem = _ref4.selectedItem;\n currentVal[data.name] = selectedItem.key;\n onChangeValue(_objectSpread(_objectSpread({}, fieldsMap), {}, _defineProperty({}, field, currentVal)), 'fields_map');\n },\n value: data.options.find(function (option) {\n return option.key === currentVal[data.name];\n })\n }));\n case 'grouped_select':\n return isMapFieldVisible(value, data, field) && wp.element.createElement(AvailableFieldWrapper, _extends({}, props, {\n key: uniqKey\n }), wp.element.createElement(_components_GroupedSelectControl__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n options: data.options\n //label={ data.label }\n ,\n labelPosition: \"top\",\n value: currentVal[data.name],\n onChange: function onChange(newVal) {\n currentVal[data.name] = newVal;\n onChangeValue(_objectSpread(_objectSpread({}, fieldsMap), {}, _defineProperty({}, field, currentVal)), 'fields_map');\n }\n }));\n }\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AvailableMapFieldPreset);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ByZXNldC9jb21wb25lbnRzL0F2YWlsYWJsZU1hcEZpZWxkUHJlc2V0LmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUF5RTtBQUV6RSxJQUFBQyxjQUFBLEdBT1VDLEVBQUUsQ0FBQ0MsVUFBVTtFQU5oQkMsV0FBVyxHQUFBSCxjQUFBLENBQVhHLFdBQVc7RUFDWEMsYUFBYSxHQUFBSixjQUFBLENBQWJJLGFBQWE7RUFDYkMsbUJBQW1CLEdBQUFMLGNBQUEsQ0FBbkJLLG1CQUFtQjtFQUNuQkMsSUFBSSxHQUFBTixjQUFBLENBQUpNLElBQUk7RUFDSkMsUUFBUSxHQUFBUCxjQUFBLENBQVJPLFFBQVE7RUFDUkMsVUFBVSxHQUFBUixjQUFBLENBQVZRLFVBQVU7QUFHakIsU0FBU0MsdUJBQXVCQSxDQUFBQyxJQUFBLEVBTzVCO0VBQUEsSUFOSEMsU0FBUyxHQUFBRCxJQUFBLENBQVRDLFNBQVM7SUFDVEMsS0FBSyxHQUFBRixJQUFBLENBQUxFLEtBQUs7SUFDTEMsS0FBSyxHQUFBSCxJQUFBLENBQUxHLEtBQU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c3RvbVNlbGVjdENvbnRyb2wiLCJDYXJkIiwiQ2FyZEJvZHkiLCJDYXJkSGVhZGVyIiwiQXZhaWxhYmxlTWFwRmllbGRQcmVzZXQiLCJfcmVmIiwiZmllbGRzTWFwIiwiZmllbGQiLCJpbmRleCIsInZhbHVlIiwib25DaGFuZ2VWYWx1ZSIsImlzTWFwRmllbGRWaXNpYmxlIiwiY3VycmVudFZhbCIsIl90eXBlb2YiLCJBdmFpbGFibGVGaWVsZFdyYXBwZXIiLCJfcmVmMiIsIm5hbWUiLCJmSW5kZXgiLCJjaGlsZHJlbiIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50Iiwia2V5Iiwic2l6ZSIsInN0eWxlIiwibWFyZ2luQm90dG9tIiwiY2xhc3NOYW1lIiwiQXZhaWxhYmxlRmllbGRXcmFwcGVyRnVuYyIsIl9yZWYzIiwiUmVhY3QiLCJGcmFnbWVudCIsImNvbmNhdCIsIndpbmRvdyIsIkpldEZvcm1FZGl0b3JEYXRhIiwicHJlc2V0Q29uZmlnIiwibWFwX2ZpZWxkcyIsIm1hcCIsImRhdGEiLCJwcm9wcyIsInVuaXFLZXkiLCJ0eXBlIiwicGxhY2Vob2xkZXIiLCJsYWJlbCIsIm9uQ2hhbmdlIiwibmV3VmFsIiwiX29iamVjdFNwcmVhZCIsIl9kZWZpbmVQcm9wZXJ0eSIsIl9leHRlbmRzIiwib3B0aW9ucyIsImxhYmVsUG9zaXRpb24iLCJfcmVmNCIsInNlbGVjdGVkSXRlbSIsImZpbmQiLCJvcHRpb24iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/preset/components/AvailableMapFieldPreset.js\n"); + +/***/ }), + +/***/ "./package/preset/components/DynamicPreset.js": +/*!****************************************************!*\ + !*** ./package/preset/components/DynamicPreset.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _withPreset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./withPreset */ \"./package/preset/components/withPreset.js\");\n/* harmony import */ var _GlobalFieldPreset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GlobalFieldPreset */ \"./package/preset/components/GlobalFieldPreset.js\");\n/* harmony import */ var _MapFieldPreset__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MapFieldPreset */ \"./package/preset/components/MapFieldPreset.js\");\n/* harmony import */ var _action_modal_context_ActionModalContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../action-modal/context/ActionModalContext */ \"./package/action-modal/context/ActionModalContext.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\nvar _wp$element = wp.element,\n useState = _wp$element.useState,\n useEffect = _wp$element.useEffect,\n useContext = _wp$element.useContext;\nvar DynamicPreset = function DynamicPreset(_ref) {\n var value = _ref.value,\n isSaveAction = _ref.isSaveAction,\n onSavePreset = _ref.onSavePreset,\n onUnMount = _ref.onUnMount,\n parseValue = _ref.parseValue,\n excludeOptions = _ref.excludeOptions,\n isCurrentFieldVisible = _ref.isCurrentFieldVisible,\n isVisible = _ref.isVisible;\n var position = 'dynamic';\n var _useState = useState(function () {\n return parseValue(value);\n }),\n _useState2 = _slicedToArray(_useState, 2),\n stateValue = _useState2[0],\n setValue = _useState2[1];\n var _useContext = useContext(_action_modal_context_ActionModalContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n actionClick = _useContext.actionClick,\n onRequestClose = _useContext.onRequestClose;\n if ('undefined' === typeof isSaveAction) {\n isSaveAction = actionClick;\n }\n if ('undefined' === typeof onUnMount) {\n onUnMount = onRequestClose;\n }\n var onChangeValue = function onChangeValue(newValue, name) {\n setValue(function (prev) {\n return _objectSpread(_objectSpread({}, prev), {}, _defineProperty({}, name, newValue));\n });\n };\n useEffect(function () {\n // update field attributes\n if (isSaveAction && onSavePreset) {\n onSavePreset(JSON.stringify(stateValue));\n }\n if (null !== isSaveAction) {\n onUnMount();\n }\n }, [isSaveAction]);\n return wp.element.createElement(React.Fragment, null, window.JetFormEditorData.presetConfig.global_fields.map(function (data, index) {\n return wp.element.createElement(_GlobalFieldPreset__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n key: \"current_field_\".concat(data.name, \"_\").concat(index),\n value: stateValue,\n index: index,\n data: data,\n excludeOptions: excludeOptions,\n onChangeValue: onChangeValue,\n isVisible: isVisible,\n position: position\n });\n }), window.JetFormEditorData.presetConfig.map_fields.map(function (data, index) {\n return wp.element.createElement(_MapFieldPreset__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n key: \"current_field_\".concat(data.name, \"_\").concat(index),\n currentState: stateValue,\n value: stateValue['current_field_' + data.name],\n index: index,\n data: data,\n onChangeValue: onChangeValue,\n isCurrentFieldVisible: isCurrentFieldVisible,\n position: position\n });\n }));\n};\nDynamicPreset = (0,_withPreset__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(DynamicPreset);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DynamicPreset);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ByZXNldC9jb21wb25lbnRzL0R5bmFtaWNQcmVzZXQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBc0M7QUFDYztBQUNOO0FBQ2lDO0FBRS9FLElBQUFJLFdBQUEsR0FJVUMsRUFBRSxDQUFDQyxPQUFPO0VBSGJDLFFBQVEsR0FBQUgsV0FBQSxDQUFSRyxRQUFRO0VBQ1JDLFNBQVMsR0FBQUosV0FBQSxDQUFUSSxTQUFTO0VBQ1RDLFVBQVUsR0FBQUwsV0FBQSxDQUFWSyxVQUFVO0FBR2pCLElBQUlDLGFBQWEsR0FBRyxTQUFBQSxjQUFBQyxJQUFBLEVBU2hCO0VBQUEsSUFSSEMsS0FBSyxHQUFBRCxJQUFBLENBQUxDLEtBQUs7SUFDTEMsWUFBWSxHQUFBRixJQUFBLENBQVpFLFlBQVk7SUFDWkMsWUFBWSxHQUFBSCxJQUFBLENBQVpHLFlBQVk7SUFDWkMsU0FBUyxHQUFBSixJQUFBLENBQVRJLFNBQVM7SUFDVEMsVUFBVSxHQUFBTCxJQUFBLENBQVZLLFVBQVU7SUFDVkMsY0FBYyxHQUFBTixJQUFBLENBQWRNLGNBQWM7SUFDZEMscUJBQXFCLEdBQUFQLElBQUEsQ0FBckJPLHFCQUFxQjtJQUNyQkMsU0FBUyxHQUFBUixJQUFBLENBQVR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nR5IiwiSlNPTiIsInN0cmluZ2lmeSIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50Iiwid2luZG93IiwiSmV0Rm9ybUVkaXRvckRhdGEiLCJwcmVzZXRDb25maWciLCJnbG9iYWxfZmllbGRzIiwibWFwIiwiZGF0YSIsImluZGV4Iiwia2V5IiwiY29uY2F0IiwibWFwX2ZpZWxkcyIsImN1cnJlbnRTdGF0ZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/preset/components/DynamicPreset.js\n"); + +/***/ }), + +/***/ "./package/preset/components/FieldWithPreset.js": +/*!******************************************************!*\ + !*** ./package/preset/components/FieldWithPreset.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../action-modal/components/ActionModal */ \"./package/action-modal/components/ActionModal.js\");\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar _wp$components = wp.components,\n Path = _wp$components.Path,\n SVG = _wp$components.SVG,\n BaseControl = _wp$components.BaseControl;\nvar useState = wp.element.useState;\nfunction FieldWithPreset(_ref) {\n var _ref$children = _ref.children,\n children = _ref$children === void 0 ? null : _ref$children,\n ModalEditor = _ref.ModalEditor,\n _ref$triggerClasses = _ref.triggerClasses,\n triggerClasses = _ref$triggerClasses === void 0 ? [] : _ref$triggerClasses,\n _ref$baseControlProps = _ref.baseControlProps,\n baseControlProps = _ref$baseControlProps === void 0 ? {} : _ref$baseControlProps;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n modalState = _useState2[0],\n setModalState = _useState2[1];\n var changeModalState = function changeModalState() {\n setModalState(function (prev) {\n return !prev;\n });\n };\n var classNames = ['jet-form-dynamic-preset__trigger'].concat(_toConsumableArray(triggerClasses)).join(' ');\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(BaseControl, _extends({\n className: \"jet-form-dynamic-preset\"\n }, baseControlProps), children, wp.element.createElement(\"div\", {\n className: classNames,\n onClick: changeModalState\n }, wp.element.createElement(SVG, {\n viewBox: \"0 0 54 64\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\"\n }, wp.element.createElement(Path, {\n d: \"M42.6396 26.4347C37.8682 27.3436 32.5666 28.0252 27.1894 28.0252C21.8121 28.0252 16.4348 27.3436 11.7391 26.4347C6.96774 25.4502 3.18093 23.8597 0.37868 21.9663L0.37868 28.0252C0.37868 29.5399 1.59046 31.1304 3.78682 32.4179C5.98317 33.7054 9.46704 34.9172 13.6325 35.5988C17.798 36.2805 22.115 36.8106 27.1894 36.8106C32.2637 36.8106 36.6564 36.5077 40.7462 35.5988C44.8359 34.69 48.3198 33.7054 50.5162 32.4179C52.7125 31.1304 54 29.5399 54 28.0252L54 21.9663C51.122 23.8597 47.3352 25.4502 42.6396 26.4347ZM42.6396 53.5484C37.8682 54.5329 32.5666 55.1388 27.1894 55.1388C21.8121 55.1388 16.4348 54.5329 11.7391 53.5484C7.04348 52.5638 3.18093 51.0491 0.378682 49.1556L0.378682 55.1388C0.378683 56.7293 1.59046 58.3197 3.78682 59.5315C6.36186 60.819 9.46705 62.1066 13.6325 62.7125C17.7223 63.697 22.115 64 27.1894 64C32.2637 64 36.6564 63.697 40.7462 62.7125C44.8359 61.8036 48.3198 60.819 50.5162 59.5315C52.7125 57.9411 54 56.7293 54 54.8359L54 48.8527C51.122 51.0491 47.3352 52.2608 42.6396 53.5484ZM42.6396 39.9915C37.8682 40.9004 32.5666 41.582 27.1894 41.582C21.8121 41.582 16.4348 40.9004 11.7391 39.9915C6.96774 39.007 3.18093 37.4922 0.378681 35.5988L0.378681 41.582C0.378681 43.1725 1.59046 44.6872 3.78682 45.9747C6.36185 47.2622 9.46705 48.474 13.6325 49.1556C17.7223 50.0645 22.115 50.3674 27.1894 50.3674C32.2637 50.3674 36.6564 50.0645 40.7462 49.1556C44.8359 48.1711 48.3198 47.2622 50.5162 45.9747C52.7125 44.3843 54 43.1725 54 41.582L54 35.5988C51.122 37.4922 47.3352 39.007 42.6396 39.9915ZM40.4432 2.12337C36.3535 1.13879 31.885 0.835848 26.8864 0.835849C21.8878 0.835849 17.4194 1.13879 13.2539 2.12337C9.08836 3.10794 5.68022 4.01678 3.48387 5.3043C1.28751 6.59181 -3.4782e-06 8.10654 -3.33916e-06 9.697L-2.95513e-06 14.0897C-2.81609e-06 15.6802 1.28752 17.2706 3.48387 18.5582C6.05891 19.7699 9.1641 21.0575 13.2539 21.6633C17.3436 22.2692 21.8121 22.9509 26.8864 22.9509C31.9607 22.9509 36.3535 22.9509 40.4432 22.345C44.533 21.7391 48.0169 20.4516 50.2132 19.164C52.7125 17.5736 54 15.9831 54 14.3927L54 9.99995C54 8.40948 52.7125 6.81902 50.5162 5.60724C48.3198 4.39546 44.533 2.72926 40.4432 2.12337Z\",\n fill: \"#7E8993\"\n })))), modalState && wp.element.createElement(_action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n onRequestClose: changeModalState,\n classNames: ['width-60'],\n title: 'Edit Preset'\n }, function (modalProps) {\n return wp.element.createElement(ModalEditor, modalProps);\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (FieldWithPreset);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9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ZW4iLCJNb2RhbEVkaXRvciIsIl9yZWYkdHJpZ2dlckNsYXNzZXMiLCJ0cmlnZ2VyQ2xhc3NlcyIsIl9yZWYkYmFzZUNvbnRyb2xQcm9wcyIsImJhc2VDb250cm9sUHJvcHMiLCJfdXNlU3RhdGUiLCJfdXNlU3RhdGUyIiwiX3NsaWNlZFRvQXJyYXkiLCJtb2RhbFN0YXRlIiwic2V0TW9kYWxTdGF0ZSIsImNoYW5nZU1vZGFsU3RhdGUiLCJwcmV2IiwiY2xhc3NOYW1lcyIsImNvbmNhdCIsIl90b0NvbnN1bWFibGVBcnJheSIsImpvaW4iLCJjcmVhdGVFbGVtZW50IiwiUmVhY3QiLCJGcmFnbWVudCIsIl9leHRlbmRzIiwiY2xhc3NOYW1lIiwib25DbGljayIsInZpZXdCb3giLCJmaWxsIiwieG1sbnMiLCJkIiwib25SZXF1ZXN0Q2xvc2UiLCJ0aXRsZSIsIm1vZGFsUHJvcHMiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/preset/components/FieldWithPreset.js\n"); + +/***/ }), + +/***/ "./package/preset/components/GlobalFieldPreset.js": +/*!********************************************************!*\ + !*** ./package/preset/components/GlobalFieldPreset.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n SelectControl = _wp$components.SelectControl;\nfunction GlobalFieldPreset(_ref) {\n var data = _ref.data,\n value = _ref.value,\n index = _ref.index,\n onChangeValue = _ref.onChangeValue,\n isVisible = _ref.isVisible,\n _ref$excludeOptions = _ref.excludeOptions,\n excludeOptions = _ref$excludeOptions === void 0 ? function (options) {\n return options;\n } : _ref$excludeOptions,\n position = _ref.position;\n switch (data.type) {\n case 'text':\n return isVisible(value, data, position) && wp.element.createElement(\"div\", {\n key: 'field_' + data.name + index,\n className: 'jet-form-preset__row'\n }, wp.element.createElement(TextControl, {\n key: data.name + index,\n label: data.label,\n value: value[data.name],\n onChange: function onChange(newVal) {\n onChangeValue(newVal, data.name);\n }\n }));\n case 'select':\n return isVisible(value, data, position) && wp.element.createElement(\"div\", {\n key: 'field_' + data.name + index,\n className: 'jet-form-preset__row'\n }, wp.element.createElement(SelectControl, {\n key: data.name + index,\n labelPosition: \"side\",\n options: excludeOptions(data.options),\n label: data.label,\n value: value[data.name],\n onChange: function onChange(newVal) {\n onChangeValue(newVal, data.name);\n }\n }));\n }\n return null;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (GlobalFieldPreset);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ByZXNldC9jb21wb25lbnRzL0dsb2JhbEZpZWxkUHJlc2V0LmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUFBQSxjQUFBLEdBR1VDLEVBQUUsQ0FBQ0MsVUFBVTtFQUZoQkMsV0FBVyxHQUFBSCxjQUFBLENBQVhHLFdBQVc7RUFDWEMsYUFBYSxHQUFBSixjQUFBLENBQWJJLGFBQWE7QUFHcEIsU0FBU0MsaUJBQWlCQSxDQUFBQyxJQUFBLEVBUXRCO0VBQUEsSUFQSEMsSUFBSSxHQUFBRCxJQUFBLENBQUpDLElBQUk7SUFDSkMsS0FBSyxHQUFBRixJQUFBLENBQUxFLEtBQUs7SUFDTEMsS0FBSyxHQUFBSCxJQUFBLENBQUxHLEtBQUs7SUFDTEMsYUFBYSxHQUFBSixJQUFBLENBQWJJLGFBQWE7SUFDYkMsU0FBUyxHQUFBTCxJQUFBLENBQVRLLFNBQVM7SUFBQUMsbUJBQUEsR0FBQU4sSUFBQSxDQUNUTyxjQUFjO0lBQWRBLGNBQWMsR0F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GxhYmVsUG9zaXRpb249XCJzaWRlXCJcclxuXHRcdFx0XHRcdFx0b3B0aW9ucz17IGV4Y2x1ZGVPcHRpb25zKCBkYXRhLm9wdGlvbnMgKSB9XHJcblx0XHRcdFx0XHRcdGxhYmVsPXsgZGF0YS5sYWJlbCB9XHJcblx0XHRcdFx0XHRcdHZhbHVlPXsgdmFsdWVbIGRhdGEubmFtZSBdIH1cclxuXHRcdFx0XHRcdFx0b25DaGFuZ2U9eyBuZXdWYWwgPT4ge1xyXG5cdFx0XHRcdFx0XHRcdG9uQ2hhbmdlVmFsdWUoIG5ld1ZhbCwgZGF0YS5uYW1lIClcclxuXHRcdFx0XHRcdFx0fSB9XHJcblx0XHRcdFx0XHQvPlxyXG5cdFx0XHRcdDwvZGl2PlxyXG5cdFx0XHQpO1xyXG5cdH1cclxuXHJcblx0cmV0dXJuIG51bGw7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEdsb2JhbEZpZWxkUHJlc2V0OyJdLCJuYW1lcyI6WyJfd3AkY29tcG9uZW50cyIsIndwIiwiY29tcG9uZW50cyIsIlRleHRDb250cm9sIiwiU2VsZWN0Q29udHJvbCIsIkdsb2JhbEZpZWxkUHJlc2V0IiwiX3JlZiIsImRhdGEiLCJ2YWx1ZSIsImluZGV4Iiwib25DaGFuZ2VWYWx1ZSIsImlzVmlzaWJsZSIsIl9yZWYkZXhjbHVkZU9wdGlvbnMiLCJleGNsdWRlT3B0aW9ucyIsIm9wdGlvbnMiLCJwb3NpdGlvbiIsInR5cGUiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsImtleSIsIm5hbWUiLCJjbGFzc05hbWUiLCJsYWJlbCIsIm9uQ2hhbmdlIiwibmV3VmFsIiwibGFiZWxQb3NpdGlvbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/preset/components/GlobalFieldPreset.js\n"); + +/***/ }), + +/***/ "./package/preset/components/MapFieldPreset.js": +/*!*****************************************************!*\ + !*** ./package/preset/components/MapFieldPreset.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _components_GroupedSelectControl__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../components/GroupedSelectControl */ \"./package/components/GroupedSelectControl.js\");\n\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n SelectControl = _wp$components.SelectControl,\n CustomSelectControl = _wp$components.CustomSelectControl;\nfunction MapFieldPreset(_ref) {\n var data = _ref.data,\n value = _ref.value,\n index = _ref.index,\n currentState = _ref.currentState,\n onChangeValue = _ref.onChangeValue,\n isCurrentFieldVisible = _ref.isCurrentFieldVisible,\n _ref$position = _ref.position,\n position = _ref$position === void 0 ? 'general' : _ref$position;\n switch (data.type) {\n case 'text':\n return isCurrentFieldVisible(currentState, data) && wp.element.createElement(\"div\", {\n key: data.name + index,\n className: 'jet-form-preset__row'\n }, wp.element.createElement(TextControl, {\n key: 'control_' + data.name + index,\n placeholder: data.label,\n value: value,\n onChange: function onChange(newVal) {\n onChangeValue(newVal, 'current_field_' + data.name);\n }\n }));\n case 'select':\n return isCurrentFieldVisible(currentState, data) && wp.element.createElement(\"div\", {\n key: data.name + index,\n className: 'jet-form-preset__row'\n }, wp.element.createElement(SelectControl, {\n key: 'control_' + data.name + index,\n labelPosition: \"side\",\n options: data.options,\n label: data.label,\n value: value,\n onChange: function onChange(newVal) {\n onChangeValue(newVal, 'current_field_' + data.name);\n }\n }));\n case 'custom_select':\n return isCurrentFieldVisible(currentState, data) && wp.element.createElement(\"div\", {\n key: data.name + index,\n className: 'jet-form-preset__row'\n }, wp.element.createElement(CustomSelectControl, {\n className: \"jet-custom-select-control\",\n label: data.label,\n options: data.options,\n onChange: function onChange(_ref2) {\n var selectedItem = _ref2.selectedItem;\n value = selectedItem.key;\n onChangeValue(value, 'current_field_' + data.name);\n },\n value: data.options.find(function (option) {\n return option.key === value;\n })\n }));\n case 'grouped_select':\n return isCurrentFieldVisible(currentState, data) && wp.element.createElement(\"div\", {\n key: data.name + index,\n className: 'jet-form-preset__row'\n }, wp.element.createElement(_components_GroupedSelectControl__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n options: data.options,\n label: data.label,\n labelPosition: \"side\",\n value: value,\n onChange: function onChange(newVal) {\n onChangeValue(newVal, 'current_field_' + data.name);\n }\n }));\n }\n return null;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MapFieldPreset);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ByZXNldC9jb21wb25lbnRzL01hcEZpZWxkUHJlc2V0LmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQXlFO0FBRXpFLElBQUFDLGNBQUEsR0FJVUMsRUFBRSxDQUFDQyxVQUFVO0VBSGhCQyxXQUFXLEdBQUFILGNBQUEsQ0FBWEcsV0FBVztFQUNYQyxhQUFhLEdBQUFKLGNBQUEsQ0FBYkksYUFBYTtFQUNiQyxtQkFBbUIsR0FBQUwsY0FBQSxDQUFuQkssbUJBQW1CO0FBRzFCLFNBQVNDLGNBQWNBLENBQUFDLElBQUEsRUFRbkI7RUFBQSxJQVBIQyxJQUFJLEdBQUFELElBQUEsQ0FBSkMsSUFBSTtJQUNKQyxLQUFLLEdBQUFGLElBQUEsQ0FBTEUsS0FBSztJQUNMQyxLQUFLLEdBQUFILElBQUEsQ0FBTEcsS0FBSztJQUNMQyxZQUFZLEdBQUFKLElBQUEsQ0FBWkksWUFBWTtJQUNaQyxhQUFhLEdBQUFMLElBQUEsQ0FBYkssYUFBYTtJQUNiQyxxQkFBcUIsR0FBQU4sSUFBQSxDQUFyQk0scUJBQXF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bGFzc05hbWUiLCJwbGFjZWhvbGRlciIsImxhYmVsIiwib25DaGFuZ2UiLCJuZXdWYWwiLCJsYWJlbFBvc2l0aW9uIiwib3B0aW9ucyIsIl9yZWYyIiwic2VsZWN0ZWRJdGVtIiwiZmluZCIsIm9wdGlvbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/preset/components/MapFieldPreset.js\n"); + +/***/ }), + +/***/ "./package/preset/components/PresetButton.js": +/*!***************************************************!*\ + !*** ./package/preset/components/PresetButton.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../action-modal/components/ActionModal */ \"./package/action-modal/components/ActionModal.js\");\n/* harmony import */ var _DynamicPreset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./DynamicPreset */ \"./package/preset/components/DynamicPreset.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar __ = wp.i18n.__;\nvar Button = wp.components.Button;\nvar useState = wp.element.useState;\nfunction PresetButton(_ref) {\n var value = _ref.value,\n onChange = _ref.onChange,\n title = _ref.title;\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n showModal = _useState2[0],\n setShowModal = _useState2[1];\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(Button, {\n icon: 'database',\n variant: \"tertiary\",\n isSmall: true,\n className: 'jet-fb-is-thick',\n onClick: function onClick() {\n return setShowModal(true);\n }\n }), showModal && wp.element.createElement(_action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_0__[\"default\"], {\n classNames: ['width-60'],\n title: title !== null && title !== void 0 ? title : __('Edit Preset', 'jet-form-builder'),\n onRequestClose: function onRequestClose() {\n return setShowModal(false);\n }\n }, wp.element.createElement(_DynamicPreset__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n key: 'dynamic_key_preset',\n value: value,\n onSavePreset: onChange\n })));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PresetButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9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IiwiUHJlc2V0QnV0dG9uIiwiX3JlZiIsInZhbHVlIiwib25DaGFuZ2UiLCJ0aXRsZSIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJfc2xpY2VkVG9BcnJheSIsInNob3dNb2RhbCIsInNldFNob3dNb2RhbCIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50IiwiaWNvbiIsInZhcmlhbnQiLCJpc1NtYWxsIiwiY2xhc3NOYW1lIiwib25DbGljayIsImNsYXNzTmFtZXMiLCJvblJlcXVlc3RDbG9zZSIsImtleSIsIm9uU2F2ZVByZXNldCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/preset/components/PresetButton.js\n"); + +/***/ }), + +/***/ "./package/preset/components/withPreset.js": +/*!*************************************************!*\ + !*** ./package/preset/components/withPreset.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar applyFilters = wp.hooks.applyFilters;\nfunction withPreset(WrappedComponent) {\n return function JetFormPresetEditor(props) {\n var parseValue = function parseValue() {\n var val = {};\n if ('object' === _typeof(props.value)) {\n val = _objectSpread({}, props.value);\n } else if (props.value && 'string' === typeof props.value) {\n try {\n val = JSON.parse(props.value);\n if ('number' === typeof val) {\n throw new Error();\n }\n } catch (exception) {\n val = {};\n }\n }\n val.jet_preset = true;\n return val;\n };\n var isVisible = function isVisible(currentState, data, position) {\n return (data.position && position === data.position || !data.position || 'query_var' !== currentState.from) && isGlobalVisible(currentState, data);\n };\n var isGlobalVisible = function isGlobalVisible(currentState, data) {\n if (!data.condition && !data.custom_condition) {\n return true;\n }\n if (data.custom_condition) {\n switch (data.custom_condition) {\n case 'query_var':\n return 'post' === currentState.from && 'query_var' === currentState.post_from || 'user' === currentState.from && 'query_var' === currentState.user_from || 'query_var' === currentState.from;\n default:\n return applyFilters('jet.fb.preset.editor.custom.condition', false, data.custom_condition, currentState);\n }\n }\n if (data.condition) {\n return currentState[data.condition.field] === data.condition.value;\n }\n return true;\n };\n var isCurrentFieldVisible = function isCurrentFieldVisible(currentState, data, position) {\n if (!data.condition && !data.parent_condition) {\n return true;\n }\n if (data.position && position !== data.position) {\n return false;\n }\n if (data.parent_condition && !data.condition) {\n return currentState[data.parent_condition.field] === data.parent_condition.value;\n } else if (data.parent_condition && data.condition) {\n return currentState['current_field_' + data.condition.field] === data.condition.value && currentState[data.parent_condition.field] === data.parent_condition.value;\n } else if (!data.parent_condition && data.condition) {\n return currentState['current_field_' + data.condition.field] === data.condition.value;\n }\n return true;\n };\n var isMapFieldVisible = function isMapFieldVisible(currentState, data, field) {\n if (!data.condition && !data.parent_condition) {\n return true;\n }\n if (data.parent_condition && !data.condition) {\n return currentState[data.parent_condition.field] === data.parent_condition.value;\n } else if (data.parent_condition && data.condition) {\n if (!currentState.fields_map || !currentState.fields_map[field]) {\n return false;\n } else {\n return currentState.fields_map[field][data.condition.field] === data.condition.value && currentState[data.parent_condition.field] === data.parent_condition.value;\n }\n } else if (!data.parent_condition && data.condition) {\n if (!currentState.fields_map || !currentState.fields_map[field]) {\n return false;\n } else {\n return currentState.fields_map[field][data.condition.field] === data.condition.value;\n }\n }\n return true;\n };\n var excludeOptions = function excludeOptions(selectOptions) {\n var options = _toConsumableArray(selectOptions);\n options.forEach(function (option, index) {\n if (props.excludeSources && props.excludeSources.includes(option.value)) {\n options.splice(index, 1);\n }\n });\n return options;\n };\n return wp.element.createElement(WrappedComponent, _extends({\n key: \"wrapped-preset-editor\"\n }, props, {\n parseValue: parseValue,\n isVisible: isVisible,\n isMapFieldVisible: isMapFieldVisible,\n isCurrentFieldVisible: isCurrentFieldVisible,\n excludeOptions: excludeOptions\n }));\n };\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (withPreset);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ByZXNldC9jb21wb25lbnRzL3dpdGhQcmVzZXQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxJQUFRQSxZQUFZLEdBQUtDLEVBQUUsQ0FBQ0MsS0FBSyxDQUF6QkYsWUFBWTtBQUVwQixTQUFTRyxVQUFVQSxDQUFFQyxnQkFBZ0IsRUFBRztFQUN2QyxPQUFPLFNBQVNDLG1CQUFtQkEsQ0FBRUMsS0FBSyxFQUFHO0lBRTVDLElBQU1DLFVBQVUsR0FBRyxTQUFiQSxVQUFVQSxDQUFBLEVBQVM7TUFDeEIsSUFBSUMsR0FBRyxHQUFHLENBQUMsQ0FBQztNQUVaLElBQUssUUFBUSxLQUFBQyxPQUF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fZnJvbSIsInVzZXJfZnJvbSIsImZpZWxkIiwiaXNDdXJyZW50RmllbGRWaXNpYmxlIiwicGFyZW50X2NvbmRpdGlvbiIsImlzTWFwRmllbGRWaXNpYmxlIiwiZmllbGRzX21hcCIsImV4Y2x1ZGVPcHRpb25zIiwic2VsZWN0T3B0aW9ucyIsIm9wdGlvbnMiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJmb3JFYWNoIiwib3B0aW9uIiwiaW5kZXgiLCJleGNsdWRlU291cmNlcyIsImluY2x1ZGVzIiwic3BsaWNlIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJfZXh0ZW5kcyIsImtleSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/preset/components/withPreset.js\n"); + +/***/ }), + +/***/ "./package/preset/helpers/humanReadablePreset.js": +/*!*******************************************************!*\ + !*** ./package/preset/helpers/humanReadablePreset.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _isPresetString__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isPresetString */ \"./package/preset/helpers/isPresetString.js\");\n\nvar __ = wp.i18n.__;\nfunction humanReadablePreset(value) {\n var _value, _parsedPreset$from;\n var highlight = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'code';\n value = (_value = value) !== null && _value !== void 0 ? _value : '';\n if (!(0,_isPresetString__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(value)) {\n return value;\n }\n var parsedPreset = JSON.parse(value);\n var label = __('Preset from', 'jet-form-builder');\n var from = (_parsedPreset$from = parsedPreset === null || parsedPreset === void 0 ? void 0 : parsedPreset.from) !== null && _parsedPreset$from !== void 0 ? _parsedPreset$from : '(empty)';\n var highlightedFrom;\n switch (highlight) {\n case 'code':\n highlightedFrom = \"\".concat(from, \"\");\n break;\n case 'b':\n highlightedFrom = \"\".concat(from, \"\");\n break;\n }\n return [label, highlightedFrom].join(' ');\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (humanReadablePreset);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ByZXNldC9oZWxwZXJzL2h1bWFuUmVhZGFibGVQcmVzZXQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBOEM7QUFFOUMsSUFDT0MsRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUdULFNBQVNHLG1CQUFtQkEsQ0FBRUMsS0FBSyxFQUF1QjtFQUFBLElBQUFDLE1BQUEsRUFBQUMsa0JBQUE7RUFBQSxJQUFyQkMsU0FBUyxHQUFBQyxTQUFBLENBQUFDLE1BQUEsUUFBQUQsU0FBQSxRQUFBRSxTQUFBLEdBQUFGLFNBQUEsTUFBRyxNQUFNO0VBQ3RESixLQUFLLElBQUFDLE1BQUEsR0FBR0QsS0FBSyxjQUFBQyxNQUFBLGNBQUFBLE1BQUEsR0FBSSxFQUFFO0VBRW5CLElBQUssQ0FBQ04sMkRBQWMsQ0FBRUssS0FBTSxDQUFDLEVBQUc7SUFDL0IsT0FBT0EsS0FBSztFQUNiO0VBRUEsSUFBTU8sWUFBWSxHQUFHQyxJQUFJLENBQUNDLEtBQUssQ0FBRVQsS0FBTSxDQUFDO0VBQ3hDLElBQU1VLEtBQUssR0FBVWQsRUFBRSxDQUFFLGFBQWEsRUFBRSxrQkFBbUIsQ0FBQztFQUM1RCxJQUFNZSxJQUFJLElBQUFULGtCQUFBLEdBQVdLLFlBQVksYUFBWkEsWUFBWSx1QkFBWkEsWUFBWSxDQUFFSSxJQUFJLGNBQUFULGtCQUFBLGNBQUFBLGtCQU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XHRsZXQgaGlnaGxpZ2h0ZWRGcm9tO1xyXG5cclxuXHRzd2l0Y2ggKCBoaWdobGlnaHQgKSB7XHJcblx0XHRjYXNlICdjb2RlJzpcclxuXHRcdFx0aGlnaGxpZ2h0ZWRGcm9tID0gYDxjb2RlPiR7IGZyb20gfTwvY29kZT5gO1xyXG5cdFx0XHRicmVhaztcclxuXHRcdGNhc2UgJ2InOlxyXG5cdFx0XHRoaWdobGlnaHRlZEZyb20gPSBgPGI+JHsgZnJvbSB9PC9iPmA7XHJcblx0XHRcdGJyZWFrO1xyXG5cdH1cclxuXHJcblx0cmV0dXJuIFtcclxuXHRcdGxhYmVsLFxyXG5cdFx0aGlnaGxpZ2h0ZWRGcm9tLFxyXG5cdF0uam9pbiggJyAnICk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IGh1bWFuUmVhZGFibGVQcmVzZXQ7Il0sIm5hbWVzIjpbImlzUHJlc2V0U3RyaW5nIiwiX18iLCJ3cCIsImkxOG4iLCJodW1hblJlYWRhYmxlUHJlc2V0IiwidmFsdWUiLCJfdmFsdWUiLCJfcGFyc2VkUHJlc2V0JGZyb20iLCJoaWdobGlnaHQiLCJhcmd1bWVudHMiLCJsZW5ndGgiLCJ1bmRlZmluZWQiLCJwYXJzZWRQcmVzZXQiLCJKU09OIiwicGFyc2UiLCJsYWJlbCIsImZyb20iLCJoaWdobGlnaHRlZEZyb20iLCJjb25jYXQiLCJqb2luIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/preset/helpers/humanReadablePreset.js\n"); + +/***/ }), + +/***/ "./package/preset/helpers/isPresetString.js": +/*!**************************************************!*\ + !*** ./package/preset/helpers/isPresetString.js ***! + \**************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction isPresetString(preset) {\n var _parsedPreset;\n var parsedPreset;\n try {\n parsedPreset = JSON.parse(preset);\n } catch (error) {\n return false;\n }\n return !!((_parsedPreset = parsedPreset) !== null && _parsedPreset !== void 0 && _parsedPreset.jet_preset);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isPresetString);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ByZXNldC9oZWxwZXJzL2lzUHJlc2V0U3RyaW5nLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxTQUFTQSxjQUFjQSxDQUFFQyxNQUFNLEVBQUc7RUFBQSxJQUFBQyxhQUFBO0VBQ2pDLElBQUlDLFlBQVk7RUFDaEIsSUFBSTtJQUNIQSxZQUFZLEdBQUdDLElBQUksQ0FBQ0MsS0FBSyxDQUFFSixNQUFPLENBQUM7RUFDcEMsQ0FBQyxDQUNELE9BQVFLLEtBQUssRUFBRztJQUNmLE9BQU8sS0FBSztFQUNiO0VBRUEsT0FBTyxDQUFDLEdBQUFKLGFBQUEsR0FBQ0MsWUFBWSxjQUFBRCxhQUFBLGVBQVpBLGFBQUEsQ0FBY0ssVUFBVTtBQUNsQztBQUVBLGlFQUFlUCxjQUFjIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9wcmVzZXQvaGVscGVycy9pc1ByZXNldFN0cmluZy5qcz9mY2UwIl0sInNvdXJjZXNDb250ZW50IjpbImZ1bmN0aW9uIGlzUHJlc2V0U3RyaW5nKCBwcmVzZXQgKSB7XHJcblx0bGV0IHBhcnNlZFByZXNldDtcclxuXHR0cnkge1xyXG5cdFx0cGFyc2VkUHJlc2V0ID0gSlNPTi5wYXJzZSggcHJlc2V0ICk7XHJcblx0fVxyXG5cdGNhdGNoICggZXJyb3IgKSB7XHJcblx0XHRyZXR1cm4gZmFsc2U7XHJcblx0fVxyXG5cclxuXHRyZXR1cm4gISFwYXJzZWRQcmVzZXQ/LmpldF9wcmVzZXQ7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IGlzUHJlc2V0U3RyaW5nOyJdLCJuYW1lcyI6WyJpc1ByZXNldFN0cmluZyIsInByZXNldCIsIl9wYXJzZWRQcmVzZXQiLCJwYXJzZWRQcmVzZXQiLCJKU09OIiwicGFyc2UiLCJlcnJvciIsImpldF9wcmVzZXQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/preset/helpers/isPresetString.js\n"); + +/***/ }), + +/***/ "./package/repeater/components/RepeaterWithState.js": +/*!**********************************************************!*\ + !*** ./package/repeater/components/RepeaterWithState.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nvar __ = wp.i18n.__;\nvar _wp$components = wp.components,\n Button = _wp$components.Button,\n ButtonGroup = _wp$components.ButtonGroup,\n Card = _wp$components.Card,\n CardBody = _wp$components.CardBody,\n CardHeader = _wp$components.CardHeader,\n ToggleControl = _wp$components.ToggleControl,\n Flex = _wp$components.Flex,\n FlexItem = _wp$components.FlexItem;\nvar _wp$element = wp.element,\n useState = _wp$element.useState,\n useEffect = _wp$element.useEffect;\nfunction RepeaterWithState(_ref) {\n var children = _ref.children,\n ItemHeading = _ref.ItemHeading,\n _ref$repeaterClasses = _ref.repeaterClasses,\n repeaterClasses = _ref$repeaterClasses === void 0 ? [] : _ref$repeaterClasses,\n _ref$repeaterItemClas = _ref.repeaterItemClasses,\n repeaterItemClasses = _ref$repeaterItemClas === void 0 ? [] : _ref$repeaterItemClas,\n newItem = _ref.newItem,\n _ref$addNewButtonLabe = _ref.addNewButtonLabel,\n addNewButtonLabel = _ref$addNewButtonLabe === void 0 ? 'Add New' : _ref$addNewButtonLabe,\n _ref$items = _ref.items,\n items = _ref$items === void 0 ? [] : _ref$items,\n isSaveAction = _ref.isSaveAction,\n onSaveItems = _ref.onSaveItems,\n onUnMount = _ref.onUnMount,\n onAddNewItem = _ref.onAddNewItem,\n onRemoveItem = _ref.onRemoveItem,\n _ref$help = _ref.help,\n help = _ref$help === void 0 ? {\n helpSource: {},\n helpVisible: function helpVisible() {\n return false;\n },\n helpKey: ''\n } : _ref$help,\n _ref$additionalContro = _ref.additionalControls,\n additionalControls = _ref$additionalContro === void 0 ? null : _ref$additionalContro;\n var classNames = ['jet-form-builder__repeater-component'].concat(_toConsumableArray(repeaterClasses)).join(' ');\n var itemClassNames = ['jet-form-builder__repeater-component-item'].concat(_toConsumableArray(repeaterItemClasses)).join(' ');\n var parsedItems = function parsedItems() {\n if (items && items.length > 0) {\n return items.map(function (item) {\n item.__visible = false;\n return item;\n });\n } else {\n return [_objectSpread(_objectSpread({}, newItem), {}, {\n __visible: true\n })];\n }\n };\n var _useState = useState([]),\n _useState2 = _slicedToArray(_useState, 2),\n itemsData = _useState2[0],\n setItemsData = _useState2[1];\n useEffect(function () {\n setItemsData(parsedItems());\n }, []);\n var _useState3 = useState(true),\n _useState4 = _slicedToArray(_useState3, 2),\n isSafeDeleting = _useState4[0],\n setSafeDeleting = _useState4[1];\n var _changeCurrentItem = function changeCurrentItem(valueToSet, index) {\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n prevClone[index] = _objectSpread(_objectSpread({}, prev[index]), valueToSet);\n return prevClone;\n });\n };\n var onSaveDeleting = function onSaveDeleting(index) {\n return confirm(__(\"Are you sure you want to remove item \".concat(index + 1, \"?\"), 'jet-form-builder'));\n };\n var removeOption = function removeOption(index) {\n if (isSafeDeleting && !onSaveDeleting(index) || onRemoveItem && !onRemoveItem(index, itemsData)) {\n return;\n }\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n prevClone.splice(index, 1);\n return prevClone;\n });\n };\n var addNewItem = function addNewItem(value) {\n if (onAddNewItem) {\n onAddNewItem(value, itemsData);\n }\n setItemsData(function (prev) {\n return [].concat(_toConsumableArray(prev), [_objectSpread(_objectSpread({}, value), {}, {\n __visible: true\n })]);\n });\n };\n var cloneItem = function cloneItem(index) {\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n var _ref2 = [prevClone.slice(0, index + 1), prevClone.slice(index + 1)],\n before = _ref2[0],\n after = _ref2[1];\n return [].concat(_toConsumableArray(before), [prevClone[index]], _toConsumableArray(after));\n });\n };\n var moveRepeaterItem = function moveRepeaterItem(_ref3) {\n var oldIndex = _ref3.oldIndex,\n newIndex = _ref3.newIndex;\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n var _ref4 = [prevClone[oldIndex], prevClone[newIndex]];\n prevClone[newIndex] = _ref4[0];\n prevClone[oldIndex] = _ref4[1];\n return prevClone;\n });\n };\n var moveUp = function moveUp(index) {\n moveRepeaterItem({\n oldIndex: index,\n newIndex: index - 1\n });\n };\n var moveDown = function moveDown(index) {\n moveRepeaterItem({\n oldIndex: index,\n newIndex: index + 1\n });\n };\n var isDisabledEnd = function isDisabledEnd(index) {\n return !(index < itemsData.length - 1);\n };\n /*\r\n \r\n */\n\n var toggleVisible = function toggleVisible(index) {\n setItemsData(function (prev) {\n var prevClone = JSON.parse(JSON.stringify(prev));\n prevClone[index].__visible = !prevClone[index].__visible;\n return prevClone;\n });\n };\n useEffect(function () {\n if (true === isSaveAction) {\n for (var itemsDataKey in itemsData) {\n for (var itemKey in itemsData[itemsDataKey]) {\n if (itemKey.startsWith('__')) {\n delete itemsData[itemsDataKey][itemKey];\n }\n }\n }\n onSaveItems(itemsData);\n onUnMount();\n } else if (false === isSaveAction) {\n onUnMount();\n }\n }, [isSaveAction]);\n var getRepeaterItemId = function getRepeaterItemId(index) {\n return \"jet-form-builder-repeater__item_\".concat(index);\n };\n var helpSource = help.helpSource,\n helpVisible = help.helpVisible,\n helpKey = help.helpKey;\n var isVisibleHelp = helpVisible(itemsData) && helpSource && helpSource[helpKey];\n return wp.element.createElement(\"div\", {\n className: classNames,\n key: 'jet-form-builder-repeater'\n }, isVisibleHelp && wp.element.createElement(\"p\", null, helpSource[helpKey].label), 0 < itemsData.length && wp.element.createElement(React.Fragment, null, wp.element.createElement(Flex, null, wp.element.createElement(FlexItem, null, wp.element.createElement(ToggleControl, {\n label: __('Safe deleting', 'jet-form-builder'),\n checked: isSafeDeleting,\n onChange: setSafeDeleting\n })), wp.element.createElement(FlexItem, {\n style: {\n flex: 'unset',\n marginBottom: '1em'\n }\n }))), additionalControls, itemsData.map(function (currentItem, index) {\n return wp.element.createElement(Card, {\n elevation: 2,\n className: itemClassNames,\n key: getRepeaterItemId(index)\n }, wp.element.createElement(CardHeader, {\n className: 'repeater__item__header'\n }, wp.element.createElement(\"div\", {\n className: \"repeater-item__left-heading\"\n }, wp.element.createElement(ButtonGroup, {\n className: 'repeater-action-buttons'\n }, wp.element.createElement(Button, {\n isSmall: true,\n icon: currentItem.__visible ? 'no-alt' : 'edit',\n onClick: function onClick() {\n return toggleVisible(index);\n },\n className: 'repeater-action-button'\n }), wp.element.createElement(Button, {\n isSmall: true,\n isSecondary: true,\n disabled: !Boolean(index),\n icon: 'arrow-up-alt2',\n onClick: function onClick() {\n return moveUp(index);\n },\n className: 'repeater-action-button'\n }), wp.element.createElement(Button, {\n isSmall: true,\n isSecondary: true,\n disabled: isDisabledEnd(index),\n icon: 'arrow-down-alt2',\n onClick: function onClick() {\n return moveDown(index);\n },\n className: 'repeater-action-button'\n })), wp.element.createElement(\"span\", {\n className: 'repeater-item-title'\n }, ItemHeading && wp.element.createElement(ItemHeading, {\n currentItem: currentItem,\n index: index,\n changeCurrentItem: function changeCurrentItem(data) {\n return _changeCurrentItem(data, index);\n }\n }), !ItemHeading && \"#\".concat(index + 1))), wp.element.createElement(ButtonGroup, null, wp.element.createElement(Button, {\n isSmall: true,\n isSecondary: true,\n onClick: function onClick() {\n return cloneItem(index);\n }\n }, __('Clone', 'jet-form-builder')), wp.element.createElement(Button, {\n isSmall: true,\n isSecondary: true,\n isDestructive: true,\n onClick: function onClick() {\n return removeOption(index);\n }\n }, __('Delete', 'jet-form-builder')))), currentItem.__visible && wp.element.createElement(CardBody, {\n className: 'repeater-item__content'\n }, children && wp.element.createElement(React.Fragment, {\n key: \"repeater-component__item_\".concat(index)\n }, 'function' === typeof children && children({\n currentItem: currentItem,\n changeCurrentItem: function changeCurrentItem(data) {\n return _changeCurrentItem(data, index);\n },\n currentIndex: index\n }), 'function' !== typeof children && children), !children && 'Set up your Repeater Template, please.'));\n }), 1 < itemsData.length && wp.element.createElement(React.Fragment, null, additionalControls, wp.element.createElement(ToggleControl, {\n className: \"jet-control-clear\",\n label: __('Safe deleting'),\n checked: isSafeDeleting,\n onChange: setSafeDeleting\n })), wp.element.createElement(Button, {\n isSecondary: true,\n onClick: function onClick() {\n return addNewItem(newItem);\n }\n }, addNewButtonLabel));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RepeaterWithState);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbXBvbmVudHMvUmVwZWF0ZXJXaXRoU3RhdGUuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxJQUFRQSxFQUFFLEdBQUtDLEVBQUUsQ0FBQ0MsSUFBSSxDQUFkRixFQUFFO0FBRVYsSUFBQUcsY0FBQSxHQVNPRixFQUFFLENBQUNHLFVBQVU7RUFSaEJDLE1BQU0sR0FBQUYsY0FBQSxDQUFORSxNQUFNO0VBQ05DLFdBQVcsR0FBQUgsY0FBQSxDQUFYRyxXQUFXO0VBQ1hDLElBQUksR0FBQUosY0FBQSxDQUFKSSxJQUFJO0VBQ0pDLFFBQVEsR0FBQUwsY0FBQSxDQUFSSyxRQUFRO0VBQ1JDLFVBQVUsR0FBQU4sY0FBQSxDQUFWTSxVQUFVO0VBQ1ZDLGFBQWEs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JdGVtc0RhdGEiLCJfdXNlU3RhdGUzIiwiX3VzZVN0YXRlNCIsImlzU2FmZURlbGV0aW5nIiwic2V0U2FmZURlbGV0aW5nIiwiY2hhbmdlQ3VycmVudEl0ZW0iLCJ2YWx1ZVRvU2V0IiwiaW5kZXgiLCJwcmV2IiwicHJldkNsb25lIiwiSlNPTiIsInBhcnNlIiwic3RyaW5naWZ5Iiwib25TYXZlRGVsZXRpbmciLCJjb25maXJtIiwicmVtb3ZlT3B0aW9uIiwic3BsaWNlIiwiYWRkTmV3SXRlbSIsInZhbHVlIiwiY2xvbmVJdGVtIiwiX3JlZjIiLCJzbGljZSIsImJlZm9yZSIsImFmdGVyIiwibW92ZVJlcGVhdGVySXRlbSIsIl9yZWYzIiwib2xkSW5kZXgiLCJuZXdJbmRleCIsIl9yZWY0IiwibW92ZVVwIiwibW92ZURvd24iLCJpc0Rpc2FibGVkRW5kIiwidG9nZ2xlVmlzaWJsZSIsIml0ZW1zRGF0YUtleSIsIml0ZW1LZXkiLCJzdGFydHNXaXRoIiwiZ2V0UmVwZWF0ZXJJdGVtSWQiLCJpc1Zpc2libGVIZWxwIiwiY3JlYXRlRWxlbWVudCIsImNsYXNzTmFtZSIsImtleSIsImxhYmVsIiwiUmVhY3QiLCJGcmFnbWVudCIsImNoZWNrZWQiLCJvbkNoYW5nZSIsInN0eWxlIiwiZmxleCIsIm1hcmdpbkJvdHRvbSIsImN1cnJlbnRJdGVtIiwiZWxldmF0aW9uIiwiaXNTbWFsbCIsImljb24iLCJvbkNsaWNrIiwiaXNTZWNvbmRhcnkiLCJkaXNhYmxlZCIsIkJvb2xlYW4iLCJkYXRhIiwiaXNEZXN0cnVjdGl2ZSIsImN1cnJlbnRJbmRleCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/repeater/components/RepeaterWithState.js\n"); + +/***/ }), + +/***/ "./package/repeater/components/repeater.add.new.js": +/*!*********************************************************!*\ + !*** ./package/repeater/components/repeater.add.new.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useRepeaterState__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../hooks/useRepeaterState */ \"./package/hooks/useRepeaterState.js\");\n/* harmony import */ var _context_repeater_state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context/repeater.state */ \"./package/repeater/context/repeater.state.js\");\n\n\nvar Button = wp.components.Button;\nvar useContext = wp.element.useContext;\n\n/**\r\n * @param props {{ item, onSetState, functions, children }}\r\n * @returns {JSX.Element}\r\n * @constructor\r\n */\nfunction RepeaterAddNew(props) {\n var _ref2;\n var item = props.item,\n onSetState = props.onSetState,\n functions = props.functions,\n children = props.children;\n var _ref = (_ref2 = functions !== null && functions !== void 0 ? functions : (0,_hooks_useRepeaterState__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(onSetState)) !== null && _ref2 !== void 0 ? _ref2 : useContext(_context_repeater_state__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n addNewItem = _ref.addNewItem;\n return wp.element.createElement(Button, {\n icon: 'plus-alt2',\n isSecondary: true,\n onClick: function onClick() {\n return addNewItem(item);\n }\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RepeaterAddNew);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbXBvbmVudHMvcmVwZWF0ZXIuYWRkLm5ldy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBNEQ7QUFDQztBQUU3RCxJQUNPRSxNQUFNLEdBQ0hDLEVBQUUsQ0FBQ0MsVUFBVSxD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XBlYXRlckFkZE5ldzsiXSwibmFtZXMiOlsidXNlUmVwZWF0ZXJTdGF0ZSIsIlJlcGVhdGVyU3RhdGVDb250ZXh0IiwiQnV0dG9uIiwid3AiLCJjb21wb25lbnRzIiwidXNlQ29udGV4dCIsImVsZW1lbnQiLCJSZXBlYXRlckFkZE5ldyIsInByb3BzIiwiX3JlZjIiLCJpdGVtIiwib25TZXRTdGF0ZSIsImZ1bmN0aW9ucyIsImNoaWxkcmVuIiwiX3JlZiIsImFkZE5ld0l0ZW0iLCJjcmVhdGVFbGVtZW50IiwiaWNvbiIsImlzU2Vjb25kYXJ5Iiwib25DbGljayJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/repeater/components/repeater.add.new.js\n"); + +/***/ }), + +/***/ "./package/repeater/components/repeater.add.or.js": +/*!********************************************************!*\ + !*** ./package/repeater/components/repeater.add.or.js ***! + \********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _hooks_useRepeaterState__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../hooks/useRepeaterState */ \"./package/hooks/useRepeaterState.js\");\n/* harmony import */ var _context_repeater_state__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context/repeater.state */ \"./package/repeater/context/repeater.state.js\");\n\n\nvar Button = wp.components.Button;\nvar useContext = wp.element.useContext;\nfunction RepeaterAddOrOperator(props) {\n var _ref2;\n var onSetState = props.onSetState,\n functions = props.functions,\n children = props.children;\n var _ref = (_ref2 = functions !== null && functions !== void 0 ? functions : (0,_hooks_useRepeaterState__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(onSetState)) !== null && _ref2 !== void 0 ? _ref2 : useContext(_context_repeater_state__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n addNewItem = _ref.addNewItem;\n return wp.element.createElement(Button, {\n isSecondary: true,\n icon: 'randomize',\n onClick: function onClick() {\n return addNewItem({\n __visible: false,\n or_operator: true\n });\n }\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RepeaterAddOrOperator);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbXBvbmVudHMvcmVwZWF0ZXIuYWRkLm9yLmpzIiwibWFwcGluZ3MiOiI7Ozs7OztBQUE0RDtBQUNDO0FBRTdELElBQ09FLE1BQU0sR0FDSEMsRUFBRSxDQUFDQyxVQUFVLENBRGhCRixNQUFNO0FBRWIsSUFDT0csVUFBVSxHQUNQRixFQUFFLENBQUNHLE9BQU8sQ0FEYkQsVUFBVTtBQUdqQixTQUFTRSxxQkFBcUJBLENBQUVDLEtBQUssRUFBRztFQUFBLElBQUFDLEtBQUE7RUFDdkMsSUFDT0MsVUFBVSxHQUdQRixLQUFLLENBSFJFLFVBQVU7SUFDVkMsU0FBUyxHQUVOSCxLQUFLLENBRlJHLFNBQVM7SUFDVEMsUUFBUSxHQUNMSixLQUFLLENBRFJJLFFBQVE7RUFHZixJQUFBQyxJQUFBLElBQUFKLEtBQUEsR0FBdUJFLFNBQVMsYUFBVEEsU0FBUyxjQUFUQSxTQUFTLEdBQzdCWCxtRUFBZ0IsQ0FBRVUsVUFBVyxDQUFDLGNBQUFELEtBQUEsY0FBQUEsS0FBQSxHQUM5QkosVUFBVSxDQUFFSiwrREFBcUIsQ0FBQztJQUY3QmEsVUFBVSxHQUFBRCxJQUFBLENBQVZDLFVBQVU7RUFJbEIsT0FBT1gsRUFBQSxDQUFBRyxPQUFBLENBQUFTLGFBQUEsQ0FBQ2IsTUFBTTtJQUNiYyxXQUFXO0lBQ1hDLElBQUksRUFBRyxXQUFhO0l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uXHJcblx0XHRpc1NlY29uZGFyeVxyXG5cdFx0aWNvbj17ICdyYW5kb21pemUnIH1cclxuXHRcdG9uQ2xpY2s9eyAoKSA9PiBhZGROZXdJdGVtKCB7XHJcblx0XHRcdF9fdmlzaWJsZTogZmFsc2UsXHJcblx0XHRcdG9yX29wZXJhdG9yOiB0cnVlLFxyXG5cdFx0fSApIH1cclxuXHQ+XHJcblx0XHR7IGNoaWxkcmVuIH1cclxuXHQ8L0J1dHRvbj47XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IFJlcGVhdGVyQWRkT3JPcGVyYXRvcjsiXSwibmFtZXMiOlsidXNlUmVwZWF0ZXJTdGF0ZSIsIlJlcGVhdGVyU3RhdGVDb250ZXh0IiwiQnV0dG9uIiwid3AiLCJjb21wb25lbnRzIiwidXNlQ29udGV4dCIsImVsZW1lbnQiLCJSZXBlYXRlckFkZE9yT3BlcmF0b3IiLCJwcm9wcyIsIl9yZWYyIiwib25TZXRTdGF0ZSIsImZ1bmN0aW9ucyIsImNoaWxkcmVuIiwiX3JlZiIsImFkZE5ld0l0ZW0iLCJjcmVhdGVFbGVtZW50IiwiaXNTZWNvbmRhcnkiLCJpY29uIiwib25DbGljayIsIl9fdmlzaWJsZSIsIm9yX29wZXJhdG9yIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/repeater/components/repeater.add.or.js\n"); + +/***/ }), + +/***/ "./package/repeater/components/repeater.js": +/*!*************************************************!*\ + !*** ./package/repeater/components/repeater.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_repeater_custom_item_head__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/repeater.custom.item.head */ \"./package/repeater/context/repeater.custom.item.head.js\");\n/* harmony import */ var _context_repeater_custom_item_buttons__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context/repeater.custom.item.buttons */ \"./package/repeater/context/repeater.custom.item.buttons.js\");\n/* harmony import */ var _hooks_useRepeaterState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/useRepeaterState */ \"./package/hooks/useRepeaterState.js\");\n/* harmony import */ var _context_repeater_item__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../context/repeater.item */ \"./package/repeater/context/repeater.item.js\");\n/* harmony import */ var _context_repeater_state__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../context/repeater.state */ \"./package/repeater/context/repeater.state.js\");\n/* harmony import */ var _macros_button_components_MacrosButtonTemplate__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../macros.button/components/MacrosButtonTemplate */ \"./package/macros.button/components/MacrosButtonTemplate.js\");\n/* harmony import */ var _macros_button_context_PopoverContext__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../macros.button/context/PopoverContext */ \"./package/macros.button/context/PopoverContext.js\");\n\n\n\n\n\n\n\nvar _wp$components = wp.components,\n Card = _wp$components.Card,\n ButtonGroup = _wp$components.ButtonGroup,\n Button = _wp$components.Button,\n CardHeader = _wp$components.CardHeader,\n CardBody = _wp$components.CardBody;\nvar useContext = wp.element.useContext;\nvar __ = wp.i18n.__;\n\n/**\r\n * @param props {{ items, onSetState, functions, children }}\r\n * @returns {JSX.Element}\r\n * @constructor\r\n */\nfunction Repeater(props) {\n var _ref2;\n var items = props.items,\n onSetState = props.onSetState,\n functions = props.functions,\n children = props.children;\n var _ref = (_ref2 = functions !== null && functions !== void 0 ? functions : (0,_hooks_useRepeaterState__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(onSetState)) !== null && _ref2 !== void 0 ? _ref2 : useContext(_context_repeater_state__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n cloneItem = _ref.cloneItem,\n moveUp = _ref.moveUp,\n moveDown = _ref.moveDown,\n toggleVisible = _ref.toggleVisible,\n _changeCurrentItem = _ref.changeCurrentItem,\n removeOption = _ref.removeOption;\n var _useContext = useContext(_context_repeater_custom_item_head__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n isSupportedHeader = _useContext.isSupported,\n CustomHeader = _useContext.render;\n var _useContext2 = useContext(_context_repeater_custom_item_buttons__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n supportEdit = _useContext2.edit,\n supportMove = _useContext2.move,\n supportClone = _useContext2.clone,\n supportDelete = _useContext2.delete;\n var RepeaterHeader = function RepeaterHeader(_ref3) {\n var currentItem = _ref3.currentItem,\n index = _ref3.index;\n if (isSupportedHeader(currentItem)) {\n return wp.element.createElement(CustomHeader, {\n currentItem: currentItem,\n index: index\n });\n }\n return wp.element.createElement(\"span\", {\n className: 'repeater-item-title'\n }, \"#\".concat(index + 1));\n };\n return wp.element.createElement(\"div\", {\n className: 'jet-form-builder__repeater-component',\n key: 'jet-form-builder-repeater'\n }, items.map(function (currentItem, index) {\n return wp.element.createElement(Card, {\n size: \"small\",\n elevation: 2,\n className: 'jet-form-builder__repeater-component-item',\n key: \"jet-form-builder__repeater-component-item-\".concat(index)\n }, wp.element.createElement(CardHeader, {\n className: 'repeater__item__header'\n }, wp.element.createElement(\"div\", {\n className: \"repeater-item__left-heading\"\n }, wp.element.createElement(ButtonGroup, {\n className: 'repeater-action-buttons'\n }, (!supportEdit || supportEdit(currentItem)) && wp.element.createElement(Button, {\n variant: \"tertiary\",\n isSmall: true,\n icon: currentItem.__visible ? 'no-alt' : 'edit',\n onClick: function onClick() {\n return toggleVisible(index);\n },\n className: 'repeater-action-button jet-fb-is-thick'\n }), (!supportMove || supportMove(currentItem)) && wp.element.createElement(Button, {\n variant: \"tertiary\",\n isSmall: true,\n isSecondary: true,\n disabled: !Boolean(index),\n icon: 'arrow-up-alt2',\n onClick: function onClick() {\n return moveUp(index);\n },\n className: 'repeater-action-button jet-fb-is-thick'\n }), (!supportMove || supportMove(currentItem)) && wp.element.createElement(Button, {\n variant: \"tertiary\",\n isSmall: true,\n isSecondary: true,\n disabled: !(index < items.length - 1),\n icon: 'arrow-down-alt2',\n onClick: function onClick() {\n return moveDown(index);\n },\n className: 'repeater-action-button jet-fb-is-thick'\n })), wp.element.createElement(RepeaterHeader, {\n currentItem: currentItem,\n index: index\n })), wp.element.createElement(ButtonGroup, null, (!supportClone || supportClone(currentItem)) && wp.element.createElement(Button, {\n variant: \"tertiary\",\n isSmall: true,\n isSecondary: true,\n onClick: function onClick() {\n return cloneItem(index);\n },\n className: 'jet-fb-is-thick',\n icon: 'admin-page'\n }), (!supportDelete || supportDelete(currentItem)) && wp.element.createElement(_macros_button_components_MacrosButtonTemplate__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n icon: 'trash',\n isDestructive: true\n }, wp.element.createElement(_macros_button_context_PopoverContext__WEBPACK_IMPORTED_MODULE_6__[\"default\"].Consumer, null, function (_ref4) {\n var setShowPopover = _ref4.setShowPopover;\n return wp.element.createElement(\"div\", {\n style: {\n padding: '0.5em',\n width: 'max-content'\n }\n }, wp.element.createElement(\"span\", null, __('Delete this item?', 'jet-form-builder')), \"\\xA0\", wp.element.createElement(Button, {\n isLink: true,\n isDestructive: true,\n onClick: function onClick() {\n return removeOption(index);\n }\n }, __('Yes', 'jet-form-builder')), ' / ', wp.element.createElement(Button, {\n isLink: true,\n onClick: function onClick() {\n return setShowPopover(false);\n }\n }, __('No', 'jet-form-builder')));\n })))), currentItem.__visible && wp.element.createElement(CardBody, {\n className: 'repeater-item__content',\n key: \"jet-form-builder__card-body-\".concat(index)\n }, function () {\n var context = {\n currentItem: currentItem,\n changeCurrentItem: function changeCurrentItem(data) {\n return _changeCurrentItem(data, index);\n },\n currentIndex: index\n };\n return wp.element.createElement(_context_repeater_item__WEBPACK_IMPORTED_MODULE_3__[\"default\"].Provider, {\n value: context\n }, !children && 'Set up your Repeater Template, please.', 'function' === typeof children ? children(context) : children);\n }()));\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Repeater);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbXBvbmVudHMvcmVwZWF0ZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBdUU7QUFDTTtBQUNqQjtBQUNEO0FBQ0U7QUFFRDtBQUNZO0FBRXhFLElBQUFPLGNBQUEsR0FNVUMsRUFBRSxDQUFDQyxVQUFVO0VBTGhCQyxJQUFJLEdBQUFILGNBQUEsQ0FBSkcsSUFBSTtFQUNKQyxXQUFXLEdBQUFKLGNBQUEsQ0FBWEksV0FBVztFQUNYQyxNQUFNLEdBQUFMLGNBQUEsQ0FBTkssTUFBTTtFQUNOQyxVQUFVLEdBQUFOLGNBQUEsQ0FBVk0sVUFBVTtFQUNWQyxRQUFRLEdBQUFQLGNBQUEsQ0FBUk8sUUFBUTtBQUVmLElBQ09DLFVBQVUsR0FDUFAsRUFBRSxDQUFDUSxPQUFPLENBRGJELFVBQVU7QUFFakIsSUFDT0UsRUFBRSxHQUNDVCxFQUFFLENBQUNVLElBQUksQ0FEVkQsRUFBRTs7QUFHVDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsU0FBU0UsUUFBUUEsQ0FBRUMsS0FBSyxFQUFHO0VBQUEsSUFBQUMsS0FBQTtFQUMxQixJQUNPQyxLQUFLLEdBSUZGLEtBQUssQ0FKUkUsS0FBSztJQUNMQyxVQUFVLEdBR1BILEtBQUssQ0FIUkcsVUFBVTtJQUNWQyxTQUFTLEdBRU5KLEtBQUssQ0FGUkksU0FBUztJQUNUQyxRQUFRLEdBQ0xMLEtBQUssQ0FEUkssUUFBUTtFQUdmLElBQUFDLElBQUEsSUFBQUwsS0FBQSxHQU9VRyxTQ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iwiaXNEZXN0cnVjdGl2ZSIsIkNvbnN1bWVyIiwiX3JlZjQiLCJzZXRTaG93UG9wb3ZlciIsInN0eWxlIiwicGFkZGluZyIsIndpZHRoIiwiaXNMaW5rIiwiY29udGV4dCIsImRhdGEiLCJjdXJyZW50SW5kZXgiLCJQcm92aWRlciIsInZhbHVlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/repeater/components/repeater.js\n"); + +/***/ }), + +/***/ "./package/repeater/components/repeater.state.js": +/*!*******************************************************!*\ + !*** ./package/repeater/components/repeater.state.js ***! + \*******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_repeater_state__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/repeater.state */ \"./package/repeater/context/repeater.state.js\");\n/* harmony import */ var _hooks_useRepeaterState__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../hooks/useRepeaterState */ \"./package/hooks/useRepeaterState.js\");\n\n\nfunction RepeaterState(_ref) {\n var state = _ref.state,\n children = _ref.children;\n var functions = (0,_hooks_useRepeaterState__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(state);\n return wp.element.createElement(_context_repeater_state__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: functions\n }, children);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RepeaterState);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbXBvbmVudHMvcmVwZWF0ZXIuc3RhdGUuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQTZEO0FBQ0Q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ibmFtZXMiOlsiUmVwZWF0ZXJTdGF0ZUNvbnRleHQiLCJ1c2VSZXBlYXRlclN0YXRlIiwiUmVwZWF0ZXJTdGF0ZSIsIl9yZWYiLCJzdGF0ZSIsImNoaWxkcmVuIiwiZnVuY3Rpb25zIiwid3AiLCJlbGVtZW50IiwiY3JlYXRlRWxlbWVudCIsIlByb3ZpZGVyIiwidmFsdWUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/repeater/components/repeater.state.js\n"); + +/***/ }), + +/***/ "./package/repeater/components/safe.delete.toggle.js": +/*!***********************************************************!*\ + !*** ./package/repeater/components/safe.delete.toggle.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _context_safe_delete__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../context/safe.delete */ \"./package/repeater/context/safe.delete.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nvar ToggleControl = wp.components.ToggleControl;\nvar __ = wp.i18n.__;\nvar useState = wp.element.useState;\nfunction SafeDeleteToggle(props) {\n var _useState = useState(true),\n _useState2 = _slicedToArray(_useState, 2),\n isSafeDeleting = _useState2[0],\n setSafeDeleting = _useState2[1];\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(ToggleControl, {\n label: __('Safe deleting', 'jet-form-builder'),\n checked: isSafeDeleting,\n onChange: setSafeDeleting\n }), wp.element.createElement(_context_safe_delete__WEBPACK_IMPORTED_MODULE_0__[\"default\"].Provider, {\n value: isSafeDeleting\n }, props.children));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SafeDeleteToggle);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbXBvbmVudHMvc2FmZS5kZWxldGUudG9nZ2xlLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQXVEO0FBRXZELElBQVFDLGFBQWEsR0FBS0MsRUFBRSxDQUFDQyxVQUFVLENBQS9CRixhQUFhO0FBQ3JCLElBQVFHLEVBQUUsR0FBS0YsRUFBRSxDQUFDRyxJQUFJLENBQ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GVyIiwidmFsdWUiLCJjaGlsZHJlbiJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/repeater/components/safe.delete.toggle.js\n"); + +/***/ }), + +/***/ "./package/repeater/context/repeater.custom.item.body.js": +/*!***************************************************************!*\ + !*** ./package/repeater/context/repeater.custom.item.body.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createContext({\n isSupported: function isSupported(item) {\n return false;\n },\n render: function render(_ref) {\n var children = _ref.children;\n return children;\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvcmVwZWF0ZXIuY3VzdG9tLml0ZW0uYm9keS5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFFckIsaUVBQWVBLGFBQWEsQ0FBRTtFQUM3QkcsV0FBVyxFQUFFLFNBQUFBLFlBQUFDLElBQUk7SUFBQSxPQUFJLEtBQUs7RUFBQTtFQUMxQkMsTUFBTSxFQUFFLFNBQUFBLE9BQUFDLElBQUE7SUFBQSxJQUFFQyxRQUFRLEdBQUFELElBQUEsQ0FBUkMsUUFBUTtJQUFBLE9BQU1BLFFBQVE7RUFBQTtBQUNqQyxDQUFFLENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvcmVwZWF0ZXIuY3VzdG9tLml0ZW0uYm9keS5qcz9lMTg0Il0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHsgY3JlYXRlQ29udGV4dCB9ID0gd3AuZWxlbWVudDtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGNyZWF0ZUNvbnRleHQoIHtcclxuXHRpc1N1cHBvcnRlZDogaXRlbSA9PiBmYWxzZSxcclxuXHRyZW5kZXI6ICh7Y2hpbGRyZW59KSA9PiBjaGlsZHJlbixcclxufSApOyJdLCJuYW1lcyI6WyJjcmVhdGVDb250ZXh0Iiwid3AiLCJlbGVtZW50IiwiaXNTdXBwb3J0ZWQiLCJpdGVtIiwicmVuZGVyIiwiX3JlZiIsImNoaWxkcmVuIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/repeater/context/repeater.custom.item.body.js\n"); + +/***/ }), + +/***/ "./package/repeater/context/repeater.custom.item.buttons.js": +/*!******************************************************************!*\ + !*** ./package/repeater/context/repeater.custom.item.buttons.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar RepeaterButtonsContext = createContext({\n edit: function edit(item) {\n return true;\n },\n move: function move(item) {\n return true;\n },\n clone: function clone(item) {\n return true;\n },\n delete: function _delete(item) {\n return true;\n }\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RepeaterButtonsContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvcmVwZWF0ZXIuY3VzdG9tLml0ZW0uYnV0dG9ucy5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBY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Il9kZWxldGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/repeater/context/repeater.custom.item.buttons.js\n"); + +/***/ }), + +/***/ "./package/repeater/context/repeater.custom.item.head.js": +/*!***************************************************************!*\ + !*** ./package/repeater/context/repeater.custom.item.head.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar RepeaterHeadContext = createContext({\n isSupported: function isSupported(item) {\n return false;\n },\n render: function render(_ref) {\n var currentItem = _ref.currentItem,\n index = _ref.index;\n return null;\n }\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RepeaterHeadContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvcmVwZWF0ZXIuY3VzdG9tLml0ZW0uaGVhZC5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFFckIsSUFBTUcsbUJBQW1CLEdBQUdILGFBQWEsQ0FBRTtFQUMxQ0ksV0FBVyxFQUFFLFNBQUFBLFlBQUFDLElBQUk7SUFBQSxPQUFJLEtBQUs7RUFBQTtFQUMxQkMsTUFBTSxFQUFFLFNBQUFBLE9BQUFDLElBQUE7SUFBQSxJQUFFQyxXQUFXLEdBQUFELElBQUEsQ0FBWEMsV0FBVztNQUFFQyxLQUFLLEdBQUFGLElBQUEsQ0FBTEUsS0FBSztJQUFBLE9BQU0sSUFBSTtFQUFBO0FBQ3ZDLENBQUUsQ0FBQztBQUVILGlFQUFlTixtQkFBbUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvcmVwZWF0ZXIuY3VzdG9tLml0ZW0uaGVhZC5qcz9kZDM5Il0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHsgY3JlYXRlQ29udGV4dCB9ID0gd3AuZWxlbWVudDtcclxuXHJcbmNvbnN0IFJlcGVhdGVySGVhZENvbnRleHQgPSBjcmVhdGVDb250ZXh0KCB7XHJcblx0aXNTdXBwb3J0ZWQ6IGl0ZW0gPT4gZmFsc2UsXHJcblx0cmVuZGVyOiAoe2N1cnJlbnRJdGVtLCBpbmRleH0pID0+IG51bGwsXHJcbn0gKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IFJlcGVhdGVySGVhZENvbnRleHQ7Il0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJ3cCIsImVsZW1lbnQiLCJSZXBlYXRlckhlYWRDb250ZXh0IiwiaXNTdXBwb3J0ZWQiLCJpdGVtIiwicmVuZGVyIiwiX3JlZiIsImN1cnJlbnRJdGVtIiwiaW5kZXgiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/repeater/context/repeater.custom.item.head.js\n"); + +/***/ }), + +/***/ "./package/repeater/context/repeater.item.js": +/*!***************************************************!*\ + !*** ./package/repeater/context/repeater.item.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar RepeaterItemContext = createContext({\n currentItem: {},\n changeCurrentItem: function changeCurrentItem() {},\n currentIndex: -1\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RepeaterItemContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvcmVwZWF0ZXIuaXRlbS5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFBUUEsYUFBYSxHQUFLQyxFQUFFLENBQUNDLE9BQU8sQ0FBNUJGLGFBQWE7QUFFckIsSUFBTUcsbUJBQW1CLEdBQUdILGFBQWEsQ0FBRTtFQUMxQ0ksV0FBVyxFQUFFLENBQUMsQ0FBQztFQUNmQyxpQkFBaUIsRUFBRSxTQUFBQSxrQkFBQSxFQUFNLENBQUMsQ0FBQztFQUMzQkMsWUFBWSxFQUFFLENBQUM7QUFDaEIsQ0FBRSxDQUFDO0FBRUgsaUVBQWVILG1CQUFtQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvcmVwZWF0ZXIvY29udGV4dC9yZXBlYXRlci5pdGVtLmpzPzI3ZWEiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgeyBjcmVhdGVDb250ZXh0IH0gPSB3cC5lbGVtZW50O1xyXG5cclxuY29uc3QgUmVwZWF0ZXJJdGVtQ29udGV4dCA9IGNyZWF0ZUNvbnRleHQoIHtcclxuXHRjdXJyZW50SXRlbToge30sXHJcblx0Y2hhbmdlQ3VycmVudEl0ZW06ICgpID0+IHt9LFxyXG5cdGN1cnJlbnRJbmRleDogLTEsXHJcbn0gKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IFJlcGVhdGVySXRlbUNvbnRleHQ7Il0sIm5hbWVzIjpbImNyZWF0ZUNvbnRleHQiLCJ3cCIsImVsZW1lbnQiLCJSZXBlYXRlckl0ZW1Db250ZXh0IiwiY3VycmVudEl0ZW0iLCJjaGFuZ2VDdXJyZW50SXRlbSIsImN1cnJlbnRJbmRleCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/repeater/context/repeater.item.js\n"); + +/***/ }), + +/***/ "./package/repeater/context/repeater.state.js": +/*!****************************************************!*\ + !*** ./package/repeater/context/repeater.state.js ***! + \****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar RepeaterStateContext = createContext(false);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (RepeaterStateContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvcmVwZWF0ZXIuc3RhdGUuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQVFBLGFBQWEsR0FBS0MsRUFBRSxDQUFDQyxPQUFPLENBQTVCRixhQUFhO0FBRXJCLElBQU1HLG9CQUFvQixHQUFHSCxhQUFhLENBQUUsS0FBTSxDQUFDO0FBRW5ELGlFQUFlRyxvQkFBb0IiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvcmVwZWF0ZXIuc3RhdGUuanM/ZDA5OCJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCB7IGNyZWF0ZUNvbnRleHQgfSA9IHdwLmVsZW1lbnQ7XHJcblxyXG5jb25zdCBSZXBlYXRlclN0YXRlQ29udGV4dCA9IGNyZWF0ZUNvbnRleHQoIGZhbHNlICk7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBSZXBlYXRlclN0YXRlQ29udGV4dDsiXSwibmFtZXMiOlsiY3JlYXRlQ29udGV4dCIsIndwIiwiZWxlbWVudCIsIlJlcGVhdGVyU3RhdGVDb250ZXh0Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/repeater/context/repeater.state.js\n"); + +/***/ }), + +/***/ "./package/repeater/context/safe.delete.js": +/*!*************************************************!*\ + !*** ./package/repeater/context/safe.delete.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createContext(false));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3JlcGVhdGVyL2NvbnRleHQvc2FmZS5kZWxldGUuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQVFBLGFBQWEsR0FBS0MsRUFBRSxDQUFDQyxPQUFPLENBQTVCRixhQUFhO0FBRXJCLGlFQUFlQSxhQUFhLENBQUUsS0FBTSxDQUFDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS9yZXBlYXRlci9jb250ZXh0L3NhZmUuZGVsZXRlLmpzP2QyOTUiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgeyBjcmVhdGVDb250ZXh0IH0gPSB3cC5lbGVtZW50O1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgY3JlYXRlQ29udGV4dCggZmFsc2UgKTsiXSwibmFtZXMiOlsiY3JlYXRlQ29udGV4dCIsIndwIiwiZWxlbWVudCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/repeater/context/safe.delete.js\n"); + +/***/ }), + +/***/ "./package/store.manager.js": +/*!**********************************!*\ + !*** ./package/store.manager.js ***! + \**********************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _actions_store__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./actions/store */ \"./package/actions/store/index.js\");\n/* harmony import */ var _gateways_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./gateways/store */ \"./package/gateways/store/index.js\");\n/* harmony import */ var _events_store__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./events/store */ \"./package/events/store/index.js\");\n/* harmony import */ var _block_conditions_store__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./block-conditions/store */ \"./package/block-conditions/store/index.js\");\n/* harmony import */ var _macros_button_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./macros.button/store */ \"./package/macros.button/store/index.js\");\n/* harmony import */ var _validation_store__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./validation/store */ \"./package/validation/store/index.js\");\n/* harmony import */ var _blocks_store__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./blocks/store */ \"./package/blocks/store/index.js\");\n/* harmony import */ var _migrations_migrate_gateways_settings__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./migrations/migrate.gateways.settings */ \"./package/migrations/migrate.gateways.settings.js\");\n/* harmony import */ var _migrations_migrate_gateways_settings__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_migrations_migrate_gateways_settings__WEBPACK_IMPORTED_MODULE_7__);\n\n\n\n\n\n\n\n\nvar _wp$data = wp.data,\n register = _wp$data.register,\n dispatch = _wp$data.dispatch;\nvar addAction = wp.hooks.addAction;\nvar stores = [_gateways_store__WEBPACK_IMPORTED_MODULE_1__[\"default\"], _events_store__WEBPACK_IMPORTED_MODULE_2__[\"default\"], _actions_store__WEBPACK_IMPORTED_MODULE_0__[\"default\"], _block_conditions_store__WEBPACK_IMPORTED_MODULE_3__[\"default\"], _macros_button_store__WEBPACK_IMPORTED_MODULE_4__[\"default\"], _validation_store__WEBPACK_IMPORTED_MODULE_5__[\"default\"], _blocks_store__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\nstores.forEach(register);\ndispatch('jet-forms/events').register(window.jetFormEvents.types);\ndispatch('jet-forms/events').lockActions();\ndispatch('jet-forms/validation').register(window.jetFormValidation);\naddAction('jet.fb.change.blockConditions.renderState', 'jet-form-builder/events', function (states) {\n dispatch('jet-forms/events').clearDynamicEvents();\n var events = states.map(function (_ref) {\n var value = _ref.value;\n value = 'ON.' + value;\n return {\n value: value,\n label: value,\n isDynamic: true\n };\n });\n dispatch('jet-forms/events').register(events);\n});\ndispatch('jet-forms/block-conditions').register(window.jetFormBlockConditions);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3N0b3JlLm1hbmFnZXIuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFzQztBQUNFO0FBQ0o7QUFDbUI7QUFDWjtBQUNDO0FBQ1I7QUFDWTtBQUVoRCxJQUFBTyxRQUFBLEdBR1VDLEVBQUUsQ0FBQ0MsSUFBSTtFQUZWQyxRQUFRLEdBQUFILFFBQUEsQ0FBUkcsUUFBUTtFQUNSQyxRQUFRLEdBQUFKLFFBQUEsQ0FBUkksUUFBUTtBQUVmLElBQ09DLFNBQVMsR0FDTkosRUFBRSxDQUFDSyxLQUFLLENBRFhELFNBQVM7QUFHaEIsSUFBTUUsTUFBTSxHQUFHLENBQ2RiLHVEQUFRLEVBQ1JDLHFEQUFNLEVBQ05GLHNEQUFPLEVBQ1BHLCtEQUFlLEVBQ2ZDLDREQUFNLEVBQ05DLHlEQUFVLEVBQ1ZDLHFEQUFNLENBQ047QUFFRFEsTUFBTSxDQUFDQyxPQUFPLENBQUVMLFFBQVMsQ0FBQztBQUUxQkMsUUFBUSxDQUFFLGtCQUFtQixDQUFDLENBQUNELFFBQVEsQ0FBRU0sTUFBTSxDQUFDQyxhQUFh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GFiZWwiLCJpc0R5bmFtaWMiLCJqZXRGb3JtQmxvY2tDb25kaXRpb25zIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/store.manager.js\n"); + +/***/ }), + +/***/ "./package/tools.js": +/*!**************************!*\ + !*** ./package/tools.js ***! + \**************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assetUrl: () => (/* binding */ assetUrl),\n/* harmony export */ classnames: () => (/* binding */ classnames),\n/* harmony export */ column: () => (/* binding */ column),\n/* harmony export */ convertObjectToOptionsList: () => (/* binding */ convertObjectToOptionsList),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ event: () => (/* binding */ event),\n/* harmony export */ getConvertedName: () => (/* binding */ getConvertedName),\n/* harmony export */ isEmpty: () => (/* binding */ isEmpty),\n/* harmony export */ listen: () => (/* binding */ listen),\n/* harmony export */ maybeCyrToLatin: () => (/* binding */ maybeCyrToLatin),\n/* harmony export */ set: () => (/* binding */ set),\n/* harmony export */ versionCompare: () => (/* binding */ versionCompare)\n/* harmony export */ });\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar semverGt = __webpack_require__(/*! semver/functions/gt */ \"../node_modules/semver/functions/gt.js\");\nvar semverLt = __webpack_require__(/*! semver/functions/lt */ \"../node_modules/semver/functions/lt.js\");\nvar semverGte = __webpack_require__(/*! semver/functions/gte */ \"../node_modules/semver/functions/gte.js\");\nvar semverLte = __webpack_require__(/*! semver/functions/lte */ \"../node_modules/semver/functions/lte.js\");\nvar __ = wp.i18n.__;\nvar applyFilters = wp.hooks.applyFilters;\nvar Tools = /*#__PURE__*/function () {\n function Tools() {\n _classCallCheck(this, Tools);\n }\n _createClass(Tools, null, [{\n key: \"withPlaceholder\",\n value: function withPlaceholder(source) {\n var label = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '--';\n var value = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n return [{\n label: label,\n value: value\n }].concat(_toConsumableArray(source));\n }\n\n /**\r\n * @deprecated 3.1.0\r\n *\r\n * @param object\r\n * @returns {boolean}\r\n */\n }, {\n key: \"isEmptyObject\",\n value: function isEmptyObject(object) {\n console.warn('Use JetFBActions.isEmpty insteadof JetFBActions.Tools.isEmptyObject');\n return isEmpty(object);\n }\n }, {\n key: \"getRandomID\",\n value: function getRandomID() {\n return Math.floor(Math.random() * 8999) + 1000;\n }\n }]);\n return Tools;\n}();\nvar event = function event(name) {\n var initializeCallbacksEvent = new Event(name);\n return function () {\n return document.dispatchEvent(initializeCallbacksEvent);\n };\n};\nvar listen = function listen(name, func) {\n document.addEventListener(name, func);\n};\nfunction getSemVerFunc(operator) {\n switch (operator) {\n case '>':\n return semverGt;\n case '>=':\n return semverGte;\n case '<':\n return semverLt;\n case '<=':\n return semverLte;\n }\n return function () {\n return false;\n };\n}\nfunction versionCompare(version1, version2, operator) {\n try {\n return getSemVerFunc(operator)(version1, version2);\n } catch (te) {\n return false;\n }\n}\nfunction column(listArr, name) {\n if (!(listArr !== null && listArr !== void 0 && listArr.length)) {\n return [];\n }\n return listArr.map(function (current) {\n return 'object' === _typeof(current) ? current[name] : current;\n });\n}\nvar convertSymbols = applyFilters('jet.fb.tools.convertSymbols', {\n checkCyrRegex: /[а-яёїєґі]/i,\n cyrRegex: /[а-яёїєґі]/gi,\n charsMap: {\n 'а': 'a',\n 'б': 'b',\n 'в': 'v',\n 'г': 'g',\n 'д': 'd',\n 'е': 'e',\n 'ё': 'io',\n 'ж': 'zh',\n 'з': 'z',\n 'и': 'i',\n 'й': 'i',\n 'к': 'k',\n 'л': 'l',\n 'м': 'm',\n 'н': 'n',\n 'о': 'o',\n 'п': 'p',\n 'р': 'r',\n 'с': 's',\n 'т': 't',\n 'у': 'u',\n 'ф': 'f',\n 'х': 'kh',\n 'ц': 'ts',\n 'ч': 'ch',\n 'ш': 'sh',\n 'щ': 'shch',\n 'ы': 'y',\n 'э': 'e',\n 'ю': 'iu',\n 'я': 'ia',\n 'ї': 'i',\n 'є': 'ie',\n 'ґ': 'g',\n 'і': 'i'\n }\n});\nfunction maybeCyrToLatin(str) {\n if (convertSymbols.checkCyrRegex.test(str)) {\n str = str.replace(convertSymbols.cyrRegex, function (match) {\n if (undefined === convertSymbols.charsMap[match]) {\n return '';\n }\n return convertSymbols.charsMap[match];\n });\n }\n return str;\n}\nfunction getConvertedName(valueToChange) {\n var slug = valueToChange.toLowerCase();\n\n // Replace accents\n slug = slug.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\n\n // Replace cyrillic\n slug = maybeCyrToLatin(slug);\n\n // Get list of words\n var slugParts = slug.match(/\\b(\\w+)\\b/g);\n slug = '';\n for (var _i = 0, _Object$entries = Object.entries(slugParts); _i < _Object$entries.length; _i++) {\n var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),\n slugIndex = _Object$entries$_i[0],\n slugPart = _Object$entries$_i[1];\n slug += (0 === +slugIndex ? '' : '_') + slugPart;\n var isLast = 1 + +slugIndex === slugParts.length;\n if (slug.length > 60) {\n return slug + (isLast ? '' : '__');\n }\n }\n return slug;\n}\nfunction classnames() {\n var result = [];\n var parseValues = function parseValues(source) {\n source.forEach(function (itemClass) {\n if (!itemClass) {\n return;\n }\n if (Array.isArray(itemClass)) {\n parseValues(itemClass);\n }\n if ('string' === typeof itemClass) {\n result.push(itemClass.trim());\n }\n if ('object' === _typeof(itemClass)) {\n for (var itemClassKey in itemClass) {\n if (itemClass[itemClassKey]) {\n result.push((itemClassKey + '').trim());\n }\n }\n }\n });\n };\n for (var _len = arguments.length, additional = new Array(_len), _key = 0; _key < _len; _key++) {\n additional[_key] = arguments[_key];\n }\n parseValues(additional);\n return result.join(' ');\n}\nfunction convertObjectToOptionsList() {\n var entries = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$usePlaceholder = _ref.usePlaceholder,\n usePlaceholder = _ref$usePlaceholder === void 0 ? true : _ref$usePlaceholder,\n _ref$label = _ref.label,\n label = _ref$label === void 0 ? '--' : _ref$label,\n _ref$value = _ref.value,\n value = _ref$value === void 0 ? '' : _ref$value;\n var placeholder = {\n label: label,\n value: value\n };\n if (!entries) {\n return usePlaceholder ? [placeholder] : [];\n }\n var options = Object.entries(entries).map(function (_ref2) {\n var _ref3 = _slicedToArray(_ref2, 2),\n value = _ref3[0],\n label = _ref3[1];\n return {\n value: value,\n label: label\n };\n });\n return usePlaceholder ? [placeholder].concat(_toConsumableArray(options)) : options;\n}\nfunction assetUrl() {\n var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n return JetFormEditorData.assetsUrl + url;\n}\n\n/**\r\n * @since 3.1.0\r\n *\r\n * @param obj\r\n * @param path\r\n * @param value\r\n * @returns {*}\r\n */\nfunction set(obj, path, value) {\n // Create a shallow copy of the object\n var newObj = JSON.parse(JSON.stringify(obj));\n var currentObj = newObj;\n var currentKey;\n\n // Traverse the object according to the path\n for (var i = 0; i < path.length; i++) {\n currentKey = path[i];\n\n // If the current key doesn't exist, create a new object at that key\n if (!currentObj[currentKey]) {\n currentObj[currentKey] = {};\n }\n\n // Update the current object and key\n if (i === path.length - 1) {\n // If this is the last key in the path, set the value\n currentObj[currentKey] = value;\n } else {\n // Otherwise, continue traversing the object\n currentObj[currentKey] = _objectSpread({}, currentObj[currentKey]);\n currentObj = currentObj[currentKey];\n }\n }\n return newObj;\n}\n\n/**\r\n * @since 3.1.0\r\n *\r\n * @param value\r\n * @returns {boolean}\r\n */\nfunction isEmpty(value) {\n if (null === value || undefined === value) {\n return true;\n }\n if ('object' === _typeof(value) && !Array.isArray(value)) {\n var _Object$keys;\n return !((_Object$keys = Object.keys(value)) !== null && _Object$keys !== void 0 && _Object$keys.length);\n }\n if ('number' === typeof value) {\n return 0 === value;\n }\n return !(value !== null && value !== void 0 && value.length);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tools);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3Rvb2xzLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxJQUFNQSxRQUFRLEdBQUlDLG1CQUFPLENBQUUsbUVBQXNCLENBQUM7QUFDbEQsSUFBTUMsUUFBUSxHQUFJRCxtQkFBTyxDQUFFLG1FQUFzQixDQUFDO0FBQ2xELElBQU1FLFNBQVMsR0FBR0YsbUJBQU8sQ0FBRSxxRUFBdUIsQ0FBQztBQUNuRCxJQUFNRyxTQUFTLEdBQUdILG1CQUFPLENBQUUscUVBQXVCLENBQUM7QUFFbkQsSUFBUUksRUFBRSxHQUFlQyxFQUFFLENBQUNDLElBQUksQ0FBeEJGLEVBQUU7QUFDVixJQUFRRyxZQUFZLEdBQUtGLEVBQUUsQ0FBQ0csS0FBSyxDQUF6QkQsWUFBWTtBQUFjLElBRTVCRSxLQUFLO0VBQUEsU0FBQUEsTUFBQTtJQUFBQyxlQUFBLE9BQUFELEtBQUE7RUFBQTtFQUFBRSxZQUFBLENBQUFGLEtBQUE7SUFBQUcsR0FBQTtJQUFBQyxLQUFBLEVBRVYsU0FBQUMsZ0JBQXdCQyxNQUFNLEVBQTZCO01BQUEsSUFBM0JDLEtBQUssR0FBQUMsU0FBQSxDQUFBQyxNQUFBLFFBQUFELFNBQUEsUUFBQU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hY2Vob2xkZXIiLCJfcmVmJGxhYmVsIiwiX3JlZiR2YWx1ZSIsInBsYWNlaG9sZGVyIiwib3B0aW9ucyIsIl9yZWYyIiwiX3JlZjMiLCJhc3NldFVybCIsInVybCIsIkpldEZvcm1FZGl0b3JEYXRhIiwiYXNzZXRzVXJsIiwic2V0Iiwib2JqIiwicGF0aCIsIm5ld09iaiIsIkpTT04iLCJwYXJzZSIsInN0cmluZ2lmeSIsImN1cnJlbnRPYmoiLCJjdXJyZW50S2V5IiwiaSIsIl9vYmplY3RTcHJlYWQiLCJfT2JqZWN0JGtleXMiLCJrZXlzIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/tools.js\n"); + +/***/ }), + +/***/ "./package/validation/classes/MessageItem.js": +/*!***************************************************!*\ + !*** ./package/validation/classes/MessageItem.js ***! + \***************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar blocksStore = wp.blocks.store;\nvar MessageItem = /*#__PURE__*/function () {\n function MessageItem(message) {\n _classCallCheck(this, MessageItem);\n this.id = message.id;\n this.blocks = [];\n this.setBlocksMeta(message.supported);\n }\n _createClass(MessageItem, [{\n key: \"setBlocksMeta\",\n value: function setBlocksMeta(blocks) {\n if (!blocks.length) {\n return;\n }\n this.blocks = blocks.map(function (block) {\n var blockType = wp.data.select(blocksStore).getBlockType(\"jet-forms/\".concat(block));\n return {\n title: blockType.title,\n icon: blockType.icon.src\n };\n });\n }\n }]);\n return MessageItem;\n}();\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MessageItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY2xhc3Nlcy9NZXNzYWdlSXRlbS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsSUFBZUEsV0FBVyxHQUFLQyxFQUFFLENBQUNDLE1BQU0sQ0FBaENDLEtBQUs7QUFBNEIsSUFFbkNDLFdBQVc7RUFDaEIsU0FBQUEsWUFBYUMsT0FBTyxFQUFHO0lBQUFDLGVBQUEsT0FBQUYsV0FBQTtJQUN0QixJQUFJLENBQUNHLEVBQUUsR0FBT0YsT0FBTyxDQUFDRSxFQUFFO0lBQ3hCLElBQUksQ0FBQ0wsTUFBTSxHQUFHLEVBQ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NldEJsb2Nrc01ldGEoIG1lc3NhZ2Uuc3VwcG9ydGVkICk7XHJcblx0fVxyXG5cclxuXHRzZXRCbG9ja3NNZXRhKCBibG9ja3MgKSB7XHJcblx0XHRpZiAoICFibG9ja3MubGVuZ3RoICkge1xyXG5cdFx0XHRyZXR1cm47XHJcblx0XHR9XHJcblxyXG5cdFx0dGhpcy5ibG9ja3MgPSBibG9ja3MubWFwKCBibG9jayA9PiB7XHJcblx0XHRcdGNvbnN0IGJsb2NrVHlwZSA9IHdwLmRhdGEuc2VsZWN0KCBibG9ja3NTdG9yZSApLmdldEJsb2NrVHlwZShcclxuXHRcdFx0XHRgamV0LWZvcm1zLyR7IGJsb2NrIH1gLFxyXG5cdFx0XHQpO1xyXG5cclxuXHRcdFx0cmV0dXJuIHtcclxuXHRcdFx0XHR0aXRsZTogYmxvY2tUeXBlLnRpdGxlLFxyXG5cdFx0XHRcdGljb246IGJsb2NrVHlwZS5pY29uLnNyYyxcclxuXHRcdFx0fTtcclxuXHRcdH0gKTtcclxuXHR9XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IE1lc3NhZ2VJdGVtOyJdLCJuYW1lcyI6WyJibG9ja3NTdG9yZSIsIndwIiwiYmxvY2tzIiwic3RvcmUiLCJNZXNzYWdlSXRlbSIsIm1lc3NhZ2UiLCJfY2xhc3NDYWxsQ2hlY2siLCJpZCIsInNldEJsb2Nrc01ldGEiLCJzdXBwb3J0ZWQiLCJfY3JlYXRlQ2xhc3MiLCJrZXkiLCJ2YWx1ZSIsImxlbmd0aCIsIm1hcCIsImJsb2NrIiwiYmxvY2tUeXBlIiwiZGF0YSIsInNlbGVjdCIsImdldEJsb2NrVHlwZSIsImNvbmNhdCIsInRpdGxlIiwiaWNvbiIsInNyYyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/validation/classes/MessageItem.js\n"); + +/***/ }), + +/***/ "./package/validation/classes/ValidationMessages.js": +/*!**********************************************************!*\ + !*** ./package/validation/classes/ValidationMessages.js ***! + \**********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _MessageItem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MessageItem */ \"./package/validation/classes/MessageItem.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nvar ValidationMessages = /*#__PURE__*/function () {\n function ValidationMessages() {\n _classCallCheck(this, ValidationMessages);\n this.items = [];\n }\n _createClass(ValidationMessages, [{\n key: \"push\",\n value: function push(message) {\n this.items.push(new _MessageItem__WEBPACK_IMPORTED_MODULE_0__[\"default\"](message));\n }\n }]);\n return ValidationMessages;\n}();\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidationMessages);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY2xhc3Nlcy9WYWxpZGF0aW9uTWVzc2FnZXMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFBd0M7QUFBQSxJQUVsQ0Msa0JBQWtCO0VBRXZCLFNBQUFBLG1CQUFBLEVBQWM7SUFBQUMsZUFBQSxPQUFBRCxrQkFBQTtJQUNiLElBQUksQ0FBQ0UsS0FBSyxHQUFHLEVBQUU7RUFDaEI7RUFBQ0MsWUFBQSxDQUFBSCxrQkFBQTtJQUFBSSxHQUFBO0lBQUFDLEtBQUEsRUFFRCxTQUFBQyxLQUFNQyxPQUFPLEVBQUc7TUFDZixJQUFJLENBQUNMLEtBQUssQ0FBQ0ksSUFBSSxDQUFFLElBQUlQLG9EQUFXLENBQUVRLE9BQVEsQ0FBRSxDQUFDO0lBQzlDO0VBQUM7RUFBQSxPQUFBUCxrQkFBQTtBQUFBO0FBSUYsaUVBQWVBLGtCQUFrQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvdmFsaWRhdGlvbi9jbGFzc2VzL1ZhbGlkYXRpb25NZXNzYWdlcy5qcz84MmZhIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBNZXNzYWdlSXRlbSBmcm9tICcuL01lc3NhZ2VJdGVtJztcclxuXHJcbmNsYXNzIFZhbGlkYXRpb25NZXNzYWdlcyB7XHJcblxyXG5cdGNvbnN0cnVjdG9yKCkge1xyXG5cdFx0dGhpcy5pdGVtcyA9IFtdO1xyXG5cdH1cclxuXHJcblx0cHVzaCggbWVzc2FnZSApIHtcclxuXHRcdHRoaXMuaXRlbXMucHVzaCggbmV3IE1lc3NhZ2VJdGVtKCBtZXNzYWdlICkgKTtcclxuXHR9XHJcblxyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBWYWxpZGF0aW9uTWVzc2FnZXM7Il0sIm5hbWVzIjpbIk1lc3NhZ2VJdGVtIiwiVmFsaWRhdGlvbk1lc3NhZ2VzIiwiX2NsYXNzQ2FsbENoZWNrIiwiaXRlbXMiLCJfY3JlYXRlQ2xhc3MiLCJrZXkiLCJ2YWx1ZSIsInB1c2giLCJtZXNzYWdlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/classes/ValidationMessages.js\n"); + +/***/ }), + +/***/ "./package/validation/components/AdvancedRuleItem.js": +/*!***********************************************************!*\ + !*** ./package/validation/components/AdvancedRuleItem.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _EditRulesModalContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditRulesModalContext */ \"./package/validation/components/EditRulesModalContext.js\");\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _components_DetailsContainer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/DetailsContainer */ \"./package/components/DetailsContainer.js\");\n/* harmony import */ var _components_HoverContainer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/HoverContainer */ \"./package/components/HoverContainer.js\");\n/* harmony import */ var _HumanReadableRule__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./HumanReadableRule */ \"./package/validation/components/HumanReadableRule.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\n\nvar _wp$element = wp.element,\n useContext = _wp$element.useContext,\n useState = _wp$element.useState;\nvar __ = wp.i18n.__;\nvar Button = wp.components.Button;\nfunction AdvancedRuleItem(_ref) {\n var rule = _ref.rule,\n _ref$index = _ref.index,\n index = _ref$index === void 0 ? 0 : _ref$index;\n var _useContext = useContext(_EditRulesModalContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n setShowModal = _useContext.setShowModal;\n var _useBlockAttributes = (0,_blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isHover = _useState2[0],\n setHover = _useState2[1];\n return wp.element.createElement(\"div\", {\n className: \"jet-fb p-relative\",\n onMouseOver: function onMouseOver() {\n return setHover(true);\n },\n onMouseOut: function onMouseOut() {\n return setHover(false);\n }\n }, wp.element.createElement(_components_HoverContainer__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n isHover: isHover\n }, wp.element.createElement(Button, {\n isSmall: true,\n isSecondary: true,\n icon: 'edit',\n onClick: function onClick() {\n setAttributes({\n validation: _objectSpread(_objectSpread({}, attributes.validation), {}, {\n rules: attributes.validation.rules.map(function (current, currentIndex) {\n current.__visible = index === currentIndex;\n return current;\n })\n })\n });\n setShowModal(function (prev) {\n return !prev;\n });\n }\n }, __('Edit', 'jet-form-builder')), wp.element.createElement(Button, {\n isSmall: true,\n isDestructive: true,\n icon: 'trash',\n onClick: function onClick() {\n setAttributes({\n validation: _objectSpread(_objectSpread({}, attributes.validation), {}, {\n rules: attributes.validation.rules.filter(function (current, currentIndex) {\n return currentIndex !== index;\n })\n })\n });\n }\n }, __('Delete', 'jet-form-builder'))), wp.element.createElement(_components_DetailsContainer__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null, wp.element.createElement(_HumanReadableRule__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n rule: rule\n })));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AdvancedRuleItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9BZHZhbmNlZFJ1bGVJdGVtLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUE0RDtBQUNXO0FBQ047QUFDSjtBQUNUO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GFsIiwiX3VzZUJsb2NrQXR0cmlidXRlcyIsIl91c2VCbG9ja0F0dHJpYnV0ZXMyIiwiX3NsaWNlZFRvQXJyYXkiLCJhdHRyaWJ1dGVzIiwic2V0QXR0cmlidXRlcyIsIl91c2VTdGF0ZSIsIl91c2VTdGF0ZTIiLCJpc0hvdmVyIiwic2V0SG92ZXIiLCJjcmVhdGVFbGVtZW50IiwiY2xhc3NOYW1lIiwib25Nb3VzZU92ZXIiLCJvbk1vdXNlT3V0IiwiaXNTbWFsbCIsImlzU2Vjb25kYXJ5IiwiaWNvbiIsIm9uQ2xpY2siLCJ2YWxpZGF0aW9uIiwiX29iamVjdFNwcmVhZCIsInJ1bGVzIiwibWFwIiwiY3VycmVudCIsImN1cnJlbnRJbmRleCIsIl9fdmlzaWJsZSIsInByZXYiLCJpc0Rlc3RydWN0aXZlIiwiZmlsdGVyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/components/AdvancedRuleItem.js\n"); + +/***/ }), + +/***/ "./package/validation/components/AdvancedRuleModalItem.js": +/*!****************************************************************!*\ + !*** ./package/validation/components/AdvancedRuleModalItem.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _tools__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../tools */ \"./package/tools.js\");\n/* harmony import */ var _repeater_context_repeater_item__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../repeater/context/repeater.item */ \"./package/repeater/context/repeater.item.js\");\n/* harmony import */ var _components_BaseHelp__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/BaseHelp */ \"./package/components/BaseHelp.js\");\n/* harmony import */ var _components_AdvancedModalControl__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/AdvancedModalControl */ \"./package/components/AdvancedModalControl.js\");\n/* harmony import */ var _ChooseRelatedField__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ChooseRelatedField */ \"./package/validation/components/ChooseRelatedField.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\n\nvar _wp$components = wp.components,\n SelectControl = _wp$components.SelectControl,\n TextareaControl = _wp$components.TextareaControl,\n TextControl = _wp$components.TextControl,\n withFilters = _wp$components.withFilters;\nvar _wp$element = wp.element,\n useContext = _wp$element.useContext,\n useState = _wp$element.useState,\n useEffect = _wp$element.useEffect;\nvar __ = wp.i18n.__;\nvar addFilter = wp.hooks.addFilter;\nvar _window$jetFormValida = window.jetFormValidation,\n rule_types = _window$jetFormValida.rule_types,\n ssr_callbacks = _window$jetFormValida.ssr_callbacks;\nvar ssr_callbacks_keys = ssr_callbacks.map(function (_ref) {\n var value = _ref.value;\n return value;\n});\nfunction getLabel(type) {\n var _rule_types$indexRule, _rule_types$indexRule2;\n var indexRule = rule_types.findIndex(function (_ref2) {\n var value = _ref2.value;\n return value === type;\n });\n var fallback = __('Enter value', 'jet-form-builder');\n if (-1 === indexRule) {\n return fallback;\n }\n return (_rule_types$indexRule = (_rule_types$indexRule2 = rule_types[indexRule]) === null || _rule_types$indexRule2 === void 0 ? void 0 : _rule_types$indexRule2.control_label) !== null && _rule_types$indexRule !== void 0 ? _rule_types$indexRule : fallback;\n}\nfunction RuleSpecificControls(_ref3) {\n var currentItem = _ref3.currentItem,\n changeCurrentItem = _ref3.changeCurrentItem;\n var _useState = useState(function () {\n return getLabel(currentItem.type);\n }),\n _useState2 = _slicedToArray(_useState, 2),\n label = _useState2[0],\n setLabel = _useState2[1];\n useEffect(function () {\n setLabel(getLabel(currentItem.type));\n }, [currentItem.type]);\n switch (currentItem.type) {\n case 'equal':\n case 'contain':\n case 'contain_not':\n case 'regexp':\n case 'regexp_not':\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(_ChooseRelatedField__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null), !Boolean(currentItem.field) && wp.element.createElement(_components_AdvancedModalControl__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n value: currentItem.value,\n label: label,\n onChangePreset: function onChangePreset(value) {\n return changeCurrentItem({\n value: value\n });\n },\n onChangeMacros: function onChangeMacros(name) {\n var _currentItem$value;\n return changeCurrentItem({\n value: ((_currentItem$value = currentItem.value) !== null && _currentItem$value !== void 0 ? _currentItem$value : '') + name\n });\n }\n }, function (_ref4) {\n var instanceId = _ref4.instanceId;\n return wp.element.createElement(TextareaControl, {\n id: instanceId,\n value: currentItem.value,\n onChange: function onChange(value) {\n return changeCurrentItem({\n value: value\n });\n }\n });\n }));\n default:\n return null;\n }\n}\nfunction withPref(name) {\n if (!(name !== null && name !== void 0 && name.length) || 'jet_fb_v_' === name) {\n return '';\n }\n return 'jet_fb_v_' + name.replace(/^jet_fb_v_/, '');\n}\naddFilter('jet.fb.advanced.rule.controls', 'jet-form-builder', function (DefaultControls) {\n return function (props) {\n var currentItem = props.currentItem,\n changeCurrentItem = props.changeCurrentItem;\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n showDetails = _useState4[0],\n setShowDetails = _useState4[1];\n if ('ssr' !== currentItem.type) {\n return wp.element.createElement(DefaultControls, props);\n }\n var functionName = currentItem.value || 'custom_jfb_field_validation';\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(SelectControl, {\n labelPosition: \"side\",\n options: _tools__WEBPACK_IMPORTED_MODULE_0__[\"default\"].withPlaceholder(ssr_callbacks, __('Custom function', 'jet-form-builder')),\n label: __('Choose callback', 'jet-form-builder'),\n value: currentItem.value,\n onChange: function onChange(value) {\n return changeCurrentItem({\n value: value\n });\n }\n }), !ssr_callbacks_keys.includes(currentItem.value) && wp.element.createElement(React.Fragment, null, wp.element.createElement(TextControl, {\n label: __('Function name', 'jet-form-builder'),\n value: currentItem.value,\n onChange: function onChange(value) {\n return changeCurrentItem({\n value: withPref(value)\n });\n }\n }), wp.element.createElement(_components_BaseHelp__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null, __('Example of registering a function below.') + ' ', wp.element.createElement(\"a\", {\n href: \"javascript:void(0)\",\n onClick: function onClick() {\n return setShowDetails(function (prev) {\n return !prev;\n });\n }\n }, showDetails ? __('Hide', 'jet-form-builder') : __('Show', 'jet-form-builder'))), showDetails && wp.element.createElement(\"pre\", null, \"/**\\n * To get all the values of the fields in the form, you can use the expression:\\n * jet_fb_request_handler()->get_request() or $context->get_request()\\n *\\n * If the field is located in the middle of the repeater, then only\\n * jet_fb_request_handler()->get_request(), but $context->get_request() \\n * will return the values of all fields of the current repeater element\\n *\\n * @param $value mixed\\n * @param $context \\\\Jet_Form_Builder\\\\Request\\\\Parser_Context\\n *\\n * @return bool\\n */\\nfunction \".concat(functionName, \"( $value, $context ): bool {\\n\\t// your logic\\n\\treturn true;\\n}\"))));\n };\n});\nvar RuleControls = withFilters('jet.fb.advanced.rule.controls')(RuleSpecificControls);\nfunction AdvancedRuleModalItem() {\n var _useContext = useContext(_repeater_context_repeater_item__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n currentItem = _useContext.currentItem,\n changeCurrentItem = _useContext.changeCurrentItem;\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(SelectControl, {\n labelPosition: \"side\",\n options: _tools__WEBPACK_IMPORTED_MODULE_0__[\"default\"].withPlaceholder(rule_types),\n label: __('Rule type', 'jet-form-builder'),\n value: currentItem.type,\n onChange: function onChange(type) {\n return changeCurrentItem({\n type: type\n });\n }\n }), wp.element.createElement(RuleControls, {\n currentItem: currentItem,\n changeCurrentItem: changeCurrentItem\n }), wp.element.createElement(TextareaControl, {\n label: __('Error message', 'jet-form-builder'),\n value: currentItem.message,\n onChange: function onChange(message) {\n return changeCurrentItem({\n message: message\n });\n }\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AdvancedRuleModalItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9BZHZhbmNlZFJ1bGVNb2RhbEl0ZW0uanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQWdDO0FBQ3VDO0FBQ3RCO0FBQ3dC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nRyb2xzIiwiX3JlZjMiLCJjdXJyZW50SXRlbSIsImNoYW5nZUN1cnJlbnRJdGVtIiwiX3VzZVN0YXRlIiwiX3VzZVN0YXRlMiIsIl9zbGljZWRUb0FycmF5IiwibGFiZWwiLCJzZXRMYWJlbCIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50IiwiQm9vbGVhbiIsImZpZWxkIiwib25DaGFuZ2VQcmVzZXQiLCJvbkNoYW5nZU1hY3JvcyIsIm5hbWUiLCJfY3VycmVudEl0ZW0kdmFsdWUiLCJfcmVmNCIsImluc3RhbmNlSWQiLCJpZCIsIm9uQ2hhbmdlIiwid2l0aFByZWYiLCJsZW5ndGgiLCJyZXBsYWNlIiwiRGVmYXVsdENvbnRyb2xzIiwicHJvcHMiLCJfdXNlU3RhdGUzIiwiX3VzZVN0YXRlNCIsInNob3dEZXRhaWxzIiwic2V0U2hvd0RldGFpbHMiLCJmdW5jdGlvbk5hbWUiLCJsYWJlbFBvc2l0aW9uIiwib3B0aW9ucyIsIndpdGhQbGFjZWhvbGRlciIsImluY2x1ZGVzIiwiaHJlZiIsIm9uQ2xpY2siLCJwcmV2IiwiY29uY2F0IiwiUnVsZUNvbnRyb2xzIiwiQWR2YW5jZWRSdWxlTW9kYWxJdGVtIiwiX3VzZUNvbnRleHQiLCJtZXNzYWdlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/components/AdvancedRuleModalItem.js\n"); + +/***/ }), + +/***/ "./package/validation/components/AdvancedRulesIsEmpty.js": +/*!***************************************************************!*\ + !*** ./package/validation/components/AdvancedRulesIsEmpty.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _EditRulesModalContext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EditRulesModalContext */ \"./package/validation/components/EditRulesModalContext.js\");\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _components_DetailsContainer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/DetailsContainer */ \"./package/components/DetailsContainer.js\");\n/* harmony import */ var _components_HoverContainer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/HoverContainer */ \"./package/components/HoverContainer.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\nvar _wp$element = wp.element,\n useContext = _wp$element.useContext,\n useState = _wp$element.useState;\nvar __ = wp.i18n.__;\nvar Button = wp.components.Button;\nfunction AdvancedRulesIsEmpty() {\n var _useContext = useContext(_EditRulesModalContext__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n setShowModal = _useContext.setShowModal;\n var _useBlockAttributes = (0,_blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isHover = _useState2[0],\n setHover = _useState2[1];\n return wp.element.createElement(\"div\", {\n className: \"jet-fb p-relative\",\n onMouseOver: function onMouseOver() {\n return setHover(true);\n },\n onMouseOut: function onMouseOut() {\n return setHover(false);\n }\n }, wp.element.createElement(_components_HoverContainer__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n isHover: isHover\n }, wp.element.createElement(Button, {\n isSmall: true,\n isSecondary: true,\n icon: 'plus-alt2',\n onClick: function onClick() {\n setAttributes({\n validation: _objectSpread(_objectSpread({}, attributes.validation), {}, {\n rules: [{\n __visible: true\n }]\n })\n });\n setShowModal(function (prev) {\n return !prev;\n });\n }\n }, __('Add new', 'jet-form-builder'))), wp.element.createElement(_components_DetailsContainer__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null, wp.element.createElement(\"span\", {\n \"data-title\": __('You have no rules for this field.', 'jet-form-builder')\n }), wp.element.createElement(\"span\", {\n \"data-title\": __('Please click here to add new.', 'jet-form-builder')\n })));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AdvancedRulesIsEmpty);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9BZHZhbmNlZFJ1bGVzSXNFbXB0eS5qcyIs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n//# sourceURL=webpack-internal:///./package/validation/components/AdvancedRulesIsEmpty.js\n"); + +/***/ }), + +/***/ "./package/validation/components/AdvancedRulesList.js": +/*!************************************************************!*\ + !*** ./package/validation/components/AdvancedRulesList.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _AdvancedRulesIsEmpty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AdvancedRulesIsEmpty */ \"./package/validation/components/AdvancedRulesIsEmpty.js\");\n/* harmony import */ var _components_ContainersList__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/ContainersList */ \"./package/components/ContainersList.js\");\n/* harmony import */ var _AdvancedRuleItem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AdvancedRuleItem */ \"./package/validation/components/AdvancedRuleItem.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n\nvar __ = wp.i18n.__;\nvar _wp$element = wp.element,\n Children = _wp$element.Children,\n cloneElement = _wp$element.cloneElement;\nvar renderGroup = function renderGroup(current, index) {\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(\"b\", null, __('AND', 'jet-form-builder')), wp.element.createElement(_AdvancedRuleItem__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n rule: current,\n index: index\n }));\n};\nfunction getRulesList(rules) {\n var andRules = rules.filter(function (c, index) {\n return 0 !== index;\n });\n return [wp.element.createElement(_AdvancedRuleItem__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n rule: rules[0]\n })].concat(_toConsumableArray(andRules.map(function (item, index) {\n return renderGroup(item, index + 1);\n })));\n}\nfunction AdvancedRulesList() {\n var _attributes$validatio;\n var _useBlockAttributes = (0,_blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 1),\n attributes = _useBlockAttributes2[0];\n if (!(attributes !== null && attributes !== void 0 && (_attributes$validatio = attributes.validation) !== null && _attributes$validatio !== void 0 && (_attributes$validatio = _attributes$validatio.rules) !== null && _attributes$validatio !== void 0 && _attributes$validatio.length)) {\n return wp.element.createElement(_AdvancedRulesIsEmpty__WEBPACK_IMPORTED_MODULE_1__[\"default\"], null);\n }\n return wp.element.createElement(_components_ContainersList__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null, Children.map(getRulesList(attributes.validation.rules), cloneElement));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AdvancedRulesList);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9BZHZhbmNlZFJ1bGVzTGlzdC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBdUU7QUFDYjtBQUNHO0FBQ1g7QUFFbEQsSUFDT0ksRUFBRSxHQUNDQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsRUFBRTtBQUVULElBQUFHLFdBQUEsR0FHVUYsRUFBRSxDQUFDRyxPQUFPO0VBRmJDLFFBQVEsR0FBQUYsV0FBQSxDQUFSRSxRQUFRO0VBQ1JDLFlBQVksR0FBQUgsV0FBQSxDQUFaRyxZQUFZO0FBR25CLElBQU1DLFdBQVcsR0FBRyxTQUFkQSxXQUFXQSxDQUFLQyxPQUFPLEVBQUVDLEtB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cblx0cmV0dXJuIDxDb250YWluZXJzTGlzdD5cclxuXHRcdHsgQ2hpbGRyZW4ubWFwKFxyXG5cdFx0XHRnZXRSdWxlc0xpc3QoIGF0dHJpYnV0ZXMudmFsaWRhdGlvbi5ydWxlcyApLFxyXG5cdFx0XHRjbG9uZUVsZW1lbnQsXHJcblx0XHQpIH1cclxuXHQ8L0NvbnRhaW5lcnNMaXN0PjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQWR2YW5jZWRSdWxlc0xpc3Q7Il0sIm5hbWVzIjpbInVzZUJsb2NrQXR0cmlidXRlcyIsIkFkdmFuY2VkUnVsZXNJc0VtcHR5IiwiQ29udGFpbmVyc0xpc3QiLCJBZHZhbmNlZFJ1bGVJdGVtIiwiX18iLCJ3cCIsImkxOG4iLCJfd3AkZWxlbWVudCIsImVsZW1lbnQiLCJDaGlsZHJlbiIsImNsb25lRWxlbWVudCIsInJlbmRlckdyb3VwIiwiY3VycmVudCIsImluZGV4IiwiY3JlYXRlRWxlbWVudCIsIlJlYWN0IiwiRnJhZ21lbnQiLCJydWxlIiwiZ2V0UnVsZXNMaXN0IiwicnVsZXMiLCJhbmRSdWxlcyIsImZpbHRlciIsImMiLCJjb25jYXQiLCJfdG9Db25zdW1hYmxlQXJyYXkiLCJtYXAiLCJpdGVtIiwiQWR2YW5jZWRSdWxlc0xpc3QiLCJfYXR0cmlidXRlcyR2YWxpZGF0aW8iLCJfdXNlQmxvY2tBdHRyaWJ1dGVzIiwiX3VzZUJsb2NrQXR0cmlidXRlczIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJ2YWxpZGF0aW9uIiwibGVuZ3RoIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/components/AdvancedRulesList.js\n"); + +/***/ }), + +/***/ "./package/validation/components/AdvancedRulesModal.js": +/*!*************************************************************!*\ + !*** ./package/validation/components/AdvancedRulesModal.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _action_modal_hooks_useOnUpdateModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../action-modal/hooks/useOnUpdateModal */ \"./package/action-modal/hooks/useOnUpdateModal.js\");\n/* harmony import */ var _repeater_components_repeater__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../repeater/components/repeater */ \"./package/repeater/components/repeater.js\");\n/* harmony import */ var _repeater_components_repeater_add_new__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../repeater/components/repeater.add.new */ \"./package/repeater/components/repeater.add.new.js\");\n/* harmony import */ var _AdvancedRuleModalItem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./AdvancedRuleModalItem */ \"./package/validation/components/AdvancedRuleModalItem.js\");\n/* harmony import */ var _repeater_components_repeater_state__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../repeater/components/repeater.state */ \"./package/repeater/components/repeater.state.js\");\n/* harmony import */ var _repeater_context_repeater_custom_item_head__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../repeater/context/repeater.custom.item.head */ \"./package/repeater/context/repeater.custom.item.head.js\");\n/* harmony import */ var _helpers_humanReadableRule__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../helpers/humanReadableRule */ \"./package/validation/helpers/humanReadableRule.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\n\n\n\n\nvar useState = wp.element.useState;\nvar __ = wp.i18n.__;\nfunction AdvancedRulesModal() {\n var _useBlockAttributes = (0,_blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var _useState = useState(function () {\n var _attributes$validatio, _attributes$validatio2;\n return (_attributes$validatio = (_attributes$validatio2 = attributes.validation) === null || _attributes$validatio2 === void 0 ? void 0 : _attributes$validatio2.rules) !== null && _attributes$validatio !== void 0 ? _attributes$validatio : [];\n }),\n _useState2 = _slicedToArray(_useState, 2),\n current = _useState2[0],\n setCurrent = _useState2[1];\n (0,_action_modal_hooks_useOnUpdateModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(function () {\n setAttributes(function (prev) {\n return _objectSpread(_objectSpread({}, prev), {}, {\n validation: _objectSpread(_objectSpread({}, attributes.validation), {}, {\n rules: current\n })\n });\n });\n });\n return wp.element.createElement(_repeater_components_repeater_state__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n state: setCurrent\n }, wp.element.createElement(_repeater_context_repeater_custom_item_head__WEBPACK_IMPORTED_MODULE_6__[\"default\"].Provider, {\n value: {\n isSupported: function isSupported() {\n return true;\n },\n render: function render(_ref) {\n var currentItem = _ref.currentItem;\n return wp.element.createElement(\"span\", {\n className: 'repeater-item-title',\n dangerouslySetInnerHTML: {\n __html: (0,_helpers_humanReadableRule__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(currentItem)\n }\n });\n }\n }\n }, wp.element.createElement(_repeater_components_repeater__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n items: current\n }, wp.element.createElement(_AdvancedRuleModalItem__WEBPACK_IMPORTED_MODULE_4__[\"default\"], null))), wp.element.createElement(_repeater_components_repeater_add_new__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null, __('Add Rule', 'jet-form-builder')));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AdvancedRulesModal);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9BZHZhbmNlZFJ1bGVzTW9kYWwuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQXVFO0FBQ0U7QUFDZjtBQUNjO0FBQ1o7QUFDUztBQUVaO0FBQ0k7QUFFN0QsSUFDT1EsUUFBUSxHQUNMQyxFQUFFLENBQUNDLE9BQU8sQ0FEYkYsUUFBUTtBQUVmLElBQ09HLEVBQUUsR0FDQ0YsRUFBRSxDQUFDRyxJQUFJLENBRFZELEVBQUU7QUFHVCxTQUFTRSxrQkFBa0JB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XRlPjtcclxuXHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IEFkdmFuY2VkUnVsZXNNb2RhbDsiXSwibmFtZXMiOlsidXNlQmxvY2tBdHRyaWJ1dGVzIiwidXNlT25VcGRhdGVNb2RhbCIsIlJlcGVhdGVyIiwiUmVwZWF0ZXJBZGROZXciLCJBZHZhbmNlZFJ1bGVNb2RhbEl0ZW0iLCJSZXBlYXRlclN0YXRlIiwiUmVwZWF0ZXJIZWFkQ29udGV4dCIsImh1bWFuUmVhZGFibGVSdWxlIiwidXNlU3RhdGUiLCJ3cCIsImVsZW1lbnQiLCJfXyIsImkxOG4iLCJBZHZhbmNlZFJ1bGVzTW9kYWwiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzIiwiX3VzZUJsb2NrQXR0cmlidXRlczIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJzZXRBdHRyaWJ1dGVzIiwiX3VzZVN0YXRlIiwiX2F0dHJpYnV0ZXMkdmFsaWRhdGlvIiwiX2F0dHJpYnV0ZXMkdmFsaWRhdGlvMiIsInZhbGlkYXRpb24iLCJydWxlcyIsIl91c2VTdGF0ZTIiLCJjdXJyZW50Iiwic2V0Q3VycmVudCIsInByZXYiLCJfb2JqZWN0U3ByZWFkIiwiY3JlYXRlRWxlbWVudCIsInN0YXRlIiwiUHJvdmlkZXIiLCJ2YWx1ZSIsImlzU3VwcG9ydGVkIiwicmVuZGVyIiwiX3JlZiIsImN1cnJlbnRJdGVtIiwiY2xhc3NOYW1lIiwiZGFuZ2Vyb3VzbHlTZXRJbm5lckhUTUwiLCJfX2h0bWwiLCJpdGVtcyJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/validation/components/AdvancedRulesModal.js\n"); + +/***/ }), + +/***/ "./package/validation/components/ChooseRelatedField.js": +/*!*************************************************************!*\ + !*** ./package/validation/components/ChooseRelatedField.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _repeater_context_repeater_item__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../repeater/context/repeater.item */ \"./package/repeater/context/repeater.item.js\");\n/* harmony import */ var _blocks_helpers_getFieldsWithoutCurrent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../blocks/helpers/getFieldsWithoutCurrent */ \"./package/blocks/helpers/getFieldsWithoutCurrent.js\");\n\n\nvar SelectControl = wp.components.SelectControl;\nvar _wp$element = wp.element,\n useContext = _wp$element.useContext,\n useMemo = _wp$element.useMemo;\nvar __ = wp.i18n.__;\nfunction ChooseRelatedField() {\n var _useContext = useContext(_repeater_context_repeater_item__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n currentItem = _useContext.currentItem,\n changeCurrentItem = _useContext.changeCurrentItem;\n var fields = useMemo(function () {\n return (0,_blocks_helpers_getFieldsWithoutCurrent__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(__('Custom value', 'jet-form-builder'));\n }, []);\n return wp.element.createElement(SelectControl, {\n labelPosition: \"side\",\n options: fields,\n label: __('Choose field', 'jet-form-builder'),\n value: currentItem.field,\n onChange: function onChange(field) {\n return changeCurrentItem({\n field: field\n });\n }\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ChooseRelatedField);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9DaG9vc2VSZWxhdGVkRmllbGQuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQXVFO0FBRWxCO0FBRXJELElBQ09FLGFBQWEsR0FDVkMsRUFBRSxDQUFD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PXsgZmllbGRzIH1cclxuXHRcdGxhYmVsPXsgX18oICdDaG9vc2UgZmllbGQnLCAnamV0LWZvcm0tYnVpbGRlcicgKSB9XHJcblx0XHR2YWx1ZT17IGN1cnJlbnRJdGVtLmZpZWxkIH1cclxuXHRcdG9uQ2hhbmdlPXsgZmllbGQgPT4gY2hhbmdlQ3VycmVudEl0ZW0oIHsgZmllbGQgfSApIH1cclxuXHQvPjtcclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgQ2hvb3NlUmVsYXRlZEZpZWxkOyJdLCJuYW1lcyI6WyJSZXBlYXRlckl0ZW1Db250ZXh0IiwiZ2V0RmllbGRzV2l0aG91dEN1cnJlbnQiLCJTZWxlY3RDb250cm9sIiwid3AiLCJjb21wb25lbnRzIiwiX3dwJGVsZW1lbnQiLCJlbGVtZW50IiwidXNlQ29udGV4dCIsInVzZU1lbW8iLCJfXyIsImkxOG4iLCJDaG9vc2VSZWxhdGVkRmllbGQiLCJfdXNlQ29udGV4dCIsImN1cnJlbnRJdGVtIiwiY2hhbmdlQ3VycmVudEl0ZW0iLCJmaWVsZHMiLCJjcmVhdGVFbGVtZW50IiwibGFiZWxQb3NpdGlvbiIsIm9wdGlvbnMiLCJsYWJlbCIsInZhbHVlIiwiZmllbGQiLCJvbkNoYW5nZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/validation/components/ChooseRelatedField.js\n"); + +/***/ }), + +/***/ "./package/validation/components/EditAdvancedRulesButton.js": +/*!******************************************************************!*\ + !*** ./package/validation/components/EditAdvancedRulesButton.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _AdvancedRulesModal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AdvancedRulesModal */ \"./package/validation/components/AdvancedRulesModal.js\");\n/* harmony import */ var _action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../action-modal/components/ActionModal */ \"./package/action-modal/components/ActionModal.js\");\n/* harmony import */ var _AdvancedRulesList__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AdvancedRulesList */ \"./package/validation/components/AdvancedRulesList.js\");\n/* harmony import */ var _EditRulesModalContext__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./EditRulesModalContext */ \"./package/validation/components/EditRulesModalContext.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\nvar useState = wp.element.useState;\nvar __ = wp.i18n.__;\nfunction EditAdvancedRulesButton() {\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n showModal = _useState2[0],\n setShowModal = _useState2[1];\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(_EditRulesModalContext__WEBPACK_IMPORTED_MODULE_3__[\"default\"].Provider, {\n value: {\n showModal: showModal,\n setShowModal: setShowModal\n }\n }, wp.element.createElement(\"div\", {\n className: \"jet-fb mb-24\"\n }, wp.element.createElement(_AdvancedRulesList__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null))), showModal && wp.element.createElement(_action_modal_components_ActionModal__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n title: __('Edit Advanced Rules', 'jet-form-builder'),\n classNames: ['width-60'],\n onRequestClose: function onRequestClose() {\n return setShowModal(false);\n }\n }, wp.element.createElement(_AdvancedRulesModal__WEBPACK_IMPORTED_MODULE_0__[\"default\"], null)));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditAdvancedRulesButton);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9FZGl0QWR2YW5jZWRSdWxlc0J1dHRvbi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQUFzRDtBQUNjO0FBQ2hCO0FBQ1E7QUFFNUQsSUFDT0ksUUFBUSxHQUNMQyxFQUFFLENBQUNDLE9BQU8sQ0FEYkYsUUFBUTtBQUVmLElBQ09HLEVBQUUsR0FDQ0YsRUFBRSxDQUFDRyxJQUFJLENBRFZELEVBQUU7QUFHVCxTQUFTRSx1Q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kZXI+XHJcblx0XHR7IHNob3dNb2RhbCAmJiA8QWN0aW9uTW9kYWxcclxuXHRcdFx0dGl0bGU9eyBfXyggJ0VkaXQgQWR2YW5jZWQgUnVsZXMnLCAnamV0LWZvcm0tYnVpbGRlcicgKSB9XHJcblx0XHRcdGNsYXNzTmFtZXM9eyBbICd3aWR0aC02MCcgXSB9XHJcblx0XHRcdG9uUmVxdWVzdENsb3NlPXsgKCkgPT4gc2V0U2hvd01vZGFsKCBmYWxzZSApIH1cclxuXHRcdD5cclxuXHRcdFx0PEFkdmFuY2VkUnVsZXNNb2RhbC8+XHJcblx0XHQ8L0FjdGlvbk1vZGFsPiB9XHJcblx0PC8+O1xyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBFZGl0QWR2YW5jZWRSdWxlc0J1dHRvbjsiXSwibmFtZXMiOlsiQWR2YW5jZWRSdWxlc01vZGFsIiwiQWN0aW9uTW9kYWwiLCJBZHZhbmNlZFJ1bGVzTGlzdCIsIkVkaXRSdWxlc01vZGFsQ29udGV4dCIsInVzZVN0YXRlIiwid3AiLCJlbGVtZW50IiwiX18iLCJpMThuIiwiRWRpdEFkdmFuY2VkUnVsZXNCdXR0b24iLCJfdXNlU3RhdGUiLCJfdXNlU3RhdGUyIiwiX3NsaWNlZFRvQXJyYXkiLCJzaG93TW9kYWwiLCJzZXRTaG93TW9kYWwiLCJjcmVhdGVFbGVtZW50IiwiUmVhY3QiLCJGcmFnbWVudCIsIlByb3ZpZGVyIiwidmFsdWUiLCJjbGFzc05hbWUiLCJ0aXRsZSIsImNsYXNzTmFtZXMiLCJvblJlcXVlc3RDbG9zZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/validation/components/EditAdvancedRulesButton.js\n"); + +/***/ }), + +/***/ "./package/validation/components/EditRulesModalContext.js": +/*!****************************************************************!*\ + !*** ./package/validation/components/EditRulesModalContext.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar createContext = wp.element.createContext;\nvar EditRulesModalContext = createContext({\n showModal: false,\n setShowModal: function setShowModal() {}\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EditRulesModalContext);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9FZGl0UnVsZXNNb2RhbENvbnRleHQuanMiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQVFBLGFBQWEsR0FBS0MsRUFBRSxDQUFDQyxPQUFPLENBQTVCRixhQUFhO0FBRXJCLElBQU1HLHFCQUFxQixHQUFHSCxhQUFhLENBQUU7RUFDNUNJLFNBQVMsRUFBRSxLQUFLO0VBQ2hCQyxZQUFZLEVBQUUsU0FBQUEsYUFBQSxFQUFNLENBQUM7QUFDdEIsQ0FBRSxDQUFDO0FBRUgsaUVBQWVGLHFCQUFxQiIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uL3BhY2thZ2UvdmFsaWRhdGlvbi9jb21wb25lbnRzL0VkaXRSdWxlc01vZGFsQ29udGV4dC5qcz8xZjlhIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHsgY3JlYXRlQ29udGV4dCB9ID0gd3AuZWxlbWVudDtcclxuXHJcbmNvbnN0IEVkaXRSdWxlc01vZGFsQ29udGV4dCA9IGNyZWF0ZUNvbnRleHQoIHtcclxuXHRzaG93TW9kYWw6IGZhbHNlLFxyXG5cdHNldFNob3dNb2RhbDogKCkgPT4ge30sXHJcbn0gKTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IEVkaXRSdWxlc01vZGFsQ29udGV4dDsiXSwibmFtZXMiOlsiY3JlYXRlQ29udGV4dCIsIndwIiwiZWxlbWVudCIsIkVkaXRSdWxlc01vZGFsQ29udGV4dCIsInNob3dNb2RhbCIsInNldFNob3dNb2RhbCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/validation/components/EditRulesModalContext.js\n"); + +/***/ }), + +/***/ "./package/validation/components/HumanReadableRule.js": +/*!************************************************************!*\ + !*** ./package/validation/components/HumanReadableRule.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _helpers_humanReadableRule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/humanReadableRule */ \"./package/validation/helpers/humanReadableRule.js\");\n\nvar __ = wp.i18n.__;\nfunction HumanReadableRule(_ref) {\n var rule = _ref.rule;\n return rule.type ? wp.element.createElement(React.Fragment, null, wp.element.createElement(\"span\", {\n \"data-title\": __('Rule:', 'jet-form-builder'),\n dangerouslySetInnerHTML: {\n __html: (0,_helpers_humanReadableRule__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(rule)\n }\n }), Boolean(rule.message) && wp.element.createElement(\"span\", {\n \"data-title\": __('Message:', 'jet-form-builder'),\n dangerouslySetInnerHTML: {\n __html: rule.message\n }\n })) : wp.element.createElement(\"span\", {\n \"data-title\": __('The rule is not fully configured.', 'jet-form-builder')\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (HumanReadableRule);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9IdW1hblJlYWRhYmxlUnVsZS5qcyIsIm1hcHBpbmdzIjoiOzs7Ozt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IiwiaTE4biIsIkh1bWFuUmVhZGFibGVSdWxlIiwiX3JlZiIsInJ1bGUiLCJ0eXBlIiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50IiwiZGFuZ2Vyb3VzbHlTZXRJbm5lckhUTUwiLCJfX2h0bWwiLCJCb29sZWFuIiwibWVzc2FnZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/validation/components/HumanReadableRule.js\n"); + +/***/ }), + +/***/ "./package/validation/components/ValidationBlockMessage.js": +/*!*****************************************************************!*\ + !*** ./package/validation/components/ValidationBlockMessage.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../blocks/hooks/useUniqKey */ \"./package/blocks/hooks/useUniqKey.js\");\n/* harmony import */ var _hooks_useMetaState__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../hooks/useMetaState */ \"./package/hooks/useMetaState.js\");\n/* harmony import */ var _helpers_getItemByName__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../helpers/getItemByName */ \"./package/validation/helpers/getItemByName.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\n\n\nvar TextControl = wp.components.TextControl;\nfunction ValidationBlockMessage(_ref) {\n var _attributes$validatio, _args$messages, _attributes$validatio2, _attributes$validatio3, _messages$name;\n var name = _ref.name;\n var uniqKey = (0,_blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n var _useBlockAttributes = (0,_blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var _useMetaState = (0,_hooks_useMetaState__WEBPACK_IMPORTED_MODULE_2__[\"default\"])('_jf_validation', '{}', []),\n _useMetaState2 = _slicedToArray(_useMetaState, 1),\n args = _useMetaState2[0];\n var isInherit = !((_attributes$validatio = attributes.validation) !== null && _attributes$validatio !== void 0 && _attributes$validatio.type);\n var messages = isInherit ? (_args$messages = args === null || args === void 0 ? void 0 : args.messages) !== null && _args$messages !== void 0 ? _args$messages : {} : (_attributes$validatio2 = (_attributes$validatio3 = attributes.validation) === null || _attributes$validatio3 === void 0 ? void 0 : _attributes$validatio3.messages) !== null && _attributes$validatio2 !== void 0 ? _attributes$validatio2 : {};\n var current = (0,_helpers_getItemByName__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(name);\n return wp.element.createElement(React.Fragment, null, wp.element.createElement(TextControl, {\n disabled: isInherit,\n key: uniqKey('massage_' + name),\n label: current === null || current === void 0 ? void 0 : current.label,\n help: current === null || current === void 0 ? void 0 : current.help,\n value: (_messages$name = messages[name]) !== null && _messages$name !== void 0 ? _messages$name : current === null || current === void 0 ? void 0 : current.initial,\n onChange: function onChange(value) {\n return setAttributes(function (prev) {\n return _objectSpread(_objectSpread({}, prev), {}, {\n validation: _objectSpread(_objectSpread({}, attributes.validation), {}, {\n messages: _objectSpread(_objectSpread({}, messages), {}, _defineProperty({}, name, value))\n })\n });\n });\n }\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidationBlockMessage);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9WYWxpZGF0aW9uQmxvY2tNZXNzYWdlLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQXVFO0FBQ2hCO0FBQ0g7QUFDQztBQUVyRCxJQUNPSSxXQUFXLEdBQ1JDLEVBQUUsQ0FBQ0MsVUFBVSxDQURoQkYsV0FBVztBQUdsQixTQUFTRyxzQkFBc0JBLENBQUFDLElBQUEsRUFFM0I7RUFBQSxJQUFBQyxxQkFBQSxFQUFBQyxjQUFBLEVBQUFDLHNCQUFBLEVBQUFDLHNCQUFBLEVBQUFDLGNBQUE7RUFBQSxJQURIQyxJQUFJLEdBQUFOLElBQUEsQ0FBSk0sSUFBSTtFQUVKLElBQU1DLE9BQU8sR0FB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kdmFsaWRhdGlvMyIsIl9tZXNzYWdlcyRuYW1lIiwibmFtZSIsInVuaXFLZXkiLCJfdXNlQmxvY2tBdHRyaWJ1dGVzIiwiX3VzZUJsb2NrQXR0cmlidXRlczIiLCJfc2xpY2VkVG9BcnJheSIsImF0dHJpYnV0ZXMiLCJzZXRBdHRyaWJ1dGVzIiwiX3VzZU1ldGFTdGF0ZSIsIl91c2VNZXRhU3RhdGUyIiwiYXJncyIsImlzSW5oZXJpdCIsInZhbGlkYXRpb24iLCJ0eXBlIiwibWVzc2FnZXMiLCJjdXJyZW50IiwiZWxlbWVudCIsImNyZWF0ZUVsZW1lbnQiLCJSZWFjdCIsIkZyYWdtZW50IiwiZGlzYWJsZWQiLCJrZXkiLCJsYWJlbCIsImhlbHAiLCJ2YWx1ZSIsImluaXRpYWwiLCJvbkNoYW5nZSIsInByZXYiLCJfb2JqZWN0U3ByZWFkIiwiX2RlZmluZVByb3BlcnR5Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/components/ValidationBlockMessage.js\n"); + +/***/ }), + +/***/ "./package/validation/components/ValidationMetaMessage.js": +/*!****************************************************************!*\ + !*** ./package/validation/components/ValidationMetaMessage.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _helpers_getItemByName__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../helpers/getItemByName */ \"./package/validation/helpers/getItemByName.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nvar _excluded = [\"message\", \"update\", \"value\", \"help\"];\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nvar _wp$components = wp.components,\n TextControl = _wp$components.TextControl,\n Tooltip = _wp$components.Tooltip;\nfunction ValidationMetaMessage(_ref) {\n var message = _ref.message,\n update = _ref.update,\n _ref$value = _ref.value,\n value = _ref$value === void 0 ? null : _ref$value,\n _ref$help = _ref.help,\n help = _ref$help === void 0 ? null : _ref$help,\n props = _objectWithoutProperties(_ref, _excluded);\n var current = (0,_helpers_getItemByName__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(message.id);\n return wp.element.createElement(\"div\", props, wp.element.createElement(\"label\", {\n htmlFor: message.id,\n className: 'jet-fb flex jc-space-between'\n }, wp.element.createElement(\"span\", null, current.label), wp.element.createElement(\"span\", {\n className: 'jet-fb flex gap-1em'\n }, message.blocks.map(function (block) {\n return wp.element.createElement(\"span\", {\n key: 'message_block_item' + block.title,\n className: \"jet-fb-validation-messages-item-heading-pair__icon\"\n }, wp.element.createElement(Tooltip, {\n text: block.title,\n delay: 200,\n position: 'top center'\n }, wp.element.createElement(\"div\", null, block.icon)));\n }))), wp.element.createElement(TextControl, {\n id: message.id,\n key: 'validation_message_' + message.id,\n help: help !== null && help !== void 0 ? help : current === null || current === void 0 ? void 0 : current.help,\n value: value !== null && value !== void 0 ? value : current === null || current === void 0 ? void 0 : current.initial,\n onChange: function onChange(value) {\n return update(function (prev) {\n return _objectSpread(_objectSpread({}, prev), {}, _defineProperty({}, message.id, value));\n });\n }\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidationMetaMessage);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9WYWxpZGF0aW9uTWV0YU1lc3NhZ2UuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs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YW1lIiwiX3dwJGNvbXBvbmVudHMiLCJ3cCIsImNvbXBvbmVudHMiLCJUZXh0Q29udHJvbCIsIlRvb2x0aXAiLCJWYWxpZGF0aW9uTWV0YU1lc3NhZ2UiLCJfcmVmIiwibWVzc2FnZSIsInVwZGF0ZSIsIl9yZWYkdmFsdWUiLCJ2YWx1ZSIsIl9yZWYkaGVscCIsImhlbHAiLCJwcm9wcyIsIl9vYmplY3RXaXRob3V0UHJvcGVydGllcyIsIl9leGNsdWRlZCIsImN1cnJlbnQiLCJpZCIsImVsZW1lbnQiLCJjcmVhdGVFbGVtZW50IiwiaHRtbEZvciIsImNsYXNzTmFtZSIsImxhYmVsIiwiYmxvY2tzIiwibWFwIiwiYmxvY2siLCJrZXkiLCJ0aXRsZSIsInRleHQiLCJkZWxheSIsInBvc2l0aW9uIiwiaWNvbiIsImluaXRpYWwiLCJvbkNoYW5nZSIsInByZXYiLCJfb2JqZWN0U3ByZWFkIiwiX2RlZmluZVByb3BlcnR5Il0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/components/ValidationMetaMessage.js\n"); + +/***/ }), + +/***/ "./package/validation/components/ValidationToggleGroup.js": +/*!****************************************************************!*\ + !*** ./package/validation/components/ValidationToggleGroup.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../blocks/hooks/useBlockAttributes */ \"./package/blocks/hooks/useBlockAttributes.js\");\n/* harmony import */ var _blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../blocks/hooks/useUniqKey */ \"./package/blocks/hooks/useUniqKey.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\n\nvar _wp$components = wp.components,\n ToggleGroupControl = _wp$components.__experimentalToggleGroupControl,\n ToggleGroupControlOption = _wp$components.__experimentalToggleGroupControlOption;\nvar __ = wp.i18n.__;\nvar formats = window.jetFormValidation.formats;\nfunction ValidationToggleGroup(_ref) {\n var _attributes$validatio, _attributes$validatio2;\n var _ref$excludeBrowser = _ref.excludeBrowser,\n excludeBrowser = _ref$excludeBrowser === void 0 ? false : _ref$excludeBrowser;\n var _useBlockAttributes = (0,_blocks_hooks_useBlockAttributes__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(),\n _useBlockAttributes2 = _slicedToArray(_useBlockAttributes, 2),\n attributes = _useBlockAttributes2[0],\n setAttributes = _useBlockAttributes2[1];\n var uniqKey = (0,_blocks_hooks_useUniqKey__WEBPACK_IMPORTED_MODULE_1__[\"default\"])();\n formats = formats.filter(function (_ref2) {\n var value = _ref2.value;\n return value !== 'browser' || !excludeBrowser;\n });\n return wp.element.createElement(ToggleGroupControl, {\n onChange: function onChange(type) {\n return setAttributes(function (prev) {\n return _objectSpread(_objectSpread({}, prev), {}, {\n validation: _objectSpread(_objectSpread({}, attributes.validation), {}, {\n type: type\n })\n });\n });\n },\n value: (_attributes$validatio = (_attributes$validatio2 = attributes.validation) === null || _attributes$validatio2 === void 0 ? void 0 : _attributes$validatio2.type) !== null && _attributes$validatio !== void 0 ? _attributes$validatio : '',\n label: __('Validation type', 'jet-form-builder'),\n isBlock: true,\n isAdaptiveWidth: false\n }, wp.element.createElement(ToggleGroupControlOption, {\n label: __('Inherit', 'jet-form-builder'),\n value: '',\n \"aria-label\": __('Inherit from form\\'s args', 'jet-form-builder'),\n showTooltip: true\n }), formats.map(function (current) {\n return wp.element.createElement(ToggleGroupControlOption, {\n key: uniqKey(current.value + '_key'),\n label: current.label,\n value: current.value,\n \"aria-label\": current.title,\n showTooltip: true\n });\n }));\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ValidationToggleGroup);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vY29tcG9uZW50cy9WYWxpZGF0aW9uVG9nZ2xlR3JvdXAuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQXVFO0FBQ2hCO0FBRXZELElBQUFFLGNBQUEsR0FHVUMsRUFBRSxDQUFDQyxVQUFVO0VBRmtCQyxrQkFBa0IsR0FBQUgsY0FBQSxDQUFwREksZ0NBQWdDO0VBQ1FDLHdCQUF3QixHQUFBTCxjQUFBLENBQWhFTSxzQ0FBc0M7QUFHN0MsSUFBUUMsRUFBRSxHQUFLTixFQUFFLENBQU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RoIiwic2hvd1Rvb2x0aXAiLCJtYXAiLCJjdXJyZW50Iiwia2V5IiwidGl0bGUiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/validation/components/ValidationToggleGroup.js\n"); + +/***/ }), + +/***/ "./package/validation/helpers/getItemByName.js": +/*!*****************************************************!*\ + !*** ./package/validation/helpers/getItemByName.js ***! + \*****************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar messages = window.jetFormValidation.messages;\nfunction getItemByName(findName) {\n return messages.find(function (_ref) {\n var id = _ref.id;\n return findName === id;\n });\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (getItemByName);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vaGVscGVycy9nZXRJdGVtQnlOYW1lLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxJQUFRQSxRQUFRLEdBQUtDLE1BQU0sQ0FBQ0MsaUJBQWlCLENBQXJDRixRQUFRO0FBRWhCLFNBQVNHLGFBQWFBLENBQUVDLFFBQVEsRUFBRztFQUNsQyxPQUFPSixRQUFRLENBQUNLLElBQUksQ0FDbkIsVUFBQUMsSUFBQTtJQUFBLElBQUlDLEVBQUUsR0FBQUQsSUFBQSxDQUFGQyxFQUFFO0lBQUEsT0FBUUgsUUFBUSxLQUFLRyxFQUFFO0VBQUEsQ0FDOUIsQ0FBQztBQUVGO0FBRUEsaUVBQWVKLGFBQWEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL3ZhbGlkYXRpb24vaGVscGVycy9nZXRJdGVtQnlOYW1lLmpzPzExODYiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgeyBtZXNzYWdlcyB9ID0gd2luZG93LmpldEZvcm1WYWxpZGF0aW9uO1xyXG5cclxuZnVuY3Rpb24gZ2V0SXRlbUJ5TmFtZSggZmluZE5hbWUgKSB7XHJcblx0cmV0dXJuIG1lc3NhZ2VzLmZpbmQoXHJcblx0XHQoIHsgaWQgfSApID0+IGZpbmROYW1lID09PSBpZCxcclxuXHQpO1xyXG5cclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgZ2V0SXRlbUJ5TmFtZTtcclxuIl0sIm5hbWVzIjpbIm1lc3NhZ2VzIiwid2luZG93IiwiamV0Rm9ybVZhbGlkYXRpb24iLCJnZXRJdGVtQnlOYW1lIiwiZmluZE5hbWUiLCJmaW5kIiwiX3JlZiIsImlkIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/helpers/getItemByName.js\n"); + +/***/ }), + +/***/ "./package/validation/helpers/humanReadableRule.js": +/*!*********************************************************!*\ + !*** ./package/validation/helpers/humanReadableRule.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar select = wp.data.select;\n\n/**\r\n * @param rule\r\n * @return {boolean|string}\r\n */\nfunction humanReadableRule(rule) {\n return select('jet-forms/validation').readRule(rule);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (humanReadableRule);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vaGVscGVycy9odW1hblJlYWRhYmxlUnVsZS5qcyIsIm1hcHBpbmdzIjoiOzs7O0FBQUEsSUFDT0EsTUFBTSxHQUNIQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsTUFBTTs7QUFHYjtBQUNBO0FBQ0E7QUFDQTtBQUNBLFNBQVNHLGlCQUFpQkEsQ0FBRUMsSUFBSSxFQUFHO0VBQ2xDLE9BQU9KLE1BQU0sQ0FBRSxzQkFBdUIsQ0FBQyxDQUFDSyxRQUFRLENBQUVELElBQUssQ0FBQztBQUN6RDtBQUVBLGlFQUFlRCxpQkFBaUIiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL3ZhbGlkYXRpb24vaGVscGVycy9odW1hblJlYWRhYmxlUnVsZS5qcz9lYjUwIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IHtcclxuXHQgICAgICBzZWxlY3QsXHJcbiAgICAgIH0gPSB3cC5kYXRhO1xyXG5cclxuLyoqXHJcbiAqIEBwYXJhbSBydWxlXHJcbiAqIEByZXR1cm4ge2Jvb2xlYW58c3RyaW5nfVxyXG4gKi9cclxuZnVuY3Rpb24gaHVtYW5SZWFkYWJsZVJ1bGUoIHJ1bGUgKSB7XHJcblx0cmV0dXJuIHNlbGVjdCggJ2pldC1mb3Jtcy92YWxpZGF0aW9uJyApLnJlYWRSdWxlKCBydWxlICk7XHJcbn1cclxuXHJcbmV4cG9ydCBkZWZhdWx0IGh1bWFuUmVhZGFibGVSdWxlOyJdLCJuYW1lcyI6WyJzZWxlY3QiLCJ3cCIsImRhdGEiLCJodW1hblJlYWRhYmxlUnVsZSIsInJ1bGUiLCJyZWFkUnVsZSJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/validation/helpers/humanReadableRule.js\n"); + +/***/ }), + +/***/ "./package/validation/hooks/useGroupedValidationMessages.js": +/*!******************************************************************!*\ + !*** ./package/validation/hooks/useGroupedValidationMessages.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _classes_ValidationMessages__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../classes/ValidationMessages */ \"./package/validation/classes/ValidationMessages.js\");\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\nvar messages = window.jetFormValidation.messages;\nvar useState = wp.element.useState;\nvar sorted = messages.sort(function (prev, next) {\n return prev.supported.length - next.supported.length;\n});\nfunction getGroupedMessages() {\n var groups = new _classes_ValidationMessages__WEBPACK_IMPORTED_MODULE_0__[\"default\"]();\n var _iterator = _createForOfIteratorHelper(sorted),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var message = _step.value;\n groups.push(message);\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return groups.items;\n}\nfunction useGroupedValidationMessages() {\n var _useState = useState(getGroupedMessages),\n _useState2 = _slicedToArray(_useState, 1),\n messages = _useState2[0];\n return messages;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGroupedValidationMessages);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vaG9va3MvdXNlR3JvdXBlZFZhbGlkYXRpb25NZXNzYWdlcy5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBK0Q7QUFFL0QsSUFBUUMsUUFBUSxHQUFLQyxNQUFNLENB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VwZWRWYWxpZGF0aW9uTWVzc2FnZXM7Il0sIm5hbWVzIjpbIlZhbGlkYXRpb25NZXNzYWdlcyIsIm1lc3NhZ2VzIiwid2luZG93IiwiamV0Rm9ybVZhbGlkYXRpb24iLCJ1c2VTdGF0ZSIsIndwIiwiZWxlbWVudCIsInNvcnRlZCIsInNvcnQiLCJwcmV2IiwibmV4dCIsInN1cHBvcnRlZCIsImxlbmd0aCIsImdldEdyb3VwZWRNZXNzYWdlcyIsImdyb3VwcyIsIl9pdGVyYXRvciIsIl9jcmVhdGVGb3JPZkl0ZXJhdG9ySGVscGVyIiwiX3N0ZXAiLCJzIiwibiIsImRvbmUiLCJtZXNzYWdlIiwidmFsdWUiLCJwdXNoIiwiZXJyIiwiZSIsImYiLCJpdGVtcyIsInVzZUdyb3VwZWRWYWxpZGF0aW9uTWVzc2FnZXMiLCJfdXNlU3RhdGUiLCJfdXNlU3RhdGUyIiwiX3NsaWNlZFRvQXJyYXkiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/validation/hooks/useGroupedValidationMessages.js\n"); + +/***/ }), + +/***/ "./package/validation/store/actions.js": +/*!*********************************************!*\ + !*** ./package/validation/store/actions.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/validation/store/constants.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n register: function register(items) {\n return {\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].register,\n items: items\n };\n }\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vc3RvcmUvYWN0aW9ucy5qcyIsIm1hcHBpbmdzIjoiOzs7OztBQUFvQztBQUVwQyxpRUFBZTtFQUNkQyxRQUFRLFdBQUFBLFNBQUVDLEtBQUssRUFBRztJQUNqQixPQUFPO01BQ05DLElBQUksRUFBRUgsa0RBQVMsQ0FBQ0MsUUFBUTtNQUN4QkMsS0FBSyxFQUFMQTtJQUNELENBQUM7RUFDRjtBQUNELENBQUMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi9wYWNrYWdlL3ZhbGlkYXRpb24vc3RvcmUvYWN0aW9ucy5qcz84MDcyIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjb25zdGFudHMgZnJvbSAnLi9jb25zdGFudHMnO1xyXG5cclxuZXhwb3J0IGRlZmF1bHQge1xyXG5cdHJlZ2lzdGVyKCBpdGVtcyApIHtcclxuXHRcdHJldHVybiB7XHJcblx0XHRcdHR5cGU6IGNvbnN0YW50cy5yZWdpc3RlcixcclxuXHRcdFx0aXRlbXMsXHJcblx0XHR9O1xyXG5cdH0sXHJcbn07Il0sIm5hbWVzIjpbImNvbnN0YW50cyIsInJlZ2lzdGVyIiwiaXRlbXMiLCJ0eXBlIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/store/actions.js\n"); + +/***/ }), + +/***/ "./package/validation/store/constants.js": +/*!***********************************************!*\ + !*** ./package/validation/store/constants.js ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n register: 'REGISTER'\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vc3RvcmUvY29uc3RhbnRzLmpzIiwibWFwcGluZ3MiOiI7Ozs7QUFBQSxpRUFBZTtFQUNkQSxRQUFRLEVBQUU7QUFDWCxDQUFDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS92YWxpZGF0aW9uL3N0b3JlL2NvbnN0YW50cy5qcz9jM2YzIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IHtcclxuXHRyZWdpc3RlcjogJ1JFR0lTVEVSJ1xyXG59XHJcblxyXG5cclxuIl0sIm5hbWVzIjpbInJlZ2lzdGVyIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/store/constants.js\n"); + +/***/ }), + +/***/ "./package/validation/store/dispatchers.js": +/*!*************************************************!*\ + !*** ./package/validation/store/dispatchers.js ***! + \*************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./package/validation/store/constants.js\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\n\nvar dispatchers = _defineProperty({}, _constants__WEBPACK_IMPORTED_MODULE_0__[\"default\"].register, function (state, action) {\n var _action$items = action.items,\n messages = _action$items.messages,\n ssr_callbacks = _action$items.ssr_callbacks,\n formats = _action$items.formats,\n rule_types = _action$items.rule_types;\n state.messages = JSON.parse(JSON.stringify(messages));\n state.ssrCallbacks = JSON.parse(JSON.stringify(ssr_callbacks));\n state.formats = JSON.parse(JSON.stringify(formats));\n state.ruleTypes = JSON.parse(JSON.stringify(rule_types));\n return state;\n});\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread({}, dispatchers));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vc3RvcmUvZGlzcGF0Y2hlcnMuanMiLCJtYXBwaW5ncyI6Ijs7Oz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FsbGJhY2tzIiwicnVsZVR5cGVzIiwiX29iamVjdFNwcmVhZCJdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./package/validation/store/dispatchers.js\n"); + +/***/ }), + +/***/ "./package/validation/store/index.js": +/*!*******************************************!*\ + !*** ./package/validation/store/index.js ***! + \*******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ \"./package/validation/store/reducer.js\");\n/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actions */ \"./package/validation/store/actions.js\");\n/* harmony import */ var _selectors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./selectors */ \"./package/validation/store/selectors.js\");\n\n\n\nvar createReduxStore = wp.data.createReduxStore;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createReduxStore('jet-forms/validation', {\n reducer: _reducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"],\n actions: _actions__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n selectors: _selectors__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vc3RvcmUvaW5kZXguanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFnQztBQUNBO0FBQ0k7QUFFcEMsSUFBUUcsZ0JBQWdCLEdBQUtDLEVBQUUsQ0FBQ0MsSUFBSSxDQUE1QkYsZ0JBQWdCO0FBRXhCLGlFQUFlQSxnQkFBZ0IsQ0FBRSxzQkFBc0IsRUFBRTtFQUN4REgsT0FBTyxFQUFQQSxnREFBTztFQUNQQyxPQUFPLEVBQVBBLGdEQUFPO0VBQ1BDLFNBQVMsRUFBVEEsa0RBQVNBO0FBQ1YsQ0FBRSxDQUFDIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vamZiLy4vcGFja2FnZS92YWxpZGF0aW9uL3N0b3JlL2luZGV4LmpzPzA1YjUiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHJlZHVjZXIgZnJvbSAnLi9yZWR1Y2VyJztcclxuaW1wb3J0IGFjdGlvbnMgZnJvbSAnLi9hY3Rpb25zJztcclxuaW1wb3J0IHNlbGVjdG9ycyBmcm9tICcuL3NlbGVjdG9ycyc7XHJcblxyXG5jb25zdCB7IGNyZWF0ZVJlZHV4U3RvcmUgfSA9IHdwLmRhdGE7XHJcblxyXG5leHBvcnQgZGVmYXVsdCBjcmVhdGVSZWR1eFN0b3JlKCAnamV0LWZvcm1zL3ZhbGlkYXRpb24nLCB7XHJcblx0cmVkdWNlcixcclxuXHRhY3Rpb25zLFxyXG5cdHNlbGVjdG9ycyxcclxufSApO1xyXG4iXSwibmFtZXMiOlsicmVkdWNlciIsImFjdGlvbnMiLCJzZWxlY3RvcnMiLCJjcmVhdGVSZWR1eFN0b3JlIiwid3AiLCJkYXRhIl0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./package/validation/store/index.js\n"); + +/***/ }), + +/***/ "./package/validation/store/reducer.js": +/*!*********************************************!*\ + !*** ./package/validation/store/reducer.js ***! + \*********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* export default binding */ __WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _dispatchers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dispatchers */ \"./package/validation/store/dispatchers.js\");\n/* harmony import */ var _preset_helpers_humanReadablePreset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../preset/helpers/humanReadablePreset */ \"./package/preset/helpers/humanReadablePreset.js\");\n\n\nvar select = wp.data.select;\nvar __ = wp.i18n.__;\nvar DEFAULT_STATE = {\n messages: [],\n ssrCallbacks: [],\n formats: [],\n ruleTypes: [],\n ruleReaders: {\n default: function _default(rule) {\n var ruleOptions = select('jet-forms/validation').getRule(rule.type);\n if (!ruleOptions) {\n return '';\n }\n var value = (rule === null || rule === void 0 ? void 0 : rule.field) || (rule === null || rule === void 0 ? void 0 : rule.value) || '';\n value = (0,_preset_helpers_humanReadablePreset__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(value, 'b') || '(no value)';\n return [ruleOptions.label, \"\".concat(value, \"\")].join(' ');\n },\n ssr: function ssr(rule) {\n return [__('Function:', 'jet-form-builder'), rule === null || rule === void 0 ? void 0 : rule.value].join(' ');\n }\n }\n};\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_STATE;\n var action = arguments.length > 1 ? arguments[1] : undefined;\n var callback = _dispatchers__WEBPACK_IMPORTED_MODULE_0__[\"default\"][action === null || action === void 0 ? void 0 : action.type];\n if (callback) {\n return callback(state, action);\n }\n return state;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vc3RvcmUvcmVkdWNlci5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBd0M7QUFDbUM7QUFFM0UsSUFDT0UsTUFBTSxHQUNIQyxFQUFFLENBQUNDLElBQUksQ0FEVkYsTUFBTTtBQUViLElBQ09HLEVBQUUsR0FDQ0YsRUFBRSxDQUFDRyxJQUFJLENBRFZELEVBQUU7QUFHVCxJQUF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N0YXRlO1xyXG59Il0sIm5hbWVzIjpbImRpc3BhdGNoZXJzIiwiaHVtYW5SZWFkYWJsZVByZXNldCIsInNlbGVjdCIsIndwIiwiZGF0YSIsIl9fIiwiaTE4biIsIkRFRkFVTFRfU1RBVEUiLCJtZXNzYWdlcyIsInNzckNhbGxiYWNrcyIsImZvcm1hdHMiLCJydWxlVHlwZXMiLCJydWxlUmVhZGVycyIsImRlZmF1bHQiLCJfZGVmYXVsdCIsInJ1bGUiLCJydWxlT3B0aW9ucyIsImdldFJ1bGUiLCJ0eXBlIiwidmFsdWUiLCJmaWVsZCIsImxhYmVsIiwiY29uY2F0Iiwiam9pbiIsInNzciIsInN0YXRlIiwiYXJndW1lbnRzIiwibGVuZ3RoIiwidW5kZWZpbmVkIiwiYWN0aW9uIiwiY2FsbGJhY2siXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/validation/store/reducer.js\n"); + +/***/ }), + +/***/ "./package/validation/store/selectors.js": +/*!***********************************************!*\ + !*** ./package/validation/store/selectors.js ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nvar selectors = {\n getRule: function getRule(state, type) {\n var index = state.ruleTypes.findIndex(function (_ref) {\n var value = _ref.value;\n return value === type;\n });\n if (-1 === index) {\n return false;\n }\n return state.ruleTypes[index];\n },\n readRule: function readRule(state, rule) {\n var _state$ruleReaders$ty;\n var _rule$type = rule.type,\n type = _rule$type === void 0 ? '' : _rule$type;\n if (!type) {\n return '';\n }\n\n /**\r\n * @type {Function}\r\n */\n var callback = (_state$ruleReaders$ty = state.ruleReaders[type]) !== null && _state$ruleReaders$ty !== void 0 ? _state$ruleReaders$ty : false;\n if ('function' === typeof callback) {\n return callback(rule);\n }\n return state.ruleReaders.default(rule);\n }\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_objectSpread({}, selectors));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9wYWNrYWdlL3ZhbGlkYXRpb24vc3RvcmUvc2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cclxufTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IHtcclxuXHQuLi5zZWxlY3RvcnMsXHJcbn07Il0sIm5hbWVzIjpbInNlbGVjdG9ycyIsImdldFJ1bGUiLCJzdGF0ZSIsInR5cGUiLCJpbmRleCIsInJ1bGVUeXBlcyIsImZpbmRJbmRleCIsIl9yZWYiLCJ2YWx1ZSIsInJlYWRSdWxlIiwicnVsZSIsIl9zdGF0ZSRydWxlUmVhZGVycyR0eSIsIl9ydWxlJHR5cGUiLCJjYWxsYmFjayIsInJ1bGVSZWFkZXJzIiwiZGVmYXVsdCIsIl9vYmplY3RTcHJlYWQiXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./package/validation/store/selectors.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/classes/semver.js": +/*!************************************************!*\ + !*** ../node_modules/semver/classes/semver.js ***! + \************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("const debug = __webpack_require__(/*! ../internal/debug */ \"../node_modules/semver/internal/debug.js\")\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = __webpack_require__(/*! ../internal/constants */ \"../node_modules/semver/internal/constants.js\")\nconst { safeRe: re, t } = __webpack_require__(/*! ../internal/re */ \"../node_modules/semver/internal/re.js\")\n\nconst parseOptions = __webpack_require__(/*! ../internal/parse-options */ \"../node_modules/semver/internal/parse-options.js\")\nconst { compareIdentifiers } = __webpack_require__(/*! ../internal/identifiers */ \"../node_modules/semver/internal/identifiers.js\")\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm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B7XG4gICAgICAgIGlmICgvXlswLTldKyQvLnRlc3QoaWQpKSB7XG4gICAgICAgICAgY29uc3QgbnVtID0gK2lkXG4gICAgICAgICAgaWYgKG51bSA+PSAwICYmIG51bSA8IE1BWF9TQUZFX0lOVEVHRVIpIHtcbiAgICAgICAgICAgIHJldHVybiBudW1cbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGlkXG4gICAgICB9KVxuICAgIH1cblxuICAgIHRoaXMuYnVpbGQgPSBtWzVdID8gbVs1XS5zcGxpdCgnLicpIDogW11cbiAgICB0aGlzLmZvcm1hdCgpXG4gIH1cblxuICBmb3JtYXQgKCkge1xuICAgIHRoaXMudmVyc2lvbiA9IGAke3RoaXMubWFqb3J9LiR7dGhpcy5taW5vcn0uJHt0aGlzLnBhdGNofWBcbiAgICBpZiAodGhpcy5wcmVyZWxlYXNlLmxlbmd0aCkge1xuICAgICAgdGhpcy52ZXJzaW9uICs9IGAtJHt0aGlzLnByZXJlbGVhc2Uuam9pbignLicpfWBcbiAgICB9XG4gICAgcmV0dXJuIHRoaXMudmVyc2lvblxuICB9XG5cbiAgdG9TdHJpbmcgKCkge1xuICAgIHJldHVybiB0aGlzLnZlcnNpb25cbiAgfVxuXG4gIGNvbXBhcmUgKG90aGVyKSB7XG4gICAgZGVidWcoJ1NlbVZlci5jb21wYXJlJywgdGhpcy52ZXJzaW9uLCB0aGlzLm9wdGlvbnMsIG90aGVyKVxuICAgIGlmICghKG90aGVyIGluc3RhbmNlb2YgU2VtVmVyKSkge1xuICAgICAgaWYgKHR5cGVvZiBvdGhlciA9PT0gJ3N0cmluZycgJiYgb3RoZXIgPT09IHRoaXMudmVyc2lvbikge1xuICAgICAgICByZXR1cm4gMFxuICAgICAgfVxuICAgICAgb3RoZXIgPSBuZXcgU2VtVmVyKG90aGVyLCB0aGlzLm9wdGlvbnMpXG4gICAgfVxuXG4gICAgaWYgKG90aGVyLnZlcnNpb24gPT09IHRoaXMudmVyc2lvb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JldHVybiAxXG4gICAgICB9IGVsc2UgaWYgKGEgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICByZXR1cm4gLTFcbiAgICAgIH0gZWxzZSBpZiAoYSA9PT0gYikge1xuICAgICAgICBjb250aW51ZVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgcmV0dXJuIGNvbXBhcmVJZGVudGlmaWVycyhhLCBiKVxuICAgICAgfVxuICAgIH0gd2hpbGUgKCsraSlcbiAgfVxuXG4gIC8vIHByZW1pbm9yIHdpbGwgYnVtcCB0aGUgdmVyc2lvbiB1cCB0byB0aGUgbmV4dCBtaW5vciByZWxlYXNlLCBhbmQgaW1tZWRpYXRlbHlcbiAgLy8gZG93biB0byBwcmUtcmVsZWFzZS4gcHJlbWFqb3IgYW5kIHByZXBhdGNoIHdvcmsgdGhlIHNhbWUgd2F5LlxuICBpbmMgKHJlbGVhc2UsIGlkZW50aWZpZXIsIGlkZW50aWZpZXJCYXNlKSB7XG4gICAgc3dpdGNoIChyZWxlYXNlKSB7XG4gICAgICBjYXNlICdwcmVtYWpvcic6XG4gICAgICAgIHRoaXMucHJlcmVsZWFzZS5sZW5ndGggPSAwXG4gICAgICAgIHRoaXMucGF0Y2ggPSAwXG4gICAgICAgIHRoaXMubWlub3IgPSAwXG4gICAgICAgIHRoaXMubWFqb3IrK1xuICAgICAgICB0aGlzLmluYygncHJlJywgaWRlbnRpZmllciwgaWRlbnRpZmllckJhc2UpXG4gICAgICAgIGJyZWFrXG4gICAgICBjYXNlICdwcmVtaW5vcic6XG4gICAgICAgIHRoaXMucHJlcmVsZWFzZS5sZW5ndGggPSAwXG4gICAgICAgIHRoaXMucGF0Y2ggPSAwXG4gICAgICAgIHRoaXMubWlub3IrK1xuICAgICAgICB0aGlzLmluYygncHJlJywgaWRlbnRpZmllciwgaWRlbnRpZmllckJhc2UpXG4gICAgICAgIGJyZWFrXG4gICAgICBjYXNlICdwcmVwYXRjaCc6XG4gICAgICAgIC8vIElmIHRoaXMgaXMgYW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AgICAgICAgfVxuICAgICAgICAgIGlmIChpID09PSAtMSkge1xuICAgICAgICAgICAgLy8gZGlkbid0IGluY3JlbWVudCBhbnl0aGluZ1xuICAgICAgICAgICAgaWYgKGlkZW50aWZpZXIgPT09IHRoaXMucHJlcmVsZWFzZS5qb2luKCcuJykgJiYgaWRlbnRpZmllckJhc2UgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcignaW52YWxpZCBpbmNyZW1lbnQgYXJndW1lbnQ6IGlkZW50aWZpZXIgYWxyZWFkeSBleGlzdHMnKVxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5wcmVyZWxlYXNlLnB1c2goYmFzZSlcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgaWYgKGlkZW50aWZpZXIpIHtcbiAgICAgICAgICAvLyAxLjIuMC1iZXRhLjEgYnVtcHMgdG8gMS4yLjAtYmV0YS4yLFxuICAgICAgICAgIC8vIDEuMi4wLWJldGEuZm9vYmx6IG9yIDEuMi4wLWJldGEgYnVtcHMgdG8gMS4yLjAtYmV0YS4wXG4gICAgICAgICAgbGV0IHByZXJlbGVhc2UgPSBbaWRlbnRpZmllciwgYmFzZV1cbiAgICAgICAgICBpZiAoaWRlbnRpZmllckJhc2UgPT09IGZhbHNlKSB7XG4gICAgICAgICAgICBwcmVyZWxlYXNlID0gW2lkZW50aWZpZXJdXG4gICAgICAgICAgfVxuICAgICAgICAgIGlmIChjb21wYXJlSWRlbnRpZmllcnModGhpcy5wcmVyZWxlYXNlWzBdLCBpZGVudGlmaWVyKSA9PT0gMCkge1xuICAgICAgICAgICAgaWYgKGlzTmFOKHRoaXMucHJlcmVsZWFzZVsxXSkpIHtcbiAgICAgICAgICAgICAgdGhpcy5wcmVyZWxlYXNlID0gcHJlcmVsZWFzZVxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICB0aGlzLnByZXJlbGVhc2UgPSBwcmVyZWxlYXNlXG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIGJyZWFrXG4gICAgICB9XG4gICAgICBkZWZhdWx0OlxuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoYGludmFsaWQgaW5jcmVtZW50IGFyZ3VtZW50OiAke3JlbGVhc2V9YClcbiAgICB9XG4gICAgdGhpcy5yYXcgPSB0aGlzLmZvcm1hdCgpXG4gICAgaWYgKHRoaXMuYnVpbGQubGVuZ3RoKSB7XG4gICAgICB0aGlzLnJhdyArPSBgKyR7dGhpcy5idWlsZC5qb2luKCcuJyl9YFxuICAgIH1cbiAgICByZXR1cm4gdGhpc1xuICB9XG59XG5cbm1vZHVsZS5leHBvcnRzID0gU2VtVmVyXG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///../node_modules/semver/classes/semver.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/functions/compare.js": +/*!***************************************************!*\ + !*** ../node_modules/semver/functions/compare.js ***! + \***************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("const SemVer = __webpack_require__(/*! ../classes/semver */ \"../node_modules/semver/classes/semver.js\")\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9mdW5jdGlvbnMvY29tcGFyZS5qcyIsIm1hcHBpbmdzIjoiQUFBQSxlQUFlLG1CQUFPLENBQUMsbUVBQW1CO0FBQzFDO0FBQ0E7O0FBRUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9mdW5jdGlvbnMvY29tcGFyZS5qcz9jNTlhIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IFNlbVZlciA9IHJlcXVpcmUoJy4uL2NsYXNzZXMvc2VtdmVyJylcbmNvbnN0IGNvbXBhcmUgPSAoYSwgYiwgbG9vc2UpID0+XG4gIG5ldyBTZW1WZXIoYSwgbG9vc2UpLmNvbXBhcmUobmV3IFNlbVZlcihiLCBsb29zZSkpXG5cbm1vZHVsZS5leHBvcnRzID0gY29tcGFyZVxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../node_modules/semver/functions/compare.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/functions/gt.js": +/*!**********************************************!*\ + !*** ../node_modules/semver/functions/gt.js ***! + \**********************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("const compare = __webpack_require__(/*! ./compare */ \"../node_modules/semver/functions/compare.js\")\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9mdW5jdGlvbnMvZ3QuanMiLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCLG1CQUFPLENBQUMsOERBQVc7QUFDbkM7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uLi9ub2RlX21vZHVsZXMvc2VtdmVyL2Z1bmN0aW9ucy9ndC5qcz85ZmFhIl0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IGNvbXBhcmUgPSByZXF1aXJlKCcuL2NvbXBhcmUnKVxuY29uc3QgZ3QgPSAoYSwgYiwgbG9vc2UpID0+IGNvbXBhcmUoYSwgYiwgbG9vc2UpID4gMFxubW9kdWxlLmV4cG9ydHMgPSBndFxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../node_modules/semver/functions/gt.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/functions/gte.js": +/*!***********************************************!*\ + !*** ../node_modules/semver/functions/gte.js ***! + \***********************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("const compare = __webpack_require__(/*! ./compare */ \"../node_modules/semver/functions/compare.js\")\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9mdW5jdGlvbnMvZ3RlLmpzIiwibWFwcGluZ3MiOiJBQUFBLGdCQUFnQixtQkFBTyxDQUFDLDhEQUFXO0FBQ25DO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9mdW5jdGlvbnMvZ3RlLmpzPzJlNzAiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgY29tcGFyZSA9IHJlcXVpcmUoJy4vY29tcGFyZScpXG5jb25zdCBndGUgPSAoYSwgYiwgbG9vc2UpID0+IGNvbXBhcmUoYSwgYiwgbG9vc2UpID49IDBcbm1vZHVsZS5leHBvcnRzID0gZ3RlXG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///../node_modules/semver/functions/gte.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/functions/lt.js": +/*!**********************************************!*\ + !*** ../node_modules/semver/functions/lt.js ***! + \**********************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("const compare = __webpack_require__(/*! ./compare */ \"../node_modules/semver/functions/compare.js\")\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9mdW5jdGlvbnMvbHQuanMiLCJtYXBwaW5ncyI6IkFBQUEsZ0JBQWdCLG1CQUFPLENBQUMsOERBQVc7QUFDbkM7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uLi9ub2RlX21vZHVsZXMvc2VtdmVyL2Z1bmN0aW9ucy9sdC5qcz9hOTg4Il0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IGNvbXBhcmUgPSByZXF1aXJlKCcuL2NvbXBhcmUnKVxuY29uc3QgbHQgPSAoYSwgYiwgbG9vc2UpID0+IGNvbXBhcmUoYSwgYiwgbG9vc2UpIDwgMFxubW9kdWxlLmV4cG9ydHMgPSBsdFxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../node_modules/semver/functions/lt.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/functions/lte.js": +/*!***********************************************!*\ + !*** ../node_modules/semver/functions/lte.js ***! + \***********************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { + +eval("const compare = __webpack_require__(/*! ./compare */ \"../node_modules/semver/functions/compare.js\")\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9mdW5jdGlvbnMvbHRlLmpzIiwibWFwcGluZ3MiOiJBQUFBLGdCQUFnQixtQkFBTyxDQUFDLDhEQUFXO0FBQ25DO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9mdW5jdGlvbnMvbHRlLmpzP2FhMjIiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgY29tcGFyZSA9IHJlcXVpcmUoJy4vY29tcGFyZScpXG5jb25zdCBsdGUgPSAoYSwgYiwgbG9vc2UpID0+IGNvbXBhcmUoYSwgYiwgbG9vc2UpIDw9IDBcbm1vZHVsZS5leHBvcnRzID0gbHRlXG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///../node_modules/semver/functions/lte.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/internal/constants.js": +/*!****************************************************!*\ + !*** ../node_modules/semver/internal/constants.js ***! + \****************************************************/ +/***/ ((module) => { + +eval("// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n/* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9pbnRlcm5hbC9jb25zdGFudHMuanMiLCJtYXBwaW5ncyI6IkFBQUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtB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XG5cbm1vZHVsZS5leHBvcnRzID0ge1xuICBNQVhfTEVOR1RILFxuICBNQVhfU0FGRV9DT01QT05FTlRfTEVOR1RILFxuICBNQVhfU0FGRV9CVUlMRF9MRU5HVEgsXG4gIE1BWF9TQUZFX0lOVEVHRVIsXG4gIFJFTEVBU0VfVFlQRVMsXG4gIFNFTVZFUl9TUEVDX1ZFUlNJT04sXG4gIEZMQUdfSU5DTFVERV9QUkVSRUxFQVNFOiAwYjAwMSxcbiAgRkxBR19MT09TRTogMGIwMTAsXG59XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///../node_modules/semver/internal/constants.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/internal/debug.js": +/*!************************************************!*\ + !*** ../node_modules/semver/internal/debug.js ***! + \************************************************/ +/***/ ((module) => { + +eval("const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9pbnRlcm5hbC9kZWJ1Zy5qcyIsIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQSIsInNvdXJjZXMiOlsid2VicGFjazovL2pmYi8uLi9ub2RlX21vZHVsZXMvc2VtdmVyL2ludGVybmFsL2RlYnVnLmpzPzE4MzkiXSwic291cmNlc0NvbnRlbnQiOlsiY29uc3QgZGVidWcgPSAoXG4gIHR5cGVvZiBwcm9jZXNzID09PSAnb2JqZWN0JyAmJlxuICBwcm9jZXNzLmVudiAmJlxuICBwcm9jZXNzLmVudi5OT0RFX0RFQlVHICYmXG4gIC9cXGJzZW12ZXJcXGIvaS50ZXN0KHByb2Nlc3MuZW52Lk5PREVfREVCVUcpXG4pID8gKC4uLmFyZ3MpID0+IGNvbnNvbGUuZXJyb3IoJ1NFTVZFUicsIC4uLmFyZ3MpXG4gIDogKCkgPT4ge31cblxubW9kdWxlLmV4cG9ydHMgPSBkZWJ1Z1xuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../node_modules/semver/internal/debug.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/internal/identifiers.js": +/*!******************************************************!*\ + !*** ../node_modules/semver/internal/identifiers.js ***! + \******************************************************/ +/***/ ((module) => { + +eval("const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers,\n}\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9pbnRlcm5hbC9pZGVudGlmaWVycy5qcyIsIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7O0FBRUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9pbnRlcm5hbC9pZGVudGlmaWVycy5qcz9hYjE1Il0sInNvdXJjZXNDb250ZW50IjpbImNvbnN0IG51bWVyaWMgPSAvXlswLTldKyQvXG5jb25zdCBjb21wYXJlSWRlbnRpZmllcnMgPSAoYSwgYikgPT4ge1xuICBjb25zdCBhbnVtID0gbnVtZXJpYy50ZXN0KGEpXG4gIGNvbnN0IGJudW0gPSBudW1lcmljLnRlc3QoYilcblxuICBpZiAoYW51bSAmJiBibnVtKSB7XG4gICAgYSA9ICthXG4gICAgYiA9ICtiXG4gIH1cblxuICByZXR1cm4gYSA9PT0gYiA/IDBcbiAgICA6IChhbnVtICYmICFibnVtKSA/IC0xXG4gICAgOiAoYm51bSAmJiAhYW51bSkgPyAxXG4gICAgOiBhIDwgYiA/IC0xXG4gICAgOiAxXG59XG5cbmNvbnN0IHJjb21wYXJlSWRlbnRpZmllcnMgPSAoYSwgYikgPT4gY29tcGFyZUlkZW50aWZpZXJzKGIsIGEpXG5cbm1vZHVsZS5leHBvcnRzID0ge1xuICBjb21wYXJlSWRlbnRpZmllcnMsXG4gIHJjb21wYXJlSWRlbnRpZmllcnMsXG59XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///../node_modules/semver/internal/identifiers.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/internal/parse-options.js": +/*!********************************************************!*\ + !*** ../node_modules/semver/internal/parse-options.js ***! + \********************************************************/ +/***/ ((module) => { + +eval("// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\n}\nmodule.exports = parseOptions\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9pbnRlcm5hbC9wYXJzZS1vcHRpb25zLmpzIiwibWFwcGluZ3MiOiJBQUFBO0FBQ0Esb0NBQW9DLGFBQWE7QUFDakQsbUNBQW1DO0FBQ25DO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9qZmIvLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9pbnRlcm5hbC9wYXJzZS1vcHRpb25zLmpzP2VhNTQiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gcGFyc2Ugb3V0IGp1c3QgdGhlIG9wdGlvbnMgd2UgY2FyZSBhYm91dFxuY29uc3QgbG9vc2VPcHRpb24gPSBPYmplY3QuZnJlZXplKHsgbG9vc2U6IHRydWUgfSlcbmNvbnN0IGVtcHR5T3B0cyA9IE9iamVjdC5mcmVlemUoeyB9KVxuY29uc3QgcGFyc2VPcHRpb25zID0gb3B0aW9ucyA9PiB7XG4gIGlmICghb3B0aW9ucykge1xuICAgIHJldHVybiBlbXB0eU9wdHNcbiAgfVxuXG4gIGlmICh0eXBlb2Ygb3B0aW9ucyAhPT0gJ29iamVjdCcpIHtcbiAgICByZXR1cm4gbG9vc2VPcHRpb25cbiAgfVxuXG4gIHJldHVybiBvcHRpb25zXG59XG5tb2R1bGUuZXhwb3J0cyA9IHBhcnNlT3B0aW9uc1xuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../node_modules/semver/internal/parse-options.js\n"); + +/***/ }), + +/***/ "../node_modules/semver/internal/re.js": +/*!*********************************************!*\ + !*** ../node_modules/semver/internal/re.js ***! + \*********************************************/ +/***/ ((module, exports, __webpack_require__) => { + +eval("const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = __webpack_require__(/*! ./constants */ \"../node_modules/semver/internal/constants.js\")\nconst debug = __webpack_require__(/*! ./debug */ \"../node_modules/semver/internal/debug.js\")\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\n const index = R++\n debug(name, index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '\\\\d+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\\\.0\\\\.0-0\\\\s*$')\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vbm9kZV9tb2R1bGVzL3NlbXZlci9pbnRlcm5hbC9yZS5qcyIsIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLEVBQUUsRUFBRSxtQkFBTyxDQUFDLGlFQUFhO0FBQ3pCLGNBQWMsbUJBQU8sQ0FBQyx5REFBUztBQUMvQjs7QUFFQTtBQUNBLFdBQVcsVUFBVTtBQUNyQixlQUFlLGNBQWM7QUFDN0IsWUFBWSxXQUFXO0FBQ3ZCLFVBQVUsU0FBUztBQUNuQjs7QUFFQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBLGdCQUFnQixNQUFNLFlBQVksT0FBTyxJQUFJLEtBQUs7QUFDbEQsZ0JBQWdCLE1BQU0sWUFBWSxPQUFPLElBQUksS0FBSztBQUNsRDtBQUNBO0FBQ0E7O0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7O0FBRUE7QUFDQTs7QUFFQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQSxvREFBb0QsaUJBQWlCOztBQUVyRTtBQUNBOztBQUVBLCtCQUErQix5QkFBeUI7QUFDeEQsdUJBQXVCLHlCQUF5QjtBQUNoRCx1QkFBdUIseUJBQXlCOztBQUVoRCxvQ0FBb0MsOEJBQThCO0FBQ2xFLDR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gICAgICAgICAgICAgICBgKD86XFxcXC4oJHtzcmNbdC5YUkFOR0VJREVOVElGSUVSXX0pYCArXG4gICAgICAgICAgICAgICAgICAgYCg/OiR7c3JjW3QuUFJFUkVMRUFTRV19KT8ke1xuICAgICAgICAgICAgICAgICAgICAgc3JjW3QuQlVJTERdfT9gICtcbiAgICAgICAgICAgICAgICAgICBgKT8pP2ApXG5cbmNyZWF0ZVRva2VuKCdYUkFOR0VQTEFJTkxPT1NFJywgYFt2PVxcXFxzXSooJHtzcmNbdC5YUkFOR0VJREVOVElGSUVSTE9PU0VdfSlgICtcbiAgICAgICAgICAgICAgICAgICAgICAgIGAoPzpcXFxcLigke3NyY1t0LlhSQU5HRUlERU5USUZJRVJMT09TRV19KWAgK1xuICAgICAgICAgICAgICAgICAgICAgICAgYCg/OlxcXFwuKCR7c3JjW3QuWFJBTkdFSURFTlRJRklFUkxPT1NFXX0pYCArXG4gICAgICAgICAgICAgICAgICAgICAgICBgKD86JHtzcmNbdC5QUkVSRUxFQVNFTE9PU0VdfSk/JHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgc3JjW3QuQlVJTERdfT9gICtcbiAgICAgICAgICAgICAgICAgICAgICAgIGApPyk/YClcblxuY3JlYXRlVG9rZW4oJ1hSQU5HRScsIGBeJHtzcmNbdC5HVExUXX1cXFxccyoke3NyY1t0LlhSQU5HRVBMQUlOXX0kYClcbmNyZWF0ZVRva2VuKCdYUkFOR0VMT09TRScsIGBeJHtzcmNbdC5HVExUXX1cXFxccyoke3NyY1t0LlhSQU5HRVBMQUlOTE9PU0VdfSRgKVxuXG4vLyBDb2VyY2lvbi5cbi8vIEV4dHJhY3QgYW55dGhpbmcgdGhhdCBjb3VsZCBjb25jZWl2YWJseSBiZSBhIHBhcnQgb2YgYSB2YWxpZCBzZW12ZXJcbmNyZWF0ZVRva2VuKCdDT0VSQ0UnLCBgJHsnKF58W15cXFxcZF0pJyArXG4gICAgICAgICAgICAgICcoXFxcXGR7MSwnfSR7TUF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zdHJpY3Qgb3IgbG9vc2UgY29tcGFyYXRvciBmb3JtXG4vLyBsYXRlci5cbmNyZWF0ZVRva2VuKCdIWVBIRU5SQU5HRScsIGBeXFxcXHMqKCR7c3JjW3QuWFJBTkdFUExBSU5dfSlgICtcbiAgICAgICAgICAgICAgICAgICBgXFxcXHMrLVxcXFxzK2AgK1xuICAgICAgICAgICAgICAgICAgIGAoJHtzcmNbdC5YUkFOR0VQTEFJTl19KWAgK1xuICAgICAgICAgICAgICAgICAgIGBcXFxccyokYClcblxuY3JlYXRlVG9rZW4oJ0hZUEhFTlJBTkdFTE9PU0UnLCBgXlxcXFxzKigke3NyY1t0LlhSQU5HRVBMQUlOTE9PU0VdfSlgICtcbiAgICAgICAgICAgICAgICAgICAgICAgIGBcXFxccystXFxcXHMrYCArXG4gICAgICAgICAgICAgICAgICAgICAgICBgKCR7c3JjW3QuWFJBTkdFUExBSU5MT09TRV19KWAgK1xuICAgICAgICAgICAgICAgICAgICAgICAgYFxcXFxzKiRgKVxuXG4vLyBTdGFyIHJhbmdlcyBiYXNpY2FsbHkganVzdCBhbGxvdyBhbnl0aGluZyBhdCBhbGwuXG5jcmVhdGVUb2tlbignU1RBUicsICcoPHw+KT89P1xcXFxzKlxcXFwqJylcbi8vID49MC4wLjAgaXMgbGlrZSBhIHN0YXJcbmNyZWF0ZVRva2VuKCdHVEUwJywgJ15cXFxccyo+PVxcXFxzKjBcXFxcLjBcXFxcLjBcXFxccyokJylcbmNyZWF0ZVRva2VuKCdHVEUwUFJFJywgJ15cXFxccyo+PVxcXFxzKjBcXFxcLjBcXFxcLjAtMFxcXFxzKiQnKVxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../node_modules/semver/internal/re.js\n"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module can't be inlined because the eval-source-map devtool is used. +/******/ var __webpack_exports__ = __webpack_require__("./package/manager.js"); +/******/ +/******/ })() +; \ No newline at end of file diff --git a/assets/scss/editor/main.scss b/assets/scss/editor/main.scss index ad7eebef8..30af5d690 100644 --- a/assets/scss/editor/main.scss +++ b/assets/scss/editor/main.scss @@ -628,6 +628,10 @@ select.components-select-control__input.components-select-control__input.compone .components-base-control__label .jet-form-builder__label { width: 100%; + text-transform: initial; + font-size: initial; + font-weight: initial; + line-height: initial; & > div, & > span { display: inline-block; diff --git a/assets/src/package/blocks/components/FieldWrapper.js b/assets/src/package/blocks/components/FieldWrapper.js index c46666da5..61b79cf1d 100644 --- a/assets/src/package/blocks/components/FieldWrapper.js +++ b/assets/src/package/blocks/components/FieldWrapper.js @@ -11,6 +11,7 @@ const { const { RichText, + useBlockProps, } = wp.blockEditor; let { __experimentalUseFocusOutside, @@ -51,7 +52,7 @@ function FieldWrapper( props ) { const ref = useFocusOutside( onBlurLabel ); - function renderLabel() { + function RenderLabel() { return { RichDescription( __( 'input label:', 'jet-form-builder' ) ) }
setAttributes( { label: newLabel } ) } - isSelected={ false } { ...ref } /> { attributes.required && @@ -77,7 +76,7 @@ function FieldWrapper( props ) { ; } - function renderDescription() { + function RenderDescription() { return
{ RichDescription( __( 'input description:', 'jet-form-builder' ) ) } @@ -88,7 +87,6 @@ function FieldWrapper( props ) { key={ uniqKey( 'rich-description' ) } tagName="small" placeholder="Description..." - allowedFormats={ [] } value={ attributes.desc } onChange={ desc => setAttributes( { desc } ) } style={ { marginTop: '0px' } } @@ -113,15 +111,15 @@ function FieldWrapper( props ) { > { 'row' !== _jf_args.fields_layout && <> { 'top' === childrenPosition && children } - { renderLabel() } + { 'between' === childrenPosition && children } - { renderDescription() } + { 'bottom' === childrenPosition && children } } { 'row' === _jf_args.fields_layout && <>
- { renderLabel() } - { renderDescription() } + +
{ children }