芝麻web文件管理V1.00
编辑当前文件:/home/felaukpo/public_html/wp-content/plugins/cartflows-pro/modules/gutenberg/build/blocks.js
(window.webpackJsonp_cartflows_pro=window.webpackJsonp_cartflows_pro||[]).push([[1],{64:function(e,t,a){},65:function(e,t,a){},66:function(e,t,a){},67:function(e,t,a){},68:function(e,t,a){},69:function(e,t,a){},70:function(e,t,a){},71:function(e,t,a){}}]),function(e){function t(t){for(var n,r,o=t[0],u=t[1],c=t[2],b=0,p=[];b
div {\n margin: 0;\n padding: 0; }\n",""]),t.a=i},function(e,t,a){var n;!function(){function i(e,t,a){return e.call.apply(e.bind,arguments)}function l(e,t,a){if(!e)throw Error();if(2
=t.f?i():e.fonts.load(function(e){return k(e)+" "+e.f+"00 300px "+O(e.c)}(t.a),t.h).then((function(e){1<=e.length?n():setTimeout(l,25)}),(function(){i()}))}()})),i=null,l=new Promise((function(e,a){i=setTimeout(a,t.f)}));Promise.race([l,n]).then((function(){i&&(clearTimeout(i),i=null),t.g(t.a)}),(function(){t.j(t.a)}))};var A={D:"serif",C:"sans-serif"},N=null;function H(){if(null===N){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);N=!!e&&(536>parseInt(e[1],10)||536===parseInt(e[1],10)&&11>=parseInt(e[2],10))}return N}function z(e,t,a){for(var n in A)if(A.hasOwnProperty(n)&&t===e.f[A[n]]&&a===e.f[A[n]])return!0;return!1}function R(e,t){setTimeout(r((function(){p(this.g.a),p(this.h.a),p(this.j.a),p(this.m.a),t(this.a)}),e),0)}function V(e,t,a){this.c=e,this.a=t,this.f=0,this.m=this.j=!1,this.s=a}F.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=o(),function e(t){var a,n=t.g.a.offsetWidth,i=t.h.a.offsetWidth;(a=n===t.f.serif&&i===t.f["sans-serif"])||(a=H()&&z(t,n,i)),a?o()-t.A>=t.w?H()&&z(t,n,i)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?R(t,t.v):R(t,t.B):function(t){setTimeout(r((function(){e(this)}),t),50)}(t):R(t,t.v)}(this)};var I=null;function W(e){0==--e.f&&e.j&&(e.m?((e=e.a).g&&f(e.f,[e.a.c("wf","active")],[e.a.c("wf","loading"),e.a.c("wf","inactive")]),M(e,"active")):T(e.a))}function U(e){this.j=e,this.a=new S,this.h=0,this.f=this.g=!0}function q(e,t,a,n,i){var l=0==--e.h;(e.f||e.g)&&setTimeout((function(){var e=i||null,o=n||{};if(0===a.length&&l)T(t.a);else{t.f+=a.length,l&&(t.j=l);var u,c=[];for(u=0;u
div > .components-panel__body {\n display: none; }\n .components-panel[data-uagb-tab] .block-editor-block-card {\n padding-bottom: 25px;\n position: relative;\n z-index: 1;\n overflow: hidden; }\n .components-panel[data-uagb-tab] .block-editor-block-card::before {\n content: "";\n position: absolute;\n top: 0;\n left: -16px;\n right: -16px;\n bottom: 0;\n background: #fff;\n z-index: -1; }\n .components-panel[data-uagb-tab] .components-panel__body.edit-post-settings-sidebar__panel-block .block-editor-block-card {\n overflow: unset; }\n .components-panel[data-uagb-tab] .components-panel__body.edit-post-settings-sidebar__panel-block .block-editor-block-card::before {\n top: -16px; }\n\n.components-panel[data-uagb-tab="advance"] .block-editor-block-inspector__advanced {\n border-color: transparent; }\n\n.uagb-inspector-tabs {\n display: flex;\n position: relative;\n background: #fff;\n z-index: 9; }\n .uagb-inspector-tabs::after {\n content: "";\n position: absolute;\n left: 0;\n bottom: 0;\n top: 50%;\n right: 0;\n z-index: 0;\n background: #fff;\n pointer-events: none; }\n .uagb-inspector-tabs button {\n flex-grow: 1;\n flex-basis: 0;\n display: inline-flex;\n flex-direction: column;\n height: 65px;\n align-items: center;\n justify-content: center;\n border: none;\n position: relative;\n border-radius: 10px;\n background: #fff;\n cursor: pointer; }\n .uagb-inspector-tabs button::after, .uagb-inspector-tabs button::before {\n z-index: 1;\n content: "";\n position: absolute;\n top: 0;\n left: -0.5px;\n right: -0.5px;\n bottom: 50%;\n border: 1px solid transparent;\n border-bottom: none;\n pointer-events: none; }\n .uagb-inspector-tabs button::after {\n top: 50%;\n bottom: 0;\n border-color: #d6d9dd;\n border-bottom: 1px solid #d6d9dd;\n border-top: none; }\n .uagb-inspector-tabs button:not(.uagb-active)::after {\n background: #fff; }\n .uagb-inspector-tabs button.uagb-active {\n background: #fff;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0; }\n .uagb-inspector-tabs button.uagb-active::before {\n border-color: #d6d9dd;\n border-top-color: #0085ba;\n border-top-width: 4px; }\n .uagb-inspector-tabs button.uagb-active::after {\n border-color: transparent; }\n .uagb-inspector-tabs button.uagb-active + button {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 10px; }\n .uagb-inspector-tabs button.uagb-active + button::after {\n border-bottom-right-radius: 0;\n border-right-color: transparent; }\n .uagb-inspector-tabs button.uagb-active + button + button {\n border-bottom-left-radius: 0; }\n .uagb-inspector-tabs button.uagb-active + button + button::after {\n border-bottom-left-radius: 0;\n border-left-color: transparent; }\n .uagb-inspector-tabs button:first-child {\n border-bottom-left-radius: 0; }\n .uagb-inspector-tabs button:first-child::after {\n border-bottom-left-radius: 0;\n border-left-color: transparent; }\n .uagb-inspector-tabs button:first-child.uagb-active::after {\n border-left-color: #d6d9dd; }\n .uagb-inspector-tabs button:first-child::before, .uagb-inspector-tabs button:first-child::after {\n left: -1px; }\n .uagb-inspector-tabs button:last-child {\n border-bottom-right-radius: 0; }\n .uagb-inspector-tabs button:last-child::after {\n border-bottom-right-radius: 0;\n border-right-color: transparent; }\n .uagb-inspector-tabs button:last-child.uagb-active::after {\n border-right-color: #d6d9dd; }\n .uagb-inspector-tabs button:last-child::before, .uagb-inspector-tabs button:last-child::after {\n right: 0; }\n .uagb-inspector-tabs button:focus {\n outline: none; }\n .uagb-inspector-tabs button h5 {\n margin: 6px 0 0;\n font-size: 13px;\n font-weight: 400;\n line-height: 1.2; }\n .uagb-inspector-tabs button h5,\n .uagb-inspector-tabs button svg {\n z-index: 2;\n fill: #585858; }\n .uagb-inspector-tabs button.uagb-active h5 {\n color: #0085ba; }\n .uagb-inspector-tabs button:focus path,\n .uagb-inspector-tabs button.uagb-active path {\n fill: #0085ba; }\n .uagb-inspector-tabs.advance.uagb-inspector-tabs-count-3 button:first-child {\n border-bottom-right-radius: 0; }\n .uagb-inspector-tabs.advance.uagb-inspector-tabs-count-3 button:first-child::after {\n border-bottom-right-radius: 0;\n border-right-color: transparent; }\n .uagb-inspector-tabs.advance.uagb-inspector-tabs-count-3 button:first-child + button {\n border-bottom-left-radius: 0; }\n .uagb-inspector-tabs.advance.uagb-inspector-tabs-count-3 button:first-child + button::after {\n border-bottom-left-radius: 0;\n border-left-color: transparent; }\n\n.components-panel .components-panel__body .uagb-inspector-tabs-container {\n position: static !important;\n margin-left: -16px;\n margin-right: -16px;\n border-top: 0 !important;\n top: 0 !important; }\n\n.uagb-inspector-tabs-container {\n position: sticky;\n top: -3px;\n z-index: 9;\n border-top: calc(0.1em + 1px) solid #f2f4f5; }\n\n.uagb-inspector-tab .components-panel__body:first-child,\n.edit-post-settings-sidebar__panel-block .uagb-inspector-tab .components-panel__body:first-child {\n margin-top: 0;\n border-top: none !important; }\n',""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,'/* stylelint-disable color-hex-case, color-hex-length */\n.uagb-advanced-color-settings-container {\n display: flex;\n align-items: center; }\n .uagb-advanced-color-settings-container .uagb-beside-color-click {\n display: flex;\n align-items: center; }\n .uagb-advanced-color-settings-container .uagb-color-icon-indicate {\n height: auto;\n position: relative;\n transform: scale(1);\n transition: transform 0.1s ease;\n border-radius: 50%;\n padding: 0; }\n .uagb-advanced-color-settings-container .uagb-has-alpha {\n background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0);\n background-size: 10px 10px;\n background-position: 0 0, 0 5px, 5px -5px, -5px 0; }\n .uagb-advanced-color-settings-container .uagb-beside-color-label {\n flex-grow: 1;\n margin: 0; }\n .uagb-advanced-color-settings-container .uagb-color-icon-indicate\n.component-color-indicator.uagb-advanced-color-indicate {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n margin: 0; }\n .uagb-advanced-color-settings-container .uagb-advanced-color-indicate.uag-global-indicator::before {\n content: "\\f11f";\n font-family: dashicons;\n position: absolute;\n font-size: 16px;\n top: 6px;\n left: 7px; }\n .uagb-advanced-color-settings-container .uag-global-icon-black::before {\n color: #000; }\n .uagb-advanced-color-settings-container .uag-global-icon-white::before {\n color: #fff; }\n\n.uagb-popover-color .components-popover__content {\n overflow-x: hidden;\n overflow-y: auto; }\n\n.uagb-popover-color .components-circular-option-picker {\n padding: 2px 0 10px 5px; }\n .uagb-popover-color .components-circular-option-picker .components-circular-option-picker__swatches {\n margin-right: 0;\n text-align: left;\n padding-left: 10px; }\n\n.uagb-popover-color .uagb-clear-btn-inside-picker {\n margin: 5px 20px 20px 15px;\n padding: 0 8px;\n border: 1px solid #ccc;\n box-shadow: none; }\n',""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,'/* stylelint-disable color-hex-case, color-hex-length */\n.uagb-spacing-control {\n position: relative;\n display: inline-block; }\n .uagb-spacing-control .components-base-control__label {\n margin-bottom: 5px; }\n .uagb-spacing-control .components-base-control__help {\n margin-top: -8px; }\n .uagb-spacing-control input[type="number"].uagb-spacing-control__number,\n .uagb-spacing-control .uagb-spacing-control__link {\n border-left: 1px solid;\n border-right: 1px solid;\n border-color: #E6E7E9;\n color: #50575E;\n border-radius: 0;\n box-shadow: none !important;\n height: 30px;\n margin: 0 -1px 0 0;\n padding-right: 1px;\n width: 25%; }\n .uagb-spacing-control input[type="number"].uagb-spacing-control__number:focus {\n z-index: 1;\n outline-offset: -1px;\n outline: 1px solid #CCCCCC; }\n .uagb-spacing-control .uagb-spacing-control__link {\n border: 1px solid #959595;\n background-color: #959595;\n color: #FFFFFF;\n justify-content: center;\n display: flex;\n align-items: center;\n padding: 2px 0;\n font-size: 12px;\n line-height: 28px;\n cursor: pointer;\n transition: none; }\n .uagb-spacing-control .uagb-spacing-control__link.uagb-spacing-control-disconnected {\n border-color: #E6E7E9;\n background-color: #FFFFFF;\n color: #959595; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls button[type="button"] > span {\n cursor: pointer;\n width: 15px;\n height: 15px;\n font-size: 15px; }\n .uagb-spacing-control .uagb-spacing-control__inputs > :first-child.uagb-spacing-control__number {\n -webkit-border-radius: 3px 0 0 3px;\n -moz-border-radius: 3px 0 0 3px;\n border-radius: 3px 0 0 3px; }\n .uagb-spacing-control .uagb-spacing-control__inputs > :last-child {\n -webkit-border-radius: 0 3px 3px 0;\n -moz-border-radius: 0 3px 3px 0;\n border-radius: 0 3px 3px 0; }\n .uagb-spacing-control .uagb-control__actions .components-tab-panel__tabs {\n padding-right: 4px;\n margin-right: 0; }\n .uagb-spacing-control .uagb-spacing-control__inputs {\n display: flex; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item {\n border: 0;\n display: none;\n font-size: 10px;\n height: 30px;\n justify-content: center;\n left: 50px;\n line-height: 12px;\n padding: 0;\n position: absolute;\n text-align: center;\n text-shadow: none;\n top: -5px;\n width: 26px;\n z-index: 1;\n box-shadow: unset;\n border-radius: unset;\n color: unset; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item.is-active {\n display: block; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item:focus:enabled {\n box-shadow: inset 0 0 0 1px #fff; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item:focus:enabled svg {\n fill: #fff; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item svg {\n position: relative; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item.uagb-spacing-control__mobile-controls-item--spacing.components-button.is-secondary:active:not(:disabled), .uagb-spacing-control .uagb-spacing-control__mobile-controls-item.uagb-spacing-control__mobile-controls-item--spacing.components-button.is-tertiary:active:not(:disabled) {\n background: #fff;\n color: #50575E; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item.components-button.is-secondary:hover:not(:disabled), .uagb-spacing-control .uagb-spacing-control__mobile-controls-item.components-button.is-tertiary:hover:not(:disabled) {\n color: unset;\n background: unset;\n box-shadow: unset; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item--default svg {\n top: 3px; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item--desktop svg {\n top: 3px; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item--tablet svg {\n top: 3px; }\n .uagb-spacing-control .uagb-spacing-control__mobile-controls-item--mobile svg {\n top: 3px; }\n .uagb-spacing-control .uagb-spacing-control__input-labels {\n display: flex;\n margin-bottom: -3px; }\n .uagb-spacing-control .uagb-spacing-control__input-labels span {\n text-align: center;\n width: 20%; }\n .uagb-spacing-control .uagb-spacing-control__input-labels .uagb-spacing-control__link-label {\n width: 10%; }\n .uagb-spacing-control .uagb-control__label {\n margin-bottom: 0;\n width: 50%; }\n .uagb-spacing-control .uagb-spacing-control__number-label {\n color: #CCCCCC;\n display: block;\n font-size: 10px;\n margin-top: 5px; }\n\n/*.components-panel .block-editor-block-inspector .uagb-inspector-tab .uagb-spacing-control.components-base-control:last-child{\n\tmargin-bottom: 15px;\n}*/\n',""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,"/* Normal & Hover Tabs CSS*/\n/* stylelint-disable color-hex-case, color-hex-length */\n.uag-control-tabs {\n margin: 0 -16px;\n padding: 0 16px; }\n .uag-control-tabs.uag-control-tabs-three-tabs .components-tab-panel__tabs > .components-button {\n width: 31.3%; }\n .uag-control-tabs > .components-tab-panel__tabs {\n justify-content: space-between;\n margin: 0 -16px 25px;\n padding: 0 16px;\n border-bottom: 1px solid #E6E7E9; }\n .uag-control-tabs > .components-tab-panel__tabs > .components-button {\n width: 47%;\n text-align: center;\n justify-content: center;\n border: 1px solid #E6E7E9;\n border-radius: 3px 3px 0 0;\n color: #50575E;\n background-color: #F0F0F1;\n max-height: 30px;\n font-size: 13px;\n border-bottom: 0;\n margin-bottom: -1px; }\n .uag-control-tabs > .components-tab-panel__tabs > .components-button.active-tab {\n color: #007CBA;\n background: #FFFFFF; }\n .uag-control-tabs > .components-tab-panel__tabs > .components-button:focus:not(:disabled) {\n box-shadow: none; }\n .uag-control-tabs .components-base-control {\n margin-bottom: 25px; }\n .uag-control-tabs .components-base-control .components-base-control,\n .uag-control-tabs .components-base-control .components-base-control__field {\n padding-top: 0;\n margin-bottom: 0; }\n .uag-control-tabs .components-base-control:last-child {\n margin-bottom: 0; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,"/* stylelint-disable color-hex-case, color-hex-length */\n.spectra-separator {\n width: 100%;\n height: 1px;\n margin: 25px 0;\n background-color: #E6E7E9; }\n\n.uagb-inspector-tab .components-panel__body .spectra-separator {\n width: auto;\n margin: 25px -16px; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,'/*#######################################################################################*/\n/**\n * google-material-color v1.2.6\n * https://github.com/danlevan/google-material-color\n */\n.rfipbtn--default {\n background-color: #fff;\n border: 1px solid #e0e0e0; }\n .rfipbtn--default:active, .rfipbtn--default:focus {\n box-shadow: 0 1.5px 4px rgba(0, 0, 0, 0.24), 0 1.5px 6px rgba(0, 0, 0, 0.12);\n border: 1px solid #bdbdbd; }\n .rfipbtn--default .rfipbtn__button {\n border: 0 none transparent;\n border-left: 1px solid #e0e0e0;\n background-color: #f5f5f5;\n color: #424242; }\n .rfipbtn--default .rfipbtn__button:hover {\n background-color: #bdbdbd; }\n .rfipbtn--default .rfipbtn__button:active {\n box-shadow: inset 0 0 10px 0 #e0e0e0; }\n .rfipbtn--default .rfipbtn__icon {\n border: 1px solid #eee;\n color: #424242; }\n .rfipbtn--default .rfipbtn__icon--empty {\n color: #e0e0e0; }\n .rfipbtn--default .rfipbtn__del {\n background-color: #eee; }\n .rfipbtn--default .rfipbtn__del:hover {\n background-color: #e0e0e0; }\n .rfipbtn--default .rfipbtn__del:focus, .rfipbtn--default .rfipbtn__del:active {\n outline: 1px solid #e0e0e0; }\n\n.rfipdropdown--default {\n box-shadow: 0 15px 24px rgba(0, 0, 0, 0.22), 0 19px 76px rgba(0, 0, 0, 0.3);\n color: #424242;\n background-color: #fff;\n border: 1px solid #e0e0e0; }\n .rfipdropdown--default input,\n .rfipdropdown--default select {\n color: #424242; }\n .rfipdropdown--default .rfipcategory select {\n background-color: #fff;\n border: 1px solid #bdbdbd;\n transition: box-shadow 250ms, border 250ms; }\n .rfipdropdown--default .rfipcategory select:focus, .rfipdropdown--default .rfipcategory select:active {\n border-color: #9e9e9e;\n box-shadow: 0 0 0 0 #9e9e9e;\n outline: 0 none; }\n .rfipdropdown--default .rfipicons__cp {\n border: 1px solid #bdbdbd;\n transition: box-shadow 250ms, border 250ms; }\n .rfipdropdown--default .rfipicons__cp:focus, .rfipdropdown--default .rfipicons__cp:active {\n border-color: #9e9e9e;\n box-shadow: 0 0 0 0 #9e9e9e;\n outline: 0 none; }\n .rfipdropdown--default .rfipicons__left, .rfipdropdown--default .rfipicons__right {\n background-color: #eee;\n border: 1px solid #eee;\n color: #424242; }\n .rfipdropdown--default .rfipicons__left:hover, .rfipdropdown--default .rfipicons__right:hover {\n background-color: #bdbdbd;\n border: 1px solid #bdbdbd; }\n .rfipdropdown--default .rfipicons__left:focus, .rfipdropdown--default .rfipicons__left:active, .rfipdropdown--default .rfipicons__right:focus, .rfipdropdown--default .rfipicons__right:active {\n border: 1px solid #bdbdbd; }\n .rfipdropdown--default .rfipicons__ibox {\n background-color: #f5f5f5;\n border: 1px solid #f5f5f5;\n color: #424242; }\n .rfipdropdown--default .rfipicons__ibox:hover {\n background-color: #bdbdbd;\n border: 1px solid #bdbdbd; }\n .rfipdropdown--default .rfipicons__ibox:focus, .rfipdropdown--default .rfipicons__ibox:active {\n border: 1px solid #bdbdbd; }\n .rfipdropdown--default .rfipicons__ibox--error {\n color: #ef9a9a; }\n .rfipdropdown--default .rfipsearch input {\n border: 1px solid #bdbdbd;\n transition: box-shadow 250ms, border 250ms; }\n .rfipdropdown--default .rfipsearch input:focus, .rfipdropdown--default .rfipsearch input:active {\n border-color: #9e9e9e;\n box-shadow: 0 0 0 0 #9e9e9e;\n outline: 0 none; }\n\n.rfipbtn,\n.rfipdropdown {\n margin: 0;\n padding: 0;\n font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;\n font-size: 14px;\n line-height: 1.71429;\n vertical-align: baseline;\n box-sizing: border-box; }\n .rfipbtn *,\n .rfipdropdown * {\n box-sizing: border-box;\n margin: 0;\n padding: 0; }\n .rfipbtn input,\n .rfipbtn select,\n .rfipdropdown input,\n .rfipdropdown select {\n font-size: 14px; }\n\n.rfip {\n position: relative;\n display: inline-block;\n margin: 8px;\n vertical-align: middle;\n width: 100%; }\n\n.rfipbtn {\n width: 100%;\n display: flex;\n flex-flow: row nowrap;\n min-height: 50px;\n border-radius: 2px;\n cursor: pointer;\n transition: box-shadow 250ms, border-color 250ms;\n outline: 0 none;\n user-select: none; }\n .rfipbtn--open {\n border-radius: 2px 2px 0 0; }\n .rfipbtn__button {\n width: 48px;\n margin-left: auto;\n display: flex;\n align-items: center;\n /* x axis center */\n justify-content: center;\n /* y axis center */\n height: auto;\n /* auto height to fix the flex */\n transition: background 250ms, box-shadow 250ms; }\n .rfipbtn__button i {\n font-size: 32px;\n transition: transform 250ms; }\n .rfipbtn__button--open i {\n transform: rotate(-180deg); }\n .rfipbtn__current {\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: center;\n flex: 0 0 86px;\n padding: 2px; }\n .rfipbtn--multi {\n width: 258px; }\n .rfipbtn--multi .rfipbtn__current {\n flex-flow: row wrap;\n justify-content: flex-start;\n flex-basis: 212px;\n align-content: center; }\n .rfipbtn__icon {\n margin: 2px;\n padding: 0;\n height: 28px;\n width: 48px;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-content: space-between;\n border-radius: 2px; }\n .rfipbtn__icon--empty {\n font-size: 14px;\n line-height: 16px;\n margin-left: 8px;\n text-align: center;\n text-transform: lowercase;\n font-style: italic; }\n .rfipbtn__elm {\n display: flex;\n height: 28px;\n width: 28px;\n align-items: center;\n justify-content: center;\n font-size: 18px; }\n .rfipbtn__elm img,\n .rfipbtn__elm svg {\n height: 18px;\n width: auto; }\n .rfipbtn__del {\n width: 18px;\n display: flex;\n height: 28px;\n align-items: center;\n justify-content: center;\n transition: background-color 250ms;\n cursor: pointer; }\n\n.rfipcategory {\n width: 100%;\n margin: 0 0 8px;\n position: relative; }\n .rfipcategory select {\n width: 100%;\n display: block;\n height: 32px;\n line-height: 32px;\n border-radius: 0;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n /* remove default arrow */\n transition: border 250ms, box-shadow 250ms;\n background-color: transparent !important; }\n .rfipcategory i {\n position: absolute;\n right: 2px;\n top: 0;\n font-size: 16px;\n line-height: 32px;\n z-index: -1; }\n\n.rfipdropdown {\n width: 352px;\n position: absolute;\n left: 0;\n margin-top: -1px;\n z-index: 100000001;\n border-radius: 0 1px 4px 4px; }\n .rfipdropdown .rfipicons__ibox--error {\n color: #000;\n text-transform: capitalize;\n font-size: 14px;\n font-weight: 500; }\n .rfipdropdown__selector {\n overflow: hidden;\n padding: 16px; }\n .rfipdropdown.fipappear-enter-active .rfipdropdown__selector, .rfipdropdown.fipappear-exit-active .rfipdropdown__selector {\n transition: max-height 300ms ease-out, padding 300ms ease-out;\n padding: 16px; }\n\n.rfipicons__pager {\n display: flex;\n flex-flow: row nowrap;\n height: 24px;\n line-height: 24px;\n align-items: center;\n margin-bottom: 8px; }\n\n.rfipicons__num {\n width: 100px;\n margin-right: auto; }\n\n.rfipicons__cp {\n width: 32px;\n margin-right: 8px;\n height: 24px;\n line-height: 24px;\n text-align: right; }\n\n.rfipicons__sp {\n margin-right: 8px; }\n\n.rfipicons__tp {\n margin-right: 8px; }\n\n.rfipicons__arrow {\n margin-left: auto;\n width: 56px;\n display: flex;\n flex-flow: row nowrap;\n justify-content: flex-end;\n align-items: center;\n height: 24px;\n user-select: none; }\n\n.rfipicons__right {\n margin-left: auto; }\n\n.rfipicons__left, .rfipicons__right {\n cursor: pointer;\n width: 24px;\n height: 24px;\n position: relative;\n transition: background-color 250ms, border 250ms;\n outline: 0 none;\n border-radius: 2px;\n font-size: 18px; }\n\n.rfipicons__label {\n height: 22px;\n width: 22px;\n display: flex;\n align-items: center;\n justify-content: center; }\n .rfipicons__label img {\n height: 18px;\n width: 18px; }\n\n.rfipicons__selector {\n display: flex;\n flex: 1 1 20%;\n flex-flow: row wrap;\n align-content: center;\n justify-content: flex-start; }\n\n.rfipicons__ibox {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n transition: background-color 250ms, border 250ms;\n border-radius: 2px;\n outline: 0 none;\n font-size: 20px; }\n .rfipicons__ibox img,\n .rfipicons__ibox svg {\n max-height: 24px;\n width: auto; }\n .rfipicons__ibox > * {\n transform: scale(1);\n transition: transform 250ms;\n transform-origin: center; }\n .rfipicons__ibox:hover > * {\n transform: scale(1.8); }\n .rfipicons__ibox--error {\n text-transform: lowercase;\n font-style: italic; }\n\n.rfipicons__icon {\n width: 20%;\n height: 64px;\n padding: 1px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer; }\n .rfipicons__icon--error {\n display: block;\n padding: 16px;\n text-align: center;\n font-size: 24px;\n width: 100%;\n line-height: 1; }\n\n.rfipsearch {\n width: 100%;\n margin: 0 0 8px; }\n .rfipsearch input {\n width: 100%;\n display: block;\n height: 32px;\n line-height: 32px; }\n\n.components-panel .rfipdropdown,\n.components-panel .rfipdropdown.rfipdropdown--default.fipappear-enter-done {\n left: 0;\n width: 100%; }\n\n.components-panel .rfipicons__ibox {\n font-size: 15px; }\n\n.components-panel .rfipicons__icon {\n height: 40px; }\n\n.components-panel .rfipicons__ibox:hover > * {\n -webkit-transform: scale(1.45);\n -ms-transform: scale(1.45);\n transform: scale(1.45); }\n\n.rfipdropdown--default .rfipicons__icon--selected .rfipicons__ibox svg {\n fill: #007cba; }\n\n.rfipbtn--default .rfipbtn__icon {\n color: #424242;\n height: 40px;\n border: 0; }\n\n.rfipbtn--default .rfipbtn__del {\n height: 7px;\n background-color: #007cba33;\n color: #007cba;\n font-weight: bold;\n padding: 8px 8px 10px 8px;\n border-radius: 100%;\n margin-left: 10px; }\n\n.rfipdropdown--default .rfipicons__ibox,\n.rfipdropdown--default .rfipicons__ibox:focus,\n.rfipdropdown--default .rfipicons__ibox:active,\n.rfipdropdown--default .rfipicons__ibox:hover {\n color: #424242;\n background-color: transparent;\n border: 0; }\n\n.rfipdropdown--default .rfipicons__icon--selected .rfipicons__ibox svg {\n fill: #007cba; }\n\n.rfipicons__ibox img,\n.rfipicons__ibox svg {\n width: 16px;\n height: 16px;\n max-height: 24px; }\n\n.rfipicons__ibox svg {\n fill: #585858; }\n\n/* Override default CSS - UAG */\n.uag-icon-picker .rfip {\n margin: 4px 0 0; }\n\n.uag-icon-picker .uag-control-label {\n padding-bottom: 4px;\n display: block; }\n',""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,"/**\n * #.# Styles\n *\n * CSS for Backend.\n */\n.wp-block-wcfpb-offer-yes-no-link .wpcfp__offer-yes-no-link-icon svg {\n width: 20px;\n height: 20px; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,"/* stylelint-disable color-hex-case, color-hex-length */\n.uag-bg-select-control .uag-background-color,\n.uag-bg-select-control .uag-background-image,\n.uag-bg-select-control .uag-background-gradient,\n.uag-bg-select-control .uag-background-opacity,\n.uag-bg-select-control .uag-background-video,\n.uag-bg-select-control .uag-background-video-overlay,\n.uag-bg-select-control .uag-background-video-opacity,\n.uag-bg-select-control .uag-background-image-position,\n.uag-bg-select-control .uag-background-image-attachment,\n.uag-bg-select-control .uag-background-image-repeat,\n.uag-bg-select-control .uag-background-image-size,\n.uag-bg-select-control .uag-background-image-overlay-type,\n.uag-bg-select-control .uag-background-image-overlay-color,\n.uag-bg-select-control .uag-background-image-overlay-gradient,\n.uag-bg-select-control .uagb-responsive-select-control {\n margin-top: 25px; }\n .uag-bg-select-control .uag-background-color .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-image .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-gradient .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-opacity .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-video .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-video-overlay .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-video-opacity .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-image-position .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-image-attachment .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-image-repeat .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-image-size .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-image-overlay-type .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-image-overlay-color .uagb-size-type-field-tabs,\n .uag-bg-select-control .uag-background-image-overlay-gradient .uagb-size-type-field-tabs,\n .uag-bg-select-control .uagb-responsive-select-control .uagb-size-type-field-tabs {\n display: flex;\n justify-content: space-between; }\n .uag-bg-select-control .uag-background-color .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-image .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-gradient .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-opacity .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-video .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-video-overlay .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-video-opacity .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-image-position .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-image-attachment .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-image-repeat .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-image-size .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-image-overlay-type .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-image-overlay-color .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uag-background-image-overlay-gradient .uagb-size-type-field-tabs > .components-base-control,\n .uag-bg-select-control .uagb-responsive-select-control .uagb-size-type-field-tabs > .components-base-control {\n width: 45%; }\n\n.uag-bg-select-control .uag-background-image > .uagb-responsive-select-control .uagb-size-type-field-tabs {\n display: block; }\n .uag-bg-select-control .uag-background-image > .uagb-responsive-select-control .uagb-size-type-field-tabs > .components-base-control {\n width: 100%; }\n\n.uag-bg-select-control .uag-responsive-image-select.uagb-responsive-select-control .uagb-size-type-field-tabs .uagb-control__header {\n margin-bottom: 10px; }\n\n.uag-bg-select-control .uag-background-image-overlay-type .components-select-control {\n flex-direction: row;\n align-items: center; }\n .uag-bg-select-control .uag-background-image-overlay-type .components-select-control .components-input-control__container {\n width: 45%;\n flex: unset; }\n\n.uag-bg-select-control .uag-background-image-size .uagb-responsive-control-inner > .components-base-control {\n display: block;\n margin-top: 25px; }\n\n.uag-bg-select-control .uag-background-image-position .uagb-size-type-field-tabs {\n flex-direction: column;\n align-items: flex-start; }\n .uag-bg-select-control .uag-background-image-position .uagb-size-type-field-tabs .uagb-control__header {\n margin-bottom: 10px; }\n .uag-bg-select-control .uag-background-image-position .uagb-size-type-field-tabs .components-focal-point-picker-control {\n width: 100%; }\n .uag-bg-select-control .uag-background-image-position .uagb-size-type-field-tabs .components-focal-point-picker-control .components-focal-point-picker {\n border-radius: 3px;\n border-color: #E6E7E9; }\n .uag-bg-select-control .uag-background-image-position .uagb-size-type-field-tabs .components-focal-point-picker-control .components-focal-point-picker img {\n border-radius: 3px; }\n .uag-bg-select-control .uag-background-image-position .uagb-size-type-field-tabs .components-focal-point-picker-control .focal-point-picker__controls-position-unit-control {\n width: 115px; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,".uagb-gradient-picker .components-custom-gradient-picker__gradient-bar {\n border-radius: 5px;\n height: 30px; }\n .uagb-gradient-picker .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button {\n top: 9px;\n width: 12px;\n height: 12px; }\n .uagb-gradient-picker .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point {\n top: 7px; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,".uagb-responsive-select-control .uagb-size-type-field-tabs {\n align-items: center;\n display: grid;\n grid-template-columns: 50% 50%; }\n .uagb-responsive-select-control .uagb-size-type-field-tabs .uagb-control__header {\n margin-bottom: 0; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,"/**\n * #.# Styles\n *\n * CSS for Backend.\n */\n.wp-block-wcfpb-offer-yes-no-button .wpcfp__offer-yes-no-button-icon svg {\n width: 20px;\n height: 20px; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,"/**\n * #.# Styles\n *\n * CSS for Backend.\n */\n.wp-block-wcfpb-offer-product-price .wpcfp__offer-product-price .wcf-offer-price .wcf-offer-price-inner {\n display: block !important; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,"/**\n * #.# Styles\n *\n * CSS for Backend.\n */\n.wp-block-wcfpb-offer-product-variation .wpcfp__offer-product-variation table,\n.wp-block-wcfpb-offer-product-variation .wpcfp__offer-product-variation td {\n border: unset; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,"/**\n * #.# Styles\n *\n * CSS for Backend.\n */\n.wp-block-wcfpb-offer-product-image .flex-control-thumbs {\n margin-left: unset;\n margin-right: unset;\n margin-bottom: unset;\n padding-left: unset;\n margin-top: 15px; }\n",""]),t.a=i},function(e,t,a){"use strict";var n=a(7),i=a.n(n)()((function(e){return e[1]}));i.push([e.i,".cartflows-gutenberg__checkout-form .wcf-embed-checkout-form .wcf-hide-field label,\n.cartflows-gutenberg__checkout-form .wcf-embed-checkout-form .wcf-hide-field span {\n display: block !important; }\n\n.form-row label {\n display: inline-block !important; }\n\n.cartflows-gutenberg__checkout-form .wcf-embed-checkout-form .wcf-hide-field {\n -webkit-box-align: unset;\n -webkit-align-items: unset;\n -moz-box-align: unset;\n -ms-flex-align: unset;\n align-items: unset;\n font-size: 13px; }\n\np#order_comments_field {\n -js-display: unset !important;\n display: unset !important;\n display: unset !important;\n display: unset !important;\n display: unset !important;\n display: unset !important; }\n\n.cartflows-gutenberg__checkout-form .wcf-embed-checkout-form .woocommerce-additional-fields > h3 {\n margin: 0; }\n\n.cartflows-gutenberg__checkout-form .wcf-embed-checkout-form .woocommerce-checkout .col2-set .woocommerce-additional-fields .woocommerce-additional-fields__field-wrapper,\n.cartflows-gutenberg__checkout-form .wcf-embed-checkout-form .woocommerce-checkout .wcf-col2-set .woocommerce-additional-fields .woocommerce-additional-fields__field-wrapper {\n margin: 0;\n box-sizing: inherit; }\n\nbody .wcf-pre-checkout-offer-wrapper .wcf-pre-checkout-info {\n display: table-cell; }\n\nbody .wcf-pre-checkout-offer-wrapper #wcf-pre-checkout-offer-content {\n display: block; }\n\n.woocommerce img,\n.woocommerce-page img {\n height: auto;\n max-width: 100%; }\n\n.wp-block-wcfb-checkout-form .wcf-embed-checkout-form-two-column .woocommerce .wcf-product-option-wrap.wcf-product-option-before-order,\n.wp-block-wcfb-checkout-form .wcf-embed-checkout-form-one-column .woocommerce .col2-set,\n.wp-block-wcfb-checkout-form .wcf-embed-checkout-form-two-step .woocommerce-checkout .col2-set {\n width: 100%; }\n\n.wcf-yp-skin-classic .wcf-qty-options .wcf-qty-selection {\n padding: 0; }\n",""]),t.a=i},function(e,t){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch(e){"object"==typeof window&&(a=window)}e.exports=a},function(e,t,a){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,a):{};n.get||n.set?Object.defineProperty(t,a,n):t[a]=e[a]}return t.default=e,t}(a(9)),i=o(a(2)),l=o(a(14)),r=a(38);function o(e){return e&&e.__esModule?e:{default:e}}a(39),t.UNMOUNTED="unmounted",t.EXITED="exited",t.ENTERING="entering",t.ENTERED="entered",t.EXITING="exiting";var u=function(e){var t,a;function n(t,a){var n;n=e.call(this,t,a)||this;var i,l=a.transitionGroup,r=l&&!l.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?r?(i="exited",n.appearStatus="entering"):i="entered":i=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",n.state={status:i},n.nextCallback=null,n}a=e,(t=n).prototype=Object.create(a.prototype),t.prototype.constructor=t,t.__proto__=a;var r=n.prototype;return r.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var a=this.state.status;this.props.in?"entering"!==a&&"entered"!==a&&(t="entering"):"entering"!==a&&"entered"!==a||(t="exiting")}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,a,n=this.props.timeout;return e=t=a=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,a=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:a}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var a=l.default.findDOMNode(this);"entering"===t?this.performEnter(a,e):this.performExit(a)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},r.performEnter=function(e,t){var a=this,n=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,l=this.getTimeouts(),r=i?l.appear:l.enter;t||n?(this.props.onEnter(e,i),this.safeSetState({status:"entering"},(function(){a.props.onEntering(e,i),a.onTransitionEnd(e,r,(function(){a.safeSetState({status:"entered"},(function(){a.props.onEntered(e,i)}))}))}))):this.safeSetState({status:"entered"},(function(){a.props.onEntered(e)}))},r.performExit=function(e){var t=this,a=this.props.exit,n=this.getTimeouts();a?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,n.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,a=!0;return this.nextCallback=function(n){a&&(a=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},r.onTransitionEnd=function(e,t,a){this.setNextCallback(a);var n=null==t&&!this.props.addEndListener;e&&!n?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,a=t.children,n=function(e,t){if(null==e)return{};var a,n,i={},l=Object.keys(e);for(n=0;n
=0||(i[a]=e[a]);return i}(t,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"==typeof a)return a(e,n);var l=i.default.Children.only(a);return i.default.cloneElement(l,n)},n}(i.default.Component);function c(){}u.contextTypes={transitionGroup:n.object},u.childContextTypes={transitionGroup:function(){}},u.propTypes={},u.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:c,onEntering:c,onEntered:c,onExit:c,onExiting:c,onExited:c},u.UNMOUNTED=0,u.EXITED=1,u.ENTERING=2,u.ENTERED=3,u.EXITING=4;var s=(0,r.polyfill)(u);t.default=s},function(e,t,a){"use strict";function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState(function(t){var a=this.constructor.getDerivedStateFromProps(e,t);return null!=a?a:null}.bind(this))}function l(e,t){try{var a=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(a,n)}finally{this.props=a,this.state=n}}function r(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var a=null,r=null,o=null;if("function"==typeof t.componentWillMount?a="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(a="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==a||null!==r||null!==o){var u=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==a?"\n "+a:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=n,t.componentWillReceiveProps=i),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=l;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,a){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:a;s.call(this,e,t,n)}}return e}a.r(t),a.d(t,"polyfill",(function(){return r})),n.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,l.__suppressDeprecationWarning=!0},function(e,t,a){"use strict";var n;t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0,(n=a(9))&&n.__esModule,t.timeoutsShape=null,t.classNamesShape=null},function(e,t,a){"use strict";t.__esModule=!0,t.default=void 0;var n=o(a(9)),i=o(a(2)),l=a(38),r=a(63);function o(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t
=0||(i[a]=e[a]);return i}(e,["component","childFactory"]),l=s(this.state.children).map(a);return delete n.appear,delete n.enter,delete n.exit,null===t?l:i.default.createElement(t,n,l)},n}(i.default.Component);b.childContextTypes={transitionGroup:n.default.object.isRequired},b.propTypes={},b.defaultProps={component:"div",childFactory:function(e){return e}};var p=(0,l.polyfill)(b);t.default=p,e.exports=t.default},function(e,t){function a(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=a=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=a=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),a(t)}e.exports=a,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,a){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(a,n,i,l,r,o,u,c,s,b){switch(a){case 1:if(0===s&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===c)return n+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+n),"";default:return n+(0===b?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}}()},function(e,t,a){(function(t){for(var n=a(55),i="undefined"==typeof window?t:window,l=["moz","webkit"],r="AnimationFrame",o=i["request"+r],u=i["cancel"+r]||i["cancelRequest"+r],c=0;!o&&c
=0||Object.prototype.hasOwnProperty.call(e,n)&&(a[n]=e[n]);return a}(this.props,[]);return function(e){s.forEach((function(t){return delete e[t]}))}(i),i.className=this.props.inputClassName,i.id=this.state.inputId,i.style=a,r.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),r.default.createElement("input",n({},i,{ref:this.inputRef})),r.default.createElement("div",{ref:this.sizerRef,style:c},e),this.props.placeholder?r.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),t}(l.Component);g.propTypes={className:o.default.string,defaultValue:o.default.any,extraWidth:o.default.oneOfType([o.default.number,o.default.string]),id:o.default.string,injectStyles:o.default.bool,inputClassName:o.default.string,inputRef:o.default.func,inputStyle:o.default.object,minWidth:o.default.oneOfType([o.default.number,o.default.string]),onAutosize:o.default.func,onChange:o.default.func,placeholder:o.default.string,placeholderIsMinWidth:o.default.bool,style:o.default.object,value:o.default.any},g.defaultProps={minWidth:1,injectStyles:!0},t.default=g},function(e,t){e.exports=window.wp.hooks},function(e,t,a){var n,i,l,r,o;window,e.exports=(n=a(9),i=a(2),l=a(10),r=a(14),o=a(15),function(e){var t={};function a(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},a.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=15)}([function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t,a){"use strict";function n(e){return(n="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)}function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,a=new Array(e.length);t
1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e))return l(e);if(null!==t)return void 0!==e[t]?l(e[t]):[];var a=[],n=function(e){for(var t=1;t
a)return!1;if(n===a)return e===t;e:for(var i=0,l=0;i
i-20){var v=d.left+a.props.btnRef.current.offsetWidth-(e+p.left);v+p.left<0&&(v=10-p.left),g.style.left="".concat(v,"px")}t+s-l>r&&d.top-t>0&&("self"===a.state.appendRoot?g.style.top="-".concat(t-h,"px"):g.style.top="".concat(d.top+h-t,"px"))}}),a.state={},a.debouncedSyncPortalPosition=(0,o.debounce)(a.syncPortalPosition,250),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),b(t,null,[{key:"getDerivedStateFromProps",value:function(e){var a=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:a.appendRoot,portalClasses:a.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",a=(0,r.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:a,appendRoot:t}}}]),b(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.debouncedSyncPortalPosition),window.addEventListener("scroll",this.debouncedSyncPortalPosition),this.syncPortalPosition()}},{key:"componentDidUpdate",value:function(){this.syncPortalPosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.debouncedSyncPortalPosition),window.removeEventListener("scroll",this.debouncedSyncPortalPosition)}},{key:"positionPortal",value:function(){var e=this.props.domRef.current.style.display;this.props.domRef.current.style.display="none";var t=this.props.btnRef.current,a=(0,o.getOffset)(t),n=(0,o.getOffset)(this.state.appendRoot),i=t.offsetHeight;this.props.domRef.current.style.left="".concat(a.left-n.left,"px"),this.props.domRef.current.style.top="".concat(a.top+i,"px"),this.props.domRef.current.style.display=e}},{key:"resetPortalPosition",value:function(){var e=this.props.domRef.current;"self"===this.state.appendRoot?e.style.top="":this.positionPortal()}},{key:"render",value:function(){var e=(0,r.default)(this.props.className,this.state.portalClasses),t=n.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,i.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(f,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:l.default.oneOfType([l.default.bool,l.default.string]),children:l.default.node.isRequired,domRef:l.default.object.isRequired,btnRef:l.default.object.isRequired,className:l.default.string.isRequired}}),Object.defineProperty(f,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var g=f;t.default=g},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(a(1)),i=o(a(0)),l=o(a(3)),r=a(2);function o(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="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)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,a=new Array(e.length);t
1&&void 0!==arguments[1]?arguments[1]:null,i=a.props.currentPage,l=a.state.totalPage;null!==n?"next"===n?i+=1:i-=1:i=parseInt(e.target.value,10)-1,i<0&&(i=0),i>l-1&&(i=l-1),t=i+1,null===n&&Number.isNaN(i)&&(i=0,t=""),a.setState({viewPage:t}),a.props.handleChangePage(i)}}),Object.defineProperty(p(a),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||a.handleChangePage({},t)}}),Object.defineProperty(p(a),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){a.props.handleChangeValue(e)}}),Object.defineProperty(p(a),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||a.handleChangeValue(t)}}),a.state={viewPage:a.props.currentPage+1},a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),b(t,null,[{key:"getDerivedStateFromProps",value:function(e,a){var n=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),i=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),l=t.getActiveIcons(n,i,e.currentSearch),r=l.activeIcons,o=l.activeTitles,u=e.currentPage,c=e.iconsPerPage,s={iconView:t.getCurrentViewIcons(r,c,u),titleView:t.getCurrentViewIcons(o,c,u),totalPage:Math.ceil(r.length/c)};return""!==a.viewPage&&(s.viewPage=e.currentPage+1),s}},{key:"getActiveIcons",value:function(e,t,a){var n=c(e),i=c(t);if(""===a||null===a)return{activeIcons:n,activeTitles:i};var l=[],o=[];return n.forEach((function(e,n){(0,r.fuzzySearch)(a,t[n])&&(l.push(e),o.push(t[n]))})),{activeIcons:l,activeTitles:o}}},{key:"getCategoryFilteredState",value:function(e,t,a){var n=null,i=(0,r.getSourceType)(a);if(Array.isArray(t)){if("object"!==i)throw new r.InvalidSourceException(i,"object")}else if("array"!==i)throw new r.InvalidSourceException(i,"array");return 0!==e&&Array.isArray(t)&&(n=t[e]||null),(0,r.flattenPossiblyCategorizedSource)(a,n)}},{key:"getCurrentViewIcons",value:function(e,t,a){var n=a*t,i=(a+1)*t;return e.slice(n,i)}}]),b(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?n.default.createElement("span",{className:"rfipicons__left",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"prev")},onClick:function(t){return e.handleChangePage(t,"prev")}},n.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},n.default.createElement("i",{className:"fipicon-angle-left"}))):null,a=this.props.currentPage
0?this.state.iconView.map((function(t,a){var i=(0,l.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return n.default.createElement("span",{className:i,key:t,title:e.state.titleView[a]},n.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(a){return e.handleValueKeyboard(a,t)}},e.props.renderIcon(t)))})):n.default.createElement("span",{className:"rfipicons__icon--error"},n.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return n.default.createElement("div",{className:"rfipicons"},this.renderPager(),n.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(f,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:i.default.arrayOf(i.default.string),currentCategory:i.default.number,isMulti:i.default.bool.isRequired,icons:i.default.oneOfType([i.default.arrayOf(i.default.string),i.default.arrayOf(i.default.number),i.default.objectOf(i.default.oneOfType([i.default.arrayOf(i.default.number),i.default.arrayOf(i.default.string)]))]).isRequired,search:i.default.oneOfType([i.default.objectOf(i.default.arrayOf(i.default.string)),i.default.arrayOf(i.default.string)]),value:i.default.oneOfType([i.default.number,i.default.string,i.default.arrayOf(i.default.oneOfType([i.default.number,i.default.string]))]).isRequired,currentSearch:i.default.string.isRequired,handleChangeValue:i.default.func.isRequired,currentPage:i.default.number.isRequired,iconsPerPage:i.default.number.isRequired,handleChangePage:i.default.func.isRequired,renderIcon:i.default.func.isRequired,noIconPlaceholder:i.default.string.isRequired}}),Object.defineProperty(f,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var g=f;t.default=g},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(1)),i=l(a(0));function l(e){return e&&e.__esModule?e:{default:e}}var r=function(e){return n.default.createElement("div",{className:"rfipsearch"},n.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};r.propTypes={handleSearch:i.default.func.isRequired,value:i.default.string.isRequired,placeholder:i.default.string.isRequired};var o=r;t.default=o},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(a(1)),i=l(a(0));function l(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="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)}var o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),(a=[{key:"render",value:function(){return n.default.createElement("div",{className:"rfipcategory"},n.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map((function(e,t){return n.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)}))),n.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&function(e,t){for(var a=0;a
1&&void 0!==arguments[1])||arguments[1],i={isOpen:e};return i.elemClass=t.getDerivedClassName("rfip",a.props.theme,a.props.isMulti,e),i.btnClass=t.getDerivedClassName("rfipbtn",a.props.theme,a.props.isMulti,e),i.ddClass=t.getDerivedClassName("rfipdropdown",a.props.theme,a.props.isMulti,e),n&&a.setState(i),i}}),Object.defineProperty(h(a),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;a.props.isMulti?(t=f(a.state.value)).includes(e)?(t=t.filter((function(t){return t!==e}))).length||(t=v):t.push(e):t=e===a.state.value?"":e,a.setState({value:t,isOpen:!a.props.closeOnSelect}),a.props.onChange(t)}}),Object.defineProperty(h(a),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var n;n=a.props.isMulti?a.state.value.filter((function(t){return t!==e})):t.getDerivedValue(n,a.props.isMulti),a.setState({value:n}),a.props.onChange(n)}}),Object.defineProperty(h(a),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){a.setState({currentPage:e})}}),Object.defineProperty(h(a),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){a.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(h(a),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){a.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(h(a),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach((function(t){e.style[t]=null}))}}),Object.defineProperty(h(a),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];a.resetPortalStyle(t);var n=getComputedStyle(t);a.fipPortalComputedStyle={height:n.height,paddingTop:n.paddingTop,paddingBottom:n.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach((function(e){t.style[e]="0px"}))}}),Object.defineProperty(h(a),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=a.fipPortalComputedStyle.height,t.style.paddingTop=a.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=a.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(h(a),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];a.resetPortalStyle(t),a.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(h(a),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];a.resetPortalStyle(t);var n=getComputedStyle(t).height;t.style.maxHeight=n}}),Object.defineProperty(h(a),"handlePortalExiting",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px"}}),Object.defineProperty(h(a),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof a.props.renderFunc)return a.props.renderFunc(e);if("class"===a.props.renderUsing)return n.default.createElement("i",{className:e});var t=g({},a.props.renderUsing,a.props.convertHex?(0,s.convertToHex)(e):e);return n.default.createElement("i",t)}}),a.fipButtonRef=n.default.createRef(),a.fipDropDownRef=n.default.createRef(),a.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},a.fipPortalComputedStyle=null,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n.default.PureComponent),m(t,null,[{key:"getDerivedStateFromProps",value:function(e,a){var n={};return n.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,a.isOpen),n.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,a.isOpen),n.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,a.isOpen),n.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(n.currentCategory=0,n.currentPage=0),e.showSearch||(n.currentSearch="",n.currentPage=0),n}},{key:"getDerivedClassName",value:function(e,t,a,n){return(0,l.default)(e,"".concat(e,"--").concat(t),g({},"".concat(e,"--multi"),a),"".concat(e,"--").concat(n?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var a=e;return t?a=Array.isArray(e)?f(e):v:"number"!=typeof e&&"string"!=typeof e&&(a=""),a}}]),m(t,[{key:"componentDidMount",value:function(){var e=this;["click"].forEach((function(t){document.addEventListener(t,e.handleOuterClick,!1)})),document.addEventListener("keydown",this.handleEscapeKeyboard,!1),this.props.onChange(this.state.value)}},{key:"componentWillUnmount",value:function(){var e=this;["click"].forEach((function(t){document.removeEventListener(t,e.handleOuterClick,!1)})),document.removeEventListener("keydown",this.handleEscapeKeyboard,!1)}},{key:"render",value:function(){var e={currentCategory:this.state.currentCategory,currentPage:this.state.currentPage,currentSearch:this.state.currentSearch,value:this.state.value,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,showCategory:this.props.showCategory,showSearch:this.props.showSearch,iconsPerPage:this.props.iconsPerPage,allCatPlaceholder:this.props.allCatPlaceholder,searchPlaceholder:this.props.searchPlaceholder,noIconPlaceholder:this.props.noIconPlaceholder,renderIcon:this.renderIcon,handleChangeValue:this.handleChangeValue,handleChangeCategory:this.handleChangeCategory,handleChangePage:this.handleChangePage,handleChangeSearch:this.handleChangeSearch};return n.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},n.default.createElement(o.default,{className:this.state.btnClass,isOpen:this.state.isOpen,onClick:this.handleToggle,domRef:this.fipButtonRef,isMulti:this.props.isMulti,value:this.state.value,renderIcon:this.renderIcon,handleDeleteValue:this.handleDeleteValue,noSelectedPlaceholder:this.props.noSelectedPlaceholder}),n.default.createElement(r.CSSTransition,{classNames:"fipappear",timeout:300,in:this.state.isOpen,unmountOnExit:!0,onEnter:this.handlePortalEnter,onEntering:this.handlePortalEntering,onEntered:this.handlePortalEntered,onExit:this.handlePortalExit,onExiting:this.handlePortalExiting},n.default.createElement(c.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},n.default.createElement(u.default,e))))}}]),t}();Object.defineProperty(y,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:i.default.oneOfType([i.default.arrayOf(i.default.string),i.default.arrayOf(i.default.number),i.default.objectOf(i.default.oneOfType([i.default.arrayOf(i.default.number),i.default.arrayOf(i.default.string)]))]).isRequired,search:i.default.oneOfType([i.default.objectOf(i.default.arrayOf(i.default.string)),i.default.arrayOf(i.default.string)]),iconsPerPage:i.default.number,theme:i.default.string,onChange:i.default.func.isRequired,showCategory:i.default.bool,showSearch:i.default.bool,value:i.default.oneOfType([i.default.arrayOf(i.default.string),i.default.arrayOf(i.default.number),i.default.number,i.default.string]),isMulti:i.default.bool,renderUsing:i.default.string,convertHex:i.default.bool,renderFunc:i.default.func,appendTo:i.default.oneOfType([i.default.bool,i.default.string]),allCatPlaceholder:i.default.string,searchPlaceholder:i.default.string,noIconPlaceholder:i.default.string,noSelectedPlaceholder:i.default.string,closeOnSelect:i.default.bool}}),Object.defineProperty(y,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null,iconsPerPage:20,theme:"default",showCategory:!0,showSearch:!0,value:null,isMulti:!1,renderUsing:"class",convertHex:!0,renderFunc:null,appendTo:!1,allCatPlaceholder:"Show from all",searchPlaceholder:"Search Icons",noIconPlaceholder:"No icons found",noSelectedPlaceholder:"Select icon",closeOnSelect:!1}}),Object.defineProperty(y,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var w=y;t.default=w},function(e,t,a){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=((n=a(14))&&n.__esModule?n:{default:n}).default;t.default=i}]).default)},function(e,t,a){"use strict";var n,i,l={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},r=function(e){function t(e,t,n){var i=t.trim().split(g);t=i;var l=i.length,r=e.length;switch(r){case 0:case 1:var o=0;for(e=0===r?"":e[0]+" ";o
n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(d,"$1"+e.trim());case 58:return e.trim()+t.replace(d,"$1"+e.trim());default:if(0<1*a&&0
u.charCodeAt(8))break;case 115:r=r.replace(u,"-webkit-"+u)+";"+r;break;case 207:case 102:r=r.replace(u,"-webkit-"+(102
o.charCodeAt(0)&&(o=o.trim()),o=[o],0
f)&&(z=(I=I.replace(" ",":")).length),0
=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),n=1540483477*(65535&n)+((1540483477*(n>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),a-=4,++i;switch(a){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+((1540483477*(n>>>16)&65535)<<16)}return n=1540483477*(65535&(n^=n>>>13))+((1540483477*(n>>>16)&65535)<<16),((n^=n>>>15)>>>0).toString(36)}(e+t)+t},E=function(e){var t=!0,a="",n="";null==e||void 0===e.raw?(t=!1,a+=h.call(this,e,!1)):a+=e[0];for(var i=arguments.length,l=new Array(i>1?i-1:0),r=1;r
e.length)&&(t=e.length);for(var a=0,n=new Array(t);a
1)for(var a=1;a
=0||(i[a]=e[a]);return i}(e,["children","in"]),r=n.default.Children.toArray(t),o=r[0],u=r[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,n.default.createElement(l.default,i,a?n.default.cloneElement(o,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(u,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},r}(n.default.Component);o.propTypes={};var u=o;t.default=u,e.exports=t.default},function(e,t,a){"use strict";t.__esModule=!0,t.getChildMapping=i,t.mergeChildMappings=l,t.getInitialChildMapping=function(e,t){return i(e.children,(function(a){return(0,n.cloneElement)(a,{onExited:t.bind(null,a),in:!0,appear:r(a,"appear",e),enter:r(a,"enter",e),exit:r(a,"exit",e)})}))},t.getNextChildMapping=function(e,t,a){var o=i(e.children),u=l(t,o);return Object.keys(u).forEach((function(i){var l=u[i];if((0,n.isValidElement)(l)){var c=i in t,s=i in o,b=t[i],p=(0,n.isValidElement)(b)&&!b.props.in;!s||c&&!p?s||!c||p?s&&c&&(0,n.isValidElement)(b)&&(u[i]=(0,n.cloneElement)(l,{onExited:a.bind(null,l),in:b.props.in,exit:r(l,"exit",e),enter:r(l,"enter",e)})):u[i]=(0,n.cloneElement)(l,{in:!1}):u[i]=(0,n.cloneElement)(l,{onExited:a.bind(null,l),in:!0,exit:r(l,"exit",e),enter:r(l,"enter",e)})}})),u};var n=a(2);function i(e,t){var a=Object.create(null);return e&&n.Children.map(e,(function(e){return e})).forEach((function(e){a[e.key]=function(e){return t&&(0,n.isValidElement)(e)?t(e):e}(e)})),a}function l(e,t){function a(a){return a in t?t[a]:e[a]}e=e||{},t=t||{};var n,i=Object.create(null),l=[];for(var r in e)r in t?l.length&&(i[r]=l,l=[]):l.push(r);var o={};for(var u in t){if(i[u])for(n=0;n
0&&!--C&&(n(),n=null)};var M=T,S=a(9),D=a.n(S),L={label:D.a.string,layout:D.a.string,options:D.a.array,data:D.a.object,setAttributes:D.a.func,onChange:D.a.func,help:D.a.string};function P(e){var t=e.layout,a=e.label,n=e.options,i=e.data,l=e.setAttributes,r=e.onChange,u=e.help,c=e.children;return Object(b.useLayoutEffect)((function(){return M.use(),function(){M.unuse()}}),[]),c?Object(o.createElement)("div",{className:"uagb-select-control uagb-select-control--layout-".concat(t)},Object(o.createElement)(w.SelectControl,{label:a,value:i.value,onChange:function(e){return r?r(e):l(_()({},i.label,e))},help:u},c)):Object(o.createElement)("div",{className:"uagb-select-control uagb-select-control--layout-".concat(t)},Object(o.createElement)(w.SelectControl,{label:a,value:i.value,onChange:function(e){return r?r(e):l(_()({},i.label,e))},options:n,help:u}))}P.propTypes=L,P.defaultProps={layout:"inline",onChange:null};var B=a(13),F=a.n(B),A=a(41),N=a.n(A),H=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!window.localStorage)return null;if(!e)return localStorage;var t=localStorage.getItem(e);return t?JSON.parse(t):null};function z(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function R(e){for(var t=1;t
0&&!--U&&(V(),V=null)};var Z=G,K=function(e,t,a){var n=0;if(a){var i,l=g();n=(e||t.data[l.toLowerCase()].value)&&null!==(i=t.data[l.toLowerCase()])&&void 0!==i&&i.max?t.data[l.toLowerCase()].max:t.max}else n=e&&t.limitMax?t.limitMax[e]:t.max;return n},J=function(e,t,a){var n=0;if(a){var i,l=g();n=(e||t.data[l.toLowerCase()].value)&&null!==(i=t.data[l.toLowerCase()])&&void 0!==i&&i.min?t.data[l.toLowerCase()].min:t.min}else n=e&&t.limitMin?t.limitMin[e]:t.min;return n};function Y(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function $(e){for(var t=1;t
1&&void 0!==arguments[1]?arguments[1]:{},a=$({borderTopWidth:"",borderRightWidth:"",borderBottomWidth:"",borderLeftWidth:"",borderTopWidthTablet:"",borderRightWidthTablet:"",borderBottomWidthTablet:"",borderLeftWidthTablet:"",borderTopWidthMobile:"",borderRightWidthMobile:"",borderBottomWidthMobile:"",borderLeftWidthMobile:"",borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:"",borderTopLeftRadiusTablet:"",borderTopRightRadiusTablet:"",borderBottomRightRadiusTablet:"",borderBottomLeftRadiusTablet:"",borderTopLeftRadiusMobile:"",borderTopRightRadiusMobile:"",borderBottomRightRadiusMobile:"",borderBottomLeftRadiusMobile:"",borderRadiusUnit:"px",borderRadiusUnitTablet:"px",borderRadiusUnitMobile:"px",borderStyle:"",borderColor:"",borderHColor:""},t),n={},i=[{devicePrefix:"",copyPastePrefix:""},{devicePrefix:"Tablet",copyPastePrefix:"-tablet"},{devicePrefix:"Mobile",copyPastePrefix:"-mobile"}];return i.forEach((function(t){n[e+"BorderTopWidth"+t.devicePrefix]={type:"number",default:a["borderTopWidth".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-top-width"+t.copyPastePrefix}},n[e+"BorderLeftWidth"+t.devicePrefix]={type:"number",default:a["borderLeftWidth".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-left-width"+t.copyPastePrefix}},n[e+"BorderRightWidth"+t.devicePrefix]={type:"number",default:a["borderRightWidth".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-right-width"+t.copyPastePrefix}},n[e+"BorderBottomWidth"+t.devicePrefix]={type:"number",default:a["borderBottomWidth".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-bottom-width"+t.copyPastePrefix}},n[e+"BorderTopLeftRadius"+t.devicePrefix]={type:"number",default:a["borderTopLeftRadius".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-top-left-radius"+t.copyPastePrefix}},n[e+"BorderTopRightRadius"+t.devicePrefix]={type:"number",default:a["borderTopRightRadius".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-top-right-radius"+t.copyPastePrefix}},n[e+"BorderBottomLeftRadius"+t.devicePrefix]={type:"number",default:a["borderBottomLeftRadius".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-bottom-left-radius"+t.copyPastePrefix}},n[e+"BorderBottomRightRadius"+t.devicePrefix]={type:"number",default:a["borderBottomRightRadius".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-bottom-right-radius"+t.copyPastePrefix}},n[e+"BorderRadiusUnit"+t.devicePrefix]={type:"string",default:a["borderRadiusUnit".concat(t.devicePrefix)],UAGCopyPaste:{styleType:e+"-border-radius-unit"+t.copyPastePrefix}}})),n[e+"BorderLink"]={type:"boolean",default:!0,UAGCopyPaste:{styleType:e+"-border-link"}},n[e+"BorderRadiusLink"]={type:"boolean",default:!0,UAGCopyPaste:{styleType:e+"-border-radius-link"}},n[e+"BorderStyle"]={type:"string",default:a.borderStyle,UAGCopyPaste:{styleType:e+"-border-style"}},n[e+"BorderColor"]={type:"string",default:a.borderColor,UAGCopyPaste:{styleType:e+"-border-color"}},n[e+"BorderHColor"]={type:"string",default:a.borderHColor,UAGCopyPaste:{styleType:e+"-border-hover-color"}},n},X=function(e,t,a){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},r=arguments.length>6?arguments[6]:void 0,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};return isNaN(t.value)||(""===o[e+"BorderTopWidth"]&&r(_()({},e+"BorderTopWidth",t.value)),""===o[e+"BorderLeftWidth"]&&r(_()({},e+"BorderLeftWidth",t.value)),""===o[e+"BorderRightWidth"]&&r(_()({},e+"BorderRightWidth",t.value)),""===o[e+"BorderBottomWidth"]&&r(_()({},e+"BorderBottomWidth",t.value)),o[t.label]=""),isNaN(a.value)||(""===o[e+"BorderTopLeftRadius"]&&r(_()({},e+"BorderTopLeftRadius",a.value)),""===o[e+"BorderTopRightRadius"]&&r(_()({},e+"BorderTopRightRadius",a.value)),""===o[e+"BorderBottomLeftRadius"]&&r(_()({},e+"BorderBottomLeftRadius",a.value)),""===o[e+"BorderBottomRightRadius"]&&r(_()({},e+"BorderBottomRightRadius",a.value)),o[a.label]=""),n.value&&(""===o[e+"BorderColor"]&&r(_()({},e+"BorderColor",n.value)),o[n.label]=""),i.value&&(""===o[e+"BorderHColor"]&&r(_()({},e+"BorderHColor",i.value)),o[i.label]=""),l.value&&(""===o[e+"BorderStyle"]&&r(_()({},e+"BorderStyle",l.value)),o[l.label]=""),o};function ee(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function te(e){for(var t=1;t
l&&p(l),e.value
=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n
=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}function Ue(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?Ue(e):t}function Ge(e){return function(e){if(Array.isArray(e)){for(var t=0,a=new Array(e.length);t
-1}function Qe(e){return $e(e)?window.pageYOffset:e.scrollTop}function Xe(e,t){$e(e)?window.scrollTo(0,t):e.scrollTop=t}function et(e,t,a,n){return a*((e=e/n-1)*e*e+1)+t}function tt(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ze,i=Qe(e),l=t-i,r=10,o=0;function u(){var t=et(o+=r,i,l,a);Xe(e,t),o
=f)return{placement:"bottom",maxHeight:t};if(O>=f&&!r)return l&&tt(u,E,160),{placement:"bottom",maxHeight:t};if(!r&&O>=n||r&&x>=n)return l&&tt(u,E,160),{placement:"bottom",maxHeight:r?x-v:O-v};if("auto"===i||r){var C=t,j=r?w:_;return j>=n&&(C=Math.min(j-v-o.controlHeight,t)),{placement:"top",maxHeight:C}}if("bottom"===i)return Xe(u,E),{placement:"bottom",maxHeight:t};break;case"top":if(w>=f)return{placement:"top",maxHeight:t};if(_>=f&&!r)return l&&tt(u,k,160),{placement:"top",maxHeight:t};if(!r&&_>=n||r&&w>=n){var T=t;return(!r&&_>=n||r&&w>=n)&&(T=r?w-y:_-y),l&&tt(u,k,160),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var it=function(e){return"auto"===e?"bottom":e},lt=function(e){function t(){var e,a;Fe(this,t);for(var n=arguments.length,i=new Array(n),l=0;l
0,g=s-b-c,d=!1;g>t&&a.isBottom&&(l&&l(e),a.isBottom=!1),f&&a.isTop&&(o&&o(e),a.isTop=!1),f&&t>g?(i&&!a.isBottom&&i(e),p.scrollTop=s,d=!0,a.isBottom=!0):!f&&-t>c&&(r&&!a.isTop&&r(e),p.scrollTop=0,d=!0,a.isTop=!0),d&&a.cancelScroll(e)})),He(Ue(Ue(a)),"onWheel",(function(e){a.handleEventDelta(e,e.deltaY)})),He(Ue(Ue(a)),"onTouchStart",(function(e){a.touchStart=e.changedTouches[0].clientY})),He(Ue(Ue(a)),"onTouchMove",(function(e){var t=a.touchStart-e.changedTouches[0].clientY;a.handleEventDelta(e,t)})),He(Ue(Ue(a)),"getScrollTarget",(function(e){a.scrollTarget=e})),a}return Ve(t,e),Ne(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(e){e&&(e.scrollHeight<=e.clientHeight||("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(e){e.scrollHeight<=e.clientHeight||("function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return p.a.createElement(_t,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(b.Component),Bt=function(e){function t(){return Fe(this,t),qe(this,Ie(t).apply(this,arguments))}return Ve(t,e),Ne(t,[{key:"render",value:function(){var e=this.props,t=e.isEnabled,a=We(e,["isEnabled"]);return t?p.a.createElement(Pt,a):this.props.children}}]),t}(b.Component);He(Bt,"defaultProps",{isEnabled:!0});var Ft=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.isSearchable,n=t.isMulti,i=t.label,l=t.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options".concat(l?"":", press Enter to select the currently focused option",", press Escape to exit the menu, press Tab to select the option and exit the menu.");case"input":return"".concat(i||"Select"," is focused ").concat(a?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},At=function(e,t){var a=t.value,n=t.isDisabled;if(a)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"select-option":return"option ".concat(a,n?" is disabled. Select another option.":", selected.")}},Nt=function(e){return!!e.isDisabled},Ht=function(e){function t(){return Fe(this,t),qe(this,Ie(t).apply(this,arguments))}return Ve(t,e),Ne(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.className,n=e.cx,i=e.isMulti,l=e.getStyles,r=e.hasValue;return p.a.createElement("div",{className:n(Object(je.a)(l("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":r},a)},t)}}]),t}(b.Component),zt=function(e){var t=e.size,a=We(e,["size"]);return p.a.createElement("svg",ze({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:Object(je.a)({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},a))},Rt=function(e){return p.a.createElement(zt,ze({size:20},e),p.a.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Vt=function(e){return p.a.createElement(zt,ze({size:20},e),p.a.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},It=function(e){var t=e.isFocused,a=e.theme,n=a.spacing.baseUnit,i=a.colors;return{label:"indicatorContainer",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*n,transition:"color 150ms",":hover":{color:t?i.neutral80:i.neutral40}}},Wt=It,Ut=It,qt=!1,Gt=function(e){var t=e.color,a=e.delay,n=e.offset;return p.a.createElement("span",{className:Object(je.a)({animationDuration:"1s",animationDelay:"".concat(a,"ms"),animationIterationCount:"infinite",animationName:"react-select-loading-indicator",animationTimingFunction:"ease-in-out",backgroundColor:t,borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},Zt=function(e){var t=e.className,a=e.cx,n=e.getStyles,i=e.innerProps,l=e.isFocused,r=e.isRtl,o=e.theme.colors,u=l?o.neutral80:o.neutral20;return qt||(Object(je.b)("@keyframes ","react-select-loading-indicator","{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),qt=!0),p.a.createElement("div",ze({},i,{className:a(Object(je.a)(n("loadingIndicator",e)),{indicator:!0,"loading-indicator":!0},t)}),p.a.createElement(Gt,{color:u,delay:0,offset:r}),p.a.createElement(Gt,{color:u,delay:160,offset:!0}),p.a.createElement(Gt,{color:u,delay:320,offset:!r}))};Zt.defaultProps={size:4};var Kt=function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}},Jt=function(e){var t=e.children,a=e.innerProps;return p.a.createElement("div",a,t)},Yt=Jt,$t=Jt,Qt=function(e){function t(){return Fe(this,t),qe(this,Ie(t).apply(this,arguments))}return Ve(t,e),Ne(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.innerProps;return p.a.createElement("div",a,t||p.a.createElement(Rt,{size:14}))}}]),t}(b.Component),Xt=function(e){function t(){return Fe(this,t),qe(this,Ie(t).apply(this,arguments))}return Ve(t,e),Ne(t,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.className,n=e.components,i=e.cx,l=e.data,r=e.getStyles,o=e.innerProps,u=e.isDisabled,c=e.removeProps,s=e.selectProps,b=n.Container,f=n.Label,g=n.Remove,d=Re({className:i(Object(je.a)(r("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":u},a)},o),m={className:i(Object(je.a)(r("multiValueLabel",this.props)),{"multi-value__label":!0},a)},h=Re({className:i(Object(je.a)(r("multiValueRemove",this.props)),{"multi-value__remove":!0},a)},c);return p.a.createElement(b,{data:l,innerProps:d,selectProps:s},p.a.createElement(f,{data:l,innerProps:m,selectProps:s},t),p.a.createElement(g,{data:l,innerProps:h,selectProps:s}))}}]),t}(b.Component);He(Xt,"defaultProps",{cropWithEllipsis:!0});var ea={ClearIndicator:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.innerProps;return p.a.createElement("div",ze({},l,{className:n(Object(je.a)(i("clearIndicator",e)),{indicator:!0,"clear-indicator":!0},a)}),t||p.a.createElement(Rt,null))},Control:function(e){var t=e.children,a=e.cx,n=e.getStyles,i=e.className,l=e.isDisabled,r=e.isFocused,o=e.innerRef,u=e.innerProps,c=e.menuIsOpen;return p.a.createElement("div",ze({ref:o,className:a(Object(je.a)(n("control",e)),{control:!0,"control--is-disabled":l,"control--is-focused":r,"control--menu-is-open":c},i)},u),t)},DropdownIndicator:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.innerProps;return p.a.createElement("div",ze({},l,{className:n(Object(je.a)(i("dropdownIndicator",e)),{indicator:!0,"dropdown-indicator":!0},a)}),t||p.a.createElement(Vt,null))},DownChevron:Vt,CrossIcon:Rt,Group:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.Heading,r=e.headingProps,o=e.label,u=e.theme,c=e.selectProps;return p.a.createElement("div",{className:n(Object(je.a)(i("group",e)),{group:!0},a)},p.a.createElement(l,ze({},r,{selectProps:c,theme:u,getStyles:i,cx:n}),o),p.a.createElement("div",null,t))},GroupHeading:function(e){var t=e.className,a=e.cx,n=e.getStyles,i=e.theme,l=(e.selectProps,We(e,["className","cx","getStyles","theme","selectProps"]));return p.a.createElement("div",ze({className:a(Object(je.a)(n("groupHeading",Re({theme:i},l))),{"group-heading":!0},t)},l))},IndicatorsContainer:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles;return p.a.createElement("div",{className:n(Object(je.a)(i("indicatorsContainer",e)),{indicators:!0},a)},t)},IndicatorSeparator:function(e){var t=e.className,a=e.cx,n=e.getStyles,i=e.innerProps;return p.a.createElement("span",ze({},i,{className:a(Object(je.a)(n("indicatorSeparator",e)),{"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,a=e.cx,n=e.getStyles,i=e.innerRef,l=e.isHidden,r=e.isDisabled,o=e.theme,u=(e.selectProps,We(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return p.a.createElement("div",{className:Object(je.a)(n("input",Re({theme:o},u)))},p.a.createElement(Le.a,ze({className:a(null,{input:!0},t),inputRef:i,inputStyle:Kt(l),disabled:r},u)))},LoadingIndicator:Zt,Menu:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.innerRef,r=e.innerProps,o=n(Object(je.a)(i("menu",e)),{menu:!0},a);return p.a.createElement("div",ze({className:o},r,{ref:l}),t)},MenuList:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.isMulti,r=e.innerRef;return p.a.createElement("div",{className:n(Object(je.a)(i("menuList",e)),{"menu-list":!0,"menu-list--is-multi":l},a),ref:r},t)},MenuPortal:bt,LoadingMessage:st,NoOptionsMessage:ct,MultiValue:Xt,MultiValueContainer:Yt,MultiValueLabel:$t,MultiValueRemove:Qt,Option:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.isDisabled,r=e.isFocused,o=e.isSelected,u=e.innerRef,c=e.innerProps;return p.a.createElement("div",ze({ref:u,className:n(Object(je.a)(i("option",e)),{option:!0,"option--is-disabled":l,"option--is-focused":r,"option--is-selected":o},a)},c),t)},Placeholder:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.innerProps;return p.a.createElement("div",ze({className:n(Object(je.a)(i("placeholder",e)),{placeholder:!0},a)},l),t)},SelectContainer:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.innerProps,r=e.isDisabled,o=e.isRtl;return p.a.createElement("div",ze({className:n(Object(je.a)(i("container",e)),{"--is-disabled":r,"--is-rtl":o},a)},l),t)},SingleValue:function(e){var t=e.children,a=e.className,n=e.cx,i=e.getStyles,l=e.isDisabled,r=e.innerProps;return p.a.createElement("div",ze({className:n(Object(je.a)(i("singleValue",e)),{"single-value":!0,"single-value--is-disabled":l},a)},r),t)},ValueContainer:Ht},ta=function(e){return Re({},ea,e.components)},aa={clearIndicator:Ut,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,a=e.isFocused,n=e.theme,i=n.colors,l=n.borderRadius,r=n.spacing;return{label:"control",alignItems:"center",backgroundColor:t?i.neutral5:i.neutral0,borderColor:t?i.neutral10:a?i.primary:i.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(i.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:a?i.primary:i.neutral30}}},dropdownIndicator:Wt,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,a=e.theme,n=a.spacing.baseUnit,i=a.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?i.neutral10:i.neutral20,marginBottom:2*n,marginTop:2*n,width:1}},input:function(e){var t=e.isDisabled,a=e.theme,n=a.spacing,i=a.colors;return{margin:n.baseUnit/2,paddingBottom:n.baseUnit/2,paddingTop:n.baseUnit/2,visibility:t?"hidden":"visible",color:i.neutral80}},loadingIndicator:function(e){var t=e.isFocused,a=e.size,n=e.theme,i=n.colors,l=n.spacing.baseUnit;return{label:"loadingIndicator",color:t?i.neutral60:i.neutral20,display:"flex",padding:2*l,transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"}},loadingMessage:ut,menu:function(e){var t,a=e.placement,n=e.theme,i=n.borderRadius,l=n.spacing,r=n.colors;return He(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(a),"100%"),He(t,"backgroundColor",r.neutral0),He(t,"borderRadius",i),He(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),He(t,"marginBottom",l.menuGutter),He(t,"marginTop",l.menuGutter),He(t,"position","absolute"),He(t,"width","100%"),He(t,"zIndex",1),t},menuList:function(e){var t=e.maxHeight,a=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:a,paddingTop:a,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,a=e.offset,n=e.position;return{left:t.left,position:n,top:a,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,a=t.spacing,n=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:n/2,display:"flex",margin:a.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,a=t.borderRadius,n=t.colors,i=e.cropWithEllipsis;return{borderRadius:a/2,color:n.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,a=t.spacing,n=t.borderRadius,i=t.colors;return{alignItems:"center",borderRadius:n/2,backgroundColor:e.isFocused&&i.dangerLight,display:"flex",paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},noOptionsMessage:ot,option:function(e){var t=e.isDisabled,a=e.isFocused,n=e.isSelected,i=e.theme,l=i.spacing,r=i.colors;return{label:"option",backgroundColor:n?r.primary:a?r.primary25:"transparent",color:t?r.neutral20:n?r.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*l.baseUnit,"px ").concat(3*l.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(n?r.primary:r.primary50)}}},placeholder:function(e){var t=e.theme,a=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,a=e.theme,n=a.spacing,i=a.colors;return{label:"singleValue",color:t?i.neutral40:i.neutral80,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,maxWidth:"calc(100% - ".concat(2*n.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}},na={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},ia={backspaceRemovesValue:!0,blurInputOnSelect:at(),captureMenuScroll:!at(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){var a=Re({ignoreCase:!0,ignoreAccents:!0,stringify:yt,trim:!0,matchFrom:"any"},void 0),n=a.ignoreCase,i=a.ignoreAccents,l=a.stringify,r=a.trim,o=a.matchFrom,u=r?vt(t):t,c=r?vt(l(e)):l(e);return n&&(u=u.toLowerCase(),c=c.toLowerCase()),i&&(u=ht(u),c=ht(c)),"start"===o?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Nt,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},la=1,ra=function(e){function t(e){var a;Fe(this,t),He(Ue(Ue(a=qe(this,Ie(t).call(this,e)))),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),He(Ue(Ue(a)),"blockOptionHover",!1),He(Ue(Ue(a)),"isComposing",!1),He(Ue(Ue(a)),"clearFocusValueOnUpdate",!1),He(Ue(Ue(a)),"commonProps",void 0),He(Ue(Ue(a)),"components",void 0),He(Ue(Ue(a)),"hasGroups",!1),He(Ue(Ue(a)),"initialTouchX",0),He(Ue(Ue(a)),"initialTouchY",0),He(Ue(Ue(a)),"inputIsHiddenAfterUpdate",void 0),He(Ue(Ue(a)),"instancePrefix",""),He(Ue(Ue(a)),"openAfterFocus",!1),He(Ue(Ue(a)),"scrollToFocusedOptionOnUpdate",!1),He(Ue(Ue(a)),"userIsDragging",void 0),He(Ue(Ue(a)),"controlRef",null),He(Ue(Ue(a)),"getControlRef",(function(e){a.controlRef=e})),He(Ue(Ue(a)),"focusedOptionRef",null),He(Ue(Ue(a)),"getFocusedOptionRef",(function(e){a.focusedOptionRef=e})),He(Ue(Ue(a)),"menuListRef",null),He(Ue(Ue(a)),"getMenuListRef",(function(e){a.menuListRef=e})),He(Ue(Ue(a)),"inputRef",null),He(Ue(Ue(a)),"getInputRef",(function(e){a.inputRef=e})),He(Ue(Ue(a)),"cacheComponents",(function(e){a.components=ta({components:e})})),He(Ue(Ue(a)),"focus",a.focusInput),He(Ue(Ue(a)),"blur",a.blurInput),He(Ue(Ue(a)),"onChange",(function(e,t){var n=a.props;(0,n.onChange)(e,Re({},t,{name:n.name}))})),He(Ue(Ue(a)),"setValue",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",n=arguments.length>2?arguments[2]:void 0,i=a.props,l=i.closeMenuOnSelect,r=i.isMulti;a.onInputChange("",{action:"set-value"}),l&&(a.inputIsHiddenAfterUpdate=!r,a.onMenuClose()),a.clearFocusValueOnUpdate=!0,a.onChange(e,{action:t,option:n})})),He(Ue(Ue(a)),"selectOption",(function(e){var t=a.props,n=t.blurInputOnSelect,i=t.isMulti,l=a.state.selectValue;if(i)if(a.isOptionSelected(e,l)){var r=a.getOptionValue(e);a.setValue(l.filter((function(e){return a.getOptionValue(e)!==r})),"deselect-option",e),a.announceAriaLiveSelection({event:"deselect-option",context:{value:a.getOptionLabel(e)}})}else a.isOptionDisabled(e,l)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e),isDisabled:!0}}):(a.setValue([].concat(Ge(l),[e]),"select-option",e),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e)}}));else a.isOptionDisabled(e,l)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e),isDisabled:!0}}):(a.setValue(e,"select-option"),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(e)}}));n&&a.blurInput()})),He(Ue(Ue(a)),"removeValue",(function(e){var t=a.state.selectValue,n=a.getOptionValue(e);a.onChange(t.filter((function(e){return a.getOptionValue(e)!==n})),{action:"remove-value",removedValue:e}),a.announceAriaLiveSelection({event:"remove-value",context:{value:e?a.getOptionLabel(e):""}}),a.focusInput()})),He(Ue(Ue(a)),"clearValue",(function(){var e=a.props.isMulti;a.onChange(e?[]:null,{action:"clear"})})),He(Ue(Ue(a)),"popValue",(function(){var e=a.state.selectValue,t=e[e.length-1];a.announceAriaLiveSelection({event:"pop-value",context:{value:t?a.getOptionLabel(t):""}}),a.onChange(e.slice(0,e.length-1),{action:"pop-value",removedValue:t})})),He(Ue(Ue(a)),"getOptionLabel",(function(e){return a.props.getOptionLabel(e)})),He(Ue(Ue(a)),"getOptionValue",(function(e){return a.props.getOptionValue(e)})),He(Ue(Ue(a)),"getStyles",(function(e,t){var n=aa[e](t);n.boxSizing="border-box";var i=a.props.styles[e];return i?i(n,t):n})),He(Ue(Ue(a)),"getElementId",(function(e){return"".concat(a.instancePrefix,"-").concat(e)})),He(Ue(Ue(a)),"getActiveDescendentId",(function(){var e=a.props.menuIsOpen,t=a.state,n=t.menuOptions,i=t.focusedOption;if(i&&e){var l=n.focusable.indexOf(i),r=n.render[l];return r&&r.key}})),He(Ue(Ue(a)),"announceAriaLiveSelection",(function(e){var t=e.event,n=e.context;a.setState({ariaLiveSelection:At(t,n)})})),He(Ue(Ue(a)),"announceAriaLiveContext",(function(e){var t=e.event,n=e.context;a.setState({ariaLiveContext:Ft(t,Re({},n,{label:a.props["aria-label"]}))})})),He(Ue(Ue(a)),"onMenuMouseDown",(function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),a.focusInput())})),He(Ue(Ue(a)),"onMenuMouseMove",(function(e){a.blockOptionHover=!1})),He(Ue(Ue(a)),"onControlMouseDown",(function(e){var t=a.props.openMenuOnClick;a.state.isFocused?a.props.menuIsOpen?"INPUT"!==e.target.tagName&&a.onMenuClose():t&&a.openMenu("first"):(t&&(a.openAfterFocus=!0),a.focusInput()),"INPUT"!==e.target.tagName&&e.preventDefault()})),He(Ue(Ue(a)),"onDropdownIndicatorMouseDown",(function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||a.props.isDisabled)){var t=a.props,n=t.isMulti,i=t.menuIsOpen;a.focusInput(),i?(a.inputIsHiddenAfterUpdate=!n,a.onMenuClose()):a.openMenu("first"),e.preventDefault(),e.stopPropagation()}})),He(Ue(Ue(a)),"onClearIndicatorMouseDown",(function(e){e&&"mousedown"===e.type&&0!==e.button||(a.clearValue(),e.stopPropagation(),a.openAfterFocus=!1,setTimeout((function(){return a.focusInput()})))})),He(Ue(Ue(a)),"onScroll",(function(e){"boolean"==typeof a.props.closeMenuOnScroll?e.target instanceof HTMLElement&&$e(e.target)&&a.props.onMenuClose():"function"==typeof a.props.closeMenuOnScroll&&a.props.closeMenuOnScroll(e)&&a.props.onMenuClose()})),He(Ue(Ue(a)),"onCompositionStart",(function(){a.isComposing=!0})),He(Ue(Ue(a)),"onCompositionEnd",(function(){a.isComposing=!1})),He(Ue(Ue(a)),"onTouchStart",(function(e){var t=e.touches.item(0);t&&(a.initialTouchX=t.clientX,a.initialTouchY=t.clientY,a.userIsDragging=!1)})),He(Ue(Ue(a)),"onTouchMove",(function(e){var t=e.touches.item(0);if(t){var n=Math.abs(t.clientX-a.initialTouchX),i=Math.abs(t.clientY-a.initialTouchY);a.userIsDragging=n>5||i>5}})),He(Ue(Ue(a)),"onTouchEnd",(function(e){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(e.target)&&a.menuListRef&&!a.menuListRef.contains(e.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)})),He(Ue(Ue(a)),"onControlTouchEnd",(function(e){a.userIsDragging||a.onControlMouseDown(e)})),He(Ue(Ue(a)),"onClearIndicatorTouchEnd",(function(e){a.userIsDragging||a.onClearIndicatorMouseDown(e)})),He(Ue(Ue(a)),"onDropdownIndicatorTouchEnd",(function(e){a.userIsDragging||a.onDropdownIndicatorMouseDown(e)})),He(Ue(Ue(a)),"handleInputChange",(function(e){var t=e.currentTarget.value;a.inputIsHiddenAfterUpdate=!1,a.onInputChange(t,{action:"input-change"}),a.onMenuOpen()})),He(Ue(Ue(a)),"onInputFocus",(function(e){var t=a.props,n=t.isSearchable,i=t.isMulti;a.props.onFocus&&a.props.onFocus(e),a.inputIsHiddenAfterUpdate=!1,a.announceAriaLiveContext({event:"input",context:{isSearchable:n,isMulti:i}}),a.setState({isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1})),He(Ue(Ue(a)),"onInputBlur",(function(e){a.menuListRef&&a.menuListRef.contains(document.activeElement)?a.inputRef.focus():(a.props.onBlur&&a.props.onBlur(e),a.onInputChange("",{action:"input-blur"}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1}))})),He(Ue(Ue(a)),"onOptionHover",(function(e){a.blockOptionHover||a.state.focusedOption===e||a.setState({focusedOption:e})})),He(Ue(Ue(a)),"shouldHideSelectedOptions",(function(){var e=a.props,t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t})),He(Ue(Ue(a)),"onKeyDown",(function(e){var t=a.props,n=t.isMulti,i=t.backspaceRemovesValue,l=t.escapeClearsValue,r=t.inputValue,o=t.isClearable,u=t.isDisabled,c=t.menuIsOpen,s=t.onKeyDown,b=t.tabSelectsValue,p=t.openMenuOnFocus,f=a.state,g=f.focusedOption,d=f.focusedValue,m=f.selectValue;if(!(u||"function"==typeof s&&(s(e),e.defaultPrevented))){switch(a.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||r)return;a.focusValue("previous");break;case"ArrowRight":if(!n||r)return;a.focusValue("next");break;case"Delete":case"Backspace":if(r)return;if(d)a.removeValue(d);else{if(!i)return;n?a.popValue():o&&a.clearValue()}break;case"Tab":if(a.isComposing)return;if(e.shiftKey||!c||!b||!g||p&&a.isOptionSelected(g,m))return;a.selectOption(g);break;case"Enter":if(229===e.keyCode)break;if(c){if(!g)return;if(a.isComposing)return;a.selectOption(g);break}return;case"Escape":c?(a.inputIsHiddenAfterUpdate=!1,a.onInputChange("",{action:"menu-close"}),a.onMenuClose()):o&&l&&a.clearValue();break;case" ":if(r)return;if(!c){a.openMenu("first");break}if(!g)return;a.selectOption(g);break;case"ArrowUp":c?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":c?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!c)return;a.focusOption("pageup");break;case"PageDown":if(!c)return;a.focusOption("pagedown");break;case"Home":if(!c)return;a.focusOption("first");break;case"End":if(!c)return;a.focusOption("last");break;default:return}e.preventDefault()}}));var n=e.value;a.cacheComponents=Ce(a.cacheComponents,dt).bind(Ue(Ue(a))),a.cacheComponents(e.components),a.instancePrefix="react-select-"+(a.props.instanceId||++la);var i=Ye(n),l=a.buildMenuOptions(e,i);return a.state.menuOptions=l,a.state.selectValue=i,a}return Ve(t,e),Ne(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,a=t.options,n=t.value,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==n||e.options!==a||e.inputValue!==i){var l=Ye(e.value),r=this.buildMenuOptions(e,l),o=this.getNextFocusedValue(l),u=this.getNextFocusedOption(r.focusable);this.setState({menuOptions:r,selectValue:l,focusedOption:u,focusedValue:o})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(e){var t,a,n,i,l,r=this.props,o=r.isDisabled,u=r.menuIsOpen,c=this.state.isFocused;(c&&!o&&e.isDisabled||c&&u&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(t=this.menuListRef,a=this.focusedOptionRef,n=t.getBoundingClientRect(),i=a.getBoundingClientRect(),l=a.offsetHeight/3,i.bottom+l>n.bottom?Xe(t,Math.min(a.offsetTop+a.clientHeight-t.offsetHeight+l,t.scrollHeight)):i.top-l
-1&&(r=o)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:a.focusable[r]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(e){var t=this.props,a=t.isMulti,n=t.isSearchable,i=this.state,l=i.selectValue,r=i.focusedValue;if(a){this.setState({focusedOption:null});var o=l.indexOf(r);r||(o=-1,this.announceAriaLiveContext({event:"value"}));var u=l.length-1,c=-1;if(l.length){switch(e){case"previous":c=0===o?0:-1===o?u:o-1;break;case"next":o>-1&&o
0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,a=this.state,n=a.focusedOption,i=a.menuOptions,l=i.focusable;if(l.length){var r=0,o=l.indexOf(n);n||(o=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?r=o>0?o-1:l.length-1:"down"===e?r=(o+1)%l.length:"pageup"===e?(r=o-t)<0&&(r=0):"pagedown"===e?(r=o+t)>l.length-1&&(r=l.length-1):"last"===e&&(r=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[r],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Nt(l[r])}})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(na):Re({},na,this.props.theme):na}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.getStyles,a=this.setValue,n=this.selectOption,i=this.props,l=i.classNamePrefix,r=i.isMulti,o=i.isRtl,u=i.options,c=this.state.selectValue,s=this.hasValue();return{cx:Je.bind(null,l),clearValue:e,getStyles:t,getValue:function(){return c},hasValue:s,isMulti:r,isRtl:o,options:u,selectOption:n,setValue:a,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,a=t.focusedValue,n=t.selectValue.indexOf(a);if(n>-1){if(e.indexOf(a)>-1)return a;if(n
-1?t:e[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,a=e.isMulti;return void 0===t?a:t}},{key:"isOptionDisabled",value:function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)}},{key:"isOptionSelected",value:function(e,t){var a=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var n=this.getOptionValue(e);return t.some((function(e){return a.getOptionValue(e)===n}))}},{key:"filterOption",value:function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var a=this.props.inputValue,n=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:a,selectValue:n})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(e,t){var a=this,n=e.inputValue,i=void 0===n?"":n,l=e.options,r=function(e,n){var l=a.isOptionDisabled(e,t),r=a.isOptionSelected(e,t),o=a.getOptionLabel(e),u=a.getOptionValue(e);if(!(a.shouldHideSelectedOptions()&&r||!a.filterOption({label:o,value:u,data:e},i))){var c=l?void 0:function(){return a.onOptionHover(e)},s=l?void 0:function(){return a.selectOption(e)},b="".concat(a.getElementId("option"),"-").concat(n);return{innerProps:{id:b,onClick:s,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:e,isDisabled:l,isSelected:r,key:b,label:o,type:"option",value:u}}};return l.reduce((function(e,t,n){if(t.options){a.hasGroups||(a.hasGroups=!0);var i=t.options.map((function(t,a){var i=r(t,"".concat(n,"-").concat(a));return i&&e.focusable.push(t),i})).filter(Boolean);if(i.length){var l="".concat(a.getElementId("group"),"-").concat(n);e.render.push({type:"group",key:l,data:t,options:i})}}else{var o=r(t,"".concat(n));o&&(e.render.push(o),e.focusable.push(t))}return e}),{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var e=this.state,t=e.ariaLiveContext,a=e.selectValue,n=e.focusedValue,i=e.focusedOption,l=this.props,r=l.options,o=l.menuIsOpen,u=l.inputValue,c=l.screenReaderStatus,s=n?function(e){var t=e.focusedValue,a=e.selectValue;return"value ".concat((0,e.getOptionLabel)(t)," focused, ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedValue:n,getOptionLabel:this.getOptionLabel,selectValue:a}):"",b=i&&o?function(e){var t=e.focusedOption,a=e.options;return"option ".concat((0,e.getOptionLabel)(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(a.indexOf(t)+1," of ").concat(a.length,".")}({focusedOption:i,getOptionLabel:this.getOptionLabel,options:r}):"",p=function(e){var t=e.inputValue;return"".concat(e.screenReaderMessage).concat(t?" for search term "+t:"",".")}({inputValue:u,screenReaderMessage:c({count:this.countOptions()})});return"".concat(s," ").concat(b," ").concat(p," ").concat(t)}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,a=e.isSearchable,n=e.inputId,i=e.inputValue,l=e.tabIndex,r=this.components.Input,o=this.state.inputIsHidden,u=n||this.getElementId("input");if(!a)return p.a.createElement(xt,{id:u,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ze,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:l,value:""});var c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},s=this.commonProps,b=s.cx,f=s.theme,g=s.selectProps;return p.a.createElement(r,ze({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:b,getStyles:this.getStyles,id:u,innerRef:this.getInputRef,isDisabled:t,isHidden:o,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:g,spellCheck:"false",tabIndex:l,theme:f,type:"text",value:i},c))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.components,a=t.MultiValue,n=t.MultiValueContainer,i=t.MultiValueLabel,l=t.MultiValueRemove,r=t.SingleValue,o=t.Placeholder,u=this.commonProps,c=this.props,s=c.controlShouldRenderValue,b=c.isDisabled,f=c.isMulti,g=c.inputValue,d=c.placeholder,m=this.state,h=m.selectValue,v=m.focusedValue,y=m.isFocused;if(!this.hasValue()||!s)return g?null:p.a.createElement(o,ze({},u,{key:"placeholder",isDisabled:b,isFocused:y}),d);if(f)return h.map((function(t){var r=t===v;return p.a.createElement(a,ze({},u,{components:{Container:n,Label:i,Remove:l},isFocused:r,isDisabled:b,key:e.getOptionValue(t),removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))}));if(g)return null;var w=h[0];return p.a.createElement(r,ze({},u,{data:w,isDisabled:b}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.components.ClearIndicator,t=this.commonProps,a=this.props,n=a.isDisabled,i=a.isLoading,l=this.state.isFocused;if(!this.isClearable()||!e||n||!this.hasValue()||i)return null;var r={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return p.a.createElement(e,ze({},t,{innerProps:r,isFocused:l}))}},{key:"renderLoadingIndicator",value:function(){var e=this.components.LoadingIndicator,t=this.commonProps,a=this.props,n=a.isDisabled,i=a.isLoading,l=this.state.isFocused;return e&&i?p.a.createElement(e,ze({},t,{innerProps:{"aria-hidden":"true"},isDisabled:n,isFocused:l})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.components,t=e.DropdownIndicator,a=e.IndicatorSeparator;if(!t||!a)return null;var n=this.commonProps,i=this.props.isDisabled,l=this.state.isFocused;return p.a.createElement(a,ze({},n,{isDisabled:i,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,a=this.props.isDisabled,n=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return p.a.createElement(e,ze({},t,{innerProps:i,isDisabled:a,isFocused:n}))}},{key:"renderMenu",value:function(){var e=this,t=this.components,a=t.Group,n=t.GroupHeading,i=t.Menu,l=t.MenuList,r=t.MenuPortal,o=t.LoadingMessage,u=t.NoOptionsMessage,c=t.Option,s=this.commonProps,b=this.state,f=b.focusedOption,g=b.menuOptions,d=this.props,m=d.captureMenuScroll,h=d.inputValue,v=d.isLoading,y=d.loadingMessage,w=d.minMenuHeight,x=d.maxMenuHeight,_=d.menuIsOpen,O=d.menuPlacement,E=d.menuPosition,k=d.menuPortalTarget,C=d.menuShouldBlockScroll,j=d.menuShouldScrollIntoView,T=d.noOptionsMessage,M=d.onMenuScrollToTop,S=d.onMenuScrollToBottom;if(!_)return null;var D,L=function(t){var a=f===t.data;return t.innerRef=a?e.getFocusedOptionRef:void 0,p.a.createElement(c,ze({},s,t,{isFocused:a}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())D=g.render.map((function(t){if("group"===t.type){t.type;var i=We(t,["type"]),l="".concat(t.key,"-heading");return p.a.createElement(a,ze({},s,i,{Heading:n,headingProps:{id:l},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return L(e)})))}if("option"===t.type)return L(t)}));else if(v){var P=y({inputValue:h});if(null===P)return null;D=p.a.createElement(o,s,P)}else{var B=T({inputValue:h});if(null===B)return null;D=p.a.createElement(u,s,B)}var F={minMenuHeight:w,maxMenuHeight:x,menuPlacement:O,menuPosition:E,menuShouldScrollIntoView:j},A=p.a.createElement(lt,ze({},s,F),(function(t){var a=t.ref,n=t.placerProps,r=n.placement,o=n.maxHeight;return p.a.createElement(i,ze({},s,F,{innerRef:a,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:r}),p.a.createElement(Bt,{isEnabled:m,onTopArrive:M,onBottomArrive:S},p.a.createElement(Lt,{isEnabled:C},p.a.createElement(l,ze({},s,{innerRef:e.getMenuListRef,isLoading:v,maxHeight:o}),D))))}));return k||"fixed"===E?p.a.createElement(r,ze({},s,{appendTo:k,controlElement:this.controlRef,menuPlacement:O,menuPosition:E}),A):A}},{key:"renderFormField",value:function(){var e=this,t=this.props,a=t.delimiter,n=t.isDisabled,i=t.isMulti,l=t.name,r=this.state.selectValue;if(l&&!n){if(i){if(a){var o=r.map((function(t){return e.getOptionValue(t)})).join(a);return p.a.createElement("input",{name:l,type:"hidden",value:o})}var u=r.length>0?r.map((function(t,a){return p.a.createElement("input",{key:"i-".concat(a),name:l,type:"hidden",value:e.getOptionValue(t)})})):p.a.createElement("input",{name:l,type:"hidden"});return p.a.createElement("div",null,u)}var c=r[0]?this.getOptionValue(r[0]):"";return p.a.createElement("input",{name:l,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?p.a.createElement(wt,{"aria-live":"assertive"},p.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),p.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var e=this.components,t=e.Control,a=e.IndicatorsContainer,n=e.SelectContainer,i=e.ValueContainer,l=this.props,r=l.className,o=l.id,u=l.isDisabled,c=l.menuIsOpen,s=this.state.isFocused,b=this.commonProps=this.getCommonProps();return p.a.createElement(n,ze({},b,{className:r,innerProps:{id:o,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:s}),this.renderLiveRegion(),p.a.createElement(t,ze({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:s,menuIsOpen:c}),p.a.createElement(i,ze({},b,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),p.a.createElement(a,ze({},b,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(b.Component);He(ra,"defaultProps",ia);var oa={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},ua=function(e){var t,a;return a=t=function(t){function a(){var e,t;Fe(this,a);for(var n=arguments.length,i=new Array(n),l=0;l
1?a-1:0),i=1;i
0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,a=String(e).toLowerCase(),n=String(t.value).toLowerCase(),i=String(t.label).toLowerCase();return n===a||i===a}),pa=Re({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,a){return!(!e||t.some((function(t){return ba(e,t)}))||a.some((function(t){return ba(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),fa=function(e){var t,a;return a=t=function(t){function a(e){var t;Fe(this,a),He(Ue(Ue(t=qe(this,Ie(a).call(this,e)))),"select",void 0),He(Ue(Ue(t)),"onChange",(function(e,a){var n=t.props,i=n.getNewOptionData,l=n.inputValue,r=n.isMulti,o=n.onChange,u=n.onCreateOption,c=n.value;if("select-option"!==a.action)return o(e,a);var s=t.state.newOption,b=Array.isArray(e)?e:[e];if(b[b.length-1]!==s)o(e,a);else if(u)u(l);else{var p=i(l,l);o(r?[].concat(Ge(Ye(c)),[p]):p,{action:"create-option"})}}));var n=e.options||[];return t.state={newOption:void 0,options:n},t}return Ve(a,t),Ne(a,[{key:"componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,a=e.createOptionPosition,n=e.formatCreateLabel,i=e.getNewOptionData,l=e.inputValue,r=e.isLoading,o=e.isValidNewOption,u=e.value,c=e.options||[],s=this.state.newOption;s=o(l,Ye(u),c)?i(l,n(l)):void 0,this.setState({newOption:s,options:!t&&r||!s?c:"first"===a?[s].concat(Ge(c)):[].concat(Ge(c),[s])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var t=this,a=ze({},this.props),n=this.state.options;return p.a.createElement(e,ze({},a,{ref:function(e){t.select=e},options:n,onChange:this.onChange}))}}]),a}(b.Component),He(t,"defaultProps",pa),a},ga=(ua(fa(ra)),sa(ua(fa(ra))),function(e){return function(t){t.in,t.onExited,t.appear,t.enter,t.exit;var a=We(t,["in","onExited","appear","enter","exit"]);return p.a.createElement(e,a)}}),da=function(e){var t=e.component,a=e.duration,n=void 0===a?1:a,i=e.in,l=(e.onExited,We(e,["component","duration","in","onExited"])),r={entering:{opacity:0},entered:{opacity:1,transition:"opacity ".concat(n,"ms")},exiting:{opacity:0},exited:{opacity:0}};return p.a.createElement(Pe.Transition,{mountOnEnter:!0,unmountOnExit:!0,in:i,timeout:n},(function(e){var a={style:Re({},r[e])};return p.a.createElement(t,ze({innerProps:a},l))}))},ma=function(e){function t(){var e,a;Fe(this,t);for(var n=arguments.length,i=new Array(n),l=0;l
0&&void 0!==arguments[0]?arguments[0]:{},t=ta({components:e}),a=t.Input,n=t.MultiValue,i=t.Placeholder,l=t.SingleValue,r=t.ValueContainer,o=We(t,["Input","MultiValue","Placeholder","SingleValue","ValueContainer"]);return Re({Input:ga(a),MultiValue:ha(n),Placeholder:va(i),SingleValue:ya(l),ValueContainer:wa(r)},o)},_a=xa(),Oa=(_a.Input,_a.MultiValue,_a.Placeholder,_a.SingleValue,_a.ValueContainer,Ce(xa,dt),ua(ra));function Ea(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ka(e){for(var t=1;t
0&&!--La&&(Ca(),Ca=null)};var Fa=Ba;function Aa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Na(e){for(var t=1;t
0&&!--Ya&&(Za(),Za=null)};var Xa,en=Qa,tn=function(e){var t;Object(b.useLayoutEffect)((function(){return en.use(),function(){en.unuse()}}),[]);var a=e.data,n=e.label,i=e.options,l=e.showIcons,r=e.setAttributes,u=e.responsive,c=e.onChange,s=e.colorVariant,p=void 0===s?"primary":s,d=e.layoutVariant,m=void 0===d?"full":d,h=null===(t=(0,Object(f.select)("core/block-editor").getSelectedBlock)())||void 0===t?void 0:t.name.split("/").pop(),y=Object(b.useState)(!0),x=F()(y,2),O=x[0],E=x[1],k=Object(b.useState)(!0),C=F()(k,2),j=C[0],T=C[1],M=Object(b.useState)(!0),S=F()(M,2),D=S[0],L=S[1],P=g(),B=l?"uag-multibutton-icons":"";if(!i)return Object(v.__)("Please add a option props to MultiButtonsControl","ultimate-addons-for-gutenberg");if(u){var A={};return A.Desktop=Object(o.createElement)(w.ButtonGroup,{className:"uagb-multi-button-button-group","aria-label":n},i.map((function(e){return Object(o.createElement)(w.Button,{key:"option-".concat(e.value),className:"uagb-multi-button",isLarge:!0,isSecondary:a.desktop.value!==e.value||!O,isPrimary:a.desktop.value===e.value&&O,"aria-pressed":a.desktop.value===e.value,onClick:function(){if(E(!0),e.value===a.desktop.value&&O)return E(!1),void r(_()({},a.desktop.label,de[h][a.desktop.label].default));r(_()({},a.desktop.label,e.value))},"aria-label":e.tooltip,label:e.tooltip,showTooltip:!!e.tooltip},l?e.icon:e.label)}))),A.Tablet=Object(o.createElement)(w.ButtonGroup,{className:"uagb-multi-button-button-group","aria-label":n},i.map((function(e){return Object(o.createElement)(w.Button,{key:"option-".concat(e.value),className:"uagb-multi-button",isLarge:!0,isSecondary:a.tablet.value!==e.value||!j,isPrimary:a.tablet.value===e.value&&j,"aria-pressed":a.tablet.value===e.value,onClick:function(){if(T(!0),e.value===a.tablet.value&&j)return T(!1),void r(_()({},a.tablet.label,de[h][a.tablet.label].default));r(_()({},a.tablet.label,e.value))},"aria-label":e.tooltip,label:e.tooltip,showTooltip:!!e.tooltip},l?e.icon:e.label)}))),A.Mobile=Object(o.createElement)(w.ButtonGroup,{className:"uagb-multi-button-button-group","aria-label":n},i.map((function(e){return Object(o.createElement)(w.Button,{key:"option-".concat(e.value),className:"uagb-multi-button",isLarge:!0,isSecondary:a.mobile.value!==e.value||!D,isPrimary:a.mobile.value===e.value&&D,"aria-pressed":a.mobile.value===e.value,onClick:function(){if(L(!0),e.value===a.mobile.value&&D)return L(!1),void r(_()({},a.mobile.label,de[h][a.mobile.label].default));r(_()({},a.mobile.label,e.value))},"aria-label":e.tooltip,label:e.tooltip,showTooltip:!!e.tooltip},l?e.icon:e.label)}))),Object(o.createElement)("div",{className:"components-base-control uagb-multi-buttons-control ".concat(B," spectra-multi-buttons__color-scheme--").concat(p," spectra-multi-buttons__layout--").concat(m)},Object(o.createElement)("div",{className:"uagb-control__header uagb-size-type-field-tabs"},Object(o.createElement)(I,{label:n,responsive:u})),A[P]?A[P]:A.Desktop,e.help&&Object(o.createElement)("p",{className:"uag-control-help-notice"},e.help))}return Object(o.createElement)("div",{className:"components-base-control uagb-multi-buttons-control ".concat(B," spectra-multi-buttons__color-scheme--").concat(p," spectra-multi-buttons__layout--").concat(m)},Object(o.createElement)("div",{className:"uagb-multi-buttons-control__label uag-control-label"},n),Object(o.createElement)(w.ButtonGroup,{className:"uagb-multi-button-button-group","aria-label":n},i.map((function(e){return Object(o.createElement)(w.Button,{key:"option-".concat(e.value),className:"uagb-multi-button",isLarge:!0,isSecondary:a.value!==e.value||!O,isPrimary:a.value===e.value&&O,"aria-pressed":a.value===e.value,onClick:function(){return function(e){if(E(!0),c&&c(e),e===a.value&&O)return E(!1),void r(_()({},a.label,de[h][a.label].default));r(_()({},a.label,e))}(e.value)},"aria-label":e.tooltip,label:e.tooltip,showTooltip:!!e.tooltip},l?e.icon:e.label)}))),e.help&&Object(o.createElement)("p",{className:"uag-control-help-notice"},e.help))},an=function(e){return(e=(e=(e=(e=e.replace("far ","")).replace("fas ","")).replace("fab ","")).replace("fa-","")).replace("fa ","")},nn=function(e){var t,a,n,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=an(e),0!==uagb_blocks_info.font_awesome_5_polyfill.length&&((a=uagb_blocks_info.uagb_svg_icons[e])||(a=uagb_blocks_info.uagb_svg_icons[null===(n=uagb_blocks_info.font_awesome_5_polyfill)||void 0===n?void 0:n[e]])),!a)return null;var l=null!==(t=a.svg)&&void 0!==t&&t.brands?a.svg.brands:a.svg.solid,r="0 0 ".concat(l.width," ").concat(l.height),u=l.path,c=null;switch(e){case"align-center":c={fillRule:"evenodd",clipRule:"evenodd",d:"M4 2H14V0H4V2ZM0 7H18V5H0V7ZM4 12H14V10H4V12Z"};break;case"align-left":c={fillRule:"evenodd",clipRule:"evenodd",d:"M10 2H0V0H10V2ZM18 7H0V5H18V7ZM10 12H0V10H10V12Z"};break;case"align-right":c={fillRule:"evenodd",clipRule:"evenodd",d:"M8 2H18V0H8V2ZM0 7H18V5H0V7ZM8 12H18V10H8V12Z"};break;case"align-justify":c={d:"M0 0H18V2H0V0ZM0 5.00001H18V7.00001H0V5.00001ZM0 10H18V12H0V10Z"}}return c?Object(o.createElement)("svg",{width:"18",height:"12",viewBox:"0 0 18 12",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)("path",c)):i&&"not_set"!==i?Object(o.createElement)("svg",{width:"20",height:"20",xmlns:"https://www.w3.org/2000/svg",viewBox:r},Object(o.createElement)("path",{d:u})):Object(o.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",viewBox:r},Object(o.createElement)("path",{d:u}))},ln=a(21),rn=0,on={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},un={};un.locals=ln.a.locals||{},un.use=function(){return rn++||(Xa=E()(ln.a,on)),un},un.unuse=function(){rn>0&&!--rn&&(Xa(),Xa=null)};var cn=un,sn=a(10),bn=a.n(sn);function pn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function fn(e){for(var t=1;t
-1&&Object(o.createElement)("button",{className:bn()({"uagb-active":"general"===c}),onClick:function(){return d("general")}},Object(o.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:"16",height:"15"},Object(o.createElement)("path",{fillRule:"nonzero",d:"M14.346 0H1.654C1.017 0 .5.517.5 1.154v12.692C.5 14.483 1.017 15 1.654 15h12.692c.637 0 1.154-.517 1.154-1.154V1.154C15.5.517 14.983 0 14.346 0zm-5.77 13.846v-5.77h5.77v5.77h-5.77z"})),Object(o.createElement)("h5",null,Object(v.__)("General"))),l.indexOf("style")>-1&&Object(o.createElement)("button",{className:bn()({"uagb-active":"style"===c}),onClick:function(){return d("style")}},Object(o.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:"18",height:"21"},Object(o.createElement)("g",{fillRule:"nonzero"},Object(o.createElement)("path",{d:"M15.12 12.091a.814.814 0 00-.68-.378.814.814 0 00-.68.378c-.531.863-2.252 3.807-2.252 5.09 0 1.598 1.317 2.901 2.932 2.901s2.933-1.303 2.933-2.902c0-1.303-1.722-4.226-2.253-5.089zm-1.041 3.828c-.043.063-.744 1.198-.213 1.976a.52.52 0 01.064.358.409.409 0 01-.191.294.608.608 0 01-.255.084.476.476 0 01-.383-.21c-.871-1.283.149-2.902.192-2.986a.517.517 0 01.297-.21.534.534 0 01.361.063c.192.126.255.42.128.63zM13.314 10.388l1.36-.147c.446-.042.807-.337.935-.736.127-.4.042-.862-.276-1.157L7.258.294c-.255-.252-.68-.252-.957 0a.68.68 0 000 .947l.34.336-5.1 5.047C.82 7.339.5 8.348.67 9.379c.128.652.489 1.24.956 1.703l3.082 3.05c.467.462 1.062.82 1.72.946a3.134 3.134 0 002.785-.863l3.612-3.575a.74.74 0 01.489-.252zM7.576 2.502l5.759 5.7H2.073c.085-.232.212-.463.403-.653l5.1-5.047z"}))),Object(o.createElement)("h5",null,Object(v.__)("Style"))),l.indexOf("advance")>-1&&Object(o.createElement)("button",{className:bn()({"uagb-active":"advance"===c}),onClick:function(){return d("advance")}},Object(o.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",width:"17",height:"16"},Object(o.createElement)("path",{fillRule:"nonzero",d:"M15.666 6.325c-.277-.05-.572-.082-.85-.115a6.385 6.385 0 00-.571-1.389c.18-.229.343-.457.523-.686a.994.994 0 00-.098-1.291l-.997-.997a.994.994 0 00-1.291-.098c-.23.163-.458.343-.687.523a6.954 6.954 0 00-1.39-.589c-.032-.277-.08-.572-.113-.85A.987.987 0 009.21 0H7.805a1 1 0 00-.98.834c-.05.277-.082.572-.115.85-.474.13-.947.326-1.389.571-.229-.18-.457-.343-.686-.523a.994.994 0 00-1.291.098l-.997.997a.994.994 0 00-.098 1.291c.163.23.343.458.523.687a6.954 6.954 0 00-.589 1.39c-.277.032-.572.08-.85.113A.987.987 0 00.5 7.29v1.406a1 1 0 00.834.98c.277.05.572.082.85.115.13.474.326.947.571 1.389-.18.229-.343.457-.523.686a.994.994 0 00.098 1.291l.997.997a.994.994 0 001.291.098c.23-.163.458-.343.687-.523.441.245.899.442 1.39.589.032.294.08.572.113.85.066.473.49.833.981.833h1.406a1 1 0 00.98-.834c.05-.277.082-.572.115-.85.474-.13.947-.326 1.389-.571.229.18.457.343.686.523a.994.994 0 001.291-.098l.997-.997a.994.994 0 00.098-1.291 19.095 19.095 0 00-.523-.687c.245-.441.442-.899.589-1.39.277-.032.572-.08.85-.113a.987.987 0 00.833-.981V7.305a1 1 0 00-.834-.98zM8.492 11.57a3.571 3.571 0 01-3.563-3.563 3.571 3.571 0 013.563-3.563 3.571 3.571 0 013.563 3.563 3.571 3.571 0 01-3.563 3.563z"})),Object(o.createElement)("h5",null,Object(v.__)("Advanced"))))),Array.isArray(i)&&o.Children.map(i,(function(e,t){if(!e.key)throw new Error("props.key not found in
, you must use `key` prop");return Object(o.cloneElement)(e,{index:t,isActive:e.key===c})})))};gn.defaultProps={defaultTab:"general",tabs:["general","style","advance"]};var dn=gn,mn={};mn.inherit=Object(o.createElement)("svg",{xmlns:"https://www.w3.org/2000/svg",fillRule:"evenodd",width:"24",height:"24",strokeLinejoin:"round",strokeMiterlimit:"1.5",clipRule:"evenodd",viewBox:"0 0 24 24"},Object(o.createElement)("path",{fill:"none",stroke:"currentColor",strokeWidth:"1.5",d:"M12.383 26.976l2.01-.941 1.884.538 1.623 1.666-.692.236.281 1.539 1.552 1.35-1.552 2.153",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48)"}),Object(o.createElement)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",d:"M12.016 24.355l.998-.952M33.573 26.085l-1.636-1.343-1.348-1.248M26.35 27.774l.332.37 1.349.756-.711 2.768 1.274 1.203.989-.449 3.933-6.226",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48)"}),Object(o.createElement)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",d:"M29.519 9.539c5.298 1.881 9.099 6.977 9.099 12.961 0 7.582-6.102 13.737-13.618 13.737S11.382 30.082 11.382 22.5",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48)"}),Object(o.createElement)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",d:"M20.684 3.211v9.433h4.179l-6.429 6.429-6.429-6.429h4.179V8.021",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48) translate(-6.686 -1.321) scale(1.55693)"}),Object(o.createElement)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"1.5",d:"M32.994 21.014l.2.205 3.364.329 1.532 2.432M32.931 12.002l-3.219.944-1.054 1.996-.408-.003",transform:"matrix(.68343 0 0 .68343 -5.086 -1.48)"}));var hn,vn=mn,yn=function(e){if(e&&e.includes("var")){var t=window.getComputedStyle(document.body);if((e=e.slice(4).slice(0,-1)).includes(","))return e.split(",").pop().trim();e=t.getPropertyValue(e).trim()}return e},wn=a(22),xn=0,On={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},En={};En.locals=wn.a.locals||{},En.use=function(){return xn++||(hn=E()(wn.a,On)),En},En.unuse=function(){xn>0&&!--xn&&(hn(),hn=null)};var kn=En;function Cn(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function jn(e){for(var t=1;t
125?"black":"white"),L=S&&S.includes("var")?"uag-global-indicator uag-global-icon-".concat(D):"";return Object(o.createElement)("div",{className:"uagb-color-popover-container components-base-control new-uagb-advanced-colors"},Object(o.createElement)("div",{className:"uagb-advanced-color-settings-container"},s&&Object(o.createElement)("span",{className:"uagb-beside-color-label uag-control-label"},s),Object(o.createElement)(ve,{onReset:function(e){h(jn(jn({},m),{},{currentColor:e[null==r?void 0:r.label]}))},attributeNames:[null==r?void 0:r.label],setAttributes:u}),Object(o.createElement)("div",{className:"uagb-beside-color-click"},O.isVisible&&Object(o.createElement)(w.Popover,{position:"top left",className:"uagb-popover-color new-uagb-advanced-colors-pop",onClose:M},m.refresh&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(w.ColorPicker,{color:yn(S),onChangeComplete:function(e){return T(e,"")}})),!m.refresh&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(w.ColorPicker,{color:yn(S),onChangeComplete:function(e){return T(e,"")}})),p&&Object(o.createElement)(w.ColorPalette,{color:S,colors:p,onChange:function(e){return T(e,!0)},clearable:!1,disableCustomColors:!0}),Object(o.createElement)("button",{type:"button",onClick:function(){T("",!0)},className:"uagb-clear-btn-inside-picker components-button components-circular-option-picker__clear is-secondary is-small"},Object(v.__)("Clear"))),O.isVisible&&Object(o.createElement)(w.Tooltip,{text:Object(v.__)("Select Color")},Object(o.createElement)(w.Button,{className:"uagb-color-icon-indicate uagb-has-alpha",onClick:M},Object(o.createElement)(w.ColorIndicator,{className:"uagb-advanced-color-indicate ".concat(L),colorValue:S}),""===S&&m.inherit&&Object(o.createElement)("span",{className:"color-indicator-icon"},vn.inherit),a&&a.startsWith("palette")&&Object(o.createElement)("span",{className:"color-indicator-icon"},Object(o.createElement)(w.Dashicon,{icon:"admin-site"})))),!O.isVisible&&Object(o.createElement)(w.Tooltip,{text:Object(v.__)("Select Color")},Object(o.createElement)(w.Button,{className:"uagb-color-icon-indicate uagb-has-alpha",onClick:function(){E({isVisible:!0})}},Object(o.createElement)(w.ColorIndicator,{className:"uagb-advanced-color-indicate ".concat(L),colorValue:S}),""===S&&m.inherit&&Object(o.createElement)("span",{className:"color-indicator-icon"},vn.inherit),a&&a.startsWith("palette")&&Object(o.createElement)("span",{className:"color-indicator-icon"},Object(o.createElement)(w.Dashicon,{icon:"admin-site"})))))),f&&Object(o.createElement)("p",{className:"uag-control-help-notice"},f))})),Sn=a(45),Dn=function(e){var t=e.children,a=e.isActive,n=e.type,i=Object(o.useRef)(null);return Object(o.useEffect)((function(){var e,t=null===(e=(0,Object(f.select)("core/block-editor").getSelectedBlock)())||void 0===e?void 0:e.name,a=H("uagSettingState");if(a){var l,r,o,u,c=null===(l=a[t])||void 0===l?void 0:l.selectedTab,s=null===(r=a[t])||void 0===r?void 0:r.selectedPanel,b=null===(o=a[t])||void 0===o?void 0:o.selectedSetting,p=null===(u=a[t])||void 0===u?void 0:u.selectedInnerTab;if(c&&n===c){var g=!1;(g=s?i.current.querySelector(".".concat(s)):i.current.querySelector(".is-opened"))&&(g.classList.contains("is-opened")||g.querySelector(".components-button").click(),p&&setTimeout((function(){var e=g.querySelector(p);e&&!e.classList.contains("active-tab")&&e.click()}),100),b&&setTimeout((function(){var e=g.querySelector(b);e&&!e.classList.contains("active")&&e.querySelector(".components-button").click()}),100))}}}),[]),Object(o.createElement)("div",{style:{display:a?"block":"none"},className:"uagb-inspector-tab uagb-tab-content-".concat(n),ref:i},Array.isArray(t)?t.map((function(e){return e})):t,Object(Sn.applyFilters)("uag_".concat(n,"_tab_content"),"",e.parentProps))},Ln={key:"general",type:"general"},Pn={key:"style",type:"style"},Bn={key:"advance",type:"advance"},Fn=a(23),An=0,Nn={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},Hn={};Hn.locals=Fn.a.locals||{},Hn.use=function(){return An++||(Tn=E()(Fn.a,Nn)),Hn},Hn.unuse=function(){An>0&&!--An&&(Tn(),Tn=null)};var zn,Rn=Hn,Vn=function(e){Object(b.useLayoutEffect)((function(){return Rn.use(),function(){Rn.unuse()}}),[]);var t=g(),a=e.label,n=e.unit,i=e.mUnit,l=e.tUnit,r=e.disableUnits,u=e.valueBottom,c=e.valueLeft,s=e.valueRight,p=e.valueTop,f=e.valueBottomTablet,d=e.valueLeftTablet,m=e.valueRightTablet,h=e.valueTopTablet,y=e.valueBottomMobile,x=e.valueLeftMobile,O=e.valueRightMobile,E=e.valueTopMobile,k=e.link,C=e.setAttributes,j=function(e,t){switch(t){case"desktop":C(_()({},p.label,e)),C(_()({},s.label,e)),C(_()({},u.label,e)),C(_()({},c.label,e));break;case"tablet":C(_()({},h.label,e)),C(_()({},m.label,e)),C(_()({},f.label,e)),C(_()({},d.label,e));break;case"mobile":C(_()({},E.label,e)),C(_()({},O.label,e)),C(_()({},y.label,e)),C(_()({},x.label,e))}},T=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=a;switch(""===a&&""!==e&&(i=""===e.target.value?0:Number(e.target.value)),n||(k.value?j(i,t):M(t)),t){case"desktop":C(_()({},p.label,i));break;case"tablet":C(_()({},h.label,i));break;case"mobile":C(_()({},E.label,i))}},M=function(e){switch(e){case"desktop":C(_()({},p.label,""===p.value||void 0===p.value?0:p.value)),C(_()({},s.label,""===s.value||void 0===s.value?0:s.value)),C(_()({},u.label,""===u.value||void 0===u.value?0:u.value)),C(_()({},c.label,""===c.value||void 0===c.value?0:c.value));break;case"tablet":C(_()({},h.label,void 0===h.value||""===h.value?0:h.value)),C(_()({},m.label,void 0===m.value||""===m.value?0:m.value)),C(_()({},f.label,void 0===f.value||""===f.value?0:f.value)),C(_()({},d.label,void 0===d.value||""===d.value?0:d.value));break;case"mobile":C(_()({},E.label,""===E.value||void 0===E.value?0:E.value)),C(_()({},O.label,""===O.value||void 0===O.value?0:O.value)),C(_()({},y.label,""===y.value||void 0===y.value?0:y.value)),C(_()({},x.label,""===x.value||void 0===x.value?0:x.value))}},S=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=a;switch(""===a&&""!==e&&(i=""===e.target.value?0:Number(e.target.value)),n||(k.value?j(i,t):M(t)),t){case"desktop":C(_()({},s.label,i));break;case"tablet":C(_()({},m.label,i));break;case"mobile":C(_()({},O.label,i))}},D=function(e,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=n;switch(""===n&&""!==e&&(l=""===e.target.value?0:Number(e.target.value)),i||(k.value?j(l,a):M(t)),a){case"desktop":C(_()({},u.label,l));break;case"tablet":C(_()({},f.label,l));break;case"mobile":C(_()({},y.label,l))}},L=function(e,a){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=n;switch(""===n&&""!==e&&(l=""===e.target.value?0:Number(e.target.value)),i||(k.value&&!i?j(l,a):M(t)),a){case"desktop":C(_()({},c.label,l));break;case"tablet":C(_()({},d.label,l));break;case"mobile":C(_()({},x.label,l))}},P=[{name:Object(v.__)("Pixel","ultimate-addons-for-gutenberg"),unitValue:"px"},{name:Object(v.__)("Em","ultimate-addons-for-gutenberg"),unitValue:"em"},{name:Object(v.__)("%","ultimate-addons-for-gutenberg"),unitValue:"%"}];e.units&&(P=e.units);var B="";k&&(B=Object(o.createElement)("span",{className:"uagb-spacing-control__link uagb-spacing-control-connected dashicons dashicons-admin-links ",onClick:function(){M(t.toLowerCase()),C(_()({},k.label,!1))}}),k.value||(B=Object(o.createElement)("span",{className:"uagb-spacing-control__link uagb-spacing-control-disconnected dashicons dashicons-editor-unlink",onClick:function(){A(),C(_()({},k.label,!0))}})));var F,A=function(){var e,a=t.toLowerCase();switch(a){case"desktop":e=p.value;break;case"tablet":e=h.value;break;case"mobile":e=E.value}j(e,a)},N={};return N.Desktop=Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"uagb-spacing-control__inputs"},Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return T(e,"desktop")},value:void 0!==p.value?p.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return S(e,"desktop")},value:void 0!==s.value?s.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return D(e,"desktop")},value:void 0!==u.value?u.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return L(e,"desktop")},value:void 0!==c.value?c.value:""}),B)),N.Tablet=Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"uagb-spacing-control__inputs"},Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return T(e,"tablet")},value:void 0!==h.value?h.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return S(e,"tablet")},value:void 0!==m.value?m.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return D(e,"tablet")},value:void 0!==f.value?f.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return L(e,"tablet")},value:void 0!==d.value?d.value:""}),B)),N.Mobile=Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"uagb-spacing-control__inputs"},Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return T(e,"mobile")},value:void 0!==E.value?E.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return S(e,"mobile")},value:void 0!==O.value?O.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return D(e,"mobile")},value:void 0!==y.value?y.value:""}),Object(o.createElement)("input",{className:"uagb-spacing-control__number",type:"number",onChange:function(e){return L(e,"mobile")},value:void 0!==x.value?x.value:""}),B)),Object(o.createElement)("div",{className:"components-base-control uagb-spacing-control"},Object(o.createElement)("div",{className:"uagb-size-type-field-tabs"},Object(o.createElement)("div",{className:"uagb-control__header"},Object(o.createElement)(I,{label:a,responsive:!0}),Object(o.createElement)("div",{className:"uagb-control__actions"},Object(o.createElement)(ve,{onReset:function(e){switch(t.toLowerCase()){case"desktop":T("","desktop",e[p.label],!0),S("","desktop",e[s.label],!0),D("","desktop",e[u.label],!0),L("","desktop",e[c.label],!0),C(_()({},null==n?void 0:n.label,e[null==n?void 0:n.label]));break;case"tablet":T("","tablet",e[h.label],!0),S("","tablet",e[m.label],!0),D("","tablet",e[f.label],!0),L("","tablet",e[d.label],!0),C(_()({},null==l?void 0:l.label,e[null==l?void 0:l.label]));break;case"mobile":T("","mobile",e[E.label],!0),S("","mobile",e[O.label],!0),D("","mobile",e[y.label],!0),L("","mobile",e[x.label],!0),C(_()({},null==i?void 0:i.label,e[null==i?void 0:i.label]))}},attributeNames:[null==p?void 0:p.label,null==s?void 0:s.label,null==u?void 0:u.label,null==c?void 0:c.label,null==h?void 0:h.label,null==m?void 0:m.label,null==f?void 0:f.label,null==d?void 0:d.label,null==E?void 0:E.label,null==O?void 0:O.label,null==y?void 0:y.label,null==x?void 0:x.label,null==n?void 0:n.label,null==l?void 0:l.label,null==i?void 0:i.label]}),Object(o.createElement)(w.ButtonGroup,{className:"uagb-control__units","aria-label":Object(v.__)("Select Units","ultimate-addons-for-gutenberg")},!r&&(F=[],P.map((function(e){return F.push(Object(o.createElement)(w.Tooltip,{text:Object(v.sprintf)( /* translators: abbreviation for units */ Object(v.__)("%s units","ultimate-addons-for-gutenberg"),e.name)},Object(o.createElement)(w.Button,{key:e.unitValue,className:"uagb-range-control__units--"+e.name,isSmall:!0,isPrimary:"Desktop"===t&&n.value===e.unitValue||"Mobile"===t&&i.value===e.unitValue||"Tablet"===t&&l.value===e.unitValue,isSecondary:n.value!==e.unitValue||i.value!==e.unitValue||l.value!==e.unitValue,"aria-pressed":"Desktop"===t&&n.value===e.unitValue||"Mobile"===t&&i.value===e.unitValue||"Tablet"===t&&l.value===e.unitValue,"data-device-type":t,"aria-label":Object(v.sprintf)( /* translators: abbreviation for units */ Object(v.__)("%s units","ultimate-addons-for-gutenberg"),e.name),onClick:function(){return a=e,void C("Mobile"===t?_()({},i.label,a.unitValue):"Tablet"===t?_()({},l.label,a.unitValue):_()({},n.label,a.unitValue));var a}},e.unitValue)))})),F)))),N[t]?N[t]:N.Desktop,Object(o.createElement)("div",{className:"uagb-spacing-control__input-labels"},Object(o.createElement)("span",{className:"uagb-spacing-control__number-label"},Object(v.__)("Top","ultimate-addons-for-gutenberg")),Object(o.createElement)("span",{className:"uagb-spacing-control__number-label"},Object(v.__)("Right","ultimate-addons-for-gutenberg")),Object(o.createElement)("span",{className:"uagb-spacing-control__number-label"},Object(v.__)("Bottom","ultimate-addons-for-gutenberg")),Object(o.createElement)("span",{className:"uagb-spacing-control__number-label"},Object(v.__)("Left","ultimate-addons-for-gutenberg")),Object(o.createElement)("span",{className:"uagb-spacing-control__number-label uagb-spacing-control__link-label"}))),e.help&&Object(o.createElement)("p",{className:"uag-control-help-notice"},e.help))},In=a(24),Wn=0,Un={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},qn={};qn.locals=In.a.locals||{},qn.use=function(){return Wn++||(zn=E()(In.a,Un)),qn},qn.unuse=function(){Wn>0&&!--Wn&&(zn(),zn=null)};var Gn,Zn=qn,Kn=a(25),Jn=0,Yn={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},$n={};$n.locals=Kn.a.locals||{},$n.use=function(){return Jn++||(Gn=E()(Kn.a,Yn)),$n},$n.unuse=function(){Jn>0&&!--Jn&&(Gn(),Gn=null)};var Qn=$n,Xn=function(){return Object(b.useLayoutEffect)((function(){return Qn.use(),function(){Qn.unuse()}}),[]),Object(o.createElement)("div",{className:"spectra-separator"})};function ei(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ti(e){for(var t=1;t
0&&!--oi&&(ai(),ai=null)};var si=ci,bi=function(e){return Object(b.useLayoutEffect)((function(){return si.use(),function(){si.unuse()}}),[]),Object(o.createElement)("div",{className:"components-base-control uag-icon-picker"},Object(o.createElement)("span",{className:"uag-control-label"},(null==e?void 0:e.label)||Object(v.__)("Icon","ultimate-addons-for-gutenberg")),Object(o.createElement)(li.a,{icons:(null==e?void 0:e.icons)||wp.UAGBSvgIcons,renderFunc:nn,theme:"default",value:e.value,onChange:null==e?void 0:e.onChange,isMulti:e.isMulti||!1,noSelectedPlaceholder:e.noSelectedPlaceholder||Object(v.__)("Select Icon","ultimate-addons-for-gutenberg")}),e.help&&Object(o.createElement)("p",{className:"uag-control-help-notice"},e.help))};function pi(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function fi(e){for(var t=1;t
0&&!--vi&&(gi(),gi=null)};var xi=wi,_i=p.a.memo((function(e){Object(b.useLayoutEffect)((function(){return xi.use(),function(){xi.unuse()}}),[]);var t=e=e.parentProps,a=t.attributes,n=t.setAttributes,i=g();i=i.toLowerCase();var l=a.className,r=a.linkText,u=a.icon,c=a.iconPosition,s="";return""!==u&&(s=Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-link-icon"},nn(u))),Object(o.createElement)("div",{className:bn()(l,"wp-block-wcfpb-offer-yes-no-link","cf-editor-preview-mode-".concat(i),"cfp-block-".concat(e.clientId.substr(0,8)))},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-link"},Object(o.createElement)("a",{href:"#",className:"wpcfp__offer-yes-no-link-url"},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-link-text-wrap"},"before_link_text"===c&&s,Object(o.createElement)(y.RichText,{placeholder:Object(v.__)("Add text…","cartflows-pro"),value:r,tagName:"span",onChange:function(e){n({linkText:e})},className:"wpcfp__offer-yes-no-link-text"}),"after_link_text"===c&&s))))}));a(64);var Oi=wp.i18n.__,Ei=wp.blocks.registerBlockType;("upsell"===cfp_blocks_info.step_type||"downsell"===cfp_blocks_info.step_type&&cfp_blocks_info.is_woo_active)&&Ei("wcfpb/offer-yes-no-link",{title:cfp_blocks_info.blocks["wcfpb/offer-yes-no-link"].title,description:cfp_blocks_info.blocks["wcfpb/offer-yes-no-link"].description,icon:l.yes_no_links,category:cfp_blocks_info.category,keywords:[Oi("cartflows pro","cartflows-pro"),Oi("Offer yes no link","cartflows-pro"),Oi("cfp","cartflows-pro")],supports:{anchor:!0},attributes:r,edit:function(e){var t=g();return Object(b.useEffect)((function(){var t=e.attributes,a=t.topMargin,n=t.bottomMargin,i=t.linkTextMarginTop,l=t.linkTextMarginBottom;a&&(void 0===i&&e.setAttributes({linkTextMarginTop:a}),void 0===l&&e.setAttributes({linkTextMarginBottom:n})),e.setAttributes({block_id:e.clientId.substr(0,8)}),e.setAttributes({classMigrate:!0});var r=s(e);d("wpcfp-offer-yes-no-link-style-"+e.clientId.substr(0,8),r)}),[e]),Object(b.useEffect)((function(){var t=s(e);d("wpcfp-offer-yes-no-link-style-"+e.clientId.substr(0,8),t)}),[t]),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(mi,{parentProps:e}),Object(o.createElement)(_i,{parentProps:e}))},example:{},save:function(e){var t=e.attributes,a=t.block_id,n=t.offerAction,i=t.linkText,l=t.icon,r=t.iconPosition,u="";""!==l&&(u=Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-link-icon"},nn(l)));var c=cfp_blocks_info.step_type,s="";return"upsell"!==c&&"downsell"!==c||(s="accept_offer"===n?"upsell"===c?"?class=wcf-up-offer-yes":"?class=wcf-down-offer-yes":"upsell"===c?"?class=wcf-up-offer-no":"?class=wcf-down-offer-no"),Object(o.createElement)("div",{className:bn()(e.className,"wp-block-wcfpb-offer-yes-no-link","cfp-block-".concat(a))},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-link"},Object(o.createElement)("a",{href:s,className:"wpcfp__offer-yes-no-link-url"},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-link-text-wrap"},"before_link_text"===r&&u,Object(o.createElement)(y.RichText.Content,{value:i,tagName:"span",className:"wpcfp__offer-yes-no-link-text"}),"after_link_text"===r&&u))))}});var ki=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"desktop",n={},i=e[t+"BorderStyle"],l=e[t+"BorderColor"],r=isNaN(e[t+"BorderTopWidth"])?"":e[t+"BorderTopWidth"]+"px",o=isNaN(e[t+"BorderRightWidth"])?"":e[t+"BorderRightWidth"]+"px",u=isNaN(e[t+"BorderBottomWidth"])?"":e[t+"BorderBottomWidth"]+"px",c=isNaN(e[t+"BorderLeftWidth"])?"":e[t+"BorderLeftWidth"]+"px",s=isNaN(e[t+"BorderTopWidthMobile"])?"":e[t+"BorderTopWidthMobile"]+"px",b=isNaN(e[t+"BorderRightWidthMobile"])?"":e[t+"BorderRightWidthMobile"]+"px",p=isNaN(e[t+"BorderBottomWidthMobile"])?"":e[t+"BorderBottomWidthMobile"]+"px",f=isNaN(e[t+"BorderLeftWidthMobile"])?"":e[t+"BorderLeftWidthMobile"]+"px",g=isNaN(e[t+"BorderTopWidthTablet"])?"":e[t+"BorderTopWidthTablet"]+"px",d=isNaN(e[t+"BorderRightWidthTablet"])?"":e[t+"BorderRightWidthTablet"]+"px",m=isNaN(e[t+"BorderBottomWidthTablet"])?"":e[t+"BorderBottomWidthTablet"]+"px",h=isNaN(e[t+"BorderLeftWidthTablet"])?"":e[t+"BorderLeftWidthTablet"]+"px",v=e[t+"BorderRadiusUnit"]?e[t+"BorderRadiusUnit"]:"px",y=e[t+"BorderRadiusUnitTablet"]?e[t+"BorderRadiusUnitTablet"]:"px",w=e[t+"BorderRadiusUnitMobile"]?e[t+"BorderRadiusUnitMobile"]:"px",x=isNaN(e[t+"BorderTopLeftRadius"])?"":e[t+"BorderTopLeftRadius"]+v,_=isNaN(e[t+"BorderTopRightRadius"])?"":e[t+"BorderTopRightRadius"]+v,O=isNaN(e[t+"BorderBottomRightRadius"])?"":e[t+"BorderBottomRightRadius"]+v,E=isNaN(e[t+"BorderBottomLeftRadius"])?"":e[t+"BorderBottomLeftRadius"]+v,k=isNaN(e[t+"BorderTopLeftRadiusMobile"])?"":e[t+"BorderTopLeftRadiusMobile"]+w,C=isNaN(e[t+"BorderTopRightRadiusMobile"])?"":e[t+"BorderTopRightRadiusMobile"]+w,j=isNaN(e[t+"BorderBottomRightRadiusMobile"])?"":e[t+"BorderBottomRightRadiusMobile"]+w,T=isNaN(e[t+"BorderBottomLeftRadiusMobile"])?"":e[t+"BorderBottomLeftRadiusMobile"]+w,M=isNaN(e[t+"BorderTopLeftRadiusTablet"])?"":e[t+"BorderTopLeftRadiusTablet"]+y,S=isNaN(e[t+"BorderTopRightRadiusTablet"])?"":e[t+"BorderTopRightRadiusTablet"]+y,D=isNaN(e[t+"BorderBottomRightRadiusTablet"])?"":e[t+"BorderBottomRightRadiusTablet"]+y,L=isNaN(e[t+"BorderBottomLeftRadiusTablet"])?"":e[t+"BorderBottomLeftRadiusTablet"]+y;return"tablet"===a?("none"!==e[t+"BorderStyle"]&&""!==e[t+"BorderStyle"]&&(n["border-top-width"]=g||r,n["border-right-width"]=d||o,n["border-bottom-width"]=m||u,n["border-left-width"]=h||c),n["border-top-left-radius"]=M||x,n["border-top-right-radius"]=S||_,n["border-bottom-right-radius"]=D||O,n["border-bottom-left-radius"]=L||E):"mobile"===a?("none"!==e[t+"BorderStyle"]&&""!==e[t+"BorderStyle"]&&(n["border-top-width"]=s||g,n["border-right-width"]=b||d,n["border-bottom-width"]=p||m,n["border-left-width"]=f||h),n["border-top-left-radius"]=k||M,n["border-top-right-radius"]=C||S,n["border-bottom-right-radius"]=j||D,n["border-bottom-left-radius"]=T||L):("none"!==e[t+"BorderStyle"]&&""!==e[t+"BorderStyle"]&&(n["border-top-width"]=r,n["border-right-width"]=o,n["border-bottom-width"]=u,n["border-left-width"]=c,n["border-color"]=l),n["border-style"]=i,n["border-top-left-radius"]=x,n["border-top-right-radius"]=_,n["border-bottom-right-radius"]=O,n["border-bottom-left-radius"]=E),n};function Ci(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function ji(e){for(var t=1;t
0&&!--Di&&(Ti(),Ti=null)};var Bi,Fi=Pi,Ai=a(29),Ni=0,Hi={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},zi={};zi.locals=Ai.a.locals||{},zi.use=function(){return Ni++||(Bi=E()(Ai.a,Hi)),zi},zi.unuse=function(){Ni>0&&!--Ni&&(Bi(),Bi=null)};var Ri,Vi=zi,Ii=function(e){Object(b.useLayoutEffect)((function(){return Vi.use(),function(){Vi.unuse()}}),[]);var t=e.setAttributes,a=e.backgroundGradient;return Object(o.createElement)(w.GradientPicker,{value:a.value,onChange:function(e){t(_()({},a.label,e))},className:"uagb-gradient-picker"})},Wi={logo:Object(o.createElement)("svg",{width:20,height:20,viewBox:"0 0 85 85",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M41.7849 0C33.5206 0 25.4419 2.49258 18.5705 7.16254C11.699 11.8325 6.34331 18.4701 3.18071 26.236C0.0181112 34.0018 -0.809377 42.5471 0.802901 50.7913C2.41518 59.0355 6.3948 66.6083 12.2385 72.552C18.0822 78.4958 25.5276 82.5435 33.633 84.1834C41.7385 85.8232 50.1401 84.9816 57.7753 81.7649C65.4105 78.5482 71.9363 73.1008 76.5277 66.1117C81.1191 59.1226 83.5697 50.9057 83.5697 42.5C83.565 31.2298 79.1612 20.4225 71.326 12.4533C63.4908 4.48402 52.8655 0.0048112 41.7849 0ZM57.5278 49.0175C57.5278 49.1264 57.5278 49.2354 57.5278 49.3443V49.6529V49.8526C57.3161 51.0856 56.8673 52.2639 56.207 53.3201L55.8143 53.8829L55.2431 54.5546C55.0482 54.8082 54.8268 55.0396 54.5827 55.2445V55.3353L54.4578 55.4261L54.2079 55.6258C54.1249 55.7007 54.0353 55.7675 53.9402 55.8255L53.6724 56.0071L34.3061 69.0602C34.1479 69.1683 33.9612 69.2253 33.7706 69.2236H33.5743C33.447 69.1967 33.3262 69.1443 33.2189 69.0695C33.1117 68.9947 33.0201 68.899 32.9495 68.7879C32.9495 68.7879 32.5033 67.9891 32.4676 67.9347V67.7531V67.6623V67.5534V67.4263V67.2811C31.7014 65.262 31.6378 63.0371 32.2872 60.9761C32.9366 58.9152 34.2601 57.1424 36.0375 55.9526L45.0691 49.8708C45.2101 49.7754 45.3201 49.6398 45.3853 49.4809C45.4505 49.322 45.4679 49.147 45.4355 48.9781C45.403 48.8091 45.3221 48.6537 45.2029 48.5315C45.0837 48.4093 44.9316 48.3257 44.7657 48.2913L34.1633 46.1128H33.8599H33.7706H33.485H33.1816H33.0567H32.896H32.8068L32.5212 46.0038H32.4319H32.2534L31.9679 45.8586L31.6823 45.7134L31.4145 45.55L31.1468 45.3866C30.3041 44.8521 29.5509 44.1841 28.9156 43.4077L28.6836 43.0809L28.4159 42.6634C27.73 41.6278 27.255 40.4629 27.0189 39.2375C26.7828 38.012 26.7905 36.751 27.0415 35.5286C27.228 34.6884 27.5221 33.8766 27.9161 33.1141C28.0232 32.9144 28.1124 32.7328 28.2195 32.5694L28.3802 32.3153C28.4948 32.1207 28.6199 31.9329 28.755 31.7525L28.9156 31.5528L29.112 31.3167L29.3083 31.0989L29.4333 30.9718L29.6475 30.754L29.8259 30.5906L30.0223 30.4272L30.2365 30.2456H30.3257L30.4685 30.1185H30.5578L30.7898 29.9551L50.049 16.9746C50.1725 16.8912 50.3113 16.8338 50.457 16.806C50.6027 16.7782 50.7524 16.7804 50.8973 16.8126C51.0421 16.8448 51.1791 16.9062 51.3002 16.9933C51.4212 17.0804 51.5238 17.1913 51.6019 17.3195L51.7626 17.5918L51.8875 17.846C51.8875 17.9368 51.9768 18.0094 52.0125 18.082C52.0125 18.082 52.0125 18.082 52.0125 18.191C52.0239 18.2325 52.0239 18.2765 52.0125 18.318L52.1195 18.5904C52.1292 18.6383 52.1292 18.6877 52.1195 18.7356C52.1195 18.7356 52.1195 18.7356 52.1195 18.8445C52.8288 20.8305 52.8625 23.0011 52.2153 25.0089C51.5681 27.0166 50.2774 28.7455 48.5497 29.9188L39.6251 35.9462C39.4842 36.0415 39.3742 36.1772 39.309 36.3361C39.2438 36.495 39.2263 36.6699 39.2588 36.8389C39.2912 37.0078 39.3722 37.1632 39.4914 37.2854C39.6106 37.4077 39.7627 37.4912 39.9286 37.5256L50.4417 39.686C52.5458 40.1281 54.4361 41.2935 55.7948 42.9862C57.1536 44.679 57.8979 46.796 57.9027 48.9812C57.5635 48.4003 57.5278 48.9812 57.5278 48.9812V49.0175Z",fill:"url(#paint0_linear_619_170)"})),section:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M21 15V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19L3 15M21 15L3 15M21 15V9M3 15L3 9M21 9V5C21 3.89543 20.1046 3 19 3L5 3C3.89543 3 3 3.89543 3 5L3 9M21 9L3 9",fill:"none",stroke:"#fff",strokeWidth:1.4})),buttons:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 17.5H17M7 6.5H17M5 10H19C20.1046 10 21 9.10457 21 8V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V8C3 9.10457 3.89543 10 5 10ZM5 21H19C20.1046 21 21 20.1046 21 19V16C21 14.8954 20.1046 14 19 14H5C3.89543 14 3 14.8954 3 16V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),buttons_child:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 11.5H17M5 15H19C20.1046 15 21 14.1046 21 13V10C21 8.89543 20.1046 8 19 8H5C3.89543 8 3 8.89543 3 10V13C3 14.1046 3.89543 15 5 15Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),advanced_heading:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M8 7V12.8333M8 12.8333V17M8 12.8333H16M16 12.8333V7M16 12.8333V17M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),google_map:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M9 3.00002L4.10557 5.44723C3.428 5.78601 3 6.47854 3 7.23608V20.382C3 21.1254 3.78231 21.6089 4.44721 21.2764L9 19M9 3.00002L15 5.00002M9 3.00002V19M9 19L15 21M15 5.00002L19.5528 2.72362C20.2177 2.39117 21 2.87467 21 3.61805V16.7639C21 17.5215 20.572 18.214 19.8944 18.5528L15 21M15 5.00002V21",fill:"none",stroke:"#fff",strokeWidth:1.4})),info_box:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 13H17M7 16.5H15.3333M9 8C9 8.55228 8.55228 9 8 9C7.44772 9 7 8.55228 7 8C7 7.44772 7.44772 7 8 7C8.55228 7 9 7.44772 9 8ZM5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),post_carousel:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M0 17C1.10457 17 2 16.1046 2 15V8C2 6.89543 1.10457 6 0 6M24 17C22.8954 17 22 16.1046 22 15V8C22 6.89543 22.8954 6 24 6M7 17H17C18.1046 17 19 16.1046 19 15V8C19 6.89543 18.1046 6 17 6H7C5.89543 6 5 6.89543 5 8V15C5 16.1046 5.89543 17 7 17Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M8 11H12.5M8 14H16",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),post_masonry:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 14C3 12.8954 3.89543 12 5 12H8C9.10457 12 10 12.8954 10 14V21C10 22.1046 9.10457 23 8 23H5C3.89543 23 3 22.1046 3 21V14Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M14 3C14 1.89543 14.8954 1 16 1H19C20.1046 1 21 1.89543 21 3V10C21 11.1046 20.1046 12 19 12H16C14.8954 12 14 11.1046 14 10V3Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M14 18C14 16.8954 14.8954 16 16 16H19C20.1046 16 21 16.8954 21 18V21C21 22.1046 20.1046 23 19 23H16C14.8954 23 14 22.1046 14 21V18Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M3 3C3 1.89543 3.89543 1 5 1H8C9.10457 1 10 1.89543 10 3V6C10 7.10457 9.10457 8 8 8H5C3.89543 8 3 7.10457 3 6V3Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),post_grid:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 16C3 14.8954 3.89543 14 5 14H8C9.10457 14 10 14.8954 10 16V19C10 20.1046 9.10457 21 8 21H5C3.89543 21 3 20.1046 3 19V16Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M14 16C14 14.8954 14.8954 14 16 14H19C20.1046 14 21 14.8954 21 16V19C21 20.1046 20.1046 21 19 21H16C14.8954 21 14 20.1046 14 19V16Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M3 5C3 3.89543 3.89543 3 5 3H8C9.10457 3 10 3.89543 10 5V8C10 9.10457 9.10457 10 8 10H5C3.89543 10 3 9.10457 3 8V5Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M14 5C14 3.89543 14.8954 3 16 3H19C20.1046 3 21 3.89543 21 5V8C21 9.10457 20.1046 10 19 10H16C14.8954 10 14 9.10457 14 8V5Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),testimonial:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M15.5 9.42857C15.5 10.2175 14.903 10.8571 14.1667 10.8571C13.4303 10.8571 12.8333 10.2175 12.8333 9.42857C12.8333 8.63959 13.4303 8 14.1667 8C14.903 8 15.5 8.63959 15.5 9.42857ZM15.5 9.42857C15.5 9.42857 15.5 11.5714 13.5 13M11.1667 9.42857C11.1667 10.2175 10.5697 10.8571 9.83333 10.8571C9.09695 10.8571 8.5 10.2175 8.5 9.42857C8.5 8.63959 9.09695 8 9.83333 8C10.5697 8 11.1667 8.63959 11.1667 9.42857ZM11.1667 9.42857C11.1667 9.42857 11.1667 11.5714 9.16667 13M12 21L14.4142 18.5858C14.7893 18.2107 15.298 18 15.8284 18H19C20.1046 18 21 17.1046 21 16V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V16C3 17.1046 3.89543 18 5 18H8.17157C8.70201 18 9.21071 18.2107 9.58579 18.5858L12 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),cf7_styler:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M4.51555 17C6.13007 19.412 8.87958 21 12 21C15.1204 21 17.8699 19.412 19.4845 17M4.51555 17C3.55827 15.5699 3 13.8501 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 13.8501 20.4417 15.5699 19.4845 17M4.51555 17C5.75777 17 7.12889 15 8.43944 13M19.4845 17C18.2422 17 16.8711 15 15.5606 13M8.43944 13C9.75 11 11 9 12 9C13 9 14.25 11 15.5606 13M8.43944 13L9.09522 14.2607C9.47211 14.9852 10.5116 14.9769 10.8768 14.2464L11.3795 13.241C11.6848 12.6305 12.4984 12.4984 12.9811 12.9811L13.4309 13.4309C13.7632 13.7632 14.282 13.8193 14.6776 13.5658L15.5606 13",fill:"none",stroke:"#fff",strokeWidth:1.4})),gf_styler:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M17 12V15H7L6.99998 12.9996C6.99998 10.7905 8.79083 9.00001 10.9999 9.00001H17.5M3.33984 8.71466V15.2854C3.33984 16.0317 3.75541 16.7159 4.41768 17.0601L11.0779 20.5208C11.656 20.8212 12.3442 20.8212 12.9223 20.5208L19.5825 17.0601C20.2448 16.7159 20.6604 16.0317 20.6604 15.2854V8.71466C20.6604 7.96832 20.2448 7.28407 19.5825 6.93995L12.9223 3.47918C12.3442 3.1788 11.656 3.1788 11.0779 3.47918L4.41768 6.93995C3.75541 7.28407 3.33984 7.96832 3.33984 8.71466Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),content_timeline:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M12.0001 3V7M12.0001 21V17M12.0001 7H15.0001M12.0001 7V12M15.0001 7C15.0001 8.10457 15.8954 9 17 9H19C20.1046 9 21 8.10457 21 7C21 5.89543 20.1046 5 19 5H17C15.8954 5 15.0001 5.89543 15.0001 7ZM12.0001 12H9M12.0001 12V17M9 12C9 13.1046 8.10457 14 7 14H5C3.89543 14 3 13.1046 3 12C3 10.8954 3.89543 10 5 10H7C8.10457 10 9 10.8954 9 12ZM12.0001 17H15.0001M15.0001 17C15.0001 18.1046 15.8954 19 17 19H19C20.1046 19 21 18.1046 21 17C21 15.8954 20.1046 15 19 15H17C15.8954 15 15.0001 15.8954 15.0001 17Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),content_timeline_child:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M5.99993 3V7V12M5.99993 21V17V12M5.99993 12H9M9 12C9 13.1046 9.89543 14 11 14H16C17.1046 14 18 13.1046 18 12C18 10.8954 17.1046 10 16 10H11C9.89543 10 9 10.8954 9 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),call_to_action:Object(o.createElement)("svg",{width:40,height:40,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M16.4545 16.4545L14.6364 21L11 11L21 14.6364L16.4545 16.4545ZM16.4545 16.4545L21 21M9 16.9291C5.60771 16.4439 3 13.5265 3 10C3 6.13401 6.13401 3 10 3C13.5265 3 16.4439 5.60771 16.9291 9M8.5 12.5987C7.6033 12.0799 7 11.1104 7 10C7 8.34315 8.34315 7 10 7C11.1104 7 12.0799 7.6033 12.5987 8.5",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),post_timeline:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M4 3V6M4 6C2.89543 6 2 6.89543 2 8C2 9.10457 2.89543 10 4 10M4 6C5.10457 6 6 6.89543 6 8C6 9.10457 5.10457 10 4 10M4 10V14M4 14C2.89543 14 2 14.8954 2 16C2 17.1046 2.89543 18 4 18M4 14C5.10457 14 6 14.8954 6 16C6 17.1046 5.10457 18 4 18M4 18V21M11 18H19C20.1046 18 21 17.1046 21 16C21 14.8954 20.1046 14 19 14H11C9.89543 14 9 14.8954 9 16C9 17.1046 9.89543 18 11 18ZM11 10H19C20.1046 10 21 9.10457 21 8C21 6.89543 20.1046 6 19 6H11C9.89543 6 9 6.89543 9 8C9 9.10457 9.89543 10 11 10Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),icon_list:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M11 5H21M11 12H21M11 19H21",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M7 5C7 6.10457 6.10457 7 5 7C3.89543 7 3 6.10457 3 5C3 3.89543 3.89543 3 5 3C6.10457 3 7 3.89543 7 5Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M7 12C7 13.1046 6.10457 14 5 14C3.89543 14 3 13.1046 3 12C3 10.8954 3.89543 10 5 10C6.10457 10 7 10.8954 7 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M7 19C7 20.1046 6.10457 21 5 21C3.89543 21 3 20.1046 3 19C3 17.8954 3.89543 17 5 17C6.10457 17 7 17.8954 7 19Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),icon_list_child:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M11 5H21M13 11H21M13 16H21M13 20.5H21M7 5C7 6.10457 6.10457 7 5 7C3.89543 7 3 6.10457 3 5C3 3.89543 3.89543 3 5 3C6.10457 3 7 3.89543 7 5Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M9 11C9 11.5523 8.55228 12 8 12C7.44772 12 7 11.5523 7 11C7 10.4477 7.44772 10 8 10C8.55228 10 9 10.4477 9 11Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M9 16C9 16.5523 8.55228 17 8 17C7.44772 17 7 16.5523 7 16C7 15.4477 7.44772 15 8 15C8.55228 15 9 15.4477 9 16Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M9 20.5C9 21.0523 8.55228 21.5 8 21.5C7.44772 21.5 7 21.0523 7 20.5C7 19.9477 7.44772 19.5 8 19.5C8.55228 19.5 9 19.9477 9 20.5Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),team:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M17 20H22V18C22 16.3431 20.6569 15 19 15C18.0444 15 17.1931 15.4468 16.6438 16.1429M17 20H7M17 20V18C17 17.3438 16.8736 16.717 16.6438 16.1429M7 20H2V18C2 16.3431 3.34315 15 5 15C5.95561 15 6.80686 15.4468 7.35625 16.1429M7 20V18C7 17.3438 7.12642 16.717 7.35625 16.1429M7.35625 16.1429C8.0935 14.301 9.89482 13 12 13C14.1052 13 15.9065 14.301 16.6438 16.1429M15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM21 10C21 11.1046 20.1046 12 19 12C17.8954 12 17 11.1046 17 10C17 8.89543 17.8954 8 19 8C20.1046 8 21 8.89543 21 10ZM7 10C7 11.1046 6.10457 12 5 12C3.89543 12 3 11.1046 3 10C3 8.89543 3.89543 8 5 8C6.10457 8 7 8.89543 7 10Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),tabs:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M10 3V6C10 7.10457 10.8954 8 12 8H15.5M15.5 8H21M15.5 8V3M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),tabs_child:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M12 3V8C12 9.10457 12.8954 10 14 10H16.5H21M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),social_share:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M9 12C9 13.1046 8.10457 14 7 14C5.89543 14 5 13.1046 5 12C5 10.8954 5.89543 10 7 10C8.10457 10 9 10.8954 9 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M19 6C19 7.10457 18.1046 8 17 8C15.8954 8 15 7.10457 15 6C15 4.89543 15.8954 4 17 4C18.1046 4 19 4.89543 19 6Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M19 18C19 19.1046 18.1046 20 17 20C15.8954 20 15 19.1046 15 18C15 16.8954 15.8954 16 17 16C18.1046 16 19 16.8954 19 18Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M9 10.5L15 7M9 13.5L15 17",fill:"none",stroke:"#fff",strokeWidth:1.4})),social_share_child:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M9 10.5L15 7M9 13.5L15 17M21 18C21 19.6569 19.6569 21 18 21C16.3431 21 15 19.6569 15 18C15 16.3431 16.3431 15 18 15C19.6569 15 21 16.3431 21 18ZM9 12C9 13.1046 8.10457 14 7 14C5.89543 14 5 13.1046 5 12C5 10.8954 5.89543 10 7 10C8.10457 10 9 10.8954 9 12ZM19 6C19 7.10457 18.1046 8 17 8C15.8954 8 15 7.10457 15 6C15 4.89543 15.8954 4 17 4C18.1046 4 19 4.89543 19 6Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),restaurant_menu:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M17.7472 5.05554C17.5824 4.84998 17.3481 4.68976 17.074 4.59515C16.8912 4.53203 16.696 4.5 16.5 4.5M16.5 4.5C16.4022 4.5 16.3042 4.50797 16.2074 4.52402C15.9164 4.57225 15.6491 4.6913 15.4393 4.86612C15.2296 5.04093 15.0867 5.26366 15.0288 5.50614C14.9709 5.74861 15.0006 5.99995 15.1142 6.22835C15.2277 6.45676 15.42 6.65199 15.6666 6.78934C15.9133 6.92669 16.2033 7 16.5 7C16.7967 7 17.0867 7.07331 17.3334 7.21066C17.58 7.34802 17.7723 7.54324 17.8858 7.77165C17.9994 8.00005 18.0291 8.25139 17.9712 8.49386C17.9133 8.73634 17.7704 8.95907 17.5607 9.13388C17.3509 9.3087 17.0836 9.42775 16.7926 9.47598C16.6958 9.49203 16.5978 9.5 16.5 9.5M16.5 4.5V4M15.2528 8.94446C15.4176 9.15003 15.6519 9.31024 15.926 9.40485C16.1088 9.46797 16.304 9.5 16.5 9.5M16.5 9.5V10",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M17.7472 15.0555C17.5824 14.85 17.3481 14.6898 17.074 14.5952C16.8912 14.532 16.696 14.5 16.5 14.5M16.5 14.5C16.4022 14.5 16.3042 14.508 16.2074 14.524C15.9164 14.5723 15.6491 14.6913 15.4393 14.8661C15.2296 15.0409 15.0867 15.2637 15.0288 15.5061C14.9709 15.7486 15.0006 15.9999 15.1142 16.2284C15.2277 16.4568 15.42 16.652 15.6666 16.7893C15.9133 16.9267 16.2033 17 16.5 17C16.7967 17 17.0867 17.0733 17.3334 17.2107C17.58 17.348 17.7723 17.5432 17.8858 17.7716C17.9994 18.0001 18.0291 18.2514 17.9712 18.4939C17.9133 18.7363 17.7704 18.9591 17.5607 19.1339C17.3509 19.3087 17.0836 19.4278 16.7926 19.476C16.6958 19.492 16.5978 19.5 16.5 19.5M16.5 14.5V14M15.2528 18.9445C15.4176 19.15 15.6519 19.3102 15.926 19.4049C16.1088 19.468 16.304 19.5 16.5 19.5M16.5 19.5V20",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M6 5H12M6 15H12M6 8H9M6 18H9",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M3 3C3 1.89543 3.89543 1 5 1H19C20.1046 1 21 1.89543 21 3V21C21 22.1046 20.1046 23 19 23H5C3.89543 23 3 22.1046 3 21V3Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),restaurant_menu_child:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M20.6208 8.58331C20.3736 8.27496 20.0222 8.03464 19.611 7.89273C19.3367 7.79804 19.0441 7.75 18.75 7.75M18.75 7.75C18.6033 7.75 18.4563 7.76195 18.311 7.78603C17.8746 7.85838 17.4737 8.03695 17.159 8.29918C16.8443 8.5614 16.6301 8.89549 16.5432 9.25921C16.4564 9.62292 16.501 9.99992 16.6713 10.3425C16.8416 10.6851 17.13 10.978 17.5 11.184C17.87 11.39 18.305 11.5 18.75 11.5C19.195 11.5 19.63 11.61 20 11.816C20.37 12.022 20.6584 12.3149 20.8287 12.6575C20.999 13.0001 21.0436 13.3771 20.9568 13.7408C20.8699 14.1045 20.6557 14.4386 20.341 14.7008C20.0263 14.963 19.6254 15.1416 19.189 15.214C19.0437 15.2381 18.8967 15.25 18.75 15.25M18.75 7.75V7M16.8792 14.4167C17.1264 14.725 17.4778 14.9654 17.889 15.1073C18.1633 15.202 18.4559 15.25 18.75 15.25M18.75 15.25V16M3 9.5H12M3 13H7.5M3 3H20.9568M3 21H20.9568",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),blockquote:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 7H17M7 11H9M17 11.8571C17 12.3305 16.6418 12.7143 16.2 12.7143C15.7582 12.7143 15.4 12.3305 15.4 11.8571C15.4 11.3838 15.7582 11 16.2 11C16.6418 11 17 11.3838 17 11.8571ZM17 11.8571C17 11.8571 17 13.1429 15.8 14M13.6 11.8571C13.6 12.3305 13.2418 12.7143 12.8 12.7143C12.3582 12.7143 12 12.3305 12 11.8571C12 11.3838 12.3582 11 12.8 11C13.2418 11 13.6 11.3838 13.6 11.8571ZM13.6 11.8571C13.6 11.8571 13.6 13.1429 12.4 14M3 21V5C3 3.89543 3.89543 3 5 3H19C20.1046 3 21 3.89543 21 5V16C21 17.1046 20.1046 18 19 18H7.66667C7.23393 18 6.81286 18.1404 6.46667 18.4L3 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),columns:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M15 3H19C20.1046 3 21 3.89543 21 5V19C21 20.1046 20.1046 21 19 21H15M15 3V21M15 3H9M15 21H9M9 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H9M9 3V21",fill:"none",stroke:"#fff",strokeWidth:1.4})),column:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 5C3 3.89543 3.89543 3 5 3H10C11.1046 3 12 3.89543 12 5V19C12 20.1046 11.1046 21 10 21H5C3.89543 21 3 20.1046 3 19V5Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M15 3H19C20.1046 3 21 3.89543 21 5V19C21 20.1046 20.1046 21 19 21H15",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeDasharray:1.4})),marketing_button:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 20.9895H17M4 16.9895H20",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M10 7H19M3 11H21C22.1046 11 23 10.1046 23 9V5C23 3.89543 22.1046 3 21 3H3C1.89543 3 1 3.89543 1 5V9C1 10.1046 1.89543 11 3 11ZM7 7C7 7.55228 6.55228 8 6 8C5.44772 8 5 7.55228 5 7C5 6.44772 5.44772 6 6 6C6.55228 6 7 6.44772 7 7Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),table_of_contents:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 16H13M7 12H15.3333M7 8H17M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),faq:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M9.00006 9C9.50006 8 10.5001 7 12.0001 7C13.5002 7 15.0001 8.5 15.0001 10C15.0001 11.4553 14.0588 12.4399 13.0843 12.8686C13.0248 12.8948 12.9619 12.9116 12.8992 12.9285C12.4001 13.0627 12.0001 13.4804 12.0001 14M12.0001 17H12.0101M21.0001 12C21.0001 16.9706 16.9706 21 12.0001 21C10.5124 21 9.1091 20.6391 7.87286 20C7.19356 19.6488 3.56466 21.5054 3 21C2.43678 20.4959 4.93748 17.6302 4.51561 17C3.55833 15.5699 3.00006 13.8501 3.00006 12C3.00006 7.02944 7.0295 3 12.0001 3C16.9706 3 21.0001 7.02944 21.0001 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),faq_child:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M12.0067 10.2C12.34 9.6 13.0067 9 14.0067 9C15.0067 9 16.0067 9.9 16.0067 10.8C16.0067 11.6628 15.394 12.2498 14.7527 12.5118C14.6977 12.5343 14.6397 12.5477 14.5824 12.5632C14.2608 12.6496 14.0067 12.8957 14.0067 13.2M14.0067 15H14.0133M11.0002 15H11.0069M8.00017 15H8.00684M21.0001 12C21.0001 16.9706 16.9706 21 12.0001 21C10.5124 21 9.1091 20.6391 7.87286 20C7.19356 19.6488 3.56466 21.5054 3 21C2.43678 20.4959 4.93748 17.6302 4.51561 17C3.55833 15.5699 3.00006 13.8501 3.00006 12C3.00006 7.02944 7.0295 3 12.0001 3C16.9706 3 21.0001 7.02944 21.0001 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),forms:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 10H17M7 7H10.5M9 17H15M7 13H17M13.5 7H17M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),how_to:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M13 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V11M13 3L21 11M13 3V9C13 10.1046 13.8954 11 15 11H21M10 11H17M10 7H13M10 15H17M7 7H7.1M7 11H7.1M7 15H7.1",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),how_to_step:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M23 12C23 13.1046 22.1046 14 21 14C19.8954 14 19 13.1046 19 12C19 10.8954 19.8954 10 21 10C22.1046 10 23 10.8954 23 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M5 12C5 13.1046 4.10457 14 3 14C1.89543 14 1 13.1046 1 12C1 10.8954 1.89543 10 3 10C4.10457 10 5 10.8954 5 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M7.5 12H7.6",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"}),Object(o.createElement)("path",{d:"M16.5 12H16.6",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),inline_notice:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 21H21M3 3H21M10 12H19M3 17H21C22.1046 17 23 16.1046 23 15V9C23 7.89543 22.1046 7 21 7H3C1.89543 7 1 7.89543 1 9V15C1 16.1046 1.89543 17 3 17ZM7 12C7 12.5523 6.55228 13 6 13C5.44772 13 5 12.5523 5 12C5 11.4477 5.44772 11 6 11C6.55228 11 7 11.4477 7 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),wp_search:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 21L9 15M7 10C7 13.866 10.134 17 14 17C17.866 17 21 13.866 21 10C21 6.13401 17.866 3 14 3C10.134 3 7 6.13401 7 10Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),taxonomy_list:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M10 16H17M10 12H15M10 8H17M6.98999 8H6.99999M6.98999 12H6.99999M6.98999 16H6.99999M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),review:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 10.5H17M9.5 7H9.51M6.99 7H7M12 7H12.01M7 14H14M12 21L14.4142 18.5858C14.7893 18.2107 15.298 18 15.8284 18H19C20.1046 18 21 17.1046 21 16V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V16C3 17.1046 3.89543 18 5 18H8.17157C8.70201 18 9.21071 18.2107 9.58579 18.5858L12 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),lottie:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M7 17C7 17 12 17.5 12 12C12 6.5 17 7 17 7M5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),accept:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M20 12H12M4 12L5.66667 14L9 10M3 17H21C22.1046 17 23 16.1046 23 15V9C23 7.89543 22.1046 7 21 7H3C1.89543 7 1 7.89543 1 9V15C1 16.1046 1.89543 17 3 17Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),checkbox:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M8 12L10.6667 15L16 9M5.77778 20H18.2222C19.2041 20 20 18.9767 20 17.7143V6.28571C20 5.02335 19.2041 4 18.2222 4H5.77778C4.79594 4 4 5.02335 4 6.28571V17.7143C4 18.9767 4.79594 20 5.77778 20Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),datepicker:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M8 7V3M16 7V3M8 13H8.1M11.9 13H12M16 13H16.1M5 21H19C20.1046 21 21 20.1046 21 19V7C21 5.89543 20.1046 5 19 5H5C3.89543 5 3 5.89543 3 7V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),email:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 8L10.8906 13.2604C11.5624 13.7083 12.4376 13.7083 13.1094 13.2604L21 8M5 19H19C20.1046 19 21 18.1046 21 17V7C21 5.89543 20.1046 5 19 5H5C3.89543 5 3 5.89543 3 7V17C3 18.1046 3.89543 19 5 19Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),hidden:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3.00024 3L6.5894 6.58916M21.0002 21L17.4114 17.4112M13.8751 18.8246C13.268 18.9398 12.6414 19 12.0007 19C7.52305 19 3.73275 16.0571 2.4585 12C2.80539 10.8955 3.33875 9.87361 4.02168 8.97118M9.87892 9.87868C10.4218 9.33579 11.1718 9 12.0002 9C13.6571 9 15.0002 10.3431 15.0002 12C15.0002 12.8284 14.6645 13.5784 14.1216 14.1213M9.87892 9.87868L14.1216 14.1213M9.87892 9.87868L6.5894 6.58916M14.1216 14.1213L6.5894 6.58916M14.1216 14.1213L17.4114 17.4112M6.5894 6.58916C8.14922 5.58354 10.0068 5 12.0007 5C16.4783 5 20.2686 7.94291 21.5429 12C20.836 14.2507 19.3548 16.1585 17.4114 17.4112",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),name:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M18 9H13M13 12H17M5 19H19C20.1046 19 21 18.1046 21 17V7C21 5.89543 20.1046 5 19 5H5C3.89543 5 3 5.89543 3 7V17C3 18.1046 3.89543 19 5 19ZM7 14H9C9.55228 14 10 13.5523 10 13V9C10 8.44772 9.55228 8 9 8H7C6.44772 8 6 8.44772 6 9V13C6 13.5523 6.44772 14 7 14Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),phone:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 5C3 3.89543 3.89543 3 5 3H8.27924C8.70967 3 9.09181 3.27543 9.22792 3.68377L10.7257 8.17721C10.8831 8.64932 10.6694 9.16531 10.2243 9.38787L7.96701 10.5165C9.06925 12.9612 11.0388 14.9308 13.4835 16.033L14.6121 13.7757C14.8347 13.3306 15.3507 13.1169 15.8228 13.2743L20.3162 14.7721C20.7246 14.9082 21 15.2903 21 15.7208V19C21 20.1046 20.1046 21 19 21H18C9.71573 21 3 14.2843 3 6V5Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),radio:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M12 7H22M12 17H22M8 7C8 8.65685 6.65685 10 5 10C3.34315 10 2 8.65685 2 7C2 5.34315 3.34315 4 5 4C6.65685 4 8 5.34315 8 7ZM8 17C8 18.6569 6.65685 20 5 20C3.34315 20 2 18.6569 2 17C2 15.3431 3.34315 14 5 14C6.65685 14 8 15.3431 8 17ZM5.5 7C5.5 7.27614 5.27614 7.5 5 7.5C4.72386 7.5 4.5 7.27614 4.5 7C4.5 6.72386 4.72386 6.5 5 6.5C5.27614 6.5 5.5 6.72386 5.5 7Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),select:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M5 17H17M5 14H19M4 9H20C21.1046 9 22 8.10457 22 7V5C22 3.89543 21.1046 3 20 3H4C2.89543 3 2 3.89543 2 5V7C2 8.10457 2.89543 9 4 9ZM4 21H20C21.1046 21 22 20.1046 22 19V12C22 10.8954 21.1046 10 20 10H4C2.89543 10 2 10.8954 2 12V19C2 20.1046 2.89543 21 4 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),textarea:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M15.5 16L18 13.5M18.5 16.5L18.6 16.4M5 19H19C20.1046 19 21 18.1046 21 17V7C21 5.89543 20.1046 5 19 5H5C3.89543 5 3 5.89543 3 7V17C3 18.1046 3.89543 19 5 19Z",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),toggle:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M2 12C2 8.68629 4.68629 6 8 6H16C19.3137 6 22 8.68629 22 12V12C22 15.3137 19.3137 18 16 18H8C4.68629 18 2 15.3137 2 12V12Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M20 12C20 14.2091 18.2091 16 16 16C13.7909 16 12 14.2091 12 12C12 9.79086 13.7909 8 16 8C18.2091 8 20 9.79086 20 12Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),url:Object(o.createElement)("svg",{width:24,height:24,role:"img",viewBox:"0 0 24 24",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M13.8284 10.1716C12.2663 8.60948 9.73367 8.60948 8.17157 10.1716L4.17157 14.1716C2.60948 15.7337 2.60948 18.2663 4.17157 19.8284C5.73367 21.3905 8.26633 21.3905 9.82843 19.8284L10.93 18.7269M10.1716 13.8284C11.7337 15.3905 14.2663 15.3905 15.8284 13.8284L19.8284 9.82843C21.3905 8.26633 21.3905 5.73367 19.8284 4.17157C18.2663 2.60948 15.7337 2.60948 14.1716 4.17157L13.072 5.27118",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round",strokeLinejoin:"round"})),star_rating:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M11.103 7.81696C11.4698 7.07371 12.5297 7.07371 12.8965 7.81696L13.8243 9.69697C13.97 9.99211 14.2516 10.1967 14.5773 10.244L16.652 10.5455C17.4722 10.6647 17.7997 11.6726 17.2062 12.2512L15.7049 13.7146C15.4692 13.9443 15.3617 14.2753 15.4173 14.5997L15.7717 16.666C15.9118 17.4829 15.0544 18.1059 14.3208 17.7202L12.4651 16.7446C12.1738 16.5915 11.8257 16.5915 11.5344 16.7446L9.67874 17.7202C8.94511 18.1059 8.08768 17.4829 8.22779 16.666L8.58219 14.5997C8.63783 14.2753 8.53028 13.9443 8.29459 13.7146L6.79332 12.2512C6.1998 11.6726 6.52731 10.6647 7.34753 10.5455L9.42225 10.244C9.74796 10.1967 10.0295 9.99211 10.1752 9.69697L11.103 7.81696Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M18.4424 14.106L20.1846 14.8943C21.0283 15.2761 21.9613 14.5667 21.7842 13.6782L21.6155 12.8313C21.5377 12.4411 21.6806 12.0403 21.99 11.7808L22.6034 11.2662C23.3499 10.6399 22.9822 9.44941 22.0043 9.32712L20.8958 9.18848C20.5373 9.14365 20.2219 8.93603 20.0458 8.62895L19.4377 7.56859C19.003 6.81047 17.8817 6.81047 17.447 7.56859L16.559 9.11719M5.55765 14.106L3.8154 14.8943C2.97172 15.2761 2.0387 14.5667 2.21577 13.6782L2.38454 12.8313C2.46229 12.4411 2.3194 12.0403 2.01002 11.7808L1.39664 11.2662C0.650069 10.6399 1.01784 9.44941 1.99569 9.32712L3.1042 9.18848C3.46273 9.14365 3.77814 8.93603 3.95423 8.62895L4.56227 7.56859C4.997 6.81047 6.11829 6.81047 6.55302 7.56859L7.44104 9.11719",fill:"none",stroke:"#fff",strokeWidth:1.4,strokeLinecap:"round"})),container:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 16C3 14.8954 3.89543 14 5 14H8C9.10457 14 10 14.8954 10 16V19C10 20.1046 9.10457 21 8 21H5C3.89543 21 3 20.1046 3 19V16Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M14 16C14 14.8954 14.8954 14 16 14H19C20.1046 14 21 14.8954 21 16V19C21 20.1046 20.1046 21 19 21H16C14.8954 21 14 20.1046 14 19V16Z",fill:"none",stroke:"#fff",strokeWidth:1.4}),Object(o.createElement)("path",{d:"M3 5C3 3.89543 3.89543 3 5 3H19C20.1046 3 21 3.89543 21 5V8C21 9.10457 20.1046 10 19 10H5C3.89543 10 3 9.10457 3 8V5Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),image:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M3 17L7.41995 12.58C8.26284 11.7372 9.65125 11.8141 10.3959 12.7449L11.789 14.4863C12.4639 15.3298 13.6866 15.4851 14.5508 14.8369L15.6123 14.0408C16.4086 13.4436 17.5228 13.5228 18.2265 14.2265L21 17M17 8C17 8.55228 16.5523 9 16 9C15.4477 9 15 8.55228 15 8C15 7.44772 15.4477 7 16 7C16.5523 7 17 7.44772 17 8ZM5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21Z",fill:"none",stroke:"#fff",strokeWidth:1.4})),post_title:Object(o.createElement)("svg",{width:20,height:20},Object(o.createElement)("path",{fill:"#1d2327",d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM1.381 7.588h4.825v4.825h-4.825v-4.825zM7.588 7.588h4.825v4.825h-4.825v-4.825zM12.413 1.381v4.825h-4.825v-4.825h4.825zM6.206 1.381v4.825h-4.825v-4.825h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-4.826h4.825v4.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),quote_1:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M15.581 10.226h-15.162c-0.233 0-0.419 0.37-0.419 0.826 0 0.458 0.186 0.828 0.419 0.828h15.161c0.233 0 0.419-0.37 0.419-0.828 0.001-0.455-0.186-0.826-0.418-0.826v0z"}),Object(o.createElement)("path",{d:"M15.581 14.285h-15.162c-0.233 0-0.419 0.373-0.419 0.827 0 0.458 0.186 0.826 0.419 0.826h15.161c0.233 0 0.419-0.369 0.419-0.826 0.001-0.454-0.186-0.827-0.418-0.827v0z"}),Object(o.createElement)("path",{d:"M15.581 18.346h-15.162c-0.233 0-0.419 0.37-0.419 0.826 0 0.459 0.186 0.828 0.419 0.828h15.161c0.233 0 0.419-0.369 0.419-0.828 0.001-0.455-0.186-0.826-0.418-0.826v0z"}),Object(o.createElement)("path",{d:"M9.126 0.595c-0.46 0.465-0.974 1.35-0.835 3.042 0.081 1.319 0.666 3.29 3.048 5.216 0.112 0.090 0.241 0.136 0.38 0.136 0.183 0 0.362-0.086 0.487-0.251 0.214-0.283 0.164-0.683-0.113-0.902-1.935-1.566-2.458-3.105-2.551-4.154 0.274 0.156 0.582 0.258 0.913 0.258 1.045 0 1.89-0.886 1.89-1.972 0-1.088-0.846-1.966-1.89-1.966-0.233 0-0.451 0.062-0.657 0.143l0.004-0.011-0.218 0.101-0.018 0.011-0.007 0.006-0.299 0.214-0.134 0.131z"}),Object(o.createElement)("path",{d:"M4.517 0.595c-0.465 0.465-0.974 1.35-0.841 3.042 0.085 1.319 0.671 3.29 3.049 5.216 0.116 0.090 0.245 0.136 0.383 0.136 0.178 0 0.366-0.086 0.487-0.251 0.214-0.283 0.165-0.683-0.108-0.902-1.939-1.566-2.467-3.105-2.56-4.154 0.278 0.156 0.584 0.258 0.92 0.258 1.046 0 1.885-0.886 1.885-1.972 0-1.088-0.845-1.966-1.885-1.966-0.236 0-0.447 0.062-0.657 0.143l0.010-0.011-0.218 0.101-0.022 0.011-0.009 0.006-0.305 0.214-0.129 0.13z"})),quote_2:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M4.599 6.686c-0.39 0.397-0.822 1.149-0.705 2.586 0.068 1.123 0.561 2.799 2.561 4.434 0.096 0.080 0.205 0.115 0.321 0.115 0.153 0 0.306-0.071 0.409-0.214 0.181-0.239 0.135-0.58-0.095-0.766-1.626-1.332-2.066-2.639-2.144-3.531 0.231 0.132 0.488 0.218 0.769 0.218 0.874 0 1.587-0.753 1.587-1.677s-0.711-1.672-1.587-1.672c-0.196 0-0.38 0.054-0.552 0.121l0.003-0.010-0.184 0.085-0.016 0.010-0.006 0.006-0.252 0.181-0.109 0.114z"}),Object(o.createElement)("path",{d:"M0.725 6.686c-0.389 0.397-0.821 1.149-0.706 2.586 0.068 1.123 0.562 2.799 2.56 4.434 0.094 0.077 0.204 0.114 0.322 0.114 0.151 0 0.31-0.073 0.409-0.213 0.177-0.239 0.136-0.582-0.090-0.767-1.63-1.332-2.072-2.639-2.149-3.531 0.23 0.132 0.486 0.218 0.772 0.218 0.879 0 1.583-0.753 1.583-1.677s-0.71-1.672-1.583-1.672c-0.199 0-0.378 0.054-0.554 0.121l0.008-0.010-0.184 0.085-0.018 0.010-0.009 0.006-0.253 0.182-0.108 0.114z"}),Object(o.createElement)("path",{d:"M19.25 6.929h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"}),Object(o.createElement)("path",{d:"M19.25 10.75h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"}),Object(o.createElement)("path",{d:"M19.25 14.571h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"})),quote_inline_icon:Object(o.createElement)("svg",{width:20,height:20,viewBox:"0 0 32 32"},Object(o.createElement)("path",{d:"M7.031 14c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7l-0.031-1c0-7.732 6.268-14 14-14v4c-2.671 0-5.182 1.040-7.071 2.929-0.364 0.364-0.695 0.751-0.995 1.157 0.357-0.056 0.724-0.086 1.097-0.086zM25.031 14c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7l-0.031-1c0-7.732 6.268-14 14-14v4c-2.671 0-5.182 1.040-7.071 2.929-0.364 0.364-0.695 0.751-0.995 1.157 0.358-0.056 0.724-0.086 1.097-0.086z"})),quote_tweet_icon:Object(o.createElement)("svg",{width:20,height:20,viewBox:"0 0 512 512"},Object(o.createElement)("path",{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})),at_the_rate:Object(o.createElement)("svg",{width:30,height:30,className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M5.605 17.2c0-2.131 0.499-4.074 1.499-5.829 1-1.754 2.395-3.136 4.19-4.15 1.794-1.013 3.81-1.52 6.046-1.52 2.712 0 4.901 0.773 6.562 2.323 1.662 1.549 2.493 3.589 2.493 6.118 0 2.051-0.542 3.786-1.626 5.202-1.088 1.418-2.304 2.125-3.656 2.125-0.781 0-1.355-0.232-1.717-0.696-0.365-0.462-0.533-1.037-0.506-1.726-1.006 1.614-2.378 2.422-4.11 2.422-1.39 0-2.507-0.539-3.347-1.619-0.842-1.077-1.142-2.442-0.904-4.088 0.237-1.65 0.946-2.982 2.125-4.002 1.179-1.021 2.509-1.53 3.992-1.53s2.638 0.518 3.467 1.558c0.829 1.040 1.122 2.322 0.883 3.843l-0.494 3.2c-0.094 0.739 0.165 1.11 0.77 1.11 0.77 0 1.502-0.56 2.205-1.678 0.701-1.12 1.054-2.493 1.054-4.122 0-2.106-0.656-3.787-1.966-5.046-1.312-1.258-3.133-1.886-5.462-1.886-2.794 0-5.098 0.96-6.91 2.88-1.814 1.92-2.722 4.29-2.722 7.109 0 2.382 0.738 4.227 2.214 5.533 1.477 1.302 3.459 1.989 5.947 2.056l-0.376 1.509c-2.862-0.069-5.184-0.899-6.971-2.494-1.787-1.594-2.68-3.794-2.68-6.602zM19.15 15.85c0.17-1.15-0.014-2.118-0.558-2.899-0.542-0.781-1.28-1.173-2.214-1.173-0.933 0-1.79 0.392-2.571 1.173s-1.259 1.749-1.43 2.899c-0.171 1.152 0.013 2.122 0.557 2.91 0.542 0.787 1.282 1.181 2.214 1.181s1.79-0.394 2.573-1.181c0.781-0.789 1.256-1.758 1.43-2.91z"})),top_align:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M1.5 0.438v2.125h17v-2.125h-17zM5.75 8.938h3.188v10.625h2.125v-10.625h3.187l-4.25-4.25-4.25 4.25z"})),middle_align:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M18.5 11.063v-2.125h-17v2.125h17z"}),Object(o.createElement)("path",{d:"M12.707 3.519l-2.707-2.707-2.707 2.707h2.030v4.368h1.354v-4.368h2.030z"}),Object(o.createElement)("path",{d:"M7.293 16.48l2.707 2.707 2.707-2.707h-2.030v-4.368h-1.354v4.368h-2.030z"})),bottom_align:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M18.5 20v-2.125h-17v2.125h17zM14.25 11.5h-3.187v-10.625h-2.125v10.625h-3.188l4.25 4.25 4.25-4.25z"})),carousel_left:Object(o.createElement)("svg",{width:20,height:20,viewBox:"0 0 256 512",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"})),carousel_right:Object(o.createElement)("svg",{width:20,height:20,viewBox:"0 0 256 512",className:"uagb-editor-icons"},Object(o.createElement)("path",{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"})),top_margin:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#999",d:"M17 1c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17 0h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),Object(o.createElement)("path",{fill:"#575E67",d:"M17 0.984h-14c-1.103 0-2 0.897-2 2v0.797h18v-0.797c0-1.103-0.897-2-2-2z"})),bottom_margin:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#999",d:"M17 1c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17 0h-14c-1.657 0-3 1.343-3 3v14c0 1.656 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),Object(o.createElement)("path",{fill:"#575E67",d:"M3 19.016h14c1.103 0 2-0.896 2-2v-0.797h-18v0.797c0 1.103 0.897 2 2 2z"})),left_margin:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.656 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),Object(o.createElement)("path",{fill:"#575E67",d:"M0.984 2.999v14c0 1.103 0.896 2 2 2h0.797v-18h-0.797c-1.104 0-2 0.897-2 2z"})),right_margin:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.656 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),Object(o.createElement)("path",{fill:"#575E67",d:"M19.015 16.999v-14c0-1.103-0.896-2-2-2h-0.797v18h0.797c1.104 0 2-0.896 2-2z"})),vertical_spacing:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.656-1.343-3-3-3v0z"}),Object(o.createElement)("path",{fill:"#575E67",d:"M17 0.983h-14c-1.103 0-2 0.896-2 2v0.797h18v-0.797c0-1.103-0.896-2-2-2z"}),Object(o.createElement)("path",{fill:"#575E67",d:"M3 19.031h14c1.103 0 2-0.896 2-2v-0.797h-18v0.797c0 1.104 0.896 2 2 2z"})),horizontal_spacing:Object(o.createElement)("svg",{width:20,height:20,className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.656 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),Object(o.createElement)("path",{fill:"#575E67",d:"M19.016 16.999v-14c0-1.103-0.896-2-2-2h-0.797v18h0.797c1.103 0 2-0.896 2-2z"}),Object(o.createElement)("path",{fill:"#575E67",d:"M0.968 2.999v14c0 1.103 0.896 2 2 2h0.797v-18h-0.797c-1.104 0-2 0.897-2 2z"})),form1:Object(o.createElement)("svg",{width:20,height:20,role:"img",viewBox:"0 0 58 58",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M41.5,2.1H7.8C4,2.1,1,5.2,1,8.9v40.5c0,3.7,3,6.8,6.8,6.8h18.6v-3.4H7.8c-1.9,0-3.4-1.5-3.4-3.4V8.9c0-1.9,1.5-3.4,3.4-3.4h33.8c1.9,0,3.4,1.5,3.4,3.4v19.8l3.4-3.4V8.9C48.3,5.2,45.2,2.1,41.5,2.1z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M38.1,15.6h-27v-3.4h27V15.6z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M38.1,23h-27v-3.4h27V23z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M35.2,29.6H13.5v-2.7h21.7V29.6z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M35.2,35.4H13.5v-2.7h21.7V35.4z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M35.2,27.8v6.3h-2.7v-6.3H35.2z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M16.2,27.9v6.3h-2.7v-6.3H16.2z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M43.4,31.9c-0.7,0.4-1.2,1-1.4,1.8c-0.9-0.3-1.9-0.1-2.7,0.3c-0.7,0.4-1.2,1-1.4,1.8c-0.9-0.3-1.9-0.1-2.7,0.3c-0.4,0.4-0.8,0.7-1.1,1.3L31,34c-1.1-1.3-3-1.5-4.4-0.7c-0.8,0.6-1.4,1.4-1.5,2.4c-0.1,1,0.1,2,0.8,2.8l4,4.5c-0.7,0.3-1.2,0.6-1.8,1.2c-0.4,0.5-0.9,1.2-1,1.9c0,0.3,0.1,0.6,0.3,0.9l5.8,6.5c4.3,4.8,11.6,5.5,16.5,1.6c0.2-0.1,0.3-0.2,0.4-0.4c0.1-0.1,0.3-0.2,0.3-0.3c5-4.7,5.2-12.9,0.4-18.3l-3-3.4C46.7,31.4,44.8,31.1,43.4,31.9z M49.1,37.5c4,4.5,3.8,11.2-0.3,15.2c-0.3,0.2-0.4,0.4-0.7,0.6c-3.8,3.1-9.9,2.4-13.3-1.4l-5.3-6c0-0.2,0.1-0.2,0.2-0.3c0.3-0.3,0.7-0.5,1.3-0.6c0.5,0,0.9,0.2,1.2,0.6l4.1,4.6c0.4,0.5,1.1,0.5,1.6,0.1s0.5-1.1,0.1-1.6l-4.1-4.6l-1.1-1.3l-5.2-5.9c-0.2-0.3-0.4-0.6-0.3-1c0-0.3,0.3-0.5,0.5-0.8c0.4-0.2,1.1-0.1,1.5,0.3l5.2,5.8l1.5,1.7c0.4,0.5,1.1,0.5,1.6,0.1c0.5-0.4,0.5-1.1,0.1-1.6l-1.5-1.7c-0.2-0.3-0.4-0.6-0.3-1c0-0.3,0.2-0.6,0.5-0.8c0.5-0.3,1.1-0.1,1.5,0.3l0.7,0.8l0.7,0.8c0.4,0.5,1.1,0.5,1.6,0.1c0.5-0.4,0.5-1.1,0.1-1.6l-0.7-0.8c-0.2-0.3-0.4-0.6-0.3-1c0-0.3,0.2-0.6,0.5-0.8c0.5-0.3,1.1-0.1,1.5,0.3l0.7,0.8l0.7,0.8c0.4,0.5,1.1,0.5,1.6,0.1c0.5-0.4,0.5-1.1,0.1-1.6l-0.7-0.8c-0.2-0.3-0.4-0.6-0.3-1c0-0.3,0.2-0.6,0.5-0.8l0,0c0.5-0.3,1.1-0.1,1.5,0.3L49.1,37.5L49.1,37.5z"})),form2:Object(o.createElement)("svg",{width:20,height:20,role:"img",viewBox:"0 0 58 58",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M44.4,5.6H10.9c-4.1,0-7.4,3.3-7.4,7.4v33.5c0,4.1,3.3,7.4,7.4,7.4h15.4l3.7-1.9l-3.7-1.9H10.9c-2.1,0-3.7-1.7-3.7-3.7V13.1c0-2.1,1.7-3.7,3.7-3.7h33.5c2.1,0,3.7,1.7,3.7,3.7v30l0.1-0.1c0.4-2.3,1.7-4.4,3.6-5.7V13.1C51.9,9,48.5,5.6,44.4,5.6z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M14.7,19.6h26.1v-3.7H14.7V19.6z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M14.7,27h26.1v-3.7H14.7V27z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M14.7,34.5h26.1v-3.7H14.7V34.5z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M56.2,45l0-3.7c0-1-0.4-2-1.1-2.6c-0.7-0.7-1.6-1.1-2.6-1.1l-22.6,0.2c-1,0-4.6,0.5-5.3,1.1l-7.1,4.6l7.2,4.4c0,0,4.2,1,5.3,1l22.6-0.2C54.5,48.7,56.2,47,56.2,45z M29.9,47.1c-0.3,0-1.2-0.2-2.2-0.4l-0.1-6.8c0.8-0.1,1.7-0.2,2.2-0.2l17-0.2l0.1,7.4L29.9,47.1z"})),form3:Object(o.createElement)("svg",{width:20,height:20,role:"img",viewBox:"0 0 58 58",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M41.5,46.1h-27v-3.4h27V46.1z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M20.7,26.3l10.1,10.1l21.2-21.2L41.8,5.1L20.7,26.3z M44.2,12.8c0.7,0.7,0.7,1.8,0,2.5L32,27.6c-0.3,0.4-0.8,0.5-1.3,0.5c-0.5,0-0.9-0.2-1.3-0.5c-0.7-0.7-0.7-1.8,0-2.5l12.3-12.3C42.4,12.1,43.5,12.1,44.2,12.8z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M56,5.8l-4.8-4.8c-1.4-1.4-3.9-1.4-5.3,0l-1.6,1.6l10.1,10.1l1.5-1.5C57.4,9.7,57.4,7.3,56,5.8z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M46.9,56.3H4.6c-1,0-1.8-0.8-1.8-1.8V9.7c0-1,0.8-1.8,1.8-1.8H33c1,0,1.8,0.8,1.8,1.8c0,1-0.8,1.8-1.8,1.8H6.5v41.1h40.4c1.4,0,2.6-1.2,2.6-2.6V26.9c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8V50C53.2,53.5,50.4,56.3,46.9,56.3z"})),close:Object(o.createElement)("svg",{width:8,height:8,viewBox:"0 0 6 6",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M5.91683 0.5875L5.32933 0L3.00016 2.32917L0.670996 0L0.0834961 0.5875L2.41266 2.91667L0.0834961 5.24583L0.670996 5.83333L3.00016 3.50417L5.32933 5.83333L5.91683 5.24583L3.58766 2.91667L5.91683 0.5875Z"})),add:Object(o.createElement)("svg",{width:8,height:8,viewBox:"0 0 8 8",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M4.35613 0.231675L3.52528 0.231675V3.52561L0.231343 3.52561V4.35647L3.52528 4.35647V7.65041L4.35613 7.65041L4.35613 4.35647H7.65007V3.52561H4.35613L4.35613 0.231675Z"})),video_placeholder:Object(o.createElement)("svg",{width:24,height:24,viewBox:"0 0 512 512",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256zM176 168V344C176 352.7 180.7 360.7 188.3 364.9C195.8 369.2 205.1 369 212.5 364.5L356.5 276.5C363.6 272.1 368 264.4 368 256C368 247.6 363.6 239.9 356.5 235.5L212.5 147.5C205.1 142.1 195.8 142.8 188.3 147.1C180.7 151.3 176 159.3 176 168V168z"})),bg_color:Object(o.createElement)("svg",{width:11,height:10,viewBox:"0 0 11 10",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M10.6927 1.08247C10.6927 1.08247 10.8502 0.615805 10.5119 0.289139C10.2027 -0.0141947 9.80023 0.149139 9.80023 0.149139C9.4444 0.324139 6.44023 2.17331 5.32606 3.39831C4.8244 3.95831 4.12439 5.60914 4.69023 6.20997C5.2269 6.78164 7.00023 6.11081 7.4844 5.62664C8.68606 4.42497 10.5236 1.44414 10.6927 1.08247ZM0.816895 9.29581C2.19939 8.38581 1.66856 7.30664 2.70106 6.58914C3.24356 6.20997 3.99606 6.22747 4.49773 6.75831C4.86523 7.14914 4.9644 8.25747 4.4044 8.77664C3.48856 9.62247 2.07106 9.68081 0.816895 9.29581Z"})),bg_gradient:Object(o.createElement)("svg",{width:12,height:12,viewBox:"0 0 10 10",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",fillRule:"evenodd",clipRule:"evenodd",d:"M1.11111 1.11111V8.88889H8.88889V1.11111H1.11111ZM0.555556 0C0.248731 0 0 0.248731 0 0.555556V9.44444C0 9.75127 0.248731 10 0.555556 10H9.44444C9.75127 10 10 9.75127 10 9.44444V0.555556C10 0.248731 9.75127 0 9.44444 0H0.555556Z"}),Object(o.createElement)("path",{fill:"#1d2327",d:"M1.66667 1.66667H7.77778L1.66667 7.77778V1.66667Z"})),bg_image:Object(o.createElement)("svg",{width:14,height:14,viewBox:"0 0 14 14",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M1.5752 0.699951H12.4252C12.9082 0.699951 13.3002 1.09195 13.3002 1.57495V12.425C13.3002 12.908 12.9082 13.3 12.4252 13.3H1.5752C1.0922 13.3 0.700195 12.908 0.700195 12.425V1.57495C0.700195 1.09195 1.0922 0.699951 1.5752 0.699951ZM11.9002 11.9V2.09995H2.1002V11.9H11.9002ZM7.0002 4.19995C7.0002 3.42995 6.3702 2.79995 5.6002 2.79995C4.8302 2.79995 4.2002 3.42995 4.2002 4.19995C4.2002 4.96995 4.8302 5.59995 5.6002 5.59995C6.3702 5.59995 7.0002 4.96995 7.0002 4.19995ZM9.1002 7.69995C9.1002 7.69995 9.1002 3.49995 11.2002 3.49995V10.5C11.2002 10.885 10.8852 11.2 10.5002 11.2H3.5002C3.1152 11.2 2.8002 10.885 2.8002 10.5V5.59995C4.2002 5.59995 4.9002 8.39995 4.9002 8.39995C4.9002 8.39995 5.6002 6.29995 7.0002 6.29995C8.4002 6.29995 9.1002 7.69995 9.1002 7.69995Z"})),bg_video:Object(o.createElement)("svg",{width:14,height:8,viewBox:"0 0 14 8",className:"uagb-editor-icons"},Object(o.createElement)("path",{fill:"#1d2327",d:"M8.4002 6.1V1.9C8.4002 1.13 7.7702 0.5 7.0002 0.5H2.1002C1.3302 0.5 0.700195 1.13 0.700195 1.9V6.1C0.700195 6.87 1.3302 7.5 2.1002 7.5H7.0002C7.7702 7.5 8.4002 6.87 8.4002 6.1ZM9.1002 4.35L13.3002 7.5V0.5L9.1002 3.65V4.35Z"}))},Ui=function(e){var t,a=e.onSelectImage,n=e.backgroundImage,i=e.onRemoveImage,l=e.showVideoInput,r=e.label,u=e.disableRemove,c=void 0!==u&&u,s=e.allow,b=void 0===s?["image"]:s,p="stroke",f=Object(v.__)("Image","ultimate-addons-for-gutenberg"),g=Object(v.__)("Select Image","ultimate-addons-for-gutenberg"),d=Object(v.__)("Change Image","ultimate-addons-for-gutenberg"),m=["image"];l&&(f=Object(v.__)("Video","ultimate-addons-for-gutenberg"),g=Object(v.__)("Select Video","ultimate-addons-for-gutenberg"),d=Object(v.__)("Change Video","ultimate-addons-for-gutenberg"),m=["video"],t=Wi.video_placeholder,p="fill"),f=r||f,f=!1===r?r:f,"Lottie Animation"===r&&(g=Object(v.__)("Select Lottie Animation","ultimate-addons-for-gutenberg"),d=Object(v.__)("Change Lottie Animation","ultimate-addons-for-gutenberg"),m=b,t=Wi.lottie);var h=function(e){return Object(o.createElement)("div",{className:"spectra-media-control__button spectra-media-control__button--".concat(e)},Wi[e])};return Object(o.createElement)(w.BaseControl,{className:"spectra-media-control",id:"uagb-option-selector-".concat(r),label:f},Object(o.createElement)("div",{className:"spectra-media-control__wrapper",style:{backgroundImage:!t&&(null==n?void 0:n.url)&&'url("'.concat(function(e){var t=e;switch(/(?:\.([^.]+))?$/.exec(String(t))[1]){case"json":t="";break;case"avi":case"mpg":case"mp4":case"m4v":case"mov":case"ogv":case"vtt":case"wmv":case"3gp":case"3g2":t=""}return t}(null==n?void 0:n.url),'")')}},t&&(null==n?void 0:n.url)&&Object(o.createElement)("div",{className:"spectra-media-control__icon spectra-media-control__icon--".concat(p)},t),Object(o.createElement)(y.MediaUpload,{title:g,onSelect:a,allowedTypes:m,value:n,render:function(e){return t=e.open,a=null!=n&&n.url?"replace":"add",Object(o.createElement)("button",{className:"spectra-media-control__clickable spectra-media-control__clickable--".concat(a),onClick:t},"add"===a?h(a):Object(o.createElement)("div",{className:"uag-control-label"},d));var t,a}}),!c&&(null==n?void 0:n.url)&&Object(o.createElement)("button",{className:"spectra-media-control__clickable spectra-media-control__clickable--close",onClick:i},h("close"))),e.help&&Object(o.createElement)("p",{className:"uag-control-help-notice"},e.help))},qi=function(e){var t,a,n,i,l,r,u=g(),c={},s=K(null===(t=e.data.desktop.unit)||void 0===t?void 0:t.value,e,!0),b=K(null===(a=e.data.tablet.unit)||void 0===a?void 0:a.value,e,!0),p=K(null===(n=e.data.mobile.unit)||void 0===n?void 0:n.value,e,!0),f=J(null===(i=e.data.desktop.unit)||void 0===i?void 0:i.value,e,!0),d=J(null===(l=e.data.tablet.unit)||void 0===l?void 0:l.value,e,!0),m=J(null===(r=e.data.mobile.unit)||void 0===r?void 0:r.value,e,!0);return c.Desktop=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(xe,h()({},e,{label:e.label,value:isNaN(e.data.desktop.value)?"":e.data.desktop.value,data:{value:e.data.desktop.value,label:e.data.desktop.label},onChange:!(null==e||!e.onChange)&&function(t){null!=e&&e.onChange&&e.onChange(t)},min:f,max:s,unit:e.data.desktop.unit||e.unit,responsive:!0,units:e.units}))),c.Tablet=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(xe,h()({},e,{label:e.label,value:isNaN(e.data.tablet.value)?"":e.data.tablet.value,data:{value:e.data.tablet.value,label:e.data.tablet.label},onChange:!(null==e||!e.onChange)&&function(t){null!=e&&e.onChange&&e.onChange(t)},min:d,max:b,unit:e.data.tablet.unit||e.unit,responsive:!0,units:e.units}))),c.Mobile=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(xe,h()({},e,{label:e.label,value:isNaN(e.data.mobile.value)?"":e.data.mobile.value,data:{value:e.data.mobile.value,label:e.data.mobile.label},onChange:!(null==e||!e.onChange)&&function(t){null!=e&&e.onChange&&e.onChange(t)},min:m,max:p,unit:e.data.mobile.unit||e.unit,responsive:!0,units:e.units}))),Object(o.createElement)("div",{className:"components-base-control uagb-responsive-range"},Object(o.createElement)("div",{className:"uagb-responsive-control-inner"},c[u]?c[u]:c.Desktop))},Gi=a(30),Zi=0,Ki={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},Ji={};Ji.locals=Gi.a.locals||{},Ji.use=function(){return Zi++||(Ri=E()(Gi.a,Ki)),Ji},Ji.unuse=function(){Zi>0&&!--Zi&&(Ri(),Ri=null)};var Yi=Ji,$i=function(e){Object(b.useLayoutEffect)((function(){return Yi.use(),function(){Yi.unuse()}}),[]);var t=e.label,a=e.data,n=e.setAttributes,i=e.options,l=g(),r={};return r.Desktop=Object(o.createElement)(w.SelectControl,{value:a.desktop.value,onChange:function(e){return n(_()({},a.desktop.label,e))},options:i.desktop}),r.Tablet=Object(o.createElement)(w.SelectControl,{value:a.tablet.value,onChange:function(e){return n(_()({},a.tablet.label,e))},options:i.tablet||i.desktop}),r.Mobile=Object(o.createElement)(w.SelectControl,{value:a.mobile.value,onChange:function(e){return n(_()({},a.mobile.label,e))},options:i.mobile||i.desktop}),Object(o.createElement)("div",{className:"components-base-control uagb-responsive-select-control"},Object(o.createElement)("div",{className:"uagb-size-type-field-tabs"},Object(o.createElement)("div",{className:"uagb-control__header"},Object(o.createElement)(I,{label:t,responsive:!0})),r[l]?r[l]:r.Desktop),e.help&&Object(o.createElement)("p",{className:"uag-control-help-notice"},e.help))},Qi=function(e){var t=e.backgroundImage,a=e.setAttributes,n=g(),i=n.toLowerCase(),l=function(e){e&&e.url&&e.type&&"image"===e.type?a(_()({},t[i].label,e)):a(_()({},t[i].label,null))},r=function(){a(_()({},t[i].label,""))},u={};return u.Desktop=Object(o.createElement)(Ui,{onSelectImage:l,backgroundImage:t.desktop.value,onRemoveImage:r,label:!1}),u.Tablet=Object(o.createElement)(Ui,{onSelectImage:l,backgroundImage:t.tablet.value,onRemoveImage:r,label:!1}),u.Mobile=Object(o.createElement)(Ui,{onSelectImage:l,backgroundImage:t.mobile.value,onRemoveImage:r,label:!1}),Object(o.createElement)("div",{className:"uag-responsive-image-select components-base-control uagb-responsive-select-control"},Object(o.createElement)("div",{className:"uagb-size-type-field-tabs"},Object(o.createElement)("div",{className:"uagb-control__header"},Object(o.createElement)(I,{label:Object(v.__)("Image","ultimate-addons-for-gutenberg"),responsive:!0})),u[n]?u[n]:u.Desktop),e.help&&Object(o.createElement)("p",{className:"uag-control-help-notice"},e.help))},Xi=function(e){var t,a,n,i=e.backgroundPosition,l=e.backgroundImage,r=e.setAttributes,u=g(),c=u.toLowerCase(),s={},b=null===(t=l[c])||void 0===t||null===(a=t.value)||void 0===a?void 0:a.url,p=null===(n=i[c])||void 0===n?void 0:n.value;return s.Desktop=Object(o.createElement)(w.FocalPointPicker,{url:b,value:p,onChange:function(e){var t;r(_()({},null===(t=i[c])||void 0===t?void 0:t.label,e))}}),s.Tablet=Object(o.createElement)(w.FocalPointPicker,{url:b,value:p,onChange:function(e){var t;r(_()({},null===(t=i[c])||void 0===t?void 0:t.label,e))}}),s.Mobile=Object(o.createElement)(w.FocalPointPicker,{url:b,value:p,onChange:function(e){var t;r(_()({},null===(t=i[c])||void 0===t?void 0:t.label,e))}}),Object(o.createElement)("div",{className:"components-base-control uagb-responsive-select-control"},Object(o.createElement)("div",{className:"uagb-size-type-field-tabs"},Object(o.createElement)("div",{className:"uagb-control__header"},Object(o.createElement)(I,{label:Object(v.__)("Position","ultimate-addons-for-gutenberg"),responsive:!0})),s[u]?s[u]:s.Desktop),e.help&&Object(o.createElement)("p",{className:"uag-control-help-notice"},e.help))},el=function(e){var t,a;Object(b.useLayoutEffect)((function(){return Fi.use(),function(){Fi.unuse()}}),[]);var n=g().toLowerCase(),i=e.setAttributes,l=e.backgroundImageColor,r=e.overlayType,u=e.backgroundSize,c=e.backgroundRepeat,s=e.backgroundAttachment,p=e.backgroundPosition,f=e.backgroundImage,d=e.backgroundColor,m=e.backgroundVideoType,h=e.backgroundType,y=e.backgroundVideo,x=e.backgroundVideoColor,O=e.onOpacityChange,E=e.backgroundCustomSize,k=e.backgroundCustomSizeType,C=e.imageResponsive,j=e.gradientOverlay,T=e.customPosition,M=e.xPositionDesktop,S=e.xPositionTablet,D=e.xPositionMobile,L=e.xPositionType,P=e.xPositionTypeTablet,B=e.xPositionTypeMobile,F=e.yPositionDesktop,A=e.yPositionTablet,N=e.yPositionMobile,H=e.yPositionType,z=e.yPositionTypeTablet,R=e.yPositionTypeMobile,V=e.backgroundVideoOpacity,I=[];I=[{value:"none",label:Object(v.__)("None","ultimate-addons-for-gutenberg")},{value:"color",label:Object(v.__)("Classic","ultimate-addons-for-gutenberg")}],j.value&&I.push({value:"gradient",label:Object(v.__)("Gradient","ultimate-addons-for-gutenberg")});var W=[{value:"color",icon:Wi.bg_color,tooltip:Object(v.__)("Color","ultimate-addons-for-gutenberg")},{value:"gradient",icon:Wi.bg_gradient,tooltip:Object(v.__)("Gradient","ultimate-addons-for-gutenberg")},{value:"image",icon:Wi.bg_image,tooltip:Object(v.__)("Image","ultimate-addons-for-gutenberg")}],U=[{value:"auto",label:Object(v.__)("Auto","ultimate-addons-for-gutenberg")},{value:"cover",label:Object(v.__)("Cover","ultimate-addons-for-gutenberg")},{value:"contain",label:Object(v.__)("Contain","ultimate-addons-for-gutenberg")},{value:"custom",label:Object(v.__)("Custom","ultimate-addons-for-gutenberg")}];E||(U=[{value:"auto",label:Object(v.__)("Auto","ultimate-addons-for-gutenberg")},{value:"cover",label:Object(v.__)("Cover","ultimate-addons-for-gutenberg")},{value:"contain",label:Object(v.__)("Contain","ultimate-addons-for-gutenberg")}]),m.value&&W.push({value:"video",icon:Wi.bg_video,tooltip:Object(v.__)("Video","ultimate-addons-for-gutenberg")});var q=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(tn,{setAttributes:i,label:Object(v.__)("Type","ultimate-addons-for-gutenberg"),data:{value:h.value,label:h.label},options:W,showIcons:!0,colorVariant:"secondary",layoutVariant:"inline"}),"color"===h.value&&Object(o.createElement)("div",{className:"uag-background-color"},Object(o.createElement)(Mn,{label:Object(v.__)("Color","ultimate-addons-for-gutenberg"),colorValue:d.value?d.value:"",data:{value:d.value,label:d.label},setAttributes:i})),"image"===h.value&&Object(o.createElement)("div",{className:"uag-background-image"},!C&&Object(o.createElement)(Ui,{onSelectImage:function(e){e&&e.url?e.type&&"image"===e.type&&i(_()({},f.label,e)):i(_()({},f.label,null))},backgroundImage:f.value,onRemoveImage:function(){i(_()({},f.label,null))}}),!C&&f.value&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"uag-background-image-position"},Object(o.createElement)(w.SelectControl,{label:Object(v.__)("Image Position","ultimate-addons-for-gutenberg"),value:p.value,onChange:function(e){return i(_()({},p.label,e))},options:[{value:"left top",label:Object(v.__)("Top Left","ultimate-addons-for-gutenberg")},{value:"center top",label:Object(v.__)("Top Center","ultimate-addons-for-gutenberg")},{value:"right top",label:Object(v.__)("Top Right","ultimate-addons-for-gutenberg")},{value:"center top",label:Object(v.__)("Center Top","ultimate-addons-for-gutenberg")},{value:"center center",label:Object(v.__)("Center Center","ultimate-addons-for-gutenberg")},{value:"center bottom",label:Object(v.__)("Center Bottom","ultimate-addons-for-gutenberg")},{value:"left bottom",label:Object(v.__)("Bottom Left","ultimate-addons-for-gutenberg")},{value:"center bottom",label:Object(v.__)("Bottom Center","ultimate-addons-for-gutenberg")},{value:"right bottom",label:Object(v.__)("Bottom Right","ultimate-addons-for-gutenberg")}]})),Object(o.createElement)("div",{className:"uag-background-image-attachment"},Object(o.createElement)(w.SelectControl,{label:Object(v.__)("Attachment","ultimate-addons-for-gutenberg"),value:s.value,onChange:function(e){return i(_()({},s.label,e))},options:[{value:"fixed",label:Object(v.__)("Fixed","ultimate-addons-for-gutenberg")},{value:"scroll",label:Object(v.__)("Scroll","ultimate-addons-for-gutenberg")}]})),Object(o.createElement)("div",{className:"uag-background-image-repeat"},Object(o.createElement)(w.SelectControl,{label:Object(v.__)("Repeat","ultimate-addons-for-gutenberg"),value:c.value,onChange:function(e){return i(_()({},c.label,e))},options:[{value:"no-repeat",label:Object(v.__)("No Repeat","ultimate-addons-for-gutenberg")},{value:"repeat",label:Object(v.__)("Repeat","ultimate-addons-for-gutenberg")},{value:"repeat-x",label:Object(v.__)("Repeat-x","ultimate-addons-for-gutenberg")},{value:"repeat-y",label:Object(v.__)("Repeat-y","ultimate-addons-for-gutenberg")}]})),Object(o.createElement)("div",{className:"uag-background-image-size"},Object(o.createElement)(w.SelectControl,{label:Object(v.__)("Size","ultimate-addons-for-gutenberg"),value:u.value,onChange:function(e){return i(_()({},u.label,e))},options:U}),"custom"===u.value&&E&&Object(o.createElement)(qi,{label:Object(v.__)("Width","ultimate-addons-for-gutenberg"),data:{desktop:{value:E.desktop.value,label:E.desktop.label},tablet:{value:E.tablet.value,label:E.tablet.label},mobile:{value:E.mobile.value,label:E.mobile.label}},min:0,limitMax:{px:1600,"%":100,em:574},unit:{value:k.value,label:k.label},units:[{name:Object(v.__)("PX","ultimate-addons-for-gutenberg"),unitValue:"px"},{name:Object(v.__)("%","ultimate-addons-for-gutenberg"),unitValue:"%"},{name:Object(v.__)("EM","ultimate-addons-for-gutenberg"),unitValue:"em"}],setAttributes:i}))),C&&f&&Object(o.createElement)(Qi,{backgroundImage:f,setAttributes:i}),C&&f[n]&&(null===(t=f[n])||void 0===t?void 0:t.value)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"uag-background-image-position"},Object(o.createElement)(tn,{setAttributes:i,label:Object(v.__)("Image Position","ultimate-addons-for-gutenberg"),data:{value:T.value,label:T.label},options:[{value:"default",label:Object(v.__)("Default")},{value:"custom",label:Object(v.__)("Custom")}]})),"custom"!==T.value&&Object(o.createElement)("div",{className:"uag-background-image-position"},Object(o.createElement)(Xi,{backgroundPosition:p,setAttributes:i,backgroundImage:f})),"custom"===T.value&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"uag-background-image-position"},Object(o.createElement)(qi,{label:Object(v.__)("X Position","ultimate-addons-for-gutenberg"),data:{desktop:{value:M.value,label:"xPositionDesktop",unit:{value:L.value,label:"xPositionType"}},tablet:{value:S.value,label:"xPositionTablet",unit:{value:P.value,label:"xPositionTypeTablet"}},mobile:{value:D.value,label:"xPositionMobile",unit:{value:B.value,label:"xPositionTypeMobile"}}},limitMin:{px:-800,"%":-100,em:-100,vw:-100},limitMax:{px:800,"%":100,em:100,vw:100},units:[{name:Object(v.__)("PX","ultimate-addons-for-gutenberg"),unitValue:"px"},{name:Object(v.__)("%","ultimate-addons-for-gutenberg"),unitValue:"%"},{name:Object(v.__)("EM","ultimate-addons-for-gutenberg"),unitValue:"em"},{name:Object(v.__)("VW","ultimate-addons-for-gutenberg"),unitValue:"vw"}],setAttributes:i})),Object(o.createElement)("div",{className:"uag-background-image-position"},Object(o.createElement)(qi,{label:Object(v.__)("Y Position","ultimate-addons-for-gutenberg"),data:{desktop:{value:F.value,label:"yPositionDesktop",unit:{value:H.value,label:"yPositionType"}},tablet:{value:A.value,label:"yPositionTablet",unit:{value:z.value,label:"yPositionTypeTablet"}},mobile:{value:N.value,label:"yPositionMobile",unit:{value:R.value,label:"yPositionTypeMobile"}}},limitMin:{px:-800,"%":-100,em:-100,vw:-100},limitMax:{px:800,"%":100,em:100,vw:100},units:[{name:Object(v.__)("PX","ultimate-addons-for-gutenberg"),unitValue:"px"},{name:Object(v.__)("%","ultimate-addons-for-gutenberg"),unitValue:"%"},{name:Object(v.__)("EM","ultimate-addons-for-gutenberg"),unitValue:"em"},{name:Object(v.__)("VW","ultimate-addons-for-gutenberg"),unitValue:"vw"}],setAttributes:i}))),Object(o.createElement)("div",{className:"uag-background-image-attachment"},Object(o.createElement)($i,{label:Object(v.__)("Attachment","ultimate-addons-for-gutenberg"),data:s,options:{desktop:[{value:"fixed",label:Object(v.__)("Fixed","ultimate-addons-for-gutenberg")},{value:"scroll",label:Object(v.__)("Scroll","ultimate-addons-for-gutenberg")}]},setAttributes:i})),Object(o.createElement)("div",{className:"uag-background-image-repeat"},Object(o.createElement)($i,{label:Object(v.__)("Repeat","ultimate-addons-for-gutenberg"),data:c,options:{desktop:[{value:"no-repeat",label:Object(v.__)("No Repeat","ultimate-addons-for-gutenberg")},{value:"repeat",label:Object(v.__)("Repeat","ultimate-addons-for-gutenberg")},{value:"repeat-x",label:Object(v.__)("Repeat-x","ultimate-addons-for-gutenberg")},{value:"repeat-y",label:Object(v.__)("Repeat-y","ultimate-addons-for-gutenberg")}]},setAttributes:i})),Object(o.createElement)("div",{className:"uag-background-image-size"},Object(o.createElement)($i,{label:Object(v.__)("Size","ultimate-addons-for-gutenberg"),data:u,options:{desktop:[{value:"auto",label:Object(v.__)("Auto","ultimate-addons-for-gutenberg")},{value:"cover",label:Object(v.__)("Cover","ultimate-addons-for-gutenberg")},{value:"contain",label:Object(v.__)("Contain","ultimate-addons-for-gutenberg")},{value:"custom",label:Object(v.__)("Custom","ultimate-addons-for-gutenberg")}]},setAttributes:i}),"custom"===u[n].value&&E&&Object(o.createElement)(qi,{label:Object(v.__)("Width","ultimate-addons-for-gutenberg"),data:E,min:0,limitMax:{px:1600,"%":100,em:574},unit:{value:k.value,label:k.label},units:[{name:Object(v.__)("PX","ultimate-addons-for-gutenberg"),unitValue:"px"},{name:Object(v.__)("%","ultimate-addons-for-gutenberg"),unitValue:"%"},{name:Object(v.__)("EM","ultimate-addons-for-gutenberg"),unitValue:"em"}],setAttributes:i}))),r&&f&&(C&&(null===(a=f[n])||void 0===a?void 0:a.value)||!C&&(null==f?void 0:f.value))&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"uag-background-image-overlay-type"},Object(o.createElement)(tn,{setAttributes:i,label:Object(v.__)("Overlay Type","ultimate-addons-for-gutenberg"),data:{value:r.value,label:r.label},className:"uagb-multi-button-alignment-control",options:I,showIcons:!1})),"color"===r.value&&Object(o.createElement)("div",{className:"uag-background-image-overlay-color"},Object(o.createElement)(Mn,{label:Object(v.__)("Image Overlay Color","ultimate-addons-for-gutenberg"),colorValue:l.value,data:{value:l.value,label:l.label},setAttributes:i})),"gradient"===r.value&&Object(o.createElement)("div",{className:"uag-background-image-overlay-gradient"},Object(o.createElement)(Ii,{backgroundGradient:e.backgroundGradient,setAttributes:i})))),j.value&&"gradient"===h.value&&Object(o.createElement)("div",{className:"uag-background-gradient"},Object(o.createElement)(Ii,{backgroundGradient:e.backgroundGradient,setAttributes:e.setAttributes})),"video"===h.value&&m.value&&Object(o.createElement)("div",{className:"uag-background-video"},Object(o.createElement)(Ui,{onSelectImage:function(e){e&&e.url?e.type&&"video"===e.type&&i(_()({},y.label,e)):i(_()({},y.label,null))},backgroundImage:y.value,onRemoveImage:function(){i(_()({},y.label,null))},showVideoInput:!0})),"video"===h.value&&y.value&&m.value&&Object(o.createElement)("div",{className:"uag-background-video-overlay"},r&&y&&y.value&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:"uag-background-image-overlay-type"},Object(o.createElement)(tn,{setAttributes:i,label:Object(v.__)("Overlay Type","ultimate-addons-for-gutenberg"),data:{value:r.value,label:r.label},className:"uagb-multi-button-alignment-control",options:I,showIcons:!1})),"color"===r.value&&Object(o.createElement)("div",{className:"uag-background-image-overlay-color"},Object(o.createElement)(Mn,{label:Object(v.__)("Image Overlay Color","ultimate-addons-for-gutenberg"),colorValue:x.value,data:{value:x.value,label:x.label},setAttributes:i,onOpacityChange:O,backgroundVideoOpacity:{value:V.value,label:V.label}})),j.value&&"gradient"===r.value&&Object(o.createElement)("div",{className:"uag-background-image-overlay-gradient"},Object(o.createElement)(Ii,{backgroundGradient:e.backgroundGradient,setAttributes:i})))));return Object(o.createElement)("div",{className:"uag-bg-select-control components-base-control"},q)},tl={prefix:D.a.string,borderStyleLabel:D.a.string,borderWidthLabel:D.a.string,borderRadiusLabel:D.a.string,borderColorLabel:D.a.string},al={borderStyleLabel:Object(v.__)("Style","ultimate-addons-for-gutenberg"),borderWidthLabel:Object(v.__)("Width","ultimate-addons-for-gutenberg"),borderRadiusLabel:Object(v.__)("Radius","ultimate-addons-for-gutenberg"),borderColorLabel:Object(v.__)("Color","ultimate-addons-for-gutenberg"),borderHoverColorLabel:Object(v.__)("Hover Color","ultimate-addons-for-gutenberg")},nl=function(e){var t=e.attributes,a=e.setAttributes,n=e.disabledBorderTitle,i=e.disableBottomSeparator,l=void 0!==i&&i,r=e.deviceType,u=e.prefix,c=e.borderStyleLabel,s=e.borderWidthLabel,b=e.borderRadiusLabel,p=e.borderColorLabel,f=e.borderHoverColorLabel,g=e.showWidth,d=e.label,m=void 0===d?Object(v.__)("Border","ultimate-addons-for-gutenberg"):d,h=e.normalTabLabel,y=void 0===h?Object(v.__)("Normal","ultimate-addons-for-gutenberg"):h,w=e.hoverTabLabel,x=void 0===w?Object(v.__)("Hover","ultimate-addons-for-gutenberg"):w,_=e.borderRadiusHelp,O=[{name:"normal",title:y}];O.push({name:"hover",title:x});var E=t[u+"BorderStyle"],k=Object(o.createElement)(Mn,{label:p,colorValue:t[u+"BorderColor"]?t[u+"BorderColor"]:"",data:{value:t[u+"BorderColor"],label:u+"BorderColor"},setAttributes:a}),C=Object(o.createElement)(Mn,{label:f,colorValue:t[u+"BorderHColor"]?t[u+"BorderHColor"]:"",data:{value:t[u+"BorderHColor"],label:u+"BorderHColor"},setAttributes:a});return Object(o.createElement)(o.Fragment,null,!n&&Object(o.createElement)("h2",null,m),Object(o.createElement)(P,{label:c,data:{value:E,label:u+"BorderStyle"},setAttributes:a,options:[{value:"none",label:Object(v.__)("None","ultimate-addons-for-gutenberg")},{value:"solid",label:Object(v.__)("Solid","ultimate-addons-for-gutenberg")},{value:"dotted",label:Object(v.__)("Dotted","ultimate-addons-for-gutenberg")},{value:"dashed",label:Object(v.__)("Dashed","ultimate-addons-for-gutenberg")},{value:"double",label:Object(v.__)("Double","ultimate-addons-for-gutenberg")},{value:"groove",label:Object(v.__)("Groove","ultimate-addons-for-gutenberg")},{value:"inset",label:Object(v.__)("Inset","ultimate-addons-for-gutenberg")},{value:"outset",label:Object(v.__)("Outset","ultimate-addons-for-gutenberg")},{value:"ridge",label:Object(v.__)("Ridge","ultimate-addons-for-gutenberg")}]}),""!==E&&"none"!==E&&!1!==g&&Object(o.createElement)(Vn,{label:s,valueTop:{value:t[u+"BorderTopWidth"],label:u+"BorderTopWidth"},valueRight:{value:t[u+"BorderRightWidth"],label:u+"BorderRightWidth"},valueBottom:{value:t[u+"BorderBottomWidth"],label:u+"BorderBottomWidth"},valueLeft:{value:t[u+"BorderLeftWidth"],label:u+"BorderLeftWidth"},valueTopTablet:{value:t[u+"BorderTopWidthTablet"],label:u+"BorderTopWidthTablet"},valueRightTablet:{value:t[u+"BorderRightWidthTablet"],label:u+"BorderRightWidthTablet"},valueBottomTablet:{value:t[u+"BorderBottomWidthTablet"],label:u+"BorderBottomWidthTablet"},valueLeftTablet:{value:t[u+"BorderLeftWidthTablet"],label:u+"BorderLeftWidthTablet"},valueTopMobile:{value:t[u+"BorderTopWidthMobile"],label:u+"BorderTopWidthMobile"},valueRightMobile:{value:t[u+"BorderRightWidthMobile"],label:u+"BorderRightWidthMobile"},valueBottomMobile:{value:t[u+"BorderBottomWidthMobile"],label:u+"BorderBottomWidthMobile"},valueLeftMobile:{value:t[u+"BorderLeftWidthMobile"],label:u+"BorderLeftWidthMobile"},disableUnits:!0,deviceType:r,attributes:t,setAttributes:a,link:{value:t[u+"BorderLink"],label:u+"BorderLink"}}),Object(o.createElement)(Vn,{label:b,valueTop:{value:t[u+"BorderTopLeftRadius"],label:u+"BorderTopLeftRadius"},valueRight:{value:t[u+"BorderTopRightRadius"],label:u+"BorderTopRightRadius"},valueBottom:{value:t[u+"BorderBottomRightRadius"],label:u+"BorderBottomRightRadius"},valueLeft:{value:t[u+"BorderBottomLeftRadius"],label:u+"BorderBottomLeftRadius"},valueTopTablet:{value:t[u+"BorderTopLeftRadiusTablet"],label:u+"BorderTopLeftRadiusTablet"},valueRightTablet:{value:t[u+"BorderTopRightRadiusTablet"],label:u+"BorderTopRightRadiusTablet"},valueBottomTablet:{value:t[u+"BorderBottomRightRadiusTablet"],label:u+"BorderBottomRightRadiusTablet"},valueLeftTablet:{value:t[u+"BorderBottomLeftRadiusTablet"],label:u+"BorderBottomLeftRadiusTablet"},valueTopMobile:{value:t[u+"BorderTopLeftRadiusMobile"],label:u+"BorderTopLeftRadiusMobile"},valueRightMobile:{value:t[u+"BorderTopRightRadiusMobile"],label:u+"BorderTopRightRadiusMobile"},valueBottomMobile:{value:t[u+"BorderBottomRightRadiusMobile"],label:u+"BorderBottomRightRadiusMobile"},valueLeftMobile:{value:t[u+"BorderBottomLeftRadiusMobile"],label:u+"BorderBottomLeftRadiusMobile"},units:[{name:Object(v.__)("Pixel","ultimate-addons-for-gutenberg"),unitValue:"px"},{name:Object(v.__)("%","ultimate-addons-for-gutenberg"),unitValue:"%"}],unit:{value:t[u+"BorderRadiusUnit"],label:u+"BorderRadiusUnit"},mUnit:{value:t[u+"BorderRadiusUnitMobile"],label:u+"BorderRadiusUnitMobile"},tUnit:{value:t[u+"BorderRadiusUnitTablet"],label:u+"BorderRadiusUnitTablet"},deviceType:r,attributes:t,setAttributes:a,link:{value:t[u+"BorderRadiusLink"],label:u+"BorderRadiusLink"},help:_||!1}),"none"!==E&&Object(o.createElement)(ni,{tabs:O,normal:k,hover:C,active:"",disableBottomSeparator:l}))},il=nl;nl.propTypes=tl,nl.defaultProps=al;var ll,rl=p.a.memo((function(e){var t,a,n,i,l,r,u=e=e.parentProps,c=u.attributes,s=u.setAttributes,b=u.attributes,p=b.align,f=b.malign,g=b.talign,d=b.offerAction,m=b.icon,x=b.iconColor,_=b.iconHoverColor,O=b.iconSize,E=b.iconPosition,k=b.iconSpacing,C=b.textAlignment,j=b.paddingTypeDesktop,T=b.paddingTypeTablet,M=b.paddingTypeMobile,S=b.textColor,D=b.textHoverColor,L=b.buttonHoverColor,B=b.backgroundType,F=b.backgroundImage,A=b.backgroundColor,N=b.backgroundPosition,H=b.backgroundAttachment,z=b.backgroundRepeat,R=b.backgroundSize,V=b.backgroundOpacity,I=b.titleFontFamily,W=b.titleFontWeight,U=b.titleFontSubset,q=b.titleFontSize,G=b.titleFontSizeType,Z=b.titleFontSizeMobile,K=b.titleFontSizeTablet,J=b.titleLineHeight,Y=b.titleLineHeightType,$=b.titleLineHeightMobile,Q=b.titleLineHeightTablet,X=b.titleLoadGoogleFonts,ee=b.titleTransform,te=b.titleLetterSpacing,ae=b.titleLetterSpacingTablet,ne=b.titleLetterSpacingMobile,ie=b.titleLetterSpacingType,le=b.subTitleFontFamily,re=b.subTitleFontWeight,oe=b.subTitleFontSubset,ue=b.subTitleFontSize,ce=b.subTitleFontSizeType,se=b.subTitleFontSizeMobile,be=b.subTitleFontSizeTablet,pe=b.subTitleLineHeight,fe=b.subTitleLineHeightType,ge=b.subTitleLineHeightMobile,de=b.subTitleLineHeightTablet,me=b.subTitleLoadGoogleFonts,he=b.subTitleTransform,ve=b.subTitleLetterSpacing,ye=b.subTitleLetterSpacingTablet,we=b.subTitleLetterSpacingMobile,_e=b.subTitleLetterSpacingType,Oe=b.titleBottomSpacing,Ee=b.gradientValue,ke=b.paddingBtnTop,Ce=b.paddingBtnBottom,je=b.paddingBtnLeft,Te=b.paddingBtnRight,Me=b.paddingBtnTopTablet,Se=b.paddingBtnRightTablet,De=b.paddingBtnBottomTablet,Le=b.paddingBtnLeftTablet,Pe=b.paddingBtnTopMobile,Be=b.paddingBtnRightMobile,Fe=b.paddingBtnBottomMobile,Ae=b.paddingBtnLeftMobile,Ne=b.spacingLink,He=b.titleFontStyle,ze=b.subTitleFontStyle;if(!0===X){var Re={google:{families:[I+(W?":"+W:"")]}};t=Object(o.createElement)(Ka,{config:Re})}if(!0===me){var Ve={google:{families:[le+(re?":"+re:"")]}};a=Object(o.createElement)(Ka,{config:Ve})}return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(y.InspectorControls,null,Object(o.createElement)(dn,null,Object(o.createElement)(Dn,Ln,(l=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Icon Color","cartflows"),colorValue:x||"",data:{value:x,label:"iconColor"},setAttributes:s})),r=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Icon Hover Color","cartflows"),colorValue:_||"",data:{value:_,label:"iconHoverColor"},setAttributes:s})),Object(o.createElement)(di,{title:Object(v.__)("Icon","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(bi,{label:Object(v.__)("Icon","cartflows"),value:m,onChange:function(e){return s({icon:e})}}),""!==m&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(P,{setAttributes:s,label:Object(v.__)("Position","cartflows"),data:{value:E,label:"iconPosition"},value:E,onChange:function(e){return s({iconPosition:e})},className:"uagb-multi-button-alignment-control",options:[{value:"before_title",label:Object(v.__)("Before Title","cartflows")},{value:"after_title",label:Object(v.__)("After Title","cartflows")},{value:"before_title_sub_title",label:Object(v.__)("Before Title & Sub Title","cartflows")},{value:"after_title_sub_title",label:Object(v.__)("After Title & Sub Title","cartflows")}]}),Object(o.createElement)(xe,{label:Object(v.__)("Gap Between Icon And Text","cartflows"),setAttributes:s,value:k,onChange:function(e){return s({iconSpacing:e})},min:0,max:50,displayUnit:!1,data:{value:k,label:"iconSpacing"}}),Object(o.createElement)(xe,{label:Object(v.__)("Icon Size","cartflows"),setAttributes:s,value:O,onChange:function(e){return s({iconSize:e})},min:0,max:50,displayUnit:!1,data:{value:O,label:"iconSize"}}),Object(o.createElement)(ni,{tabs:[{name:"normal",title:Object(v.__)("Normal","cartflows")},{name:"hover",title:Object(v.__)("Hover","cartflows")}],normal:l,hover:r,disableBottomSeparator:!0})))),Object(o.createElement)(di,{title:Object(v.__)("Offer Action","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(P,{label:Object(v.__)("Offer Action","cartflows-pro"),value:d,onChange:function(e){return s({offerAction:e})},data:{value:d,label:"offerAction"},options:[{value:"accept_offer",label:Object(v.__)("Accept Offer","cartflows-pro")},{value:"decline_offer",label:Object(v.__)("Reject Offer","cartflows-pro")}]}))),Object(o.createElement)(Dn,Pn,Object(o.createElement)(di,{title:Object(v.__)("Background","cartflows"),initialOpen:!1},Object(o.createElement)(el,h()({setAttributes:s,backgroundSize:{value:R,label:"backgroundSize"},gradientOverlay:{value:!0},backgroundRepeat:{value:z,label:"backgroundRepeat"},backgroundAttachment:{value:H,label:"backgroundAttachment"},backgroundPosition:{value:N,label:"backgroundPosition"},backgroundImage:{value:F,label:"backgroundImage"},backgroundGradient:{value:Ee,label:"gradientValue"},backgroundColor:{value:A,label:"backgroundColor"},backgroundType:{value:B,label:"backgroundType"},backgroundVideoType:{value:!1}},e)),"color"===B&&Object(o.createElement)(Mn,{label:Object(v.__)("Background Hover Color","cartflows"),colorValue:L||"",data:{value:L,label:"buttonHoverColor"},setAttributes:s}),Object(o.createElement)(xe,{label:Object(v.__)("Opacity","cartflows"),value:V,setAttributes:s,onChange:function(e){return s({backgroundOpacity:e})},min:0,max:100,allowReset:!0,initialPosition:0,data:{value:V,label:"backgroundOpacity"}})),Object(o.createElement)(di,{title:Object(v.__)("Border","cartflows"),initialOpen:!1},Object(o.createElement)(il,{setAttributes:s,deviceType:e.deviceType,prefix:"btn",attributes:c,disableBottomSeparator:!0,disabledBorderTitle:!0})),Object(o.createElement)(di,{title:Object(v.__)("Spacing","cartflows"),initialOpen:!1},Object(o.createElement)(Vn,h()({},e,{label:Object(v.__)("Padding","cartflows"),valueTop:{value:ke,label:"paddingBtnTop"},valueRight:{value:Te,label:"paddingBtnRight"},valueBottom:{value:Ce,label:"paddingBtnBottom"},valueLeft:{value:je,label:"paddingBtnLeft"},valueTopTablet:{value:Me,label:"paddingBtnTopTablet"},valueRightTablet:{value:Se,label:"paddingBtnRightTablet"},valueBottomTablet:{value:De,label:"paddingBtnBottomTablet"},valueLeftTablet:{value:Le,label:"paddingBtnLeftTablet"},valueTopMobile:{value:Pe,label:"paddingBtnTopMobile"},valueRightMobile:{value:Be,label:"paddingBtnRightMobile"},valueBottomMobile:{value:Fe,label:"paddingBtnBottomMobile"},valueLeftMobile:{value:Ae,label:"paddingBtnLeftMobile"},unit:{value:j,label:"desktopPaddingType"},mUnit:{value:T,label:"mobilePaddingType"},tUnit:{value:M,label:"tabletPaddingType"},link:{value:Ne,label:"spacingLink"},attributes:e.attributes,setAttributes:s,deviceType:e.deviceType}))),(n=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Text Color","cartflows"),colorValue:S||"",data:{value:S,label:"textColor"},setAttributes:s})),i=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Text Hover Color","cartflows"),colorValue:D||"",data:{value:D,label:"textHoverColor"},setAttributes:s})),Object(o.createElement)(di,{title:Object(v.__)("Text","cartflows"),initialOpen:!1},Object(o.createElement)(tn,{setAttributes:s,label:Object(v.__)("Alignment","cartflows"),data:{desktop:{value:p,label:"align"},tablet:{value:g,label:"talign"},mobile:{value:f,label:"malign"}},responsive:!0,className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-left")}),tooltip:Object(v.__)("Left","cartflows")},{value:"center",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-center")}),tooltip:Object(v.__)("Center","cartflows")},{value:"right",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-right")}),tooltip:Object(v.__)("Right","cartflows")},{value:"full",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-justify")}),tooltip:Object(v.__)("Full Width","cartflows")}],showIcons:!0}),Object(o.createElement)(tn,{setAttributes:s,label:Object(v.__)("Text Alignment","cartflows"),data:{value:C,label:"textAlignment"},className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-left")}),tooltip:Object(v.__)("Left","cartflows")},{value:"center",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-center")}),tooltip:Object(v.__)("Center","cartflows")},{value:"right",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-right")}),tooltip:Object(v.__)("Right","cartflows")}],showIcons:!0}),Object(o.createElement)(ni,{tabs:[{name:"normal",title:Object(v.__)("Normal","cartflows")},{name:"hover",title:Object(v.__)("Hover","cartflows")}],normal:n,hover:i,disableBottomSeparator:!0}))),Object(o.createElement)(di,{title:Object(v.__)("Title","cartflows"),initialOpen:!1},Object(o.createElement)(Ra,{label:Object(v.__)("Typography","cartflows"),attributes:c,setAttributes:s,loadGoogleFonts:{value:X,label:"titleLoadGoogleFonts"},fontFamily:{value:I,label:"titleFontFamily"},fontWeight:{value:W,label:"titleFontWeight"},fontStyle:{value:He,label:"titleFontStyle"},fontSubset:{value:U,label:"titleFontSubset"},fontSizeType:{value:G,label:"titleFontSizeType"},fontSize:{value:q,label:"titleFontSize"},fontSizeMobile:{value:Z,label:"titleFontSizeMobile"},fontSizeTablet:{value:K,label:"titleFontSizeTablet"},lineHeightType:{value:Y,label:"titleLineHeightType"},lineHeight:{value:J,label:"titleLineHeight"},lineHeightMobile:{value:$,label:"titleLineHeightMobile"},lineHeightTablet:{value:Q,label:"titleLineHeightTablet"},transform:{value:ee,label:"titleTransform"},letterSpacing:{value:te,label:"titleLetterSpacing"},letterSpacingTablet:{value:ae,label:"titleLetterSpacingTablet"},letterSpacingMobile:{value:ne,label:"titleLetterSpacingMobile"},letterSpacingType:{value:ie,label:"titleLetterSpacingType"},disableDecoration:!0}),Object(o.createElement)(xe,{label:Object(v.__)("Title Bottom Spacing","cartflows"),value:Oe,setAttributes:s,onChange:function(e){return s({titleBottomSpacing:e})},min:0,max:500,beforeIcon:"",allowReset:!0,initialPosition:0,displayUnit:!1,data:{value:Oe,label:"titleBottomSpacing"}})),Object(o.createElement)(di,{title:Object(v.__)("SubTitle","cartflows"),initialOpen:!1},Object(o.createElement)(Ra,{label:Object(v.__)("Typography","cartflows"),attributes:c,setAttributes:s,loadGoogleFonts:{value:me,label:"subTitleLoadGoogleFonts"},fontFamily:{value:le,label:"subTitleFontFamily"},fontWeight:{value:re,label:"subTitleFontWeight"},fontStyle:{value:ze,label:"subTitleFontStyle"},fontSubset:{value:oe,label:"subTitleFontSubset"},fontSizeType:{value:ce,label:"subTitleFontSizeType"},fontSize:{value:ue,label:"subTitleFontSize"},fontSizeMobile:{value:se,label:"subTitleFontSizeMobile"},fontSizeTablet:{value:be,label:"subTitleFontSizeTablet"},lineHeightType:{value:fe,label:"subTitleLineHeightType"},lineHeight:{value:pe,label:"subTitleLineHeight"},lineHeightMobile:{value:ge,label:"subTitleLineHeightMobile"},lineHeightTablet:{value:de,label:"subTitleLineHeightTablet"},transform:{value:he,label:"subTitleTransform"},letterSpacing:{value:ve,label:"subTitleLetterSpacing"},letterSpacingTablet:{value:ye,label:"subTitleLetterSpacingTablet"},letterSpacingMobile:{value:we,label:"subTitleLetterSpacingMobile"},letterSpacingType:{value:_e,label:"subTitleLetterSpacingType"},disableDecoration:!0}))),Object(o.createElement)(Dn,h()({},Bn,{parentProps:e})))),t,a)})),ol=a(31),ul=0,cl={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},sl={};sl.locals=ol.a.locals||{},sl.use=function(){return ul++||(ll=E()(ol.a,cl)),sl},sl.unuse=function(){ul>0&&!--ul&&(ll(),ll=null)};var bl=sl,pl=p.a.memo((function(e){Object(b.useLayoutEffect)((function(){return bl.use(),function(){bl.unuse()}}),[]);var t=e=e.parentProps,a=t.attributes,n=t.setAttributes,i=g();i=i.toLowerCase();var l=a.className,r=a.offerYesNoButtonTitle,u=a.offerYesNoButtonSubTitle,c=a.icon,s=a.iconPosition,p="";return""!==c&&(p=Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-button-icon"},nn(c))),Object(o.createElement)("div",{className:bn()(l,"wp-block-wcfpb-offer-yes-no-button","cf-editor-preview-mode-".concat(i),"cfp-block-".concat(e.clientId.substr(0,8)))},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-button"},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-button-wrap"},Object(o.createElement)("a",{href:"#",className:"wpcfp__offer-yes-no-button-link"},"before_title_sub_title"===s&&p,Object(o.createElement)("span",{className:"wpcfp__offer-yes-no-button-content-wrap"},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-button-title-wrap"},"before_title"===s&&p,Object(o.createElement)(y.RichText,{placeholder:Object(v.__)("Add text…","cartflows-pro"),value:r,tagName:"span",onChange:function(e){n({offerYesNoButtonTitle:e})},className:"wpcfp__offer-yes-no-button-title"}),"after_title"===s&&p),Object(o.createElement)(y.RichText,{placeholder:Object(v.__)("Add text…","cartflows-pro"),value:u,tagName:"div",onChange:function(e){n({offerYesNoButtonSubTitle:e})},className:"wpcfp__offer-yes-no-button-sub-title"})),"after_title_sub_title"===s&&p))))})),fl=wp.blockEditor.RichText;a(65);var gl=wp.i18n.__,dl=wp.blocks.registerBlockType;("upsell"===cfp_blocks_info.step_type||"downsell"===cfp_blocks_info.step_type&&cfp_blocks_info.is_woo_active)&&dl("wcfpb/offer-yes-no-button",{title:cfp_blocks_info.blocks["wcfpb/offer-yes-no-button"].title,description:cfp_blocks_info.blocks["wcfpb/offer-yes-no-button"].description,icon:l.yes_no_button,category:cfp_blocks_info.category,keywords:[gl("cartflows pro","cartflows-pro"),gl("offer yes no button","cartflows-pro"),gl("cfp","cartflows-pro")],supports:{anchor:!0},attributes:se,edit:function(e){var t=g();return Object(b.useEffect)((function(){e.setAttributes({block_id:e.clientId.substr(0,8)}),e.setAttributes({classMigrate:!0});var t=e.attributes,a=t.borderStyle,n=t.borderWidth,i=t.borderRadius,l=t.borderColor,r=t.borderHoverColor;if(n||i||l||r||a){var o=X("btn",{label:"borderWidth",value:n},{label:"borderRadius",value:i},{label:"borderColor",value:l},{label:"borderHoverColor",value:r},{label:"borderStyle",value:a});e.setAttributes(o)}var u=Mi(e);d("wpcfp-offer-yes-no-button-style-"+e.clientId.substr(0,8),u)}),[e]),Object(b.useEffect)((function(){var t=Mi(e);d("wpcfp-offer-yes-no-button-style-"+e.clientId.substr(0,8),t)}),[t]),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(rl,{parentProps:e}),Object(o.createElement)(pl,{parentProps:e}))},example:{},save:function(e){var t=e.attributes,a=t.block_id,n=t.offerAction,i=t.offerYesNoButtonTitle,l=t.offerYesNoButtonSubTitle,r=t.icon,u=t.iconPosition,c="";""!==r&&(c=Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-button-icon"},nn(r)));var s=cfp_blocks_info.step_type,b="";return"upsell"!==s&&"downsell"!==s||(b="accept_offer"===n?"upsell"===s?"?class=wcf-up-offer-yes":"?class=wcf-down-offer-yes":"upsell"===s?"?class=wcf-up-offer-no":"?class=wcf-down-offer-no"),Object(o.createElement)("div",{className:bn()(e.className,"cfp-block-".concat(a))},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-button"},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-button-wrap"},Object(o.createElement)("a",{href:b,className:"wpcfp__offer-yes-no-button-link"},"before_title_sub_title"===u&&c,Object(o.createElement)("span",{className:"wpcfp__offer-yes-no-button-content-wrap"},Object(o.createElement)("div",{className:"wpcfp__offer-yes-no-button-title-wrap"},"before_title"===u&&c,Object(o.createElement)(fl.Content,{value:i,tagName:"span",className:"wpcfp__offer-yes-no-button-title"}),"after_title"===u&&c),l&&Object(o.createElement)(fl.Content,{value:l,tagName:"div",className:"wpcfp__offer-yes-no-button-sub-title"})),"after_title_sub_title"===u&&c))))}}),a(66);var ml=function(e){var t,a=e.attributes,n=a.textAlignment,i=a.ttextAlignment,l=a.mtextAlignment,r=a.textColor,o=a.textHoverColor,s=a.textFontFamily,b=a.textFontWeight,p=a.textFontSize,f=a.textFontSizeType,g=a.textFontSizeMobile,d=a.textFontSizeTablet,m=a.textLineHeight,h=a.textLineHeightType,v=a.textLineHeightMobile,y=a.textLineHeightTablet,w=a.textShadowColor,x=a.textShadowHOffset,_=a.textShadowVOffset,O=a.textShadowBlur,E=a.textFontStyle,k=a.textMarginTop,C=a.textMarginBottom,j=a.textMarginLeft,T=a.textMarginRight,M=a.textMarginTopTablet,S=a.textMarginRightTablet,D=a.textMarginBottomTablet,L=a.textMarginLeftTablet,P=a.textMarginTopMobile,B=a.textMarginRightMobile,F=a.textMarginBottomMobile,A=a.textMarginLeftMobile,N=a.textMarginTypeDesktop,H=a.textMarginTypeTablet,z=a.textMarginTypeMobile,R=a.textTransform,V=a.textLetterSpacing,I=a.textLetterSpacingTablet,W=a.textLetterSpacingMobile,U=a.textLetterSpacingType,q={},G={};t={" .wpcfp__offer-product-title":{"text-align":n,color:r,margin:k+N+" "+T+N+" "+C+N+" "+j+N,"font-family":s,"font-weight":b,"font-style":E,"font-size":c(p,f),"line-height":c(m,h),"text-shadow":c(x,"px")+" "+c(_,"px")+" "+c(O,"px")+" "+w,"text-transform":R,"letter-spacing":c(V,U)}," .wpcfp__offer-product-title:hover":{color:o}},q[" .wpcfp__offer-product-title"]={"font-size":c(d,f),"line-height":c(y,h),"text-align":i,margin:M+H+" "+S+H+" "+D+H+" "+L+H,"letter-spacing":c(I,U)},G[" .wpcfp__offer-product-title"]={"font-size":c(g,f),"line-height":c(v,h),"text-align":l,margin:P+z+" "+B+z+" "+F+z+" "+A+z,"letter-spacing":c(W,U)};var Z=".editor-styles-wrapper .cfp-block-".concat(e.clientId.substr(0,8)),K=u(t,Z);return(K+=u(q,"".concat(Z,".cf-editor-preview-mode-tablet")))+u(G,"".concat(Z,".cf-editor-preview-mode-mobile"))},hl=p.a.memo((function(e){var t,a,n,i=e=e.parentProps,l=i.attributes,r=i.setAttributes,u=i.attributes,c=u.textAlignment,s=u.ttextAlignment,b=u.mtextAlignment,p=u.textColor,f=u.textHoverColor,g=u.textFontFamily,d=u.textFontWeight,m=u.textFontSubset,x=u.textFontSize,_=u.textFontSizeType,O=u.textFontSizeMobile,E=u.textFontSizeTablet,k=u.textLineHeight,C=u.textLineHeightType,j=u.textLineHeightMobile,T=u.textLineHeightTablet,M=u.textLoadGoogleFonts,S=u.textShadowColor,D=u.textShadowHOffset,L=u.textShadowVOffset,P=u.textShadowBlur,B=u.textFontStyle,F=u.textMarginTop,A=u.textMarginBottom,N=u.textMarginLeft,H=u.textMarginRight,z=u.textMarginTopTablet,R=u.textMarginRightTablet,V=u.textMarginBottomTablet,I=u.textMarginLeftTablet,W=u.textMarginTopMobile,U=u.textMarginRightMobile,q=u.textMarginBottomMobile,G=u.textMarginLeftMobile,Z=u.textMarginTypeDesktop,K=u.textMarginTypeTablet,J=u.textMarginTypeMobile,Y=u.spacingLink,$=u.textTransform,Q=u.textLetterSpacing,X=u.textLetterSpacingTablet,ee=u.textLetterSpacingMobile,te=u.textLetterSpacingType;if(!0===M){var ae={google:{families:[g+(d?":"+d:"")]}};t=Object(o.createElement)(Ka,{config:ae})}return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(y.InspectorControls,null,Object(o.createElement)(dn,{tabs:["style","advance"],defaultTab:"style"},Object(o.createElement)(Dn,Pn,(a=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Text Color","cartflows"),colorValue:p||"",data:{value:p,label:"textColor"},setAttributes:r})),n=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Text Hover Color","cartflows"),colorValue:f||"",data:{value:f,label:"textHoverColor"},setAttributes:r})),Object(o.createElement)(di,{title:Object(v.__)("Text","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(tn,{setAttributes:r,label:Object(v.__)("Text Alignment","cartflows"),data:{desktop:{value:c,label:"textAlignment"},tablet:{value:s,label:"ttextAlignment"},mobile:{value:b,label:"mtextAlignment"}},responsive:!0,className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-left")}),tooltip:Object(v.__)("Left","cartflows")},{value:"center",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-center")}),tooltip:Object(v.__)("Center","cartflows")},{value:"right",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-right")}),tooltip:Object(v.__)("Right","cartflows")},{value:"justify",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-justify")}),tooltip:Object(v.__)("Justify","cartflows")}],showIcons:!0}),Object(o.createElement)(ni,{tabs:[{name:"normal",title:Object(v.__)("Normal","cartflows")},{name:"hover",title:Object(v.__)("Hover","cartflows")}],normal:a,hover:n}),Object(o.createElement)(Ra,{label:Object(v.__)("Typography","cartflows"),attributes:l,setAttributes:r,loadGoogleFonts:{value:M,label:"textLoadGoogleFonts"},fontFamily:{value:g,label:"textFontFamily"},fontWeight:{value:d,label:"textFontWeight"},fontStyle:{value:B,label:"textFontStyle"},fontSubset:{value:m,label:"textFontSubset"},fontSizeType:{value:_,label:"textFontSizeType"},fontSize:{value:x,label:"textFontSize"},fontSizeMobile:{value:O,label:"textFontSizeMobile"},fontSizeTablet:{value:E,label:"textFontSizeTablet"},lineHeightType:{value:C,label:"textLineHeightType"},lineHeight:{value:k,label:"textLineHeight"},lineHeightMobile:{value:j,label:"textLineHeightMobile"},lineHeightTablet:{value:T,label:"textLineHeightTablet"},transform:{value:$,label:"textTransform"},letterSpacing:{value:Q,label:"textLetterSpacing"},letterSpacingTablet:{value:X,label:"textLetterSpacingTablet"},letterSpacingMobile:{value:ee,label:"textLetterSpacingMobile"},letterSpacingType:{value:te,label:"textLetterSpacingType"},disableDecoration:!0}))),Object(o.createElement)(di,{title:Object(v.__)("Text Shadow","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(Mn,{label:Object(v.__)("Shadow Color","cartflows"),colorValue:S||"",data:{value:S,label:"textShadowColor"},setAttributes:r}),Object(o.createElement)(xe,{label:Object(v.__)("Vertical Shadow Offset","cartflows"),className:"cf-margin-control",value:L,onChange:function(e){return r({textShadowVOffset:e})},setAttributes:r,min:0,max:100,allowReset:!0,displayUnit:!1,data:{value:L,label:"textShadowVOffset"}}),Object(o.createElement)(xe,{label:Object(v.__)("Horizontal Shadow Offset","cartflows"),className:"cf-margin-control",value:D,onChange:function(e){return r({textShadowHOffset:e})},setAttributes:r,min:0,max:100,allowReset:!0,displayUnit:!1,data:{value:D,label:"textShadowHOffset"}}),Object(o.createElement)(xe,{label:Object(v.__)("Blur","cartflows"),className:"cf-margin-control",value:P,onChange:function(e){return r({textShadowBlur:e})},setAttributes:r,min:0,max:100,allowReset:!0,displayUnit:!1,data:{value:P,label:"textShadowBlur"}})),Object(o.createElement)(di,{title:Object(v.__)("Spacing","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(Vn,h()({},e,{label:Object(v.__)("Margin","cartflows"),valueTop:{value:F,label:"textMarginTop"},valueRight:{value:H,label:"textMarginRight"},valueBottom:{value:A,label:"textMarginBottom"},valueLeft:{value:N,label:"textMarginLeft"},valueTopTablet:{value:z,label:"textMarginTopTablet"},valueRightTablet:{value:R,label:"textMarginRightTablet"},valueBottomTablet:{value:V,label:"textMarginBottomTablet"},valueLeftTablet:{value:I,label:"textMarginLeftTablet"},valueTopMobile:{value:W,label:"textMarginTopMobile"},valueRightMobile:{value:U,label:"textMarginRightMobile"},valueBottomMobile:{value:q,label:"textMarginBottomMobile"},valueLeftMobile:{value:G,label:"textMarginLeftMobile"},unit:{value:Z,label:"textMarginTypeDesktop"},mUnit:{value:K,label:"textMarginTypeTablet"},tUnit:{value:J,label:"textMarginTypeMobile"},link:{value:Y,label:"spacingLink"},attributes:e.attributes,setAttributes:r,deviceType:e.deviceType})))),Object(o.createElement)(Dn,h()({},Bn,{parentProps:e})))),t)})),vl=p.a.memo((function(e){var t=(e=e.parentProps).attributes,a=g();a=a.toLowerCase();var n=t.className,i=t.formJson,l=t.isHtml,r="";return i&&i.data.html&&(r=i.data.html),Object(o.createElement)("div",{className:bn()(n,"wp-block-wcfpb-offer-product-title","cf-editor-preview-mode-".concat(a),"cfp-block-".concat(e.clientId.substr(0,8)))},Object(o.createElement)("div",{className:"wpcfp__offer-product-title"},l&&Object(o.createElement)("div",{dangerouslySetInnerHTML:{__html:r}}),!l&&Object(o.createElement)(w.Placeholder,{icon:"admin-post",label:Object(v.__)("Loading","cartflows")},Object(o.createElement)(w.Spinner,null))))})),yl=(0,wp.data.withSelect)((function(e,t){var a=t.setAttributes,n=t.attributes.isHtml,i="",l=e("core/edit-post").__GetPreviewDeviceType,r=void 0===l?null:l,o=r?r():null;return n||jQuery.ajax({url:cfp_blocks_info.ajax_url,data:{action:"wpcfp_offer_product_title_shortcode",nonce:cfp_blocks_info.wpcfp_ajax_nonce,id:cfp_blocks_info.ID,cartflows_gb:!0},dataType:"json",type:"POST",success:function(e){a({isHtml:!0}),a({formJson:e}),i=e}}),{formHTML:i,deviceType:o}}))((function(e){var t=g();return Object(b.useEffect)((function(){var t=e.attributes,a=t.topMargin,n=t.bottomMargin,i=t.textMarginTop,l=t.textMarginBottom;a&&(void 0===i&&e.setAttributes({textMarginTop:a}),void 0===l&&e.setAttributes({textMarginBottom:n})),e.setAttributes({block_id:e.clientId.substr(0,8)}),e.setAttributes({classMigrate:!0});var r=ml(e);d("wpcfp-offer-product-title-style-"+e.clientId.substr(0,8),r)}),[e]),Object(b.useEffect)((function(){var t=ml(e);d("wpcfp-offer-product-title-style-"+e.clientId.substr(0,8),t)}),[t]),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(hl,{parentProps:e}),Object(o.createElement)(vl,{parentProps:e}))})),wl=wp.i18n.__,xl=wp.blocks.registerBlockType;("upsell"===cfp_blocks_info.step_type||"downsell"===cfp_blocks_info.step_type&&cfp_blocks_info.is_woo_active)&&xl("wcfpb/offer-product-title",{title:cfp_blocks_info.blocks["wcfpb/offer-product-title"].title,description:cfp_blocks_info.blocks["wcfpb/offer-product-title"].description,icon:l.offer_product_title,category:cfp_blocks_info.category,keywords:[wl("cartflows","cartflows-pro"),wl("offer product title","cartflows-pro"),wl("product title","cartflows-pro"),wl("cfp","cartflows-pro")],edit:yl,example:{},save:function(){return null}}),a(67);var _l=function(e){var t,a=e.attributes,n=a.textAlignment,i=a.ttextAlignment,l=a.mtextAlignment,r=a.paddingTypeDesktop,o=a.paddingTypeTablet,s=a.paddingTypeMobile,b=a.textColor,p=a.textFontFamily,f=a.textFontWeight,g=a.textFontSize,d=a.textFontSizeType,m=a.textFontSizeMobile,h=a.textFontSizeTablet,v=a.textLineHeight,y=a.textLineHeightType,w=a.textLineHeightMobile,x=a.textLineHeightTablet,_=a.textShadowColor,O=a.textShadowHOffset,E=a.textShadowVOffset,k=a.textShadowBlur,C=a.paddingTop,j=a.paddingBottom,T=a.paddingLeft,M=a.paddingRight,S=a.paddingTopTablet,D=a.paddingRightTablet,L=a.paddingBottomTablet,P=a.paddingLeftTablet,B=a.paddingTopMobile,F=a.paddingRightMobile,A=a.paddingBottomMobile,N=a.paddingLeftMobile,H=a.textFontStyle,z=a.textHoverColor,R=a.textTransform,V=a.textLetterSpacing,I=a.textLetterSpacingTablet,W=a.textLetterSpacingMobile,U=a.textLetterSpacingType,q={},G={};t={" .wpcfp__offer-product-description":{"text-align":n,color:b,"padding-top":c(C,r),"padding-bottom":c(j,r),"padding-left":c(T,r),"padding-right":c(M,r),"font-family":p,"font-weight":f,"font-style":H,"font-size":c(g,d),"line-height":c(v,y),"text-shadow":c(O,"px")+" "+c(E,"px")+" "+c(k,"px")+" "+_,"text-transform":R,"letter-spacing":c(V,U)}," .wpcfp__offer-product-description:hover":{color:z}},q[" .wpcfp__offer-product-description"]={"padding-top":c(S,o),"padding-bottom":c(L,o),"padding-left":c(P,o),"padding-right":c(D,o),"font-size":c(h,d),"line-height":c(x,y),"text-align":i,"letter-spacing":c(I,U)},G[" .wpcfp__offer-product-description"]={"padding-top":c(B,s),"padding-bottom":c(A,s),"padding-left":c(N,s),"padding-right":c(F,s),"font-size":c(m,d),"line-height":c(w,y),"text-align":l,"letter-spacing":c(W,U)};var Z=".editor-styles-wrapper .cfp-block-".concat(e.clientId.substr(0,8)),K=u(t,Z);return(K+=u(q,"".concat(Z,".cf-editor-preview-mode-tablet")))+u(G,"".concat(Z,".cf-editor-preview-mode-mobile"))},Ol=p.a.memo((function(e){var t,a,n,i=e=e.parentProps,l=i.attributes,r=i.setAttributes,u=i.attributes,c=u.textAlignment,s=u.ttextAlignment,b=u.mtextAlignment,p=u.paddingTypeDesktop,f=u.paddingTypeTablet,g=u.paddingTypeMobile,d=u.textColor,m=u.textFontFamily,x=u.textFontWeight,_=u.textFontSubset,O=u.textFontSize,E=u.textFontSizeType,k=u.textFontSizeMobile,C=u.textFontSizeTablet,j=u.textLineHeight,T=u.textLineHeightType,M=u.textLineHeightMobile,S=u.textLineHeightTablet,D=u.textLoadGoogleFonts,L=u.textShadowColor,P=u.textShadowHOffset,B=u.textShadowVOffset,F=u.textShadowBlur,A=u.paddingTop,N=u.paddingBottom,H=u.paddingLeft,z=u.paddingRight,R=u.paddingTopTablet,V=u.paddingRightTablet,I=u.paddingBottomTablet,W=u.paddingLeftTablet,U=u.paddingTopMobile,q=u.paddingRightMobile,G=u.paddingBottomMobile,Z=u.paddingLeftMobile,K=u.spacingLink,J=u.textHoverColor,Y=u.shortDescription,$=u.textFontStyle,Q=u.textTransform,X=u.textLetterSpacing,ee=u.textLetterSpacingTablet,te=u.textLetterSpacingMobile,ae=u.textLetterSpacingType;if(!0===D){var ne={google:{families:[m+(x?":"+x:"")]}};t=Object(o.createElement)(Ka,{config:ne})}return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(y.InspectorControls,null,Object(o.createElement)(dn,null,Object(o.createElement)(Dn,Ln,Object(o.createElement)(di,{title:Object(v.__)("Description","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(w.ToggleControl,{label:Object(v.__)("Short Description","cartflows"),checked:Y,onChange:function(){return r({shortDescription:!Y})}}))),Object(o.createElement)(Dn,Pn,(a=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Text Color","cartflows"),colorValue:d||"",data:{value:d,label:"textColor"},setAttributes:r})),n=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Text Hover Color","cartflows"),colorValue:J||"",data:{value:J,label:"textHoverColor"},setAttributes:r})),Object(o.createElement)(di,{title:Object(v.__)("Text","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(tn,{setAttributes:r,label:Object(v.__)("Text Alignment","cartflows"),data:{desktop:{value:c,label:"textAlignment"},tablet:{value:s,label:"ttextAlignment"},mobile:{value:b,label:"mtextAlignment"}},responsive:!0,className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-left")}),tooltip:Object(v.__)("Left","cartflows")},{value:"center",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-center")}),tooltip:Object(v.__)("Center","cartflows")},{value:"right",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-right")}),tooltip:Object(v.__)("Right","cartflows")},{value:"justify",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-justify")}),tooltip:Object(v.__)("Justify","cartflows")}],showIcons:!0}),Object(o.createElement)(ni,{tabs:[{name:"normal",title:Object(v.__)("Normal","cartflows")},{name:"hover",title:Object(v.__)("Hover","cartflows")}],normal:a,hover:n}),Object(o.createElement)(Ra,{label:Object(v.__)("Typography","cartflows"),attributes:l,setAttributes:r,loadGoogleFonts:{value:D,label:"textLoadGoogleFonts"},fontFamily:{value:m,label:"textFontFamily"},fontWeight:{value:x,label:"textFontWeight"},fontStyle:{value:$,label:"textFontStyle"},fontSubset:{value:_,label:"textFontSubset"},fontSizeType:{value:E,label:"textFontSizeType"},fontSize:{value:O,label:"textFontSize"},fontSizeMobile:{value:k,label:"textFontSizeMobile"},fontSizeTablet:{value:C,label:"textFontSizeTablet"},lineHeightType:{value:T,label:"textLineHeightType"},lineHeight:{value:j,label:"textLineHeight"},lineHeightMobile:{value:M,label:"textLineHeightMobile"},lineHeightTablet:{value:S,label:"textLineHeightTablet"},transform:{value:Q,label:"textTransform"},letterSpacing:{value:X,label:"textLetterSpacing"},letterSpacingTablet:{value:ee,label:"textLetterSpacingTablet"},letterSpacingMobile:{value:te,label:"textLetterSpacingMobile"},letterSpacingType:{value:ae,label:"textLetterSpacingType"},disableDecoration:!0}))),Object(o.createElement)(di,{title:Object(v.__)("Text Shadow","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(Mn,{label:Object(v.__)("Shadow Color","cartflows"),colorValue:L||"",data:{value:L,label:"textShadowColor"},setAttributes:r}),Object(o.createElement)(xe,{label:Object(v.__)("Vertical Shadow Offset","cartflows"),className:"cf-margin-control",value:B,onChange:function(e){return r({textShadowVOffset:e})},min:0,max:100,allowReset:!0,displayUnit:!1,setAttributes:r,data:{value:B,label:"textShadowVOffset"}}),Object(o.createElement)(xe,{label:Object(v.__)("Horizontal Shadow Offset","cartflows"),className:"cf-margin-control",value:P,onChange:function(e){return r({textShadowHOffset:e})},min:0,max:100,setAttributes:r,allowReset:!0,displayUnit:!1,data:{value:P,label:"textShadowHOffset"}}),Object(o.createElement)(xe,{label:Object(v.__)("Blur","cartflows"),className:"cf-margin-control",value:F,onChange:function(e){return r({textShadowBlur:e})},min:0,max:100,setAttributes:r,allowReset:!0,displayUnit:!1,data:{value:F,label:"textShadowBlur"}})),Object(o.createElement)(di,{title:Object(v.__)("Spacing","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(Vn,h()({},e,{label:Object(v.__)("Padding","cartflows"),valueTop:{value:A,label:"paddingTop"},valueRight:{value:z,label:"paddingRight"},valueBottom:{value:N,label:"paddingBottom"},valueLeft:{value:H,label:"paddingLeft"},valueTopTablet:{value:R,label:"paddingTopTablet"},valueRightTablet:{value:V,label:"paddingRightTablet"},valueBottomTablet:{value:I,label:"paddingBottomTablet"},valueLeftTablet:{value:W,label:"paddingLeftTablet"},valueTopMobile:{value:U,label:"paddingTopMobile"},valueRightMobile:{value:q,label:"paddingRightMobile"},valueBottomMobile:{value:G,label:"paddingBottomMobile"},valueLeftMobile:{value:Z,label:"paddingLeftMobile"},unit:{value:p,label:"paddingTypeDesktop"},mUnit:{value:f,label:"paddingTypeTablet"},tUnit:{value:g,label:"paddingTypeMobile"},link:{value:K,label:"spacingLink"},attributes:e.attributes,setAttributes:r,deviceType:e.deviceType})))),Object(o.createElement)(Dn,h()({},Bn,{parentProps:e})))),t)})),El=p.a.memo((function(e){var t=(e=e.parentProps).attributes,a=g();a=a.toLowerCase();var n=t.className,i=t.formJson,l=t.isHtml,r="";return i&&i.data.html&&(r=i.data.html),Object(o.createElement)("div",{className:bn()(n,"wp-block-wcfpb-offer-product-description","cf-editor-preview-mode-".concat(a),"cfp-block-".concat(e.clientId.substr(0,8)))},Object(o.createElement)("div",{className:"wpcfp__offer-product-description"},l&&Object(o.createElement)("div",{dangerouslySetInnerHTML:{__html:r}}),!l&&Object(o.createElement)(w.Placeholder,{icon:"admin-post",label:Object(v.__)("Loading","cartflows")},Object(o.createElement)(w.Spinner,null))))})),kl=(0,wp.data.withSelect)((function(e,t){var a=t.setAttributes,n=t.attributes.isHtml,i="",l=e("core/edit-post").__GetPreviewDeviceType,r=void 0===l?null:l,o=r?r():null;return n||jQuery.ajax({url:cfp_blocks_info.ajax_url,data:{action:"wpcfp_offer_product_description_shortcode",nonce:cfp_blocks_info.wpcfp_ajax_nonce,id:cfp_blocks_info.ID,shortDescription:t.attributes.shortDescription,cartflows_gb:!0},dataType:"json",type:"POST",success:function(e){a({isHtml:!0}),a({formJson:e}),i=e}}),{formHTML:i,deviceType:o}}))((function(e){var t,a,n=e.attributes,i=e.setAttributes,l=(t={attributes:n,setAttributes:i},a=Object(b.useRef)(),Object(b.useEffect)((function(){a.current=t}),[e]),a.current),r=g();return Object(b.useEffect)((function(){void 0!==l&&l.attributes.shortDescription!==e.attributes.shortDescription&&e.setAttributes({isHtml:!1}),e.setAttributes({block_id:e.clientId.substr(0,8)}),e.setAttributes({classMigrate:!0});var t=_l(e);d("wpcfp-offer-product-description-style-"+e.clientId.substr(0,8),t)}),[e]),Object(b.useEffect)((function(){var t=_l(e);d("wpcfp-offer-product-description-style-"+e.clientId.substr(0,8),t)}),[r]),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Ol,{parentProps:e}),Object(o.createElement)(El,{parentProps:e}))})),Cl=wp.i18n.__,jl=wp.blocks.registerBlockType;("upsell"===cfp_blocks_info.step_type||"downsell"===cfp_blocks_info.step_type&&cfp_blocks_info.is_woo_active)&&jl("wcfpb/offer-product-description",{title:cfp_blocks_info.blocks["wcfpb/offer-product-description"].title,description:cfp_blocks_info.blocks["wcfpb/offer-product-description"].description,icon:l.offer_product_description,category:cfp_blocks_info.category,keywords:[Cl("cartflows","cartflows-pro"),Cl("offer product description","cartflows-pro"),Cl("cfp","cartflows-pro")],edit:kl,example:{}}),a(68);var Tl,Ml=function(e){var t,a=e.attributes,n=a.textAlignment,i=a.ttextAlignment,l=a.mtextAlignment,r=a.textColor,o=a.textHoverColor,s=a.textFontFamily,b=a.textFontWeight,p=a.textFontSize,f=a.textFontSizeType,g=a.textFontSizeMobile,d=a.textFontSizeTablet,m=a.textLineHeight,h=a.textLineHeightType,v=a.textLineHeightMobile,y=a.textLineHeightTablet,w=a.textShadowColor,x=a.textShadowHOffset,_=a.textShadowVOffset,O=a.textShadowBlur,E=a.textFontStyle,k=a.textMarginTop,C=a.textMarginBottom,j=a.textMarginLeft,T=a.textMarginRight,M=a.textMarginTopTablet,S=a.textMarginRightTablet,D=a.textMarginBottomTablet,L=a.textMarginLeftTablet,P=a.textMarginTopMobile,B=a.textMarginRightMobile,F=a.textMarginBottomMobile,A=a.textMarginLeftMobile,N=a.textMarginTypeDesktop,H=a.textMarginTypeTablet,z=a.textMarginTypeMobile,R=a.textLetterSpacing,V=a.textLetterSpacingTablet,I=a.textLetterSpacingMobile,W=a.textLetterSpacingType,U={},q={};t={" .wpcfp__offer-product-price":{"text-align":n,color:r,margin:k+N+" "+T+N+" "+C+N+" "+j+N,"text-shadow":c(x,"px")+" "+c(_,"px")+" "+c(O,"px")+" "+w}," .wpcfp__offer-product-price .wcf-offer-price":{"font-family":s,"font-weight":b,"font-style":E,"font-size":c(p,f),"line-height":c(m,h),"letter-spacing":c(R,W)}," .wpcfp__offer-product-price:hover":{color:o}},U[" .wpcfp__offer-product-price"]={"text-align":i},U[" .wpcfp__offer-product-price .wcf-offer-price"]={"font-size":c(d,f),"line-height":c(y,h),"letter-spacing":c(V,W),margin:M+H+" "+S+H+" "+D+H+" "+L+H},q[" .wpcfp__offer-product-price .wcf-offer-price"]={"font-size":c(g,f),"line-height":c(v,h),"letter-spacing":c(I,W),margin:P+z+" "+B+z+" "+F+z+" "+A+z},q[" .wpcfp__offer-product-price"]={"text-align":l};var G=".editor-styles-wrapper .cfp-block-".concat(e.clientId.substr(0,8)),Z=u(t,G);return(Z+=u(U,"".concat(G,".cf-editor-preview-mode-tablet")))+u(q,"".concat(G,".cf-editor-preview-mode-mobile"))},Sl=p.a.memo((function(e){var t,a,n,i=e=e.parentProps,l=i.attributes,r=i.setAttributes,u=i.attributes,c=u.textAlignment,s=u.ttextAlignment,b=u.mtextAlignment,p=u.textColor,f=u.textHoverColor,g=u.textFontFamily,d=u.textFontWeight,m=u.textFontSubset,x=u.textFontSize,_=u.textFontSizeType,O=u.textFontSizeMobile,E=u.textFontSizeTablet,k=u.textLineHeight,C=u.textLineHeightType,j=u.textLineHeightMobile,T=u.textLineHeightTablet,M=u.textLoadGoogleFonts,S=u.textShadowColor,D=u.textShadowHOffset,L=u.textShadowVOffset,P=u.textShadowBlur,B=u.textFontStyle,F=u.textMarginTop,A=u.textMarginBottom,N=u.textMarginLeft,H=u.textMarginRight,z=u.textMarginTopTablet,R=u.textMarginRightTablet,V=u.textMarginBottomTablet,I=u.textMarginLeftTablet,W=u.textMarginTopMobile,U=u.textMarginRightMobile,q=u.textMarginBottomMobile,G=u.textMarginLeftMobile,Z=u.textMarginTypeDesktop,K=u.textMarginTypeTablet,J=u.textMarginTypeMobile,Y=u.spacingLink,$=u.textLetterSpacing,Q=u.textLetterSpacingTablet,X=u.textLetterSpacingMobile,ee=u.textLetterSpacingType;if(!0===M){var te={google:{families:[g+(d?":"+d:"")]}};t=Object(o.createElement)(Ka,{config:te})}return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(y.InspectorControls,null,Object(o.createElement)(dn,{tabs:["style","advance"],defaultTab:"style"},Object(o.createElement)(Dn,Pn,(a=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Text Color","cartflows"),colorValue:p||"",data:{value:p,label:"textColor"},setAttributes:r})),n=Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Mn,{label:Object(v.__)("Text Hover Color","cartflows"),colorValue:f||"",data:{value:f,label:"textHoverColor"},setAttributes:r})),Object(o.createElement)(di,{title:Object(v.__)("Text","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(tn,{setAttributes:r,label:Object(v.__)("Text Alignment","cartflows"),data:{desktop:{value:c,label:"textAlignment"},tablet:{value:s,label:"ttextAlignment"},mobile:{value:b,label:"mtextAlignment"}},responsive:!0,className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-left")}),tooltip:Object(v.__)("Left","cartflows")},{value:"center",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-center")}),tooltip:Object(v.__)("Center","cartflows")},{value:"right",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-right")}),tooltip:Object(v.__)("Right","cartflows")},{value:"justify",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-justify")}),tooltip:Object(v.__)("Justify","cartflows")}],showIcons:!0}),Object(o.createElement)(ni,{tabs:[{name:"normal",title:Object(v.__)("Normal","cartflows")},{name:"hover",title:Object(v.__)("Hover","cartflows")}],normal:a,hover:n}),Object(o.createElement)(Ra,{label:Object(v.__)("Typography","cartflows"),attributes:l,setAttributes:r,loadGoogleFonts:{value:M,label:"textLoadGoogleFonts"},fontFamily:{value:g,label:"textFontFamily"},fontWeight:{value:d,label:"textFontWeight"},fontStyle:{value:B,label:"textFontStyle"},fontSubset:{value:m,label:"textFontSubset"},fontSizeType:{value:_,label:"textFontSizeType"},fontSize:{value:x,label:"textFontSize"},fontSizeMobile:{value:O,label:"textFontSizeMobile"},fontSizeTablet:{value:E,label:"textFontSizeTablet"},lineHeightType:{value:C,label:"textLineHeightType"},lineHeight:{value:k,label:"textLineHeight"},lineHeightMobile:{value:j,label:"textLineHeightMobile"},lineHeightTablet:{value:T,label:"textLineHeightTablet"},letterSpacing:{value:$,label:"textLetterSpacing"},letterSpacingTablet:{value:Q,label:"textLetterSpacingTablet"},letterSpacingMobile:{value:X,label:"textLetterSpacingMobile"},letterSpacingType:{value:ee,label:"textLetterSpacingType"},disableTransform:!0,disableDecoration:!0}))),Object(o.createElement)(di,{title:Object(v.__)("Text Shadow","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(Mn,{label:Object(v.__)("Shadow Color","cartflows"),colorValue:S||"",data:{value:S,label:"textShadowColor"},setAttributes:r}),Object(o.createElement)(xe,{label:Object(v.__)("Vertical Shadow Offset","cartflows"),className:"cf-margin-control",value:L,onChange:function(e){return r({textShadowVOffset:e})},min:0,max:100,allowReset:!0,displayUnit:!1,data:{value:L,label:"textShadowVOffset"},setAttributes:r}),Object(o.createElement)(xe,{label:Object(v.__)("Horizontal Shadow Offset","cartflows"),className:"cf-margin-control",value:D,onChange:function(e){return r({textShadowHOffset:e})},setAttributes:r,min:0,max:100,allowReset:!0,displayUnit:!1,data:{value:D,label:"textShadowHOffset"}}),Object(o.createElement)(xe,{label:Object(v.__)("Blur","cartflows"),className:"cf-margin-control",value:P,onChange:function(e){return r({textShadowBlur:e})},setAttributes:r,min:0,max:100,allowReset:!0,displayUnit:!1,data:{value:P,label:"textShadowBlur"}})),Object(o.createElement)(di,{title:Object(v.__)("Spacing","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(Vn,h()({},e,{label:Object(v.__)("Margin","cartflows"),valueTop:{value:F,label:"textMarginTop"},valueRight:{value:H,label:"textMarginRight"},valueBottom:{value:A,label:"textMarginBottom"},valueLeft:{value:N,label:"textMarginLeft"},valueTopTablet:{value:z,label:"textMarginTopTablet"},valueRightTablet:{value:R,label:"textMarginRightTablet"},valueBottomTablet:{value:V,label:"textMarginBottomTablet"},valueLeftTablet:{value:I,label:"textMarginLeftTablet"},valueTopMobile:{value:W,label:"textMarginTopMobile"},valueRightMobile:{value:U,label:"textMarginRightMobile"},valueBottomMobile:{value:q,label:"textMarginBottomMobile"},valueLeftMobile:{value:G,label:"textMarginLeftMobile"},unit:{value:Z,label:"textMarginTypeDesktop"},mUnit:{value:K,label:"textMarginTypeTablet"},tUnit:{value:J,label:"textMarginTypeMobile"},link:{value:Y,label:"spacingLink"},attributes:e.attributes,setAttributes:r,deviceType:e.deviceType})))),Object(o.createElement)(Dn,h()({},Bn,{parentProps:e})))),t)})),Dl=a(32),Ll=0,Pl={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},Bl={};Bl.locals=Dl.a.locals||{},Bl.use=function(){return Ll++||(Tl=E()(Dl.a,Pl)),Bl},Bl.unuse=function(){Ll>0&&!--Ll&&(Tl(),Tl=null)};var Fl=Bl,Al=p.a.memo((function(e){Object(b.useLayoutEffect)((function(){return Fl.use(),function(){Fl.unuse()}}),[]);var t=(e=e.parentProps).attributes,a=g();a=a.toLowerCase();var n=t.className,i=t.formJson,l=t.isHtml,r="";return i&&i.data.html&&(r=i.data.html),Object(o.createElement)("div",{className:bn()(n,"wp-block-wcfpb-offer-product-price","cf-editor-preview-mode-".concat(a),"cfp-block-".concat(e.clientId.substr(0,8)))},Object(o.createElement)("div",{className:"wpcfp__offer-product-price"},l&&Object(o.createElement)("div",{dangerouslySetInnerHTML:{__html:r}}),!l&&Object(o.createElement)(w.Placeholder,{icon:"admin-post",label:Object(v.__)("Loading","cartflows")},Object(o.createElement)(w.Spinner,null))))})),Nl=(0,wp.data.withSelect)((function(e,t){var a=t.setAttributes,n=t.attributes.isHtml,i="",l=e("core/edit-post").__GetPreviewDeviceType,r=void 0===l?null:l,o=r?r():null;return n||jQuery.ajax({url:cfp_blocks_info.ajax_url,data:{action:"wpcfp_offer_product_price_shortcode",nonce:cfp_blocks_info.wpcfp_ajax_nonce,id:cfp_blocks_info.ID,cartflows_gb:!0},dataType:"json",type:"POST",success:function(e){a({isHtml:!0}),a({formJson:e}),i=e}}),{formHTML:i,deviceType:o}}))((function(e){console.log("props",e);var t=g();return Object(b.useEffect)((function(){var t=e.attributes,a=t.topMargin,n=t.bottomMargin,i=t.textMarginTop,l=t.textMarginBottom;a&&(void 0===i&&e.setAttributes({textMarginTop:a}),void 0===l&&e.setAttributes({textMarginBottom:n})),e.setAttributes({block_id:e.clientId.substr(0,8)}),e.setAttributes({classMigrate:!0});var r=Ml(e);d("wpcfp-offer-product-price-style-"+e.clientId.substr(0,8),r)}),[e]),Object(b.useEffect)((function(){var t=Ml(e);d("wpcfp-offer-product-price-style-"+e.clientId.substr(0,8),t)}),[t]),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Sl,{parentProps:e}),Object(o.createElement)(Al,{parentProps:e}))})),Hl=wp.i18n.__,zl=wp.blocks.registerBlockType;function Rl(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Vl(e){for(var t=1;t
0&&!--Ql&&(Kl(),Kl=null)};var tr=er,ar=p.a.memo((function(e){Object(b.useLayoutEffect)((function(){return tr.use(),function(){tr.unuse()}}),[]);var t=(e=e.parentProps).attributes,a=g();a=a.toLowerCase();var n=t.className,i=t.formJson,l=t.isHtml,r="";return i&&i.data.html&&(r=i.data.html),Object(o.createElement)("div",{className:bn()(n,"wp-block-wcfpb-offer-product-variation","cf-editor-preview-mode-".concat(a),"cfp-block-".concat(e.clientId.substr(0,8)))},Object(o.createElement)("div",{className:"wpcfp__offer-product-variation"},l&&Object(o.createElement)("div",{dangerouslySetInnerHTML:{__html:r}}),!l&&Object(o.createElement)(w.Placeholder,{icon:"admin-post",label:Object(v.__)("Loading","cartflows")},Object(o.createElement)(w.Spinner,null))))})),nr=(0,wp.data.withSelect)((function(e,t){var a=t.setAttributes,n=t.attributes.isHtml,i="",l=e("core/edit-post").__GetPreviewDeviceType,r=void 0===l?null:l,o=r?r():null;return n||jQuery.ajax({url:cfp_blocks_info.ajax_url,data:{action:"wpcfp_offer_product_variation_shortcode",nonce:cfp_blocks_info.wpcfp_ajax_nonce,id:cfp_blocks_info.ID,cartflows_gb:!0},dataType:"json",type:"POST",success:function(e){a({isHtml:!0}),a({formJson:e}),i=e}}),{formHTML:i,deviceType:o}}))((function(e){var t=g();return Object(b.useEffect)((function(){var t=e.attributes,a=t.topMargin,n=t.bottomMargin,i=t.textMarginTop,l=t.textMarginBottom;a&&(void 0===i&&e.setAttributes({textMarginTop:a}),void 0===l&&e.setAttributes({textMarginBottom:n})),e.setAttributes({block_id:e.clientId.substr(0,8)}),e.setAttributes({classMigrate:!0});var r=Jl(e);d("wpcfp-offer-product-variation-style-"+e.clientId.substr(0,8),r)}),[e]),Object(b.useEffect)((function(){var t=Jl(e);d("wpcfp-offer-product-variation-style-"+e.clientId.substr(0,8),t)}),[t]),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(Yl,{parentProps:e}),Object(o.createElement)(ar,{parentProps:e}))})),ir=wp.i18n.__,lr=wp.blocks.registerBlockType;function rr(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function or(e){for(var t=1;t
0&&(jQuery(document).find(".woocommerce-product-gallery__image"),t.find(".woocommerce-product-gallery__image").length>1)){var a=jQuery(".woocommerce-product-gallery").flexslider({animation:"slide",animationLoop:!1,controlNav:"thumbnails",selector:".slides .woocommerce-product-gallery__image",directionNav:!1});jQuery(window).on("load",(function(){a.resize()}));var n=jQuery(".variations_form");if(n.length>0){var i=function(){var e=jQuery(".woocommerce-product-gallery"),t=e.find(".flex-control-nav").find("li:eq(0) img"),a=e.find(".woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder").eq(0),n=a.find(".wp-post-image"),i=a.find("a").eq(0);n.wc_reset_variation_attr("src"),n.wc_reset_variation_attr("width"),n.wc_reset_variation_attr("height"),n.wc_reset_variation_attr("srcset"),n.wc_reset_variation_attr("sizes"),n.wc_reset_variation_attr("title"),n.wc_reset_variation_attr("data-caption"),n.wc_reset_variation_attr("alt"),n.wc_reset_variation_attr("data-src"),n.wc_reset_variation_attr("data-large_image"),n.wc_reset_variation_attr("data-large_image_width"),n.wc_reset_variation_attr("data-large_image_height"),a.wc_reset_variation_attr("data-thumb"),t.wc_reset_variation_attr("src"),i.wc_reset_variation_attr("href")};jQuery(".variations_form").on("found_variation",(function(e,t){!function(e){var t=n,a=jQuery(".woocommerce-product-gallery"),l=a.find(".flex-control-nav"),r=l.find("li:eq(0) img"),o=a.find(".woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder").eq(0),u=o.find(".wp-post-image"),c=o.find("a").eq(0);if(e&&e.image&&e.image.src&&e.image.src.length>1){l.find('li img[data-o_src="'+e.image.gallery_thumbnail_src+'"]').length>0&&i();var s=l.find('li img[src="'+e.image.gallery_thumbnail_src+'"]');if(s.length>0)return s.trigger("click"),t.attr("current-image",e.image_id),void window.setTimeout((function(){jQuery(window).trigger("resize"),a.trigger("woocommerce_gallery_init_zoom")}),20);u.wc_set_variation_attr("src",e.image.src),u.wc_set_variation_attr("height",e.image.src_h),u.wc_set_variation_attr("width",e.image.src_w),u.wc_set_variation_attr("srcset",e.image.srcset),u.wc_set_variation_attr("sizes",e.image.sizes),u.wc_set_variation_attr("title",e.image.title),u.wc_set_variation_attr("data-caption",e.image.caption),u.wc_set_variation_attr("alt",e.image.alt),u.wc_set_variation_attr("data-src",e.image.full_src),u.wc_set_variation_attr("data-large_image",e.image.full_src),u.wc_set_variation_attr("data-large_image_width",e.image.full_src_w),u.wc_set_variation_attr("data-large_image_height",e.image.full_src_h),o.wc_set_variation_attr("data-thumb",e.image.src),r.wc_set_variation_attr("src",e.image.gallery_thumbnail_src),c.wc_set_variation_attr("href",e.image.full_src)}else i();window.setTimeout((function(){jQuery(window).trigger("resize"),function(e){var t=n,a=jQuery(".woocommerce-product-gallery"),i=!1,l=e&&e.image_id?e.image_id:"";t.attr("current-image")!==l&&(i=!0),t.attr("current-image",l),i&&a.flexslider(0)}(e)}),20)}(t)}))}}},br=p.a.memo((function(e){var t=e=e.parentProps,a=t.setAttributes,n=t.attributes,i=n.alignment,l=n.image_bottom_spacing,r=n.spacing_between_thumbnails,u=n.imageMarginTop,c=n.imageMarginBottom,s=n.imageMarginLeft,b=n.imageMarginRight,p=n.imageMarginTopTablet,f=n.imageMarginRightTablet,g=n.imageMarginBottomTablet,d=n.imageMarginLeftTablet,m=n.imageMarginTopMobile,x=n.imageMarginRightMobile,_=n.imageMarginBottomMobile,O=n.imageMarginLeftMobile,E=n.imageMarginTypeDesktop,k=n.imageMarginTypeTablet,C=n.imageMarginTypeMobile,j=n.spacingLink;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(y.InspectorControls,null,Object(o.createElement)(dn,null,Object(o.createElement)(Dn,Ln,Object(o.createElement)(di,{title:Object(v.__)("Offer Product Image","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(tn,{setAttributes:a,label:Object(v.__)("Text Alignment","cartflows"),data:{value:i,label:"alignment"},className:"uagb-multi-button-alignment-control",options:[{value:"left",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-left")}),tooltip:Object(v.__)("Left","cartflows")},{value:"center",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-center")}),tooltip:Object(v.__)("Center","cartflows")},{value:"right",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-right")}),tooltip:Object(v.__)("Right","cartflows")},{value:"justify",icon:Object(o.createElement)(w.Icon,{icon:nn("fa fa-align-justify")}),tooltip:Object(v.__)("Justify","cartflows")}],showIcons:!0}),Object(o.createElement)(xe,{label:Object(v.__)("Image Bottom Spacing","cartflows"),className:"cf-margin-control",value:l,onChange:function(e){return a({image_bottom_spacing:e})},min:0,max:100,allowReset:!0,displayUnit:!1,setAttributes:a,data:{value:l,label:"image_bottom_spacing"}})),Object(o.createElement)(di,{title:Object(v.__)("Offer Product Thumbnails","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(xe,{label:Object(v.__)("Space Between Thumbnails","cartflows"),className:"cf-margin-control",value:r,onChange:function(e){return a({spacing_between_thumbnails:e})},min:0,max:100,allowReset:!0,displayUnit:!1,setAttributes:a,data:{value:r,label:"spacing_between_thumbnails"}}))),Object(o.createElement)(Dn,Pn,Object(o.createElement)(di,{title:Object(v.__)("Offer Product Image","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(il,{setAttributes:a,deviceType:e.deviceType,prefix:"image",attributes:e.attributes,disableBottomSeparator:!0})),Object(o.createElement)(di,{title:Object(v.__)("Offer Product Thumbnails","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(il,{setAttributes:a,deviceType:e.deviceType,prefix:"thumbnail",attributes:e.attributes,disableBottomSeparator:!0})),Object(o.createElement)(di,{title:Object(v.__)("Spacing","cartflows"),initialOpen:!1,className:"uagb__url-panel-body"},Object(o.createElement)(Vn,h()({},e,{label:Object(v.__)("Margin","cartflows"),valueTop:{value:u,label:"imageMarginTop"},valueRight:{value:b,label:"imageMarginRight"},valueBottom:{value:c,label:"imageMarginBottom"},valueLeft:{value:s,label:"imageMarginLeft"},valueTopTablet:{value:p,label:"imageMarginTopTablet"},valueRightTablet:{value:f,label:"imageMarginRightTablet"},valueBottomTablet:{value:g,label:"imageMarginBottomTablet"},valueLeftTablet:{value:d,label:"imageMarginLeftTablet"},valueTopMobile:{value:m,label:"imageMarginTopMobile"},valueRightMobile:{value:x,label:"imageMarginRightMobile"},valueBottomMobile:{value:_,label:"imageMarginBottomMobile"},valueLeftMobile:{value:O,label:"imageMarginLeftMobile"},unit:{value:E,label:"imageMarginTypeDesktop"},mUnit:{value:k,label:"imageMarginTypeTablet"},tUnit:{value:C,label:"imageMarginTypeMobile"},link:{value:j,label:"spacingLink"},attributes:e.attributes,setAttributes:a,deviceType:e.deviceType})))),Object(o.createElement)(Dn,h()({},Bn,{parentProps:e})))))})),pr=a(34),fr=0,gr={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},dr={};dr.locals=pr.a.locals||{},dr.use=function(){return fr++||(ur=E()(pr.a,gr)),dr},dr.unuse=function(){fr>0&&!--fr&&(ur(),ur=null)};var mr=dr,hr=p.a.memo((function(e){Object(b.useLayoutEffect)((function(){return mr.use(),function(){mr.unuse()}}),[]);var t=(e=e.parentProps).attributes,a=g();a=a.toLowerCase();var n=t.className,i=t.formJson,l=t.isHtml,r="";return i&&i.data.html&&(r=i.data.html),Object(o.createElement)("div",{className:bn()(n,"wp-block-wcfpb-offer-product-image","cf-editor-preview-mode-".concat(a),"cfp-block-".concat(e.clientId.substr(0,8)))},Object(o.createElement)("div",{className:"wpcfp__offer-product-image"},l&&Object(o.createElement)("div",{dangerouslySetInnerHTML:{__html:r}}),!l&&Object(o.createElement)(w.Placeholder,{icon:"admin-post",label:Object(v.__)("Loading","cartflows")},Object(o.createElement)(w.Spinner,null))))})),vr=(0,wp.data.withSelect)((function(e,t){var a=t.setAttributes,n=t.attributes.isHtml,i="",l=e("core/edit-post").__GetPreviewDeviceType,r=void 0===l?null:l,o=r?r():null;return n||jQuery.ajax({url:cfp_blocks_info.ajax_url,data:{action:"wpcfp_offer_product_image_shortcode",nonce:cfp_blocks_info.wpcfp_ajax_nonce,id:cfp_blocks_info.ID,cartflows_gb:!0},dataType:"json",type:"POST",success:function(e){a({isHtml:!0}),a({formJson:e}),i=e}}),{formHTML:i,deviceType:o}}))((function(e){console.log("props",e);var t=g();return Object(b.useEffect)((function(){var t=e.attributes,a=t.topMargin,n=t.bottomMargin,i=t.textMarginTop,l=t.textMarginBottom;a&&(void 0===i&&e.setAttributes({textMarginTop:a}),void 0===l&&e.setAttributes({textMarginBottom:n})),e.setAttributes({block_id:e.clientId.substr(0,8)}),e.setAttributes({classMigrate:!0}),sr();var r=cr(e);d("wpcfp-offer-product-image-style-"+e.clientId.substr(0,8),r)}),[e]),Object(b.useEffect)((function(){var t=cr(e);d("wpcfp-offer-product-image-style-"+e.clientId.substr(0,8),t);var a=document.getElementById("wpcfp-offer-product-image-style-"+e.clientId.substr(0,8));null!=a&&(a.innerHTML=cr(e),sr())}),[t]),Object(o.createElement)(o.Fragment,null,Object(o.createElement)(br,{parentProps:e}),Object(o.createElement)(hr,{parentProps:e}))})),yr=wp.i18n.__,wr=wp.blocks.registerBlockType;("upsell"===cfp_blocks_info.step_type||"downsell"===cfp_blocks_info.step_type&&cfp_blocks_info.is_woo_active)&&wr("wcfpb/offer-product-image",{title:cfp_blocks_info.blocks["wcfpb/offer-product-image"].title,description:cfp_blocks_info.blocks["wcfpb/offer-product-image"].description,icon:l.offer_product_image,category:cfp_blocks_info.category,keywords:[yr("cartflows","cartflows-pro"),yr("offer product image","cartflows-pro"),yr("cfp","cartflows-pro")],edit:vr,example:{}});var xr,_r=a(35),Or=0,Er={injectType:"lazySingletonStyleTag",attributes:{id:"uagb-editor-styles"},insert:"head",singleton:!0},kr={};kr.locals=_r.a.locals||{},kr.use=function(){return Or++||(xr=E()(_r.a,Er)),kr},kr.unuse=function(){Or>0&&!--Or&&(xr(),xr=null)};var Cr=kr;function jr(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Tr(e){for(var t=1;t