From 4bb5d7a61015e4d6540897739c77f32c6a42d924 Mon Sep 17 00:00:00 2001 From: ViorelEremia Date: Wed, 13 Sep 2023 15:39:28 +0300 Subject: [PATCH 1/8] Merge pull request #1929 from ThemeFuse/issue#23729 Fix: bagrinsergiu/blox-editor#23729 - jump to the second block by link --- admin/views/getting-started.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/views/getting-started.php b/admin/views/getting-started.php index 3d25c8fb3d..339c6884e1 100644 --- a/admin/views/getting-started.php +++ b/admin/views/getting-started.php @@ -188,6 +188,11 @@ +P diff --git a/public/editor-build/264-wp/editor/img/block-placeholder.jpg b/public/editor-build/267-wp/editor/img/block-placeholder.jpg similarity index 100% rename from public/editor-build/264-wp/editor/img/block-placeholder.jpg rename to public/editor-build/267-wp/editor/img/block-placeholder.jpg diff --git a/public/editor-build/264-wp/editor/img/global_condition_popups_toolbar.gif b/public/editor-build/267-wp/editor/img/global_condition_popups_toolbar.gif similarity index 100% rename from public/editor-build/264-wp/editor/img/global_condition_popups_toolbar.gif rename to public/editor-build/267-wp/editor/img/global_condition_popups_toolbar.gif diff --git a/public/editor-build/264-wp/editor/img/global_popups_toolbar.gif b/public/editor-build/267-wp/editor/img/global_popups_toolbar.gif similarity index 100% rename from public/editor-build/264-wp/editor/img/global_popups_toolbar.gif rename to public/editor-build/267-wp/editor/img/global_popups_toolbar.gif diff --git a/public/editor-build/264-wp/editor/img/global_toolbar.gif b/public/editor-build/267-wp/editor/img/global_toolbar.gif similarity index 100% rename from public/editor-build/264-wp/editor/img/global_toolbar.gif rename to public/editor-build/267-wp/editor/img/global_toolbar.gif diff --git a/public/editor-build/264-wp/editor/img/global_toolbar.png b/public/editor-build/267-wp/editor/img/global_toolbar.png similarity index 100% rename from public/editor-build/264-wp/editor/img/global_toolbar.png rename to public/editor-build/267-wp/editor/img/global_toolbar.png diff --git a/public/editor-build/264-wp/editor/img/mac-keyboard1x.png b/public/editor-build/267-wp/editor/img/mac-keyboard1x.png similarity index 100% rename from public/editor-build/264-wp/editor/img/mac-keyboard1x.png rename to public/editor-build/267-wp/editor/img/mac-keyboard1x.png diff --git a/public/editor-build/264-wp/editor/img/mac-keyboard2x.png b/public/editor-build/267-wp/editor/img/mac-keyboard2x.png similarity index 100% rename from public/editor-build/264-wp/editor/img/mac-keyboard2x.png rename to public/editor-build/267-wp/editor/img/mac-keyboard2x.png diff --git a/public/editor-build/264-wp/editor/img/paypal-224.jpg b/public/editor-build/267-wp/editor/img/paypal-224.jpg similarity index 100% rename from public/editor-build/264-wp/editor/img/paypal-224.jpg rename to public/editor-build/267-wp/editor/img/paypal-224.jpg diff --git a/public/editor-build/264-wp/editor/img/pc-keyboard1x.png b/public/editor-build/267-wp/editor/img/pc-keyboard1x.png similarity index 100% rename from public/editor-build/264-wp/editor/img/pc-keyboard1x.png rename to public/editor-build/267-wp/editor/img/pc-keyboard1x.png diff --git a/public/editor-build/264-wp/editor/img/pc-keyboard2x.png b/public/editor-build/267-wp/editor/img/pc-keyboard2x.png similarity index 100% rename from public/editor-build/264-wp/editor/img/pc-keyboard2x.png rename to public/editor-build/267-wp/editor/img/pc-keyboard2x.png diff --git a/public/editor-build/264-wp/editor/img/save_layout.gif b/public/editor-build/267-wp/editor/img/save_layout.gif similarity index 100% rename from public/editor-build/264-wp/editor/img/save_layout.gif rename to public/editor-build/267-wp/editor/img/save_layout.gif diff --git a/public/editor-build/264-wp/editor/img/save_popups_toolbar.gif b/public/editor-build/267-wp/editor/img/save_popups_toolbar.gif similarity index 100% rename from public/editor-build/264-wp/editor/img/save_popups_toolbar.gif rename to public/editor-build/267-wp/editor/img/save_popups_toolbar.gif diff --git a/public/editor-build/264-wp/editor/img/save_toolbar.gif b/public/editor-build/267-wp/editor/img/save_toolbar.gif similarity index 100% rename from public/editor-build/264-wp/editor/img/save_toolbar.gif rename to public/editor-build/267-wp/editor/img/save_toolbar.gif diff --git a/public/editor-build/264-wp/editor/img/save_toolbar.png b/public/editor-build/267-wp/editor/img/save_toolbar.png similarity index 100% rename from public/editor-build/264-wp/editor/img/save_toolbar.png rename to public/editor-build/267-wp/editor/img/save_toolbar.png diff --git a/public/editor-build/264-wp/editor/img/screenshot-placeholder-bg-map.png b/public/editor-build/267-wp/editor/img/screenshot-placeholder-bg-map.png similarity index 100% rename from public/editor-build/264-wp/editor/img/screenshot-placeholder-bg-map.png rename to public/editor-build/267-wp/editor/img/screenshot-placeholder-bg-map.png diff --git a/public/editor-build/264-wp/editor/img/screenshot-placeholder-bg-video.png b/public/editor-build/267-wp/editor/img/screenshot-placeholder-bg-video.png similarity index 100% rename from public/editor-build/264-wp/editor/img/screenshot-placeholder-bg-video.png rename to public/editor-build/267-wp/editor/img/screenshot-placeholder-bg-video.png diff --git a/public/editor-build/264-wp/editor/img/screenshot-placeholder-map.png b/public/editor-build/267-wp/editor/img/screenshot-placeholder-map.png similarity index 100% rename from public/editor-build/264-wp/editor/img/screenshot-placeholder-map.png rename to public/editor-build/267-wp/editor/img/screenshot-placeholder-map.png diff --git a/public/editor-build/264-wp/editor/img/screenshot-placeholder-soundcloud.png b/public/editor-build/267-wp/editor/img/screenshot-placeholder-soundcloud.png similarity index 100% rename from public/editor-build/264-wp/editor/img/screenshot-placeholder-soundcloud.png rename to public/editor-build/267-wp/editor/img/screenshot-placeholder-soundcloud.png diff --git a/public/editor-build/264-wp/editor/img/screenshot-placeholder-video.png b/public/editor-build/267-wp/editor/img/screenshot-placeholder-video.png similarity index 100% rename from public/editor-build/264-wp/editor/img/screenshot-placeholder-video.png rename to public/editor-build/267-wp/editor/img/screenshot-placeholder-video.png diff --git a/public/editor-build/264-wp/editor/img/skin1-1.jpg b/public/editor-build/267-wp/editor/img/skin1-1.jpg similarity index 100% rename from public/editor-build/264-wp/editor/img/skin1-1.jpg rename to public/editor-build/267-wp/editor/img/skin1-1.jpg diff --git a/public/editor-build/264-wp/editor/img/skin1-2.jpg b/public/editor-build/267-wp/editor/img/skin1-2.jpg similarity index 100% rename from public/editor-build/264-wp/editor/img/skin1-2.jpg rename to public/editor-build/267-wp/editor/img/skin1-2.jpg diff --git a/public/editor-build/264-wp/editor/img/skin1-3.jpg b/public/editor-build/267-wp/editor/img/skin1-3.jpg similarity index 100% rename from public/editor-build/264-wp/editor/img/skin1-3.jpg rename to public/editor-build/267-wp/editor/img/skin1-3.jpg diff --git a/public/editor-build/264-wp/editor/img/skin1-4.jpg b/public/editor-build/267-wp/editor/img/skin1-4.jpg similarity index 100% rename from public/editor-build/264-wp/editor/img/skin1-4.jpg rename to public/editor-build/267-wp/editor/img/skin1-4.jpg diff --git a/public/editor-build/264-wp/editor/js/1.export.js b/public/editor-build/267-wp/editor/js/1.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/1.export.js rename to public/editor-build/267-wp/editor/js/1.export.js index 304b5b82af..91c6963a3a 100644 --- a/public/editor-build/264-wp/editor/js/1.export.js +++ b/public/editor-build/267-wp/editor/js/1.export.js @@ -3,7 +3,7 @@ exports.id = 1; exports.ids = [1]; exports.modules = { -/***/ 3622: +/***/ 3629: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); @@ -12,10 +12,10 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "lessCompletionSource": () => (/* binding */ lessCompletionSource), /* harmony export */ "lessLanguage": () => (/* binding */ lessLanguage) /* harmony export */ }); -/* harmony import */ var _codemirror_language__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3071); -/* harmony import */ var _codemirror_lang_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3154); -/* harmony import */ var _lezer_lr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3146); -/* harmony import */ var _lezer_highlight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3073); +/* harmony import */ var _codemirror_language__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3053); +/* harmony import */ var _codemirror_lang_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3136); +/* harmony import */ var _lezer_lr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3128); +/* harmony import */ var _lezer_highlight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3055); diff --git a/public/editor-build/264-wp/editor/js/10.export.js b/public/editor-build/267-wp/editor/js/10.export.js similarity index 96% rename from public/editor-build/264-wp/editor/js/10.export.js rename to public/editor-build/267-wp/editor/js/10.export.js index a2a89d3a64..ff8296566c 100644 --- a/public/editor-build/264-wp/editor/js/10.export.js +++ b/public/editor-build/267-wp/editor/js/10.export.js @@ -3,7 +3,7 @@ exports.id = 10; exports.ids = [10]; exports.modules = { -/***/ 3632: +/***/ 3639: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); @@ -11,12 +11,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "vue": () => (/* binding */ vue), /* harmony export */ "vueLanguage": () => (/* binding */ vueLanguage) /* harmony export */ }); -/* harmony import */ var _codemirror_language__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3071); -/* harmony import */ var _codemirror_lang_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3152); -/* harmony import */ var _codemirror_lang_javascript__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3147); -/* harmony import */ var _lezer_highlight__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3073); -/* harmony import */ var _lezer_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3072); -/* harmony import */ var _lezer_lr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3146); +/* harmony import */ var _codemirror_language__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3053); +/* harmony import */ var _codemirror_lang_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3134); +/* harmony import */ var _codemirror_lang_javascript__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3129); +/* harmony import */ var _lezer_highlight__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3055); +/* harmony import */ var _lezer_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3054); +/* harmony import */ var _lezer_lr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3128); diff --git a/public/editor-build/264-wp/editor/js/11.export.js b/public/editor-build/267-wp/editor/js/11.export.js similarity index 97% rename from public/editor-build/264-wp/editor/js/11.export.js rename to public/editor-build/267-wp/editor/js/11.export.js index dcbb29ab7b..0cf687cf7a 100644 --- a/public/editor-build/264-wp/editor/js/11.export.js +++ b/public/editor-build/267-wp/editor/js/11.export.js @@ -3,7 +3,7 @@ exports.id = 11; exports.ids = [11]; exports.modules = { -/***/ 3633: +/***/ 3640: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); @@ -11,12 +11,12 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "angular": () => (/* binding */ angular), /* harmony export */ "angularLanguage": () => (/* binding */ angularLanguage) /* harmony export */ }); -/* harmony import */ var _codemirror_language__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3071); -/* harmony import */ var _codemirror_lang_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3152); -/* harmony import */ var _codemirror_lang_javascript__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3147); -/* harmony import */ var _lezer_highlight__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3073); -/* harmony import */ var _lezer_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3072); -/* harmony import */ var _lezer_lr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3146); +/* harmony import */ var _codemirror_language__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3053); +/* harmony import */ var _codemirror_lang_html__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3134); +/* harmony import */ var _codemirror_lang_javascript__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3129); +/* harmony import */ var _lezer_highlight__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3055); +/* harmony import */ var _lezer_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3054); +/* harmony import */ var _lezer_lr__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3128); diff --git a/public/editor-build/264-wp/editor/js/2.export.js b/public/editor-build/267-wp/editor/js/2.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/2.export.js rename to public/editor-build/267-wp/editor/js/2.export.js index 9b2d9ece5d..064030c08e 100644 --- a/public/editor-build/264-wp/editor/js/2.export.js +++ b/public/editor-build/267-wp/editor/js/2.export.js @@ -3,7 +3,7 @@ exports.id = 2; exports.ids = [2]; exports.modules = { -/***/ 3623: +/***/ 3630: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); @@ -11,9 +11,9 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ "sass": () => (/* binding */ sass), /* harmony export */ "sassLanguage": () => (/* binding */ sassLanguage) /* harmony export */ }); -/* harmony import */ var _lezer_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3624); -/* harmony import */ var _codemirror_language__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3071); -/* harmony import */ var _codemirror_lang_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3154); +/* harmony import */ var _lezer_sass__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3631); +/* harmony import */ var _codemirror_language__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3053); +/* harmony import */ var _codemirror_lang_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3136); @@ -67,15 +67,15 @@ function sass(config) { /***/ }), -/***/ 3624: +/***/ 3631: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "parser": () => (/* binding */ parser) /* harmony export */ }); -/* harmony import */ var _lezer_lr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3146); -/* harmony import */ var _lezer_highlight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3073); +/* harmony import */ var _lezer_lr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3128); +/* harmony import */ var _lezer_highlight__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3055); diff --git a/public/editor-build/264-wp/editor/js/3.export.js b/public/editor-build/267-wp/editor/js/3.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/3.export.js rename to public/editor-build/267-wp/editor/js/3.export.js index 5565e207f8..8021775d66 100644 --- a/public/editor-build/264-wp/editor/js/3.export.js +++ b/public/editor-build/267-wp/editor/js/3.export.js @@ -3,7 +3,7 @@ exports.id = 3; exports.ids = [3]; exports.modules = { -/***/ 3625: +/***/ 3632: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); diff --git a/public/editor-build/264-wp/editor/js/4.export.js b/public/editor-build/267-wp/editor/js/4.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/4.export.js rename to public/editor-build/267-wp/editor/js/4.export.js index ffb26707e3..df8e735284 100644 --- a/public/editor-build/264-wp/editor/js/4.export.js +++ b/public/editor-build/267-wp/editor/js/4.export.js @@ -3,7 +3,7 @@ exports.id = 4; exports.ids = [4]; exports.modules = { -/***/ 3626: +/***/ 3633: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); diff --git a/public/editor-build/264-wp/editor/js/5.export.js b/public/editor-build/267-wp/editor/js/5.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/5.export.js rename to public/editor-build/267-wp/editor/js/5.export.js index dab7544f65..7e87beea37 100644 --- a/public/editor-build/264-wp/editor/js/5.export.js +++ b/public/editor-build/267-wp/editor/js/5.export.js @@ -3,7 +3,7 @@ exports.id = 5; exports.ids = [5]; exports.modules = { -/***/ 3627: +/***/ 3634: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); diff --git a/public/editor-build/264-wp/editor/js/6.export.js b/public/editor-build/267-wp/editor/js/6.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/6.export.js rename to public/editor-build/267-wp/editor/js/6.export.js index 12f21ede6c..ed6176a083 100644 --- a/public/editor-build/264-wp/editor/js/6.export.js +++ b/public/editor-build/267-wp/editor/js/6.export.js @@ -3,7 +3,7 @@ exports.id = 6; exports.ids = [6]; exports.modules = { -/***/ 3628: +/***/ 3635: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); diff --git a/public/editor-build/264-wp/editor/js/7.export.js b/public/editor-build/267-wp/editor/js/7.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/7.export.js rename to public/editor-build/267-wp/editor/js/7.export.js index 65c399d681..cce7e45385 100644 --- a/public/editor-build/264-wp/editor/js/7.export.js +++ b/public/editor-build/267-wp/editor/js/7.export.js @@ -3,7 +3,7 @@ exports.id = 7; exports.ids = [7]; exports.modules = { -/***/ 3629: +/***/ 3636: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); diff --git a/public/editor-build/264-wp/editor/js/8.export.js b/public/editor-build/267-wp/editor/js/8.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/8.export.js rename to public/editor-build/267-wp/editor/js/8.export.js index f6381e27f8..ccc92e0eb3 100644 --- a/public/editor-build/264-wp/editor/js/8.export.js +++ b/public/editor-build/267-wp/editor/js/8.export.js @@ -3,7 +3,7 @@ exports.id = 8; exports.ids = [8]; exports.modules = { -/***/ 3630: +/***/ 3637: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); diff --git a/public/editor-build/264-wp/editor/js/9.export.js b/public/editor-build/267-wp/editor/js/9.export.js similarity index 99% rename from public/editor-build/264-wp/editor/js/9.export.js rename to public/editor-build/267-wp/editor/js/9.export.js index 0e2fc0b106..1d888867a3 100644 --- a/public/editor-build/264-wp/editor/js/9.export.js +++ b/public/editor-build/267-wp/editor/js/9.export.js @@ -3,7 +3,7 @@ exports.id = 9; exports.ids = [9]; exports.modules = { -/***/ 3631: +/***/ 3638: /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); diff --git a/public/editor-build/267-wp/editor/js/editor.min.js b/public/editor-build/267-wp/editor/js/editor.min.js new file mode 100644 index 0000000000..4bac1f0550 --- /dev/null +++ b/public/editor-build/267-wp/editor/js/editor.min.js @@ -0,0 +1 @@ +(()=>{var e,t={33188:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Audio",{enumerable:!0,get:function(){return l}});const r=o(73948),n=a(o(60042)),i=a(o(27378));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{src:t,isLoop:o,showCurrentTime:a,showDurationTime:l,showProgressBarTrack:s,showProgressBarVolume:c,classNameAudio:d,classNameControls:u,classNameIcon:p}=e;const f=(0,n.default)("brz-icon-svg","brz-audio-play",p),m=(0,n.default)("brz-hidden","brz-icon-svg","brz-audio-pause",p),y=(0,n.default)("brz-icon-svg","brz-audio-mute",p),g=(0,n.default)("brz-hidden","brz-icon-svg","brz-audio-unmute",p);return i.default.createElement("div",{className:d},i.default.createElement("div",{className:"brz-audio__cover"}),i.default.createElement("div",{className:"brz-audio-play-pause-btn"},i.default.createElement(r.ThemeIcon,{className:f,name:"button-play",type:"glyph"}),i.default.createElement(r.ThemeIcon,{className:m,name:"button-pause",type:"glyph"})),i.default.createElement("div",{className:u},a&&i.default.createElement("span",{className:"brz-audio-current-time"},"0:00"),s&&i.default.createElement("div",{className:"brz-audio-slider"},i.default.createElement("div",{className:"brz-audio-progress"})),l&&i.default.createElement("span",{className:"brz-audio-total-time"},"0:00")),c&&i.default.createElement("div",{className:"brz-audio-volume"},i.default.createElement("div",{className:"brz-audio-volume-btn"},i.default.createElement(r.ThemeIcon,{className:y,name:"volume-97",type:"glyph"}),i.default.createElement(r.ThemeIcon,{className:g,name:"volume-ban",type:"glyph"})),i.default.createElement("div",{className:"brz-audio-volume-controls"},i.default.createElement("div",{className:"brz-audio-slider"},i.default.createElement("div",{className:"brz-audio-progress"})))),i.default.createElement("audio",{preload:"none",src:t,loop:o??!1}))}},73289:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,children:o,onClick:i}=e;const a=(0,r.default)("brz-btn","brz-package__button",t);return n.default.createElement("button",{className:a,onClick:i},o)}},78941:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Calendly",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(30257),a=e=>{const{link:t}=e;return r.default.createElement(i.InlineWidget,{url:t})}},90637:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EmbedCode",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(83850),a=e=>{const{code:t,className:o,ssr:n,tagName:a}=e;return r.default.createElement("div",{className:"brz-embed-content"},r.default.createElement(i.DangerouslySetHtmlContent,{tagName:a??"div",html:t,className:o,ssr:n}))}},63041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Gap",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{const{className:t}=e;return r.default.createElement("div",{className:t})}},44312:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{LottieEditor:function(){return s},LottieView:function(){return c}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=o(9115),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{isLoop:t=!0,isAutoplay:o=!0,animationData:r={},speed:n=1,direction:l=1,renderer:s="svg"}=e;const c={loop:t,autoplay:o,animationData:r,renderer:s,rendererSettings:{preserveAspectRatio:"svg"===s?"xMidYMid slice":"xMidYMid meet"}},{play:d,stop:u,getDuration:p,goToAndPlay:f,setSpeed:m,setDirection:y,View:g}=(0,i.useLottie)(c),h=(0,a.useRef)(n),b=(0,a.useCallback)((()=>{if(!o)return u();if(-1===l&&h.current===n){const e=p(!0);if(e)return f(e,!0)}h.current=n,d()}),[p,f,d,u,l,o,n]);return(0,a.useEffect)((()=>{m(n),y(l),b()}),[y,m,b,l,n]),g},c=e=>{let{renderer:t,animationData:o,speed:n,isLoop:i,isAutoplay:l,direction:s}=e;const c=(0,r.default)("brz-lottie-anim",{"brz-lottie__canvas":"canvas"===t});return a.default.createElement("div",{className:c,"data-animate-name":o,"data-anim-speed":n,"data-anim-loop":i,"data-anim-autoplay":l,"data-anim-direction":s,"data-render-type":t})}},6767:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{MapPreview:function(){return a},MapEditor:function(){return l}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,address:o,platform:i,zoom:a}=e,l=(0,r.default)(t,"brz-iframe",{"intrinsic-ignore":"WP"===i}),s=`https://www.google.com/maps/embed/v1/place?key=AIzaSyCcywKcxXeMZiMwLDcLgyEnNglcLOyB_qw&q=${o}&zoom=${a}`;return n.default.createElement("div",{className:"brz-map-content"},n.default.createElement("iframe",{className:l,src:s,title:"map"}))},l=e=>{const{className:t,address:o,platform:i,zoom:l}=e,s=(0,r.default)(t,"brz-blocked");return n.default.createElement(a,{address:o,platform:i,className:s,zoom:l})}},76552:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProgressBar1",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,text:o,showText:i,showPercentage:a,percentage:l}=e,s=(0,r.default)(t,"brz-d-xs-flex","brz-align-items-xs-center","brz-progress-bar__wrapper");return n.default.createElement("div",{className:s,"data-progress":l},i&&o,a&&n.default.createElement("span",{className:"brz-span brz-progress-bar__percent"},l,"%"))}},27818:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProgressBar2",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,showPercentage:o,percentage:i}=e,a=(0,r.default)(t,"brz-d-xs-flex","brz-progress-bar__wrapper");return n.default.createElement(n.default.Fragment,null,o&&n.default.createElement("span",{className:"brz-span brz-progress-bar__percent",style:{marginLeft:(i>=94?i-7:i-1)+"%"}},i,"%"),n.default.createElement("div",{className:"brz-progress-bar-overlay"},n.default.createElement("div",{className:a,"data-progress":i,style:{width:`${i}%`,maxWidth:`${i}%`}})))}},28917:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Quantity1",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{step:t=1,value:o=1,min:i=1,max:a,className:l,onChange:s,attr:c}=e;const d=(0,r.default)("brz-input",l);return n.default.createElement("div",{className:"brz-shopify-quantity-style1"},n.default.createElement("input",{className:d,type:"number",max:a,min:i,step:t,...c,defaultValue:o,onChange:s}))}},30125:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Quantity2",{enumerable:!0,get:function(){return s}});const r=o(73948),n=o(42162),i=l(o(60042)),a=l(o(27378));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{className:t,max:o,min:l=1,onChange:s,onDecrease:c,onIncrease:d,step:u=1,value:p=1,attr:f}=e;const m=(0,i.default)("brz-input",t);return a.default.createElement("div",{className:"brz-shopify-quantity-style2"},a.default.createElement(n.Button,{className:"brz-button-decrement",onClick:c},a.default.createElement(r.ThemeIcon,{name:"simple-delete",type:"outline"})),a.default.createElement("input",{className:m,max:o,min:l,step:u,defaultValue:p,...f,type:"number",onChange:s}),a.default.createElement(n.Button,{className:"brz-button-increment",onClick:d},a.default.createElement(r.ThemeIcon,{name:"simple-add",type:"outline"})))}},71556:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageItem",{enumerable:!0,get:function(){return c}});const r=s(o(60042)),n=s(o(27378)),i=s(o(53125)),a=o(16550),l=o(81405);function s(e){return e&&e.__esModule?e:{default:e}}const c=e=>{let{value:t,isActive:o=!1,onClick:s}=e;const c=(0,a.useDC)(t);if("success"!==c.status)return n.default.createElement(i.default,{style:{height:"50px",width:"50px"},icon:"shopify-variant"});{const e=c.data,t={...(0,l.isHex)(e)?{backgroundColor:e}:"",backgroundImage:`url(${e})`},i=(0,r.default)("brz-shopify-variant-image-block",{"brz-shopify-variant-image-block--active":o});return n.default.createElement("div",{className:"brz-shopify-variant-image-block-wrapper"},n.default.createElement("div",{"data-brz-value":e,onClick:s,className:i,style:t}))}}},44258:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantImage",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,attr:o,children:i}=e;const a=(0,r.default)("brz-shopify-variant-image-wrapper",t);return n.default.createElement("div",{className:a,...o},i)}},70586:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ItemTitle",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{children:t}=e;return r.default.createElement("span",{className:"brz-shopify-variant-item-radio-font"},t)}},10597:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RadioItem",{enumerable:!0,get:function(){return c}});const r=s(o(60042)),n=s(o(27378)),i=s(o(53125)),a=o(16550),l=o(70586);function s(e){return e&&e.__esModule?e:{default:e}}const c=e=>{let{isActive:t=!1,title:o,value:s,onClick:c}=e;const d=(0,r.default)("brz-shopify-variant-radio-block",{"brz-shopify-variant-radio-block--active":t}),u=(0,a.useDC)(o);return"success"!==u.status?n.default.createElement(i.default,{icon:"shopify-variant",style:{height:"32px",width:"55px"}}):n.default.createElement("div",{className:"brz-shopify-variant-radio-block-wrapper"},n.default.createElement("div",{"data-brz-value":s,className:d,onClick:c},n.default.createElement(l.ItemTitle,null,u.data)))}},141:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RadioWrapper",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,attr:o,children:n}=e;return r.default.createElement("div",{className:t,...o},n)}},21248:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantRadio",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=o(141);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,attr:o,children:a}=e;const l=(0,r.default)("brz-shopify-variant-radio-wrapper",t);return n.default.createElement(i.RadioWrapper,{attr:o,className:l},a)}},94038:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeaderSelect",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(53125)),i=o(73948),a=o(16550);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{value:t,onClick:o,isOpen:l=!1}=e;const s=l?"up-arrow-thin":"down-arrow-thin",c=(0,a.useDC)(t);return"success"!==c.status?r.default.createElement(n.default,{icon:"shopify-variant"}):r.default.createElement("div",{className:"brz-shopify-variant-select-selectedItem",onClick:o},r.default.createElement("span",{className:"brz-shopify-variant-select-selectedItem-font"},c.data),r.default.createElement(i.ThemeIcon,{className:"brz-shopify-select-arrow",type:"editor",name:s}))}},8803:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SelectDropdown",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{isOpen:t=!1,children:o}=e;const i=(0,r.default)("brz-shopify-variant-items",{"brz-shopify-variant-items--opened":t});return n.default.createElement("ul",{className:i},o)}},53626:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SelectItem",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(53125)),i=o(16550);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{onChange:t,value:o,children:a}=e;const l=(0,i.useDC)(a);return"success"!==l.status?r.default.createElement(n.default,{icon:"shopify-variant"}):r.default.createElement("li",{"data-brz-value":o,onClick:t},r.default.createElement("span",{className:"brz-shopify-variant-item-select-font"},l.data))}},61599:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SelectWrapper",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,attr:o,children:n}=e;return r.default.createElement("div",{className:t,...o},n)}},12706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantSelect",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=o(61599);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,attr:o,children:a}=e;const l=(0,r.default)("brz-shopify-variant-select-wrapper",t);return n.default.createElement(i.SelectWrapper,{className:l,attr:o},a)}},60704:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantTitle",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=l(o(53125)),a=o(16550);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{children:t,className:o}=e;const l=(0,r.default)("brz-shopify-variant-label-wrapper",o),s=(0,a.useDC)(t);return"success"!==s.status?n.default.createElement(i.default,{icon:"shopify-variant",className:"w-full"}):n.default.createElement("div",{className:l},n.default.createElement("div",{className:"brz-shopify-variant-label"},s.data))}},26683:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SoundCloud",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{src:t,isAutoPlay:o,showArtwork:i,showLikeButton:a,showBuyButton:l,showDownloadButton:s,showShareButton:c,showComments:d,showPlayCounts:u,showUsername:p,isVisual:f,controlsColor:m,className:y}=e,g=(0,r.default)(y,"brz-iframe","intrinsic-ignore"),h=`https://w.soundcloud.com/player/?url=${t}&auto_play=${o}&how_teaser=true&visual=${f}&color=${m}&buying=${l}&sharing=${c}&download=${s}&show_artwork=${i}&show_playcount=${u}&show_user=${p}&show_comments=${d}&liking=${a}&`;return n.default.createElement("div",{className:"brz-soundCloud-content","data-brz-url":h},n.default.createElement("iframe",{className:g,src:h,title:"flex-sound-cloud"}))}},15482:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StarRating1",{enumerable:!0,get:function(){return a}});const r=o(73948),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=e=>{const{showLeftLabel:t,showRightLabel:o,rating:i,ratingScale:a,iconName:l,iconType:s,label:c}=e,d=Array(a).fill("").map(((e,t)=>n.default.createElement("div",{key:t,className:"brz-starrating-icon-wrap"},n.default.createElement(r.ThemeIcon,{name:l,type:s,className:"brz-starrating-color-empty"}),n.default.createElement("span",{className:"brz-starrating-color",style:{width:`calc((${i} - ${t}) * 100%)`}},n.default.createElement(r.ThemeIcon,{name:l,type:s})))));return n.default.createElement(n.default.Fragment,null,t&&c,n.default.createElement("div",{className:"brz-starrating-container",title:i},d),o&&c)}},58933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StarRating2",{enumerable:!0,get:function(){return a}});const r=o(73948),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=e=>{const{showIcon:t,rating:o,iconName:i,iconType:a}=e;return n.default.createElement("div",{className:"brz-starrating-style2-container"},n.default.createElement("span",{className:"brz-starrating-text"},o),t&&n.default.createElement(r.ThemeIcon,{className:"brz-starrating-icon-wrap",name:i,type:a}))}},94020:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TwitterEmbedEditor:function(){return a},TwitterEmbedPreview:function(){return l}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(97339),a=e=>{const{height:t,theme:o,name:n}=e;return r.default.createElement(i.TwitterTimelineEmbed,{key:JSON.stringify(e),sourceType:"profile",screenName:n,options:{height:t},theme:o})},l=e=>{let{height:t,theme:o,name:n}=e;return r.default.createElement("a",{className:"twitter-timeline",href:`https://twitter.com/${n}`,"data-height":t,"data-theme":o})}},25205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TwitterFollowEditor:function(){return a},TwitterFollowPreview:function(){return l}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(97339),a=e=>{const{name:t,size:o,showCount:n,showScreenName:a}=e;return r.default.createElement(i.TwitterFollowButton,{key:JSON.stringify(e),screenName:t,options:{size:o,showCount:n,showScreenName:a}})},l=e=>{let{name:t,size:o,showCount:n,showScreenName:i}=e;return r.default.createElement("a",{className:"twitter-follow-button",href:`https://twitter.com/${t}`,"data-related":t,"data-show-screen-name":i,"data-size":o,"data-show-count":n})}},38446:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TwitterMentionEditor:function(){return a},TwitterMentionPreview:function(){return l}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(97339),a=e=>{const{name:t,size:o}=e;return r.default.createElement(i.TwitterMentionButton,{key:JSON.stringify(e),screenName:t,options:{size:o}})},l=e=>{let{name:t,size:o,tweet:n}=e;return r.default.createElement("a",{className:"twitter-mention-button",href:`https://twitter.com/${t}?screen_name=${t}`,"data-text":n,"data-size":o})}},42162:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Audio:function(){return r.Audio},Button:function(){return n.Button},Calendly:function(){return i.Calendly},EmbedCode:function(){return a.EmbedCode},Gap:function(){return l.Gap},LottieEditor:function(){return s.LottieEditor},LottieView:function(){return s.LottieView},MapPreview:function(){return c.MapPreview},MapEditor:function(){return c.MapEditor},ProgressBar1:function(){return d.ProgressBar1},ProgressBar2:function(){return u.ProgressBar2},SoundCloud:function(){return P.SoundCloud},StarRating1:function(){return C.StarRating1},StarRating2:function(){return T.StarRating2},Quantity1:function(){return p.Quantity1},Quantity2:function(){return f.Quantity2},VariantTitle:function(){return x.VariantTitle},VariantSelect:function(){return b.VariantSelect},VariantRadio:function(){return g.VariantRadio},VariantImage:function(){return m.VariantImage},ImageItem:function(){return y.ImageItem},RadioItem:function(){return h.RadioItem},SelectItem:function(){return w.SelectItem},SelectDropdown:function(){return S.SelectDropdown},HeaderSelect:function(){return v.HeaderSelect},TwitterMentionPreview:function(){return M.TwitterMentionPreview},TwitterEmbedPreview:function(){return _.TwitterEmbedPreview},TwitterFollowPreview:function(){return k.TwitterFollowPreview},TwitterFollowEditor:function(){return k.TwitterFollowEditor},TwitterEmbedEditor:function(){return _.TwitterEmbedEditor},TwitterMentionEditor:function(){return M.TwitterMentionEditor}});const r=o(33188),n=o(73289),i=o(78941),a=o(90637),l=o(63041),s=o(44312),c=o(6767),d=o(76552),u=o(27818),p=o(28917),f=o(30125),m=o(44258),y=o(71556),g=o(21248),h=o(10597),b=o(12706),v=o(94038),S=o(8803),w=o(53626),x=o(60704),P=o(26683),C=o(15482),T=o(58933),_=o(94020),k=o(25205),M=o(38446)},83850:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DangerouslySetHtmlContent",{enumerable:!0,get:function(){return i}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const i=e=>{let{html:t,tagName:o,className:n,ssr:i}=e;const a=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=a.current;if(e){const o=document.createRange().createContextualFragment(t);e.innerHTML="",e.appendChild(o)}}),[t,a]),i?(0,r.createElement)(o,{className:n,dangerouslySetInnerHTML:{__html:t}}):(0,r.createElement)(o,{className:n,ref:a})}},62474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyList",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("path",{d:"M6,0 L1,0 C0.4,0 0,0.4 0,1 L0,6 C0,6.6 0.4,7 1,7 L6,7 C6.6,7 7,6.6 7,6 L7,1 C7,0.4 6.6,0 6,0 Z M6,9 L1,9 C0.4,9 0,9.4 0,10 L0,15 C0,15.6 0.4,16 1,16 L6,16 C6.6,16 7,15.6 7,15 L7,10 C7,9.4 6.6,9 6,9 Z M9,1 L16,1 L16,3 L9,3 L9,1 Z M9,4 L16,4 L16,6 L9,6 L9,4 Z M9,10 L16,10 L16,12 L9,12 L9,10 Z M9,13 L16,13 L16,15 L9,15 L9,13 Z",fill:"currentColor",fillRule:"nonzero"})))}},65300:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyMeta",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-180.000000, -334.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M196,344 L196,348 C196,349.104569 195.104569,350 194,350 L194,350 L190,350 L190,348 L194,348 L194,344 L196,344 Z M182,344 L182,348 L186,348 L186,350 L182,350 C180.895431,350 180,349.104569 180,348 L180,348 L180,344 L182,344 Z M188,337.008384 C188.113922,337.008384 188.223793,337.046048 188.313117,337.114242 L188.376,337.171 L191.876,341.171 C192.004992,341.318618 192.035818,341.527999 191.954844,341.706529 C191.885437,341.859555 191.744869,341.965716 191.582672,341.99305 L191.5,342 L189,342 L189,346 C189,346.552285 188.552285,347 188,347 C187.487164,347 187.064493,346.61396 187.006728,346.116621 L187,346 L187,342 L184.5,342 C184.303964,341.999801 184.12613,341.88506 184.045156,341.706529 C183.977678,341.557754 183.987839,341.387555 184.067748,341.249527 L184.124,341.171 L187.624,337.171 C187.721525,337.067234 187.857597,337.008384 188,337.008384 Z M186,334 L186,336 L182,336 L182,340 L180,340 L180,336 C180,334.945638 180.815878,334.081835 181.850738,334.005486 L182,334 L186,334 Z M194,334 C195.104569,334 196,334.895431 196,336 L196,336 L196,340 L194,340 L194,336 L190,336 L190,334 Z"}))))}},76817:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyMetafield",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-112.000000, -334.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M116.6,343 L113.4,343 C112.6,343 112,342.4 112,341.6 L112,335.4 C112,334.6 112.6,334 113.4,334 L116.7,334 C117.4,334 118,334.6 118,335.4 L118,341.7 C118,342.4 117.4,343 116.6,343 Z M126.6,350 L123.3,350 C122.5,350 121.9,349.4 121.9,348.6 L121.9,342.4 C122,341.6 122.6,341 123.4,341 L126.7,341 C127.4,341 128,341.6 128,342.4 L128,348.7 C128,349.4 127.4,350 126.6,350 Z M120,349 C117.5,349 115.2,347.7 113.9,345.5 L115.6,344.5 C116.6,346 118.2,347 120,347 L120,349 Z M124.3,339.5 C123.4,338 121.8,337 120,337 L120,335 C122.5,335 124.8,336.3 126.1,338.5 L124.3,339.5 Z"}))))}},2296:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyPriceStyle1",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{fill:"currentColor"},r.default.createElement("g",{transform:"translate(0 3)",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:"1"},r.default.createElement("rect",{x:"0",y:"2",width:"7",height:"6",rx:"1"}),r.default.createElement("path",{d:"M16 3v4a1 1 0 0 1-1 1h-3.314l3.932-5.786A.998.998 0 0 1 16 3zm-3.008-1L9 8c-.336 0-1-.16-1-1V3a1 1 0 0 1 1-1h3.992z"}),r.default.createElement("path",{d:"M15.208 0L16 .467 8.753 11 8 10.407z"}))))}},19416:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyPriceStyle2",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{fill:"currentColor"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(0 5)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("rect",{x:"0",y:"0",width:"16",height:"6",rx:"1"})))))}},61110:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyPriceStyle3",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{fill:"currentColor"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(0 3)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M8.558 2L4.516 8H1a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h7.558zM15 2a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H7.174l4.201-6H15z"}),r.default.createElement("path",{d:"M10.931 0H12L5.06 10H4z"})))))}},88926:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyQuantity",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(0.000000, 2.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M3.2032717,11.2493477 L2.4672717,11.2493477 C2.4852717,11.2303477 2.5032717,11.2123477 2.5202717,11.1943477 L2.6322717,11.0763477 C3.2892717,10.3903477 3.8082717,9.84834773 3.8052717,9.01634773 C3.8052717,8.72634773 3.7352717,8.44534773 3.6062717,8.20434773 C3.3142717,7.65634773 2.7222717,7.30134773 2.0222717,7.25234773 C1.0852717,7.19234773 0.240271704,7.81334773 0.0212717037,8.73434773 C-0.0747282963,9.13734773 0.174271704,9.54134773 0.577271704,9.63734773 C0.979271704,9.73434773 1.3842717,9.48334773 1.4802717,9.08134773 C1.5292717,8.87834773 1.7282717,8.73734773 1.9202717,8.74834978 C2.0882717,8.76034773 2.2382717,8.82634773 2.2832717,8.91034773 C2.2862717,8.91734773 2.3042717,8.95334773 2.3042717,9.02034773 C2.3042717,9.23634773 2.0452717,9.51734773 1.5482717,10.0373477 L1.4342717,10.1563477 C1.1442717,10.4593477 0.715271704,10.9153477 0.192271704,11.4963477 C-0.00572829631,11.7163477 -0.0557282963,12.0323477 0.0652717037,12.3033477 C0.186271704,12.5743477 0.454271704,12.7483498 0.750271704,12.7483498 L3.2032717,12.7483498 C3.6172717,12.7483498 3.9532717,12.4123477 3.9532717,11.9983477 C3.9532717,11.5843477 3.6172717,11.2483498 3.2032717,11.2483498 L3.2032717,11.2493477 Z M1.1552717,2.17334773 L1.2512717,2.11234773 L1.2512717,4.74934773 C1.2512717,5.16334773 1.5872717,5.49934773 2.0012717,5.49934773 C2.4152717,5.49934773 2.7512717,5.16334773 2.7512717,4.74934773 L2.7512717,0.749347729 C2.7512717,0.476347729 2.6022717,0.224347729 2.3632717,0.0923477287 C2.1232717,-0.0386522713 1.8312717,-0.0296522713 1.6002717,0.115347729 L0.353271704,0.905347729 C0.00327170369,1.12734773 -0.100728296,1.59034773 0.121271704,1.94034773 C0.343271704,2.29134773 0.808271704,2.39334773 1.1562717,2.17234773 L1.1552717,2.17334773 Z M14.7512717,0.749347729 L6.7512717,0.749347729 C6.1992717,0.749347729 5.7512717,1.19734773 5.7512717,1.74934773 C5.7512717,2.30134773 6.1992717,2.74934773 6.7512717,2.74934773 L14.7512717,2.74934773 C15.3032717,2.74934773 15.7512717,2.30134773 15.7512717,1.74934773 C15.7512717,1.19734773 15.3032717,0.749347729 14.7512717,0.749347729 Z M14.7512717,5.74934773 L6.7512717,5.74934773 C6.1992717,5.74934773 5.7512717,6.19734773 5.7512717,6.74934773 C5.7512717,7.30134773 6.1992717,7.74934773 6.7512717,7.74934773 L14.7512717,7.74934773 C15.3032717,7.74934773 15.7512717,7.30134773 15.7512717,6.74934773 C15.7512717,6.19734773 15.3032717,5.74934773 14.7512717,5.74934773 Z M14.7512717,10.7493477 L6.7512717,10.7493477 C6.1992717,10.7493477 5.7512717,11.1973477 5.7512717,11.7493477 C5.7512717,12.3013477 6.1992717,12.7493477 6.7512717,12.7493477 L14.7512717,12.7493477 C15.3032717,12.7493477 15.7512717,12.3013477 15.7512717,11.7493477 C15.7512717,11.1973477 15.3032717,10.7493477 14.7512717,10.7493477 Z"}))))}},95133:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyQuantityStyle1",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-318.000000, -136.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M332,136 C333.104569,136 334,136.895431 334,138 L334,150 C334,151.104569 333.104569,152 332,152 L320,152 C318.895431,152 318,151.104569 318,150 L318,138 C318,136.895431 318.895431,136 320,136 L332,136 Z M328,140 L324,140 L324,148 L328,148 L328,140 Z"}))))}},35313:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyQuantityStyle2",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("path",{d:"M12.5,1 C13.3284271,1 14,1.72753728 14,2.625 L14,4 L10.9,4 C10.4411788,4 10.0625482,4.33379954 10.0070123,4.76524186 L10,4.875 L10,10.125 C10,10.6082492 10.4029437,11 10.9,11 L10.9,11 L14,11 L14,12.375 C14,13.2724627 13.3284271,14 12.5,14 L3.5,14 C2.67157288,14 2,13.2724627 2,12.375 L2,11 L5.1,11 C5.55882118,11 5.93745178,10.6662005 5.99298772,10.2347581 L6,10.125 L6,4.875 C6,4.39175084 5.59705627,4 5.1,4 L5.1,4 L2,4 L2,2.625 C2,1.72753728 2.67157288,1 3.5,1 L12.5,1 Z",fill:"currentColor",fillRule:"nonzero"}),r.default.createElement("rect",{fill:"currentColor",x:"0",y:"7",width:"5",height:"1"}),r.default.createElement("rect",{fill:"currentColor",x:"11",y:"7",width:"5",height:"1"}),r.default.createElement("rect",{fill:"currentColor",transform:"translate(13.500000, 7.500000) rotate(-270.000000) translate(-13.500000, -7.500000) ",x:"11",y:"7",width:"5",height:"1"})))}},52777:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVariant",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-248.000000, -335.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M254,349 L249,349 C248.447715,349 248,348.552285 248,348 L248,336 C248,335.447715 248.447715,335 249,335 L254,335 C254.552285,335 255,335.447715 255,336 L255,348 C255,348.552285 254.552285,349 254,349 Z M257,340 L259,340 L259,344 L257,344 L257,340 Z M262,347 L259,347 L259,346 L257,346 L257,348 C257,348.552285 257.447715,349 258,349 L263,349 C263.552285,349 264,348.552285 264,348 L264,346 L262,346 L262,347 Z M263,335 L258,335 C257.447715,335 257,335.447715 257,336 L257,338 L259,338 L259,337 L262,337 L262,338 L264,338 L264,336 C264,335.447715 263.552285,335 263,335 Z M262,340 L264,340 L264,344 L262,344 L262,340 Z"}))))}},65760:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVariantStyleImage",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-326.000000, -166.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M340,166 C341.104569,166 342,166.895431 342,168 L342,168 L342,180 C342,181.104569 341.104569,182 340,182 L340,182 L328,182 C326.895431,182 326,181.104569 326,180 L326,180 L326,168 C326,166.895431 326.895431,166 328,166 L328,166 Z M340,168 L328,168 L328,180 L340,180 L340,168 Z M336.023,172 C336.203884,172.008434 336.366072,172.114009 336.447,172.276 L336.447,172.276 L338.947,177.276 C339.024667,177.430993 339.016504,177.615158 338.925429,177.762671 C338.834353,177.910185 338.673364,178.000001 338.5,178.000001 L338.5,178.000001 L329.5,178.000001 C329.315052,178.0004 329.14499,177.898673 329.057869,177.73553 C328.970747,177.572387 328.980799,177.374477 329.084,177.221 L329.084,177.221 L331.084,174.221 C331.16698,174.096002 331.301705,174.014873 331.451,174 C331.599987,173.989115 331.746556,174.042215 331.854,174.146 L331.854,174.146 L333.409,175.7 L335.576,172.234 C335.666779,172.075671 335.841162,171.984383 336.023,172 Z M331,170 C331.552285,170 332,170.447715 332,171 C332,171.552285 331.552285,172 331,172 C330.447715,172 330,171.552285 330,171 C330,170.447715 330.447715,170 331,170 Z"}))))}},19727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVariantStyleRadio",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-289.000000, -166.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M297,166 C301.416222,166.00496 304.99504,169.583778 305,174 C305,178.418278 301.418278,182 297,182 C292.581722,182 289,178.418278 289,174 C289,169.581722 292.581722,166 297,166 Z M297,168 C293.686292,168 291,170.686292 291,174 C291,177.313708 293.686292,180 297,180 C298.591299,180 300.117422,179.367859 301.242641,178.242641 C302.367859,177.117422 303,175.591299 303,174 C303,170.686292 300.313708,168 297,168 Z M297,171 C298.656854,171 300,172.343146 300,174 C300,175.656854 298.656854,177 297,177 C295.343146,177 294,175.656854 294,174 C294,172.343146 295.343146,171 297,171 Z"}))))}},82951:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVariantStyleSelect",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-251.000000, -166.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M265,166 C266.104569,166 267,166.895431 267,168 L267,180 C267,181.104569 266.104569,182 265,182 L253,182 C251.895431,182 251,181.104569 251,180 L251,168 C251,166.895431 251.895431,166 253,166 L265,166 Z M265,168 L253,168 L253,180 L265,180 L265,168 Z M261.940499,175.247864 C262.064132,175.247661 262.176272,175.320336 262.226584,175.433269 C262.276897,175.546202 262.255931,175.678177 262.173096,175.769957 L262.173096,175.769957 L259.359421,178.896263 C259.300126,178.962287 259.215566,179 259.126824,179 C259.038083,179 258.953522,178.962287 258.894227,178.896263 L258.894227,178.896263 L256.080552,175.769957 C255.997718,175.678177 255.976751,175.546202 256.027064,175.433269 C256.077377,175.320336 256.189516,175.247661 256.313149,175.247864 L256.313149,175.247864 Z M259.126824,169 C259.214602,169 259.298591,169.035765 259.359421,169.099046 L259.359421,169.099046 L262.173096,172.225352 C262.255513,172.317166 262.276224,172.448864 262.225965,172.561542 C262.175705,172.674219 262.063878,172.74682 261.940499,172.74682 L261.940499,172.74682 L256.313149,172.74682 C256.189771,172.74682 256.077943,172.674219 256.027684,172.561542 C255.977425,172.448864 255.998135,172.317166 256.080552,172.225352 L256.080552,172.225352 L258.894227,169.099046 C258.955058,169.035765 259.039046,169 259.126824,169 Z"}))))}},27925:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShopifyVendor",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{className:t,onClick:o,style:n}=e;return r.default.createElement("svg",{className:t,style:n,onClick:o,viewBox:"0 0 16 16"},r.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"currentColor",fillRule:"evenodd"},r.default.createElement("g",{transform:"translate(-248.000000, -334.000000)",fill:"currentColor",fillRule:"nonzero"},r.default.createElement("path",{d:"M263.9,338.55303 L261.9,334.55303 C261.729775,334.21236 261.380826,333.997951 261,334.000015 L251,334.000015 C250.620974,333.999853 250.274425,334.213978 250.105,334.55303 L248.105,338.55303 C248.035803,338.691869 248,338.844902 248,339.00003 C248.00078,339.831476 248.515885,340.575719 249.29377,340.869315 C250.071655,341.162911 250.950051,340.944615 251.5,340.32103 C251.879667,340.751531 252.425999,340.998154 253,340.998154 C253.574002,340.998154 254.120334,340.751531 254.5,340.32103 C254.879667,340.751531 255.425999,340.998154 256,340.998154 C256.574002,340.998154 257.120334,340.751531 257.5,340.32103 C257.879667,340.751531 258.425999,340.998154 259,340.998154 C259.574002,340.998154 260.120334,340.751531 260.5,340.32103 C261.04995,340.944615 261.928346,341.162911 262.706231,340.869315 C263.484116,340.575719 263.999221,339.831476 264.000061,339.00003 C264.0017,338.8453 263.967469,338.692286 263.9,338.55303 Z M261,348.00003 L258,348.00003 L258,345.00003 C258,344.447745 257.552285,344.00003 257,344.00003 L255,344.00003 C254.447716,344.00003 254,344.447745 254,345.00003 L254,348.00003 L251,348.00003 L251,342.00003 L249,342.00003 L249,349.00003 C249,349.552314 249.447716,350.00003 250,350.00003 L262,350.00003 C262.552285,350.00003 263,349.552314 263,349.00003 L263,342.00003 L261,342.00003 L261,348.00003 Z"}))))}},99728:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BlogPostMeta",{enumerable:!0,get:function(){return C}});const r=x(o(60042)),n=x(o(27378)),i=x(o(36275)),a=x(o(1440)),l=x(o(67439)),s=x(o(10787)),c=x(o(63692)),d=o(8704),u=o(26989),p=o(86022),f=o(71782),m=o(97045),y=o(92213),g=o(94220),h=o(9644),b=o(81842),v=x(o(43698)),S=o(16341),w=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(78528));function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}class C extends c.default{static get componentId(){return f.ElementTypes.BlogPostMeta}static defaultValue=v.default;renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,m.blocksDataSelector)((0,y.getStore)().getState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return n.default.createElement(s.default,e)}renderForEdit(e,t,o){const{tagName:s,metaId:c,customCSS:f,sourceType:v}=e,{postElements:x}=e,P=(0,r.default)("brz-blogpostmeta w-full",(0,g.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,S.style)(e,t,o))),C=(0,b.getLinkData)(e),T=(e=>{try{return JSON.parse(e).reduce(((e,t)=>({...e,[t]:"1"})),{})}catch(e){return{}}})(x),_=v&&c?(0,h.makePlaceholder)({content:"{{post_info}}",attr:{entityType:v,entityId:c,...T}}):(0,h.makePlaceholder)({content:"{{post_info}}",attr:T}),k=n.default.createElement(d.DynamicContentHelper,{placeholder:_,tagName:s,placeholderIcon:"shopify-meta",props:{className:"brz-shopify-blogPostMeta__title"}});return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(w),n.default.createElement(i.default,{selectorName:this.getId(),css:f},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:P}),C.href?n.default.createElement(a.default,{href:C.href,type:C.type,target:C.target,rel:C.rel},k):k))),(0,u.shouldRenderPopup)(e,(0,m.blocksDataSelector)((0,y.getStore)().getState()))&&this.renderPopups())}}},16341:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleFlexHorizontalAlign","cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementTitleTextShadow"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor"]},".brz &&:hover .brz-shopify-blogPostMeta__title":{standart:["cssStyleStrokeText"]}}})}},78528:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return y}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(54639),a=o(13662),l=o(64187),s=o(81405),c=o(64985),d=o(16526),u=o(69321),p=o(68256),f=o(24119),m=o(57582),y=e=>{let{v:t,device:o,component:n}=e;const y=e=>(0,u.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:g}=(0,p.getOptionColorHexByPalette)(y("colorHex"),y("colorPalette")),h=Boolean(n.props.meta.sectionPopup),b=Boolean(n.props.meta.sectionPopup2),v=r.default.getAll(),S=v?.api?.collectionTypes?.loadCollectionTypes.handler,w=(0,d.isPopup)(v),x=y("linkSource"),P=y("sourceType"),C=(0,i.isCloud)(v)&&(0,a.isShopifyShop)(v.modules?.shop)&&v.modules?.shop?.api?.blogPostMetaLoad?.handler;return[{id:"blogPostMeta",type:"popover-dev",config:{icon:"t2-shopify-meta",size:"auto",title:(0,c.t)("Meta")},position:70,options:[{id:"postElements",type:"multiSelect-dev",label:(0,c.t)("Elements"),placeholder:(0,c.t)("0 Selected"),devices:"desktop",choices:[{value:"author",title:(0,c.t)("Author")},{value:"date",title:(0,c.t)("Date")},{value:"comments",title:(0,c.t)("Comments")}]},{id:"metaId",type:"select-dev",label:(0,c.t)("Field"),disabled:!C,devices:"desktop",placeholder:"Select",choices:{load:(0,l.getBlogPostMeta)(P,v),emptyLoad:{title:(0,c.t)("There are no choices")}}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,c.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,c.t)("Colors"),icon:{style:{backgroundColor:(0,s.hexToRgba)(g,y("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,c.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[f.NORMAL,f.HOVER]}]},{id:"tabTextStroke",label:(0,c.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[f.NORMAL,f.HOVER]}]},{id:"tabTextShadow",label:(0,c.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[f.NORMAL,f.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,c.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,c.t)("Page"),options:[{id:"linkSource",type:"select-dev",label:(0,c.t)("Type"),devices:"desktop",disabled:!S,choices:{load:()=>(0,l.getCollectionTypes)(v),emptyLoad:{title:(0,c.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,c.t)("Find Page"),devices:"desktop",disabled:!x,config:{postType:x}}]},{id:"external",label:(0,c.t)("URL"),options:[(0,m.toolbarLinkExternal)({v:t,config:n.context.dynamicContent.config,devices:"desktop"}),{id:"linkExternalBlank",label:(0,c.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,c.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,c.t)("Block"),options:[(0,m.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal",disabled:w})]},{id:"popup",label:(0,c.t)("Popup"),options:[(0,m.toolbarLinkPopup)({v:t,component:n,state:"normal",device:"desktop",canDelete:"desktop"===o,disabled:"desktop"===o?h||b||w:"popup"!==y("linkType")||""===y("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,c.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,c.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,c.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,c.t)("More Settings"),position:110,title:(0,c.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},89367:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Price",{enumerable:!0,get:function(){return O}});const r=_(o(60042)),n=_(o(27378)),i=_(o(36275)),a=o(62182),l=o(21407),s=o(10730),c=_(o(67439)),d=_(o(63692)),u=o(86022),p=o(71782),f=o(97045),m=o(94220),y=o(9644),g=o(69321),h=M(o(24119)),b=M(o(59638)),v=_(o(25342)),S=M(o(71994)),w=M(o(53075)),x=o(96657),P=M(o(24739)),C=M(o(35281)),T=o(2983);function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class O extends d.default{static get componentId(){return p.ElementTypes.Price}static defaultValue=v.default;dvv=e=>{const t=this.getValue(),o=(0,f.deviceModeSelector)(this.getReduxState()),r=h.mRead(t.tabsState);return(0,g.defaultValueValue)({v:t,key:e,device:o,state:r})};renderForEdit(e,t,o){const{customCSS:d,priceStyle:p,sourceID:f,sourceType:g}=e,h=(0,s.makeOptionValueToAnimation)(e),v=b.read(this.dvv("hoverName"))??"none",{cloneableAnimationId:_}=this.props.meta,k=b.read(_)??this.getId(),M=(0,r.default)("brz-shopify-price-container",(0,m.css)(this.getComponentId(),this.getId(),(0,x.style)(e,t,o))),O=b.read(f)||(0,y.makePlaceholder)({content:"{{brizy_dc_collection_item_field}}",attr:{slug:"id"}});return n.default.createElement(c.default,{...this.makeToolbarPropsFromConfig2(C,w),selector:".brz-shopify-price-container .brz-shopify-price-style2"},n.default.createElement(c.default,{...this.makeToolbarPropsFromConfig2(P,S),selector:".brz-shopify-price-container .brz-shortcode__placeholder, .brz-shopify-price-container .brz-shopify-price-style1"},n.default.createElement(i.default,{selectorName:this.getId(),css:d},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:M,attributes:{"data-product-handle":O}}),n.default.createElement(a.HoverAnimation,{animationId:k,cssKeyframe:v,options:(0,l.getHoverAnimationOptions)(h,v),isHidden:"none"===v,target:"parent"},(0,T.useContent)(p,f,g))))))}}},71994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(21407),n=o(93873),i=o(64985),a=o(69321),l=o(59638),s=e=>{let{v:t,device:o,state:s}=e;const c=(0,l.read)(("hoverName",(0,a.defaultValueValue)({v:t,key:"hoverName",device:o,state:s})))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"priceBorder",type:"corners-dev",label:(0,i.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"tabHover",label:(0,i.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(c),delay:!1}}]}]}]}]}]}},53075:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985),s=o(16526),c=o(69321),d=o(59638),u=e=>{let{v:t,device:o,state:a}=e;const u=(0,s.isStory)(i.default.getAll()),p=(0,d.read)(("hoverName",(0,c.defaultValueValue)({v:t,key:"hoverName",device:o,state:a})))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,l.t)("Styling"),label:(0,l.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,l.t)("Basic"),options:[{id:"priceThroughBorder",type:"corners-dev",label:(0,l.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,l.t)("Advanced"),options:[{id:"hoverTransition",label:(0,l.t)("Hover Transition"),disabled:u,devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]},{id:"effects",title:(0,l.t)("Effects"),label:(0,l.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,l.t)("Entrance"),options:[]},{id:"tabHover",label:(0,l.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:u,config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(p),delay:!1}}]}]}]}]}]}},96657:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-shopify-price-style1:hover":{standart:["cssStyleElementShopifyBorderColorPrice","cssStyleElementShopifyBoxShadowPrice","cssStyleElementShopifyTextColorPrice","cssStyleElementShopifyFontFamilyPrice","cssStyleElementShopifyFontSizePrice","cssStyleElementShopifyLineHeightPrice","cssStyleElementShopifyFontWeightPrice","cssStyleElementShopifyLetterSpacingPrice","cssStyleElementShopifyBgColorPrice","cssStyleElementShopifyPaddingFourFieldsPrice","cssStyleElementShopifyMarginFourFieldsPrice","cssStyleElementShopifyPriceHeight","cssStyleElementShopifyPriceWidth","cssStyleElementShopifyPriceSpacingStyle1","cssStyleElementShopifyPriceRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-price-style2:hover":{standart:["cssStyleElementShopifyBorderColorThroughPrice","cssStyleElementShopifyBoxShadowThroughPrice","cssStyleElementShopifyTextColorThroughPrice","cssStyleElementShopifyFontFamilyThroughPrice","cssStyleElementShopifyFontSizeThroughPrice","cssStyleElementShopifyLineHeightThroughPrice","cssStyleElementShopifyFontWeightThroughPrice","cssStyleElementShopifyLetterSpacingThroughPrice","cssStyleElementShopifyBgColorThroughPrice","cssStyleElementShopifyPaddingFourFieldsThroughPrice","cssStyleElementShopifyMarginFourFieldsThroughPrice","cssStyleElementShopifyPriceThroughHeight","cssStyleElementShopifyPriceThroughWidth","cssStyleElementShopifyPriceThroughRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},24739:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300)),u=o(24119);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{let{v:t,device:o}=e;const n=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:p}=(0,c.getOptionColorHexByPalette)(n("bgPriceColorHex"),n("bgPriceColorPalette")),f="style-1"===n("priceStyle"),m=r.default.getAll(),y=m?.api?.collectionItems?.getCollectionItemsIds?.handler,g=d.read(n("sourceType"))??"";return[{id:"toolbarCurrentShortcode",type:"popover-dev",disabled:"desktop"!==o,config:{icon:"nc-woo-price",title:(0,l.t)("Style")},position:1,options:[{id:"priceStyle",label:(0,l.t)("Style"),type:"radioGroup-dev",choices:[{value:"style-1",icon:"t2-shopify-price-style1"},{value:"style-2",icon:"t2-shopify-price-style2"},{value:"style-3",icon:"t2-shopify-price-style3"}]},{id:"sourceID",type:"select-dev",label:(0,l.t)("Product"),devices:"desktop",disabled:!y,placeholder:"Select",choices:{load:()=>(0,i.getSourceIds)(g,m),emptyLoad:{title:(0,l.t)("There are no choices")}}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:8,options:[{id:"typographyPrice",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(p,n("bgPriceColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bgPriceColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabText",label:(0,l.t)("Text"),options:[{id:"textColorPrice",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"priceBorder",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"priceSBoxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,options:[{id:"priceWidth",label:(0,l.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"priceHeight",label:(0,l.t)("Height"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"spacing",label:(0,l.t)("Spacing"),type:"slider-dev",disabled:!f,config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},devices:"desktop",columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},35281:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300)),u=o(24119);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{let{v:t,device:o}=e;const n=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:p}=(0,c.getOptionColorHexByPalette)(n("bgThroughPriceColorHex"),n("bgThroughPriceColorPalette")),f="style-1"===n("priceStyle"),m=r.default.getAll(),y=m?.api?.collectionItems?.getCollectionItemsIds?.handler,g=d.read(n("sourceType"))??"";return[{id:"toolbarCurrentShortcode",type:"popover-dev",disabled:"desktop"!==o,config:{icon:"nc-woo-price",title:(0,l.t)("Style")},position:1,options:[{id:"priceStyle",label:(0,l.t)("Style"),type:"radioGroup-dev",choices:[{value:"style-1",icon:"t2-shopify-price-style1"},{value:"style-2",icon:"t2-shopify-price-style2"},{value:"style-3",icon:"t2-shopify-price-style3"}]},{id:"sourceID",type:"select-dev",label:(0,l.t)("Product"),devices:"desktop",disabled:!y,placeholder:"Select",choices:{load:()=>(0,i.getSourceIds)(g,m),emptyLoad:{title:(0,l.t)("There are no choices")}}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:8,options:[{id:"typographyThroughPrice",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(p,n("bgThroughPriceColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bgThroughPriceColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabText",label:(0,l.t)("Text"),options:[{id:"textColorThroughPrice",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"throughPriceBorder",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"priceThroughSBoxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,options:[{id:"thoughPriceWidth",label:(0,l.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"thoughPriceHeight",label:(0,l.t)("Height"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"spacing",label:(0,l.t)("Spacing"),type:"slider-dev",disabled:!f,config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},devices:"desktop",columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},83985:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PriceStyle",{enumerable:!0,get:function(){return o}}),function(e){e.S1="style-1",e.S2="style-2",e.S3="style-3"}(o||(o={}))},2983:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useContent",{enumerable:!0,get:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(8704),a=o(9644),l=o(83985),s=(e,t,o)=>{switch(e){case l.PriceStyle.S1:return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.DynamicContentHelper,{props:{className:"brz-shopify-price-style1"},placeholder:(0,a.makePlaceholder)({content:"{{price}}",attr:{entityId:`${t}`,entityType:o}}),tagName:"span",placeholderIcon:"woo-price",blocked:!1}),r.default.createElement(i.DynamicContentHelper,{props:{className:"brz-shopify-price-style2"},placeholder:(0,a.makePlaceholder)({content:"{{compareAtPrice}}",attr:{entityId:`${t}`,entityType:o}}),tagName:"span",placeholderIcon:"woo-price",fallbackComponent:r.default.createElement(r.default.Fragment,null),blocked:!1}));case l.PriceStyle.S2:return r.default.createElement(i.DynamicContentHelper,{props:{className:"brz-shopify-price-style1"},placeholder:(0,a.makePlaceholder)({content:"{{price}}",attr:{entityId:`${t}`,entityType:o}}),tagName:"span",placeholderIcon:"woo-price",blocked:!1});case l.PriceStyle.S3:return r.default.createElement(i.DynamicContentHelper,{props:{className:"brz-shopify-price-style2"},placeholder:(0,a.makePlaceholder)({content:"{{compareAtPrice}}",attr:{entityId:`${t}`,entityType:o}}),tagName:"span",placeholderIcon:"woo-price",blocked:!1})}}},92096:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProductMetafield",{enumerable:!0,get:function(){return _}});const r=P(o(60042)),n=P(o(27378)),i=P(o(36275)),a=P(o(1440)),l=P(o(67439)),s=P(o(10787)),c=P(o(63692)),d=o(8704),u=o(26989),p=o(86022),f=o(71782),m=o(97045),y=o(92213),g=o(94220),h=o(9644),b=o(81842),v=P(o(24917)),S=T(o(89835)),w=o(57314),x=T(o(18762));function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class _ extends c.default{static get componentId(){return f.ElementTypes.ProductMetafield}static defaultValue=v.default;renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,m.blocksDataSelector)((0,y.getStore)().getState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return n.default.createElement(s.default,e)}renderForEdit(e,t,o){const{tagName:s,metafieldKey:c,productID:f,customCSS:v,sourceType:P}=e,C=(0,r.default)("brz-shopify-metafield w-full",(0,g.css)(this.getComponentId(),this.getId(),(0,w.style)(e,t,o))),T=(0,b.getLinkData)(e),_=(0,h.makePlaceholder)({content:"{{metafield}}",attr:{entityId:f,entityType:P,key:f?c:"metafield_c_url"}}),k=n.default.createElement(d.DynamicContentHelper,{placeholder:_,tagName:s,props:{className:"brz-shopify-metafield__title"},placeholderIcon:"shopify-metafield"});return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(x,S),n.default.createElement(i.default,{selectorName:this.getId(),css:v},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:C}),T.href?n.default.createElement(a.default,{href:T.href,type:T.type,target:T.target,rel:T.rel},k):k))),(0,u.shouldRenderPopup)(e,(0,m.blocksDataSelector)((0,y.getStore)().getState()))&&this.renderPopups())}}},89835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},57314:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleContentAlign"]},".brz &&:hover *":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementTitleTextShadow"],interval:["cssStyleHoverTransition"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor"]},".brz &&:hover .brz-shopify-metafield__title":{standart:["cssStyleStrokeText"]}}})}},18762:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return y}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(54639),a=o(13662),l=o(64187),s=o(81405),c=o(64985),d=o(16526),u=o(69321),p=o(68256),f=o(24119),m=o(57582),y=e=>{let{v:t,device:o,component:n}=e;const y=e=>(0,u.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:g}=(0,p.getOptionColorHexByPalette)(y("colorHex"),y("colorPalette")),h=Boolean(n.props.meta.sectionPopup),b=Boolean(n.props.meta.sectionPopup2),v=r.default.getAll(),S=v?.api?.collectionTypes?.loadCollectionTypes.handler,w=(0,d.isPopup)(v),x=y("linkSource"),P=y("sourceType"),C=v?.api?.collectionItems?.getCollectionItemsIds?.handler,T=(0,i.isCloud)(v)&&(0,a.isShopifyShop)(v.modules?.shop)&&v.modules?.shop?.api?.metafieldsLoad?.handler;return[{id:"productMetafields",type:"popover-dev",config:{icon:"t2-shopify-metafield",size:"auto",title:(0,c.t)("Metafield")},position:70,options:[{id:"productID",type:"select-dev",label:(0,c.t)("Product"),disabled:!C||!P,devices:"desktop",placeholder:"Select",choices:{load:()=>(0,l.getSourceIds)(P,v),emptyLoad:{title:(0,c.t)("There are no choices")}}},{id:"metafieldKey",type:"select-dev",label:(0,c.t)("Metafield"),disabled:!T||""===y("productID"),devices:"desktop",placeholder:"Select",choices:{load:(0,l.getMetafields)(P,v),emptyLoad:{title:(0,c.t)("There are no choices")}}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,c.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,c.t)("Colors"),icon:{style:{backgroundColor:(0,s.hexToRgba)(g,y("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,c.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[f.NORMAL,f.HOVER]}]},{id:"tabTextStroke",label:(0,c.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[f.NORMAL,f.HOVER]}]},{id:"tabTextShadow",label:(0,c.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[f.NORMAL,f.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,c.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,c.t)("Page"),options:[{id:"linkSource",type:"select-dev",label:(0,c.t)("Type"),devices:"desktop",disabled:!S,choices:{load:()=>(0,l.getCollectionTypes)(v),emptyLoad:{title:(0,c.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,c.t)("Find Page"),devices:"desktop",disabled:!x,config:{postType:x}}]},{id:"external",label:(0,c.t)("URL"),options:[(0,m.toolbarLinkExternal)({v:t,config:n.context.dynamicContent.config,devices:"desktop"}),{id:"linkExternalBlank",label:(0,c.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,c.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,c.t)("Block"),options:[(0,m.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal",disabled:w})]},{id:"popup",label:(0,c.t)("Popup"),options:[(0,m.toolbarLinkPopup)({v:t,component:n,state:"normal",device:"desktop",canDelete:"desktop"===o,disabled:"desktop"===o?h||b||w:"popup"!==y("linkType")||""===y("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,c.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,c.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,c.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,c.t)("More Settings"),position:110,title:(0,c.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},92306:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Quantity",{enumerable:!0,get:function(){return B}});const r=M(o(36275)),n=M(o(67439)),i=M(o(63692)),a=o(86022),l=o(71782),s=o(94220),c=o(42162),d=M(o(60042)),u=M(o(27378)),p=o(62182),f=o(21407),m=o(10730),y=M(o(22546)),g=o(97045),h=o(9644),b=o(16526),v=o(69321),S=E(o(24119)),w=E(o(59638)),x=M(o(34394)),P=E(o(94438)),C=E(o(94757)),T=o(33830),_=E(o(99978)),k=E(o(83376));function M(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(O=function(e){return e?o:t})(e)}function E(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=O(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class B extends i.default{static get componentId(){return l.ElementTypes.Quantity}static defaultValue=x.default;dvv=e=>{const t=this.getValue(),o=(0,g.deviceModeSelector)(this.getReduxState()),r=S.mRead(t.tabsState);return(0,v.defaultValueValue)({v:t,key:e,device:o,state:r})};renderForEdit(e,t,o){const i=y.default.getAll(),l=(0,b.isStory)(i),{customCSS:g,quantityStyle:v,sourceID:S}=e,x=w.read(this.dvv("hoverName"))??"none",M=(0,m.makeOptionValueToAnimation)(e),{cloneableAnimationId:O}=this.props.meta,E=w.read(O)??this.getId(),B=l||"none"===x,z="style-1"===v?".brz-shopify-quantity-style1 input":".brz-shopify-quantity-style2 input",I={"data-product-handle":w.read(S)||(0,h.makePlaceholder)({content:"{{brizy_dc_collection_item_field}}",attr:{slug:"id"}})},j=(0,d.default)("brz-shopify-quantity-container",(0,s.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,T.style)(e,t,o))),L="style-1"===v?u.default.createElement(c.Quantity1,{attr:I}):u.default.createElement(c.Quantity2,{attr:I});return u.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(k,C),selector:z},u.default.createElement(n.default,{...this.makeToolbarPropsFromConfig2(_,P,{allowExtend:!1}),selector:".brz-shopify-quantity-style2 .brz-package__button"},u.default.createElement(r.default,{selectorName:this.getId(),css:g},u.default.createElement(a.Wrapper,this.makeWrapperProps({className:j}),u.default.createElement(p.HoverAnimation,{animationId:E,cssKeyframe:x,options:(0,f.getHoverAnimationOptions)(M,x),isHidden:B},L)))))}}},94438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"quantityButtonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]},94757:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"quantityInputBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}]}]},33830:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover ":{standart:["cssStylePaddingFourFields"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-style2 input:hover":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleColor","cssStyleElementShopifyQuantityButtonSpacing","cssStyleElementShopifyQuantityInputBgColor","cssStyleElementShopifyQuantityInputBorder","cssStyleElementShopifyQuantityInputBoxShadow","cssStyleElementShopifyQuantityInputWidth","cssStyleElementShopifyQuantityInputHeight","cssStyleSizeHeightPxOnly","cssStyleSizeWidth","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementShopifyQuantityInputRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-style1 input:hover":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleColor","cssStyleElementShopifyQuantityInputBgColor","cssStyleElementShopifyQuantityInputBorder","cssStyleElementShopifyQuantityInputBoxShadow","cssStyleElementShopifyQuantityInputHeight","cssStyleElementShopifyQuantityInputWidth","cssStyleSizeHeightPxOnly","cssStyleSizeWidth","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementShopifyQuantityInputRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-style2 .brz-package__button:hover":{standart:["cssStyleElementShopifyQuantityButtonRadius","cssStyleElementShopifyQuantityButtonBgColor","cssStyleElementShopifyQuantityButtonBorder","cssStyleElementShopifyQuantityButtonBoxShadow","cssStyleElementShopifyQuantityButtonWidth","cssStyleElementShopifyQuantityButtonHeight","cssStyleSizeHeightPxOnly","cssStyleSizeWidth","cssStyleElementShopifyQuantityIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-container":{standart:["cssStylePaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-quantity-style2 .brz-package__button svg":{standart:["cssStyleElementShopifyQuantityIconSize"]}}})}},99978:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"bgButtonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabIcon",label:(0,n.t)("Icon"),options:[{id:"buttonIconColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"buttonWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonHeight",label:(0,n.t)("Height"),type:"slider-dev",config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"iconCustomSize",label:(0,n.t)("Icon"),type:"slider-dev",config:{min:14,max:100,units:[{title:"px",value:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},devices:"desktop",columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}]}]}},83376:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300)),u=o(24119);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{let{v:t,device:o}=e;const n=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:p}=(0,c.getOptionColorHexByPalette)(n("bgColorHex"),n("bgColorPalette")),f=r.default.getAll(),m="style-1"===n("quantityStyle"),y=d.read(n("sourceType"))??"",g=f?.api?.collectionItems?.getCollectionItemsIds?.handler;return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:20,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(p,n("bgColorOpacity"))}}},position:30,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bgInputColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabText",label:(0,l.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"inputBorder",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"t2-shopify-quantity",title:(0,l.t)("Quantity")},position:10,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeQuantity",label:(0,l.t)("Quantity Style"),position:40,options:[{id:"quantityStyle",label:(0,l.t)("Style"),type:"radioGroup-dev",disabled:"desktop"!==o,choices:[{value:"style-1",icon:"t2-shopify-quantity-style1"},{value:"style-2",icon:"t2-shopify-quantity-style2"}]},{id:"sourceID",type:"select-dev",label:(0,l.t)("Product"),devices:"desktop",disabled:!g||!y,placeholder:"Select",choices:{load:()=>(0,i.getSourceIds)(y,f),emptyLoad:{title:(0,l.t)("There are no choices")}}}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,options:[{id:"inputWidth",label:(0,l.t)("Width"),type:"slider-dev",config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"inputHeight",label:(0,l.t)("Height"),type:"slider-dev",config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonSpacing",label:(0,l.t)("Spacing"),disabled:m,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},97318:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantForEdit",{enumerable:!0,get:function(){return s}});const r=o(42162),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=o(9644),l=o(23187),s=e=>{let{variantStyle:t,selectOptions:o}=e;const i=(0,a.makePlaceholder)({content:"{{ variantTitle }}"}),s=(0,a.makePlaceholder)({content:"{{ variant_option_values }}"});return n.default.createElement("div",{className:`brz-shopify-variant-${t}-container`},n.default.createElement(r.VariantTitle,null,i),n.default.createElement(l.WrapperVariant,{placeholder:s,variantStyle:t,selectOptions:o}))}},11243:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantImageForEdit",{enumerable:!0,get:function(){return s}});const r=o(42162),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=o(55824),l=o(9644),s=e=>{let{context:t}=e;return n.default.createElement(r.VariantImage,null,t.map(((e,t)=>n.default.createElement(a.EditorComponentContext.Provider,{key:e.dynamicContent.itemId,value:e},n.default.createElement(r.ImageItem,{key:t,isActive:0===t,value:(0,l.makePlaceholder)({content:"{{variantOptionValue}}"})})))))}},13395:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantImageForView",{enumerable:!0,get:function(){return c}});const r=o(42162),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=o(9644),l=o(99087),s=o(14970),c=e=>{let{itemId:t,defaultItemId:o}=e;const i=(0,a.makeStartPlaceholder)({content:"{{variant_option_values}}"}),c=(0,a.makePlaceholder)({content:"{{variantOptionValue}}"}),d=(0,a.makeEndPlaceholder)({content:"{{end_variant_option_values}}"});return n.default.createElement(s.WrapperVariant,{itemId:t,defaultItemId:o,variantStyle:l.VariantStyle.Image},n.default.createElement(r.VariantImage,null,i,n.default.createElement(r.ImageItem,{value:c}),d))}},52615:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantRadioForEdit",{enumerable:!0,get:function(){return s}});const r=o(42162),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=o(55824),l=o(9644),s=e=>{let{context:t}=e;return n.default.createElement(r.VariantRadio,null,t.map(((e,t)=>n.default.createElement(a.EditorComponentContext.Provider,{key:e.dynamicContent.itemId,value:e},n.default.createElement(r.RadioItem,{key:t,isActive:0===t,title:(0,l.makePlaceholder)({content:"{{variantOptionTitle}}"}),value:(0,l.makePlaceholder)({content:"{{variantOptionValue}}"})})))))}},95827:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantRadioForView",{enumerable:!0,get:function(){return c}});const r=o(42162),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=o(9644),l=o(99087),s=o(14970),c=e=>{let{itemId:t,defaultItemId:o}=e;const i=(0,a.makeStartPlaceholder)({content:"{{variant_option_values}}"}),c=(0,a.makePlaceholder)({content:"{{variantOptionTitle}}"}),d=(0,a.makePlaceholder)({content:"{{variantOptionValue}}"}),u=(0,a.makeEndPlaceholder)({content:"{{end_variant_option_values}}"});return n.default.createElement(s.WrapperVariant,{itemId:t,defaultItemId:o,variantStyle:l.VariantStyle.Radio},n.default.createElement(r.VariantRadio,null,i,n.default.createElement(r.RadioItem,{title:c,value:d}),u))}},73276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantSelectForEdit",{enumerable:!0,get:function(){return d}});const r=o(42162),n=s(o(27378)),i=s(o(17882)),a=o(55824),l=o(9644);function s(e){return e&&e.__esModule?e:{default:e}}const c=[".brz-shopify-variant-select-selectedItem",".brz-shopify-variant-items",".brz-ed-toolbar",".brz-ed-control__popover--content"],d=e=>{let{context:t,selectOptions:o}=e;const{handleClickSelect:s,variantId:d,openedBy:u}=o,p=u===d,f=(0,l.makePlaceholder)({content:"{{variantOptionTitle}}"}),m=(0,l.makePlaceholder)({content:"{{variantOptionValue}}"});return n.default.createElement(i.default,{onClickOutside:()=>s(),exceptions:c},n.default.createElement(r.VariantSelect,null,n.default.createElement(a.EditorComponentContext.Provider,{key:t[0]?.dynamicContent?.itemId,value:t[0]},n.default.createElement(r.HeaderSelect,{value:f,isOpen:p,onClick:()=>s(d)})),n.default.createElement(r.SelectDropdown,{isOpen:p},t.map(((e,t)=>n.default.createElement(a.EditorComponentContext.Provider,{key:e.dynamicContent.itemId,value:e},n.default.createElement(r.SelectItem,{value:m,key:t},f)))))))}},23056:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VariantSelectForView",{enumerable:!0,get:function(){return c}});const r=o(42162),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=o(9644),l=o(99087),s=o(14970),c=e=>{let{itemId:t,defaultItemId:o}=e;const i=(0,a.makePlaceholder)({content:"{{variantOptionTitle}}"}),c=(0,a.makePlaceholder)({content:"{{variantOptionValue}}"}),d=(0,a.makeStartPlaceholder)({content:"{{variant_option_values}}"}),u=(0,a.makeEndPlaceholder)({content:"{{end_variant_option_values}}"});return n.default.createElement(s.WrapperVariant,{itemId:t,variantStyle:l.VariantStyle.Select,defaultItemId:o},n.default.createElement(r.VariantSelect,null,n.default.createElement(r.HeaderSelect,{value:i}),n.default.createElement(r.SelectDropdown,null,d,n.default.createElement(r.SelectItem,{value:c},i),u)))}},23187:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WrapperVariant",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),n=d(o(53125)),i=o(16550),a=o(99087),l=o(11243),s=o(52615),c=o(73276);function d(e){return e&&e.__esModule?e:{default:e}}const u=e=>{let{placeholder:t,variantStyle:o,selectOptions:d}=e;const u=(0,i.useDC)(t);if("success"===u.status){let e,t;try{const{collection:o=[],config:r={}}=JSON.parse(u.data);e=o,t=r}catch(e){return r.default.createElement(n.default,{icon:"shopify-variant",className:"w-full"})}const i=e.map((e=>({dynamicContent:{itemId:e,config:t?.["*"].dynamicContent}})));return r.default.createElement(r.default.Fragment,null,o===a.VariantStyle.Select&&r.default.createElement(c.VariantSelectForEdit,{context:i,selectOptions:d}),o===a.VariantStyle.Radio&&r.default.createElement(s.VariantRadioForEdit,{context:i}),o===a.VariantStyle.Image&&r.default.createElement(l.VariantImageForEdit,{context:i}))}return r.default.createElement(n.default,{icon:"shopify-variant",className:"w-full"})}},14970:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WrapperVariant",{enumerable:!0,get:function(){return s}});const r=o(42162),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=o(9644),l=o(71584),s=e=>{let{variantStyle:t,itemId:o,defaultItemId:i,children:s}=e;const c=(0,a.makeStartPlaceholder)({content:"{{variant_options}}",attr:{itemId:o,content_type:"html"}}),d=(0,a.makePlaceholder)({content:"{{variantTitle}}"}),u=(0,a.makeEndPlaceholder)({content:"{{end_variant_options}}"});return n.default.createElement(n.default.Fragment,null,c,n.default.createElement("div",{"data-brz-variant-title":d,"data-brz-variant-type":(0,l.getAttributeVariantType)(t),className:`brz-shopify-variant-${t}-container`},n.default.createElement(r.VariantTitle,null,d),s),u,n.default.createElement("input",{type:"hidden","data-product-handle":i}))}},44231:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Variant",{enumerable:!0,get:function(){return N}});const r=j(o(60042)),n=o(13556),i=j(o(27378)),a=j(o(10301)),l=o(61898),s=j(o(36275)),c=j(o(53125)),d=j(o(67439)),u=j(o(63692)),p=o(42582),f=o(55824),m=o(86022),y=o(71782),g=o(94220),h=o(9644),b=o(97318),v=o(13395),S=o(95827),w=o(23056),x=j(o(44606)),P=F(o(53564)),C=F(o(21034)),T=F(o(35212)),_=F(o(68766)),k=o(29998),M=F(o(56272)),O=F(o(90102)),E=F(o(47665)),B=F(o(93868)),z=F(o(93162)),I=o(99087);function j(e){return e&&e.__esModule?e:{default:e}}function L(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(L=function(e){return e?o:t})(e)}function F(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=L(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class N extends u.default{static defaultValue=x.default;static get componentId(){return y.ElementTypes.Variant}constructor(e){super(e),this.state={openedBy:"",contextItems:null}}componentDidMount(){this.getDCForVariant()}componentDidUpdate(e){const{itemId:t}=this.getValue();e.dbValue.itemId!==t&&this.getDCForVariant()}handleValueChange(e,t){if(t.patch.variantStyle===I.VariantStyle.Radio){const{orientation:t}=this.getValue();t===I.OrientationSelect.Column2&&(e=(0,n.produce)(e,(e=>{e.orientation=I.OrientationCommon.Row})))}super.handleValueChange(e,t)}getDCForVariant(){const{itemId:e}=this.getValue(),t=(0,h.makePlaceholder)({content:"{{variant_options}}",attr:{content_type:"json",id:e}});p.DCApiProxyInstance.getDC([t],{postId:(0,l.getCurrentPageId)(),cache:!1}).then((e=>{a.default.isEqual(this.state.contextItems,e)||this.setState({contextItems:e})}))}handleClickSelect=e=>{this.setState({openedBy:e})};renderItems(e){if(!this.state.contextItems)return i.default.createElement(c.default,{icon:"shopify-variant",className:"brz-initial-placeholder w-full"});const{variantStyle:t}=e;let o;try{o=JSON.parse(this.state.contextItems[0])}catch(e){}if(o?.collection?.length){const{collection:e=[],config:r={}}=o||{},n=e.map((e=>({dynamicContent:{itemId:e,config:r["*"].dynamicContent}}))),a={handleClickSelect:this.handleClickSelect,openedBy:this.state.openedBy};return n.map((e=>i.default.createElement(f.EditorComponentContext.Provider,{value:e,key:e.dynamicContent.itemId},i.default.createElement(b.VariantForEdit,{variantStyle:t,selectOptions:{...a,variantId:e.dynamicContent.itemId}}))))}return i.default.createElement(c.default,{icon:"shopify-variant",className:"brz-initial-placeholder w-full"})}renderForEdit(e,t,o){const{customCSS:n,variantStyle:a,orientation:l}=e,c=(0,r.default)("brz-shopify-variant-container",`brz-shopify-variant-container-${a}`,`brz-shopify-variant-container-${l}`,{"w-full":!this.state.contextItems},(0,g.css)(this.getComponentId(),this.getId(),(0,k.style)(e,t,o)));return i.default.createElement(d.default,{...this.makeToolbarPropsFromConfig2(E,void 0,{allowExtend:!1}),selector:".brz-shopify-variant-container .brz-shopify-variant-label, .brz-initial-placeholder"},i.default.createElement(d.default,{...this.makeToolbarPropsFromConfig2(z,_),selector:".brz-shopify-variant-container .brz-shopify-variant-select-wrapper .brz-shopify-variant-select-selectedItem, .brz-initial-placeholder"},i.default.createElement(d.default,{...this.makeToolbarPropsFromConfig2(M,C,{allowExtend:!1}),selector:".brz-shopify-variant-items"},i.default.createElement(d.default,{...this.makeToolbarPropsFromConfig2(B,T),selector:".brz-shopify-variant-container .brz-shopify-variant-radio-wrapper .brz-shopify-variant-radio-block "},i.default.createElement(d.default,{...this.makeToolbarPropsFromConfig2(O,P,{allowExtend:!1}),selector:".brz-shopify-variant-container .brz-shopify-variant-image-wrapper .brz-shopify-variant-image-block "},i.default.createElement(s.default,{selectorName:this.getId(),css:n},i.default.createElement(m.Wrapper,this.makeWrapperProps({className:c}),this.renderItems(e))))))))}renderForView(e,t,o){const{variantStyle:n,customCSS:a,itemId:l,orientation:c}=e,d=(0,r.default)("brz-shopify-variant-container",`brz-shopify-variant-container-${n}`,`brz-shopify-variant-container-${c}`,(0,g.css)(this.getComponentId(),this.getId(),(0,k.style)(e,t,o))),u=l||(0,h.makePlaceholder)({content:"{{brizy_dc_collection_item_field}}",attr:{slug:"id"}});return i.default.createElement(s.default,{selectorName:this.getId(),css:a},i.default.createElement(m.Wrapper,this.makeWrapperProps({className:d,attributes:{"data-product-handle":u}}),n===I.VariantStyle.Select&&i.default.createElement(w.VariantSelectForView,{itemId:l,defaultItemId:u}),n===I.VariantStyle.Radio&&i.default.createElement(S.VariantRadioForView,{itemId:l,defaultItemId:u}),n===I.VariantStyle.Image&&i.default.createElement(v.VariantImageForView,{itemId:l,defaultItemId:u})))}}},53564:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"imageBlockMargin",label:(0,r.t)("Margin"),type:"margin-dev",devices:"desktop",position:60},{id:"imageBlockBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:70}]}]}]},21034:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},35212:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"radioBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop"}]}]},{id:"radioBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65,devices:"responsive"}]}]}]},68766:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"selectBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop"}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"selectBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65,devices:"responsive"}]}]}]},29998:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-shopify-variant-style-select-container":{standart:["cssStyleElementShopifyVariantSelectSpacing"]},".brz && .brz-shopify-variant-style-radio-container":{standart:["cssStyleElementShopifyVariantRadioRowSpacing"]},".brz && .brz-shopify-variant-label-wrapper":{standart:["cssStyleElementShopifyVariantAlignLabel","cssStyleElementShopifyVariantLabelSpacing"]},".brz && .brz-shopify-variant-label:hover":{standart:["cssStyleElementShopifyVariantFontFamilyLabel","cssStyleElementShopifyVariantFontSizeLabel","cssStyleElementShopifyVariantFontWeightLabel","cssStyleElementShopifyVariantLetterSpacingLabel","cssStyleElementShopifyVariantLineHeightLabel","cssStyleElementShopifyVariantColorLabel"],interval:["cssStyleHoverTransition"]},".brz && .brz-shopify-variant-radio-block":{standart:["cssStyleElementShopifyVariantBoxShadowRadio","cssStyleElementShopifyVariantBorderRadiusRadio","cssStyleElementShopifyVariantRadioWidth","cssStyleElementShopifyVariantRadioHeight"],interval:["cssStylePropertyHoverTransition"]},".brz && .brz-shopify-variant-radio-block:not(.brz-shopify-variant-radio-block--active):hover":{standart:["cssStyleElementShopifyVariantBgRadio","cssStyleElementShopifyVariantBorderRadio","cssStyleElementShopifyVariantBoxShadowRadio"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-variant-radio-block--active":{standart:["cssStyleElementShopifyVariantBgRadioActive","cssStyleElementShopifyVariantBorderRadioActive","cssStyleElementShopifyVariantBoxShadowRadioActive"]},".brz && .brz-shopify-variant-radio-block--active .brz-shopify-variant-item-radio-font":{standart:["cssStyleElementShopifyVariantColorRadioActive"]},".brz && .brz-shopify-variant-item-radio-font:hover":{standart:["cssStyleElementShopifyVariantColorRadio","cssStyleElementShopifyVariantFontFamilyRadio","cssStyleElementShopifyVariantFontSizeRadio","cssStyleElementShopifyVariantFontWeightRadio","cssStyleElementShopifyVariantLetterSpacingRadio","cssStyleElementShopifyVariantLineHeightRadio"],interval:["cssStyleHoverTransition"]},".brz && .brz-shopify-variant-select-wrapper":{standart:["cssStyleElementShopifyVariantSelectWidth","cssStyleElementShopifyVariantSelectHeight"]},".brz && .brz-shopify-variant-select-selectedItem:hover":{standart:["cssStyleElementShopifyVariantBgSelectedItem","cssStyleElementShopifyVariantBorderSelectedItem","cssStyleElementShopifyVariantBoxShadowSelectedItem","cssStyleElementShopifyVariantSelectBorderRadius","cssStyleElementShopifyVariantColorSelectedItem","cssStyleElementShopifyVariantFontFamilySelectedItem","cssStyleElementShopifyVariantFontSizeSelectedItem","cssStyleElementShopifyVariantFontWeightSelectedItem","cssStyleElementShopifyVariantLetterSpacingSelectedItem","cssStyleElementShopifyVariantLineHeightSelectedItem"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-shopify-variant-items:hover":{standart:["cssStyleElementShopifyVariantDropdownTypography","cssStyleElementShopifyVariantBoxShadowDropdown"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-shopify-variant-items li:hover":{standart:["cssStyleElementShopifyVariantColorDropdown","cssStyleElementShopifyVariantBgDropdown","cssStyleElementShopifyVariantBorderDropdown","cssStyleElementShopifyVariantSelectHeight"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-shopify-variant-image-block:hover":{standart:["cssStyleElementShopifyVariantBorderImageBlock","cssStyleElementShopifyVariantBoxShadowImageBlock","cssStyleElementShopifyVariantImageBlockWidth","cssStyleElementShopifyVariantImageBlockHeight","cssStyleElementShopifyVariantBorderRadiusImageBlock"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-shopify-variant-image-block:not(.brz-shopify-variant-image-block--active):hover::after":{standart:["cssStyleElementShopifyVariantBgImageBlock","cssStyleElementShopifyVariantGradientImageBlock"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-shopify-variant-image-block--active":{standart:["cssStyleElementShopifyVariantBorderImageBlockActive","cssStyleElementShopifyVariantBoxShadowImageBlockActive"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-shopify-variant-image-block--active::after":{standart:["cssStyleElementShopifyVariantBgImageBlockActive"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-shopify-variant-radio-block-wrapper":{standart:["cssStyleElementShopifyVariantRadioSpacing"]},".brz &&.brz-shopify-variant-container-style-radio.brz-shopify-variant-container-row .brz-shopify-variant-label-wrapper":{standart:["cssStyleElementShopifyVariantLabelWidth"]}}})}},56272:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgValueColorHex"),s("bgValueColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"auto",title:(0,n.t)("Typography")},options:[{id:"dropdown",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"bgDropdownColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"dropdownColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"dropdownBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"dropdownBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},90102:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgValueColorHex"),s("bgValueColorPalette"));return[{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgColorOpacity"))}}},roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,n.t)("Overlay"),options:[{id:"imageBlock",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"imageBlockBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"imageBlockBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},roles:["admin"],options:[{id:"imageBlockWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{max:1e3,inputMax:1e3,units:[{value:"px",title:"px"}]}},{id:"imageBlockHeight",label:(0,n.t)("Height"),type:"slider-dev",config:{max:1e3,inputMax:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}]}]}},47665:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=o(99087),c=e=>{let{v:t,device:o}=e;const{variantStyle:c,orientation:d}=t,u=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),p=c===s.VariantStyle.Select&&d===s.OrientationCommon.Column,{hex:f}=(0,a.getOptionColorHexByPalette)(u("labelColorHex"),u("labelColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:8,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(f,u("labelColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"labelColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"labelHorizontalAlign",type:"toggle-dev",disabled:p,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",position:101,config:{icon:"nc-cog",title:(0,n.t)("Settings")},options:[{id:"labelWidth",label:(0,n.t)("Width"),type:"slider-dev",disabled:c===s.VariantStyle.Select||c===s.VariantStyle.Radio&&d!==s.OrientationCommon.Row,config:{min:50,max:150,units:[{value:"px",title:"px"}]}},{id:"labelSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:50,units:[{value:"px",title:"px"}]}}]}]}},93868:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=o(63300),u=o(24119),p=o(99087),f=e=>{let{v:t,device:o}=e;const n=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:f}=(0,c.getOptionColorHexByPalette)(n("bgValueColorHex"),n("bgValueColorPalette")),m=r.default.getAll(),{variantStyle:y}=t,g=(0,d.read)(n("sourceType"))??"",h=m?.api?.collectionItems?.getCollectionItemsIds?.handler;return[{id:"toolbarVariant",type:"popover-dev",position:1,config:{size:"auto",title:(0,l.t)("Style"),icon:"t2-shopify-variant"},devices:"desktop",options:[{id:"groupProduct",type:"group-dev",options:[{id:"variantStyle",label:(0,l.t)("Style"),type:"radioGroup-dev",choices:[{value:"style-select",icon:"t2-shopify-variant-style-select"},{value:"style-radio",icon:"t2-shopify-variant-style-radio"}]},{id:"orientation",label:(0,l.t)("Orientation"),type:"radioGroup-dev",choices:[{value:"row",icon:"nc-horizontal-items",title:"Horizontal"},{value:"column",icon:"nc-vertical-items",title:"Vertical"},...y===p.VariantStyle.Select?[{value:"column2",icon:"nc-vertical-items",title:"Column"}]:[]]}]},{id:"itemId",label:(0,l.t)("Product"),type:"select-dev",disabled:!h||""===g,choices:{load:()=>(0,i.getSourceIds)(g,m),emptyLoad:{title:(0,l.t)("There are no choices")}}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:8,options:[{id:"radioValue",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(f,n("bgColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bgRadioColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER,u.ACTIVE]}]},{id:"tabText",label:(0,l.t)("Text"),options:[{id:"radioColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER,u.ACTIVE]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"radioBorder",type:"border-dev",states:[u.NORMAL,u.HOVER,u.ACTIVE]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"radioBoxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER,u.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",position:101,config:{icon:"nc-cog",title:(0,l.t)("Settings")},options:[{id:"radioWidth",label:(0,l.t)("Width"),type:"slider-dev",config:{min:50,max:150,units:[{value:"px",title:"px"}]}},{id:"radioHeight",label:(0,l.t)("Height"),type:"slider-dev",config:{min:30,max:150,units:[{value:"px",title:"px"}]}},{id:"radioSpacing",label:(0,l.t)("Spacing"),type:"slider-dev",config:{min:0,max:50,units:[{value:"px",title:"px"}]}},{id:"radioRowSpacing",label:(0,l.t)("Gap"),type:"slider-dev",config:{min:0,max:50,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},93162:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=o(63300),u=o(24119),p=o(99087),f=e=>{let{v:t,device:o}=e;const n=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:f}=(0,c.getOptionColorHexByPalette)(n("bgValueColorHex"),n("bgValueColorPalette")),m=r.default.getAll(),{variantStyle:y}=t,g=(0,d.read)(n("sourceType"))??"",h=m?.api?.collectionItems?.getCollectionItemsIds?.handler;return[{id:"toolbarVariant",type:"popover-dev",position:1,config:{size:"auto",title:(0,l.t)("Style"),icon:"t2-shopify-variant"},devices:"desktop",options:[{id:"groupProduct",type:"group-dev",options:[{id:"variantStyle",label:(0,l.t)("Style"),type:"radioGroup-dev",choices:[{value:"style-select",icon:"t2-shopify-variant-style-select"},{value:"style-radio",icon:"t2-shopify-variant-style-radio"}]},{id:"orientation",label:(0,l.t)("Orientation"),type:"radioGroup-dev",choices:[{value:"row",icon:"nc-horizontal-items",title:"Horizontal"},{value:"column",icon:"nc-vertical-items",title:"Vertical"},...y===p.VariantStyle.Select?[{value:"column2",icon:"nc-vertical",title:"Column"}]:[]]}]},{id:"itemId",label:(0,l.t)("Product"),type:"select-dev",disabled:!h||""===g,choices:{load:()=>(0,i.getSourceIds)(g,m),emptyLoad:{title:(0,l.t)("There are no choices")}}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:8,options:[{id:"selectedItem",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(f,n("bgColorOpacity"))}}},position:9,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bgSelectedItemColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabText",label:(0,l.t)("Text"),options:[{id:"selectedItemColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"selectedItemBorder",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"selectedItemBoxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",position:101,config:{icon:"nc-cog",title:(0,l.t)("Settings")},options:[{id:"selectWidth",label:(0,l.t)("Width"),type:"slider-dev",config:{min:100,max:500,units:[{value:"px",title:"px"}]}},{id:"selectHeight",label:(0,l.t)("Height"),type:"slider-dev",config:{min:32,max:500,units:[{value:"px",title:"px"}]}},{id:"selectSpacing",label:(0,l.t)("Spacing"),type:"slider-dev",config:{min:0,max:50,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},99087:(e,t)=>{"use strict";var o,r,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{VariantStyle:function(){return o},OrientationCommon:function(){return r},OrientationSelect:function(){return n}}),function(e){e.Select="style-select",e.Radio="style-radio",e.Image="style-image"}(o||(o={})),function(e){e.Row="row",e.Column="column"}(r||(r={})),function(e){e.Column2="column2"}(n||(n={}))},71584:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAttributeVariantType",{enumerable:!0,get:function(){return n}});const r=o(99087),n=e=>{switch(e){case r.VariantStyle.Select:return"select";case r.VariantStyle.Radio:return"radio";case r.VariantStyle.Image:return"image"}}},58922:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Vendor",{enumerable:!0,get:function(){return _}});const r=P(o(36275)),n=P(o(1440)),i=P(o(67439)),a=P(o(10787)),l=P(o(63692)),s=o(8704),c=o(26989),d=o(86022),u=o(97045),p=o(92213),f=o(94220),m=P(o(60042)),y=P(o(27378)),g=o(71782),h=o(9644),b=o(81842),v=P(o(42792)),S=T(o(6229)),w=o(52503),x=T(o(65022));function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class _ extends l.default{static get componentId(){return g.ElementTypes.Vendor}static defaultValue=v.default;renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{const{blockId:t,type:o,value:r}=e;let{value:{popupId:n}}=e;return"GlobalBlock"===o&&(n=(0,u.blocksDataSelector)((0,p.getStore)().getState())[r._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${n}`}}});return y.default.createElement(a.default,e)}renderForEdit(e,t,o){const{customCSS:a,sourceID:l,sourceType:g,tagName:v}=e,P=(0,m.default)("brz-shopify-vendor w-full",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,w.style)(e,t,o))),C=(0,b.getLinkData)(e),T={slug:"vendor"};g&&(T.entityType=g),l&&(T.entityId=l);const _=(0,h.makePlaceholder)({content:"{{brizy_dc_collection_item_field}}",attr:T}),k=y.default.createElement(s.DynamicContentHelper,{placeholder:_,tagName:v,props:{className:"brz-shopify-vendor__title"},placeholderIcon:"shopify-vendor"});return y.default.createElement(y.default.Fragment,null,y.default.createElement(i.default,this.makeToolbarPropsFromConfig2(x,S),y.default.createElement(r.default,{selectorName:this.getId(),css:a},y.default.createElement(d.Wrapper,this.makeWrapperProps({className:P}),C.href?y.default.createElement(n.default,{href:C.href,type:C.type,target:C.target,rel:C.rel},k):k))),(0,c.shouldRenderPopup)(e,(0,u.blocksDataSelector)((0,p.getStore)().getState()))&&this.renderPopups())}}},6229:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=()=>(0,r.t)("Product Vendor"),i=[{title:"Span",value:"span"},{title:"Div",value:"div"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}],a=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:'\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

'},placeholder:"element { CSS goes here }"},{id:"tagName",label:(0,r.t)("HTML Tag"),type:"select-dev",devices:"desktop",position:100,choices:i},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:110,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},52503:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleContentAlign"]},".brz &&:hover *":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementTitleTextShadow"],interval:["cssStyleHoverTransition"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor"]},".brz &&:hover .brz-shopify-vendor__title":{standart:["cssStyleStrokeText"]}}})}},65022:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=o(24119),u=o(57582),p=e=>{let{v:t,device:o,context:n,component:p}=e;const f=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),m=r.default.getAll(),y=m?.api?.collectionTypes?.loadCollectionTypes.handler,g=f("sourceType"),{linkPopup:h,popups:b,linkSource:v}=t,{hex:S}=(0,c.getOptionColorHexByPalette)(f("colorHex"),f("colorPalette"));return[{id:"vendor",type:"popover-dev",config:{icon:"t2-shopify-vendor",size:"auto",title:(0,l.t)("Vendor")},position:70,options:[{id:"sourceID",type:"select-dev",label:(0,l.t)("Product"),devices:"desktop",placeholder:"Select",choices:{load:()=>(0,i.getSourceIds)(g,m),emptyLoad:{title:(0,l.t)("There are no choices")}}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(S,f("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,l.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[d.NORMAL,d.HOVER]}]},{id:"tabTextStroke",label:(0,l.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[d.NORMAL,d.HOVER]}]},{id:"tabTextShadow",label:(0,l.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[d.NORMAL,d.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,l.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,l.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!y,label:(0,l.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(m),emptyLoad:{title:(0,l.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,l.t)("Find Page"),devices:"desktop",disabled:!v,config:{postType:v}}]},{id:"external",label:(0,l.t)("URL"),options:[(0,u.toolbarLinkExternal)({v:t,config:n.dynamicContent.config}),{id:"linkExternalBlank",label:(0,l.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,l.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,l.t)("Block"),options:[(0,u.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal"})]},{id:"popup",label:(0,l.t)("Popup"),options:[{id:"linkPopup",type:"promptAddPopup",label:(0,l.t)("Popup"),popupKey:`${p.getId()}_${h}`,value:{value:h,popups:b},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,l.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,l.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,l.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,l.t)("More Settings"),position:110,title:(0,l.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},61898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCurrentPageId",{enumerable:!0,get:function(){return l}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=()=>i.read(r.default.get("wp").page)??""},22077:(e,t,o)=>{"use strict";const r=P(o(33979)),n=P(o(27378)),i=P(o(31542)),a=o(23884),l=P(o(8136)),s=P(o(22546)),c=o(10744),d=o(97045),u=o(92213),p=o(64187),f=(o(69745),o(44576)),m=o(25663),y=o(49627),g=o(72833),h=o(64985),b=o(58991),v=o(24978);o(91416);const S=P(o(97734)),w=o(88082),x=o(77053);function P(e){return e&&e.__esModule?e:{default:e}}const C=document.querySelector("#brz-ed-root"),T=window.parent.document.querySelector(".brz-ed-page-curtain");!async function(){try{if(!C)throw T?.classList.add("has-load-error"),new y.PageError((0,h.t)("could not find #brz-ed-root"));const e=s.default.getAll(),t=e.project.status||{},o=e.projectData,P=(0,x.readPageData)(e.pageData),{isSyncAllowed:_=!1}=e.cloud||{};if(!o||!o.data)throw new y.ProjectError((0,h.t)("Missing project data in config"));if(!P||!P.data)throw new y.PageError((0,h.t)("Missing page data in config"));t&&!t.locked&&await(0,p.addProjectLockedBeacon)();const k=await(0,p.getGlobalBlocks)(),{styles:M,extraFontStyles:O=[],fonts:E}=o.data,B=(0,m.getBlocksInPage)(P,k),z=(0,b.getUsedModelsFonts)({models:B,globalBlocks:k}),I=(0,f.flatMap)(M,(e=>{let{fontStyles:t}=e;return t})),j=(0,b.getUsedStylesFonts)([...I,...O]),L=(await(0,g.normalizeFonts)((0,b.getBlocksStylesFonts)([...z,...j],E))).reduce(((e,t)=>{let{type:o,fonts:r}=t;return{...e,[o]:{data:r}}}),{}),F={...o,data:{...o.data,styles:(0,g.normalizeStyles)(M)}},N=(0,u.createStore)({middleware:await(0,S.default)()});N.dispatch((0,c.hydrate)({project:F,projectStatus:t,page:P,globalBlocks:k,authorized:(0,v.getAuthorized)(),syncAllowed:_,fonts:(0,r.default)(E,L)})),window.brzStore=N,window.parent.brzStore=N,window.parent.addEventListener("unload",p.removeProjectLockedSendBeacon,!1),e.onUpdate=e=>{N.dispatch({type:"PUBLISH",payload:{status:N.getState().page.status},meta:{onSuccess:()=>{(async()=>{try{const t=N.getState(),o=(0,d.pageSelector)(t),r=(0,d.projectSelector)(t);e({...{},pageData:o,projectData:r})}catch(e){(0,w.showError)({e})}})()}}})},i.default.render(n.default.createElement(a.Provider,{store:N},n.default.createElement(l.default,null)),C,(()=>{T?.parentElement.removeChild(T),N.dispatch((0,c.editorRendered)()),"function"==typeof e.onLoad&&e.onLoad()}))}catch(e){(0,w.showError)({e,inRoot:!0,hideAfter:0})}}()},97734:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(35870))&&n.__esModule?n:{default:n};var n;const i=o(21486),a=o(73656);async function l(){let e=await(0,i.browserSupports)();return[r.default,(0,a.sideEffects)({document,parentDocument:window.parent.document}),a.error,...e?[a.screenshots]:[],a.api]}},88082:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"showError",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),n=d(o(31542)),i=o(55190),a=o(62948),l=d(o(21107)),s=o(49627),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}const u=e=>{const{e:t,hideAfter:o,inRoot:d}=e,u=t instanceof s.CustomError;u?console.error("editor bootstrap error",t.getMessage()):console.error("editor bootstrap error",t);const p=u&&t.getMessage()?t.getMessage():(0,c.t)("Something went wrong");if(d){const e=document.querySelector("#brz-ed-root")??document.body;n.default.render(r.default.createElement(l.default,{node:window.parent.document.body},r.default.createElement(i.ToastContainer,null)),e)}a.ToastNotification.error(p,o)}},77053:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"readPageData",{enumerable:!0,get:function(){return o}});const o=e=>e.data?e:{...e,data:{items:[]}}},38697:(e,t,o)=>{"use strict";const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;o.p=r.default.get("urls").assets+"/editor/js/"},68614:(e,t,o)=>{"use strict";const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(34721),s=o(72833),c=o(64985),d=o(16526),u=o(69321),p=o(68256),f=o(24119),m=o(57582);o.g.Brizy={config:r.default,addFilter:l.addFilter,applyFilter:l.applyFilter,t:c.t,utils:{stateMode:{NORMAL:f.NORMAL,HOVER:f.HOVER},setIds:d.setIds,isPopup:d.isPopup,isStory:d.isStory,getDynamicContentChoices:p.getDynamicContentChoices,getDynamicContentOption:p.getDynamicContentOption,getDynamicContentByPlaceholder:p.getDynamicContentByPlaceholder,getShapes:p.getShapes,getOptionColorHexByPalette:p.getOptionColorHexByPalette,hexToRgba:a.hexToRgba,getColorPaletteColors:a.getColorPaletteColors,getColorPaletteColor:a.getColorPaletteColor,makeRichTextColorPaletteCSS:a.makeRichTextColorPaletteCSS,getFontById:s.getFontById,getUsedFonts:s.getUsedFonts,getUsedFontsDetails:s.getUsedFontsDetails,getFontStyles:s.getFontStyles,getFontStyle:s.getFontStyle,weightTypes:s.weightTypes,getWeight:s.getWeight,getWeightChoices:s.getWeightChoices,makeSubsetGoogleFontsUrl:s.makeSubsetGoogleFontsUrl,defaultValueValue:u.defaultValueValue,defaultValueKey:u.defaultValueKey,tabletSyncOnChange:u.tabletSyncOnChange,mobileSyncOnChange:u.mobileSyncOnChange,onChangeTypography:u.onChangeTypography,onChangeTypographyMobile:u.onChangeTypographyMobile,DCTypes:i.DCTypes,NORMAL:f.NORMAL,HOVER:f.HOVER},toolbar:{toolbarColor2:m.toolbarColor2,toolbarColorHexField2:m.toolbarColorHexField2,toolbarLinkPopup:m.toolbarLinkPopup}}},2626:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePageCommon",{enumerable:!0,get:function(){return c}});const r=o(83578),n=s(o(13992)),i=s(o(48630)),a=s(o(63300));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const c=e=>{const t=i.read(e);if(!t)throw new Error("Failed to parse page");const o=n.read(r.Base64.decode(a.read(t.data)??""));return o?{...t,data:o}:{...t,data:{items:[]}}}},49781:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addDefault",{enumerable:!0,get:function(){return l}});const r=o(22741),n=o(59154),i=o(14309),a=o(89208),l=e=>(0,r.mCompose)(n.searchPage,a.getMetafields,i.getBlogPostMeta)(e)??e},59154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"searchPage",{enumerable:!0,get:function(){return s}});const r=(n=o(33979))&&n.__esModule?n:{default:n};var n;const i=o(70634),a=o(9645),l=o(73902),s=e=>{const{api:t={}}=e,o={linkPages:{handlerSearch:async(t,o,r)=>{let{id:n,search:i}=r;try{const o=(await(0,l.getPosts)({search:i,postType:[n]},e)).map((e=>{let{title:t,permalink:o}=e;return{title:t,id:o}}));t(o)}catch(e){o("Something went wrong")}}}},n=(0,i.addDefaults)(t,o),s=(0,r.default)(n,t,{arrayMerge:a.overwriteMerge});return Object.assign(e,{api:s})}},14309:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getBlogPostMeta",{enumerable:!0,get:function(){return d}});const r=(n=o(33979))&&n.__esModule?n:{default:n};var n;const i=o(70634),a=o(54639),l=o(13662),s=o(9645),c=o(73902),d=e=>{if((0,a.isCloud)(e)&&(0,l.isShopifyShop)(e.modules?.shop)){const t=e.modules?.shop.api||{},o={blogPostMetaLoad:{handler:async(t,o,r)=>{try{const{data:o}=await(0,c.getShopifyBlogPostMeta)({sourceType:r.sourceType},e);t([{title:"None",value:""},...o.map((e=>{let{id:t,title:o}=e;return{value:t,title:o}}))])}catch(e){o("Something went wrong")}}}},n=(0,i.addDefaults)(t,o),a=(0,r.default)(n,t,{arrayMerge:s.overwriteMerge});return Object.assign(e,{modules:{...e.modules,shop:{...e.modules?.shop,api:a}}})}return e}},89208:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMetafields",{enumerable:!0,get:function(){return d}});const r=(n=o(33979))&&n.__esModule?n:{default:n};var n;const i=o(70634),a=o(54639),l=o(13662),s=o(9645),c=o(73902),d=e=>{if((0,a.isCloud)(e)&&(0,l.isShopifyShop)(e.modules?.shop)){const t=e.modules?.shop?.api||{},o={metafieldsLoad:{handler:async(t,o,r)=>{try{const{data:o}=await(0,c.getShopifyMetafields)({sourceType:r.sourceType},e);t([{title:"None",value:""},...o.map((e=>{let{key:t,name:o}=e;return{value:t,title:o}}))])}catch(e){o("Something went wrong")}}}},n=(0,i.addDefaults)(t,o),a=(0,r.default)(n,t,{arrayMerge:s.overwriteMerge});return Object.assign(e,{modules:{...e.modules,shop:{...e.modules?.shop,api:a}}})}return e}},73902:(e,t)=>{"use strict";function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{fetch:o}=window.parent||window;return o(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{request:function(){return o},getPosts:function(){return r}});const r=async(e,t)=>{let{include:r,search:n="",postType:i,excludePostType:a,abortSignal:l}=e;const{api:{url:s,hash:c,searchPosts:d}}=t.wp,u=t.editorVersion,p=new URLSearchParams({hash:c,version:u,action:d});if(""!==n&&p.append("search",n),void 0!==r)for(const e of r)p.append("include[]",e);if(void 0!==i)for(const e of i)p.append("post_type[]",e);if(void 0!==a)for(const e of a)p.append("exclude_post_type[]",e);const f=await o(s,{method:"POST",body:p,signal:l}),m=await f.json();if(m.success)return m.data;throw m}},60845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withDefaultConfig",{enumerable:!0,get:function(){return n}});const r=o(49781),n=e=>(0,r.addDefault)(e)??e},9645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"overwriteMerge",{enumerable:!0,get:function(){return o}});const o=(e,t)=>t},76195:(e,t,o)=>{"use strict";const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(70275),a=o.g.__VISUAL_CONFIG__;try{r.default.init((0,i.readConfig)(a))}catch(e){console.error("config is brok en. Please contact support")}},70275:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"readConfig",{enumerable:!0,get:function(){return g}});const r=o(47885),n=o(49863),i=f(o(31786)),a=f(o(4645)),l=f(o(48630)),s=f(o(63300)),c=o(22741),d=o(2626),u=o(60845);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const m=(0,r.parseStrict)({type:(0,n.pipe)((0,r.mPipe)((0,r.pass)(l.isObject),l.readKey("type"),(0,r.pass)((e=>[1,2].includes(e)))),(0,c.throwOnNullish)("Invalid rule type")),entityType:(0,n.pipe)((0,r.mPipe)((0,r.pass)(l.isObject),l.readKey("entityType"),s.read),(0,c.throwOnNullish)("Invalid rule entity type")),group:(0,n.pipe)((0,r.mPipe)((0,r.pass)(l.isObject),l.readKey("group"),a.read),(0,c.throwOnNullish)("Invalid rule group")),values:(0,n.pipe)((0,r.mPipe)((0,r.pass)(l.isObject),l.readKey("values"),i.readWithItemReader(s.read)),(0,c.throwOnNullish)("Invalid rule values"))}),y=(0,n.pipe)((0,r.pass)(Array.isArray),(0,c.throwOnNullish)("Err"),(e=>e.map(m))),g=e=>{const t=l.read(e.wp)??{},o={...e,pageData:(0,d.parsePageCommon)(e.pageData),wp:{...t,ruleMatches:y(t.ruleMatches)}};return(0,u.withDefaultConfig)(o)}},91416:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=c(o(95664)),n=c(o(22546)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(41239)),a=c(o(8738)),l=c(o(53174)),s=o(62762);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}for(const e of Object.values(i.default))r.default.registerComponent(e);r.default.registerNotFoundComponent(i.NotFoundComponent),r.default.registerShortcode(a.default);const u=n.default.getAll();(0,s.isCloud)(u)&&(0,s.isShopify)(u)&&r.default.registerShopifyShortcode(l.default)},40010:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Alert",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{message:t,type:o="success",className:i}=e,a=(0,n.default)("brz-ed-alert",i,{[`brz-ed-alert-${o}`]:o});return r.default.createElement("div",{className:a},r.default.createElement("span",{className:"brz-span"},t))}},76770:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{connect:function(){return s},disconnect:function(){return c}});const r=o(22741);let n;const i=new Map,a=(e,t)=>{e.filter((e=>{let{isIntersecting:t}=e;return t})).map((e=>(0,r.mApply)((o=>o(e,t)),i.get(e.target))))},l=()=>n??(n=new IntersectionObserver(a)),s=(e,t)=>{if(!i.has(e)){const o=l();i.set(e,t),o.observe(e)}return l()},c=e=>{i.delete(e),n&&(n.unobserve(e),0===i.size&&(n.disconnect(),n=void 0))}},45771:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Animation:function(){return f},default:function(){return m}});const r=c(o(60042)),n=u(o(27378)),i=c(o(47075)),a=o(36122),l=o(22741),s=u(o(76770));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class p extends n.default.Component{constructor(e){super(e),this.state={isVisible:!1,animationClass:e.animationClass}}updateId;animationStartedId;mounted=!1;handleAnimationStarted(){i.default.emit(a.AnimationEvents.entranceOn,{animationIsRunning:!0,animationId:this.props.animationId})}handleAnimationFinished(){i.default.emit(a.AnimationEvents.entranceOff,{animationIsRunning:!1,animationId:this.props.animationId})}componentDidMount(){this.mounted=!0,this.updateRef(),this.props.animationClass&&(this.animationStartedId=requestAnimationFrame((()=>{this.handleAnimationStarted()})),(0,l.mApply)((e=>s.connect(e,this.handleIntersection)),this.ref.current),this.ref.current?.addEventListener("animationend",(()=>{this.mounted&&(this.handleAnimationFinished(),this.setState({animationClass:"none"}))})))}componentDidUpdate(e){this.updateRef(),e.animationClass!==this.props.animationClass&&(this.props.animationClass?(this.handleAnimationStarted(),(0,l.mApply)((e=>s.connect(e,this.handleIntersection)),this.ref.current),(0,l.mApply)(cancelAnimationFrame,this.updateId),this.updateId=requestAnimationFrame((()=>{this.setState({animationClass:this.props.animationClass}),this.ref.current?.addEventListener("animationend",(()=>{this.mounted&&(this.setState({animationClass:"none"}),this.handleAnimationFinished())}))}))):((0,l.mApply)(s.disconnect,this.ref.current),this.handleAnimationFinished()))}componentWillUnmount(){(0,l.mApply)(s.disconnect,this.ref.current),(0,l.mApply)(cancelAnimationFrame,this.updateId),(0,l.mApply)(cancelAnimationFrame,this.animationStartedId),i.default.off(a.AnimationEvents.entranceOn,this.handleAnimationStarted),i.default.off(a.AnimationEvents.entranceOff,this.handleAnimationFinished),this.mounted=!1}handleIntersection=e=>{let{isIntersecting:t,target:o}=e;t&&(s.disconnect(o),this.setState({isVisible:!0}))};renderForEdit(){const{component:e,children:t,className:o,componentProps:{className:i,...a}}=this.props,{isVisible:l}=this.state,s=this.hasAnimation(),c=l&&s,d={...a,className:(0,r.default)(o,i,{"brz-observer__animation":s,"brz-animated":s,[this.getAnimationClass()??""]:c,"brz-animate":c,"brz-animate-opacity":c}),...this.props?.animationId&&s&&{"data-animationid":this.props.animationId},ref:this.ref};return(0,n.createElement)(e,d,t)}renderForView(){const{component:e,iterationCount:t=1,children:o,className:i,componentProps:{className:a,...l}}=this.props,s=this.hasAnimation(),c={...l,...s?{"data-iteration-count":t}:{},className:(0,r.default)(i,a,{"brz-animated":s,[this.getAnimationClass()??""]:s}),ref:this.ref,...this.props?.animationId&&s&&{"data-animationid":this.props.animationId}};return(0,n.createElement)(e,c,o)}render(){return this.renderForEdit()}ref=n.default.createRef();updateRef=()=>{this.props.forwardedRef&&("function"==typeof this.props.forwardedRef?this.props.forwardedRef(this.ref.current):this.props.forwardedRef.current=this.ref.current)};hasAnimation=()=>!!this.state.animationClass;getAnimationClass=()=>this.props.animationClass!==this.state.animationClass?void 0:this.state.animationClass}const f=(0,n.forwardRef)((function(e,t){return n.default.createElement(p,{...e,forwardedRef:t})})),m=f},55941:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=u(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(36042)),a=u(o(47075)),l=u(o(43299)),s=u(o(81994)),c=u(o(74756)),d=u(o(79225));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends n.Component{isUnMounted=!1;componentDidMount(){a.default.on("deviceMode.change",this.handleChange)}componentWillUnmount(){this.isUnMounted=!0,a.default.off("deviceMode.change",this.handleChange)}handleChange=()=>{this.isUnMounted||this.forceUpdate()};render(){const{video:e,customVideo:t,videoType:o,videoLoop:a,videoStart:u,map:p,mapZoom:f,image:m,parallax:y,opacity:g,shapeTop:h,shapeBottom:b,style:v,children:S}=this.props,w=e||y,x=e||t;return n.default.createElement(n.default.Fragment,null,(P=this.props,["image","video","customVideo","map","shapeTop","shapeBottom","border","boxShadow","opacity"].some((e=>P[e]))&&n.default.createElement("div",{style:v,className:"brz-bg overflow-hidden !z-auto absolute top-0 left-0 w-full h-full"},m&&n.default.createElement(l.default,{showParallax:y},(e=>{let{innerRef:t,attr:o}=e;return n.default.createElement("div",{ref:t,...o})})),x&&n.default.createElement(d.default,{video:e,videoLoop:a,videoStart:u,videoType:o,customVideo:t},(e=>{let{innerRef:t,attr:o,children:i}=e;return n.default.createElement("div",{ref:t,...o,className:(0,r.default)("brz-bg-video absolute top-0 left-0 w-full h-full",o.className)},i)})),p&&n.default.createElement("div",{className:"brz-bg-map absolute top-0 left-0 w-full h-full"},p&&n.default.createElement(s.default,{map:p,mapZoom:f})),g&&n.default.createElement("div",{className:"brz-bg-color absolute top-0 left-0 w-full h-full"}),(h||b)&&n.default.createElement(c.default,{shapeTop:h,shapeBottom:b}))),w&&n.default.createElement(i.default,{onResize:this.handleChange}),S);var P}}const m=f},25382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=l(o(27378)),n=o(69321),i=o(47744),a=l(o(55941));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const o=e[arguments.length>1?arguments[1]:void 0];return null!=o?t.concat(o):t},c=e=>(0,n.deviceStateValueByKey)(e,"boxShadow"),d=e=>("grouped"===e.borderWidthType?["borderWidth"]:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"]).some((t=>(0,n.deviceStateValueByKey)(e,t))),u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{bgAttachment:o,bgSize:r}=e,{section:n}=t;return"cover"===r&&o&&"animated"===o&&!n.isSlider},p=e=>{let{value:t,meta:o,children:l}=e;const{media:p,opacity:f}=(e=>{const t=s(e);let o;return o="solid"===e.bgColorType?(0,n.makeKeyByStateDevice)(e,"bgColorOpacity").reduce(t,[]):["bgColorOpacity","gradientColorOpacity"].reduce(((t,o)=>t.concat((0,n.makeKeyByStateDevice)(e,o))),[]).reduce(t,[]),{media:o.some((e=>e<1)),opacity:o.some((e=>e>0))}})(t),m=t.bg||t.hoverBg;let y={opacity:f,image:p&&(g=t,(0,n.deviceStateValueByKey)(g,"bgImageSrc")||(0,n.deviceStateValueByKey)(g,"bgPopulation")),parallax:u(t,o),boxShadow:c(t),border:d(t),shapeTop:(0,n.validateKeyByProperty)(t,"shapeTopType","none"),shapeBottom:(0,n.validateKeyByProperty)(t,"shapeBottomType","none"),...p&&m&&{style:{"--brz-background-image":`url("${m}")`}}};var g;const h=p&&(e=>{const t=s(e);return(0,n.makeKeyByStateDevice)(e,"media").reduce(t,[])})(t);if(p&&h.includes("video")){const{bgVideo:e,bgVideoLoop:o,bgVideoStart:r,bgVideoCustom:n,bgVideoType:a}=t,l="bgVideoCustom"===a&&n||"url"===a&&e;y.video=(0,i.videoData)(e),y.videoStart=r,y.videoLoop="on"===o,y.customVideo=l,y.videoType=a}if(p&&h.includes("map")){const{bgMapZoom:e,bgMapAddress:o}=t;y.map=o,y.mapZoom=e}return r.default.createElement(a.default,y,l)}},15150:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{attachResize:function(){return n},detachResize:function(){return i}});const o=new Map,r=e=>{o.forEach((t=>{t(e)}))},n=(e,t)=>{o.size||window.addEventListener("resize",r,{passive:!1}),o.set(e,t)},i=e=>{o.delete(e),0===o.size&&window.removeEventListener("resize",r)}},89261:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{attachWheel:function(){return n},detachWheel:function(){return i}});const o=new Map,r=e=>{const t=o.size,[r,n]=[...o][t-1];n?.(e)},n=(e,t)=>{o.size||window.addEventListener("wheel",r,{passive:!1}),o.set(e,t)},i=e=>{o.delete(e),0===o.size&&window.removeEventListener("wheel",r)}},35308:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(n=o(65311))&&n.__esModule?n:{default:n};var n,i=[],a=!1;function l(e,t){this._loop=t.loop,this._start=t.start||0,function(e){if(a)e();else{if(0===i.length){if(!document.querySelector("script[src='https://www.youtube.com/iframe_api']")){const t=document.createElement("script");t.async=!0,t.src="https://www.youtube.com/iframe_api",t.onerror=function(){e(new Error("Failed to load"+t.src))},document.body.append(t)}void 0===window.onYouTubeIframeAPIReady&&(window.onYouTubeIframeAPIReady=()=>{window.Brz&&window.Brz.emit("elements.video.iframe.ready")}),void 0===window.Brz&&(window.onYouTubeIframeAPIReady=()=>{a=!0,i.forEach((function(e){e()}))}),window.Brz&&window.Brz.on("elements.video.iframe.ready",(()=>{a=!0,i.forEach((function(e){e()}))}))}i.push(e)}}(this._init.bind(this,e))}function s(e,t){var o=t.loop,r=t.start||0,n=function(t,o){e.get(0).contentWindow&&e.get(0).contentWindow.postMessage(JSON.stringify({method:t,value:o}),"*")}.bind(this);return window.addEventListener("message",function(t){if(t.origin.includes("vimeo")){var i=JSON.parse(t.data);switch("ping"!==i.method||e.attr("data-ready")||(e.attr("data-ready","true"),n("addEventListener","loaded"),n("addEventListener","finish")),i.event){case"ready":e.data("ready")||(e.attr("data-ready","true"),n("addEventListener","loaded"),n("addEventListener","finish"));break;case"finish":n("setCurrentTime",r),o&&setTimeout(function(){n("play")}.bind(this),260);break;case"loaded":n("setCurrentTime",r),n("setVolume",0),n("play")}}}.bind(this),!1),n("ping"),{mute:function(){n("setVolume",0)},unMute:function(){n("setVolume",100)},play:function(){n("play")},pause:function(){n("pause")},setLoop:function(e){this.play(),o=e},seekTo:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;r=e,n("setCurrentTime",e)},destroy:function(){n("unload"),n("removeEventListener","loaded"),n("removeEventListener","finish")}}}function c(e,t){const o=t.loop,r=t.start||0,n=e.find("video")[0],i=()=>{n.currentTime=r,n.play()};return n&&(o&&n.addEventListener("ended",i),n.setAttribute("muted","true"),n.currentTime=r,n.play()),{setLoop:()=>{n&&n.removeEventListener("ended",i)},destroy:()=>{n&&(n.removeEventListener("ended",i),n.currentTime=0)},seekTo:()=>{}}}r.default.extend(l.prototype,{_init:function(e){this.player=new YT.Player(e.get(0),{events:{onReady:function(e){e.target.mute(),e.target.seekTo(this._start),e.target.playVideo()}.bind(this),onStateChange:function(e){this._loop&&e.data==YT.PlayerState.ENDED&&(e.target.seekTo(this._start),e.target.playVideo())}.bind(this)}})},mute:function(){this.player.mute()},unMute:function(){this.player.unMute()},play:function(){this.player&&"function"==typeof this.player.playVideo&&this.player.playVideo()},stop:function(){this.player.stopVideo()},pause:function(){this.player.pauseVideo()},setLoop:function(e){this.play(),this._loop=e},seekTo:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._start=e,this.player.seekTo(e)},destroy:function(){this.player=null}}),function(e,t){var o="backgroundVideo",r="plugin_"+o;function n(t,o){this.$elem=e(t),this.$iframe=this.$elem.find("iframe"),this._setSizes=this._setSizes.bind(this),this._setSizes(),this._attachEvents(),this._init(o)}e.extend(n.prototype,{_init:function(e){this.$iframe||(this.$iframe=this.$elem.find("iframe")),"youtube"===e.type?this._player=new l(this.$iframe,e):"vimeo"===e.type?this._player=new s(this.$iframe,e):this._player=new c(this.$elem,e)},_setSizes:function(){var e=function(){const e=document.getElementById("wpadminbar");e&&(e.style.display="none");var t=1.78,o=this.$elem.width(),r=this.$elem.height();if(e&&e.style.removeProperty("display"),o/t{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=(n=o(65311))&&n.__esModule?n:{default:n};var n;const i=o(15150),a=o(89261),l="brz-bg-image-parallax--init brz-ed-preserve-3d absolute !transition-[all] !duration-[0s] !ease-[ease] !delay-[0s] origin-[center_center_0]";!function(e,t,o){var r="parallax",n="plugin_"+r;function s(r,n){this.$elem=e(r),this.options=e.extend({bgClass:"parallax-bg",wheelIgnoreClass:[],items:[],baseElement:t,windowHeight:Math.max(o.documentElement.clientHeight,t.innerHeight||0),r:0,u:0,v:0,s:!1,F:!1},n),this._handleScrollBound=this._handleScroll.bind(this),this._handleWheelBound=this._handleWheel.bind(this),this._handleResizeBound=this._handleResize.bind(this),this._init()}e.extend(s.prototype,{_init:function(){this.options.windowHeight=Math.max(o.documentElement.clientHeight,t.innerHeight||0),this.profileParallaxElements(),this._attachEvents(),this.d()},_attachEvents:function(){const e=this.$elem.get(0);this.options.baseElement.addEventListener("scroll",this._handleScrollBound,!1),(0,a.attachWheel)(e,this._handleWheelBound),(0,i.attachResize)(e,this._handleResizeBound)},_detachEvents:function(){const e=this.$elem.get(0);this.options.baseElement.removeEventListener("scroll",this._handleScrollBound,!1),(0,a.detachWheel)(e),(0,i.detachResize)(e)},_handleScroll:function(){this.options.F=!0},_handleWheel:function(t){if(this.options.wheelIgnoreClass&&this.options.wheelIgnoreClass.length>0&&e(t.target).closest("."+this.options.wheelIgnoreClass.join(", .")).length>0)return null;t.preventDefault&&t.preventDefault(),this.options.v=t.notRealWheel?-t.deltaY/4:1===t.deltaMode?-t.deltaY/3:100===Math.abs(t.deltaY)?-t.deltaY/120:-t.deltaY/40,this.options.v=-2>this.options.v?-2:this.options.v,this.options.v=this.options.v>2?2:this.options.v,this.options.s=!0,this.options.u=4},_handleResize:function(){this.options.windowHeight=Math.max(o.documentElement.clientHeight,t.innerHeight||0),this.options.r=this.b(),this.profileParallaxElements()},profileParallaxElements:function(){var t=this.$elem,o=this;this.options.items=[],this.options.r=this.b(),t.find("."+this.options.bgClass).each((function(){var r=t,n=r.offset().top,i=o.getHeight(r),a=e(this);i&&o.setHeight(r,i),o.options.items.push({section:r.get(0),outerHeight:r.outerHeight(),elemTop:n,elemBottom:n+r.outerHeight(),isFirstSection:!1,imageHolder:this}),a.addClass(l),o.mr_setTranslate3DTransform(a.get(0),(o.f()+o.options.windowHeight-n)/2)}))},setHeight:function(t,o){e(t).find("."+this.options.bgClass).css({height:100*o+"vh"})},getHeight:function(t){var o=e(t),r=e(this.options.baseElement).height(),n=o.height();return n>r?n/r:null},getTransformStyle:function(e){for(var t=0;t0},getCurrentElement:function(e){for(var t=0,o=this.options.items.length;this.options.items[t]&&this.options.items[t].section!==e;t++);return t===o?-1:t},isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},requestAnimationFrame:function(e){return(this.options.baseElement.requestAnimationFrame||this.options.baseElement.mozRequestAnimationFrame||this.options.baseElement.webkitRequestAnimationFrame||this.options.baseElement.msRequestAnimationFrame)(e)},mr_setTranslate3DTransform:function(e,t){var o=this.getTransformStyle(["transform","msTransform","webkitTransform","mozTransform","oTransform"]);e.style[o]="translate3d(0,"+t+"px,0)"},refresh:function(){this.profileParallaxElements()},destroy:function(){this._detachEvents(),this.$elem.removeData(n),this.$elem.find("."+this.options.bgClass).css({height:"",transform:""}).removeClass(l)},paused:function(e){e?this._detachEvents():this._attachEvents()},e:function(e,t){this.isVariant()?t+this.options.windowHeight-this.options.r>e.elemTop&&t-this.options.re.elemTop&&t1||-1>e)&&(this.options.baseElement.scrollBy(0,e),e=0),this.options.u++,this.options.u>30&&(this.options.u=0,this.options.s=!1,this.options.v=0,e=0)),this.requestAnimationFrame.call(this,this.d.bind(this))},isVariant:function(){return!1},b:function(){return e(this.options.baseElement).outerHeight(!0)},f:function(){return this.options.baseElement!=t?this.options.baseElement.scrollTop:0===o.documentElement.scrollTop?o.body.scrollTop:o.documentElement.scrollTop}}),e.fn[r]=function(t){if(void 0===t||"object"==typeof t)return this.each((function(){e.data(this,n)||e.data(this,n,new s(this,t))}));if("string"==typeof t&&"_"!==t[0]&&"init"!==t){var o=Array.prototype.slice.call(arguments,1);return this.each((function(){var r=e.data(this,n);r instanceof s&&"function"==typeof r[t]&&r[t].apply(r,o)}))}}}(r.default,window,document)},43299:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=c(o(60042)),n=c(o(65311)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(92213),l=o(46479);o(35791);const s=o(95476);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{e.parentElement&&(0,n.default)(e.parentElement).parallax("destroy")},p=e=>{e.parentElement&&(0,n.default)(e.parentElement).parallax({bgClass:"brz-bg-image",wheelIgnoreClass:["brz-ed-container-plus","brz-ed-container-whiteout-show","brz-content-show",...l.IS_WP?["media-modal"]:[]]})},f=e=>{let{showParallax:t,children:o}=e;const n=(0,a.getStore)().getState().ui.deviceMode;t=t&&"desktop"===n;const l=(0,r.default)("brz-bg-image absolute left-0 w-full bg-no-repeat",t?"-top-[50vh] h-[100vh] !bg-cover":"top-0 h-full bg-cover",{"brz-bg-image-parallax":t,"brz-bg-image-parallax--init brz-ed-preserve-3d !transition-[all] !duration-[0s] !ease-[ease] !delay-[0s] origin-[center_center_0]":t&&!0}),c=(0,i.useRef)(null),d=(0,i.useRef)(!0);return(0,s.useLayoutEffect)((()=>()=>{c.current&&u(c.current)}),[]),(0,s.useLayoutEffect)((()=>{d.current?(d.current=!1,c.current&&t&&p(c.current)):c.current&&(t?p(c.current):u(c.current))})),o({innerRef:c,attr:{className:l}})}},81994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{map:t,mapZoom:o}=e;const n={display:t?"block":"none"},i=t?`https://www.google.com/maps/embed/v1/place?key=AIzaSyCcywKcxXeMZiMwLDcLgyEnNglcLOyB_qw&q=${t}&zoom=${o}`:void 0;return r.default.createElement("iframe",{className:"brz-iframe intrinsic-ignore brz-bg-map__cover absolute top-0 left-0 w-full h-full border-none max-w-none bg-no-repeat bg-cover",src:i,style:n,title:"background-map"})}},74756:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{shapeTop:t,shapeBottom:o}=e;return r.default.createElement(r.default.Fragment,null,t&&r.default.createElement("div",{className:"brz-bg-shape w-full h-full absolute inset-x-0 bg-no-repeat pointer-events-none brz-bg-shape__top top-0 after:content-[''] after:absolute after:w-full after:h-full after:top-0"}),o&&r.default.createElement("div",{className:"brz-bg-shape w-full h-full absolute inset-x-0 bg-no-repeat pointer-events-none brz-bg-shape__bottom bottom-0 rotate-x-180 after:content-[''] after:absolute after:w-full after:h-full after:top-0"}))}},79225:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=(n=o(65311))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(8252),l=o(47744);o(35308);const s=o(95476);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}var d;!function(e){e.Youtube="youtube",e.Vimeo="vimeo",e.BgVideoCustom="bgVideoCustom",e.URL="url"}(d||(d={}));const u=e=>{let{video:t,videoLoop:o,videoStart:n,children:c,videoType:u,customVideo:p}=e;const f=t||p,{type:m,key:y}=t??{},g=(0,i.useMemo)((()=>({display:f?"block":"none"})),[f]),h={autoplay:!0,background:!0,controls:!1,suggestedVideo:!1,loop:o},b=u||"undefined",v=(0,i.useMemo)((()=>u===d.BgVideoCustom||u===d.URL),[u]),S=(0,i.useRef)(null),w=(0,i.useRef)(null),x=(0,i.useRef)(!0);(0,s.useLayoutEffect)((()=>{S.current&&(0,r.default)(S.current).backgroundVideo("destroy")}),[]),(0,s.useLayoutEffect)((()=>{!x.current&&S.current&&(0,r.default)(S.current).backgroundVideo("resize")})),(0,s.useLayoutEffect)((()=>{!x.current&&S.current&&(0,r.default)(S.current).backgroundVideo("setLoop",o)}),[o]),(0,s.useLayoutEffect)((()=>{!x.current&&S.current&&(0,r.default)(S.current).backgroundVideo("seekTo",n)}),[n]),(0,s.useLayoutEffect)((()=>{x.current&&S.current?(x.current=!1,(0,r.default)(S.current).backgroundVideo({type:m,key:y,loop:o,start:n})):S.current&&(0,r.default)(S.current).backgroundVideo("typeChange",{type:m,key:y,loop:o,start:n})}),[m,y]),(0,s.useLayoutEffect)((()=>{S.current&&v&&(0,r.default)(S.current).backgroundVideo("reinit",{type:"custom",loop:o,start:n})}),[o,n,v]);const P=t&&!v?(0,l.videoUrl)(t,h):b===d.BgVideoCustom?(0,a.customFileUrl)(p):p,C=(0,i.useMemo)((()=>t&&!v?i.default.createElement(i.default.Fragment,null,P&&i.default.createElement("iframe",{src:P,"data-src":P,className:"brz-iframe intrinsic-ignore brz-bg-video__cover absolute top-0 left-0 w-full h-full border-none !max-w-none bg-no-repeat bg-cover",loading:"lazy",style:g,title:"background-video"})):p?i.default.createElement(i.default.Fragment,null,P&&i.default.createElement("video",{className:"brz-bg-video-custom brz-bg-video__cover absolute top-0 left-0 w-full h-full border-none !max-w-none bg-no-repeat bg-cover",muted:!0,autoPlay:!0,playsInline:!0,src:P,"data-src":P,ref:w,style:g})):i.default.createElement(i.default.Fragment,null)),[t,p,v,P,g]);return i.default.createElement(i.default.Fragment,null,c({innerRef:S,attr:{"data-type":b,"data-key":y,"data-loop":o,"data-start":n},children:C}))}},95476:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return n}});const r=o(27378),n="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},65683:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Badge",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{status:t}=e;const o=(0,n.default)("brz-badge",{[`brz-badge__${t}`]:t});return r.default.createElement("div",{title:t,className:o})}},83017:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=f(o(27378)),n=o(23884),i=f(o(86710)),a=f(o(92823)),l=o(46338),s=o(74215),c=o(97045),d=o(64985),u=f(o(22546)),p=o(62762);function f(e){return e&&e.__esModule?e:{default:e}}const m={desktop:{title:(0,d.t)("START BUILDING YOUR PAGE"),description:(0,d.t)("Press the button above to add blocks")},tablet:{title:(0,d.t)("SWITCH TO DESKTOP"),description:(0,d.t)("Switch to desktop to add blocks")},mobile:{title:(0,d.t)("SWITCH TO DESKTOP"),description:(0,d.t)("Switch to desktop to add blocks")}};class y extends r.default.Component{handleOpen=()=>{const{deviceMode:e,dispatch:t,onAddBlock:o,onAddTemplate:r}=this.props,n=u.default.getAll(),i=!((0,p.isCloud)(n)&&(0,p.isShopify)(n));"desktop"===e?a.default.open({prompt:"blocks",mode:"single",props:{type:"normal",showGlobal:i,onChangeBlocks:o,onChangeGlobal:o,onChangeSaved:r,onChangeTemplate:r}}):t((0,s.setDeviceMode)("desktop"))};render(){const{deviceMode:e}=this.props,{title:t,description:o}=m[e],n={icon:"mobile"===e||"tablet"===e?"nc-desktop":null,className:"mobile"===e||"tablet"===e?"floating-action-button--icon":null};return r.default.createElement("div",{className:"brz-ed-wrap-block-wrap brz-ed-wrap-block-wrap--first"},r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page",onClick:this.handleOpen},r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading"},t),r.default.createElement(i.default,n),r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading2"},o)))}}const g=(0,l.rolesHOC)({allow:["admin"],component:(0,n.connect)((e=>({deviceMode:(0,c.deviceModeSelector)(e)})),(e=>({dispatch:e})),void 0,{forwardRef:!0})(y)})},37295:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(10301),i=o(23884),a=p(o(92823)),l=p(o(86710)),s=o(46338),c=o(74215),d=o(97045),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}class m extends r.Component{static defaultProps={deviceMode:"desktop",onAddBlock:n.noop,setDeviceMode:n.noop};handleAddSavedBlock=e=>{const{fonts:t,blocks:o,extraFontStyles:r}=e;this.props.onAddBlock({fonts:t,extraFontStyles:r,block:o[0]})};handleOpen=()=>{const{deviceMode:e,setDeviceMode:t,onAddBlock:o}=this.props;if("desktop"===e){const e={prompt:"blocks",mode:"single",props:{type:"popup",showTemplate:!1,blocksType:!1,globalSearch:!1,onChangeBlocks:o,onChangeGlobal:o,onChangeSaved:this.handleAddSavedBlock}};a.default.open(e)}else t("desktop")};render(){const{deviceMode:e}=this.props,{title:t,description:o}=(e=>{switch(e){case"desktop":return{title:(0,u.t)("START BUILDING YOUR POPUP"),description:(0,u.t)("Press the button above to add popup")};case"tablet":case"mobile":return{title:(0,u.t)("SWITCH TO DESKTOP"),description:(0,u.t)("Switch to desktop to add popup")}}})(e),n={icon:"mobile"===e||"tablet"===e?"nc-desktop":null,className:"mobile"===e||"tablet"===e?"floating-action-button--icon":null};return r.default.createElement("div",{className:"brz-ed-wrap-block-wrap brz-ed-wrap-block-wrap--first"},r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page",onClick:this.handleOpen},r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading"},t),r.default.createElement(l.default,n),r.default.createElement("div",{className:"brz-ed-wrap-block-empty-page-heading2"},o)))}}const y=(0,s.rolesHOC)({allow:["admin"],component:(0,i.connect)((e=>({deviceMode:(0,d.deviceModeSelector)(e)})),(e=>({setDeviceMode:t=>e((0,c.setDeviceMode)(t))})))(m),fallbackRender:void 0})},73330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(60042)),i=o(23884),a=p(o(92823)),l=p(o(86710)),s=o(46338),c=o(64985),d=p(o(22546)),u=o(62762);function p(e){return e&&e.__esModule?e:{default:e}}class f extends r.default.Component{static defaultProps={blocks:[]};handleOpen=()=>{const{onAddBlock:e,onAddTemplate:t}=this.props,o=d.default.getAll(),r=!((0,u.isCloud)(o)&&(0,u.isShopify)(o));a.default.open({prompt:"blocks",mode:"single",props:{type:"normal",showGlobal:r,onChangeBlocks:e,onChangeTemplate:t,onChangeSaved:t,onChangeGlobal:e}})};render(){const e=(0,n.default)("brz-ed-container-adder",this.props.className);return r.default.createElement("div",{className:e},r.default.createElement("span",{className:"brz-span brz-ed-block-adder-title"},(0,c.t)("Add a new block")),r.default.createElement(l.default,{onClick:this.handleOpen}),r.default.createElement("span",{className:"brz-span brz-ed-block-adder-desc"},(0,c.t)("Press the button to add blocks")))}}const m=(0,s.rolesHOC)({allow:["admin"],component:(0,i.connect)(void 0,void 0,void 0,{forwardRef:!0})(f)})},60595:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),n=o(23884),i=c(o(92823)),a=o(46338),l=c(o(22546)),s=o(62762);function c(e){return e&&e.__esModule?e:{default:e}}class d extends r.default.Component{handleOpen=()=>{const{onAddBlock:e,onAddTemplate:t}=this.props,o=l.default.getAll(),r=!((0,s.isCloud)(o)&&(0,s.isShopify)(o));i.default.open({prompt:"blocks",mode:"single",props:{type:"normal",showGlobal:r,onChangeBlocks:e,onChangeTemplate:t,onChangeSaved:t,onChangeGlobal:e}})};render(){return r.default.createElement("div",{className:"brz-ed-container-plus"},r.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small",onClick:this.handleOpen}))}}const u=(0,a.rolesHOC)({allow:["admin"],component:(0,n.connect)()(d)})},78660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{FirstBlockAdder:function(){return r.default},MiddleBlockAdder:function(){return n.default},LastBlockAdder:function(){return i.default},FirstPopupBlockAdder:function(){return a.default}});const r=l(o(83017)),n=l(o(60595)),i=l(o(73330)),a=l(o(37295));function l(e){return e&&e.__esModule?e:{default:e}}},17727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=p(o(27378)),n=o(23884),i=p(o(33364)),a=p(o(22546)),l=o(74215),s=o(97045),c=o(64985),d=o(16526),u=o(24467);function p(e){return e&&e.__esModule?e:{default:e}}const f=function(){const e=(0,n.useDispatch)(),t=(0,n.useSelector)(s.showHiddenElementsSelector);if((0,d.isStory)(a.default.getAll()))return null;const o=t?"nc-eye-17":"nc-eye-ban-18",p=t?(0,c.t)("Hide Hidden Elements"):(0,c.t)("Show Hidden Elements");return r.default.createElement(u.BottomPanelItem,{paddingSize:"medium",active:!0,pointer:!0,title:p,onClick:()=>{e((0,l.updateUI)("showHiddenElements",!t))}},r.default.createElement(i.default,{icon:o}))}},24467:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BottomPanelItem",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,title:o,onClick:i,paddingSize:a,pointer:l,active:s,children:c}=e,d=(0,n.default)("brz-li","brz-ed-fixed-bottom-panel__item",`brz-ed-fixed-bottom-panel__item--${a}`,{"brz-ed-fixed-bottom-panel__item--pointer":l},{"brz-ed-fixed-bottom-panel__item--active":s},t);return r.default.createElement("li",{title:o,className:d,onClick:i},c)}},97077:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreviewButton",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(33364)),i=s(o(24072)),a=s(o(22546)),l=o(24467);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=["ctrl+shift+P","shift+ctrl+P","cmd+shift+P","shift+cmd+P","right_cmd+shift+P","shift+right_cmd+P"];function u(){const e=a.default.getAll(),t=(0,r.useRef)(null),o=e.urls.pagePreview,s=(0,r.useCallback)((()=>{t.current&&t.current.click()}),[]);if(!o)return null;const c=`${o}`;return r.default.createElement(r.default.Fragment,null,r.default.createElement(l.BottomPanelItem,{paddingSize:"none",pointer:!0,className:"brz-ed-fixed-bottom-panel__preview",title:"Preview (ctrl+shift+P)"},r.default.createElement("a",{href:c,className:"brz-a",target:"_blank",rel:"noopener noreferrer",ref:t},r.default.createElement(n.default,{icon:"nc-preview"}))),r.default.createElement(i.default,{keyNames:d,id:"key-helper-preview",onKeyDown:s}))}},87429:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Controls",{enumerable:!0,get:function(){return p}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=d(o(27378)),a=d(o(1424)),l=o(33364),s=o(46338);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u=e=>{let{items:t}=e;const o=(0,i.useMemo)((()=>t.map(((e,t)=>{const{title:o,icon:r,roles:n=[],loading:c,onClick:d}=e,u=i.default.createElement(a.TooltipItem,{className:"brz-ed-fixed-bottom-panel-popover__item",onClick:d},c?i.default.createElement(l.EditorIcon,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):void 0!==r?i.default.createElement(l.EditorIcon,{icon:r}):null,i.default.createElement("span",{className:"brz-span",title:o},o));return n.length>0?i.default.createElement(s.Roles,{key:t,allow:n},u):i.default.createElement(i.Fragment,{key:t},u)}))),[t]);return i.default.createElement(a.default,{overlayClassName:"brz-ed-tooltip__overlay-publish-button",placement:"top-end",offset:20,overlay:o,inPortal:!0},i.default.createElement("button",{className:"brz-button"},i.default.createElement(l.EditorIcon,{icon:"nc-arrow-up"})))},p=e=>{const{loading:t,children:o,addonAfter:n,disabled:a,onClick:s}=e,c=(0,r.default)("brz-ed-fixed-bottom-panel__btn",{"brz-ed-fixed-bottom-panel__btn-popover":n?.length,"brz-ed-fixed-bottom-panel__btn-disabled":a}),d=(0,r.default)("brz-ed-animated--spin",{"brz-d-none":!t}),p=(0,r.default)("brz-span",{"brz-invisible":t});return i.default.createElement("div",{className:c},i.default.createElement("div",{className:"brz-ed-fixed-bottom-panel__btn-loading brz-d-xs-flex brz-align-items-xs-center brz-text-lg-center",onClick:s},i.default.createElement(l.EditorIcon,{icon:"nc-circle-02",className:d}),i.default.createElement("span",{className:p},o)),!!n?.length&&n.length>0&&i.default.createElement(u,{items:n}))}},9690:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),a=C(o(24072)),l=o(62948),s=C(o(92823)),c=C(o(22546)),d=o(62762),u=o(39191),p=o(74215),f=o(97045),m=o(35188),y=o(64187),g=o(64985),h=o(78438),b=o(16526),v=o(21486),S=o(6804),w=o(24467),x=o(87429),P=o(16020);function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}const _=(0,r.match)([d.isCloud,(0,r.match)([d.isShopify,P.getMode],[d.isCMS,()=>{}])],[u.isWp,()=>{}]),k={updatePageStatus:p.updatePageStatus,removeBlocks:p.removeBlocks,fetchPageSuccess:p.fetchPageSuccess},M=(0,i.connect)((e=>{const t=c.default.getAll();return{page:(0,f.pageSelector)(e),pageData:(0,f.pageDataNoRefsSelector)(e),extraFontStyles:(0,f.extraFontStylesSelector)(e),storeWasChanged:(0,f.storeWasChangedSelector)(e),mode:_(t)}}),k);class O extends n.Component{state={updateLoading:!1,layoutLoading:!1,draftLoading:!1};draftLoading;updateLoading;publish=e=>{const{mode:t,storeWasChanged:o}=this.props;switch(t){case"withTemplate":switch(o){case m.StoreChanged.changed:this.handlePublish(e);break;case m.StoreChanged.unchanged:this.handlePublishWithLayout(e)}break;case"withRules":switch(o){case m.StoreChanged.changed:this.handlePublish(e);break;case m.StoreChanged.unchanged:this.handlePublishWithRules(e)}break;case"withArticle":switch(o){case m.StoreChanged.changed:this.handlePublish(e);break;case m.StoreChanged.unchanged:this.handlePublishWithArticle(e)}break;default:this.handlePublish(e)}};draft=e=>{const{mode:t,page:o}=this.props,r=c.default.getAll();if((0,d.isCloud)(r)&&(0,d.isShopify)(r))switch(t){case"withTemplate":case"withRules":case"withArticle":switch(o.status){case"draft":this.handleDraft(e);break;case"publish":this.handleDraft(e).then((()=>(0,y.shopifyUnpublishPage)(r)))}break;case void 0:this.handleDraft(e)}else this.handleDraft(e)};handlePublishWithRules(e){const{page:t}=this.props,o={prompt:"pageRules",mode:"single",props:{headTitle:(0,g.t)("SELECT FOR WHAT THE TEMPLATE IS USED"),pageTitle:(0,d.isShopifyPage)(t)?t.title:void 0,selectedLayout:(0,d.isShopifyPage)(t)?t.layout:void 0,onClose:()=>{this.setState({[e]:!1})},onSave:()=>this.handlePublish(e),onCancel:()=>{this.setState({[e]:!1})}}};s.default.open(o)}handlePublishWithLayout(e){const{page:t}=this.props,o={prompt:"pageTemplate",mode:"single",props:{headTitle:(0,g.t)("YOUR PAGE IS READY TO PUBLISH!"),selectedLayout:(0,d.isShopifyPage)(t)?t.layout:void 0,pageTitle:(0,d.isShopifyPage)(t)?t.title:void 0,onClose:()=>{this.setState({[e]:!1})},onSave:()=>this.handlePublish(e),onCancel:()=>{this.setState({[e]:!1})}}};s.default.open(o)}handlePublishWithArticle(e){const{page:t}=this.props,o={prompt:"pageArticle",mode:"single",props:{headTitle:(0,g.t)("YOUR PAGE IS READY TO PUBLISH!"),pageTitle:(0,d.isShopifyPage)(t)?t.title:void 0,selectedLayout:(0,d.isShopifyPage)(t)?t.layout:void 0,onClose:()=>{this.setState({[e]:!1})},onSave:()=>this.handlePublish(e),onCancel:()=>{this.setState({[e]:!1})}}};s.default.open(o)}handlePublish(e){return this[e]?this[e]:(this.setState({[e]:!0}),this[e]=this.props.updatePageStatus("publish").then((()=>{this.props.fetchPageSuccess(),this.setState({[e]:!1}),this[e]=void 0})).catch((t=>{l.ToastNotification.error((0,g.t)("Could not publish or save page")),this.setState({[e]:!1}),this[e]=void 0})))}handleDraft(e){return this[e]?this[e]:(this.setState({[e]:!0}),this[e]=this.props.updatePageStatus("draft").then((()=>{this.props.fetchPageSuccess(),this.setState({[e]:!1}),this[e]=void 0})).catch((t=>{l.ToastNotification.error((0,g.t)("Could not switch to draft")),this.setState({[e]:!1}),this[e]=void 0})))}handleSavePage=async()=>{const{pageData:e,extraFontStyles:t}=this.props;if(this.state.layoutLoading||0===e.items.length)return;this.setState({layoutLoading:!0});const o={extraFontStyles:t,type:"normal"};let r;try{r=await(0,v.browserSupports)()}catch(e){r=!1}if(r){const e=document.querySelector("#brz-ed-page__blocks"),{src:t,width:r,height:n}=await(0,v.makeNodeScreenshot)(e).catch((()=>({src:void 0,width:void 0,height:void 0})));if(t&&(0,h.isNumber)(r)&&(0,h.isNumber)(n)){const{id:e}=await(0,y.createBlockScreenshot)({base64:t,blockType:"layout"}).catch((()=>({id:void 0})));e&&(o._thumbnailSrc=e,o._thumbnailWidth=r,o._thumbnailHeight=n,o._thumbnailTime=Date.now())}}const n={meta:o,data:e,dataVersion:1,uid:(0,S.uuid)()},i=c.default.getAll();await(0,y.createSavedLayout)(n,i).catch((e=>{l.ToastNotification.error((0,g.t)("Could not save layout")),console.error(e)})),r||l.ToastNotification.warn((0,g.t)("Your block was saved without screenshot, browser is not compatible"),5),this.setState({layoutLoading:!1})};handleClearPage=()=>{this.props.removeBlocks()};getTooltipItems(){const e=c.default.getAll(),t="function"==typeof e.api?.savedLayouts?.create,{page:o}=this.props,r=[];return(0,b.isPopup)(e)||(0,b.isStory)(e)||(r.push({title:(0,g.t)("Clear Layout"),icon:"nc-trash",roles:["admin"],onClick:()=>{this.handleClearPage()}}),t&&r.push({title:(0,g.t)("Save Layout"),icon:"nc-save-section",loading:this.state.layoutLoading,onClick:()=>{this.handleSavePage()}})),[...r,{title:(0,P.getTooltipPageTitle)(o.status),icon:(0,P.getTooltipPageIcon)(o.status),loading:this.state.draftLoading,onClick:()=>{switch(o.status){case"publish":this.draft("draftLoading");break;case"draft":this.publish("draftLoading")}}}]}getLabel(){const{page:e,mode:t,storeWasChanged:o}=this.props;switch(t){case"withTemplate":case"withRules":case"withArticle":return(0,P.getButtonLabel)(o,e.status);default:switch(e.status){case"publish":return(0,g.t)("Update");case"draft":return(0,g.t)("Save Draft")}}}updateOnKeyDown=e=>{e.preventDefault();const{storeWasChanged:t,page:o}=this.props;"changed"===t&&("publish"===o.status?this.handlePublish("updateLoading"):this.handleDraft("updateLoading"))};render(){const{storeWasChanged:e}=this.props;return n.default.createElement(n.default.Fragment,null,n.default.createElement(w.BottomPanelItem,{paddingSize:"small"},n.default.createElement(x.Controls,{disabled:"changed"!==e,addonAfter:this.getTooltipItems(),onClick:()=>{switch(this.props.page.status){case"publish":return this.publish("updateLoading");case"draft":return this.draft("updateLoading")}},loading:this.state.updateLoading},this.getLabel())),n.default.createElement(a.default,{id:"key-helper-update-page",keyNames:["ctrl+S","cmd+S","right_cmd+S"],onKeyDown:this.updateOnKeyDown}))}}const E=M(O)},16020:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getTooltipPageTitle:function(){return a},getTooltipPageIcon:function(){return l},getButtonLabel:function(){return s},getMode:function(){return c}});const r=o(93223),n=o(35188),i=o(64985),a=e=>{switch(e){case"publish":return(0,i.t)("Switch to Draft");case"draft":return(0,i.t)("Publish Page")}},l=e=>{switch(e){case"publish":return"nc-switch";case"draft":return"nc-publish"}},s=(e,t)=>{switch(e){case n.StoreChanged.changed:switch(t){case"draft":case"publish":return(0,i.t)("Save")}case n.StoreChanged.pending:return(0,i.t)("Saving");case n.StoreChanged.unchanged:switch(t){case"draft":return(0,i.t)("Save Draft");case"publish":return(0,i.t)("Publish")}}},c=e=>{switch(e.templateType.type){case r.ShopifyTemplate.Collection:case r.ShopifyTemplate.Product:return"withRules";case r.ShopifyTemplate.Blog:case r.ShopifyTemplate.Article:return"withArticle";case r.ShopifyTemplate.Page:return"withTemplate"}}},13900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedoButton",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),n=o(23884),i=c(o(24072)),a=c(o(33364)),l=o(74215),s=o(24467);function c(e){return e&&e.__esModule?e:{default:e}}const d=()=>{const e=(0,n.useSelector)((e=>e.history.canRedo)),t=(0,n.useDispatch)(),o=()=>{t((0,l.redo)())};return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.BottomPanelItem,{paddingSize:"medium",active:e,pointer:e,title:"Redo (ctrl+shift+Z)",onClick:o},r.default.createElement(a.default,{icon:"nc-redo"})),r.default.createElement(i.default,{keyNames:["ctrl+shift+Z","cmd+shift+Z"],id:"key-helper-redo",onKeyDown:o}))}},20976:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UndoButton",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),n=o(23884),i=c(o(24072)),a=c(o(33364)),l=o(74215),s=o(24467);function c(e){return e&&e.__esModule?e:{default:e}}const d=()=>{const e=(0,n.useSelector)((e=>e.history.canUndo)),t=(0,n.useDispatch)(),o=()=>{t((0,l.undo)())};return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.BottomPanelItem,{paddingSize:"medium",active:e,pointer:e,title:"Undo (ctrl+Z)",onClick:o},r.default.createElement(a.default,{icon:"nc-undo"})),r.default.createElement(i.default,{keyNames:["ctrl+Z","cmd+Z"],id:"key-helper-undo",onKeyDown:o}))}},5778:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(58452))&&i.__esModule?i:{default:i};var i;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{return"function"==typeof e||"object"==typeof(t=e)&&null!==t&&"displayName"in t;var t};function s(){const e=(0,r.useMemo)((()=>n.default.filter(l).map(((e,t)=>r.default.createElement(e,{key:t})))),[]);return r.default.createElement("div",{className:"brz-ed-fixed-bottom-panel"},r.default.createElement("ul",{className:"brz-ul"},e))}},58452:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(17727)),n=o(97077),i=s(o(9690)),a=o(13900),l=o(20976);function s(e){return e&&e.__esModule?e:{default:e}}const c=[r.default,l.UndoButton,a.RedoButton,n.PreviewButton,i.default]},81280:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Resizer",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(88445),i=(a=o(17882))&&a.__esModule?a:{default:a};var a;const l=o(22730),s=o(78438);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={keepAspectRatio:!1,points:["topCenter","topRight","centerRight","bottomLeft","bottomCenter","bottomRight","centerLeft","topLeft"],isHorizontalCenterAligned:!1,isVerticalCenterAligned:!1};state={showPoints:!1};contentRef=r.default.createRef();startValue;startRect;handleClick=()=>{this.setState({showPoints:!0})};handleClickOutside=()=>{this.state.showPoints&&this.setState({showPoints:!1})};handleDragStart=()=>{this.startValue=this.props.getValue();const e=this.contentRef.current;e&&(this.startRect=e.getBoundingClientRect()),this.props.onStart?.()};handleDragEnd=()=>{this.startValue=void 0,this.startRect=void 0,this.props.onEnd?.()};handleDrag(e,t){let{deltaX:o,deltaY:r}=t;if(!this.startValue||!this.startRect)return;const{restrictions:i,isHorizontalCenterAligned:a,isVerticalCenterAligned:l,keepAspectRatio:c}=this.props,d=this.props.getValue(),u=a?2:1,p=l?2:1,f=this.startValue,m=this.startRect;let y;switch(e){case"topCenter":y=[["height",-r*p]];break;case"bottomCenter":y=[["height",r*p]];break;case"centerLeft":y=[["width",-o*u]];break;case"centerRight":y=[["width",o*u]];break;case"topLeft":{const e=Boolean(d.size),t=-o*u,n=-r*p;y=e?[["size",{dx:t,dy:n}]]:[["width",t],["height",n]];break}case"bottomLeft":{const e=Boolean(d.size),t=-o*u,n=r*p;y=e?[["size",{dx:t,dy:n}]]:[["width",t],["height",n]];break}case"topRight":{const e=Boolean(d.size),t=o*u,n=-r*p;y=e?[["size",{dx:t,dy:n}]]:[["width",t],["height",n]];break}case"bottomRight":{const e=Boolean(d.size),t=o*u,n=r*p;y=e?[["size",{dx:t,dy:n}]]:[["width",t],["height",n]];break}}const g=y.reduce(((e,t,o,r)=>{let[a,l]=t;const d=f[a];if(void 0===d)return e;const u=i?.[a]?.min??0;let p,g=i?.[a]?.max??1/0;const h=2===r.length;if(c&&h){const[,e,,t]=y.flat();l={dx:e,dy:t},p=(0,n.calcRectangleSize)(d,m.width,m.height,l),"height"===a&&f.width&&(g=(0,n.calcMaxHeightBasedOnWidth)(i?.width?.max||1/0,m.width,m.height,f.width,d))}else p="number"==typeof l?(0,n.calcRectangleSide)(d,m[a],l):(0,n.calcRectangleSize)(d,m.width,m.height,l);return e[a]=(0,s.clamp)(Math.round(d+p),u,g),e}),{});this.props.onChange({patch:g,deltaX:o,deltaY:r,point:e,startRect:m})}handleTopCenterDrag=e=>this.handleDrag("topCenter",e);handleBottomCenterDrag=e=>this.handleDrag("bottomCenter",e);handleCenterLeftDrag=e=>this.handleDrag("centerLeft",e);handleCenterRightDrag=e=>this.handleDrag("centerRight",e);handleTopLeftDrag=e=>this.handleDrag("topLeft",e);handleTopRightDrag=e=>this.handleDrag("topRight",e);handleBottomLeftDrag=e=>this.handleDrag("bottomLeft",e);handleBottomRightDrag=e=>this.handleDrag("bottomRight",e);render(){const{showPoints:e}=this.state,{points:t,children:o}=this.props,{topCenter:n,topRight:a,centerRight:s,bottomLeft:c,bottomCenter:d,bottomRight:u,centerLeft:p,topLeft:f}=t.reduce(((e,t)=>(e[t]=!0,e)),{});return r.default.createElement(i.default,{onClickOutside:this.handleClickOutside},r.default.createElement("div",{ref:this.contentRef,className:"brz-ed-box__resizer",onClick:this.handleClick},o,e&&n&&r.default.createElement(l.DraggableDiv,{key:"topCenter",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-center",draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopCenterDrag,onDragEnd:this.handleDragEnd}),e&&a&&r.default.createElement(l.DraggableDiv,{key:"topRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-right",draggingCursor:"nesw-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopRightDrag,onDragEnd:this.handleDragEnd}),e&&s&&r.default.createElement(l.DraggableDiv,{key:"centerRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--center-right",draggingCursor:"col-resize",onDragStart:this.handleDragStart,onDrag:this.handleCenterRightDrag,onDragEnd:this.handleDragEnd}),e&&c&&r.default.createElement(l.DraggableDiv,{key:"bottomLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-left",draggingCursor:"nesw-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomLeftDrag,onDragEnd:this.handleDragEnd}),e&&d&&r.default.createElement(l.DraggableDiv,{key:"bottomCenter",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-center",draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomCenterDrag,onDragEnd:this.handleDragEnd}),e&&u&&r.default.createElement(l.DraggableDiv,{key:"bottomRight",className:"brz-ed-box__resizer--point brz-ed-box__resizer--bottom-right",draggingCursor:"nwse-resize",onDragStart:this.handleDragStart,onDrag:this.handleBottomRightDrag,onDragEnd:this.handleDragEnd}),e&&p&&r.default.createElement(l.DraggableDiv,{key:"centerLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--center-left",draggingCursor:"col-resize",onDragStart:this.handleDragStart,onDrag:this.handleCenterLeftDrag,onDragEnd:this.handleDragEnd}),e&&f&&r.default.createElement(l.DraggableDiv,{key:"topLeft",className:"brz-ed-box__resizer--point brz-ed-box__resizer--top-left",draggingCursor:"nwse-resize",onDragStart:this.handleDragStart,onDrag:this.handleTopLeftDrag,onDragEnd:this.handleDragEnd})))}}},31440:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(46338),i=o(67439),a=(l=o(22546))&&l.__esModule?l:{default:l};var l;const s=o(16526),c=o(81280),d=o(61878);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}let p=null;const f=(0,n.rolesHOC)({allow:["admin"],component:e=>{let{value:t,onChange:o,meta:n={},...l}=e;const u=(0,d.transformRestrictions)(l.restrictions,t),f=(0,d.transformAlign)(n,"horizontalAlign"),m=n.column&&(0,d.transformAlign)(n.column,"verticalAlign"),y=(0,d.transformValue)(t),g=(0,r.useCallback)((()=>{let e=(0,d.transformValue)(y);return(0,s.isStory)(a.default.getAll())&&(e=(0,d.resizerTransformStory)(e,t)),e}),[y,t]),h=(0,r.useCallback)((e=>{let{patch:r,point:n,startRect:i}=e,l=(0,d.resizerTransformPatch)(r,p,t);(0,s.isStory)(a.default.getAll())&&(l=(0,d.resizerTransformStoryPatch)(l,p,n,i)),o(l)}),[o,t]);return r.default.createElement(c.Resizer,{...l,restrictions:u,isHorizontalCenterAligned:"center"===f,isVerticalCenterAligned:"center"===m,getValue:g,onChange:h,onStart:()=>{p=g(),(0,i.hideToolbar)({hideContainerBorder:!1});const{onStart:e}=l;"function"==typeof e&&e()},onEnd:()=>{p=null,(0,i.showLastHiddenToolbar)();const{onEnd:e}=l;"function"==typeof e&&e()}})},fallbackRender:e=>{let{children:t}=e;return t}})},61878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{transformAlign:function(){return f},transformRestrictions:function(){return m},transformValue:function(){return y},resizerTransformPatch:function(){return g},resizerTransformStory:function(){return h},resizerTransformStoryPatch:function(){return b}});const r=o(92213),n=o(78438),i=d(o(73904)),a=o(6085),l=d(o(59638)),s=o(88445);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u={desktop:{height:{px:{min:3,max:1/0},"%":{min:3,max:1/0}},size:{px:{min:3,max:100},"%":{min:3,max:100}},width:{px:{min:3,max:100},"%":{min:3,max:100}}},tablet:{height:{px:{min:3,max:1/0},"%":{min:3,max:1/0}},size:{px:{min:3,max:100},"%":{min:3,max:100}},width:{px:{min:3,max:100},"%":{min:3,max:100}}},mobile:{height:{px:{min:3,max:1/0},"%":{min:3,max:1/0}},size:{px:{min:3,max:100},"%":{min:3,max:100}},width:{px:{min:3,max:100},"%":{min:3,max:100}}}},p=e=>{const{deviceMode:t}=(0,r.getStore)().getState().ui;return"desktop"!==t?`${t}${(0,a.capitalize)(e)}`:e},f=(e,t)=>{const o=p(t);return l.read(e[o])||l.read(e[t])},m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const o=(0,r.getStore)().getState().ui.deviceMode;return Object.keys(u.desktop).reduce(((r,n)=>{const i=p(n),a=`${n}Suffix`,l=p(a),s=t[l]||t[a];return r[n]=Object.assign({},u[o][n][s],e?.[i]?.[s]),r}),{})},y=e=>Object.keys(u.desktop).reduce(((t,o)=>{const r=p(o);return void 0!==(i.read(e[r])??i.read(e[o]))&&(t[o]=i.read(e[r])??i.read(e[o])),t}),{}),g=(e,t,o)=>{const r=Object.keys(e);return r.reduce(((i,a)=>{const l=p(a),s=p("height"),c=p("heightSuffix"),d=p(`${a}Suffix`);void 0===o[d]&&console.error(`${d} wasn't found in BoxResizer's value`),i[l]=e[a];const u=o[c]&&"%"===o[c],f=t.width,m=t.height;if(u&&e.width)if(1===r.length&&"width"===a){const t=m*f/100;i[s]=(0,n.roundTo)(t/e.width*100,2)}else if(2===r.length&&"height"===a){const t=e.height,o=f/e.width*100;i[s]=(0,n.roundTo)(o*t/100,2)}return i}),{})},h=(e,t)=>({...e,offsetX:t.offsetX,offsetY:t.offsetY}),b=(e,t,o,r)=>{let n={};switch(o){case"bottomLeft":case"centerLeft":n={offsetX:e.size?(0,s.calcOffsetXBySize)(t,e):(0,s.calcOffsetX)(t,e)};break;case"topRight":case"topCenter":n={offsetY:e.size?(0,s.calcOffsetYBySize)(t,e,r):(0,s.calcOffsetY)(t,e)};break;case"topLeft":n={offsetX:e.size?(0,s.calcOffsetXBySize)(t,e):(0,s.calcOffsetX)(t,e),offsetY:e.size?(0,s.calcOffsetYBySize)(t,e,r):(0,s.calcOffsetY)(t,e)}}return{...e,...n}}},88445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{calcRectangleSide:function(){return i},calcRectangleSize:function(){return a},calcMaxHeightBasedOnWidth:function(){return l},calcOffsetX:function(){return s},calcOffsetY:function(){return c},calcOffsetXBySize:function(){return d},calcOffsetYBySize:function(){return u}});const r=o(79669),n=o(78438),i=(e,t,o)=>o*e/t,a=(e,t,o,r)=>{const{dx:n,dy:i}=r;return n/to*(e*t/r)/t*n/o,s=(e,t)=>{const o=t.width,r=e.width;return(0,n.roundTo)(e.offsetX-(o-r),2)},c=(e,t)=>{const o=(t.width||e.width)*r.DW/100,i=t.height*o/100,a=e.width*r.DW/100,l=e.height*a/100-i;return e.offsetY+(0,n.roundTo)(100*l/r.DH,2)},d=(e,t)=>{const o=t.size,r=e.size;return(0,n.roundTo)(e.offsetX-(o-r),2)},u=(e,t,o)=>{const i=t.size,a=e.size,l=i*o.height/a,s=100*o.height/r.DH,c=100*l/r.DH;return(0,n.roundTo)(e.offsetY+(s-c),2)}},43240:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CheckMark",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{checked:t,onClick:o,className:a}=e;const l=t?"border-0 bg-floating-button-blue":"border-[1px]",s=t?"!text-brand-primary opacity-100":"!text-brand-primary opacity-0";return n.default.createElement("span",{className:(0,r.default)("brz-ed--check-mark w-[16px] h-[16px] text-[16px] rounded-[50%] bg-black border-solid border-topaz",a,{checked:t},l),onClick:o},n.default.createElement(i.default,{icon:"nc-check-circle",className:s}))}},17882:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(65311)),n=a(o(27378)),i=a(o(31542));function a(e){return e&&e.__esModule?e:{default:e}}const l=[];class s extends n.default.Component{static defaultProps={exceptions:[]};componentDidMount(){0===l.length&&(document.addEventListener("mousedown",this.handleAll,!0),window.parent.document.addEventListener("mousedown",this.handleAll,!0)),l.push(this)}componentWillUnmount(){l.splice(l.indexOf(this),1),0===l.length&&(document.removeEventListener("mousedown",this.handleAll,!0),window.parent.document.removeEventListener("mousedown",this.handleAll,!0))}handleAll=e=>{const t=e.target;l.forEach((o=>{const{exceptions:n,onClickOutside:a}=o.props;let l=0;if(n.length>0){const{functionExceptions:e,stringExceptions:o}=n.reduce(((e,t)=>{switch(typeof t){case"function":e.functionExceptions.push(t);break;case"string":e.stringExceptions.push(t)}return e}),{functionExceptions:[],stringExceptions:[]});e.length>0&&(l+=e.filter((e=>!0===e(t))).length),0===l&&o.length>0&&(l+=(0,r.default)(t).closest(o.join(",")).length)}if(0===l){const r=i.default.findDOMNode(o);r&&!r.contains(t)&&a(e)}}))};render(){return n.default.Children.only(this.props.children)}}},28714:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(8704),l=o(9644),s=o(95447);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends i.Component{static defaultProps={limit:0,skin:"",linkPage:"",review:""};templateComment(e,t,o){const{name:n,photo:a,message:l,children:s}=e,c=(0,r.default)({"brz-comments__name":"skin1"===t||"skin3"===t,"brz-comments__name-date":"skin2"===t}),d="true"===o,u=d?"review":"comment",p=d&&i.default.createElement("div",{className:"brz-comments__rating"},i.default.createElement("div",{className:"star-rating"},i.default.createElement("span",{style:{width:"60%"}})));return"skin4"===t?i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"brz-ul brz-comments__right-date"},i.default.createElement("div",{className:"brz-comments__name-date"},i.default.createElement("span",{className:"brz-span brz-comments__name"},i.default.createElement("a",{href:"#"},n)),i.default.createElement("div",{className:"brz-comments__left-side"},i.default.createElement("span",{className:"brz-span brz-comments__date"},i.default.createElement("a",{href:"#"},i.default.createElement("span",{className:"brz-span"},"23.09.2019, 14:35"))),p)),i.default.createElement("div",{className:"brz-comments__logo"},i.default.createElement("a",{href:"#"},i.default.createElement("img",{src:a,className:"brz-img brz-comments__logo-img"}))),i.default.createElement("div",{className:"brz-comments__text"},i.default.createElement("p",null,l,!d&&i.default.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")))),s&&i.default.createElement("div",{className:`${u} even depth-2 brz-comments brz-comments__skin-skin4 brz-parent`},this.templateComment(s[0],t,o))):i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"brz-comments__logo"},i.default.createElement("a",{href:"#"},i.default.createElement("img",{src:a,className:"brz-img brz-comments__logo-img"}))),i.default.createElement("div",{className:"brz-ul brz-comments__right-date"},i.default.createElement("div",{className:c},("skin1"===t||"skin3"===t)&&i.default.createElement("a",{href:"#"},n),"skin2"===t&&i.default.createElement(i.default.Fragment,null,i.default.createElement("span",{className:"brz-span brz-comments__name"},i.default.createElement("a",{href:"#"},n)),i.default.createElement("span",{className:"brz-span brz-comments__date"},i.default.createElement("a",{href:"#"},i.default.createElement("span",{className:"brz-span"},"23.09.2019, 14:35"))),d&&"skin2"===t&&p)),"skin1"===t&&i.default.createElement("div",{className:"brz-comments__right-side"},p,i.default.createElement("div",{className:"brz-comments__date"},i.default.createElement("a",{href:"#"},i.default.createElement("span",{className:"brz-span"},"23.09.2019, 14:35")))),"skin3"===t&&i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"brz-comments__date"},i.default.createElement("a",{href:"#"},i.default.createElement("span",{className:"brz-span"},"23.09.2019, 14:35"))),p),"skin1"===t&&!d&&i.default.createElement("div",{className:"brz-comments__reply"},i.default.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")),i.default.createElement("div",{className:"brz-comment-awaiting-moderation"},l,"skin3"===t&&!d&&i.default.createElement("a",{className:"comment-reply-link",href:"#"},"Reply")),"skin2"===t&&!d&&i.default.createElement("div",{className:"brz-comments__reply"},i.default.createElement("a",{className:"comment-reply-link",href:"#"},"Reply"))),s&&i.default.createElement("div",{className:`${u} even depth-2 brz-comments brz-comments__skin-${t} brz-parent`},this.templateComment(s[0],t,o)))}renderForEdit(){const{skin:e,review:t}=this.props,o=s.dataPeople[e],r="true"===t?"review":"comment",n="review"===r?"Add a review":"Leave a comment";return i.default.createElement("div",{className:"brz-comments-parrent"},i.default.createElement("div",null,i.default.createElement("div",{className:"brz-blocked"},i.default.createElement("div",{className:"brz-comments"},o.map(((o,n)=>i.default.createElement("div",{key:n,className:`${r} even depth-2 brz-comments brz-comments__skin-${e} brz-parent`},this.templateComment(o,e,t))))),i.default.createElement("div",{className:"brz-comment-respond"},i.default.createElement("div",{className:"brz--comment__form-reply-body"},i.default.createElement("h3",{id:"reply-title",className:"brz-comment-reply-title"},n),"review"===r&&i.default.createElement("div",{className:"comment-form-rating"},i.default.createElement("label",null,"Your rating"),i.default.createElement("p",{className:"stars selected"},i.default.createElement("a",null,"1"),i.default.createElement("a",null,"2"),i.default.createElement("a",{className:"active"},"3"),i.default.createElement("a",null,"4"),i.default.createElement("a",null,"5")))),i.default.createElement("form",{className:"brz-form brz--comment__form-reply-body"},i.default.createElement("p",{className:"brz-comment-form-comment"},i.default.createElement("textarea",{name:"comment",cols:"45",rows:"8","aria-required":"true"})),i.default.createElement("p",{className:"brz-form-submit"},i.default.createElement("input",{name:"submit",type:"submit",id:"brz-submit",className:"brz-submit",value:"Post Comment"})))))))}renderForView(){const{limit:e,skin:t,linkPage:o}=this.props,r=(0,l.makePlaceholder)({content:"{{editor_comments}}",attr:{limit:e,skin:t,linkPage:o}});return i.default.createElement(a.DynamicContentHelper,{placeholder:r,tagName:"div",props:{className:"brz-comments-parrent"}})}render(){return this.renderForEdit()}}const u=d},95447:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"dataPeople",{enumerable:!0,get:function(){return n}});const r=o(4820),n={skin1:[{photo:`${(0,r.assetUrl)("editor/img/skin1-1.jpg")}`,name:"Quenten Kortum",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero."},{photo:`${(0,r.assetUrl)("editor/img/skin1-2.jpg")}`,name:"Uzoma Buchi",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero.",children:[{photo:`${(0,r.assetUrl)("editor/img/skin1-3.jpg")}`,name:"Sukhnam Chander",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In condimentum facilisis porta. Sed nec diam eu diam mattis viverra. Nulla fringilla, orci ac eusmod semper."}]},{photo:`${(0,r.assetUrl)("editor/img/skin1-4.jpg")}`,name:"Ivan Morais",message:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus luctus urna sed urna ultricies ac tempor dui sagittis. In comdimentum facilisis porta. Sed nec diam mattis viverra. Nulla fringilla, orci ac euismod semper, magna diam porttitor mauris, quis sollictudin sapien justo in libero."}],skin2:[{photo:`${(0,r.assetUrl)("editor/img/skin1-1.jpg")}`,name:"Quenten Kortum",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:`${(0,r.assetUrl)("editor/img/skin1-2.jpg")}`,name:"Kwak Seong-Min",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:`${(0,r.assetUrl)("editor/img/skin1-3.jpg")}`,name:"Xenie Dolezelova",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]},{photo:`${(0,r.assetUrl)("editor/img/skin1-4.jpg")}`,name:"Benedikt Safiyulin",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}],skin3:[{photo:`${(0,r.assetUrl)("editor/img/skin1-1.jpg")}`,name:"Quinten Kortum",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:`${(0,r.assetUrl)("editor/img/skin1-2.jpg")}`,name:"Jason Bailey",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:`${(0,r.assetUrl)("editor/img/skin1-3.jpg")}`,name:"Kong Yijun",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]},{photo:`${(0,r.assetUrl)("editor/img/skin1-4.jpg")}`,name:"Emilee Simchenko",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}],skin4:[{photo:`${(0,r.assetUrl)("editor/img/skin1-1.jpg")}`,name:"Arend Pellewever",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."},{photo:`${(0,r.assetUrl)("editor/img/skin1-2.jpg")}`,name:"Otmar Dolezal",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra.",children:[{photo:`${(0,r.assetUrl)("editor/img/skin1-3.jpg")}`,name:"Ashish Asharaful",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam eu diam mattis."}]},{photo:`${(0,r.assetUrl)("editor/img/skin1-4.jpg")}`,name:"Siri Jakobsson",message:"Lorem ipsum dolor sit amet, cons ectetur adi piscing elit. Viva mus luctus urna sed urna ultri cies ac tempor dui sagittis. In condi men tum facilisis porta. Sed nec diam mattis viverra."}]}},70907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(37828)),i=l(o(42168)),a=l(o(28714));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={type:"",appId:"",data:{}};renderForEdit(){const{appId:e,type:t,data:o}=this.props;return"facebook"===t?r.default.createElement(i.default,{appId:e,type:"Comments",data:o}):"disqus"===t&&""===o.shortname?r.default.createElement("p",{className:"brz-disqus-no-data"},"Add the required data"):"disqus"===t?r.default.createElement(n.default.DiscussionEmbed,o):r.default.createElement(a.default,o)}renderForView(){const{appId:e,type:t,data:o}=this.props;return"facebook"===t?r.default.createElement(i.default,{appId:e,type:"Comments",data:o}):"disqus"===t?r.default.createElement("div",{id:"disqus_thread",...o}):r.default.createElement(a.default,o)}render(){return this.renderForEdit()}}const c=s},56059:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getOptions:function(){return y},ConditionsComponent:function(){return g},default:function(){return h}});const r=m(o(27378)),n=m(o(92823)),i=m(o(22546)),a=o(10744),l=o(74215),s=o(97045),c=o(92213),d=o(64187),u=o(46479),p=o(64985),f=o(16526);function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t){let o=[];switch(e){case"block":{const e=(0,c.getStore)().getState(),r=(0,s.globalBlocksSelector)(e),{rules:n}=r[t];o=[{id:"rules",type:"rules",icon:"nc-eye-17",label:(0,p.t)("Conditions"),title:(0,p.t)("WHERE DO YOU WANT TO DISPLAY IT?"),value:n,context:"block",onChange:e=>{let{data:{rules:o},meta:r}=e;(0,c.getStore)().dispatch((0,l.updateGBRules)({data:{rules:o,id:t},meta:r}))}}];break}case"popup":{o=[{id:"triggers",type:"triggers",icon:"nc-triggers",label:(0,p.t)("Triggers"),context:"popup",title:(0,p.t)("WHAT WILL TRIGGER THE POPUP TO OPEN")}];const e=i.default.getAll(),{popupConditions:t}=e.api??{},r=t?.conditions?.save;if(!(0,f.isExternalPopup)(i.default.getAll())&&r){const e=u.IS_CLOUD?()=>(0,d.getRulesList)(i.default.get("page")?.id):()=>(0,d.getRulesList)("");o.push({id:"rules",type:"rules",icon:"nc-eye-17",label:(0,p.t)("Conditions"),title:(0,p.t)("WHERE DO YOU WANT TO DISPLAY IT?"),context:"popup",asyncGetValue:e,onChange:e=>{(0,c.getStore)().dispatch((0,a.updatePopupRules)(e))}})}break}default:console.error("type should be given!!!")}return o}const g=e=>{let{children:t,value:o,context:i}=e;return r.default.cloneElement(r.default.Children.only(t),{onMouseDown:()=>{n.default.open({prompt:"conditions",mode:"single",props:{options:y(i,o)}})}})},h=g},24444:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(60042)),i=o(65631),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={className:"",icon:"nc-stre-up",activeIcon:"nc-drag",position:"topRight"};state={active:!1};setActive(e){e!==this.state.active&&this.setState({active:e})}renderIcon(){const{icon:e,activeIcon:t}=this.props,{active:o}=this.state;return t?r.default.createElement(i.CSSTransition,{in:o,timeout:150,classNames:"brz-ed-fade"},o?r.default.createElement(a.default,{kre:"activeIcon",icon:t}):r.default.createElement(a.default,{key:"icon",icon:e})):r.default.createElement(a.default,{icon:e})}render(){const{innerRef:e,className:t,position:o}=this.props,{active:i}=this.state,a=(0,n.default)("brz-ed-border__button",t,{"brz-ed-border__button--top-left":"topLeft"===o,"brz-ed-border__button--top-right":"topRight"===o,"brz-ed-border__button--active":i});return r.default.createElement("div",{ref:e,className:a,"data-sortable-handle":this.props["data-sortable-handle"]},this.renderIcon())}}const d=c},80544:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=d(o(60042)),n=d(o(23615)),i=d(o(27378)),a=d(o(17882)),l=o(97045),s=o(92213),c=d(o(24444));function d(e){return e&&e.__esModule?e:{default:e}}class u extends i.default.Component{static propTypes={type:n.default.string,className:n.default.string,color:n.default.oneOf(["grey","blue","red"]),borderStyle:n.default.oneOf(["none","solid","dotted"]),activeBorderStyle:n.default.oneOf(["none","solid","dotted"]),buttonPosition:n.default.oneOf(["topLeft","topRight"]),renderButtonWrapper:n.default.func,activateOnContentClick:n.default.bool,clickOutsideExceptions:n.default.arrayOf(n.default.string),hiddenInResponsive:n.default.bool,children:n.default.func};static defaultProps={type:"element",borderStyle:"none",buttonPosition:"topRight",activateOnContentClick:!0,clickOutsideExceptions:["#brz-toolbar-portal",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-eyeDropper"],hiddenInResponsive:!1};containerRef=i.default.createRef();innerBorderRef=i.default.createRef();buttonRef=i.default.createRef();buttonInnerRef=i.default.createRef();isBorderActive=!1;isButtonActive=!1;isHovered=!1;isHidden=!1;isHiddenTime=null;device="desktop";componentDidMount(){this.containerRef.current.addEventListener("click",this.handleContentClick),this.containerRef.current.addEventListener("brz.toolbar.mouseenter",this.handleToolbarMouseEnter),this.containerRef.current.addEventListener("brz.toolbar.mouseleave",this.handleToolbarMouseLeave),this.containerRef.current.addEventListener("brz.toolbar.open",this.handleToolbarOpen),this.containerRef.current.addEventListener("brz.toolbar.close",this.handleToolbarClose)}componentWillUnmount(){clearTimeout(this.isHiddenTime)}handleContentClick=e=>{this.handleActivationEvent(e)};handleButtonClick=e=>{this.handleActivationEvent(e)};handleClickOutside=()=>{this.setActive(!1,!1),this.setHover(!1)};handleToolbarMouseEnter=()=>{this.isBorderActive||this.isButtonActive||this.setHover(!0)};handleToolbarMouseLeave=()=>{this.isBorderActive||this.isButtonActive||this.setHover(!1)};handleToolbarOpen=e=>{const{hiddenInResponsive:t}=this.props;this.device=(0,l.deviceModeSelector)((0,s.getStore)().getState()),clearTimeout(this.isHiddenTime),t&&"desktop"!==this.device?this.setHidden(!0):this.handleActivationEvent(e)};handleToolbarClose=e=>{!1!==e.detail?.hideContainerBorder&&(this.setActive(!1,!1),this.isHiddenTime=setTimeout((()=>{this.setHidden(!1)}),250))};handleActivationEvent=e=>{const{activateOnContentClick:t}=this.props;if(e.brzContainerBorderHandled)return;let o=!1;const r=this.buttonInnerRef.current;r&&r.contains(e.target)&&(this.setActive(!0,!0),o=!0),!o&&t&&(this.setActive(!0,!1),o=!0),o&&(e.brzContainerBorderHandled=!0),!o&&this.isBorderActive&&this.setActive(!1,!1)};setActive(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{type:o}=this.props;this.isButtonActive!==t&&(this.isButtonActive=t,this.buttonRef.current.setActive(t)),this.isBorderActive!==e&&(this.isBorderActive=e,e?this.containerRef.current.setAttribute("data-border--active",o):this.containerRef.current.removeAttribute("data-border--active"))}setHover(e){if(e!==this.isHovered)if(this.isHovered=e,e){const{type:e}=this.props;this.containerRef.current.setAttribute("data-border--hovered",e)}else this.containerRef.current.removeAttribute("data-border--hovered")}setHidden(e){if(e!==this.isHidden)if(this.isHidden=e,e){const{type:e}=this.props;this.containerRef.current.setAttribute("data-border--hidden",e)}else this.containerRef.current.removeAttribute("data-border--hidden")}renderButton=e=>{const{buttonPosition:t}=this.props;return i.default.createElement(c.default,{...e,ref:this.buttonRef,innerRef:this.buttonInnerRef,position:t})};render(){const{type:e,color:t,borderStyle:o,activeBorderStyle:n,renderButtonWrapper:l,children:s,clickOutsideExceptions:c}=this.props,d=l?l(this.renderButton):this.renderButton(),u=(0,r.default)("brz-ed-border__inner",{[`brz-ed-border--${o}`]:o,[`brz-ed-border--active-${n}`]:n}),p=i.default.createElement("div",{ref:this.innerBorderRef,className:u});let f={"data-border":e};return t&&(f[`data-border--${t}`]=e),i.default.createElement(a.default,{exceptions:c,onClickOutside:this.handleClickOutside},s({ref:this.containerRef,button:d,border:p,attr:f}))}}},36129:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),n=c(o(10301)),i=c(o(60042)),a=o(66848),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300)),s=o(2610);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{id:t,v:o,tagName:c="span",className:d,onChange:u=n.default.noop}=e;const p=(0,i.default)(d,`brz-${c}`);return(0,s.hasDC)(o,t)?r.default.createElement(c,{className:p,dangerouslySetInnerHTML:{__html:o[t]||""}}):r.default.createElement(a.TextEditor,{className:d,tagName:c,value:l.read(o[t]),onChange:e=>u({[t]:e})})}},54668:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return r.Text}});const r=o(36129)},64903:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),n=a(o(23615)),i=o(46338);function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static childContextTypes={getParentContextMenuExtendItems:n.default.func};getChildContext(){return{getParentContextMenuExtendItems:this.getItems}}getItems=()=>this.props.getItems();render(){const{children:e}=this.props;return e}}const s=(0,i.rolesHOC)({allow:["admin"],component:l,fallbackComponent:e=>{let{children:t}=e;return t}})},83202:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Dropdown",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(31542),i=o(74686),a=(l=o(2975))&&l.__esModule?l:{default:l};var l;function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{const{id:t,getItems:o,itemsMeta:l}=e,[s,c]=(0,r.useState)(!1),d=(0,r.useRef)([]),u=(0,r.useMemo)((()=>s?(d.current=o(),d.current):d.current),[o,s]),p=(0,r.useCallback)((()=>{c(!0)}),[]),f=(0,r.useCallback)((()=>{c(!1)}),[]);return(0,n.createPortal)(r.default.createElement(i.Menu,{onShown:p,onHidden:f,animation:!1,id:t},r.default.createElement(a.default,{data:u,meta:l})),document.body)}},2975:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(48992)),i=o(80550);function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={meta:{}};render(){const{data:e,meta:t}=this.props;return(0,i.filterItems)(e,t).map(((e,o)=>{const i=n.default[e.type],a=o,l={...t,index:o};return r.default.createElement(i,{...e,key:a,meta:l})}))}}},39552:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return g},ContextMenuExtend:function(){return d.default}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(31542)),i=u(o(23615)),a=o(74686),l=o(46338),s=o(83202),c=o(80550),d=u(o(64903));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f={depth:0};class m extends r.Component{componentDidMount(){n.default.findDOMNode(this).addEventListener("contextmenu",this.handleContextMenu)}componentWillUnmount(){n.default.findDOMNode(this).removeEventListener("contextmenu",this.handleContextMenu)}handleContextMenu=e=>{e.shiftKey||a.contextMenu.show({id:this.props.id,event:e})};render(){return this.props.children}}class y extends r.Component{static defaultProps={id:"",getItems:()=>[]};static contextTypes={getParentContextMenuExtendItems:i.default.func,getParentContextMenuItems:i.default.func};static childContextTypes={getParentContextMenuItems:i.default.func};getChildContext(){return{getParentContextMenuItems:this.getItems}}getItems=()=>{let{componentId:e,getItems:t}=this.props;const{getParentContextMenuExtendItems:o,getParentContextMenuItems:r}=this.context;let n=t();return n=[e,o?(0,c.mergeItems)(n,o()):n],n=r?[n,...r()]:[n],n};squashItems(e){return e.reduce(((e,t)=>{let[o,r]=t;return e.componentIdMap[o]||(e.componentIdMap[o]=!0,e.items=(0,c.concatItems)(e.items,r)),e}),{componentIdMap:{},items:[]}).items}getSquashedItems=()=>{const e=this.squashItems(this.getItems());return(0,c.filterItems)(e,f)};render(){const{id:e,children:t}=this.props;return r.default.createElement(r.default.Fragment,null,r.default.createElement(m,{id:e},t),r.default.createElement(s.Dropdown,{id:e,getItems:this.getSquashedItems,itemsMeta:f}))}}const g=(0,l.rolesHOC)({allow:["admin"],component:y,fallbackComponent:e=>{let{children:t}=e;return t}})},36409:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(74686);class a extends r.default.Component{static defaultProps={title:"",helperText:()=>"",inactive:!1,onChange:()=>{}};render(){const{helperText:e,title:t,onChange:o,inactive:n,meta:a}=this.props;return r.default.createElement(i.Item,{onClick:o,disabled:n},r.default.createElement("span",{className:"react-contexify__item--title"},t),r.default.createElement("span",{className:"react-contexify__item--placeholder"},e(a)))}}},64904:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=o(74686),i=l(o(33364)),a=l(o(2975));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={title:"",icon:"",items:[]};render(){const{title:e,icon:t,items:o,meta:l}=this.props,s={...l,depth:l.depth+1};return 0===l.depth&&0===l.index?r.default.createElement(r.default.Fragment,null,r.default.createElement(n.Item,{key:"title",className:"react-contexify--title"},t&&r.default.createElement(i.default,{icon:t})," ",e),r.default.createElement(a.default,{data:o,meta:{...s,isInSubMenu:!1}})):r.default.createElement(n.Submenu,{className:"react-contexify__item__submenu",label:e,arrow:""},r.default.createElement(a.default,{data:o,meta:{...s,isInSubMenu:!0}}))}}},48992:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=i(o(36409)),n=i(o(64904));function i(e){return e&&e.__esModule?e:{default:e}}const a={button:r.default,group:n.default}},80550:(e,t)=>{"use strict";function o(e,t){const r=[...e];for(var n=0;n"function"==typeof e.disabled?!e.disabled(e,{...t,isInSubMenu:!(0===t.depth&&0===o)}):!e.disabled))}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{mergeItems:function(){return o},concatItems:function(){return r},filterItems:function(){return n}})},10944:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(10301)),i=o(86811);function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={className:"",value:0,min:0,max:100,step:1,onFocus:n.default.noop,onBlur:n.default.noop,onTextChange:n.default.noop,onChange:n.default.noop};state={text:(0,i.formatInputValue)(this.props.value,this.props.step),value:this.props.value,prevPropsValue:this.props.value};static getDerivedStateFromProps(e,t){return e.value!==t.prevPropsValue?{text:(0,i.formatInputValue)(e.value,e.step),value:e.value,prevPropsValue:e.value}:null}componentWillUnmount(){this.debouncedOnChange.cancel()}increment(){this.setState(((e,t)=>{const{min:o,max:r,step:n}=t,{text:a,value:l}=e,s=Number(a),c=(0,i.correctNumber)((0,i.preciseAdd)(s,n),o,r,n);return c!==l?{text:(0,i.formatInputValue)(c,n),value:c}:null}),(()=>{this.props.onTextChange&&this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)}))}decrement(){this.setState(((e,t)=>{const{min:o,max:r,step:n}=t,{text:a,value:l}=e,s=Number(a),c=(0,i.correctNumber)((0,i.preciseSub)(s,n),o,r,n);return c!==l?{text:(0,i.formatInputValue)(c,n),value:c}:null}),(()=>{this.props.onTextChange&&this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)}))}handleChange=e=>{this.setState({text:e.target.value},(()=>{this.props.onTextChange&&this.props.onTextChange(this.state.text),this.debouncedOnChange()}))};debouncedOnChange=n.default.debounce((()=>{this.setState(((e,t)=>{const{min:o,max:r,step:n}=t,{text:a,value:l}=e,s=parseFloat(String(a)),c=(0,i.correctNumber)(Number.isNaN(s)?l:s,o,r,n);return{text:(0,i.formatInputValue)(c,n),value:c}}),(()=>{this.props.onTextChange&&this.props.onTextChange(this.state.text),this.props.onChange(this.state.value)}))}),1e3);getText(){return this.state.text}render(){const{className:e,min:t,max:o,step:n,onFocus:i,onBlur:a,onMouseEnter:l,onMouseLeave:s,size:c}=this.props,{text:d}=this.state;return r.default.createElement("input",{className:e,type:"number",value:d,min:t,max:o,step:n,size:c,onFocus:i,onBlur:a,onChange:this.handleChange,onMouseEnter:l,onMouseLeave:s})}}},86811:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{formatInputValue:function(){return n},decimalLength:function(){return i},correctNumber:function(){return a},preciseAdd:function(){return l},preciseSub:function(){return s}});const r=o(78438);function n(e,t){const o=i(t);return o>0?e.toFixed(o):String(e)}function i(e){const[,t]=String(e).split(".");return t?t.length:0}function a(e,t,o,n){return function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=10**i(t);e*=r,t*=r,o*=r;return(Math.ceil((e-o)/t)*t+o)/r}((0,r.clamp)(e,t,o),n,t)}const l=c.bind(null,"add"),s=c.bind(null,"sub");function c(e,t,o){const r=i(t),n=i(o),a=10**Math.max(r,n),l=t*a,s=o*a;let c;switch(e){case"add":c=l+s;break;case"sub":c=l-s;break;default:throw new Error(`operation type unknown ${e}`)}return c/a}},72392:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GradientRange",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(60042)),i=o(50116),a=l(o(3449));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{start:t,end:o,active:l,onStartChange:s,onEndChange:c,onActiveChange:d,hex1:u,hex2:p}=e;return r.default.createElement(a.default,{onChange:e=>{(e[0]===t?c:s)(e[0]===t?e[1]:e[0])},min:0,max:100,step:1,startPointer:t,finishPointer:o,railStyle:{backgroundImage:`linear-gradient(to right, ${u}, ${p})`},handle:e=>{const{className:t,index:o,dragging:a,...s}=e,c=0===o?"start":"end",u=(0,n.default)(t,{"brz-ed-rc-slider-handle":!0,"brz-ed-rc-slider-handle--active":0===o&&"start"===l||1===o&&"end"===l});return r.default.createElement(i.Handle,{...s,key:o,className:u,onMouseDown:()=>d(c)})}})}},76710:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BackgroundColor",{enumerable:!0,get:function(){return m}});const r=f(o(60042)),n=f(o(27378)),i=f(o(10944)),a=o(45882),l=o(15011),s=o(65989),c=o(18624),d=o(64985),u=o(72392),p=o(1739);function f(e){return e&&e.__esModule?e:{default:e}}const m=e=>{let{className:t,onChange:o,value:f,paletteOpenSettings:m,palette:y,opacity:g,gradientColors:[h,b],withNone:v}=e;const S=(0,r.default)("brz-ed-control__backgroundColor",t);return n.default.createElement("div",{className:S},"gradient"===f.type?n.default.createElement(u.GradientRange,{start:f.start,end:f.end,active:f.active,hex1:h,hex2:b,onStartChange:e=>o({...f,start:e},{isChanged:"start"}),onEndChange:e=>o({...f,end:e},{isChanged:"end"}),onActiveChange:e=>o({...f,active:e},{isChanged:"active"})}):null,n.default.createElement(a.ColorPickerSelect,{palette:y,opacity:g,value:{hex:f.hex,palette:f.palette,opacity:f.opacity,select:f.type},onChange:(e,t)=>{o({type:e.select,hex:e.hex,opacity:e.opacity,palette:e.palette,gradientType:f.gradientType,start:f.start,end:f.end,active:f.active,degree:f.degree},(0,p.fromColorMeta)(t))},paletteOpenSettings:m},(e=>{const t=[];return e&&t.push(n.default.createElement(s.Item,{key:"none",value:"none"},(0,d.t)("None"))),t.push(n.default.createElement(s.Item,{key:"solid",value:"solid"},(0,d.t)("Solid"))),t.push(n.default.createElement(s.Item,{key:"gradient",value:"gradient"},(0,d.t)("Gradient"))),t})(v)),n.default.createElement(l.ColorPickerInputs,{value:f.hex,onChange:e=>o({...f,hex:e},{isChanged:"hex"})},"gradient"===f.type?n.default.createElement(n.default.Fragment,null,n.default.createElement(c.Select2,{editable:!1,className:(0,r.default)("brz-ed-control__backgroundColor__gradientType",`brz-ed-control__backgroundColor__gradientType--${f.gradientType}`),onChange:e=>o({...f,gradientType:e},{isChanged:"gradientType"}),value:f.gradientType},n.default.createElement(s.Item,{value:"linear"},(0,d.t)("Linear")),n.default.createElement(s.Item,{value:"radial"},(0,d.t)("Radial"))),n.default.createElement("div",{className:"brz-ed-control__backgroundColor--degree"},n.default.createElement(i.default,{className:"brz-input",min:-359,max:359,step:1,value:f.degree,onChange:e=>o({...f,degree:e},{isChanged:"degree"})}))):null))}},1739:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fromColorMeta",{enumerable:!0,get:function(){return o}});const o=e=>({isChanged:"select"===e.isChanged?"type":e.isChanged,opacityDragEnd:e.opacityDragEnd})},75230:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Width",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(10944));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{onChange:t,value:o}=e;return r.default.createElement(n.default,{className:"brz-input",min:0,max:9999,step:1,value:o,onChange:t})}},68654:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Border",{enumerable:!0,get:function(){return y}});const r=f(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(45882),a=o(15011),l=o(65989),s=f(o(33364)),c=o(8643),d=o(22741),u=o(75230),p=o(59053);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{let{className:t,widthTypes:o,styles:f,hex:m,onChangeHex:y,palette:g,onChangePalette:h,opacity:b,onChangeOpacity:v,style:S,onChangeStyle:w,widthType:x,onChangeWidthType:P,width:C,onChangeWidth:T,topWidth:_,onChangeTopWidth:k,rightWidth:M,onChangeRightWidth:O,bottomWidth:E,onChangeBottomWidth:B,leftWidth:z,onChangeLeftWidth:I,...j}=e;const L=(0,r.default)("brz-ed-control__border",t),F=(0,n.useCallback)(((e,t)=>{switch(t.isChanged){case"select":(0,d.mApply)(w,e.select);break;case"hex":y(e.hex);break;case"opacity":v(e.opacity,t?.opacityDragEnd??!0);break;case"palette":h(e.palette)}}),[y,h,v,w]),N=(0,n.useCallback)((()=>P((0,p.toggleType)(x))),[x,P]),D=(0,r.default)("brz-button",{"brz-ed-control__border__widthType":!0,"brz-ed-control__border__widthType--active":"grouped"===x}),R="grouped"===x||!o.includes("ungrouped");return n.default.createElement("div",{className:L},n.default.createElement(i.ColorPickerSelect,{onChange:F,value:{select:S,hex:m,opacity:b,palette:g},opacity:j.enableOpacity,palette:j.paletteList,paletteOpenSettings:j.paletteOpenSettings},f.map((e=>{let{id:t,title:o,icon:r}=e;return n.default.createElement(l.Item,{key:t,value:t},o&&n.default.createElement("span",null,o),r&&n.default.createElement(s.default,{icon:r,className:"brz-icon"}))}))),n.default.createElement(a.ColorPickerInputs,{value:m,onChange:y},R?n.default.createElement("div",{className:"brz-ed-control__border__width"},n.default.createElement("div",{className:"brz-label"},(0,c.t)("Size")),n.default.createElement(u.Width,{value:C,onChange:T})):n.default.createElement("div",{className:"brz-ed-control__border__width"},n.default.createElement(u.Width,{value:_,onChange:k}),n.default.createElement(u.Width,{value:M,onChange:O}),n.default.createElement(u.Width,{value:E,onChange:B}),n.default.createElement(u.Width,{value:z,onChange:I})),o.length<2?null:n.default.createElement("button",{className:D,onClick:N},n.default.createElement(s.default,{icon:"nc-combined-shape",className:"brz-icon"}))))}},59053:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toggleType",{enumerable:!0,get:function(){return o}});const o=e=>"grouped"===e?"ungrouped":"grouped"},12632:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoxShadow",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(50138),a=o(45882),l=o(15011),s=d(o(2467)),c=o(65989);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{value:t,types:o,onChange:d,...u}=e;const p=(0,r.default)("brz-ed-control__boxShadow",u.className),f=(0,n.useCallback)((e=>d({...t,hex:e},{isChanged:"hex"})),[d,t]),m=(0,n.useCallback)((e=>{const[o,r,n,a]=e,l=[t.blur,t.spread,t.vertical,t.horizontal],s=(0,i.getModifiedField)(e,l);s&&d({...t,blur:o,spread:r,vertical:n,horizontal:a},{isChanged:s})}),[d,t]);return n.default.createElement("div",{className:p},n.default.createElement(a.ColorPickerSelect,{onChange:(e,o)=>{let{select:r,...n}=e;d({...t,hex:n.hex,opacity:n.opacity,palette:n.palette,type:r},{...o,isChanged:"select"===o.isChanged?"type":o.isChanged})},value:{select:t.type,hex:t.hex,opacity:t.opacity,palette:t.palette},opacity:u.opacity,palette:u.palette,paletteOpenSettings:u.paletteOpenSettings},o.map((e=>{let{id:t,title:o}=e;return n.default.createElement(c.Item,{value:t,key:t},n.default.createElement("span",null,o))}))),n.default.createElement(l.ColorPickerInputs,{value:t.hex,onChange:f},n.default.createElement(s.default,{config:{defaultIcon:"nc-shadow",icons:["nc-blur","nc-size","nc-vertical","nc-horizontal"]},value:[t.blur,t.spread,t.vertical,t.horizontal],onChange:m})))}},50138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getModifiedField",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{let[o,r,n,i]=e,[a,l,s,c]=t;return o!==a?"blur":r!==l?"spread":n!==s?"vertical":i!==c?"horizontal":void 0}},44010:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,onClick:o,icon:a,children:l,reverse:s,align:c="center",reverseTheme:d=!1,title:u}=e;return l||a?n.default.createElement("div",{className:(0,r.default)("brz-ed-control__button",`brz-ed-control__button-${c}`,t,{reverse:!!s,reverseTheme:!!d}),onClick:o,title:u},a&&n.default.createElement(i.default,{icon:a}),l&&n.default.createElement("span",{className:"brz-ed-control__label"},l)):null}},517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CheckGroupIcon",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(33364));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{active:t}=e;return r.default.createElement("div",{className:"brz-control__check-group-option-icon"},r.default.createElement(n.default,{icon:t?"nc-check-square-on":"nc-check-square-off"}))}},19665:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(23615)),i=s(o(10301)),a=s(o(60042)),l=o(6804);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static propTypes={className:n.default.string,active:n.default.bool,value:n.default.string.isRequired,name:n.default.string.isRequired,onClick:n.default.func,renderIcons:n.default.func,divider:n.default.bool,inline:n.default.bool};static defaultProps={className:"",active:!1,value:"",name:"",divider:!1,inline:!1,renderIcons:i.default.noop,onClick:i.default.noop};renderForEdit(){const{className:e,name:t,active:o,value:n,divider:i,inline:l,children:s,renderIcons:c,onClick:d}=this.props,u=(0,a.default)("brz-control__check-group-option",{"brz-control__check-group-option--divider":i,"brz-control__check-group-option--inline":l},{active:o},e);return r.default.createElement("div",{className:u,onClick:d},"function"==typeof c&&c({active:o}),s,r.default.createElement("input",{className:"brz-input",type:"hidden",name:t,value:n}))}renderForView(){const{className:e,active:t,name:o,value:n,required:i,renderIcons:s,divider:c,inline:d,children:u}=this.props,p=(0,a.default)("brz-control__check-group-option",{"brz-control__check-group-option--divider":c,"brz-control__check-group-option--inline":d},e),f=(0,l.uuid)();return r.default.createElement("div",{className:p},r.default.createElement("input",{id:f,className:"brz-input",type:"checkbox",name:o,value:n,checked:t,onChange:()=>{},required:i,"data-type":this.props["data-type"],"data-label":this.props["data-label"]}),r.default.createElement("label",{className:"brz-label",htmlFor:f},"function"==typeof s&&s(),u))}render(){return this.renderForEdit()}}},31916:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{CheckGroupItem:function(){return l.default},CheckGroupIcon:function(){return s.CheckGroupIcon},default:function(){return d}});const r=c(o(27378)),n=c(o(10301)),i=c(o(23615)),a=c(o(60042)),l=c(o(19665)),s=o(517);function c(e){return e&&e.__esModule?e:{default:e}}class d extends r.default.Component{static propTypes={name:i.default.string,className:i.default.string,defaultValue:i.default.object,onChange:i.default.func};static defaultProps={name:"defaultName",className:"",defaultValue:{},onChange:n.default.noop};handleChange=e=>{const{defaultValue:t,onChange:o}=this.props;o({...t,[e]:!t[e]})};renderOptions(){const{defaultValue:e,children:t}=this.props;return r.default.Children.map(t,((t,o)=>r.default.cloneElement(t,{...t.props,key:o,active:Boolean(e[t.props.value]),onClick:t.props.disabled?null:()=>this.handleChange(t.props.value)})))}render(){const e=(0,a.default)("brz-control__check-group",this.props.className);return r.default.createElement("div",{className:e},this.renderOptions())}}},33689:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CodeMirror",{enumerable:!0,get:function(){return d}});const r=o(56411),n=s(o(53394)),i=s(o(60042)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),l=o(27561);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{className:t,value:o,placeholder:s,theme:c="default",size:d,language:u,onChange:p}=e;const f=(0,a.useMemo)((()=>r.langs[u]),[u]),{themePreset:m}=(0,l.useTheme)(c),y=(0,i.default)("cm-wrapper",`brz-ed-control__codeMirror--${d}`,t);return a.default.createElement(n.default,{className:y,value:o,onChange:p,placeholder:s,theme:m(),basicSetup:{lineNumbers:!1,autocompletion:!1,tabSize:2,foldGutter:!1},extensions:[f()]})}},36217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"defaultTheme",{enumerable:!0,get:function(){return i}});const r=o(73919);var n;const i=(0,((n=o(22083))&&n.__esModule?n:{default:n}).default)({theme:"dark",settings:{background:"var(--secondary-dark, #292b2e);",foreground:"var(--toolbar__code_mirror-color, #808080)",caret:"var(--toolbar__code_mirror__cursor-color, #808080)",selection:"var(--toolbar__code_mirror__selected-bg, #0b69da)",selectionMatch:"var(--toolbar__code_mirror__selected-bg, #0b69da)",fontFamily:"monospace"},styles:[{tag:r.tags.heading,color:"var(--toolbar__code_mirror__header-color, #0000ff)",fontWeight:"bold"},{tag:r.tags.quote,color:"var(--toolbar__code_mirror__quote-color, #090)"},{tag:[r.tags.keyword],color:"var(--toolbar__code_mirror__keyword-color, #be85c8)"},{tag:[r.tags.className],color:"var(--toolbar__code_mirror__qualifier-color, #76a671)"},{tag:r.tags.number,color:"var(--toolbar__code_mirror__number-color, #78b9a1)"},{tag:r.tags.unit,color:"var(--toolbar__code_mirror__number-color, #78b9a1)"},{tag:[r.tags.atom,r.tags.literal],color:"var(--toolbar__code_mirror__atom-color, #9195da)"},{tag:[r.tags.typeName,r.tags.typeOperator],color:"var(--toolbar__code_mirror__variable__3-color, #16aa74)"},{tag:r.tags.invalid,color:"var(--toolbar__code_mirror__error-color, #f88b8b)"},{tag:[r.tags.attributeName,r.tags.attributeValue],color:"var(--toolbar__code_mirror__attribute-color, #55b0ff)"},{tag:r.tags.meta,color:"var(--toolbar__code_mirror__meta-color, #555)"},{tag:r.tags.string,color:"var(--toolbar__code_mirror__string-color, #fd7e7e)"},{tag:r.tags.tagName,color:"var(--toolbar__code_mirror__tag-color, #76a671)"},{tag:r.tags.bracket,color:"var(--toolbar__code_mirror__bracket-color, #997)"},{tag:[r.tags.definitionOperator,r.tags.definitionKeyword],color:"var(--toolbar__code_mirror__def-color, #8abeff)"},{tag:r.tags.link,color:"var(--toolbar__code_mirror__link-color, #55b0ff)",textDecoration:"underline"},{tag:[r.tags.comment,r.tags.lineComment,r.tags.blockComment],color:"var(--toolbar__code_mirror__comment-color, #ea9e53)"},{tag:[r.tags.operator,r.tags.operatorKeyword,r.tags.punctuation,r.tags.variableName],color:"var(--toolbar__code_mirror__variable, #a59b08)"},{tag:[r.tags.modifier,r.tags.controlKeyword,r.tags.moduleKeyword],color:"#c678dd"}]})},6903:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ideaTheme",{enumerable:!0,get:function(){return i}});const r=o(73919);var n;const i=(0,((n=o(22083))&&n.__esModule?n:{default:n}).default)({theme:"light",settings:{background:"var(--modal_email__template__code_mirror-bg, #ffffff)",foreground:"var(--modal_email__template__code_mirror-color, #000000)",caret:"var(--modal_email__template__code_mirror__cursor, #000000)",selection:"var(--toolbar__code_mirror__selected-bg, #0b69da)",selectionMatch:"var(--toolbar__code_mirror__selected-bg, #0b69da)",fontFamily:"Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif"},styles:[{tag:r.tags.className,color:"var(--modal_email__template__code_mirror__def, #000000)"},{tag:r.tags.number,color:"var(--modal_email__template__code_mirror__number, #0000ff)"},{tag:r.tags.unit,color:"var(--modal_email__template__code_mirror__number, #0000ff)"},{tag:[r.tags.atom,r.tags.literal],color:"var(--modal_email__template__code_mirror__atom, #000080)",fontWeight:"bold"},{tag:r.tags.invalid,color:"var(--modal_email__template__code_mirror__error, #ff0000)"},{tag:[r.tags.attributeName,r.tags.attributeValue],color:"var(--modal_email__template__code_mirror__attribute, #0000ff)"},{tag:r.tags.meta,color:"var(--modal_email__template__code_mirror__meta, #808000)"},{tag:r.tags.string,color:"var(--modal_email__template__code_mirror__string, #008000)"},{tag:r.tags.tagName,color:"var(--modal_email__template__code_mirror__tag, #000080)"},{tag:r.tags.bracket,color:"var(--modal_email__template__code_mirror__bracket, #997)"},{tag:r.tags.keyword,color:"var(--modal_email__template__code_mirror__keyword, #000080)",lineHeight:"1em",fontWeight:"bold"},{tag:[r.tags.definitionOperator,r.tags.definitionKeyword],color:"var(--modal_email__template__code_mirror__def, #000000)"},{tag:[r.tags.variableName],color:"var(--modal_email__template__code_mirror__variable, #000000)"},{tag:[r.tags.typeName,r.tags.typeOperator],color:"var(--modal_email__template__code_mirror__variable, #000000)"},{tag:r.tags.propertyName,color:"var(--modal_email__template__code_mirror__property, #000000)"},{tag:r.tags.operator,color:"var(--modal_email__template__code_mirror__operator, #000000)"},{tag:r.tags.link,color:"var(--modal_email__template__code_mirror__link, #0000ff)"},{tag:[r.tags.comment,r.tags.lineComment,r.tags.blockComment],color:"var(--modal_email__template__code_mirror__comment, #808080)"},{tag:[r.tags.modifier,r.tags.controlKeyword,r.tags.operatorKeyword,r.tags.moduleKeyword],color:"#708"}]})},27561:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return i}});const r=o(36217),n=o(6903),i=e=>({themePreset:()=>{switch(e){case"default":default:return r.defaultTheme;case"idea":return n.ideaTheme}}})},84392:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPaletteItem",{enumerable:!0,get:function(){return l}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{id:t,hex:o,value:n,onChange:a}=e;const l=(0,r.default)("brz-ed-control__color-palette__item",{active:t===n}),s=(0,i.useMemo)((()=>({backgroundColor:o})),[o]),c=(0,i.useCallback)((()=>a(t)),[t,a]);return i.default.createElement("div",{key:t,className:l,style:s,onClick:c})}},48248:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPalette",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=l(o(33364)),a=o(84392);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{className:t="",palette:o,onChange:l,openSettings:s,value:c=""}=e;const d=(0,r.default)("brz-ed-control__color-palette",t);return n.default.createElement("div",{className:d},o.map((e=>{let{id:t,hex:o}=e;return n.default.createElement(a.ColorPaletteItem,{key:t,id:t,hex:o,value:c,onChange:l})})),s&&n.default.createElement("div",{className:"brz-ed-control__color-palette__icon",onClick:s},n.default.createElement(i.default,{icon:"nc-cog"})))}},25057:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=l(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(10301)),a=o(27835);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends n.Component{renderPointer=()=>n.default.createElement("div",{className:"color-picker2-pointer"});renderPointerOpacity=e=>{let{opacity:t,showTooltip:o}=e;return t*=100,n.default.createElement("div",{className:"color-picker2-pointer"},o&&n.default.createElement("div",{className:"color-picker2-pointer-tooltip"},Math.round(t),"%"))};render(){const{className:e,contentWindow:t,disableOpacity:o=!1,hsl:l,hsv:s,rgb:c,renderers:d={},onChange:u=i.default.noop}=this.props,p=(0,r.default)("brz-ed-control__colorPicker2",e);return n.default.createElement("div",{className:p,ref:this.props.domRef},n.default.createElement("div",{className:"color-picker2-body"},n.default.createElement("div",{className:"color-picker2-saturation"},n.default.createElement(a.Saturation,{hsl:l,hsv:s,contentWindow:t,Pointer:this.renderPointer,onChange:u})),n.default.createElement("div",{className:"color-picker2-hue"},n.default.createElement(a.Hue,{direction:"vertical",hsl:l,contentWindow:t,Pointer:this.renderPointer,onChange:u})),!o&&n.default.createElement("div",{className:"color-picker2-alpha"},n.default.createElement(a.Alpha,{direction:"vertical",rgb:c,hsl:l,contentWindow:t,renderers:d,Pointer:this.renderPointerOpacity,onChange:u}))))}}const d=(0,a.ColorWrap)(c)},94623:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=a(o(10301)),i=a(o(11079));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s="#000000";class c extends r.Component{static defaultProps={value:{hex:s},onChange:n.default.noop,opacity:1};constructor(e){super(e),this.state={hex:e.value.hex||s}}componentDidUpdate(e){e.value.hex!==this.props.value.hex&&this.setState({hex:this.props.value.hex??s})}onHexChange=e=>{let{target:{value:t}}=e;const{value:{opacity:o},onChange:r}=this.props;this.setState({hex:t}),t.length<6||!i.default.isValidHex(t)||(t="#"===t[0]?t:"#"+t,r({hex:t.toLowerCase(),opacity:o,isChanged:"hex"}))};render(){return r.default.createElement("input",{id:"hex",className:"brz-input",autoComplete:"off",value:this.state.hex,onChange:this.onHexChange})}}},36187:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Alpha:function(){return c},default:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(51505),i=o(22008),a=(l=o(93503))&&l.__esModule?l:{default:l};var l;function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{change=null;container=null;static defaultProps={contentWindow:()=>window};constructor(e){super(e),this.state={showTooltip:!1,isChanging:!1}}componentWillUnmount(){this.unbindEventListeners()}handleChange=(e,t)=>{const o=this.props.contentWindow()||window;this.change=(0,n.calculateChange)({e,contentWindow:o,hsl:this.props.hsl,direction:this.props.direction,container:this.container})||this.change,this.change&&(this.change.a=1-this.change.a,this.props.onChange&&this.props.onChange({...this.change,opacityDragEnd:t,wasChanged:"opacity"},e))};handleMouseDown=e=>{this.handleChange(e);const t=this.props.contentWindow();t&&((0,i.isInIframe)(t)||(0,i.disableIframeEvents)(t),t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp),this.setState({showTooltip:!0,isChanging:!0}))};handleMouseUp=e=>{const t=this.props.contentWindow();t&&!(0,i.isInIframe)(t)&&(0,i.enableIframeEvents)(t),this.handleChange(e,!0),this.unbindEventListeners();const o=e.composedPath().find((e=>e===this.container));this.setState({showTooltip:!!o,isChanging:!1}),this.change=null};handleMouseEnter=()=>{this.setState({showTooltip:!0})};handleMouseLeave=()=>{this.state.isChanging||this.setState({showTooltip:!1})};unbindEventListeners=()=>{const e=this.props.contentWindow();e&&(e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp))};render(){const{direction:e,rgb:t,Pointer:o}=this.props,n={background:`linear-gradient(${"vertical"===e?"to top":"to right"}, rgba(${t.r},${t.g},${t.b}, 0) 0%,\n rgba(${t.r},${t.g},${t.b}, 1) 100%)`,boxShadow:this.props.shadow,borderRadius:this.props.radius},i="vertical"===e?{left:0,top:100*(1-t.a)+"%"}:{left:100*t.a+"%"};return r.default.createElement("div",{className:"color-picker2-alpha-body",style:{borderRadius:this.props.radius}},r.default.createElement("div",{className:"color-picker2-alpha-checkboard"},r.default.createElement(a.default,{renderers:this.props.renderers,white:"transparent",grey:"rgba(0,0,0,.08)",size:8})),r.default.createElement("div",{className:"color-picker2-alpha-gradient",style:n}),r.default.createElement("div",{className:"color-picker2-alpha-container",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},r.default.createElement("div",{className:"color-picker2-alpha-pointer",style:i},o?r.default.createElement(o,{opacity:t.a,showTooltip:this.state.showTooltip}):r.default.createElement("div",{className:"color-picker2-alpha-slider"}))))}}const d=c},93503:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Checkboard:function(){return l},default:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(49041));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{white:t,grey:o,size:n,renderers:a,borderRadius:l,boxShadow:s}=e;const c={borderRadius:l,boxShadow:s,absolute:"0px 0px 0px 0px",background:`url(${i.get(t,o,n,a.canvas)}) center left`};return r.default.createElement("div",{style:c})},s=l},5769:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ColorWrap:function(){return s},default:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=a(o(10301)),i=a(o(11079));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{class t extends r.Component{debounce;constructor(e){super(e),this.state={...i.default.toState(e.color??"",0),prevColor:e.color},this.debounce=n.default.debounce(((e,t,o)=>{e(t,o)}),100)}static getDerivedStateFromProps(e,t){return t.prevColor!==e.color?{...i.default.toState(e.color??"",t.oldHue),prevColor:e.color}:null}handleChange=(e,t)=>{if(i.default.simpleCheckForValidColor(e)){const o=i.default.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onChangeComplete&&this.debounce(this.props.onChangeComplete,o,t),this.props.onChange&&this.props.onChange({...o,wasChanged:e.wasChanged,opacityDragEnd:e.opacityDragEnd},t)}};handleSwatchHover=(e,t)=>{if(i.default.simpleCheckForValidColor(e)){const o=i.default.toState(e,e.h||this.state.oldHue,e.hsv||this.state.hsv);this.setState(o),this.props.onSwatchHover&&this.props.onSwatchHover(o,t)}};render(){const t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),r.default.createElement(e,{contentWindow:this.props.contentWindow,hsl:this.state.hsl,hsv:this.state.hsv,rgb:this.state.rgb,domRef:this.props.domRef,color:this.props.color,opacity:this.props.opacity,disableOpacity:this.props.disableOpacity,onSwatchHover:this.props.onSwatchHover,onChange:this.handleChange,...t})}}return t},c=s},81599:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Hue:function(){return d},default:function(){return u}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=c(o(27378)),a=c(o(60935)),l=o(22008);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class d extends i.Component{static defaultProps={contentWindow:()=>window};componentWillUnmount(){this.unbindEventListeners()}container=null;handleChange=e=>{const t=this.props.contentWindow()||window,o=a.calculateChange({e,contentWindow:t,direction:this.props.direction,hsl:this.props.hsl,container:this.container});o&&this.props.onChange&&this.props.onChange({...o,wasChanged:"hue"},e)};handleMouseDown=e=>{this.handleChange(e);const t=this.props.contentWindow();t&&((0,l.isInIframe)(t)||(0,l.disableIframeEvents)(t),t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp))};handleMouseUp=()=>{const e=this.props.contentWindow();e&&!(0,l.isInIframe)(e)&&(0,l.enableIframeEvents)(e),this.unbindEventListeners()};unbindEventListeners(){const e=this.props.contentWindow();e&&(e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp))}render(){const{direction:e="horizontal",Pointer:t}=this.props,o={hue:{borderRadius:this.props.radius,boxShadow:this.props.shadow},pointer:{left:100*this.props.hsl.h/360+"%"},container:{}},n={left:"0px",top:-100*this.props.hsl.h/360+100+"%"};return i.default.createElement("div",{className:"hue",style:o.hue},i.default.createElement("div",{className:(0,r.default)(`hue-${e}`,"hue-container"),style:o?.container,ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},i.default.createElement("div",{style:n,className:"hue-pointer"},t?i.default.createElement(t,null):i.default.createElement("div",{className:"hue-slider"}))))}}const u=d},1333:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Saturation:function(){return d},default:function(){return u}});const r=c(o(27378)),n=(i=o(10301))&&i.__esModule?i:{default:i};var i;const a=c(o(12237)),l=o(22008);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class d extends r.Component{static defaultProps={contentWindow:()=>window};throttle;container=null;constructor(e){super(e),this.throttle=n.default.throttle(((e,t,o)=>{e({...t,wasChanged:"saturation"},o)}),50)}componentWillUnmount(){this.unbindEventListeners()}handleChange=e=>{const t=this.props.contentWindow()||window;this.props.onChange&&this.throttle(this.props.onChange,a.calculateChange({e,contentWindow:t,hsl:this.props.hsl,container:this.container}),e)};handleMouseDown=e=>{this.handleChange(e);const t=this.props.contentWindow();t&&((0,l.isInIframe)(t)||(0,l.disableIframeEvents)(t),t.addEventListener("mousemove",this.handleChange),t.addEventListener("mouseup",this.handleMouseUp))};handleMouseUp=()=>{const e=this.props.contentWindow();e&&!(0,l.isInIframe)(e)&&(0,l.enableIframeEvents)(e),this.unbindEventListeners()};unbindEventListeners(){const e=this.props.contentWindow();e&&(e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp))}render(){const{Pointer:e}=this.props,t={color:{background:`hsl(${this.props.hsl.h},100%, 50%)`,borderRadius:this.props.radius},white:{borderRadius:this.props.radius},black:{boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%"}};return r.default.createElement("div",{style:t.color,className:"color-picker2-saturation-body",ref:e=>this.container=e,onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},r.default.createElement("div",{style:t.white,className:"saturation-white"},r.default.createElement("div",{style:t.black,className:"saturation-black"}),r.default.createElement("div",{style:t.pointer,className:"saturation-pointer"},e?r.default.createElement(e,null):r.default.createElement("div",{className:"saturation-circle"}))))}}const u=d},27835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Alpha:function(){return r.Alpha},ColorWrap:function(){return n.ColorWrap},Hue:function(){return i.Hue},Saturation:function(){return a.Saturation}});const r=o(36187),n=o(5769),i=o(81599),a=o(1333)},51505:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateChange",{enumerable:!0,get:function(){return o}});const o=e=>{let{e:t,contentWindow:o,hsl:r,direction:n,container:i}=e;if(t.preventDefault(),!i)return null;const a=i.clientWidth,l=i.clientHeight,s="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,c="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,d=s-(i.getBoundingClientRect().left+o.pageXOffset),u=c-(i.getBoundingClientRect().top+o.pageYOffset);if("vertical"===n){let e;if(e=u<0?0:u>l?1:Math.round(100*u/l)/100,r.a!==e)return{h:r.h,s:r.s,l:r.l,a:e,source:"rgb"}}else{let e;if(e=d<0?0:d>a?1:Math.round(100*d/a)/100,e!=e)return{h:r.h,s:r.s,l:r.l,a:e,source:"rgb"}}return null}},49041:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{render:function(){return r},get:function(){return n}});const o={},r=(e,t,o,r)=>{if("undefined"==typeof document&&!r)return null;const n=r?new r:document.createElement("canvas");n.width=2*o,n.height=2*o;const i=n.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,n.width,n.height),i.fillStyle=t,i.fillRect(0,0,o,o),i.translate(o,o),i.fillRect(0,0,o,o),n.toDataURL()):null},n=(e,t,n,i)=>{const a=`${e}-${t}-${n}${i?"-server":""}`,l=r(e,t,n,i);return o[a]?o[a]:(o[a]=l,l)}},11079:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return l},red:function(){return s}});const r=a(o(83198)),n=a(o(10301)),i=o(78647);function a(e){return e&&e.__esModule?e:{default:e}}const l={simpleCheckForValidColor(e){let t=0,o=0;return n.default.each(["r","g","b","a","h","s","l","v"],(r=>{e[r]&&(t+=1,isNaN(e[r])||(o+=1),"s"===r||"l"===r)&&/^\d+%$/.test(e[r])&&(o+=1)})),t===o&&e},toState(e,t,o){const n=(0,i.isHSLAChange)(e)||(0,i.isHSVAChange)(e),a=n&&e.hex?(0,r.default)(e.hex):(0,r.default)(e),l=a.toHsl(),s=a.toHsv(),c=a.toRgb(),d=a.toHex();0===l.s&&(l.h=t||0,s.h=t||0);let u={};return n&&!e.hex&&0!==s.v&&(u={hsv:s}),o||(u={hsv:s}),n&&"saturation"===e.wasChanged&&(u={hsv:{h:s.h,s:0===s.s?e.s/100:s.s,v:s.v,a:s.a}}),!n||"hue"!==e.wasChanged&&"opacity"!==e.wasChanged||(u={}),{hsl:l,hex:`#${d}`,rgb:c,oldHue:n?e.h||t||l.h:NaN,source:n?e.source:"",...u}},isValidHex:e=>(0,r.default)(e).isValid()},s={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},60935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateChange",{enumerable:!0,get:function(){return o}});const o=e=>{let{e:t,contentWindow:o,direction:r,hsl:n,container:i}=e;if(t.preventDefault(),!i)return null;const a=i.clientWidth,l=i.clientHeight,s="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,c="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,d=s-(i.getBoundingClientRect().left+o.pageXOffset),u=c-(i.getBoundingClientRect().top+o.pageYOffset);if("vertical"===r){let e;if(e=u<0?359:u>l?0:360*(-100*u/l+100)/100,n.h!==e)return{h:e,s:n.s,l:n.l,a:n.a,source:"rgb"}}else{let e;if(e=d<0?0:d>a?359:100*d/a*360/100,n.h!==e)return{h:e,s:n.s,l:n.l,a:n.a,source:"rgb"}}return null}},12237:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateChange",{enumerable:!0,get:function(){return o}});const o=e=>{let{e:t,contentWindow:o,hsl:r,container:n}=e;if(t.preventDefault(),!n)return null;const{width:i,height:a}=n.getBoundingClientRect(),l="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,s="number"==typeof t.pageY?t.pageY:t.touches[0].pageY;let c=l-(n.getBoundingClientRect().left+o.pageXOffset),d=s-(n.getBoundingClientRect().top+o.pageYOffset);c<0?c=0:c>i?c=i:d<0?d=0:d>a&&(d=a);const u=100*c/i,p=-100*d/a+100;return{h:r.h,s:u,v:p,a:r.a,source:"rgb"}}},71197:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(10301)),i=o(81405),a=l(o(25057));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=function(e){let{value:t,disableOpacity:o,onChange:l}=e;const s=(0,r.useRef)(null),c=l&&n.default.throttle(l,500,{leading:!1,trailing:!0}),d=(0,i.isHex)(t.hex)?t.hex:"#000000",u=isNaN(Number(t.opacity))?1:t.opacity;return r.default.createElement(a.default,{domRef:e=>{e&&(s.current=e.ownerDocument.defaultView??null)},color:(0,i.hexToRgba)(d,u),opacity:u,disableOpacity:o,contentWindow:()=>s.current,onChange:e=>{const{hex:t="",rgb:o,wasChanged:r,opacityDragEnd:n}=e,i=t?.toLowerCase();c?.({hex:i,opacity:Number(Number(o?.a).toFixed(2)),isChanged:"opacity"===r?"opacity":"hex",opacityDragEnd:!!n})}})}},78647:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isHSLAChange:function(){return i},isHSVAChange:function(){return a}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=e=>r.default.has(e,"h")&&r.default.has(e,"s")&&r.default.has(e,"l"),a=e=>r.default.has(e,"h")&&r.default.has(e,"s")&&r.default.has(e,"v")},22008:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isInIframe:function(){return n},disableIframeEvents:function(){return s},enableIframeEvents:function(){return c}});const r=o(47885),n=e=>null!==e.frameElement,i=e=>e.document.getElementById("brz-ed-iframe"),a=e=>{e.classList.add("brz-ed--no-events")},l=e=>{e.classList.remove("brz-ed--no-events")},s=e=>(0,r.mPipe)(i,a)(e),c=e=>(0,r.mPipe)(i,l)(e)},4782:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{paletteHex:function(){return s},ColorPicker3:function(){return d}});const r=l(o(60042)),n=l(o(27378)),i=o(48248),a=l(o(71197));function l(e){return e&&e.__esModule?e:{default:e}}const s=(e,t)=>t.find((t=>t.id===e))?.hex,c=(e,t,o)=>s(t,o)||e,d=e=>{let{className:t,opacity:o=!0,palette:l=[],paletteOpenSettings:s,value:d,onChange:u}=e;const p=(0,r.default)("brz-ed-control__colorPicker3",t),f={opacity:d.opacity,hex:c(d.hex,d.palette,l)};return n.default.createElement("div",{className:p},n.default.createElement(a.default,{value:f,disableOpacity:!o,onChange:e=>{let{hex:t,opacity:o,isChanged:r,opacityDragEnd:n}=e;u({hex:t,opacity:o,palette:d.palette},{isChanged:r,opacityDragEnd:n})}}),n.default.createElement(i.ColorPalette,{palette:l,onChange:e=>{u({...d,palette:e},{isChanged:"palette"})},openSettings:s,value:d.palette}))}},45882:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPickerSelect",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=o(4782),a=o(18624);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){const t=(0,r.default)(e.className,"brz-ed-control__colorPickerSelect");return n.default.createElement("div",{className:t},e.children.length&&n.default.createElement(a.Select2,{className:"brz-control__select--dark brz-control__select__auto brz-ed-control__colorPickerSelect--select",value:e.value.select,editable:!1,onChange:t=>{e.onChange({...e.value,select:t},{isChanged:"select"})},size:"short"},e.children),n.default.createElement(i.ColorPicker3,{onChange:(t,o)=>{e.onChange({...t,select:e.value.select},o)},palette:e.palette,paletteOpenSettings:e.paletteOpenSettings,opacity:e.opacity,value:e.value}))}},15011:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPickerInputs",{enumerable:!0,get:function(){return f}});const r=u(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=u(o(17882)),a=o(15223),l=u(o(33364)),s=o(23106),c=u(o(22546)),d=o(16526);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{let{value:t,onChange:o,children:u}=e;const[p,f]=(0,n.useState)(!1),m=(0,n.useCallback)((e=>{o(e),f(!1)}),[o]),y=(0,n.useCallback)((()=>!p&&f(!0)),[p]),g=(0,n.useCallback)((()=>f(!1)),[]);return n.default.createElement("div",{className:"brz-ed-control__color-picker-inputs"},n.default.createElement("div",{className:"brz-ed-control__color-picker-inputs__hex-container"},(0,d.isStory)(c.default.getAll())?null:n.default.createElement(l.default,{className:(0,r.default)("brz-ed-control__color-picker-inputs__eye-dropper",{"brz-ed-control__color-picker-inputs__eye-dropper--active":p}),icon:"eye-dropper",onClick:y}),n.default.createElement(a.InputHex,{value:t,onChange:o})),p&&n.default.createElement(i.default,{onClickOutside:g},n.default.createElement(s.EyeDropper,{onPick:m})),u)}},65567:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FatCheckIcon",{enumerable:!0,get:function(){return c}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(43240),l=o(33364);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{active:t,checked:o,className:n,icon:s,label:c,onCheck:d,onClick:u}=e;const p=(0,i.useCallback)((e=>{d&&e.stopPropagation(),d?.()}),[d]),f=t?"text-right-sidebar-item--active":"text-right-sidebar-item",m=t?"!text-right-sidebar-item--active":"!text-right-sidebar-item",y=t?"border-right-sidebar-item--active":"border-right-sidebar-item-border hover:border-right-sidebar-item-border--hover";return i.default.createElement("div",{className:(0,r.default)(n,"brz-ed--fat-icon text-center w-[60px] cursor-pointer"),onClick:u,title:c},i.default.createElement("div",{className:`brz-ed--fat-icon__wrapper relative border-2 border-solid rounded-[3px] flex items-center justify-center w-[60px] h-[60px] transition-[border-color] duration-200 ease-linear\tdelay-[0s] ${y}`},i.default.createElement(a.CheckMark,{checked:!!o,onClick:p,className:"brz-ed--fat-check-icon__check absolute -top-[5px] -left-[5px]"}),i.default.createElement(l.EditorIcon,{icon:s,className:`text-[16px] transition-[color] duration-200 ease-linear ${m}`})),i.default.createElement("div",{className:`brz-ed--fat-icon__label transition-[color] duration-200 ease-linear text-[12px] leading-[2.4em] overflow-hidden text-ellipsis whitespace-nowrap ${f}`},c))}},2530:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FatIcon",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=o(33364);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{active:t,className:o,icon:a,label:l,onClick:s}=e;const c=t?"text-right-sidebar-item--active":"text-right-sidebar-item-label",d=t?"!text-right-sidebar-item--active":"!text-right-sidebar-item",u=t?"border-right-sidebar-item--active":"border-right-sidebar-item-border hover:border-right-sidebar-item-border--hover";return n.default.createElement("div",{className:(0,r.default)(o,"brz-ed--fat-icon text-center w-[60px] cursor-pointer",{"brz-ed--fat-icon__active":!!t}),onClick:s},n.default.createElement("div",{className:`brz-ed--fat-icon__wrapper border-2 border-solid rounded-[3px] flex items-center justify-center w-[60px] h-[60px] transition-[border-color] duration-200 ease-linear\tdelay-[0s] ${u}`},n.default.createElement(i.EditorIcon,{icon:a,className:`text-[16px] transition-[color] duration-200 ease-linear ${d}`})),n.default.createElement("div",{className:`brz-ed--fat-icon__label transition-[color] duration-200 ease-linear text-[12px] leading-[2.4em] overflow-hidden text-ellipsis whitespace-nowrap ${c}`},l))}},76577:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FontFamily",{enumerable:!0,get:function(){return p}});const r=c(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=c(o(33364)),a=o(81300),l=o(21779),s=o(41522);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u={default:"17px",great_vibes:"18px",alex_brush:"18px",allura:"18px",parisienne:"18px"};class p extends n.Component{scrollbarRef;handleOpenFonts=e=>{e.preventDefault(),this.props.addFont&&this.props.addFont()};constructor(e){super(e),this.scrollbarRef=n.default.createRef()}componentDidMount(){(0,s.scrollToActiveFont)(this.scrollbarRef)}renderFontList(e){let{fonts:t,type:o}=e;const{value:i,onChange:a}=this.props;return t.map((e=>{const{id:t,family:l,title:s}=e,c=t,d={...e,type:o},p=(0,r.default)("brz-ed-font__name",{active:t===i}),f={fontFamily:l,fontSize:u[c]||u.default};return n.default.createElement("div",{key:t,className:p,style:f,onClick:()=>a(d)},s)}))}render(){const{config:e=[],blocks:t=[],google:o=[],upload:s=[]}=this.props.fonts,c=s.length>0||o.length>0,d=(0,r.default)("brz-ed-font__typography",this.props.className);return n.default.createElement("div",{className:d},n.default.createElement(a.Scrollbar,{theme:"dark",ref:this.scrollbarRef},s.length>0&&this.renderFontList({fonts:s,type:l.FontFamilyType.upload}),o.length>0&&this.renderFontList({fonts:o,type:l.FontFamilyType.google}),c&&n.default.createElement("hr",{className:"brz-hr brz-ed-font__separator"}),t&&this.renderFontList({fonts:t,type:l.FontFamilyType.google}),this.renderFontList({fonts:e,type:l.FontFamilyType.google})),this.props.addFont&&n.default.createElement("div",{className:"brz-ed-font__typography-adder",onClick:this.handleOpenFonts},n.default.createElement(i.default,{icon:"nc-add"}),this.props.addFontLabel))}}},33591:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Error",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(1424)),i=o(33364),a=o(64293);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){let{id:t,onRemove:o,message:l}=e;return r.default.createElement(n.default,{overlay:r.default.createElement("div",null,l),openOnClick:!1,className:"brz-ed-control__gallery-tooltip--error"},r.default.createElement(a.Item,{className:"brz-ed-control__gallery__item--error",id:t,onRemove:o},r.default.createElement(i.EditorIcon,{icon:"nc-warning",className:"brz-ed-control__gallery__item__icon"})))}},64293:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return d}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(10301),l=o(33364);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{e.stopPropagation()};function d(e){let{id:t,onRemove:o,children:n,className:s}=e;const d=(0,i.useCallback)((()=>o?o(t):a.noop),[t,o]);return i.default.createElement("div",{className:(0,r.default)("brz-ed-control__gallery__item",s)},o&&i.default.createElement("button",{onMouseDown:c,onClick:d,className:"brz-ed-control__gallery__item__remove"},i.default.createElement(l.EditorIcon,{icon:"nc-circle-remove",className:"brz-ed-control__gallery__item__remove__icon",onClick:d})),n)}},27775:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Loading",{enumerable:!0,get:function(){return l}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(33364),a=o(64293);function l(e){let{id:t,onRemove:o}=e;return r.default.createElement(a.Item,{className:"brz-ed-control__gallery__item--loading",id:t,onRemove:o},r.default.createElement(i.EditorIcon,{icon:"nc-circle-02",className:"brz-ed-animated--spin brz-ed-control__gallery__item__icon"}))}},32570:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Thumbnail",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64293);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}function a(e){let{id:t,onRemove:o,src:i}=e;const a=(0,r.useMemo)((()=>({backgroundImage:`url("${i}")`})),[i]);return r.default.createElement(n.Item,{id:t,className:"brz-ed-control__gallery__item--thumbnail",onRemove:o},r.default.createElement("span",{style:a,className:"brz-ed-control__gallery__item--thumbnail__image"}))}},62521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Gallery",{enumerable:!0,get:function(){return b}});const r=o(65095),n=o(15393),i=o(9448),a=(l=o(60042))&&l.__esModule?l:{default:l};var l;const s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),c=o(10301),d=o(33364),u=o(713),p=o(33591),f=o(27775),m=o(32570);function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}const g=function(e){let{item:t,onRemove:o}=e;const{active:r,attributes:a,listeners:l,transform:d,transition:u,setNodeRef:y}=(0,n.useSortable)({id:t.id}),g=r?.id===t.id,h={transform:i.CSS.Translate.toString(d),transition:u,zIndex:g?1:0},b=(0,s.useCallback)((()=>o?o(t.id):c.noop),[t.id,o]);return s.default.createElement("div",{className:"brz-ed-control__gallery__draggable",...a,...l,style:h,ref:y},(e=>{switch(e.__type){case"thumbnail":return s.default.createElement(m.Thumbnail,{onRemove:o?b:void 0,id:e.id,src:e.payload});case"error":return s.default.createElement(p.Error,{onRemove:b,id:e.id,message:e.payload});case"loading":return s.default.createElement(f.Loading,{onRemove:b,id:e.id})}})(t))},h=function(e){let{className:t,items:o,onAdd:i,onRemove:l,onSortEnd:c}=e;const p=o.map((e=>e.id)),f=(0,s.useCallback)((e=>{const{active:t,over:o}=e;o&&t&&c(t.id,o.id)}),[c]),m=(0,r.useSensors)((0,r.useSensor)(r.PointerSensor,{activationConstraint:{distance:10}}),(0,r.useSensor)(r.KeyboardSensor));return s.default.createElement("div",{className:(0,a.default)("brz-ed-control__gallery",t)},s.default.createElement(r.DndContext,{onDragEnd:f,collisionDetection:r.closestCenter,sensors:m},s.default.createElement(n.SortableContext,{items:p},o.map((e=>s.default.createElement(g,{key:e.id,item:e,onRemove:l}))))),s.default.createElement(u.ImageUpload,{onChange:i,className:"brz-ed-control__gallery__item brz-ed-control__gallery__item--add"},s.default.createElement(d.EditorIcon,{icon:"nc-add",className:"brz-ed-control__gallery__item__icon"})))};function b(e){let{className:t,items:o,onSort:r,onAdd:n,onRemove:i}=e;const a=(0,s.useCallback)(((e,t)=>{const n=o.findIndex((t=>t.id===e)),i=o.findIndex((e=>e.id===t));n!==i&&r(n,i)}),[r,o]);return s.default.createElement(h,{axis:"xy",onAdd:n,onSortEnd:a,onRemove:i,className:t,items:o})}},30288:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isThumbnail:function(){return o},thumbnail:function(){return r},isLoading:function(){return n},loading:function(){return i},isError:function(){return a},error:function(){return l}});const o=e=>"thumbnail"===e.__type,r=(e,t)=>({id:e,payload:t,__type:"thumbnail"}),n=e=>"loading"===e.__type,i=e=>({id:e,__type:"loading"}),a=e=>"error"===e.__type,l=(e,t)=>({id:e,payload:t,__type:"error"})},85568:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Column",{enumerable:!0,get:function(){return l}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a={start:"brz-ed-control__grid__column--align-start",center:"brz-ed-control__grid__column--align-center",end:"brz-ed-control__grid__column--align-end"},l=e=>{let{className:t,children:o,align:i}=e;return r.default.createElement("div",{className:(0,n.default)("brz-ed-control__grid__column",t,a[i])},o)}},36621:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,children:o,grid:i,separator:a}=e;const l={gridTemplateColumns:i.map((e=>"auto"===e?e:`${e}fr`)).join(" ")};return r.default.createElement("div",{className:(0,n.default)("brz-ed-control__grid",t,{"brz-ed-control__grid--separator":a}),style:l},o)}},50987:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,children:o}=e;return r.default.createElement("div",{className:(0,n.default)("brz-ed-control__group",t)},o)}},40369:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{IconSetter:function(){return c},default:function(){return d}});const r=s(o(60042)),n=s(o(27378)),i=s(o(33364)),a=s(o(92823)),l=o(73948);function s(e){return e&&e.__esModule?e:{default:e}}class c extends n.default.Component{handleClick=()=>{const{value:e,onChange:t}=this.props;a.default.open({prompt:"icon",mode:"single",props:{onChange:t,name:e?.name,type:e?.type}})};handleRemove=()=>{this.props.onChange({name:"",type:""})};renderSelectIcon=()=>n.default.createElement("div",{className:"brz-ed-control__icon-setter__box w-[48px] h-[48px] border-mako border-dashed border-[1px] bg-gunmetal text-[16px] text-shuttle-grey flex justify-center items-center cursor-pointer transition-[all] duration-200 ease-linear delay-[0s] hover:border-shuttle-grey-2 hover:text-shuttle-grey-3",onClick:this.handleClick},n.default.createElement(i.default,{icon:"nc-add"}));renderRemoveIcon=()=>this.props.canDelete?n.default.createElement("div",{key:"second",className:"brz-ed-control__focal-point__delete",onClick:this.handleRemove},n.default.createElement(i.default,{icon:"nc-circle-remove"})):null;renderIcon=e=>{let{name:t,type:o}=e;return[n.default.createElement("div",{key:"first",className:"brz-ed-control__icon-setter__box w-[48px] h-[48px] border-mako border-dashed border-[1px] bg-gunmetal text-[16px] text-shuttle-grey flex justify-center items-center cursor-pointer transition-all-1 duration-200 ease-linear delay-[0s] hover:border-shuttle-grey-2 hover:text-shuttle-grey-3",onClick:this.handleClick},n.default.createElement("div",{className:"brz-ed-control__icon-setter--active text-white inline-block text-[0]"},n.default.createElement(l.ThemeIcon,{className:"grid-16 stroke-2",name:t,type:o}))),this.renderRemoveIcon()]};render(){const e=this.props.value,t=(0,r.default)("brz-ed-control__icon-setter relative",this.props.className),o=e?.name&&e?.type;return n.default.createElement("div",{className:t},e&&o?this.renderIcon(e):this.renderSelectIcon())}}const d=c},4023:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{IconToggleItem:function(){return a},default:function(){return l}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(33364);function a(e){let{className:t,icon:o}=e;return r.default.createElement(i.EditorIcon,{className:t,icon:o})}const l=a},53225:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{IconToggle:function(){return l},default:function(){return s}});const r=a(o(27378)),n=a(o(60042)),i=o(44576);function a(e){return e&&e.__esModule?e:{default:e}}function l(e){let{className:t,children:o,value:a,onChange:l}=e;const s=(0,n.default)("brz-ed-control__icon-carousel",t),c=o.find((e=>e.props.value===a))??o[0],d=o.map((e=>e.props.value));return r.default.createElement("div",{className:s,title:c.props.title,onClick:()=>{const e=(0,i.indexOf)(a,d),t=void 0!==e?(0,i.nextIndex)(e,d):void 0;void 0!==t&&l(d[t])}},c)}const s=l},66106:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(10301))&&i.__esModule?i:{default:i};var i;const a=o(16621);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}class s extends r.default.Component{static defaultProps={bounds:"parent",onDragStart:n.default.noop,onDrag:n.default.noop,onDragEnd:n.default.noop,defaultPosition:{x:50,y:50}};window=void 0;ref=(0,r.createRef)();constructor(e){super(e),this.state={x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y},this.window=void 0}componentDidMount(){const e=this.ref.current,t=e?.parentNode||e?.ownerDocument.body;t&&t.addEventListener("click",this.onDragEnd),e?.ownerDocument.defaultView&&(this.window=e?.ownerDocument.defaultView)}static getDerivedStateFromProps(e,t){const o=t.x,r=t.y,n=e.position.x,i=e.position.y;return o!==n||r!==i?{x:n,y:i}:null}componentWillUnmount(){const e=this.ref.current,t=e?.parentNode||e?.ownerDocument.body;this.enableTextSelect(),t&&t.removeEventListener("click",this.onDragEnd),this.window&&(this.window.removeEventListener("mousemove",this.onDrag),this.window.removeEventListener("mouseup",this.onDragEnd)),this.window=void 0}disableTextSelect=()=>{document.querySelectorAll("*[contenteditable]").forEach((e=>e.setAttribute("contenteditable","false"))),document.body.classList.add("unselectable")};enableTextSelect=()=>{document.body.classList.remove("unselectable"),document.querySelectorAll("*[contenteditable]").forEach((e=>e.setAttribute("contenteditable","true")))};getBoundPosition=()=>{let e=this.props.bounds;const t=this.ref.current;if("string"==typeof e&&t){const{ownerDocument:o}=t;let r;if("parent"===e)r=t.parentNode;else if(r=o?.querySelector(e),!r)throw new Error(`Bounds selector ${e} could not find an element.`);r&&(e={left:(0,a.outerWidth)(r),top:(0,a.outerHeight)(r)})}return e};getMouseCoordinates=e=>{const t=this.ref.current,o=t?.offsetParent||t?.ownerDocument.body,r=o===o?.ownerDocument.body?{left:0,top:0}:o?.getBoundingClientRect(),{clientX:n,clientY:i}=e;let a=0,l=0;return o&&r&&(a=n+o.scrollLeft-r.left,l=i+o.scrollTop-r.top),{x:a,y:l}};getCoordinates=e=>{const t=this.getMouseCoordinates(e),o=this.getBoundPosition();let r=0,n=0;return"object"==typeof o&&"left"in o&&"top"in o&&(r=o.left??0,n=o.top??0),{x:(0,a.int)(String(Math.max(Math.min(t.x,r),0))),y:(0,a.int)(String(Math.max(Math.min(t.y,n),0)))}};getCoordinatesInPercent=e=>{const{x:t,y:o}=this.getCoordinates(e),r=this.getBoundPosition();let n=0,i=0;return"object"==typeof r&&"left"in r&&"top"in r&&(n=r.left??0,i=r.top??0),{x:(0,a.int)(String(100*t/n)),y:(0,a.int)(String(100*o/i))}};onDragStart=e=>{e.preventDefault();const t=this.getCoordinatesInPercent(e);this.props.onDragStart(t),this.disableTextSelect(),this.window&&(this.window.addEventListener("mousemove",this.onDrag),this.window.addEventListener("mouseup",this.onDragEnd))};onDrag=e=>{const t=this.getCoordinatesInPercent(e);this.props.onDrag(t),this.setState(t)};onDragEnd=e=>{const t=this.getCoordinatesInPercent(e);this.props.onDragEnd(t),this.enableTextSelect(),this.window&&(this.window.removeEventListener("mousemove",this.onDrag),this.window.removeEventListener("mouseup",this.onDragEnd)),this.setState(t)};render(){const e=this.state,t={left:`${e.x}%`,top:`${e.y}%`};return r.default.cloneElement(r.default.Children.only(this.props.children),{style:t,onMouseDown:this.onDragStart,ref:this.ref})}}},21257:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(19057),i=o(68914),a=(l=o(66106))&&l.__esModule?l:{default:l};var l;function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=function(e){const{src:t="",x:o=50,y:l=50,width:s=0,height:c=0,customUrl:d=!1,showPointer:u=!0,fileName:p="",onChange:f}=e,[m,y]=(0,r.useState)(o),[g,h]=(0,r.useState)(l),[b,v]=(0,r.useState)(null),[S,w]=(0,r.useState)(null);function x(e){e.x!==m&&y(e.x),e.y!==g&&h(e.y),f(e,{isChanged:"pointer"})}b!==o&&(y(o),v(o)),S!==l&&(h(l),w(l));const P=d?t:(0,i.getImageUrl)({fileName:p,uid:t,sizeType:n.SizeType.custom,crop:{iW:140,iH:"any"}}),{width:C,height:T}=(0,i.imageWrapperSize)(s,c,140);return r.default.createElement("div",{key:"setter",className:"brz-ed-control__focal-point__setter",style:{width:`${C}px`,height:`${T}px`}},P&&r.default.createElement("img",{className:"brz-img",src:P}),u&&r.default.createElement(a.default,{bounds:"parent",position:{x:m,y:g},onDrag:x,onDragEnd:x},r.default.createElement("div",{className:"brz-ed-control__focal-point__point"})))}},63458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ImageSetter:function(){return g},default:function(){return h}});const r=y(o(60042)),n=y(o(27378)),i=o(34143),a=o(18624),l=o(65989),s=y(o(33364)),c=o(62948),d=y(o(22546)),u=o(19057),p=o(64985),f=o(68914),m=y(o(21257));function y(e){return e&&e.__esModule?e:{default:e}}class g extends n.default.Component{state={src:this.props.src,fileName:this.props.fileName,width:this.props.width,height:this.props.height,extension:this.props.extension,loading:!1};mounted=!1;defaultExtensions=["jpeg","jpg","png","gif","svg"];_extensions=this.props.acceptedExtensions&&this.props.acceptedExtensions.length>0?this.props.acceptedExtensions:this.defaultExtensions;componentDidMount(){this.mounted=!0}componentDidUpdate(e){this.props.src!==e.src&&this.setState({src:this.props.src,fileName:this.props.fileName,width:this.props.width,height:this.props.height,extension:this.props.extension})}componentWillUnmount(){this.mounted=!1}handleChange=(e,t)=>{const{x:o,y:r,extension:n}=this.props,{src:i,fileName:a,width:l,height:s}=this.state;this.props.onChange({src:i,fileName:a,width:l,height:s,x:o,y:r,extension:n,...e},t)};handleRemove=()=>{const e={src:"",fileName:"",width:0,height:0,x:0,y:0,extension:""};this.setState(e),this.props.onChange(e,{isChanged:"image"})};handleImageChange=()=>{const{api:e={}}=d.default.getAll(),{media:t={}}=e;if(t.addMedia){this.setState({loading:!0});const e=e=>{let{uid:t,fileName:o}=e;if(!t&&!o)return void c.ToastNotification.error((0,p.t)("Invalid uid & fileName"));const r=(0,f.getImageFormat)(o);if(!r)return void c.ToastNotification.error((0,p.t)("Failed to upload file. Please upload a valid JPG, PNG, SVG or GIF image."));const n=(0,f.getImageUrl)({uid:t,fileName:o,sizeType:u.SizeType.original});(0,f.preloadImage)(n).then((e=>{let{width:n,height:i}=e;const{x:a,y:l}=this.props,s={x:a,y:l,src:t,width:n,height:i,extension:r,fileName:o};this.mounted&&this.setState({...s,loading:!1}),this.handleChange(s,{isChanged:"image"})})).catch((e=>{this.setState({loading:!1}),console.log(e)}))},o=e=>{this.setState({loading:!1}),c.ToastNotification.error(e)};t.addMedia.handler(e,o,{acceptedExtensions:this._extensions})}else console.error("Config: Missing addMedia callback")};onUpload=()=>{const{onUpload:e,onlyPointer:t}=this.props;t||(e?e():this.handleImageChange())};renderDraggable(){const{customUrl:e,onlyPointer:t,showPointer:o,x:r,y:i}=this.props,{src:a,width:l,height:c,extension:d,fileName:u}=this.state,p=[n.default.createElement(m.default,{key:a,src:a,width:l,height:c,x:r,y:i,fileName:u,customUrl:e,extension:d,showPointer:o,onChange:this.handleChange})];return t||p.push(n.default.createElement("div",{key:"delete",className:"brz-ed-control__focal-point__delete",onClick:this.handleRemove},n.default.createElement(s.default,{icon:"nc-circle-remove"}))),p}renderUpload(){const{onlyPointer:e}=this.props,{loading:t}=this.state,o=(0,r.default)("brz-label brz-ed-control__focal-point__label",{"brz-ed-control__focal-point__label--disable":e});return n.default.createElement("div",{className:o},t?n.default.createElement("div",{className:"brz-ed-control__focal-point__upload brz-ed-control__focal-point__upload--loading"},n.default.createElement(s.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):n.default.createElement("div",{className:"brz-ed-control__focal-point__upload",onClick:this.onUpload},n.default.createElement(s.default,{icon:"nc-upload"})))}renderSelect(){return this.props.sizes?n.default.createElement(a.Select2,{className:"brz-control__select--dark brz-control__select__auto brz-ed-control__colorPickerSelect--select",value:this.props.size,editable:!1,onChange:this.props.onSizeChange??i.noop,size:"short"},this.props.sizes?.map((e=>n.default.createElement(l.Item,{key:e.value,value:e.value},n.default.createElement("span",{title:e.label},e.label))))):null}render(){const e=(0,r.default)("brz-ed-control__focal-point",this.props.className);return n.default.createElement("div",{className:e},this.state.src?this.renderDraggable():this.renderUpload(),this.state.src?this.renderSelect():null)}}const h=g},16621:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{int:function(){return n},outerHeight:function(){return i},outerWidth:function(){return a},getExtensionsMessage:function(){return l},getExtension:function(){return s},isValidExtension:function(){return c}});const r=o(74183);function n(e){return parseInt(e,10)}function i(e){let t=e.clientHeight;const o=e.ownerDocument.defaultView?.getComputedStyle(e);if(o)return t+=n(o.borderTopWidth),t+=n(o.borderBottomWidth),t}function a(e){let t=e.clientWidth;const o=e.ownerDocument.defaultView?.getComputedStyle(e);if(o)return t+=n(o.borderLeftWidth),t+=n(o.borderRightWidth),t}const l=e=>{const t=e.map((e=>e.toUpperCase())),o=t[t.length-1];return o?t.slice(0,t.length-1).join(", ").concat(" or ",o):""},s=(0,r.checkValue)(["gif","jpeg","jpg","png","svg"]),c=(e,t)=>{const o=s(e);return!!o&&t.includes(o)}},713:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageUpload",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378));var i,a;function l(e){return e&&e.__esModule?e:{default:e}}i=o(38784),a=t,Object.keys(i).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(a,e,{enumerable:!0,get:function(){return i[e]}})}));const s=e=>{let{children:t,onChange:o,className:i}=e;return n.default.createElement("label",{className:(0,r.default)("brz-ed-control__imageUpload",i),onClick:o},t)}},38784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},27495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t="",value:o,onChange:i,onBlur:a,size:l="auto",placeholder:s=""}=e;const c="brz-ed-control__input2",d=(0,n.default)(c,t,`${c}--${l}`);return r.default.createElement("div",{className:d},r.default.createElement("input",{type:"text",value:o,placeholder:s,onChange:e=>{let{target:{value:t}}=e;return i(t)},onBlur:a}))}},15223:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InputHex",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(60042))&&i.__esModule?i:{default:i};var i;const a=o(27495),l=o(22741),s=o(32625),c=o(404);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{className:t,value:o,onChange:i}=e;const[d,u]=(0,r.useState)(o);return(0,s.useDebouncedEffect)((()=>{o!==d&&(0,l.mApply)(i,(0,c.fromString)(d))}),1e3,[d]),(0,r.useEffect)((()=>u(o)),[o]),r.default.createElement(a.Input,{className:(0,n.default)("brz-ed-control__input-hex",t),value:d,onChange:u})}},3518:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=o(10301),i=o(64985),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{const{title:t="",value:o="",icon:l="",type:s="text",required:c=!1,loading:d=!1,onChange:u=n.noop,onKeyDown:p=n.noop,onClickIcon:f=n.noop}=e;return r.default.createElement("div",{className:"brz-input__placeholder"},r.default.createElement("label",{className:"brz-label"},r.default.createElement("input",{required:!0,className:"brz-input",name:t,type:s,value:o,onChange:u,onKeyDown:p}),r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},t,c&&r.default.createElement("span",{className:"brz-span"},"(",(0,i.t)("required"),")")))),l&&r.default.createElement("div",{className:"brz-input__placeholder-icon"},d?r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):r.default.createElement(a.default,{icon:l,onClick:f})))}},99737:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InternalLinkValue",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=n.default.forwardRef(((e,t)=>{let{className:o,value:a,onRemove:l,onClick:s}=e;const c=(0,r.default)("brz-ed-control__internalLink__value",o);return n.default.createElement("div",{className:c,ref:t,onClick:s,style:{position:"relative"}},n.default.createElement("span",{className:"brz-span"},a),l&&n.default.createElement(i.default,{icon:"nc-circle-remove",onClick:l}))}));l.displayName="InternalLinkValue"},78448:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Search",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=l(o(33364)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{loading:t,onChange:o}=e;const l=(0,r.default)("brz-ed-control__internalLink__spinner",{"brz-ed-control__internalLink__spinner--hidden":!t,"brz-ed-animated--spin":t});return n.default.createElement("div",{className:"brz-ed-control__internalLink__search"},n.default.createElement("input",{className:"brz-input",placeholder:(0,a.t)("Type to Search ..."),autoFocus:!0,spellCheck:!1,onChange:o&&(e=>o(e.target.value))}),n.default.createElement(i.default,{icon:"nc-circle-02",className:l}))}},98418:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SelectDropdown",{enumerable:!0,get:function(){return c}});const r=l(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(27998)),a=o(78448);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=n.default.forwardRef(((e,t)=>{let{style:o,searchIsLoading:l,children:s,onSearchChange:c}=e;(0,n.useEffect)((()=>()=>{c?.("")}),[c]);const d=(0,r.default)("brz-ed-control__internalLink__dropdown","brz-ed-control__internalLink__dropdown--with-search",{"brz-ed-control__internalLink__dropdown--search-loading":l});return n.default.createElement("div",{ref:t,className:d,style:o},n.default.createElement(a.Search,{loading:l,onChange:c}),n.default.createElement(i.default,{autoHeight:!0,autoHeightMax:150,renderThumbVertical:e=>n.default.createElement("div",{className:"brz-ed-control__multiSelect__scroll-thumb",...e})},s))}))},26211:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SelectItem:function(){return a},SelectItemNoResults:function(){return l}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=e=>{let{title:t,onClick:o}=e;return r.default.createElement("li",{className:"brz-ed-control__internalLink__option",title:t,onClick:o},r.default.createElement("span",{className:"brz-ed-control__internalLink__option-text"},t))},l=()=>r.default.createElement("li",{className:"brz-ed-control__multiSelect2__option brz-ed-control__multiSelect2__option--disabled"},(0,i.t)("No results"))},98144:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Control",{enumerable:!0,get:function(){return y}});const r=f(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(84989),a=f(o(17882)),l=o(64985),s=o(99737),c=o(98418),d=o(26211),u=o(40756),p=o(99700);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{let{className:t,value:o,placeholder:f,items:m,status:y,loading:g,resetValue:h,onSearch:b,onChange:v}=e;const[S,w]=(0,n.useState)(!1),x=(0,r.default)({"brz-ed-control__internalLink__value--placeholder":!o?.title},t),P=(0,p.trimTitle)(o?.title||f||(0,l.t)("Type name")),C=y===u.Status.NO_RESULT?n.default.createElement(d.SelectItemNoResults,null):n.default.createElement("ul",{className:"brz-ul"},m.map(((e,t)=>n.default.createElement(d.SelectItem,{key:t,title:e.title,onClick:()=>v(e)}))));return n.default.createElement(a.default,{onClickOutside:()=>w(!1)},n.default.createElement("div",{className:"brz-ed-control__internalLink"},n.default.createElement(i.Manager,null,n.default.createElement(i.Reference,null,(e=>{let{ref:t}=e;return n.default.createElement(s.InternalLinkValue,{className:x,ref:t,value:P,onClick:()=>{(0,p.isValuePopulated)(o)||w(!S)},onRemove:o?.title?h:void 0})}))),n.default.createElement("div",{style:{position:"relative"}},n.default.createElement(i.Popper,null,(e=>{let{ref:t,style:o}=e;return S?n.default.createElement(c.SelectDropdown,{ref:t,style:o,searchIsLoading:g,onSearchChange:b},C):null})))))}},40756:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return o}}),function(e){e.INITIAL="initial",e.SUCCESS="success",e.ERROR="error",e.NO_RESULT="no_result"}(o||(o={}))},99700:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{trimTitle:function(){return o},isValuePopulated:function(){return r}});const o=e=>e.length>24?e.slice(0,23)+"...":e,r=e=>!!(e&&e.id&&e.title&&e.permalink)},7098:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=s(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(27998)),a=o(35671),l=o(64985);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{style:t}=e;return n.default.createElement("div",{style:{...t,borderRadius:"inherit",backgroundColor:"rgba(129, 138, 145, 0.5)"}})};class u extends n.Component{static defaultProps={className:"",minItems:1,maxItems:5,itemHeight:30,style:{},choices:[]};state={active:null};scrollbar=n.default.createRef();componentDidMount(){document.addEventListener("keydown",this.handleKeyDown)}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown)}handleUpdateScrollPosition(){const{choices:e,itemHeight:t}=this.props,o=t*e.flatMap((e=>e.optgroup||e)).findIndex((e=>e.value===this.state.active)),r=this.scrollbar.current;r&&r.scrollTop(o)}handleKeyDown=e=>{const{choices:t,onChange:o}=this.props;if(0===t.length)return;const r=t.flatMap((e=>e.optgroup||e)),n=this.state.active??r[0].value,i=r.findIndex((e=>e.value===n));switch(e.which){case 13:o(n);break;case 38:{const e=r[i-1]||{};this.setState({active:e.value??r[0].value},this.handleUpdateScrollPosition);break}case 40:{const e=r[i+1]||{};this.setState({active:e.value??r[r.length-1].value},this.handleUpdateScrollPosition);break}}};renderList(e,t){return e.map(((e,o)=>{if((0,a.isOptgroup)(e))return n.default.createElement("div",{key:o,className:"brz-ed-listbox__optgroup"},n.default.createElement("div",{className:"brz-ed-listbox__optgroup-label"},e.title),this.renderList(e.optgroup,t));const{title:i,value:l}=e,s=(0,r.default)("brz-ed-listbox__item",{"brz-ed-listbox__item--active":t===l});return n.default.createElement("div",{key:o,title:i,className:s,onClick:()=>this.props.onChange(l)},i)}))}render(){const{className:e,style:t,choices:o,itemHeight:a,minItems:s,maxItems:c}=this.props,u=(0,r.default)("brz-ed-listbox",e),p=a*s,f=Math.max(p,a*c),m=o.length?this.renderList(o,this.state.active):n.default.createElement("div",{className:"brz-ed-listbox__item brz-ed-listbox__item--disable"},(0,l.t)("No matches found"));return n.default.createElement("div",{className:u,style:t},n.default.createElement(i.default,{ref:this.scrollbar,renderTrackVertical:()=>(e=>{let{style:t}=e;return n.default.createElement("div",{style:{...t,top:0,bottom:0,right:"3px",width:"3px"},className:"track-vertical"})})(this.props),renderThumbVertical:d,autoHeight:!0,autoHeightMin:p,autoHeightMax:f},m))}}const p=u},2467:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(60042)),n=s(o(27378)),i=s(o(10301)),a=s(o(10944)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}class c extends n.default.Component{static defaultProps={className:"",display:"inline",config:{defaultIcon:null,icons:["nc-settings"]},min:-9999,max:9999,step:1,value:null,attr:{},onChange:i.default.noop};state={activeIcon:this.getInitialIcon(),focusedIcon:0,focused:!1};getInitialIcon(){const{defaultIcon:e,icons:t}=this.props.config;return e||t[0]}handleInputValueChange=(e,t)=>{const{value:o,onChange:r}=this.props;r(o.map(((o,r)=>r===e?t:o)))};handleMouseEnter(e){const{icons:t}=this.props.config;this.setState({activeIcon:t[e]})}handleMouseLeave(){const{icons:e}=this.props.config,{focusedIcon:t,focused:o}=this.state;this.setState({activeIcon:o?e[t]:this.getInitialIcon()})}onFocus(e){const{icons:t}=this.props.config;this.setState({activeIcon:t[e],focusedIcon:e,focused:!0})}onBlur(e){this.setState({activeIcon:this.getInitialIcon(),focusedIcon:e,focused:!1})}render(){const{className:e,attr:t,min:o,max:i,step:s,value:c,display:d}=this.props,{activeIcon:u}=this.state,p=(0,r.default)("brz-ed-option__input-outline","brz-ed-option__multi-input",`brz-ed-option__${d}`,"brz-ed-option__input-number-wrap",e,t.className),f=c.map(((e,t)=>n.default.createElement("div",{key:t,className:"brz-ed-option__multi-input-container",onMouseEnter:()=>this.handleMouseEnter(t),onMouseLeave:()=>this.handleMouseLeave(t)},n.default.createElement(a.default,{className:"brz-input",min:o,max:i,step:s,value:e,onFocus:()=>this.onFocus(t),onBlur:()=>this.onBlur(t),onChange:e=>this.handleInputValueChange(t,e)}))));return n.default.createElement("div",{className:p,...t},n.default.createElement(l.default,{icon:u,className:"brz-icon"}),f)}}const d=c},21525:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MultiSelectItem",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;function i(e){return r.default.createElement("span",e)}},17585:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{MultiSelectItem:function(){return u.MultiSelectItem},MultiSelect:function(){return m}});const r=p(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(27998),a=o(84989),l=p(o(17882)),s=p(o(33364)),c=o(64985),d=o(20464),u=o(21525);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e){let{value:t,valueIsLoading:o,children:i,className:s,placeholder:c,search:u,searchIsEmpty:p,searchIsLoading:f,useAsSimpleSelect:m,showArrow:h,onChange:b,onSearchChange:v}=e;const[S,w]=(0,n.useState)(!1),x=i.map((e=>{let{props:t}=e;return{title:t.title,value:t.value}})),P=(0,r.default)("brz-ed-control__multiSelect2",s);return n.default.createElement(l.default,{onClickOutside:()=>w(!1)},n.default.createElement("div",{className:P},n.default.createElement(a.Manager,null,n.default.createElement(a.Reference,null,(e=>{let{ref:r}=e;return n.default.createElement(y,{customRef:r,items:x,value:t,valueIsLoading:o,showArrow:h,placeholder:c,onClick:()=>w(!S)})})),n.default.createElement("div",{className:"brz-ed-control__multiSelect2__dropdown-container"},n.default.createElement(a.Popper,null,(e=>{let{ref:o,style:r}=e;return S?n.default.createElement(g,{customRef:o,items:x,value:t,style:r,search:u,searchIsEmpty:p,searchIsLoading:f,useAsSimpleSelect:m,onItemClick:e=>{b((0,d.toggleItemValue)(e,t,m)),m&&w(!1)},onSearchChange:v&&(e=>v(e))}):null}))))))}function y(e){let{customRef:t,items:o,value:i,valueIsLoading:a,placeholder:l,showArrow:c,onClick:u}=e;if(a)return n.default.createElement("div",{ref:t,className:"brz-ed-control__multiSelect2__value brz-ed-control__multiSelect2__value--loading"},n.default.createElement(s.default,{icon:"nc-circle-02",className:"brz-ed-control__multiSelect2__spinner brz-ed-animated--spin"}));const p=(0,d.valueTitle)(o,i),f=(0,r.default)("brz-ed-control__multiSelect2__value",{"brz-ed-control__multiSelect2__value--placeholder":void 0===p&&void 0!==l});return n.default.createElement("div",{ref:t,className:f,onClick:u},n.default.createElement("span",{className:"brz-span"},p??l),c&&n.default.createElement(s.default,{icon:"nc-stre-down",className:"brz-control__select--arrow"}))}function g(e){let{customRef:t,items:o,value:a,style:l,search:d,searchIsEmpty:u,searchIsLoading:p,useAsSimpleSelect:f,onItemClick:m,onSearchChange:y}=e;(0,n.useEffect)((()=>()=>{y?.("")}),[]);const g=(0,r.default)("brz-ed-control__multiSelect2__dropdown",{"brz-ed-control__multiSelect2__dropdown--with-search":d,"brz-ed-control__multiSelect2__dropdown--search-loading":p}),v=(0,r.default)("brz-ed-control__multiSelect2__spinner",{"brz-ed-control__multiSelect2__spinner--hidden":!p,"brz-ed-animated--spin":p});return n.default.createElement("div",{ref:t,className:g,style:l},d&&n.default.createElement("div",{className:"brz-ed-control__multiSelect2__search"},n.default.createElement("input",{className:"brz-input",placeholder:(0,c.t)("Type to Search ..."),autoFocus:!0,spellCheck:!1,onChange:y&&(e=>y(e.target.value))}),n.default.createElement(s.default,{icon:"nc-circle-02",className:v})),n.default.createElement(i.Scrollbars,{autoHeight:!0,autoHeightMax:150,renderThumbVertical:e=>n.default.createElement("div",{className:"brz-ed-control__multiSelect__scroll-thumb",...e})},n.default.createElement("ul",{className:"brz-ul"},o.map((e=>n.default.createElement(h,{key:String(e.value),title:e.title,value:e.value,icon:!f,active:a.includes(e.value),onClick:()=>m(e)}))),d&&u&&n.default.createElement(b,null))))}function h(e){let{title:t,active:o=!1,onClick:i,icon:a=!0}=e;const l=(0,r.default)("brz-ed-control__multiSelect2__option",{"brz-ed-control__multiSelect2__option--active":o}),c=o?"nc-check-square-on":"nc-check-square-off";return n.default.createElement("li",{className:l,title:t,onClick:i},a&&n.default.createElement(s.default,{icon:c,className:"brz-ed-control__multiSelect2__option-checkbox"}),n.default.createElement("span",{className:"brz-ed-control__multiSelect2__option-text"},t))}function b(){return n.default.createElement("li",{className:"brz-ed-control__multiSelect2__option brz-ed-control__multiSelect2__option--disabled"},(0,c.t)("No results"))}},20464:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{_valueTitle:function(){return i},valueTitle:function(){return a},toggleItemValue:function(){return l}});const r=o(64985),n=o(6085),i=e=>(t,o)=>{const r=t.filter((e=>o.includes(e.value)));return 1===r.length?r[0].title:r.length>1?(0,n.printf)(e("%s Selected"),String(r.length)):void 0},a=i(r.t),l=(e,t,o)=>t.includes(e.value)?t.filter((t=>t!==e.value)):o?[e.value]:t.concat(e.value)},4287:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NumberComponent",{enumerable:!0,get:function(){return c}});const r=l(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(10944)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o,className:l,size:s="auto",spinner:c=!0,onIncrease:d,onDecrease:u}=e;const p=(0,n.useRef)(),[f,m]=(0,n.useState)("none"),y="brz-ed-control__number",g=(0,r.default)(y,`${y}--${s}`,l),h=(0,n.useCallback)((()=>m("none")),[m]),b=(0,n.useCallback)((()=>m("increase")),[m]),v=(0,n.useCallback)((()=>m("decrease")),[m]),S=(0,n.useCallback)((e=>{e!==t&&o(e)}),[o,t]);return(0,n.useEffect)((()=>{switch(f){case"increase":return p.current&&clearInterval(p.current),void(p.current=setInterval(d,150));case"decrease":return p.current&&clearInterval(p.current),void(p.current=setInterval(u,150));case"none":return void(p.current&&clearInterval(p.current))}}),[f,u,d]),n.default.createElement("div",{className:g},n.default.createElement(i.default,{className:"brz-input",value:t,onChange:S,min:-999999,max:999999,step:1}),c?n.default.createElement("div",{className:`${y}--arrows`},n.default.createElement("div",{className:`${y}--up`,onClick:d,onMouseDown:b,onMouseUp:h},n.default.createElement(a.default,{icon:"nc-stre-up"})),n.default.createElement("div",{className:`${y}--down`,onClick:u,onMouseDown:v,onMouseUp:h},n.default.createElement(a.default,{icon:"nc-stre-down"}))):null)}},33779:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NumberSlider",{enumerable:!0,get:function(){return c}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(48999),l=o(95752);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e){let{value:{number:t,unit:o},onChange:n,className:s,min:c,max:d,inputMin:u,inputMax:p,step:f,units:m}=e;const y=(0,i.useCallback)(((e,t)=>n({number:e,unit:o},t)),[n,o]),g=(0,i.useCallback)((e=>n(e,{editing:!1})),[n]);return i.default.createElement("div",{className:(0,r.default)("brz-ed__control--number-slider",s)},i.default.createElement(l.Slider2,{value:t,onChange:y,step:f,min:c,max:d}),i.default.createElement(a.NumberUnit,{units:m,step:f,min:u?Math.min(c,u):void 0,max:p?Math.max(d,p):void 0,value:{number:t,unit:o},onChange:g}))}},48999:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NumberUnit",{enumerable:!0,get:function(){return u}});const r=s(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(10944)),a=o(18624),l=o(65989);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>32*Math.min(1,Math.max(1,String(e).length-4));function u(e){let{value:{number:t,unit:o},onChange:s,className:c,min:u=-99999,max:p=99999,step:f,units:m}=e;const y=(0,n.useCallback)((e=>{e!==o&&s({number:t,unit:e})}),[t,s,o]),g=(0,n.useCallback)((e=>s({number:t,unit:e})),[s,t]),h=(0,n.useCallback)((()=>{y(m[0].value)}),[y,m]);return n.default.createElement("div",{className:(0,r.default)("brz-ed-control__number-unit",c)},n.default.createElement("div",{className:"brz-ed-control__number-unit__input"},n.default.createElement("div",{className:"brz-invisible",style:{width:d(t)}},t),n.default.createElement(i.default,{className:"brz-input",value:t,onChange:e=>{e!==t&&s({number:e,unit:o})},min:u,max:p,step:f})),m.length>1?n.default.createElement(a.Select2,{className:"brz-slider__select",editable:!1,value:o,onChange:g},m.map(((e,t)=>n.default.createElement(l.Item,{key:t,value:e.value},e.title)))):n.default.createElement("div",{className:(0,r.default)("brz-ed-control__number-unit__unit",{"brz-ed-control__number-unit__unit--active":m.length>1&&m[0].value===o}),onClick:h},o))}},46399:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PayPal",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(3518))&&i.__esModule?i:{default:i};var i;const a=o(8941),l=o(4820),s=o(64985);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{onChange:t,value:o,onCancel:i,onSave:c,label:d}=e;const u=(0,r.useCallback)((e=>t(e.target.value)),[t]);return r.default.createElement(a.PromptFrame,{img:(0,l.assetUrl)("editor/img/paypal-224.jpg"),label:d,onSave:c,onCancel:i,description:(0,s.t)("Allow Brizy to access your PayPal account via API access")},r.default.createElement(n.default,{value:o??"",title:(0,s.t)("API KEY"),onChange:u,required:!0}))}},40333:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Popover",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(60042)),i=o(1424);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,title:o,size:a,placement:l,onOpen:s,onClose:c,children:d,trigger:u,toolbar:p,clickOutsideExceptions:f=[]}=e;const m=(0,n.default)("brz-ed-control__popover",t),y=r.default.createElement("div",{className:"brz-ed-control__popover--content"},d);return r.default.createElement("div",{className:m},r.default.createElement(i.Tooltip,{className:"brz-ed-control__popover--tooltip",placement:l,overlay:y,title:o,size:a,onOpen:s,onClose:c,openOnClick:!0,toolbar:p,clickOutsideExceptions:f},u))}},25611:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PopulationIcon",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(33364));function i(e){return e&&e.__esModule?e:{default:e}}const a=r.default.forwardRef(((e,t)=>{let{className:o,onClick:i}=e;return r.default.createElement("div",{ref:t,className:o,onClick:i},r.default.createElement(n.default,{icon:"nc-dynamic"}))}));a.displayName="PopulationIcon"},36413:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Control",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),n=y(o(27378)),i=o(84989),a=y(o(17882)),l=y(o(97023)),s=y(o(65961)),c=y(o(53799)),d=y(o(33364)),u=o(35671),p=o(9644),f=o(91381),m=o(25611);function y(e){return e&&e.__esModule?e:{default:e}}const g={autoClose:!0},h=[".brz-control__select-current__icon"],b=(e,t)=>e.map((e=>{if((0,u.isOptgroup)(e)){const{title:o,icon:r,optgroup:i}=e;return n.default.createElement(c.default,{key:o||r,title:o,items:b(i,t)},r&&n.default.createElement(d.default,{icon:r}),n.default.createElement("span",{className:"brz-span"},o))}const{value:o,title:r,icon:i}=e;return n.default.createElement(s.default,{key:o,value:o,title:r,active:o===t},i&&n.default.createElement(d.default,{icon:i}),n.default.createElement("span",{className:"brz-span"},r))})),v=e=>{let{isOpen:t,showChoices:o,choices:s,value:c,entityType:d,className:u,handleClickOutside:y,entityTypeChoices:v,entityId:S,entityIdChoices:w,currentDCChoice:x,handleIconClick:P,onChange:C,onEntityTypeChange:T,onEntityIdChange:_}=e;const k=(0,r.default)("brz-control__select--dark","brz-control__select__auto","brz-control__select-population",{"brz-control__select--active":Boolean(c)},u),M=(0,r.default)({"brz-control__select--active":t}),O=(0,r.default)("brz-ed-control__population--wrapper","brz-control__select-current","brz-control__select-current__icon",u),E=x?.attr?.type,{showEntityType:B,showEntityId:z}=(0,p.getVaryAttr)(x?.varyAttr??[]);return n.default.createElement("div",{className:O},n.default.createElement(i.Manager,null,n.default.createElement(i.Reference,null,(e=>{let{ref:t}=e;return n.default.createElement(m.PopulationIcon,{ref:t,className:M,onClick:P})})),n.default.createElement("div",{style:{position:"relative"}},n.default.createElement(i.Popper,{placement:"bottom-start"},(e=>{let{ref:r,style:i}=e;if(!t)return null;const u=x?.value??c;return n.default.createElement(a.default,{exceptions:h,onClickOutside:y},n.default.createElement("div",{style:i,ref:r,className:"brz-ed-control__population-content-wrapper"},o&&n.default.createElement(l.default,{className:k,defaultValue:u,itemHeight:30,onChange:C},b(s,u)),u&&v&&B&&!E&&n.default.createElement(f.Async,{value:d,choices:v,config:g,onChange:T}),u&&z&&(E||d.value)&&n.default.createElement(f.Async,{value:S,choices:w,config:g,onChange:_})))})))))}},33548:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),n=d(o(60042)),i=d(o(10301)),a=d(o(33364)),l=o(73948),s=o(6804),c=d(o(67439));function d(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.Component{static defaultProps={checkIcon:"check",unCheckIcon:"uncheck",className:"",active:!1,value:"",name:"",onClick:i.default.noop};renderForEdit(){const{active:e,className:t,checkIcon:o,unCheckIcon:i,children:l,onClick:s,toolbarIcon:d=null}=this.props,u=(0,n.default)("brz-control__radio-option",{"brz-control__radio-option--active":e},t),p=(0,n.default)("brz-control__radio-check",{"brz-control__radio-check--active":e});return r.default.createElement("div",{className:u,onClick:s},d?r.default.createElement(c.default,d,r.default.createElement(a.default,{className:p,icon:e?`nc-${o}`:`nc-${i}`})):r.default.createElement(a.default,{className:p,icon:e?`nc-${o}`:`nc-${i}`}),l)}renderForView(){const{active:e,className:t,value:o,name:i,checkIcon:a,unCheckIcon:c,required:d,children:u,onClick:p}=this.props,f=(0,n.default)("brz-control__radio-option",{"brz-control__radio-option--active":e},t),m=(0,s.uuid)();return r.default.createElement("div",{className:f,onClick:p},r.default.createElement("input",{id:m,className:"brz-input",type:"radio",name:i,value:o,checked:e,required:d,"data-type":this.props["data-type"],"data-label":this.props["data-label"],onChange:()=>{}}),r.default.createElement("label",{className:"brz-label",htmlFor:m},r.default.createElement(l.ThemeIcon,{className:"brz-control__radio-icon brz-control__radio--check",type:"editor",name:a}),r.default.createElement(l.ThemeIcon,{className:"brz-control__radio-icon brz-control__radio--uncheck",type:"editor",name:c}),u))}render(){return this.renderForEdit()}}},80425:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{RadioItem:function(){return a.default},default:function(){return s}});const r=l(o(10301)),n=l(o(27378)),i=l(o(60042)),a=l(o(33548));function l(e){return e&&e.__esModule?e:{default:e}}class s extends n.default.Component{static defaultProps={name:"defaultName",defaultValue:"",onChange:r.default.noop};state={currentValue:this.props.defaultValue};onItemClick=e=>{this.setState({currentValue:e}),this.props.onChange(e)};getCurrent=()=>r.default.find(this.props.children,(e=>e.props.value===this.state.currentValue))||this.props.children[0];renderOptions(){return n.default.Children.map(this.props.children,((e,t)=>n.default.cloneElement(e,{key:t,active:this.state.currentValue===e.props.value,name:this.props.name,onClick:e.props.disabled?null:this.onItemClick.bind(null,e.props.value)})))}renderForEdit(){const{className:e,name:t,currentValue:o}=this.props,r=(0,i.default)("brz-control__radio",e);return n.default.createElement("div",{className:r},this.renderOptions(),n.default.createElement("input",{className:"brz-input",name:t,type:"hidden",value:o}))}renderForView(){const e=(0,i.default)("brz-control__radio",this.props.className);return n.default.createElement("div",{className:e},this.renderOptions())}render(){return this.renderForEdit()}}},54505:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}class a extends r.default.Component{render(){const{className:e,active:t,children:o,onClick:i}=this.props,a=(0,n.default)("brz-control__radio-option",{active:t},e);return r.default.createElement("div",{className:a,onClick:i},o)}}},30135:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=a(o(10301));function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default.Component{static defaultProps={name:"defaultName",className:"",defaultValue:"",onChange:i.default.noop};onClick=e=>{this.props.onChange(e)};getCurrent=()=>i.default.find(this.props.children,(e=>e.props.value===this.props.defaultValue))||this.props.children[0];renderOptions=()=>i.default.map(this.props.children,((e,t)=>n.default.cloneElement(e,{key:t,active:this.props.defaultValue===e.props.value,onClick:e.props.disabled?null:this.onClick.bind(null,e.props.value)})));render(){const{className:e,name:t,defaultValue:o}=this.props,i=(0,r.default)("brz-ed-control__radio-group flex items-center",e);return n.default.createElement("div",{className:i},this.renderOptions(),n.default.createElement("div",null,n.default.createElement("input",{className:"brz-input",name:t,type:"hidden",value:o})))}}},74224:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(33364);function a(e){let{icon:t}=e;return r.default.createElement(i.EditorIcon,{icon:t})}},61046:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RadioGroup2",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){let{children:t,onChange:o,className:i}=e;const a=(0,r.default)("brz-ed-control__radio-group2 flex m-0",i);return n.default.createElement("div",{className:a},t.map(((e,t)=>{const i=(0,r.default)("brz-ed-control__radio-group2__item flex m-0 flex w-[37px] h-[30px] border-t-0 border-r border-b-0 border-l-0 border-solid border-r-control-color bg-option-content-bg text-option-content-color overflow-hidden items-center justify-center text-[16px] cursor-pointer transition-[background-color] duration-200 ease-linear delay-[0s] first:rounded-tl-[4px] first:rounded-bl-[4px] last:border-r-0 last:rounded-tr-[4px] last:rounded-br-[4px]",{"brz-ed-control__radio-group2__item--active flex m-0 !bg-brand-primary":e.props.active});return n.default.createElement("div",{className:i,key:t,onClick:()=>o(e.props.value),title:e.props.title},e)})))}},3449:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Range:function(){return l},default:function(){return s}});const r=a(o(27378)),n=a(o(60042)),i=o(50116);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,min:o,max:a,step:l,startPointer:s,finishPointer:c,allowCross:d,handle:u,railStyle:p,onChange:f}=e;const m=(0,n.default)("brz-ed-control__range",t);return r.default.createElement("div",{className:m},r.default.createElement(i.Range,{count:1,defaultValue:[s,c],min:o,max:a,step:l,allowCross:d,handle:u,railStyle:p,onChange:f}))},s=l},48995:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RangeSlider",{enumerable:!0,get:function(){return d}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(95752),l=o(28502),s=o(78438);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{start:t,end:o,unit:n,onChangeStart:c,onChangeEnd:d,className:u,min:p,max:f,step:m,startLabel:y,endLabel:g}=e;const h=(0,i.useCallback)((e=>c((0,s.clamp)(e,p,o))),[c,o,p]),b=(0,i.useCallback)((e=>d((0,s.clamp)(e,t,f))),[d,f,t]),v=100*t/f,S=100*o/f;return i.default.createElement("div",{className:(0,r.default)("brz-ed__control--range-slider",u)},y?i.default.createElement(l.Label,{className:"brz-ed__control--range-slider__left-label"},y):null,i.default.createElement("div",{className:"brz-ed__control--range-slider__inputs"},i.default.createElement("div",{className:"brz-ed__control--range-slider__sliders"},i.default.createElement(a.Slider2,{value:t,onChange:h,step:m,min:p,max:f}),i.default.createElement(a.Slider2,{className:"brz-ed__control--range-slider__to",value:o,onChange:b,step:m,min:p,max:f})),i.default.createElement("div",{className:"brz-ed__control--range-slider__values"},i.default.createElement("span",{className:"brz-ed__control--range-slider__values__from",style:{marginLeft:`calc(${v}% - 9px)`}},t,n),i.default.createElement("span",{className:"brz-ed__control--range-slider__values__to",style:{marginRight:`calc(100% - ${S}% - 9px)`}},o,n))),g?i.default.createElement(l.Label,{className:"brz-ed__control--range-slider__right-label"},g):null)}},12317:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=m(o(60042)),n=m(o(71502)),i=m(o(6676)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),l=o(84989),s=o(70634),c=m(o(10301)),d=m(o(33364)),u=m(o(21107)),p=o(81300),f=o(64985);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}const g=(e,t,o,r)=>{const n=t*o,i=t*r,a=e*t;return Math.max(n,Math.min(i,a))};class h extends a.Component{state={inputValue:""};selectRef=a.default.createRef();inputRef=a.default.createRef();handleChange=(e,t)=>{let{isOpen:o}=t;const{isMultiple:r,value:n,onChange:i}=this.props;if(r){if(o||this.setState({inputValue:""}),c.default.has(e,"value")){const t=Array.isArray(n)?n:[];i((0,s.addLast)(t,e.value))}}else e&&"label"in e&&(this.setState({inputValue:e.value}),i(e))};handleInputChange=e=>{this.setState({inputValue:e.target.value})};handleRemoveTag=e=>{const{value:t,onChange:o}=this.props;Array.isArray(t)&&o((0,s.removeAt)(t,e))};handleInputKeyDown=e=>{const{value:t,isMultiple:o,onChange:r}=this.props;o&&Array.isArray(t)&&"Backspace"===e.code&&!this.state.inputValue&&r((0,s.removeLast)(t))};itemToString(e){return e?e.label:""}renderTags(e){return Array.isArray(e)?e.map(((e,t)=>a.default.createElement("div",{key:t,className:"brz-control__select2-tag"},e,a.default.createElement(d.default,{icon:"nc-trash",onClick:()=>{this.handleRemoveTag(t)}})))):null}renderInput(e){const{isMultiple:t,selectedItem:o,isOpen:r,toggleMenu:n,inputProps:i}=e,s=t?"brz-control__select2-value-container-tag":"brz-control__select2-value-container";return a.default.createElement(l.Reference,null,(e=>{let{ref:l}=e;return a.default.createElement("div",{ref:l,className:s,onClick:()=>{n(),!r&&this.inputRef.current?.focus()}},t&&Array.isArray(o)&&this.renderTags(o),a.default.createElement("input",{...i,className:"brz-input brz-control__select2-value"}))}))}renderDropdown(e){const{className:t,options:o,value:n,isMultiple:s,placement:c,isFixed:d,itemHeight:m=30,minItems:y=1,maxItems:h=5,isOpen:b,inputValue:v,highlightedIndex:S,selectedItem:w,getItemProps:x,getMenuProps:P}=e;if(!b)return;const C=Array.isArray(n)&&s?o.filter((e=>n.every((t=>t!==e.value)))):o,T=this.selectRef.current,_=T?.getBoundingClientRect().width,k=T?.ownerDocument.body,M=(0,r.default)("brz-ed-select2-portal",t),O=new i.default(C,["value"]);return k&&a.default.createElement(u.default,{node:k,className:M},a.default.createElement(l.Popper,{placement:c,strategy:d?"fixed":"absolute"},(e=>{let{ref:t,style:o,placement:n}=e;const i=O.search(v).map(((e,t)=>a.default.createElement("li",{key:e.value,...x({index:t,item:e}),className:(0,r.default)("brz-li brz-control__select2-option",{"brz-control__select2-option--active":w===e.value||S===t})},e.value)));return a.default.createElement("div",{ref:t,style:{...o,width:_},className:"brz-control__select2-menu","data-placement":n},a.default.createElement(p.Scrollbar,{autoHeightMax:g(i.length,m,y,h),theme:"dark"},a.default.createElement("ul",{...P(),className:"brz-ul"},i.length>0?i:a.default.createElement("li",{className:"brz-li brz-control__select2-option"},(0,f.t)("Nothing Found")))))})))}render(){const{className:e,placeholder:t,isMultiple:o,value:i}=this.props,{inputValue:s}=this.state,c=(0,r.default)("brz-control__select2-container",e);return a.default.createElement("div",{ref:this.selectRef,className:c},a.default.createElement(l.Manager,null,a.default.createElement(n.default,{initialSelectedItem:i,selectedItem:i,onChange:this.handleChange,itemToString:this.itemToString},(e=>{let{getInputProps:r,getItemProps:n,getMenuProps:i,isOpen:l,highlightedIndex:c,selectedItem:d,toggleMenu:u}=e;return a.default.createElement("div",{className:"brz-control__select2"},this.renderInput({inputProps:r({ref:this.inputRef,placeholder:t,value:s,onKeyDown:this.handleInputKeyDown,onChange:this.handleInputChange}),isMultiple:o,selectedItem:d,isOpen:l,toggleMenu:u}),this.renderDropdown({...this.props,inputValue:s,isOpen:l,highlightedIndex:c,selectedItem:d,getMenuProps:i,getItemProps:n}))}))))}}const b=h},58694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReloadButton",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=o(64985),a=o(44010);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{className:t,onClick:o}=e;return n.default.createElement(a.Button,{className:(0,r.default)("brz-ed-control__reload-button",t),icon:"nc-reverse",onClick:o},(0,i.t)("Replay Animation"))}},27080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(33364));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{icon:t,title:o,onClick:i}=e;return r.default.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__icon"},r.default.createElement(n.default,{icon:t,onClick:i}),r.default.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__icon__tooltip"},o))}},56434:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RightSidebarTabs",{enumerable:!0,get:function(){return d}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(20116),l=o(27080),s=o(85179);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{children:t,value:o,onChange:n,align:c,onAlign:d,locked:u,onLock:p}=e;const f=(0,i.useMemo)((()=>t.find((e=>e.props.value===o))??t[0]),[t,o]),m=(0,i.useMemo)((()=>f?i.default.createElement("div",{className:(0,r.default)("brz-ed-control__tab__content",f.props.className)},f.props.children):null),[f]);return i.default.createElement("div",{className:"brz-ed-control__right-sidebar-tabs"},i.default.createElement("div",{className:"brz-ed-control__right-sidebar-tabs__header"},i.default.createElement(a.TabList,{onChange:n,active:f?.props.value,align:"start",position:"top"},t),d&&i.default.createElement(l.Icon,{icon:(0,s.alignIcon)(c),title:(0,s.alignTitle)(c),onClick:d}),p&&i.default.createElement(l.Icon,{icon:(0,s.lockedIcon)(u),title:(0,s.lockedTitle)(u),onClick:p})),m)}},85179:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{alignIcon:function(){return n},alignTitle:function(){return i},lockedIcon:function(){return a},lockedTitle:function(){return l}});const r=o(64985),n=e=>{switch(e){case"right":return"nc-hrz-align-right";case"left":return"nc-hrz-align-left"}},i=e=>{switch(e){case"right":return(0,r.t)("Aligned Right");case"left":return(0,r.t)("Aligned Left")}},a=e=>{switch(e){case!0:return"nc-lock";case!1:return"nc-unlock"}},l=e=>{switch(e){case!0:return(0,r.t)("Locked");case!1:return(0,r.t)("Unlocked")}}},74521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SavedBlock",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{onClick:t,className:o,title:a,tooltipContent:l,loading:s,icon:c}=e;const d=(0,r.default)("brz-ed-option__button","brz-ed-tooltip__content",o);return n.default.createElement("div",{className:d,title:a,onClick:t},l&&!s&&n.default.createElement("div",{className:"brz-ed-toolbar__item__tooltip"},l),s?n.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):n.default.createElement(i.default,{icon:c,className:"brz-ed-animated brz-ed-animated--fadeIn"}))}},65961:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(23615)),i=l(o(10301)),a=l(o(60042));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static propTypes={active:n.default.bool,selected:n.default.bool,title:n.default.string,disabled:n.default.bool,value:n.default.oneOfType([n.default.string,n.default.number]),onClick:n.default.func};static defaultProps={active:!1,selected:!1,title:"",disabled:!1,value:"",onClick:i.default.noop};getClassName(){return(0,a.default)("brz-control__select-option",{active:this.props.active,disabled:this.props.disabled})}render(){const{title:e,disabled:t,onClick:o,value:n,children:i}=this.props,a=t?()=>{}:o;return r.default.createElement("div",{className:this.getClassName(),title:e,"data-value":n,onClick:a},i)}}const c=s},53799:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}class i extends r.Component{static defaultProps={title:"",active:"",items:[]};render(){const{title:e,items:t,children:o}=this.props;return r.default.createElement("div",{title:e,className:"brz-control__select-optgroup"},r.default.createElement("div",{className:"brz-control__select-optgroup-label"},o),t)}}const a=i},97023:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),n=d(o(27378)),i=d(o(10301)),a=d(o(17882)),l=d(o(33364)),s=d(o(21107)),c=o(81300);function d(e){return e&&e.__esModule?e:{default:e}}o(73948);class u extends n.default.Component{static defaultProps={defaultValue:"",inputAttributes:{},labelType:"input",labelIcon:"nc-menu",minItems:1,maxItems:5,itemHeight:38,arrowIcon:"nc-arrow-down",inPortal:!1,clickOutsideExceptions:[],fullWidth:!1,onChange:i.default.noop};state={isOpen:!1,currentValue:this.props.defaultValue,position:"bottom-left"};componentDidMount(){this.props.inPortal||this.reposition()}static getDerivedStateFromProps(e,t){return t.defaultValue!==e.defaultValue?{currentValue:e.defaultValue}:null}getScrollPaneStyle(){const{children:e}=this.props,t=n.default.Children.count(e);let o=0;return n.default.Children.forEach(e,(e=>{if(e?.props){const{items:t}=e.props;t&&t.length&&(o+=t.length)}})),function(e,t,o,r){const n=t*o,i=t*r,a=e*t;return Math.max(n,Math.min(i,a))}(t+o,this.props.itemHeight,this.props.minItems,this.props.maxItems)}onClickOutside=()=>{this.state.isOpen&&this.setState({isOpen:!1})};handleItemClick=e=>{this.setState({isOpen:!1,currentValue:e}),this.props.onChange(e)};handleContentRef=e=>{this.content=e};handleDropdownNode=e=>{this.dropdown=e};handleLabelClick=()=>{this.setState({isOpen:!this.state.isOpen},(()=>{this.state.isOpen&&this.reposition()}))};reposition(){this.dropdown&&(this.isRepositioning=!0,this.dropdown.style.setProperty("opacity",1),this.setState({position:"bottom-left"},(()=>{const{bottom:e,right:t}=this.dropdown.getBoundingClientRect(),o=e>=window.innerHeight?"top":"bottom",r=t>=window.innerWidth?"right":"left";this.setState({position:`${o}-${r}`},(()=>{this.isRepositioning=!1}))})))}renderLabel(){const{labelType:e}=this.props;switch(e){case"icon":return this.renderLabelIcon();case"input":return this.renderLabelInput();default:throw new Error(`Invalid label type ${e}`)}}renderLabelIcon(){return n.default.createElement(l.default,{icon:this.props.labelIcon})}renderLabelInput(){const{children:e}=this.props,{currentValue:t}=this.state;let o;n.default.Children.forEach(e,(e=>{if(!e||o)return;const{items:r}=e.props;if(r&&r.length){const r=n.default.Children.toArray(e.props.items);o=r.find((e=>e.props.value===t))}else e.props.value===t&&(o=e)}));const r=n.default.createElement(l.default,{icon:"nc-stre-down",className:"brz-control__select--arrow"}),i=o||this.findFirstItem();return n.default.createElement(n.default.Fragment,null,n.default.cloneElement(i,{selected:!0}),r)}renderItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.children;const{currentValue:t}=this.state;return n.default.Children.map(e,((e,o)=>{if(!e)return null;const{value:r,disabled:i,items:a}=e.props;return a&&a.length?n.default.cloneElement(e,{key:o,items:this.renderItems(a)}):n.default.cloneElement(e,{key:o,active:r===t,onClick:i?null:()=>this.handleItemClick(r)})}))}renderDropDown(){const{inPortal:e,className:t}=this.props;if(this.state.isOpen&&!e)return n.default.createElement("div",{className:"brz-control__select-options",style:{opacity:0},ref:this.handleDropdownNode},n.default.createElement(c.Scrollbar,{autoHeightMax:this.getScrollPaneStyle(),theme:"light"},this.renderItems()));if(this.state.isOpen&&e){const{top:e,left:o,height:i,width:a}=this.content.getBoundingClientRect(),{scrollLeft:l}=this.content.ownerDocument.documentElement,d=(0,r.default)("brz-control__portal-select brz-control__select",t),u={top:e+i+3,left:o+l,width:a};return n.default.createElement(s.default,{node:this.content.ownerDocument.body,className:d},n.default.createElement("div",{className:"brz-control__select-options",style:u},n.default.createElement(c.Scrollbar,{autoHeightMax:this.getScrollPaneStyle(),theme:"light"},this.renderItems())))}}render(){const{className:e,labelType:t,currentValue:o,inputAttributes:i,fullWidth:l,clickOutsideExceptions:s}=this.props,{position:c,isOpen:d}=this.state,u=(0,r.default)("brz-control__select",`brz-control__select--${c}`,e,{opened:d,"brz-control__select--full-width":l}),p=[...s,".brz-control__portal-select"];return n.default.createElement(a.default,{exceptions:p,onClickOutside:this.onClickOutside},n.default.createElement("div",{className:u,ref:this.handleContentRef},n.default.createElement("div",{className:`brz-control__select-current brz-control__select-current__${t}`,onClick:this.handleLabelClick},this.renderLabel()),this.renderDropDown(),n.default.createElement("input",{type:"hidden",value:o,...i})))}findFirstItem(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.children;return n.default.Children.forEach(t,(t=>{if(!t||e)return;const{items:o}=t.props;e=o&&o.length?this.findFirstItem(o):t})),e}}const p=u},4234:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return b}});const r=m(o(60042)),n=m(o(71502)),i=g(o(27378)),a=o(27998),l=o(84989),s=o(10301),c=o(40076),d=m(o(33364)),u=g(o(59638)),p=o(22741),f=o(44054);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const h=e=>e?.ownerDocument?.defaultView||window;function b(e){let{className:t,placeholder:o="",children:m,tags:y,editable:g,size:b,onKeyDown:v,onType:S,onSelect:w,inputValue:x,scroll:P=5,autoClose:C,onOpen:T}=e;const _=(0,i.useRef)(null),k=(0,i.useRef)(null),[M,O]=(0,i.useState)(0),[E,B]=(0,i.useState)(!1);(0,i.useEffect)((()=>O(0)),[m.length]);const z=e=>{let{scrollHeight:t}=e;M||O((0,f.dropdownHeight)(t,m.length,P))},I=(0,i.useCallback)((e=>(0,p.mCompose)(w,(0,s.property)("value"),(0,s.property)("props"))(e)),[w]);(0,i.useEffect)((()=>{B(!0)}),[]);const j=(0,r.default)("brz-ed-control__multiSelect",`brz-ed-control__multiSelect--size-${b}`,t);return i.default.createElement("div",{ref:_,className:j},i.default.createElement(l.Manager,null,i.default.createElement(n.default,{key:Number(E),environment:h(_.current),onChange:I,itemToString:e=>u.mRead(e?.key)},(e=>{let{openMenu:t,isOpen:r,getMenuProps:n,getItemProps:s,closeMenu:u}=e;const p=()=>{r?C&&u():(T&&T(),t()),k.current?.focus()};return i.default.createElement("div",null,i.default.createElement(l.Reference,null,(e=>{let{ref:t}=e;return i.default.createElement("div",{ref:t,className:"brz-ed-control__multiSelect--value-container",onClick:()=>p()},y,g&&i.default.createElement("input",{placeholder:o,ref:k,value:x,size:x?.length||1,onChange:e=>{let{target:t}=e;S?.(t.value),p()},onKeyDown:v,onFocus:()=>{p()},className:"brz-input brz-ed-control__multiSelect--value"}),!g&&i.default.createElement(i.default.Fragment,null,0===y.length&&i.default.createElement("span",{className:"brz-ed-control__multiSelect--placeholder"},o),i.default.createElement(d.default,{icon:"nc-stre-down",className:"brz-control__select--arrow"})))})),i.default.createElement("div",{className:"brz-ed-control__multiSelect__menu-container"},i.default.createElement(l.Popper,null,(e=>{let{ref:t,style:o,placement:l}=e;if(!r)return null;const d=m.map(((e,t)=>{const o=s({item:e,key:t,disabled:e.props.disabled});return i.default.createElement(c.SelectItem,{key:t,...o,...e.props})}));return d.length?i.default.createElement("div",{ref:t,style:o,className:"brz-ed-control__multiSelect__menu","data-placement":l},i.default.createElement(a.Scrollbars,{onUpdate:z,autoHeight:!0,autoHeightMax:M,renderThumbVertical:e=>i.default.createElement("div",{className:"brz-ed-control__multiSelect__scroll-thumb",...e})},i.default.createElement("ul",{...n(),className:"brz-ul"},d))):null}))))}))))}},65989:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Item",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;function i(e){let{children:t}=e;return r.default.createElement(r.default.Fragment,null,t)}},39068:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(10301),i=o(4234),a=o(40076),l=o(52705),s=o(44054);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{className:t,value:o,children:c,onChange:d,scroll:u,editable:p=!0,size:f="medium",placeholder:m="",hideSelected:y=!0,autoClose:g,onOpen:h,inputValue:b,onInputChange:v}=e;const[S,w]=(0,r.useState)();(0,r.useEffect)((()=>{void 0!==S&&w(void 0)}),[c,S]);const x=e=>{d(o.filter((t=>t!==e)))},P=o.reduce(((e,t)=>{const o=c.find((e=>e.props.value===t));return void 0!==o&&e.push(r.default.createElement(l.Tag,{key:o.props.value,onRemove:()=>x(o.props.value)},o.props.children)),e}),[]);if(0===P.length){const[e]=c;P.push(r.default.createElement(l.Tag,{key:e.props.value,onRemove:()=>x(e.props.value)},e.props.children))}const C=c.filter((e=>{let{props:t}=e;return!(y&&o.includes(t.value))}));return r.default.createElement(i.Component,{className:t,placeholder:m,size:f,inputValue:b,tags:P,editable:p,scroll:u,autoClose:g,onSelect:e=>{d((0,n.uniq)([...o,e])),v?.("")},onKeyDown:e=>{const t=e.key;switch(t){case"ArrowDown":case"ArrowUp":{const o=C.filter((e=>!e.props.disabled));if(o.length>0){const r=void 0!==S?(0,s.arrowFn)(t)(S,o.map((e=>e.props.value))):o[0].props.value;w(r),e.preventDefault()}break}case"Enter":void 0!==S&&(d((0,n.uniq)([...o,S])),v?.(""));break;case"Backspace":!b?.length&&o.length&&d((0,n.initial)(o))}},onType:v,onOpen:h},C.map((e=>{let{props:t}=e;return r.default.createElement(a.SelectItem,{...t,active:(n=t.value,S===n||o.includes(n)),key:t.value});var n})))}},40076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SelectItem",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){let{children:t,active:o,disabled:i,...a}=e;const l=(0,n.default)({"brz-ed-control__multiSelect__option":!0,"brz-ed-control__multiSelect__option--active":o,"brz-ed-control__multiSelect__option--disabled":i}),s="string"==typeof t?t:"";return r.default.createElement("li",{className:l,title:s,...a},t)}},52705:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(33364));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{onRemove:t,children:o}=e;const i="string"==typeof o?o:"";return r.default.createElement("div",{className:"brz-ed-control__multiSelect--tag"},r.default.createElement("div",{className:"brz-ed-control__multiSelect--tag--value",title:i},o),r.default.createElement(n.default,{icon:"nc-trash",onClick:t}))}},18624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Select2",{enumerable:!0,get:function(){return d}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(10301),l=o(22741),s=o(39068);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{value:t,onChange:o,children:n,className:c,...d}=e;const u=void 0!==t?[t]:[],p=(0,i.useCallback)((e=>(0,l.mCompose)(o,a.last)(e)),[o]);return i.default.createElement(s.Select,{...d,className:(0,r.default)(c,"brz-ed-control__select-single"),onChange:p,value:u,hideSelected:!1},n)}},44054:(e,t)=>{"use strict";function o(e){return e.props.value}function r(e,t){const r=t.map(o).indexOf(e);return r<0?void 0:r}function n(e,t){if(t.length<=1)return t[0]?t[0]:void 0;const o=t.indexOf(e);return-1===o?t[0]:0===o?t[t.length-1]:o>=t.length?t[t.length-2]:t[o-1]}function i(e,t){if(t.length<=1)return t[0]?t[0]:void 0;const o=t.indexOf(e);return-1===o||o>=t.length-1?t[0]:t[o+1]}function a(e,t,o){"function"==typeof t?t(o).then(e):e(t)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getValue:function(){return o},getIndex:function(){return r},prevValue:function(){return n},nextValue:function(){return i},apply:function(){return a},arrowFn:function(){return l},dropdownHeight:function(){return s}});const l=e=>"ArrowDown"===e?i:n,s=(e,t,o)=>t<=o?e:e/t*o},11735:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(10301)),i=l(o(60042)),a=l(o(50116));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={value:100,min:0,max:100,step:1,onChange:n.default.noop,onChangeEnd:n.default.noop};render(){const{className:e,value:t,min:o,max:n,step:l}=this.props,s=(0,i.default)("brz-ed-control__slider",e);return r.default.createElement("div",{className:s},r.default.createElement(a.default,{value:t,min:o,max:n,step:l,onChange:this.props.onChange,onAfterChange:this.props.onChangeEnd}))}}},95752:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Slider2",{enumerable:!0,get:function(){return d}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(73904),l=o(94306),s=o(22741);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{value:t,onChange:o,className:n,min:c,max:d,step:u}=e;const p=(0,i.useCallback)((e=>(0,s.mCompose)((e=>o(e,{editing:!0})),a.read,l.inputValue)(e)),[o]),f=(0,i.useCallback)((e=>(0,s.mCompose)((e=>o(e,{editing:!1})),a.read,l.inputValue)(e)),[o]);return i.default.createElement("input",{className:(0,r.default)("brz-input brz-ed-control--slider2",n),type:"range",value:t,min:c,max:d,step:u,onChange:p,onMouseUp:f})}},96101:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Spacer",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{space:t}=e;return r.default.createElement("div",{style:{paddingBottom:t}})}},10402:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Slider",{enumerable:!0,get:function(){return d}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(33779),l=o(73469),s=o(26318);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{value:t,unit:o,onUnit:n,onValue:c,label:d,icon:u,units:p,min:f,max:m,step:y,className:g,title:h}=e;const b=(0,i.useMemo)((()=>({number:t,unit:o})),[t,o]),v=(0,i.useCallback)((e=>{e.number!==t&&c(e.number),e.unit!==o&&n(e.unit)}),[t,o,c,n]);return i.default.createElement(s.OptionWrapper,{className:(0,r.default)("brz-ed-option",g),display:"inline",title:h},i.default.createElement(l.OptionLabel,{label:d,icon:u}),i.default.createElement(a.NumberSlider,{value:b,onChange:v,step:y,min:f,max:m,units:p}))}},6086:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Spacing",{enumerable:!0,get:function(){return f}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(50987),l=o(61046),s=o(74224),c=o(26318),d=o(10402),u=o(89480);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e){let{className:t,label:o,type:n,value:p,onType:f,onValue:m,onUnit:y,units:g,getIcon:h,min:b,max:v,step:S}=e;const w=(0,i.useMemo)((()=>u.edges.reduce(((e,t)=>(e[t]={onValue:m.bind(null,t),onUnit:y.bind(null,t)},e)),{})),[m,y]);return i.default.createElement(a.Group,{className:(0,r.default)("brz-ed-control__spacing",t)},i.default.createElement(c.OptionWrapper,{display:"inline",className:"brz-ed-option"},o,i.default.createElement(l.RadioGroup2,{onChange:f},u.types.map((e=>i.default.createElement(s.Item,{key:e,icon:h(e),value:e,active:e===n}))))),"grouped"===n&&i.default.createElement(d.Slider,{value:p.all.number,unit:p.all.unit,onValue:w.all.onValue,onUnit:w.all.onUnit,units:g,step:S,min:b,max:v}),"ungrouped"===n&&Object.keys(p).filter((e=>"all"!==e)).map((e=>i.default.createElement(d.Slider,{key:e,icon:h(e),value:p[e].number,unit:p[e].unit,onValue:w[e].onValue,onUnit:w[e].onUnit,units:g,step:S,min:b,max:v}))))}},89480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{edges:function(){return o},types:function(){return r}});const o=["all","top","right","bottom","left"],r=["grouped","ungrouped"]},52049:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(60042)),n=s(o(27378)),i=s(o(10301)),a=s(o(33364)),l=s(o(10944));function s(e){return e&&e.__esModule?e:{default:e}}class c extends n.default.Component{static defaultProps={className:"",min:0,max:10,step:1,value:1,onChange:i.default.noop};nodeRef=n.default.createRef();inputRef=n.default.createRef();mounted=!1;mouseDown=!1;timeoutId=null;intervalId=null;componentDidMount(){this.mounted=!0,this.nodeRef.current?.ownerDocument.addEventListener("mouseup",this.handleDocumentMouseUp)}componentWillUnmount(){this.mounted=!1,this.nodeRef.current?.ownerDocument.removeEventListener("mouseup",this.handleDocumentMouseUp),this.timeoutId&&clearTimeout(this.timeoutId),this.intervalId&&clearInterval(this.intervalId)}handleDocumentMouseUp=()=>{this.mouseDown&&(this.mouseDown=!1,this.timeoutId&&clearTimeout(this.timeoutId),this.intervalId&&clearInterval(this.intervalId))};handleIncrement=()=>{this.emulateNativeInput(this.handleIncrementCb)};handleIncrementCb=()=>{this.inputRef.current?.increment()};handleDecrement=()=>{this.emulateNativeInput(this.handleDecrementCb)};handleDecrementCb=()=>{this.inputRef.current?.decrement()};emulateNativeInput(e){e(),this.mouseDown=!0,this.timeoutId=setTimeout((()=>{this.mounted&&this.mouseDown&&(this.intervalId=setInterval((()=>{this.mounted&&this.mouseDown&&e()}),50))}),400)}render(){const{className:e,value:t,min:o,max:i,step:s,onChange:c}=this.props,d=(0,r.default)("brz-ed-control__stepper",e);return n.default.createElement("div",{ref:this.nodeRef,className:d},n.default.createElement("div",{className:"brz-ed-control__stepper--value"},n.default.createElement(l.default,{ref:this.inputRef,className:"brz-input brz-ed-control__input",value:t,min:o,max:i,step:s,onChange:c,handleDecrementCb:this.handleDecrementCb})),n.default.createElement("div",{className:"brz-ed-control__stepper--arrows"},n.default.createElement("div",{className:"brz-ed-control__stepper--up",onMouseDown:this.handleIncrement},n.default.createElement(a.default,{icon:"nc-stre-up"})),n.default.createElement("div",{className:"brz-ed-control__stepper--down",onMouseDown:this.handleDecrement},n.default.createElement(a.default,{icon:"nc-stre-down"}))))}}},1014:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Switch",{enumerable:!0,get:function(){return s}});const r=a(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e){let{className:t,value:o,onChange:a}=e;const l=(0,n.useCallback)((()=>a(!o)),[a,o]),s=(0,r.default)({[t||""]:!0,"brz-ed-control__switch":!0,"brz-ed-control__switch--on":o});return n.default.createElement("div",{className:s,onClick:l},n.default.createElement("label",{className:"brz-label brz-ed-control__switch-label"},n.default.createElement("span",{className:"brz-span brz-ed-control__switch-arrows"},n.default.createElement(i.default,{className:"brz-ed-control__switch--check",icon:"nc-check-small"}),n.default.createElement(i.default,{className:"brz-icon-svg brz-ed-control__switch--un-check",icon:"nc-remove"}),n.default.createElement("span",{className:"brz-span brz-ed-control__switch--handle"}))))}},47347:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;class i extends r.default.Component{render(){return this.props.children}}},75276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(10301)),n=s(o(27378)),i=s(o(23615)),a=s(o(60042)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}class c extends n.default.Component{static propTypes={align:i.default.string,className:i.default.string,tabsClassName:i.default.string,tabsPosition:i.default.string,value:i.default.string,hideHandlesWhenOne:i.default.bool,onChange:i.default.func};static defaultProps={align:"",className:"",tabsClassName:"",tabsPosition:"top",value:"",hideHandlesWhenOne:!0,onChange:r.default.noop,helper:null};renderTabs=()=>{const{value:e,hideHandlesWhenOne:t,align:o,tabsPosition:r,tabsClassName:i,children:s,onChange:c}=this.props,d=n.default.Children.toArray(s);if(0===d.length||1===d.length&&t)return null;const u=(0,a.default)("brz-ul brz-ed-control__tabs",`brz-justify-content-xs-${o}`,`brz-ed-control__tabs__${r}`,i),p=d.map(((t,o)=>{const{icon:r,value:i,title:s,label:d}=t.props,u=(0,a.default)("brz-li brz-ed-control__tab",{"brz-ed-control__tab__icon":r,active:e===i});return n.default.createElement("li",{key:o,title:s,className:u,onClick:()=>c(i)},r&&n.default.createElement(l.default,{icon:r}),n.default.createElement("span",{className:"brz-span"},d))}));return n.default.createElement("ul",{className:u},p)};renderTabContent=()=>{const{value:e,tabsPosition:t,children:o}=this.props,r=n.default.Children.toArray(o),i=(0,a.default)("brz-ed-control__tab__content",`brz-ed-control__tabs__content__${t}`),l=r.find((t=>e===t.props.value));return l&&n.default.createElement("div",{className:i},l.props.children)};render(){return n.default.createElement("div",{className:this.props.className},this.props.helper,this.renderTabs(),this.renderTabContent())}}},59141:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Tabs:function(){return r.default},Tab:function(){return n.default}});const r=i(o(75276)),n=i(o(47347));function i(e){return e&&e.__esModule?e:{default:e}}},99897:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tab",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;function i(e){let{children:t}=e;return r.default.createElement(r.default.Fragment,null,t)}},20116:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TabList",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(60042)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){let{className:t,active:o,onChange:a,align:l,position:s,children:c}=e;const d=(0,n.default)("brz-ul brz-ed-control__tabs",`brz-justify-content-xs-${l}`,`brz-ed-control__tabs__${s}`,t),u=c.map(((e,t)=>{const{icon:l,value:s,title:c,label:d}=e.props,u=(0,n.default)("brz-li brz-ed-control__tab",{"brz-ed-control__tab__icon":l,active:o===s});return r.default.createElement("li",{key:t,title:c,className:u,onClick:()=>a(s)},l&&r.default.createElement(i.default,{icon:l}),r.default.createElement("span",{className:"brz-span"},d))}));return r.default.createElement("ul",{className:d},u)}},41271:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(60042)),i=o(20116);function a(e){return e&&e.__esModule?e:{default:e}}function l(e){let{className:t,showSingle:o,children:a,value:l,onChange:s,align:c,position:d}=e;const u=(0,n.default)("brz-ed-control__tabs-wrapper",t);if(0===a.length)return null;const p=a.length>1||o&&1===a.length,f=a.find((e=>e.props.value===l))??a[0],m=r.default.createElement("div",{className:(0,n.default)("brz-ed-control__tab__content",`brz-ed-control__tabs__content__${d}`,f.props.className)},f.props.children);return p?r.default.createElement("div",{className:u},r.default.createElement(i.TabList,{active:f.props.value,align:c,position:d,onChange:s},a),m):m}},66848:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TextEditor",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(10301)),i=l(o(60042)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={value:(0,a.t)("Editable Text"),tagName:"span",className:""};contentRef=r.default.createRef();unmounted=!1;lastNotifiedValue;shouldComponentUpdate(e){return void 0!==this.lastNotifiedValue&&this.lastNotifiedValue!==e.value||this.props.tagName!==e.tagName||this.props.className!==e.className}componentDidMount(){const e=this.contentRef.current;null!==e&&e.addEventListener("input",this.handleInput)}componentDidUpdate(){this.lastNotifiedValue=this.props.value;const e=this.contentRef.current;e&&e.textContent!==this.lastNotifiedValue&&(e.textContent=this.lastNotifiedValue??"")}componentWillUnmount(){this.unmounted=!0}handleClick=e=>{e.preventDefault();const t=this.contentRef.current;t?.classList.add("brz-ed-dd-cancel")};handleKeyDown=e=>{const t=e.which,o=e.metaKey||e.ctrlKey;13!==t&&(!o||66!==t&&73!==t&&85!==t)&&(!o||90!==t&&89!==t)||e.preventDefault()};handleInput=e=>{const t=e.currentTarget;t&&this.notifyChange(t.textContent||"")};notifyChange=n.default.debounce((e=>{this.unmounted||(this.lastNotifiedValue=e,this.props.onChange(e))}),1e3);handleBlur=()=>{this.contentRef.current?.classList.remove("brz-ed-dd-cancel")};handlePaste=e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,t)};render(){const{tagName:e,value:t,className:o}=this.props,n=(0,i.default)(o,`brz-${e}`,"brz-text__editor");return r.default.createElement(e,{ref:this.contentRef,className:n,contentEditable:!0,dangerouslySetInnerHTML:{__html:t},onClick:this.handleClick,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onBlur:this.handleBlur})}}},53550:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TextShadow",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(45882),a=o(15011),l=d(o(2467)),s=o(65989),c=o(13928);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p={defaultIcon:"nc-shadow",icons:["nc-blur","nc-vertical","nc-horizontal"]};function f(e){let{value:t,onChange:o,options:d,...u}=e;const f=(0,r.default)("brz-ed-control__textShadow",u.className),m=(0,n.useCallback)(((e,r)=>{o({...t,...e,hex:e.hex,palette:e.palette},r)}),[o,t]),y=(0,n.useCallback)((e=>o({...t,hex:e},{isChanged:"hex"})),[o,t]),g=(0,n.useCallback)((e=>{const[r,n,i]=e,a=[t.blur,t.vertical,t.horizontal],l=(0,c.getModifiedField)(e,a);l&&o({...t,blur:r,vertical:n,horizontal:i},{isChanged:l})}),[o,t]),h=(0,n.useMemo)((()=>({hex:t.hex,opacity:t.opacity,select:t.select,palette:t.palette??""})),[t]),b=(0,n.useMemo)((()=>[t.blur,t.vertical,t.horizontal]),[t.blur,t.vertical,t.horizontal]);return n.default.createElement("div",{className:f},n.default.createElement(i.ColorPickerSelect,{onChange:m,value:h,opacity:u.opacity,palette:u.palette,paletteOpenSettings:u.paletteOpenSettings},d.map((e=>{let{id:t,title:o}=e;return n.default.createElement(s.Item,{value:t,key:t},n.default.createElement("span",null,o))}))),n.default.createElement(a.ColorPickerInputs,{value:t.hex,onChange:y},n.default.createElement(l.default,{config:p,value:b,onChange:g})))}},13928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getModifiedField",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{let[o,r,n]=e,[i,a,l]=t;return o!==i?"blur":r!==a?"vertical":n!==l?"horizontal":void 0}},30023:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Textarea",{enumerable:!0,get:function(){return c}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(94306),l=o(22741);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t="",value:o,onChange:n,size:s="auto",placeholder:c="",rows:d=5}=e;const u="brz-ed-control__textarea2",p=(0,r.default)(u,t,`${u}--${s}`),f=(0,i.useCallback)((e=>(0,l.mCompose)(n,a.inputValue)(e)),[n]);return i.default.createElement("textarea",{rows:d,className:p,value:o,placeholder:c,onChange:f})}},80305:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TooltipContent:function(){return c},default:function(){return d}});const r=s(o(60042)),n=s(o(27378)),i=o(84989),a=o(79521),l=o(78438);function s(e){return e&&e.__esModule?e:{default:e}}class c extends n.default.Component{static defaultProps={className:"",isOpen:!1,placement:"top",placementStyle:{},arrow:!0,arrowPlacement:"top",arrowPlacementStyle:{},size:void 0,offset:15,toolbar:void 0,inPortal:!1,node:void 0};isRepositioning;contentRef;constructor(e){super(e);const{placement:t,arrowPlacement:o}=e;this.state={placement:t??c.defaultProps.placement,placementStyle:c.defaultProps.placementStyle,arrowPlacement:o??c.defaultProps.arrowPlacement,arrowPlacementStyle:c.defaultProps.arrowPlacementStyle},this.isRepositioning=!1,this.contentRef=n.default.createRef()}componentDidMount(){const{isOpen:e,toolbar:t}=this.props;e&&t&&this.repositionByToolbar(t)}repositionByToolbar(e){const{toolbarRef:t,toolbarCSSPosition:o,toolbarItemIndex:r}=e,n=t.current,i=n?.querySelector(`.brz-ed-toolbar__items > .brz-ed-toolbar__item:nth-child(${r})`),s=i?.getBoundingClientRect();if(!(t.current&&this.contentRef.current&&s&&n))return;const c=document.documentElement.clientWidth,d=document.documentElement.clientHeight,u=document.documentElement.scrollTop,p=document.documentElement.classList.contains("brz-ow-hidden"),f=(0,a.getPosition)(),m=n.getBoundingClientRect(),y=this.contentRef.current.getBoundingClientRect(),g=(p?0:u)+m.bottom+14+Math.max(y.height,300)<=(p?d:Math.max(d,document.body.clientHeight)),h=(p?0:u)+m.top-14-y.height>=0,b="fixed"===o?0:u;let v={};const S=()=>{const e=c-y.width-31,t=s.left+s.width/2-y.width/2;return(0,l.clamp)(t,31,e)},w=()=>{const e=`calc(100% - ${b}px - ${m.top}px + 14px)`;v={position:o,top:"unset",bottom:e,left:S()}},x=()=>{const e=b+m.top+m.height+14;v={position:o,top:e,left:S()}};let P;"above"===f&&(h?(P="above",w()):(P="below",x())),"below"===f&&(g?(P="below",x()):(P="above",w()));const C="above"===P?"top":"bottom",T=31===S()?s.width-21:s.width/2,_={left:s.left+T-(Number(v.left)||0)};this.isRepositioning=!0,this.setState({placementStyle:v,arrowPlacement:C,arrowPlacementStyle:_},(()=>this.isRepositioning=!1))}renderInToolbar(){const{className:e,isOpen:t,size:o,arrow:i,children:a}=this.props,{placementStyle:l,arrowPlacement:s,arrowPlacementStyle:c}=this.state,d=(0,r.default)("brz-ed-animated brz-ed-animated--fadeInUp","brz-ed-tooltip__overlay",{[`brz-ed-tooltip--${o}`]:o},{"brz-invisible":!t},e),u=(0,r.default)("brz-ed-arrow",`brz-ed-arrow--${s}`);return n.default.createElement("div",{ref:this.contentRef,className:d,style:l},i&&n.default.createElement("div",{className:u,style:c}),a)}renderSimple(){const{className:e,size:t,arrow:o,node:a,placement:l,offset:s,children:c}=this.props,d=(0,r.default)("brz-ed-animated brz-ed-animated--fadeInUp","brz-ed-tooltip__overlay",{[`brz-ed-tooltip--${t}`]:t},e);return n.default.createElement(i.Popper,{referenceElement:a,placement:l,modifiers:[{name:"offset",options:{offset:[0,s]}},{name:"computeStyles",options:{gpuAcceleration:!1}}]},(e=>{let{ref:t,style:r,arrowProps:i,placement:a}=e;return n.default.createElement("div",{ref:t,className:d,style:r},o&&n.default.createElement("div",{className:`brz-ed-arrow brz-ed-arrow--${a}`,ref:i.ref,style:{...i.style,margin:"0"}}),c)}))}render(){return this.props.toolbar?this.renderInToolbar():this.renderSimple()}}const d=c},9408:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TooltipItem",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{className:t,children:o,onClick:i}=e,a=(0,n.default)("brz-ed-tooltip__item",t);return r.default.createElement("div",{className:a,onClick:i},o)}},1424:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getCurrentTooltip:function(){return f},TooltipItem:function(){return d.TooltipItem},Tooltip:function(){return m},default:function(){return y}});const r=u(o(60042)),n=u(o(27378)),i=o(84989),a=u(o(10301)),l=u(o(17882)),s=u(o(21107)),c=o(80305),d=o(9408);function u(e){return e&&e.__esModule?e:{default:e}}const p=[],f=()=>p[p.length-1];class m extends n.default.Component{static defaultProps={arrow:!0,placement:"top",openOnClick:!0,closeDelay:0,overlay:"",size:void 0,offset:15,toolbar:void 0,inPortal:!1,portalNode:void 0,clickOutsideExceptions:[],nodeRef:void 0,onOpen:()=>{},onClose:()=>{}};state={isOpen:!1,isHidden:!1,needClose:!1};contentRef=n.default.createRef();timeout;componentWillUnmount(){const e=p.indexOf(this);-1!==e&&p.splice(e),clearTimeout(this.timeout)}handleClickOutside=()=>{const{isOpen:e}=this.state;e&&this.close()};handleContentClick=()=>{const{isOpen:e,isHidden:t}=this.state;e?t?this.show():this.close():this.open()};handleMouseEnter=()=>{this.setState({needClose:!1}),this.open()};handleMouseLeave=()=>{this.setState({needClose:!0}),this.timeout=setTimeout((()=>{this.state.needClose&&this.close()}),this.props.closeDelay)};open(){const{isOpen:e}=this.state;e||this.setState({isOpen:!0},(()=>{p.push(this),this.props.onOpen?.()}))}close(){const{isOpen:e}=this.state;e&&this.setState({isOpen:!1},(()=>{p.pop(),this.props.onClose?.()}))}show(){const{isHidden:e}=this.state;e&&this.setState({isHidden:!1})}hide(){const{isHidden:e}=this.state;e||this.setState({isHidden:!0})}reposition(){this.forceUpdate()}renderOverlay(){const{isOpen:e,isHidden:t}=this.state;if(!e)return null;const{overlayClassName:o,nodeRef:i,overlay:a,arrow:l,placement:d,size:u,offset:p,toolbar:f,inPortal:m,portalNode:y}=this.props,g=i&&i.current||this.contentRef.current,h=y||g?.ownerDocument.body,b=n.default.createElement(c.TooltipContent,{className:o,node:g??void 0,arrow:l,placement:d,size:u,offset:p,isOpen:e,toolbar:f,inPortal:m},a);return(m||f)&&h?n.default.createElement(s.default,{node:h,className:(0,r.default)("brz-reset-all","brz-ed-tooltip__content-portal",{"brz-invisible":t})},b):b}renderInToolbar(){const{title:e,children:t,openOnClick:o}=this.props;return n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{title:e,ref:this.contentRef,className:"brz-ed-tooltip__content",onClick:o?this.handleContentClick:a.default.noop},t),this.renderOverlay())}renderSimple(){const{title:e,children:t,openOnClick:o}=this.props;return n.default.createElement(i.Manager,null,n.default.createElement(i.Reference,null,(()=>n.default.createElement("div",{title:e,ref:this.contentRef,className:"brz-ed-tooltip__content",onClick:o?this.handleContentClick:a.default.noop},t))),this.renderOverlay())}render(){const{toolbar:e,openOnClick:t,className:o,clickOutsideExceptions:i}=this.props,s=(0,r.default)("brz-ed-tooltip",{"brz-ed-tooltip__static":!e},{"brz-ed-tooltip--opened":this.state.isOpen},o),c=[...i??[],".brz-ed-tooltip__content-portal",".brz-ed-eyeDropper"];return n.default.createElement(l.default,{onClickOutside:this.handleClickOutside,exceptions:c},n.default.createElement("div",{className:s,onMouseEnter:t?a.default.noop:this.handleMouseEnter,onMouseLeave:t?a.default.noop:this.handleMouseLeave},e?this.renderInToolbar():this.renderSimple()))}}const y=m},97183:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FontStyle",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(65989),a=o(18624),l=d(o(33364)),s=d(o(22546)),c=o(62762);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{className:t,styles:o,openSettings:d,onChange:u,value:p}=e;const f=(0,r.default)("brz-ed-control__font-style",t),m=(0,n.useMemo)((()=>{const e=s.default.getAll();return(0,c.isCloud)(e)&&(0,c.isShopify)(e)}),[]);return n.default.createElement("div",{className:f},n.default.createElement(a.Select2,{value:p,onChange:u,editable:!1,size:"medium"},o.map((e=>{let{id:t,title:o}=e;return n.default.createElement(i.Item,{key:t,value:t},o)}))),!m&&d&&n.default.createElement("div",{className:"brz-ed-control__font-style--settings",onClick:d},n.default.createElement(l.default,{icon:"nc-cog"})))}},74458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Typography",{enumerable:!0,get:function(){return y}});const r=f(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(76577),a=o(65989),l=o(18624),s=f(o(52049)),c=o(28502),d=f(o(22546)),u=o(16526),p=o(97183);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends n.PureComponent{onFontFamily=e=>this.props.onChange(e,{isChanged:"fontFamily"});onFontStyle=e=>this.props.onChange(e,{isChanged:"fontStyle"});onFontSize=e=>this.props.onChange(e,{isChanged:"fontSize"});onFontSizeSuffix=e=>this.props.onChange(e,{isChanged:"fontSizeSuffix"});onFontWeight=e=>this.props.onChange(e,{isChanged:"fontWeight"});onLineHeight=e=>this.props.onChange(e,{isChanged:"lineHeight"});onLetterSpacing=e=>this.props.onChange(e,{isChanged:"letterSpacing"});render(){const{font:e,fonts:t,fontAdd:o,fontAddLabel:f,showFontFamily:m,styleLabel:y,style:g,styles:h,styleOpenSettings:b,sizeLabel:v,sizeSuffix:S,sizeSuffixes:w,sizeMin:x,sizeMax:P,sizeStep:C,size:T,weight:_,weights:k,weightLabel:M,lineHeight:O,lineHeightMax:E,lineHeightMin:B,lineHeightStep:z,lineHeightLabel:I,letterSpacing:j,letterSpacingMax:L,letterSpacingMin:F,letterSpacingStep:N,letterSpacingLabel:D,className:R}=this.props,A=(0,r.default)("brz-ed-control__typography",R,{"brz-ed-control__typography--style-only":!m});return n.default.createElement("div",{className:A},m&&n.default.createElement(i.FontFamily,{onChange:this.onFontFamily,value:e,fonts:t,addFont:o,addFontLabel:f}),n.default.createElement("div",{className:"brz-ed-control__typography-styles"},n.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-1"},n.default.createElement(c.Label,null,y),n.default.createElement(p.FontStyle,{styles:h,openSettings:b,onChange:this.onFontStyle,value:g})),n.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},(0,u.isStory)(d.default.getAll())?n.default.createElement(c.Label,null,v):n.default.createElement("div",{className:"brz-control__typography-suffix"},n.default.createElement(c.Label,null,v),n.default.createElement(l.Select2,{value:S,onChange:this.onFontSizeSuffix,editable:!1,size:"short"},w.map((e=>{let{value:t,title:o}=e;return n.default.createElement(a.Item,{key:t,value:t},o)})))),n.default.createElement(s.default,{min:x,max:P,step:C,value:T,onChange:this.onFontSize})),n.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},n.default.createElement(c.Label,null,M),n.default.createElement(l.Select2,{value:_,onChange:this.onFontWeight,editable:!1,size:"auto"},k.map((e=>{let{value:t,title:o}=e;return n.default.createElement(a.Item,{key:t,value:t},o)})))),n.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},n.default.createElement(c.Label,null,I),n.default.createElement(s.default,{min:B,max:E,step:z,value:O,onChange:this.onLineHeight})),n.default.createElement("div",{className:"brz-ed__col brz-ed__col-1-2"},n.default.createElement(c.Label,null,D),n.default.createElement(s.default,{min:F,max:L,step:N,value:j,onChange:this.onLetterSpacing}))))}}},36275:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=i(o(27378)),n=i(o(31542));function i(e){return e&&e.__esModule?e:{default:e}}let a={};function l(e){return Object.entries(e).reduce(((e,t)=>{let[o,r]=t;return e+r.replace(/element/g,`[data-custom-id=${o}]`)}),"")}class s extends r.default.Component{static defaultProps={selectorName:"",css:""};componentWillUnmount(){const{selectorName:e}=this.props;delete a[e]}componentDidMount(){this.updateCSS()}updateCSS(){const{selectorName:e,css:t}=this.props,o=n.default.findDOMNode(this);if(a[e]===t)return;t?(o.setAttribute("data-custom-id",e),a[e]=t):(o.removeAttribute("data-custom-id",e),delete a[e]);let r=document.getElementById("custom-css");r?r.innerHTML=l(a):(r=document.createElement("style"),r.id="custom-css",r.innerHTML=l(a),document.head.appendChild(r))}componentDidUpdate(){this.updateCSS()}renderForEdit(){const{selectorName:e,css:t,children:o,...n}=this.props;return r.default.cloneElement(r.default.Children.only(o),n)}renderForView(){const{selectorName:e,css:t,children:o}=this.props;return r.default.createElement("div",{"data-custom-id":e,"data-custom-css":l({[e]:t})},r.default.Children.only(o))}render(){return this.renderForEdit()}}},84733:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{CustomTag:function(){return i},default:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=(e,t)=>{let{tagName:o,children:n,...i}=e;return r.default.createElement(o||"div",{...i,ref:t},n)},a=r.default.forwardRef(i)},62035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(10301))&&i.__esModule?i:{default:i};var i;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Draggable:function(){return s},default:function(){return c}});const r=(n=o(65311))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>({x:e.clientX,y:e.clientY});class s extends i.default.Component{static defaultProps={active:!0};elRef=(0,i.createRef)();isMouseDown=!1;startPosition;currentPosition;lastDelta;componentDidMount(){this.props.active&&this.init()}componentDidUpdate(e){this.props.active!==e.active&&(this.props.active?this.init():this.destroy())}componentWillUnmount(){this.clearDragData()}init(){this.elRef.current?.addEventListener("mousedown",this.handleMouseDown)}destroy(){this.elRef.current?.removeEventListener("mousedown",this.handleMouseDown),this.cleanMouseEvents()}handleMouseDown=e=>{const t=this.props.exceptions??[];t.length&&e.target&&(0,r.default)(e.target).closest(t.join(", ")).length||(e.stopPropagation(),0===e.button&&this.initMouseEvents())};startDrag=e=>{const{draggingCursor:t,onDragStart:r}=this.props;o.g.BRZ_IS_DRAGGING=!0,this.isMouseDown=!0,this.currentPosition=this.startPosition=e,r?.(),this.initMouseEvents(),requestAnimationFrame(this.update);const n=document.querySelectorAll(".brz-ed-draggable-overlay");n.length&&n.forEach((e=>{e.style.willChange="pointer-events",e.style.pointerEvents="all",t&&(e.style.cursor=t)})),window.parent.document.body.classList.add("brz-pointer-events-none")};handleMouseMove=e=>{this.isMouseDown?(this.currentPosition=l(e),requestAnimationFrame(this.update)):this.startDrag(l(e))};handleMouseUp=()=>{this.cleanMouseEvents(),(this.isMouseDown||o.g.BRZ_IS_DRAGGING)&&(this.clearDragData(),this.props.onDragEnd?.())};clearDragData=()=>{const{draggingCursor:e}=this.props,t=document.querySelectorAll(".brz-ed-draggable-overlay");t.length&&t.forEach((t=>{t.style.willChange="",t.style.pointerEvents="none",e&&(t.style.cursor="auto")})),o.g.BRZ_IS_DRAGGING=!1,this.isMouseDown=!1,this.startPosition=void 0,this.lastDelta=void 0,window.parent.document.body.classList.remove("brz-pointer-events-none")};update=()=>{if(this.isMouseDown&&this.startPosition&&this.currentPosition){const e=this.currentPosition.x-this.startPosition.x,t=this.currentPosition.y-this.startPosition.y,{x:o,y:r}=this.lastDelta||{x:0,y:0};e===o&&t===r||(this.lastDelta={x:e,y:t},this.props.onDrag?.({deltaX:e,deltaY:t}))}};initMouseEvents=()=>{window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp)};cleanMouseEvents=()=>{window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)};render(){const{children:e,active:t}=this.props;return e(this.elRef,t?"brz-ed-dd-cancel":void 0)}}const c=s},22730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableDiv",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(60042)),i=a(o(61452));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,style:o,children:a,...l}=e;return r.default.createElement(i.default,l,((e,i)=>r.default.createElement("div",{ref:e,className:(0,n.default)("brz-ed-draggable",i,t),style:o},a)))}},91899:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableOverlay",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t}=e;const o=(0,n.default)("brz-ed-draggable-overlay",t);return r.default.createElement("div",{className:o})}},59447:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=(a=o(95664))&&a.__esModule?a:{default:a};var a;const l=o(97045),s=o(74215),c=o(76997);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends r.Component{handlePageChange=(e,t)=>{let{items:o}=e;this.props.reduxDispatch((0,s.updateBlocks)({blocks:o,meta:t}))};render(){const{Page:e}=i.default.getComponents(),{reduxState:t,reduxDispatch:o}=this.props,n=(0,l.pageDataDraftBlocksSelector)(t);return r.default.createElement(e,{dbValue:n,reduxState:t,reduxDispatch:o,onChange:this.handlePageChange})}}const p=(0,n.connect)((e=>({reduxState:e})),(e=>({reduxDispatch:e})),null,{areStatesEqual:c.areStatesEqual})(u)},5298:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=d(o(22546)),a=d(o(95664)),l=o(74215),s=o(97045),c=o(76997);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{componentDidMount(){document.body.classList.add("brz-ow-hidden","brz-height--100vh")}handlePageChange=(e,t)=>{let{items:o}=e;this.props.reduxDispatch((0,l.updateBlocks)({blocks:o,meta:t}))};render(){const e=i.default.getAll(),{backgroundPreviewUrl:t}=e.ui.popupSettings,{PagePopup:o}=a.default.getComponents(),{reduxState:n,reduxDispatch:l}=this.props,c=(0,s.pageBlocksSelector)(n);return r.default.createElement(r.Fragment,null,Boolean(c.length)&&r.default.createElement("iframe",{id:"brz-ed-home-page",src:t,title:"popup"}),r.default.createElement(o,{dbValue:{items:c},reduxState:n,reduxDispatch:l,onChange:this.handlePageChange}))}}const f=(0,n.connect)((e=>({reduxState:e})),(e=>({reduxDispatch:e})),null,{areStatesEqual:c.areStatesEqual})(p)},33237:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=d(o(95664)),a=d(o(22546)),l=o(97045),s=o(74215),c=o(76997);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{handlePageChange=(e,t)=>{let{items:o}=e;this.props.reduxDispatch((0,s.updateBlocks)({blocks:o,meta:t}))};render(){const{PageStory:e}=i.default.getComponents(),{reduxState:t,reduxDispatch:o}=this.props,{pagePreview:n}=a.default.get("urls"),s=(0,l.pageBlocksSelector)(t);return r.default.createElement(r.Fragment,null,Boolean(s.length)&&r.default.createElement("iframe",{id:"brz-ed-home-page",src:n,title:"story"}),r.default.createElement(e,{dbValue:{items:s},reduxState:t,reduxDispatch:o,onChange:this.handlePageChange}))}}const f=(0,n.connect)((e=>({reduxState:e})),(e=>({reduxDispatch:e})),null,{areStatesEqual:c.areStatesEqual})(p)},8136:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=h(o(27378)),n=o(55190),i=h(o(5778)),a=h(o(24072)),l=o(79541),s=h(o(62948)),c=h(o(21107)),d=h(o(92823)),u=o(91759),p=h(o(22546)),f=o(16526),m=h(o(59447)),y=h(o(5298)),g=h(o(33237));function h(e){return e&&e.__esModule?e:{default:e}}class b extends r.default.Component{parentWindowDocument=window.parent.document;handleKeyDown(){d.default.open({mode:"stack",prompt:"keyHelper"})}getRenderType(e){return(0,f.isPopup)(e)?"popup":(0,f.isStory)(e)?"story":"basic"}getEditor(){switch(this.getRenderType(p.default.getAll())){case"basic":return r.default.createElement(m.default,null);case"popup":return r.default.createElement(y.default,null);case"story":return r.default.createElement(g.default,null)}}render(){return r.default.createElement(r.default.Fragment,null,this.getEditor(),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(l.LeftSidebar,null)),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(u.RightSidebar,null)),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(i.default,null)),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(d.default,null)),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(s.default,null)),r.default.createElement(a.default,{keyNames:["ctrl+/","cmd+/","right_cmd+/"],id:"key-helper-editor",onKeyDown:this.handleKeyDown}),r.default.createElement(c.default,{node:this.parentWindowDocument.body},r.default.createElement(n.ToastContainer,null)))}}const v=b},76997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"areStatesEqual",{enumerable:!0,get:function(){return o}});const o=(e,t)=>e.blocksOrder===t.blocksOrder&&e.blocksData===t.blocksData&&e.globalBlocks===t.globalBlocks&&e.fonts===t.fonts&&e.project.data.font===t.project.data.font},68021:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return L}});const r=o(62474),n=o(65300),i=o(76817),a=o(2296),l=o(19416),s=o(61110),c=o(88926),d=o(95133),u=o(35313),p=o(52777),f=o(65760),m=o(19727),y=o(82951),g=o(27925),h=o(76217),b=o(88237),v=o(162),S=o(93531),w=o(86664),x=o(43669),P=o(961),C=o(34946),T=o(62336),_=o(64850),k=o(89079),M=o(52740),O=o(86417),E=o(21503),B=(z=o(27378))&&z.__esModule?z:{default:z};var z;const I={"t2-sermon-list":E.MinistryBrandsSermonList,"t2-sermon-detail":k.MinistryBrandsSermonDetail,"t2-sermon-featured":M.MinistryBrandsSermonFeatured,"t2-sermon-layout":O.MinistryBrandsSermonLayout,"t2-event-list":w.MinistryBrandsEventList,"t2-event-detail":b.MinistryBrandsEventDetail,"t2-event-featured":v.MinistryBrandsEventFeatured,"t2-event-layout":S.MinistryBrandsEventLayout,"t2-event-calendar":h.MinistryBrandsEventCalendar,"t2-group-list":T.MinistryBrandsGroupList,"t2-group-detail":x.MinistryBrandsGroupDetail,"t2-group-featured":P.MinistryBrandsGroupFeatured,"t2-group-slider":_.MinistryBrandsGroupSlider,"t2-group-layout":C.MinistryBrandsGroupLayout,"t2-shopify-price-style1":a.ShopifyPriceStyle1,"t2-shopify-price-style2":l.ShopifyPriceStyle2,"t2-shopify-price-style3":s.ShopifyPriceStyle3,"t2-shopify-list":r.ShopifyList,"t2-shopify-meta":n.ShopifyMeta,"t2-shopify-metafield":i.ShopifyMetafield,"t2-shopify-quantity":c.ShopifyQuantity,"t2-shopify-quantity-style1":d.ShopifyQuantityStyle1,"t2-shopify-quantity-style2":u.ShopifyQuantityStyle2,"t2-shopify-variant":p.ShopifyVariant,"t2-shopify-vendor":g.ShopifyVendor,"t2-shopify-variant-style-select":y.ShopifyVariantStyleSelect,"t2-shopify-variant-style-radio":m.ShopifyVariantStyleRadio,"t2-shopify-variant-style-image":f.ShopifyVariantStyleImage},j=e=>{const{name:t,className:o,onClick:r,style:n}=e,i=I[t];return i?B.default.createElement(i,{className:o,style:n,onClick:r}):null};j.displayName="Icon";const L=j},33364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EditorIcon:function(){return u},default:function(){return p}});const r=s(o(95381)),n=s(o(60042)),i=s(o(27378)),a=s(o(10301)),l=o(84512);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=(0,r.default)((()=>Promise.resolve().then((()=>function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(68021)))))),u=e=>{const{className:t="",icon:o="nc-circle-add",style:r={},onClick:s=a.default.noop}=e,c=(0,n.default)("brz-icon-svg brz-ed-icon-svg align-[initial]",t);return o.startsWith("t2-")?i.default.createElement(d,{name:o,className:c,style:r,onClick:s}):i.default.createElement("svg",{className:c,onClick:s,style:r},i.default.createElement("use",{xlinkHref:(0,l.editorIconUrl)(o)}))},p=u},79119:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(10301),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={onRemove:n.noop};state={error:null,errorInfo:null};componentDidCatch(e,t){this.setState({error:e,errorInfo:t})}handleRemoveClick=e=>{e.preventDefault(),this.props.onRemove()};renderForEdit(){const e=i.default.get("urls"),{errorInfo:t,error:o}=this.state,n={margin:"0 0.3em"};return t?r.default.createElement("div",{style:{minHeight:"200px",backgroundColor:"lightgray",display:"flex",justifyContent:"center",alignItems:"center"}},r.default.createElement("div",{style:{textAlign:"center",lineHeight:"2em"}},r.default.createElement("span",{className:"brz-span"},(0,l.t)("An error happened while trying to display this element")),r.default.createElement("br",{className:"brz-br"}),r.default.createElement("span",{className:"brz-span"},(0,l.t)("You can"),r.default.createElement("a",{className:"brz-a",href:e.support,target:"_blank",rel:"noopener noreferrer",style:n},(0,l.t)("open an issue")),(0,l.t)("or"),r.default.createElement("a",{className:"brz-a",href:"#",style:n,onClick:this.handleRemoveClick},(0,l.t)("remove this element"))),!1)):this.props.children}renderForView(){try{return this.props.children}catch(e){return null}}render(){return this.renderForEdit()}}const d=c},23106:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EyeDropper",{enumerable:!0,get:function(){return w}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=o(47885),a=S(o(27378)),l=o(31542),s=o(34143),c=o(11717),d=o(33364),u=o(32625),p=o(67808),f=o(67138),m=o(404),y=o(49863),g=o(21486),h=S(o(89531)),b=o(84709);function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const w=e=>{let{onPick:t}=e;const[o,n]=(0,a.useState)(h.idle()),v=(0,a.useRef)(null),S=(0,a.useRef)({x:0,y:0}),w=(0,a.useRef)({x:0,y:0}),x=(0,a.useRef)(null),P=(0,a.useCallback)((e=>{switch(o.type){case h.Type.Idle:case h.Type.Loading:return o;case h.Type.Active:{const t=o.context.c2d.getImageData(e.x+Math.abs(S.current.x),e.y+Math.abs(S.current.y),1,1).data,r=(0,m.fromRgb)([t[0],t[1],t[2]]);x.current=r,null!==v.current&&(v.current.style.backgroundColor=r)}}}),[o]),[,C]=(0,u.useThrottleOnChange)(w.current,P,50),T=(0,a.useCallback)((e=>{w.current={x:e.clientX,y:e.clientY},(()=>{if(null!==v.current){const e=w.current.x,t=w.current.y;v.current.style.transform=`translate(${e}px, ${t}px)`}})(),C(w.current)}),[C]),_=e=>S.current=e;(0,a.useEffect)((()=>{const e=[...f.SectionPopupInstances.values(),...p.SectionPopup2Instances.values()],t=e.find((e=>e.state.isOpened))?.el.children[0]??document.getElementById("brz-ed-page__blocks");t&&n(h.loading({node:t}))}),[]);const k=(0,a.useCallback)((e=>{e.stopPropagation(),x.current&&t(x.current)}),[t]);switch((0,a.useEffect)((()=>{switch(o.type){case h.Type.Idle:return;case h.Type.Loading:case h.Type.Active:{const e=e=>{e.stopPropagation(),x.current&&t(x.current)};return o.context.node.addEventListener("click",e),()=>{o.context.node.removeEventListener("click",e)}}}}),[t,o]),(0,a.useEffect)((()=>{switch(o.type){case h.Type.Idle:return;case h.Type.Loading:case h.Type.Active:{_((0,b.scrollValue)(o));const e=(0,s.fromEvent)(window,"scroll").pipe((0,c.debounceTime)(100),(0,c.map)((()=>(0,b.scrollValue)(o)))).subscribe(_),t=(0,s.from)((0,g.browserSupports)()).pipe((0,c.switchMap)((()=>(0,s.from)((0,g.makeNodeScreenshot)(o.context.node,{maxWidth:1e4})).pipe((0,c.switchMap)((e=>{let{src:t}=e;const o=document.createElement("img");return o.src=t,(0,s.fromEvent)(o,"load").pipe((0,c.map)((()=>{const e=o.width,t=o.height,r=document.createElement("canvas"),n=r.getContext("2d");return r.width=e,r.height=t,n?.drawImage(o,0,0,e,t),n})))}))))),(0,c.filter)(i.isT),(0,c.catchError)((0,y.always)(s.EMPTY))).subscribe((e=>n(h.active({...o.context,c2d:e}))));return()=>{e.unsubscribe(),t.unsubscribe()}}}}),[o]),o.type){case h.Type.Idle:return null;case h.Type.Loading:case h.Type.Active:return(0,l.createPortal)(a.default.createElement("div",{onClick:k,onMouseMove:T,className:(0,r.default)(b.nodeClasses[o.type])},a.default.createElement("span",{style:{transform:`translate(${w.current.x}px, ${w.current.y}px)`},className:"brz-ed-eyeDropper--cursor",ref:v},a.default.createElement(d.EditorIcon,{className:"icon",icon:"eye-dropper"}))),document.body)}}},89531:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Type:function(){return o},idle:function(){return r},loading:function(){return n},active:function(){return i},isPreload:function(){return a},isLoaded:function(){return l}}),function(e){e.Idle="Idle",e.Loading="Loading",e.Active="Active"}(o||(o={}));const r=()=>({type:o.Idle}),n=e=>({type:o.Loading,context:e}),i=e=>({type:o.Active,context:e}),a=e=>[o.Idle,o.Loading].includes(e.type),l=e=>e.type===o.Active},84709:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{nodeClasses:function(){return n},scrollValue:function(){return i}});const r=o(89531),n={Idle:[],Loading:["brz-ed-eyeDropper","loading"],Active:["brz-ed-eyeDropper","active"]},i=e=>{switch(e.type){case r.Type.Idle:return{x:0,y:0};case r.Type.Loading:case r.Type.Active:{const t=e.context.node.getBoundingClientRect();return{x:t.left,y:t.top}}}}},42168:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(71211));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.default.Component{static defaultProps={appId:"",type:"",data:{}};renderForEdit(){const{appId:e,type:t,data:o}=this.props,n=i[t],a=i.FacebookProvider;return r.default.createElement(a,{appId:e},r.default.createElement(n,o))}renderForView(){const{appId:e,type:t,data:o}=this.props;return r.default.createElement("div",{...o,className:`brz-facebook fb-${t.toLocaleLowerCase()}`,appid:e})}render(){return this.renderForEdit()}}const s=l},64644:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FatIconsGrid",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed--fat-icons-grid grid grid-cols-[auto_auto_auto] gap-[12px_20px]"},t)}},15076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(3961);let a={},l=[];class s extends r.default.Component{static defaultProps={id:null,items:[],shouldKeyDownHandle:()=>!0,shouldKeyUpHandle:()=>!0,filterItems:e=>e};componentDidMount(){const{items:e}=this.props;0===Object.keys(a).length&&(document.addEventListener("keyup",this.handleKeyUp),document.addEventListener("keydown",this.handleKeyDown),window.parent.document.addEventListener("keyup",this.handleKeyUp),window.parent.document.addEventListener("keydown",this.handleKeyDown),window.addEventListener("blur",this.handleBlur),window.parent.addEventListener("blur",this.handleBlur)),e.forEach((e=>{let{keyNames:t,...o}=e;const r=t.map((e=>e.split("+").map((e=>(0,i.toCode)(e))).join("+")));r.forEach(((e,r)=>{const n={...o,keyName:t[r]};if(a[e]){const t=a[e].findIndex((e=>{let{id:t}=e;return t===n.id}));-1===t?a[e].push(n):a[e][t]=n}else a[e]=[n]})),r.forEach(((e,r)=>{const n={...o,keyName:t[r]};a[e]?a[e].find((e=>{let{id:t}=e;return t===n.id}))||a[e].push(n):a[e]=[n]}))}))}componentWillUnmount(){const{id:e}=this.props;a=Object.entries(a).reduce(((t,o)=>{let[r,n]=o;return t[r]=n.filter((t=>t.id!==e)),0===t[r].length&&delete t[r],t}),{}),0===Object.keys(a).length&&(document.removeEventListener("keyup",this.handleKeyUp),document.removeEventListener("keydown",this.handleKeyDown),window.parent.document.removeEventListener("keyup",this.handleKeyUp),window.parent.document.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("blur",this.handleBlur),window.parent.removeEventListener("blur",this.handleBlur))}handleBlur=()=>{l=[]};handleKeyUp=e=>{this.handleChange(e),l=i._modifier["⌘"]===e.keyCode||i._modifier["right_⌘"]===e.keyCode||i._modifier.ctrl===e.keyCode?[]:l.filter((t=>t!==e.keyCode))};handleKeyDown=e=>{(l.includes(i._modifier["⌘"])||l.includes(i._modifier["right_⌘"]))&&(l=l.filter((e=>Object.values(i._modifier).includes(e)))),l.includes(e.keyCode)||(l.push(e.keyCode),this.handleChange(e))};handleChange(e){const t=l.join("+");if(a[t]){const o=this.props.filterItems(a[t]);"keydown"===e.type&&o.forEach((t=>{let{onKeyDown:o,onKeyUp:r,...n}=t;this.props.shouldKeyDownHandle(e,n)&&o(e,n)})),"keyup"===e.type&&o.forEach((t=>{let{onKeyDown:o,onKeyUp:r,...n}=t;return this.props.shouldKeyUpHandle(e,n)&&r(e,n)}))}}render(){return null}}const c=s},24072:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=o(13556),n=f(o(27378)),i=o(70634),a=o(46338),l=o(72599),s=f(o(22546)),c=o(97045),d=o(92213),u=o(16526),p=f(o(15076));function f(e){return e&&e.__esModule?e:{default:e}}const m=s.default.get("menuData"),y={duplicate:["ctrl+D","cmd+D","right_cmd+D"],copy:["ctrl+C","cmd+C","right_cmd+C"],paste:["ctrl+V","cmd+V","right_cmd+V"],pasteStyles:["ctrl+shift+V","shift+ctrl+V","cmd+shift+V","shift+cmd+V","right_cmd+shift+V","shift+right_cmd+V"],delete:["ctrl+del","cmd+del","right_cmd+del"],horizontalAlign:["ctrl+right","ctrl+left","cmd+right","cmd+left","right_cmd+right","right_cmd+left"],verticalAlign:["ctrl+up","ctrl+down","cmd+up","cmd+down","right_cmd+up","right_cmd+down"],showSidebarStyling:["ctrl+M","cmd+M","right_cmd+M"],showSidebarAdvanced:["ctrl+K","cmd+K","right_cmd+K"]},g=n.default.createContext({});class h extends n.default.Component{static contextType=g;contextValue={getParentContextMenuItems:this.getItems};handleFilterItems(e){if(e.length&&e[0].id.startsWith("key-helper")){const t=e.find((e=>"key-helper-toolbar-escape"===e.id));return t?[t]:e}const t=o.g.Brizy.activeEditorComponent;if(!t)return[];const r=t.getId(),n=(0,d.getStore)().getState(),a=(0,c.pageDataNoRefsSelector)(n),l=(0,c.copiedElementNoRefsSelector)(n),s=(0,u.createFullModelPath)(a,[r]),p=[...s],f=v(a);if(y.paste.includes(e[0].keyName)){const{value:t}=(0,u.getClosestParent)(s,f,(e=>{let{type:t}=e;return"Wrapper"===t||"Cloneable"===t}));if(t&&l.value){const{value:o}=(0,u.getClosestParent)(l.path,v(l.value),(e=>{let{type:t}=e;return"Wrapper"===t||"Cloneable"===t}));if(o&&("Cloneable"===o.type||"Cloneable"===t.type)&&o.value.items[0].type!==t.value.items[0].type){const o=e.find((e=>{let{id:o}=e;return o===t.value._id}));return o?[o]:[]}}}let m=[];for(let t=0;t<=s.length;t++){const t=(0,i.getIn)(f,p);if(t){const o=e.find((e=>{let{id:o}=e;return o===t._id}));if(o)return[o]}m.unshift(p.pop())}return[]}shouldShortCutHandle(e,t){let{keyName:o}=t;const r=y.delete.includes(o),n=y.paste.includes(o),i=y.copy.includes(o),a=r||n||i,l=e.target.closest("[contenteditable=true]")||e.target.closest("input")||e.target.closest("textarea");return!(e.target.closest([".brz-ed-sidebar__right","#brz-toolbar-portal",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations",".brz-ed-eyeDropper"].join(","))||l&&a)}getItems=()=>{let{children:e,shortcutsTypes:t=[],keyNames:o=[],...r}=this.props;const{getParentContextMenuItems:n}=this.context;let i={onKeyUp:()=>{},onKeyDown:()=>{},keyNames:[...(a=t,a.reduce(((e,t)=>(y[t]&&(e=[...e,...y[t]]),e)),[])),...o],...r};var a;return i=n?[i,...n()]:[i],i};render(){const{children:e,id:t}=this.props,o=this.getItems();return n.default.createElement(g.Provider,{value:this.contextValue},e,n.default.createElement(p.default,{items:o,id:t,shouldKeyDownHandle:this.shouldShortCutHandle,shouldKeyUpHandle:this.shouldShortCutHandle,filterItems:this.handleFilterItems}))}}const b=(0,a.rolesHOC)({allow:["admin"],component:h,fallbackComponent:e=>{let{children:t}=e;return t||null}});function v(e){return(0,u.mapModels)((e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:n={}}=o,i=t||m[0].id,a=m.find((e=>e.id===i))||{};return(0,r.produce)(e,(e=>{e.value.items=(0,l.symbolsToItems)(a.items||[],n)}))}return e}),e)}},3961:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{_modifier:function(){return l},fromCode:function(){return d},toCode:function(){return u}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>0,a={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,minus:i?173:189,plus:i?61:187,right_minus:109,right_plus:107,"-":i?173:189,"=":i?61:187,"⇪":20,",":188,".":190,"/":191,"`":192,";":i?59:186,"'":222,"[":219,"]":221,"\\":220},l={"⇧":16,shift:16,"⌥":18,option:18,alt:18,"⌃":17,control:17,ctrl:17,"⌘":i?224:91,cmd:i?224:91,command:i?224:91,"right_⌘":93,right_cmd:93,right_command:93},s=r.default.invert(a),c=r.default.invert(l),d=e=>s[e]||c[e]||String.fromCharCode(e).toUpperCase(),u=e=>a[e.toLowerCase()]||l[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)},72994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hover",{enumerable:!0,get:function(){return n}});const r=o(10301);class n{effects=void 0;controller=void 0;node=null;constructor({target:e,keyframes:t,options:o}){this.node=e,this.updateAnimation(t,o,e)}getRate(e){return"normal"===e?1:-1}play(e){this.controller&&(this.controller.playbackRate=this.getRate(e),this.controller.play())}cancelAllAnimations(){const e=this.node?.getAnimations();e?.forEach((e=>{e.effect?.updateTiming({iterations:1,fill:"none"}),e.onfinish=()=>{e.cancel()}}))}setEffectsOnMouseEnter(e){this.controller&&(this.controller.onfinish=r.noop,this.controller.effect?.updateTiming(e))}setEffectsOnMouseLeave(e){const{iterations:t}=e;t===1/0&&this.controller?.effect?.updateTiming({iterations:1})}updateAnimation(e,t,o){this.node&&(this.effects=new KeyframeEffect(o,e,t),this.controller=new Animation(this.effects,document.timeline))}endSequenceAnimation(e){let{keyframes:t,extraOptions:o={},options:r={}}=e;this.controller&&this.effects&&(this.effects.setKeyframes(t),this.effects.updateTiming({...r,...o}),this.controller.play())}startSequenceAnimation(e){let{keyframes:t,options:o}=e;this.controller&&t.forEach((e=>{"running"===this.controller?.playState?this.controller.onfinish=()=>{this.effects?.setKeyframes(e.keyframes),this.effects?.updateTiming({...o,...e.extraOptions}),this.controller?.play()}:this.effects&&this.controller&&(this.effects.setKeyframes(e.keyframes),this.effects.updateTiming({...o,...e.extraOptions}),this.controller.play())}))}}},62182:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HoverAnimation",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=d(o(47075)),a=o(36122),l=o(72994),s=o(76286),c=o(21407);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{children:t,animationId:o,options:d={},cssKeyframe:u,isHidden:p,className:f,target:m="firstChild",isDisabledHover:y=!1}=e;const[g,h]=(0,n.useState)(!1),b=(0,n.useRef)(null),v=(0,n.useRef)(null),S=(0,n.useRef)(!1),w=(0,n.useRef)("desktop"),x=(0,n.useMemo)((()=>"none"!==u&&!g&&!y),[u,g,y]),P=(0,n.useMemo)((()=>{const{animation:e,extraOptions:t={},reversibleAnimation:o=!0}=(0,s.getAnimations)(u)??{};return{animation:(0,c.isMultiAnimation)(e)?void 0:e,multiAnimation:(0,c.isMultiAnimation)(e)?e:void 0,options:{...t,...d},reversibleAnimation:o}}),[d,u]);if((0,n.useEffect)((()=>{const e=e=>{e.animationId===o&&h(e.animationIsRunning)},t=e=>{w.current=e};return i.default.on(a.AnimationEvents.entranceOn,e),i.default.on(a.AnimationEvents.entranceOff,e),i.default.on("deviceMode.change",t),()=>{i.default.off(a.AnimationEvents.entranceOn,e),i.default.off(a.AnimationEvents.entranceOff,e),i.default.off("deviceMode.change",t)}}),[o]),(0,n.useEffect)((()=>{if(b.current){const e=(0,c.getHoverTarget)(b.current,m);e&&(v.current=new l.Hover({target:e,keyframes:P.animation??[],options:P.options}))}return()=>{v.current=null}}),[P,m]),p)return n.default.createElement(n.default.Fragment,null,t);const C=(0,r.default)("brz-hover-animation__container",f);return n.default.createElement("div",{ref:b,className:C,onMouseOut:e=>{const{options:t}=P;if(v.current&&S.current){if(e.relatedTarget instanceof Element&&b.current?.contains(e.relatedTarget))return;if(v.current?.setEffectsOnMouseLeave(t),x&&"desktop"===w.current&&P.reversibleAnimation)if(P.multiAnimation){const{keyframes:e,extraOptions:t}=P.multiAnimation.endAnimation;v.current.endSequenceAnimation({keyframes:e,extraOptions:t,options:P.options})}else v.current.play("reverse");v.current.cancelAllAnimations(),S.current=!1}},onMouseEnter:e=>{const{options:t}=P;e.target instanceof Element&&e.target.closest(".brz-hover-animation__container")&&x&&"desktop"===w.current&&v.current&&(v.current.setEffectsOnMouseEnter(t),P.multiAnimation?v.current.startSequenceAnimation({keyframes:P.multiAnimation.multiAnimation??[],options:P.options}):v.current.play("normal"),S.current=!0)},"data-brz-hover-animationid":o,"data-brz-hover-options":(0,c.setHoverOptions)(P.options),"data-brz-hover-reversible":P.reversibleAnimation,...(0,c.setAttribute)("data-brz-hover-target",m),...(0,c.setAttribute)("data-brz-hover-animation",P.animation),...(0,c.setAttribute)("data-brz-hover-multianimation",P.multiAnimation)},t)}},76286:(e,t)=>{"use strict";function o(e){return{"brz-grow":{animation:[{WebkitTransform:"scale(1.1)",transform:"scale(1.1)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-shrink":{animation:[{WebkitTransform:"scale(0.9)",transform:"scale(0.9)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-pulse":{animation:[{WebkitTransform:"scale(1.1)",transform:"scale(1.1)",offset:.25},{WebkitTransform:"scale(0.9)",transform:"scale(0.9)",offset:.75}],reversibleAnimation:!1,extraOptions:{fill:"forwards",easing:"ease"}},"brz-pulse-grow":{animation:[{WebkitTransform:"scale(1)",transform:"scale(1)",offset:0},{WebkitTransform:"scale(1.1)",transform:"scale(1.1)",offset:.5},{WebkitTransform:"scale(1)",transform:"scale(1)",offset:1}],reversibleAnimation:!1,extraOptions:{iterations:1/0,easing:"ease"}},"brz-pulse-shrink":{animation:[{WebkitTransform:"scale(0.9)",transform:"scale(0.9)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-push":{animation:[{WebkitTransform:"scale(0.8)",transform:"scale(0.8)",offset:.5},{WebkitTransform:"scale(1)",transform:"scale(1)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-pop":{animation:[{WebkitTransform:"scale(1.2)",transform:"scale(1.2)",offset:.5}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-bounce-in":{animation:[{WebkitAnimationTimingFunction:"cubic-bezier(0.47, 2.02, 0.31, -0.36)",offset:0},{WebkitTransform:"scale(1.2)",transform:"scale(1.2)",offset:1}],extraOptions:{fill:"forwards",easing:"cubic-bezier(0.47, 2.02, 0.31, -0.36)"}},"brz-bounce-out":{animation:[{WebkitAnimationTimingFunction:"cubic-bezier(0.47, 2.02, 0.31, -0.36)",offset:0,easing:"cubic-bezier(0.47, 2.02, 0.31, -0.36)"},{WebkitTransform:"scale(0.8)",transform:"scale(0.8)",WebkitAnimationTimingFunction:"cubic-bezier(0.47, 2.02, 0.31, -0.36)",offset:1,easing:"cubic-bezier(0.47, 2.02, 0.31, -0.36)"}],extraOptions:{fill:"forwards"}},"brz-rotate":{animation:[{WebkitTransform:"rotate(4deg)",transform:"rotate(4deg)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-grow-rotate":{animation:[{WebkitTransform:"scale(1.1) rotate(4deg)",transform:"scale(1.1) rotate(4deg)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-float":{animation:[{WebkitTransform:"translateY(-0px)",transform:"translateY(-0px)",offset:0},{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-sink":{animation:[{WebkitTransform:"translateY(0px)",transform:"translateY(0px)",offset:0},{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-bob":{animation:{multiAnimation:[{keyframes:[{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:1}],extraOptions:{fill:"forwards",duration:200}},{keyframes:[{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:0},{WebkitTransform:"translateY(-4px)",transform:"translateY(-4px)",offset:.5},{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:1}],extraOptions:{iterations:1/0}}],endAnimation:{keyframes:[{WebkitTransform:"translateY(-8px)",transform:"translateY(-8px)",offset:0},{WebkitTransform:"translateY(0)",transform:"translateY(0)",offset:1}],extraOptions:{easing:"ease-in-out",duration:200,fill:"forwards",iterations:1}}}},"brz-hang":{animation:{multiAnimation:[{keyframes:[{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:1}],extraOptions:{fill:"forwards",duration:200}},{keyframes:[{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:0},{WebkitTransform:"translateY(4px)",transform:"translateY(4px)",offset:.5},{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:1}],extraOptions:{iterations:1/0}}],endAnimation:{keyframes:[{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:0},{WebkitTransform:"translateY(0)",transform:"translateY(0)",offset:1}],extraOptions:{easing:"ease-in-out",duration:200,fill:"forwards",iterations:1}}}},"brz-skew":{animation:[{WebkitTransform:"skew(-10deg)",transform:"skew(-10deg)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-skew-forward":{animation:[{WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:0},{WebkitTransform:"skew(-10deg)",transform:"skew(-10deg)",WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-skew-backward":{animation:[{WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:0},{WebkitTransform:"skew(10deg)",transform:"skew(10deg)",WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-wobble-vertical":{animation:[{WebkitTransform:"translateY(8px)",transform:"translateY(8px)",offset:.16649999999999998},{WebkitTransform:"translateY(-6px)",transform:"translateY(-6px)",offset:.33299999999999996},{WebkitTransform:"translateY(4px)",transform:"translateY(4px)",offset:.49950000000000006},{WebkitTransform:"translateY(-2px)",transform:"translateY(-2px)",offset:.6659999999999999},{WebkitTransform:"translateY(1px)",transform:"translateY(1px)",offset:.8325},{WebkitTransform:"translateY(0)",transform:"translateY(0)",offset:1}],reversibleAnimation:!1,extraOptions:{easing:"ease"}},"brz-wobble-horizontal":{animation:[{WebkitTransform:"translateX(8px)",transform:"translateX(8px)",offset:.16649999999999998},{WebkitTransform:"translateX(-6px)",transform:"translateX(-6px)",offset:.33299999999999996},{WebkitTransform:"translateX(4px)",transform:"translateX(4px)",offset:.49950000000000006},{WebkitTransform:"translateX(-2px)",transform:"translateX(-2px)",offset:.6659999999999999},{WebkitTransform:"translateX(1px)",transform:"translateX(1px)",offset:.8325},{WebkitTransform:"translateX(0)",transform:"translateX(0)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-wobble-to-bottom-right":{animation:[{WebkitTransform:"translate(8px, 8px)",transform:"translate(8px, 8px)",offset:.16649999999999998},{WebkitTransform:"translate(-6px, -6px)",transform:"translate(-6px, -6px)",offset:.33299999999999996},{WebkitTransform:"translate(4px, 4px)",transform:"translate(4px, 4px)",offset:.49950000000000006},{WebkitTransform:"translate(-2px, -2px)",transform:"translate(-2px, -2px)",offset:.6659999999999999},{WebkitTransform:"translate(1px, 1px)",transform:"translate(1px, 1px)",offset:.8325},{WebkitTransform:"translate(0, 0)",transform:"translate(0, 0)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-wobble-to-top-right":{animation:[{WebkitTransform:"translate(8px, -8px)",transform:"translate(8px, -8px)",offset:.16649999999999998},{WebkitTransform:"translate(-6px, 6px)",transform:"translate(-6px, 6px)",offset:.33299999999999996},{WebkitTransform:"translate(4px, -4px)",transform:"translate(4px, -4px)",offset:.49950000000000006},{WebkitTransform:"translate(-2px, 2px)",transform:"translate(-2px, 2px)",offset:.6659999999999999},{WebkitTransform:"translate(1px, -1px)",transform:"translate(1px, -1px)",offset:.8325},{WebkitTransform:"translate(0, 0)",transform:"translate(0, 0)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-wobble-top":{animation:[{WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:0},{WebkitTransform:"skew(-12deg)",transform:"skew(-12deg)",offset:.16649999999999998},{WebkitTransform:"skew(10deg)",transform:"skew(10deg)",offset:.33299999999999996},{WebkitTransform:"skew(-6deg)",transform:"skew(-6deg)",offset:.49950000000000006},{WebkitTransform:"skew(4deg)",transform:"skew(4deg)",offset:.6659999999999999},{WebkitTransform:"skew(-2deg)",transform:"skew(-2deg)",offset:.8325},{WebkitTransformOrigin:"0 100%",transformOrigin:"0 100%",offset:1},{WebkitTransform:"skew(0)",transform:"skew(0)",offset:1}],extraOptions:{easing:"ease"},reversibleAnimation:!1},"brz-wobble-bottom":{animation:[{WebkitTransformOrigin:"100% 0",transformOrigin:"100% 0",offset:0},{WebkitTransform:"skew(-12deg)",transform:"skew(-12deg)",offset:.16649999999999998},{WebkitTransform:"skew(10deg)",transform:"skew(10deg)",offset:.33299999999999996},{WebkitTransform:"skew(-6deg)",transform:"skew(-6deg)",offset:.49950000000000006},{WebkitTransform:"skew(4deg)",transform:"skew(4deg)",offset:.6659999999999999},{WebkitTransform:"skew(-2deg)",transform:"skew(-2deg)",offset:.8325},{WebkitTransformOrigin:"100% 0",transformOrigin:"100% 0",offset:1},{WebkitTransform:"skew(0)",transform:"skew(0)",offset:1}],reversibleAnimation:!1,extraOptions:{easing:"ease"}},"brz-wobble-skew":{animation:[{WebkitTransform:"skew(-12deg)",transform:"skew(-12deg)",offset:.16649999999999998},{WebkitTransform:"skew(10deg)",transform:"skew(10deg)",offset:.33299999999999996},{WebkitTransform:"skew(-6deg)",transform:"skew(-6deg)",offset:.49950000000000006},{WebkitTransform:"skew(4deg)",transform:"skew(4deg)",offset:.6659999999999999},{WebkitTransform:"skew(-2deg)",transform:"skew(-2deg)",offset:.8325},{WebkitTransform:"skew(0)",transform:"skew(0)",offset:1}],reversibleAnimation:!1,extraOptions:{easing:"ease"}},"brz-buzz":{animation:[{WebkitTransform:"translateX(3px) rotate(2deg)",transform:"translateX(3px) rotate(2deg)",offset:.5},{WebkitTransform:"translateX(-3px) rotate(-2deg)",transform:"translateX(-3px) rotate(-2deg)",offset:1}],reversibleAnimation:!1,extraOptions:{iterations:1/0,easing:"ease"}},"brz-buzz-out":{animation:[{WebkitTransform:"translateX(3px) rotate(2deg)",transform:"translateX(3px) rotate(2deg)",offset:.1},{WebkitTransform:"translateX(-3px) rotate(-2deg)",transform:"translateX(-3px) rotate(-2deg)",offset:.2},{WebkitTransform:"translateX(3px) rotate(2deg)",transform:"translateX(3px) rotate(2deg)",offset:.3},{WebkitTransform:"translateX(-3px) rotate(-2deg)",transform:"translateX(-3px) rotate(-2deg)",offset:.4},{WebkitTransform:"translateX(2px) rotate(1deg)",transform:"translateX(2px) rotate(1deg)",offset:.5},{WebkitTransform:"translateX(-2px) rotate(-1deg)",transform:"translateX(-2px) rotate(-1deg)",offset:.6},{WebkitTransform:"translateX(2px) rotate(1deg)",transform:"translateX(2px) rotate(1deg)",offset:.7},{WebkitTransform:"translateX(-2px) rotate(-1deg)",transform:"translateX(-2px) rotate(-1deg)",offset:.8},{WebkitTransform:"translateX(1px) rotate(0)",transform:"translateX(1px) rotate(0)",offset:.9},{WebkitTransform:"translateX(-1px) rotate(0)",transform:"translateX(-1px) rotate(0)",offset:1}],reversibleAnimation:!1,extraOptions:{easing:"ease"}},"brz-forward":{animation:[{WebkitTransform:"translateX(0px)",transform:"translateX(0px)",offset:0},{WebkitTransform:"translateX(8px)",transform:"translateX(8px)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}},"brz-backward":{animation:[{WebkitTransform:"translateX(-8px)",transform:"translateX(-8px)",offset:1}],extraOptions:{fill:"forwards",easing:"ease"}}}[e]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAnimations",{enumerable:!0,get:function(){return o}})},21407:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setHoverOptions:function(){return a},getHoverOptions:function(){return l},hasInfiniteAnimation:function(){return s},getHoverAnimationOptions:function(){return c},isMultiAnimation:function(){return d},disabledHoverForElements:function(){return u},setAttribute:function(){return p},isValidSelector:function(){return f},getHoverTarget:function(){return m}});const r=o(71782),n=o(22741),i=o(76286),a=e=>encodeURI(JSON.stringify(e,((e,t)=>t===1/0?"Infinity":t))),l=e=>JSON.parse(e,((e,t)=>"Infinity"===t?1/0:t)),s=e=>{const{iterations:t}=(0,i.getAnimations)(e)?.extraOptions??{};return t===1/0},c=(e,t)=>{const{duration:o=1e3,infiniteAnimation:r=!1}=e;return{duration:o,iterations:s(t)&&r?1/0:1}},d=e=>!Array.isArray(e)&&void 0!==e,u=[r.ElementTypes.Image,r.ElementTypes.Map,r.ElementTypes.Video,r.ElementTypes.ImageGallery],p=(e,t)=>(0,n.isNullish)(t)?{}:{[e]:a(t)},f=e=>{try{return document.createDocumentFragment().querySelector(e),!0}catch(e){return!1}},m=(e,t)=>{switch(t){case"parent":return e;case"firstChild":return e.firstElementChild}return e.querySelector(t)}},28502:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Label",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,children:o}=e;const i=(0,n.default)("brz-ed-component__label",t);return r.default.createElement("div",{className:i},o)}},56611:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(10301)),i=l(o(33364)),a=o(68914);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}let c=new Map,d=null;class u extends r.Component{static defaultProps={width:100,height:100,src:"",observerRootSelector:null,observerRootMargin:"0px",observerThreshold:[0],spinnerDelay:250,style:{},onImageLoaded:n.default.noop};state={imageFetched:!1,showSpinner:!1};content=r.default.createRef();componentDidMount(){const e=this.content.current;if(this.mounted=!0,null===d){const{observerRootSelector:t,observerRootMargin:o,observerThreshold:r}=this.props,n={root:e.ownerDocument.querySelector(t),rootMargin:o,threshold:r};d=new e.ownerDocument.defaultView.IntersectionObserver(this.handleIntersection,n),d.POLL_INTERVAL=200}d.observe(e),c.set(e,this),setTimeout((()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})}),this.props.spinnerDelay)}componentWillUnmount(){const e=this.content.current;this.mounted=!1,d.unobserve(e),c.delete(e),0===c.size&&(d.disconnect(),d=null)}handleIntersection=e=>{e.forEach((e=>{let{isIntersecting:t,target:o}=e;if(t){const e=c.get(o);if(!e)return;const t=e.props.src;(0,a.preloadImage)(t).then((()=>{d&&d.unobserve(o),e.mounted&&e.setState({imageFetched:!0,showSpinner:!1},e.props.onImageLoaded())}))}}))};render(){const{width:e,height:t,src:o,style:n}=this.props,{imageFetched:a,showSpinner:l}=this.state,s=Math.round(t/e*100*10)/10;return r.default.createElement("div",{ref:this.content,className:"brz-observer__image",style:{paddingTop:`${s}%`}},l&&r.default.createElement("div",{className:"brz-ed-option__block-thumbnail-loading"},r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),a&&r.default.createElement("img",{className:"brz-img",style:n,src:o,alt:"lazyLoad Image"}))}}},99546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Category",{enumerable:!0,get:function(){return p}});const r=c(o(60042)),n=c(o(27378)),i=c(o(10301)),a=c(o(49127)),l=c(o(22546)),s=o(16526);function c(e){return e&&e.__esModule?e:{default:e}}const d={left:0,right:328,top:0,bottom:1/0},u={top:0,left:-48};class p extends n.default.Component{static defaultProps={category:"",shortcodes:[],onChange:i.default.noop};handleChange=e=>{const{shortcodes:t,onChange:o}=this.props;o(e,t)};render(){const{category:e,children:t}=this.props,o=(0,r.default)("brz-ed-sidebar__add-elements",{[`brz-ed-sidebar__add-elements--${e}`]:e});return n.default.createElement(a.default,{type:"addable",showLines:!(0,s.isStory)(l.default.getAll()),blindZone:d,dragOffset:u,onSort:this.handleChange},n.default.createElement("div",{className:o},t))}}},58011:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Control",{enumerable:!0,get:function(){return _}});const r=S(o(60042)),n=S(o(6676)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(23884),l=S(o(10301)),s=S(o(1424)),c=S(o(33364)),d=o(94979),u=o(76742),p=S(o(22546)),f=S(o(47075)),m=o(74215),y=o(97045),g=o(46479),h=o(64985),b=o(16526),v=o(99546);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}const{upgradeToPro:x}=p.default.get("urls"),P={updateDisabledElements:m.updateDisabledElements},C=(0,a.connect)((e=>({disabledElements:(0,y.disabledElementsSelector)(e)})),P);class T extends i.Component{constructor(e){super(e);const t=e.disabledElements.reduce(((e,t)=>({...e,[t]:!0})),{});this.state={disabledElements:t,inputValue:""}}componentDidUpdate(e){e.isEditMode!==this.props.isEditMode&&this.setState({inputValue:""}),e.isEditMode&&!this.props.isEditMode&&this.props.updateDisabledElements(Object.keys(this.state.disabledElements))}handleSortableSort=(e,t)=>{const{from:o,to:r}=e,{resolve:n}=t[o.elementIndex].component,i=(0,b.setIds)(n),a=r.sortableNode.getAttribute("data-sortable-path")?.split("-"),l=r.sortableNode.getAttribute("data-sortable-type"),s=[...a??[],String(r.elementIndex)];f.default.emit("dnd.sort",{from:{itemData:i,itemType:"addable"},to:{containerPath:a,containerType:l,itemIndex:r.elementIndex,itemPath:s}})};handleClick=(e,t)=>{const{component:o,pro:r}=e[t];if(!r||g.IS_PRO){const e=(0,b.setIds)(o.resolve),t=document.querySelector(".slick-list .slick-active"),r=t?.querySelector("[data-sortable-type='section']"),n=r?.getAttribute("data-sortable-path")?.split("-"),i="section",a=t?.getAttribute("data-index"),l=[...n??[],String(a)];f.default.emit("dnd.sort",{from:{itemData:e,itemType:"addable"},to:{containerPath:n,containerType:i,itemIndex:a,itemPath:l}})}};handleDisabledElementsChange=e=>{const{disabledElements:t}=this.state;if(t[e]){const{[e]:o,...r}=t;this.setState({disabledElements:r})}else this.setState({disabledElements:{...t,[e]:!0}})};getFilteredShortcodes(e){const{isEditMode:t}=this.props,{disabledElements:o,inputValue:r}=this.state,i=e.filter((e=>t||!t&&!o[e.component.id]));return new n.default(i,["component.title"]).search(r)}renderIcon(e,t,o){const r=i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"brz-ed-sidebar__add-elements__icon"},i.default.createElement(c.default,{icon:t})),i.default.createElement("span",{className:"brz-span brz-ed-sidebar__add-elements__text"},e));return o?i.default.createElement(s.default,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",openOnClick:!1,overlay:i.default.createElement(d.ProInfo,{text:(0,h.t)("Upgrade to PRO to use this element"),url:x}),offset:10},r):i.default.createElement(i.default.Fragment,null,r,i.default.createElement("div",{className:"brz-ed-sidebar__add-elements__tooltip"},e))}renderIcons(e){const{disabledElements:t}=this.state,{isEditMode:o}=this.props;return e.map(((n,a)=>{let{component:s,pro:d}=n;const f=(0,b.isStory)(p.default.getAll())?()=>this.handleClick(e,a):l.default.noop,m=this.renderIcon(s.title,s.icon,!g.IS_PRO&&d),y=i.default.createElement("div",{className:(0,r.default)("brz-ed-sidebar__add-elements__item",{"brz-ed-sidebar__add-elements__item-pro":d&&!g.IS_PRO}),onClick:f,key:s.id},m);return o?i.default.createElement("div",{className:"brz-ed-sidebar__add-elements__item brz-ed-sidebar__add-elements__item-edit",key:s.id},i.default.createElement("div",{className:(0,r.default)("brz-ed-sidebar__edit",{"brz-ed-sidebar__edit--checked":!t[s.id]}),onClick:()=>this.handleDisabledElementsChange(s.id)},i.default.createElement("span",{className:"brz-ed-sidebar__checked"},i.default.createElement(c.default,{icon:"nc-check-circle"}))),m):d&&!g.IS_PRO?y:i.default.createElement(u.SortableElement,{key:s.id,type:"addable",subtype:s.id},y)}))}render(){const{inputValue:e}=this.state,{shortcodes:t}=this.props;return i.default.createElement(i.default.Fragment,null,i.default.createElement("div",{className:"brz-ed-sidebar__search"},i.default.createElement("input",{type:"text",className:"brz-input",placeholder:(0,h.t)("Search element"),autoFocus:!0,spellCheck:!1,value:e,onChange:e=>{let{target:{value:t}}=e;return this.setState({inputValue:t})}}),i.default.createElement("div",{className:"brz-ed-sidebar__button-search"},i.default.createElement(c.default,{icon:"nc-search"}))),Object.entries(t).filter((e=>{let[t,o]=e;return this.getFilteredShortcodes(o).length>0})).map(((e,t)=>{let[o,r]=e;const n=this.getFilteredShortcodes(r),a=l.default.sortBy(n.filter((e=>!e.component.hidden)),(e=>e.component.position||10));return i.default.createElement(i.Fragment,{key:o},0!==t&&i.default.createElement("div",{className:"brz-ed-sidebar__add-elements--separator-title"},o),i.default.createElement(v.Category,{category:o,shortcodes:a,onChange:this.handleSortableSort},this.renderIcons(a)))})))}}const _=C(T)},21705:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Header",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(33364)),i=l(o(22546)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{const{children:t}=e,[o,l]=(0,r.useState)(!1),s=i.default.getAll(),c=s?.ui?.help?.showIcon,d=(0,r.useCallback)((()=>{l((e=>!e))}),[]),u=(0,r.useCallback)((()=>r.default.createElement("div",{className:"brz-ed-sidebar__edit-elements"},r.default.createElement("div",{className:"brz-ed-sidebar__elements--icon",onClick:d},o?r.default.createElement("span",{title:(0,a.t)("Done")},r.default.createElement(n.default,{icon:"nc-success"})):r.default.createElement("span",{title:(0,a.t)("Edit")},r.default.createElement(n.default,{icon:"nc-pen"}))),c&&r.default.createElement("div",{className:"brz-ed-sidebar__elements--icon"},r.default.createElement("span",{title:(0,a.t)("Help")},r.default.createElement(n.default,{icon:"nc-alert-circle-que"}))))),[o,d,c]);return r.default.cloneElement(t,{renderExtraHeader:u,isEditMode:o})}},7746:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Base:function(){return d},Shopify:function(){return u}});const r=c(o(27378)),n=o(64985),i=c(o(95664)),a=o(58011),l=o(21705),s=o(97724);function c(e){return e&&e.__esModule?e:{default:e}}const d={id:s.LeftSidebarOptionsIds.addElements,icon:"nc-add",type:"drawer",drawerTitle:(0,n.t)("Add Elements"),showInDeviceModes:["desktop"],drawerComponent:e=>r.default.createElement(a.Control,{...e,shortcodes:i.default.getShortcodes()}),wrapperHeaderComponent:l.Header},u={id:`${s.LeftSidebarOptionsIds.addElements}Shopify`,icon:"nc-shopify-logo",type:"drawer",drawerTitle:(0,n.t)("Add Shopify Elements"),showInDeviceModes:["desktop"],drawerComponent:e=>r.default.createElement(a.Control,{...e,shortcodes:i.default.getShopifyShortcodes()}),wrapperHeaderComponent:l.Header}},42432:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(65631),a={transition:"transform 150ms linear",transform:"translate3d(-100%, 0, 0)"},l={entering:{transform:"translate3d(-100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}},s=e=>{let{in:t,children:o,appear:n,unmountOnExit:s}=e;return r.default.createElement(i.Transition,{in:t,timeout:150,appear:n,unmountOnExit:s},(e=>r.default.createElement("div",{className:"brz-ed-sidebar__content "+(t?"active":""),style:{...a,...l[e]}},o)))}},87874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(33364))&&i.__esModule?i:{default:i};var i;const a=o(25663),l=o(68914),s=o(64985);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={blockData:null,spinnerDelay:300};state={blockData:this.props.blockData,imageFetched:!1,showSpinner:!0};componentDidMount(){this.mounted=!0,this.cancelCurrentPreload=this.preloadThumbnail(this.state.blockData)}componentDidUpdate(){this.props.blockData!==this.state.blockData&&(this.cancelCurrentPreload(),this.cancelCurrentPreload=this.preloadThumbnail(this.props.blockData))}componentWillUnmount(){this.mounted=!1,this.cancelCurrentPreload(),clearTimeout(this.showSpinnerTimeout)}preloadThumbnail(e){let t=!1;const{url:o}=(0,a.blockThumbnailData)(e);return(0,l.preloadImage)(o).then((()=>{this.mounted&&!t&&this.setState({imageFetched:!0,showSpinner:!1,blockData:e})})),()=>t=!0}render(){const{blockData:e,imageFetched:t,showSpinner:o}=this.state,{url:i,width:l,height:c}=(0,a.blockThumbnailData)(e),d={paddingTop:175*c/l+"px"},u=o?{}:{display:"none"};return r.default.createElement("div",{className:"brz-ed-sidebar-block-image",style:d},r.default.createElement("div",{className:"brz-ed-sidebar-block-image-loading",style:u},r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),t&&r.default.createElement("img",{className:"brz-img",src:i}),r.default.createElement("div",{className:"brz-ed-sidebar-block-layout"},r.default.createElement("span",{className:"brz-span brz-ed-sidebar-block-drag"},(0,s.t)("Drag to reorder"))))}}},80041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BlocksSortable",{enumerable:!0,get:function(){return _}});const r=o(65095),n=o(51107),i=o(15393),a=o(9448),l=v(o(60042)),s=v(o(27378)),c=o(23884),d=v(o(33364)),u=v(o(22546)),p=o(97724),f=o(74215),m=o(97045),y=o(25663),g=o(64985),h=o(16526),b=v(o(87874));function v(e){return e&&e.__esModule?e:{default:e}}const S=e=>{let{item:t}=e;return s.default.createElement(b.default,{blockData:t})},w=e=>{let{item:t,globalBlocks:o,page:r,onRemove:n,id:l}=e;if("GlobalBlock"===t.type){const{_id:e}=t.value;try{if(!(0,y.canUseCondition)(o[e],r))return s.default.createElement("div",null)}catch{return s.default.createElement("div",null)}}const{active:c,attributes:u,listeners:p,transform:f,transition:m,setNodeRef:g}=(0,i.useSortable)({id:l}),h=c?.id===l,b={transform:a.CSS.Translate.toString(f),transition:m};return s.default.createElement("div",{className:"brz-ed-sidebar-block-item",style:{zIndex:h?1:0}},s.default.createElement("div",{ref:g,style:b,...u,...p},s.default.createElement(S,{item:t})),s.default.createElement("div",{className:"brz-ed-sidebar-block-remove",onClick:n},s.default.createElement(d.default,{icon:"nc-circle-remove-2",className:"brz-ed-bar-icon"})))},x=e=>{let{isSorting:t,items:o,globalBlocks:a,page:c,onItemRemove:d,onSortEnd:u,onSortStart:p}=e;const f=[],m=[];for(let e=0;ed(e)})))}const y=(0,r.useSensors)((0,r.useSensor)(r.PointerSensor,{activationConstraint:{distance:10}}),(0,r.useSensor)(r.KeyboardSensor)),g=(0,l.default)("brz-ed-sidebar-sortable",{"brz-ed-sidebar-sortable--sorting":t});return s.default.createElement("div",{className:g},s.default.createElement(r.DndContext,{onDragStart:p,onDragEnd:u,sensors:y,modifiers:[n.restrictToWindowEdges,n.restrictToVerticalAxis],collisionDetection:r.closestCenter},s.default.createElement(i.SortableContext,{items:f,strategy:i.verticalListSortingStrategy},m)))};class P extends s.default.Component{static getDerivedStateFromProps(e,t){return t.optimistic?{blocks:t.blocks,optimistic:!1}:e.pageBlocks!==t.blocks?{blocks:e.pageBlocks||[]}:null}state={blocks:[],isSorting:!1};content=s.default.createRef();handleSortStart=()=>{this.setState({isSorting:!0})};getContentWindow=()=>window.parent;getContainer=()=>{const e=this.content.current;return e&&e.parentElement};handleSortEnd=e=>{const{active:t,over:o}=e;if(!o)return this.setState({isSorting:!1});const r=this.state.blocks.findIndex((e=>e.value._id===t.id)),n=this.state.blocks.findIndex((e=>e.value._id===o.id));if(r===n)return this.setState({isSorting:!1});this.setState((e=>{const{blocks:t}=e;return{blocks:(0,i.arrayMove)(t,r,n),optimistic:!0,isSorting:!1}}),(()=>{this.props.dispatch((0,f.reorderBlocks)({oldIndex:r,newIndex:n}))}))};handleItemRemove=e=>{const{value:{_id:t}}=this.state.blocks[e];this.props.dispatch((0,f.removeBlock)({index:e,id:t}))};render(){const{blocks:e,isSorting:t}=this.state,{page:o,globalBlocks:r}=this.props;return s.default.createElement(x,{helperClass:"brz-ed-sidebar-block-item-helper",isSorting:t,items:e,globalBlocks:r,distance:5,useDragHandle:!0,innerRef:this.content,page:o,contentWindow:this.getContentWindow,getContainer:this.getContainer,onSortStart:this.handleSortStart,onSortEnd:this.handleSortEnd,onItemRemove:this.handleItemRemove})}}const C=u.default.getAll(),T=C?.ui?.help?.showIcon,_={id:p.LeftSidebarOptionsIds.reorderBlock,type:"drawer",icon:"nc-reorder",withHelpIcon:T,disabled:(0,h.isPopup)(u.default.getAll())||(0,h.isStory)(u.default.getAll()),drawerTitle:(0,g.t)("Reorder Blocks"),drawerComponent:(0,c.connect)((e=>({pageBlocks:(0,m.pageBlocksAssembledSelector)(e),globalBlocks:(0,m.globalBlocksSelector)(e),page:(0,m.pageSelector)(e)})))(P)}},53223:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"custom",{enumerable:!0,get:function(){return m}});const r=u(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),a=o(97724),l=o(74215),s=o(97045),c=o(64985),d=u(o(73501));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{const{icon:t,onOpen:o,onClose:u}=e,p=(0,i.useSelector)(s.leftSidebarSelector),f=(0,n.useRef)(!1),m=p.drawerContentType===a.LeftSidebarOptionsIds.cms&&p.isOpen,y=(0,i.useDispatch)(),g=(0,n.useCallback)((e=>{y((0,l.updateUI)("leftSidebar",{drawerContentType:e?a.LeftSidebarOptionsIds.cms:null,isOpen:e}))}),[y]),h=(0,n.useCallback)((()=>{g(!m),o?.((()=>{g(!1)}))}),[o,m,g]);return(0,n.useEffect)((()=>{!m&&f.current&&u?.(),f.current=!0}),[m,u]),n.default.createElement(d.default,{className:(0,r.default)("brz-ed-sidebar__control__item",{"brz-ed-sidebar__control__item--active":m}),icon:t??"nc-menu",title:(0,c.t)("CMS"),onClick:h})},m=e=>({id:a.LeftSidebarOptionsIds.cms,type:"custom",Component:()=>n.default.createElement(f,{icon:e?.icon,onOpen:e?.onOpen,onClose:e?.onClose})})},66998:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DeviceModes",{enumerable:!0,get:function(){return w}});const r=f(o(60042)),n=f(o(27378)),i=f(o(24072)),a=f(o(22546)),l=f(o(47075)),s=o(74215),c=o(92213),d=o(64985),u=o(16526),p=o(97724);function f(e){return e&&e.__esModule?e:{default:e}}const m=()=>(0,c.getStore)().getState().ui.deviceMode,y={id:"mobile",type:"link",label:(0,d.t)("Mobile"),icon:"nc-phone",extraProps:()=>({className:(0,r.default)({"brz-ed-sidebar__popover__item--active":"mobile"===m()}),onClick:()=>{"mobile"!==m()&&((0,c.getStore)().dispatch((0,s.setDeviceMode)("mobile")),setTimeout((()=>{l.default.emit("deviceMode.change","mobile")}),300))}})},g={id:"tablet",type:"link",label:(0,d.t)("Tablet"),icon:"nc-tablet",extraProps:()=>({className:(0,r.default)({"brz-ed-sidebar__popover__item--active":"tablet"===m()}),onClick:()=>{"tablet"!==m()&&((0,c.getStore)().dispatch((0,s.setDeviceMode)("tablet")),setTimeout((()=>{l.default.emit("deviceMode.change","tablet")}),300))}})},h={id:"desktop",type:"link",label:(0,d.t)("Desktop"),icon:"nc-desktop",extraProps:()=>({className:(0,r.default)({"brz-ed-sidebar__popover__item--active":"desktop"===m()}),onClick:()=>{"desktop"!==m()&&((0,c.getStore)().dispatch((0,s.setDeviceMode)("desktop")),setTimeout((()=>{l.default.emit("deviceMode.change","desktop")}),300))}})},b=["ctrl+plus","cmd+plus","right_cmd+plus","ctrl+right_plus","cmd+right_plus","right_cmd+right_plus"],v=["ctrl+minus","cmd+minus","right_cmd+minus","ctrl+right_minus","cmd+right_minus","right_cmd+right_minus"];function S(e,t){let{keyName:o}=t;e.preventDefault();const{options:r}=w;let n=r.findIndex((e=>{let{id:t}=e;return t===(0,c.getStore)().getState().ui.deviceMode}));b.includes(o)?n--:n++,n===r.length?n=0:n<0&&(n=r.length-1),(0,c.getStore)().dispatch((0,s.setDeviceMode)(r[n].id)),setTimeout((()=>{l.default.emit("deviceMode.change",r[n].id)}),300)}const w={id:p.LeftSidebarOptionsIds.deviceMode,type:"popover",title:(0,d.t)("Mobile view"),className:"brz-ed-sidebar__popover--deviceMode",options:[h,g,y],render:e=>n.default.createElement(n.default.Fragment,null,e,n.default.createElement(i.default,{keyNames:[...b,...v],id:"key-helper-device-modes",onKeyDown:S})),disabled:(0,u.isStory)(a.default.getAll()),extraProps:()=>({icon:"mobile"===m()?"nc-phone":"tablet"===m()?"nc-tablet":"nc-desktop"})}},42174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(33364))&&i.__esModule?i:{default:i};var i;const a=o(81300),l=o(64985);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={headerText:"",withHelpIcon:!1};render(){const{headerText:e,renderExtraHeader:t,children:o,withHelpIcon:i,...s}=this.props;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ed-sidebar__header"},r.default.createElement("h3",{className:"brz-h3 brz-ed-sidebar__header__title"},e),i&&r.default.createElement("span",{title:(0,l.t)("Help")},r.default.createElement(n.default,{icon:"nc-alert-circle-que",className:"brz-icon brz-ed-sidebar__header__help"})),"function"==typeof t&&t()),r.default.createElement("div",{className:"brz-ed-sidebar__main"},o&&r.default.createElement(a.Scrollbar,{theme:"dark"},r.default.cloneElement(o,s))))}}},37965:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(10301)),i=l(o(60042)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",icon:"",title:"",onClick:n.default.noop};render(){const{icon:e,title:t,className:o,onClick:n}=this.props,l=(0,i.default)("brz-li brz-ed-sidebar__control__item",o);return r.default.createElement("div",{className:l,title:t,onClick:n},r.default.createElement(a.default,{icon:e}))}}},22809:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),n=a(o(60042)),i=a(o(54836));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={className:"",data:{}};render(){const{data:e,meta:t,className:o}=this.props,a=i.default[e.type],l="object"==typeof e.extraProps?e.extraProps:"function"==typeof e.extraProps?e.extraProps():{},s=(0,n.default)("brz-ed-sidebar__control__item",o,e.className,l.className),c={...e,...l,meta:t,className:s},d=r.default.createElement(a,c);return c.render?c.render(d):d}}const s=l},99867:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=l(o(60042)),n=l(o(27378)),i=o(46338),a=l(o(22809));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{if(!e)return!1;const{disabled:t,roles:o}=e;return!0!==t&&!(Array.isArray(o)&&!o.includes((0,i.currentUserRole)()))};class c extends n.default.Component{static defaultProps={className:"",data:null,meta:{}};render(){const{className:e,optionClassName:t,data:o,meta:i}=this.props,l=(0,r.default)("brz-ed-sidebar__control__options",e);if(!o)return;const c=o.filter(s).map(((e,o)=>n.default.createElement(a.default,{key:o,className:t,data:e,meta:i})));return n.default.createElement("div",{className:l},c)}}const d=c},83471:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(10301)),i=a(o(60042));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={label:"",link:"",title:"",onClick:n.default.noop};handleClick=e=>{const{onClick:t,link:o}=this.props;t(),""===o&&e.preventDefault()};render(){const{className:e,label:t,link:o,title:n}=this.props,a=(0,i.default)("brz-ed-sidebar-bottom__option",e);return r.default.createElement("div",{className:a,title:n},r.default.createElement("a",{href:o,className:"brz-a brz-ed-sidebar__popover__btn",onClick:this.handleClick},r.default.createElement("span",{className:"brz-span"},t)))}}},99976:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;function i(e){const{Component:t}=e;return r.default.createElement(t,null)}i.defaultProps={Component:()=>{}}},51741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(31542)),i=o(23884),a=o(46338),l=o(74215),s=u(o(42432)),c=u(o(42174)),d=u(o(37965));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=r.default.memo((e=>{let{drawerContentType:t,drawerTitle:o="",withHelpIcon:i,drawerComponent:a,wrapperHeaderComponent:l=(e=>{let{children:t}=e;return t}),id:d}=e;const u=(0,r.useRef)(t);(0,r.useEffect)((()=>{u.current=t}));const p=u.current,f=!p,m=p===d&&!t,y=t===d;let g=r.default.createElement(s.default,{in:!!t,appear:f},r.default.createElement(l,null,r.default.createElement(c.default,{headerText:o,withHelpIcon:i},a&&r.default.createElement(a,null))));const h=window.parent.document.getElementById("brz-ed-sidebar");if(m)g=r.default.createElement(s.default,{unmountOnExit:!0});else if(!y)return null;return n.default.createPortal(g,h)})),m=(0,i.connect)((e=>({deviceMode:e.ui.deviceMode,drawerContentType:e.ui.leftSidebar.drawerContentType})),(e=>({onDrawerContentTypeChange:(t,o)=>e((0,l.updateUI)("leftSidebar",{drawerContentType:t,isOpen:o}))})))((e=>{let{...t}=e;const{id:o,deviceMode:n,showInDeviceModes:i,disabled:l,drawerContentType:s,withHelpIcon:c,iconProps:u,icon:p,drawerTitle:m,drawerComponent:y,wrapperHeaderComponent:g,onDrawerContentTypeChange:h}=t,b="admin"===(0,a.currentUserRole)()&&(!i||i.includes(n))&&!l,v=s===o?"brz-ed-sidebar__control__item--active":"",S="object"==typeof u?u:"function"==typeof u?u({activeClass:"brz-ed-sidebar__control__item--active"}):{},w=(0,r.useCallback)((()=>{h(o,!0)}),[h,o]);return b?r.default.createElement(r.default.Fragment,null,r.default.createElement(d.default,{key:o,tagName:"div",className:v,icon:p,title:m,onClick:w,...S}),r.default.createElement(f,{id:o,drawerTitle:m,drawerContentType:s,withHelpIcon:c,drawerComponent:y,wrapperHeaderComponent:g})):null}))},62221:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Languages",{enumerable:!0,get:function(){return m}});const r=p(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),a=p(o(97023)),l=p(o(65961)),s=p(o(22546)),c=o(74215),d=o(97045),u=o(98930);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=e=>{const t=(0,i.useSelector)(d.currentLanguageSelector)??"default",o=(0,i.useDispatch)(),{label:p,className:f}=e,m=(0,r.default)("brz-ed-sidebar-bottom__option","brz-ed-sidebar__wp-template",f),y=(0,n.useMemo)((()=>{const e=s.default.getAll();return[{value:"default",title:"Default"},...(0,u.getLanguagesChoices)(e)].map(((e,t)=>n.default.createElement(l.default,{key:t,value:e.value},e.title)))}),[]),g=(0,n.useCallback)((e=>{o((0,c.updateUI)("currentLanguage",e))}),[o]);return n.default.createElement("div",{className:m},n.default.createElement("div",{className:"brz-ed-option__label"},p),n.default.createElement(a.default,{defaultValue:t,className:"brz-control__select--dark",maxItems:"6",itemHeight:"30",onChange:g},y))}},73501:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=l(o(10301)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends n.default.Component{static defaultProps={className:"",label:"",icon:"",link:"",linkTarget:"",title:"",onClick:i.default.noop};handleClick=e=>{const{link:t,meta:o={},onClick:r}=this.props;""!==t&&"#"!==t||!o.popover||o.popover.close(),r(e)};render(){var e=this;const{className:t,icon:o,label:i,link:l,linkTarget:s,title:c}=this.props,d=(0,r.default)("brz-ed-sidebar-bottom__option",t),u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n.default.createElement("div",{...t?{className:t}:{},title:c,onClick:e.handleClick},o&&n.default.createElement(a.default,{icon:o}),i&&n.default.createElement("span",{className:"brz-span"},i))};return""!==l?n.default.createElement("a",{href:l,target:s,className:(0,r.default)("brz-a",d)},u()):u(d)}}},80635:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=p(o(60042)),n=p(o(27378)),i=o(84989),a=p(o(36042)),l=p(o(17882)),s=p(o(33364)),c=p(o(99867)),d=o(74215),u=o(92213);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default.Component{static defaultProps={icon:"",options:[],clickOutsideExceptions:[],title:""};state={isOpen:!1,isHidden:!1};handleClick=()=>{if(!this.state.isOpen){const e=(0,u.getStore)();e.getState().ui.leftSidebar.isOpen&&e.dispatch((0,d.updateUI)("leftSidebar",{isOpen:!1})),this.open()}};handleClickOutside=()=>{this.close()};open=()=>{const{isOpen:e}=this.state;e||this.setState({isOpen:!0})};close=()=>{const{isOpen:e}=this.state;e&&this.setState({isOpen:!1})};show=()=>{const{isHidden:e}=this.state;e&&this.setState({isHidden:!1})};hide=()=>{const{isHidden:e}=this.state;e||this.setState({isHidden:!0})};renderOptions(){const{options:e}=this.props,t={popover:{open:this.open,close:this.close,show:this.show,hide:this.hide}};return n.default.createElement(c.default,{optionClassName:"brz-ed-sidebar__popover__item",data:e,meta:t})}render(){const{icon:e,clickOutsideExceptions:t,className:o,title:c}=this.props,{isOpen:d,isHidden:u}=this.state,p=(0,r.default)("brz-ed-sidebar-bottom__option brz-ed-sidebar__popover",o,{"brz-ed-sidebar__popover__item--active":d}),f=(0,r.default)("brz-ed-animated brz-ed-animated--fadeInLeft","brz-ed-sidebar__popover-content",{"brz-hidden":u}),m=[...t,".supports-drag-drop"];return n.default.createElement(l.default,{onClickOutside:this.handleClickOutside,exceptions:m},n.default.createElement("div",{className:p,title:c,onClick:this.handleClick},n.default.createElement(i.Manager,null,n.default.createElement(i.Reference,null,(t=>{let{ref:o}=t;return n.default.createElement("div",{ref:o},n.default.createElement(s.default,{icon:e}))})),this.state.isOpen&&n.default.createElement(i.Popper,{placement:"right",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"preventOverflow",options:{padding:8}}]},(e=>{let{ref:t,style:o,arrowProps:r,placement:i,update:l}=e;return n.default.createElement("div",{ref:t,style:o,"data-placement":i},n.default.createElement("div",{className:f},n.default.createElement("div",{ref:r.ref,style:r.style},n.default.createElement("div",{className:`brz-ed-arrow brz-ed-arrow--${i} brz-sidebar-arrow`})),this.renderOptions(),n.default.createElement(a.default,{onResize:l})))})))))}}},44730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Roles",{enumerable:!0,get:function(){return m}});const r=p(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),a=p(o(97023)),l=p(o(65961)),s=p(o(22546)),c=o(74215),d=o(97045),u=o(14052);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=e=>{const t=(0,i.useSelector)(d.currentRoleSelector)??"default",o=(0,i.useDispatch)(),{label:p,className:f}=e,m=(0,r.default)("brz-ed-sidebar-bottom__option brz-ed-sidebar__wp-template",f),y=(0,n.useMemo)((()=>{const e=s.default.getAll();return[{role:"default",name:"Default"},{role:"not_logged",name:"Not logged"},{role:"logged",name:"Logged"},...(0,u.getMembershipRoles)(e)].map(((e,t)=>n.default.createElement(l.default,{key:t,value:e.role},e.name)))}),[]),g=(0,n.useCallback)((e=>{o((0,c.updateUI)("currentRole",e))}),[o]);return n.default.createElement("div",{className:m},n.default.createElement("div",{className:"brz-ed-option__label"},p),n.default.createElement(a.default,{defaultValue:t,className:"brz-control__select--dark",maxItems:"6",itemHeight:"30",onChange:g},y))}},29901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=u(o(27378)),n=o(23884),i=u(o(60042)),a=u(o(22546)),l=u(o(97023)),s=u(o(65961)),c=o(63425),d=o(39191);function u(e){return e&&e.__esModule?e:{default:e}}const p=e=>(0,c.isWPPage)(e.page)?e.page.template:"",f=(0,n.connect)((e=>({currentTemplate:p(e)})),null);class m extends r.default.Component{handleTemplateChange=e=>{const t=window.parent||window,o=a.default.getAll();if((0,d.isWp)(o)){const r=o.urls.changeTemplate??"";t.location.href=`${r}&template=${e}`}};renderOptions(){const e=a.default.getAll();return(0,d.isWp)(e)?e.wp.templates.map(((e,t)=>r.default.createElement(s.default,{key:t,value:e.id},e.title))):[]}render(){const{label:e,className:t,currentTemplate:o}=this.props,n=(0,i.default)("brz-ed-sidebar-bottom__option brz-ed-sidebar__wp-template",t);return r.default.createElement("div",{className:n},e&&r.default.createElement("div",{className:"brz-ed-option__label"},e),r.default.createElement(l.default,{defaultValue:o,className:"brz-control__select--dark",maxItems:"6",itemHeight:"30",onChange:this.handleTemplateChange},this.renderOptions()))}}const y=f(m)},19861:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),n=d(o(27378)),i=d(o(10301)),a=o(63458),l=d(o(22546)),s=o(64187),c=o(68914);function d(e){return e&&e.__esModule?e:{default:e}}const{page:u}=l.default.get("wp"),p=i.default.debounce((function(){for(var e=arguments.length,t=new Array(e),o=0;o{const{id:e,url:t,pointX:o,pointY:r}=l.default.get("wp").featuredImage||{};return{id:e||"",url:t||"",pointX:o||50,pointY:r||50}})();mounted=!1;componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}handleImageChange=e=>{const{src:t,x:o,y:r}=e;""===t?(this.constructor.currentFeaturedImage={id:"",url:"",pointX:50,pointY:50},(0,s.removeFeaturedImage)(u)):(this.constructor.currentFeaturedImage.pointX=o,this.constructor.currentFeaturedImage.pointY=r,p(u,this.constructor.currentFeaturedImage.id,o,r)),this.forceUpdate()};handleImageUpload=()=>{const e=o.g.wp||o.g.parent.wp;if(!e)throw new Error("Could not find WordPress on global object (window.wp)");if(!e.media)throw new Error("Could not find WordPress media object (window.wp.media). Make sure the WordPress media script is enqueued.");this.props.meta&&this.props.meta.popover&&this.props.meta.popover.hide();const t=parent.document.querySelector("#brz-ed-iframe"),r=e.media.featuredImage.frame();r.on("select",(()=>{const e=r.state().get("selection").first(),{url:t,id:o}=e.attributes;(0,s.updateFeaturedImage)(u,o).then((()=>{this.constructor.currentFeaturedImage.id=o,this.constructor.currentFeaturedImage.url=t,this.mounted&&this.forceUpdate()}))})),r.on("close",(()=>{t?.classList.remove("media-modal-open"),this.props.meta&&this.props.meta.popover&&this.props.meta.popover.show()})),t?.classList.add("media-modal-open"),r.open()};render(){const{className:e,label:t,title:o}=this.props,i=(0,r.default)("brz-ed-sidebar__wp-feature__image",e),{pointX:l,pointY:s,url:d}=this.constructor.currentFeaturedImage;return n.default.createElement("div",{className:i,title:o},t&&n.default.createElement("div",{className:"brz-ed-option__label"},t),n.default.createElement("div",null,n.default.createElement(a.ImageSetter,{src:d,extension:(0,c.getImageFormat)(d),customUrl:!0,x:l,y:s,onUpload:this.handleImageUpload,onChange:this.handleImageChange})))}}},88764:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=u(o(83471)),n=u(o(99976)),i=u(o(51741)),a=o(62221),l=u(o(73501)),s=u(o(80635)),c=o(44730),d=u(o(29901));function u(e){return e&&e.__esModule?e:{default:e}}const p={button:r.default,link:l.default,popover:s.default,drawer:i.default,custom:n.default,membership:c.Roles,template:d.default,language:a.Languages,shortcuts:l.default}},54836:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=i(o(29901)),n=i(o(19861));function i(e){return e&&e.__esModule?e:{default:e}}const a={...i(o(88764)).default,wpTemplate:r.default,featuredImage:n.default}},87494:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Settings",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=c(o(22546)),i=o(95994),a=c(o(73501)),l=o(64985),s=o(62762);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{config:t}=e;const[o,n]=(0,r.useState)(!1),{urls:{projectSettings:s}}=t;return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default,{className:"brz-ed-sidebar__control__item",icon:"nc-cog",title:(0,l.t)("Settings"),onClick:()=>n(!o)}),r.default.createElement(i.PromptThirdParty,{iframeSrc:s,opened:o,onClose:()=>n(!1)}))},p={id:"settings",type:"custom",Component:()=>{const e=n.default.getAll();return(0,s.isCloud)(e)?r.default.createElement(u,{config:e}):null}}},53494:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Styling",{enumerable:!0,get:function(){return y}});const r=o(34051),n=f(o(27378)),i=o(23884),a=f(o(62893)),l=o(97724),s=o(10744),c=o(74215),d=o(97045),u=o(58838),p=o(64985);function f(e){return e&&e.__esModule?e:{default:e}}class m extends n.default.Component{handleCurrentStyleIdChange=e=>{let{value:t}=e;this.props.dispatch((0,s.updateCurrentStyleId)(t))};handleColorPaletteChange=e=>{const{currentStyle:t,dispatch:o}=this.props;o((0,s.updateCurrentStyle)({...t,colorPalette:e}))};handleFontStylesChange=e=>{const{currentStyle:t,extraFontStyles:o,dispatch:n}=this.props,{fontStyles:i}=t,a=[...i,...o];if(e.length>a.length)n((0,c.updateExtraFontStyles)(e.filter((e=>"on"===e.deletable))));else for(const o of e)for(const i of a)if(o.id===i.id){const a=(0,r.fromJS)(o),l=(0,r.fromJS)(i);if(a.equals(l))continue;"off"===o.deletable?n((0,s.updateCurrentStyle)({...t,fontStyles:e.filter((e=>"off"===e.deletable))})):n((0,c.updateExtraFontStyles)(e.filter((e=>"on"===e.deletable))))}};render(){const{styles:e,currentStyle:{id:t,colorPalette:o,fontStyles:r},extraFontStyles:i}=this.props,l=[{id:"currentStyle",label:"Current Style",type:"select-dev",choices:e.map((e=>({title:(0,u.brizyToBranding)(e.title),value:e.id}))),display:"block",value:{value:t},onChange:this.handleCurrentStyleIdChange},{id:"colorPalette",type:"colorPaletteEditor",attr:{className:"brz-ed-sidebar-option__color-palette-editor"},value:o,onChange:this.handleColorPaletteChange},{id:"fontStyles",type:"fontStyleEditor",value:{extraFontStyles:i,fontStyles:r},onChange:this.handleFontStylesChange}];return n.default.createElement("div",{className:"brz-ed-sidebar__styling"},n.default.createElement(a.default,{className:"brz-ed-sidebar-options",data:l}))}}const y={id:l.LeftSidebarOptionsIds.globalStyle,type:"drawer",icon:"nc-brush",drawerTitle:(0,p.t)("Styling"),drawerComponent:(0,i.connect)((e=>({styles:(0,d.stylesSelector)(e),currentStyle:(0,d.currentStyleSelector)(e),extraFontStyles:(0,d.extraFontStylesSelector)(e)})),(e=>({dispatch:e})))(m)}},79541:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LeftSidebar",{enumerable:!0,get:function(){return h}});const r=y(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),a=y(o(17882)),l=y(o(10547)),s=y(o(22546)),c=o(54639),d=o(74215),u=o(97045),p=o(17795),f=y(o(99867)),m=o(36073);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const h=()=>{const e=(0,i.useDispatch)(),{drawerContentType:t,isOpen:o}=(0,i.useSelector)(u.leftSidebarSelector),y=(0,n.useCallback)((()=>t&&e((0,d.updateUI)("leftSidebar",{drawerContentType:null,isOpen:!1}))),[t,e]),g=(0,n.useMemo)((()=>s.default.getAll()),[]),{top:h,bottom:b}=(0,n.useMemo)((()=>(0,m.getOptions)(g)),[g]),v="cmsUi"===t&&o,S=(0,n.useMemo)((()=>(0,c.isCloud)(g)&&!(0,p.isStory)(g)),[g]);return n.default.createElement(a.default,{onClickOutside:y,exceptions:[".brz-ed-sortable--empty",".brz-ed-toolbar",".brz-ed-fixed-bottom-panel",".brz-ed-animated",".brz-ed-eyeDropper"]},n.default.createElement(l.default,null,n.default.createElement("div",{id:"brz-ed-sidebar",className:"brz-ed-sidebar"},n.default.createElement("div",{className:(0,r.default)("brz-ed-sidebar__control",{"brz-ed-sidebar__control-cms":S,"brz-ed-sidebar__control-cms__opened":S&&v})},n.default.createElement(f.default,{className:"brz-ed-sidebar__control--top",data:h}),n.default.createElement(f.default,{className:"brz-ed-sidebar__control--bottom",data:b})))))}},36073:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getOptions",{enumerable:!0,get:function(){return h}});const r=o(70634),n=o(62762),i=o(97724),a=o(92213),l=o(64985),s=o(16526),c=o(7746),d=o(80041),u=o(53223),p=o(66998),f=o(87494),m=o(53494),y=o(75588),g=o(64531),h=e=>{const{leftSidebar:t={}}=e.ui??{},{topTabsOrder:o=[],bottomTabsOrder:h=[]}=t,b=[];let v=[];const S=(e=>{const{urls:t}=e,o=e.ui?.leftSidebar??{},r=(0,g.getPageSettings)(e),n=(0,y.getMoreOptions)(e);return{[i.LeftSidebarOptionsIds.cms]:(0,u.custom)(o[i.LeftSidebarOptionsIds.cms]),[i.LeftSidebarOptionsIds.addElements]:c.Base,[i.LeftSidebarOptionsIds.reorderBlock]:d.BlocksSortable,[i.LeftSidebarOptionsIds.globalStyle]:m.Styling,[i.LeftSidebarOptionsIds.collaboration]:{id:i.LeftSidebarOptionsIds.collaboration,type:"link",icon:"nc-collab",title:(0,l.t)("Collaborate"),onClick:()=>{const{collaborationToolUrl:e}=t,o=(0,a.getStore)().getState().ui.deviceMode;e&&window.open(`${e}&device=${o}`,"_blank")}},[i.LeftSidebarOptionsIds.deviceMode]:p.DeviceModes,[i.LeftSidebarOptionsIds.pageSettings]:{id:i.LeftSidebarOptionsIds.pageSettings,icon:"nc-page",title:(0,l.t)("Page"),type:"popover",disabled:0===r.length,options:r},[i.LeftSidebarOptionsIds.more]:{id:i.LeftSidebarOptionsIds.more,icon:"nc-back",title:(0,l.t)("More"),type:"popover",disabled:0===n.length,options:n}}})(e);return o.forEach((e=>{b.push(S[e])})),h.forEach((e=>{v.push(S[e])})),(0,n.isCloud)(e)&&(0,n.isShopify)(e)&&b.push(c.Shopify),(0,s.isExternalStory)(e)&&(v=(0,r.insert)(v,v.length-1,f.Settings)),{top:b,bottom:v}}},75588:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMoreOptions",{enumerable:!0,get:function(){return i}});const r=o(78436),n=o(97724),i=e=>{const{leftSidebar:t={}}=e.ui??{},{options:o=[]}=t.more??{},i=[];return o.length&&o.forEach((e=>{e.type===n.LeftSidebarMoreOptionsIds.shortcuts?i.push({...e,id:e.type,onClick:e=>{e.preventDefault(),r.Prompt.open({mode:"stack",prompt:"keyHelper"})}}):i.push({...e,id:e.type})})),i}},64531:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPageSettings",{enumerable:!0,get:function(){return l}});const r=o(47885),n=o(97724),i=o(64985),a={[n.LeftSidebarPageSettingsOptionsIds.featuredImage]:{type:n.LeftSidebarPageSettingsOptionsIds.featuredImage,label:(0,i.t)("Featured Image")},[n.LeftSidebarPageSettingsOptionsIds.template]:{type:n.LeftSidebarPageSettingsOptionsIds.template,label:(0,i.t)("Page Template"),roles:["admin"]},[n.LeftSidebarPageSettingsOptionsIds.membership]:{type:n.LeftSidebarPageSettingsOptionsIds.membership,label:(0,i.t)("View as")},[n.LeftSidebarPageSettingsOptionsIds.language]:{type:n.LeftSidebarPageSettingsOptionsIds.language,label:(0,i.t)("Show If Language")}},l=e=>{const{leftSidebar:t={}}=e.ui??{},{options:o={}}=t.pageSettings??{},n=Object.entries(o).reduce(((e,t)=>{let[o,r]=t;return r&&e.push(o),e}),[]);return 0===n.length?[]:n.map((e=>a[e])).filter(r.isT)}},1440:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Link:function(){return f},default:function(){return m}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=p(o(27378)),a=o(94306),l=p(o(59638)),s=o(66100),c=o(61869),d=o(47576);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f=(0,i.forwardRef)(((e,t)=>{let{className:o,style:n,children:u,rel:p,target:f=s.empty,type:m=c.empty,href:y,slide:g={},attr:h={},id:b="",draggable:v}=e;const S=(0,i.useRef)(),w=(0,r.default)("brz-a",{"brz-anchor":"anchor"===m},o),x=(0,d.getHref)(m,l.mRead(y)),P=(0,d.getTarget)(m,f),C=(0,d.getAttr)(h),T=(0,d.getRel)(l.mRead(p));return(0,i.useEffect)((()=>{const e=S.current;e&&e.addEventListener("click",(e=>{e.preventDefault()}))}),[]),i.default.createElement("a",{className:w,href:x,target:P,rel:T,style:n,"data-brz-link-type":m,draggable:v,...g,...C,ref:e=>{(0,a.attachRef)(e,t||null),(0,a.attachRef)(e,S||null)},...b&&{id:b}},u)})),m=f},66100:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{read:function(){return o},empty:function(){return r},mRead:function(){return n}});const o=e=>"on"===e||"off"===e?e:void 0,r="off",n=e=>o(e)??r},61869:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{types:function(){return o},read:function(){return r},empty:function(){return n},mRead:function(){return i}});const o=["external","anchor","story","lightBox","popup","upload","action","page"],r=e=>o.includes(e)?e:void 0,n="external",i=e=>r(e)??n},47576:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getAttr:function(){return a},getTarget:function(){return l},getHref:function(){return s},getRel:function(){return c}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;o(97045),o(92213),o(9644);const i=r.default.get("wp"),a=e=>Object.keys(e).filter((t=>""!==e[t])).reduce(((t,o)=>(t[o]=e[o],t)),{}),l=(e,t)=>"external"===e&&"on"===t||"upload"===e?"_blank":"_self",s=(e,t)=>{let o;switch(e){case"anchor":case"popup":o=`#${t}`;break;case"upload":{const{customFile:e}=r.default.get("urls"),[n]=t.split("|||",1);o=i?`${e}${n}`:`${e}/${n}`;break}case"page":case"lightBox":case"external":o=t;break;case"story":case"action":o="#"}return o},c=e=>{const t=["noopener"];return"on"===e&&t.push("nofollow"),t.join(" ")}},13741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(60042))&&i.__esModule?i:{default:i};var i;const a=o(6085);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}class s extends r.Component{static defaultProps={className:"",position:"right-start",target:null};state={position:this.props.position};content=(0,r.createRef)();node=null;isReposition=!1;componentDidMount(){this.node=this.content.current,this.reposition()}componentDidUpdate(){this.isReposition||this.reposition()}getClassName(){return(0,n.default)("brz-menu__dropdown",this.props.className)}reposition(){let{target:e}=this.props;e||(e=window.document.body);const{left:t=0,right:o=0}=this.node?.getBoundingClientRect()??{},{width:r}=e.getBoundingClientRect();o>=r&&(this.isReposition=!0,this.setState({position:"left-start"},(()=>this.isReposition=!1))),t<=0&&(this.isReposition=!0,this.setState({position:"right-start"},(()=>this.isReposition=!1)))}renderForView(){const{mods:e,placement:t,children:o}=this.props,n=(0,a.encodeToString)({mods:e,placement:t});return r.default.createElement("ul",{"data-settings":n,className:this.getClassName()},o)}renderForEdit(){return r.default.createElement("ul",{ref:this.content,"data-popper-placement":this.state.position,className:this.getClassName()},this.props.children)}render(){return this.renderForEdit()}}const c=s},43007:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToastNotification",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),n=o(55190),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return{position:n.toast.POSITION.TOP_CENTER,autoClose:1e3*e,closeOnClick:!1,pauseOnHover:!0,draggable:!1,progress:void 0,transition:n.Slide,closeButton:!1,icon:r.default.createElement(i.default,{icon:"nc-info"})}}const s={error:(e,t)=>{n.toast.error(e,l(t))},success:(e,t)=>{n.toast.success(e,l(t))},info:(e,t)=>{n.toast.info(e,l(t))},warn:(e,t)=>{n.toast.warn(e,l(t))}}},62948:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return S},ToastNotification:function(){return p.ToastNotification}});const r=m(o(27378)),n=o(23884),i=o(65631),a=m(o(22546)),l=o(10744),s=o(97045),c=o(49627),d=o(64985),u=o(64187),p=o(43007),f=m(o(33364));function m(e){return e&&e.__esModule?e:{default:e}}const y=e=>e.lockedBy.user_email,g=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed-notification"},r.default.createElement("div",{className:"brz-ed-notification__body brz-d-xs-flex brz-flex-xs-column brz-align-items-xs-center brz-text-lg-center"},t))},h=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed-notification__head"},t)},b=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed-notification__content"},t)},v=e=>{let{children:t}=e;return r.default.createElement("div",{className:"brz-ed-notification__footer brz-d-xs-flex brz-align-items-xs-center"},t)},S=(0,n.connect)((e=>({error:(0,s.errorSelector)(e)})))((e=>{let{error:t,dispatch:o}=e;const{code:n,data:s}=t||{};let m;switch(n){case c.HEART_BEAT_ERROR:m=r.default.createElement(g,null,r.default.createElement(h,null,r.default.createElement(f.default,{icon:"nc-warning",className:"brz-ed-notification__warning"})),r.default.createElement(b,null,s.lockedBy?`${y(s)} ${(0,d.t)("is already editing project")}`:s.statusText||(0,d.t)("Something went wrong")),r.default.createElement(v,null,r.default.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{window.parent.location.reload()}},(0,d.t)("Refresh"))));break;case c.PROJECT_LOCKED_ERROR:{const e=a.default.get("urls");m=r.default.createElement(g,null,r.default.createElement(h,null,r.default.createElement(f.default,{icon:"nc-warning",className:"brz-ed-notification__warning"})),r.default.createElement(b,null,s.lockedBy?`${(0,d.t)("You can’t make changes")}.\n ${y(s)} ${(0,d.t)("is currently working on this page. Do you want to take over")} ?`:s),r.default.createElement(v,null,r.default.createElement("a",{className:"brz-a brz-d-xs-flex brz-align-items-xs-center brz-ed-notification__to-dashboard",href:e.backToDashboard},(0,d.t)("To Dashboard")),r.default.createElement("button",{className:"brz-button brz-ed-notification__take-over brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{o((0,l.updateError)(null)),(0,u.sendHearBeatTakeOver)().catch((()=>{p.ToastNotification.error((0,d.t)("Take over failed please refresh the page"))}))}},(0,d.t)("Take over"))));break}case c.PROJECT_DATA_VERSION_ERROR:m=r.default.createElement(g,null,r.default.createElement(h,null,r.default.createElement(f.default,{icon:"nc-warning",className:"brz-ed-notification__warning"})),r.default.createElement(b,null,s),r.default.createElement(v,null,r.default.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-blue brz-ed-btn-round brz-ed-btn-xs-2",onClick:()=>{window.parent.location.reload()}},(0,d.t)("Refresh"))));break;default:m=null}return r.default.createElement(i.CSSTransition,{in:Boolean(m),timeout:300,classNames:"brz-ed-fade",unmountOnExit:!0},m||r.default.createElement("span",null))}))},73469:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OptionLabel",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=o(1424),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{label:t,icon:o,helper:l,helperPlacement:s}=e;const c=t?.length??0,d=(0,r.default)("brz-ed-option__label__text",{"brz-ed-option__label__text--small":c<13});return t||o||l?n.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__focal-point__label"},o?n.default.createElement(a.default,{className:"brz-ed-option__label__icon",icon:o}):null,t?n.default.createElement("span",{className:d},t?.replace("-","‑")):null,l&&n.default.createElement("div",{className:"brz-ed-option__helper"},n.default.createElement(i.Tooltip,{placement:s,openOnClick:!1,overlay:n.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:l}})},n.default.createElement(a.default,{icon:"nc-alert-circle-que"})))):n.default.createElement(n.default.Fragment,null)}},26318:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OptionWrapper",{enumerable:!0,get:function(){return d}});const r=c(o(60042)),n=c(o(27378)),i=o(64985),a=c(o(1424)),l=c(o(33364)),s=o(94979);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{let{children:t,className:o,display:c="inline",title:d,lock:u,upgradeToPro:p}=e;const f=(0,r.default)("brz-ed-option-wrapper",`brz-ed-option__${c}`,o,{"brz-ed-option-wrapper__isLocked":!0===u});return n.default.createElement("div",{className:f,title:d},t,!0===u?n.default.createElement("span",{className:"brz-ed-option-wrapper__lock"},n.default.createElement(a.default,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",openOnClick:!1,closeDelay:500,overlay:n.default.createElement(s.ProInfo,{text:(0,i.t)("Upgrade to PRO, to use this option"),url:p??""}),offset:10},n.default.createElement(l.default,{icon:"nc-lock",className:"brz-ed-option-wrapper__lock__icon"}))):null)}},95187:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),n=d(o(27378)),i=o(73469),a=o(26318),l=o(76753),s=d(o(22546)),c=o(22079);function d(e){return e&&e.__esModule?e:{default:e}}class u extends n.default.Component{onChange=(()=>{var e=this;return function(){for(var t=arguments.length,o=new Array(t),r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callGetter",{enumerable:!0,get:function(){return o}});const o=e=>t=>t(e)},62893:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),n=a(o(23615)),i=a(o(95187));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static propTypes={wrapOptions:n.default.bool};static defaultProps={className:"",optionClassName:"",location:"",data:null,toolbar:null,wrapOptions:!0};render(){const{data:e,className:t,optionClassName:o,toolbar:n,location:a,wrapOptions:l}=this.props,s=e.map(((e,t)=>r.default.createElement(i.default,{key:e.id||t,className:o,toolbar:n,data:e,location:a})));return l?r.default.createElement("div",{className:t},s):s}}const s=l},61042:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),n=c(o(60042)),i=c(o(33364)),a=o(92213),l=o(74215),s=o(97045);function c(e){return e&&e.__esModule?e:{default:e}}class d extends r.default.Component{static defaultProps={className:"",icon:"nc-cog",title:"",label:"",sidebarLabel:"",helper:!1,helperContent:"",attr:{}};state={isSidebarOpen:!1};componentWillUnmount(){const e=(0,a.getStore)(),{rightSidebar:t}=(0,s.uiSelector)(e.getState());this.state.isSidebarOpen&&void 0===t.lock&&e.dispatch((0,l.updateUI)("rightSidebar",{...t,isOpen:!1}))}handleLabelClick=()=>{const e=(0,a.getStore)(),{rightSidebar:t}=(0,s.uiSelector)(e.getState());t.isOpen||this.setState({isSidebarOpen:!0},(()=>{e.dispatch((0,l.updateUI)("rightSidebar",{...t,isOpen:!0}))}))};renderIcon(){const{icon:e}=this.props;return r.default.createElement("div",{className:"brz-ed-option__icon"},r.default.createElement(i.default,{icon:e}))}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return r.default.createElement("div",{className:"brz-ed-option__label"},e,t&&r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(i.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{className:e,icon:t,label:o,helper:i,attr:a,title:l}=this.props,s=(0,n.default)("brz-ed-option__advanced","brz-ed-option__inline",e,a.className);return r.default.createElement("div",{className:s,title:l,onClick:this.handleLabelClick},t&&this.renderIcon(),(o||i)&&this.renderLabel())}}},98048:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),n=y(o(13556)),i=y(o(27378)),a=o(23884),l=y(o(10301)),s=y(o(33364)),c=o(81300),d=o(74215),u=o(97045),p=o(25663),f=o(64985),m=o(68914);function y(e){return e&&e.__esModule?e:{default:e}}class g extends i.default.Component{static defaultProps={label:"",className:"",attr:{},helper:!1,helperContent:"",display:"inline",value:""};anchorInputRefs=[];componentWillUnmount(){this.handleInputChange.cancel(),this.anchorInputRefs=null}handleThumbnailClick=e=>{this.props.value===e?this.props.onChange(""):this.props.onChange(e)};handleInputChange=l.default.debounce(((e,t)=>{const{pageBlocks:o,globalBlocks:r,dispatch:i}=this.props,a=encodeURIComponent(e);let l=a;if(""!==l){const e=o.filter((e=>e.value._id!==t)).map((e=>("GlobalBlock"===e.type&&(e=r[e.value._id].data),e.value.anchorName)));let n=!1,i=0;do{n=!1;for(let t of e)if(l===t){n=!0,l=a+"-"+(1+ ++i);break}}while(n)}const s=o.find((e=>{let{type:o,value:n}=e;return"GlobalBlock"===o?r[n._id].data.value._id===t:n._id===t}));if("GlobalBlock"!==s.type){const e=o.map((e=>e.value._id===t?{...e,value:{...e.value,anchorName:l}}:e));i((0,d.updateBlocks)({blocks:e}))}else{const e=s.value._id,t=(0,n.default)(r[e],(e=>{e.data.value.anchorName=l}));i((0,d.updateGlobalBlock)(t))}this.anchorInputRefs[t].setValue(l)}),1e3);renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,r=t?i.default.createElement("div",{className:"brz-ed-option__helper"},i.default.createElement(s.default,{icon:"nc-alert-circle-que"}),i.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return i.default.createElement("div",{className:"brz-ed-option__label"},e,r)}renderThumbnails(){const{value:e,pageBlocksAssembled:t,globalBlocks:o}=this.props;return t.filter((e=>"unlisted"!==e.value._blockVisibility)).map((t=>{"GlobalBlock"===t.type&&(t=o[t.value._id].data);const{_id:n,anchorName:a}=t.value,l=(0,r.default)("brz-ed-option__block-thumbnail-item",{active:n===e}),s=a?decodeURIComponent(a):"";return i.default.createElement("div",{key:n,className:l,onClick:()=>this.handleThumbnailClick(n)},i.default.createElement(h,{blockData:t}),i.default.createElement(b,{ref:e=>{e&&(this.anchorInputRefs[n]=e)},id:n,value:s,onChange:e=>this.handleInputChange(e,n)}))}))}render(){const{className:e,attr:t,label:o,helper:n,display:a}=this.props,l=(0,r.default)("brz-ed-option__block-thumbnail",`brz-ed-option__${a}`,e,t.className);return i.default.createElement("div",{...t,className:l},o||n?this.renderLabel():null,i.default.createElement(c.Scrollbar,{autoHeightMax:"240px",theme:"dark"},this.renderThumbnails()))}}class h extends i.default.Component{state={blockData:this.props.blockData,imageFetched:!1,showSpinner:!0};mounted=!1;componentDidMount(){this.mounted=!0,this.preloadThumbnail(this.state.blockData)}componentWillUnmount(){this.mounted=!1}preloadThumbnail(e){let t=!1;const{url:o}=(0,p.blockThumbnailData)(e);return(0,m.preloadImage)(o).then((()=>{this.mounted&&!t&&this.setState({imageFetched:!0,showSpinner:!1,blockData:e})})),()=>t=!0}render(){const{blockData:e,imageFetched:t,showSpinner:o}=this.state,{url:r,width:n,height:a}=(0,p.blockThumbnailData)(e),l={width:132,height:132*a/n},c=o?{}:{display:"none"};return i.default.createElement("div",{className:"brz-ed-option__block-thumbnail-image",style:l},i.default.createElement("div",{className:"brz-ed-option__block-thumbnail-loading",style:c},i.default.createElement(s.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),t&&i.default.createElement("img",{className:"brz-img",src:r}))}}class b extends i.default.Component{state={inputValue:this.props.value};setValue(e){this.state.inputValue!==e&&this.setState({inputValue:e})}handleContainerClick=e=>{e.stopPropagation()};handleInputChange=e=>{this.setState({inputValue:e.target.value},(()=>{this.props.onChange(this.state.inputValue)}))};render(){const{id:e}=this.props,t=`anchor-${e}`;return i.default.createElement("div",{className:"brz-ed-option__block-thumbnail-anchor",onClick:this.handleContainerClick},i.default.createElement("span",{className:"brz-span"},"#"),i.default.createElement("input",{className:"brz-input",type:"text",autoComplete:"off",placeholder:(0,f.t)("Block Name"),value:this.state.inputValue,onChange:this.handleInputChange,id:t}),i.default.createElement("label",{className:"brz-label",htmlFor:t},i.default.createElement(s.default,{icon:"nc-pen"})))}}const v=(0,a.connect)((e=>({pageBlocks:(0,u.pageBlocksSelector)(e),pageBlocksAssembled:(0,u.pageBlocksAssembledRawSelector)(e),globalBlocks:(0,u.globalBlocksAssembled2Selector)(e)})))(g)},9508:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(10301)),i=l(o(60042)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},icon:"nc-circle-add",title:"Add",value:!1};handleMouseDown=e=>{e.preventDefault(),this.props.onChange(!this.props.value)};render(){const{className:e,attr:t,value:o,icon:l,title:s}=this.props,c=(0,i.default)("brz-ed-option__button",{"brz-ed-toolbar--active":o},e,t.className),d=n.default.omit(t,"className");return r.default.createElement("div",{className:c,title:s,onMouseDown:this.handleMouseDown,...d},r.default.createElement(a.default,{icon:l}))}}const c=s},38423:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),n=d(o(23615)),i=d(o(27378)),a=d(o(10301)),l=d(o(31916)),s=d(o(19665)),c=d(o(33364));function d(e){return e&&e.__esModule?e:{default:e}}class u extends i.default.Component{static propTypes={label:n.default.string,display:n.default.string,icon:n.default.string,title:n.default.string,className:n.default.string,helper:n.default.bool,helperContent:n.default.string,attr:n.default.object,choices:n.default.array.isRequired,value:n.default.object.isRequired,onChange:n.default.func.isRequired};static defaultProps={label:"",display:"inline",icon:"",title:"",className:"",value:{},helper:!1,helperContent:"",attr:{},choices:[],onChange:a.default.noop};renderLabel(){const{label:e,helper:t,helperContent:o}=this.props,r=t?i.default.createElement("div",{className:"brz-ed-option__helper"},i.default.createElement(c.default,{icon:"nc-alert-circle-que"}),i.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return i.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__check-group__label"},e,r)}renderChoices(){const{choices:e}=this.props;return e.map((e=>{let{value:t,title:o,icon:n}=e;const a=(0,r.default)({"brz-ed-option__check-group--boxed":n});return i.default.createElement(s.default,{key:t,className:a,name:o||n,value:t},n&&i.default.createElement("div",{className:"brz-ed-option__check-group__icon"},i.default.createElement(c.default,{icon:n})),o&&i.default.createElement("div",{className:"brz-ed-option__check-group__title"},o))}))}render(){const{label:e,display:t,className:o,helper:n,attr:a,value:s,onChange:c}=this.props,d=(0,r.default)("brz-ed-option__check-group",`brz-ed-option__${t}`,o,a.className);return i.default.createElement("div",{...a,className:d},e||n?this.renderLabel():null,i.default.createElement(l.default,{defaultValue:s,onChange:c},this.renderChoices()))}}const p=u},26536:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=f(o(60042)),n=f(o(27378)),i=f(o(10301)),a=f(o(17882)),l=f(o(94623)),s=f(o(33364)),c=o(23106),d=f(o(22546)),u=o(49863),p=o(16526);function f(e){return e&&e.__esModule?e:{default:e}}class m extends n.default.Component{static defaultProps={className:"",attr:{},value:{hex:"#000000",opacity:1},onChange:i.default.noop};state={eyeDropperStatus:!1};render(){const{className:e,attr:t,value:o,onChange:f}=this.props,{eyeDropperStatus:m}=this.state,y=(0,p.isStory)(d.default.getAll()),g=(0,r.default)("brz-ed-option__color-picker__hex",e,t.className),h=i.default.omit(t,"className"),b=(0,u.pipe)((e=>f({hex:e,isChanged:"hex"})),(()=>this.setState({eyeDropperStatus:!1})));return n.default.createElement("div",{className:g,...h},y?"":n.default.createElement(s.default,{className:(0,r.default)("brz-ed-control__color-picker-inputs__eye-dropper",{"brz-ed-control__color-picker-inputs__eye-dropper--active":m}),icon:"eye-dropper",onClick:()=>!m&&this.setState({eyeDropperStatus:!0})}),n.default.createElement(l.default,{value:o,onChange:f}),m&&n.default.createElement(a.default,{onClickOutside:()=>this.setState({eyeDropperStatus:!1})},n.default.createElement(c.EyeDropper,{onPick:b})))}}const y=m},262:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),n=d(o(27378)),i=d(o(33364)),a=o(97724),l=o(74215),s=o(92213),c=o(81405);function d(e){return e&&e.__esModule?e:{default:e}}class u extends n.default.Component{static defaultProps={className:"",colors:null,globalStyle:!0,value:"",onChange:()=>console.log("ColorPalette default onChange")};handleSidebarOpen=()=>{(0,s.getStore)().dispatch((0,l.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:a.LeftSidebarOptionsIds.globalStyle}))};render(){const{className:e,colors:t,value:o,onChange:a}=this.props,l=(0,r.default)("brz-ed-option__color-palette2",e),s=(t||(0,c.getColorPaletteColors)()).map((e=>{const t=(0,r.default)("brz-ed-option__color-palette2__item",{active:e.id===o}),i={backgroundColor:e.hex};return n.default.createElement("div",{key:e.id,className:t,style:i,onClick:()=>a(e.id)})}));return n.default.createElement("div",{className:l},s,this.props.globalStyle&&n.default.createElement("div",{className:"brz-ed-option__color-palette2__icon",onClick:this.handleSidebarOpen},n.default.createElement(i.default,{icon:"nc-cog"})))}}const p=u},90573:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(60042)),i=l(o(67439)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",helperContent:"",helper:!1,attr:{},value:[]};state={active:null};handleToolbarOpen=e=>{this.setState({active:e})};handleToolbarClose=()=>{this.setState({active:null})};handleColorChange(e,t){const o=this.props.value.map(((o,r)=>r===t?{...o,hex:e.hex}:o));this.props.onChange(o)}renderLabel=()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(a.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return r.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__color-palette-editor__label"},e,n)};render(){const{className:e,attr:t,label:o,helper:a,value:l}=this.props,s=l.map(((e,t)=>{const o=(0,n.default)("brz-ed-option__color-palette-editor__item",{active:t===this.state.active}),a={backgroundColor:e.hex};return r.default.createElement(i.default,{key:t,getItems:()=>[{id:"settings",type:"popover",icon:"nc-cog",display:"inside",size:"auto",onOpenDirect:!0,position:90,options:[{id:"backgroundColor",type:"colorPicker2",label:"Color HEX",disableOpacity:!0,select:{show:!1},picker:{showOpacity:!1},palette:{show:!1},value:{hex:e.hex,opacity:1},onChange:e=>this.handleColorChange(e,t)},{type:"grid",className:"brz-ed-grid__color-fileds",columns:[{width:100,options:[{id:"backgroundColorFields",type:"colorFields",disableOpacity:!0,value:{hex:e.hex,opacity:1},onChange:e=>this.handleColorChange(e,t)}]}]}]}],onOpen:()=>this.handleToolbarOpen(t),onClose:this.handleToolbarClose},r.default.createElement("div",{className:o,style:a}))})),c=(0,n.default)("brz-ed-option__color-palette-editor",e,t.className);return r.default.createElement("div",{...t,className:c},o||a?this.renderLabel():null,s)}}const c=s},91669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(60042)),n=g(o(27378)),i=g(o(10301)),a=g(o(71197)),l=g(o(97023)),s=g(o(65961)),c=g(o(53799)),d=g(o(33364)),u=g(o(22546)),p=o(62762),f=o(97724),m=g(o(262)),y=g(o(48038));function g(e){return e&&e.__esModule?e:{default:e}}const h=u.default.getAll(),b=(0,p.isCloud)(h)&&(0,p.isShopify)(h);class v extends n.default.Component{static defaultProps={className:"",attr:{},picker:{showOpacity:!0},palette:{show:!0,choices:[]},select:{show:!0,itemHeight:24,choices:[]},gradient:{show:!1,min:0,max:100,step:1},value:{select:"",hex:"#000000",opacity:1,palette:"",gradientColorHex:"#000000",gradientColorOpacity:1,gradientColorPalette:"",startPointer:0,finishPointer:100,activePointer:"startPointer"},onChange:i.default.noop};enabledGlobalStyle(){const e=u.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(f.LeftSidebarOptionsIds.globalStyle)}handleChange=e=>{const{value:t,onChange:o}=this.props,r="gradient"===t.select&&"finishPointer"===t.activePointer;let n={};if("hex"===e.isChanged){const{hex:t}=e;n=r?{gradientColorHex:t}:{hex:t}}let i={};if("opacity"===e.isChanged){const{opacity:t}=e;i=r?{gradientColorOpacity:t}:{opacity:t}}o({...t,...e,...n,...i})};renderPalette(){const{palette:{choices:e},value:{palette:t,gradientColorPalette:o,select:r,activePointer:i}}=this.props,a="gradient"===r&&"finishPointer"===i?o:t;return n.default.createElement(m.default,{choices:e,value:a,globalStyle:this.enabledGlobalStyle(),onChange:e=>{this.handleChange({palette:e,isChanged:"palette"})}})}renderGradient(){const{gradient:{show:e,...t},value:{startPointer:o,finishPointer:r,activePointer:i,hex:a,gradientColorHex:l}}=this.props;return n.default.createElement(y.default,{config:{range:t},value:{startPointer:o,finishPointer:r,activePointer:i,hex:a,gradientColorHex:l},onChange:this.handleChange})}renderSelectChoices(e){return e.map(((e,t)=>{const{title:o,icon:a,optgroup:l,value:u}=e;let p;if(i.default.isObject(a)){const e=(0,r.default)("brz-control__select-option__bg",a.className);p=n.default.createElement("div",{...a,className:e})}else a&&(p=n.default.createElement(d.default,{icon:a}));return l&&l.length?n.default.createElement(c.default,{key:t,title:o,items:this.renderSelectChoices(l)},p,o&&n.default.createElement("span",{className:"brz-span"},o)):n.default.createElement(s.default,{key:t,value:u,title:o},p,o&&n.default.createElement("span",{className:"brz-span"},o))}))}renderSelect(){const{select:e,value:t}=this.props;return n.default.createElement(l.default,{className:"brz-control__select--dark brz-control__select__auto",defaultValue:t.select,itemHeight:e.itemHeight||24,onChange:e=>{this.handleChange({select:e,isChanged:"select"})}},this.renderSelectChoices(e.choices))}render(){const{className:e,picker:{showOpacity:t=!0},palette:{show:o=!0},gradient:{show:i=!0},select:{show:l=!0},attr:s,value:{hex:c,opacity:d,select:u,activePointer:p,gradientColorHex:f,gradientColorOpacity:m}}=this.props,y=(0,r.default)("brz-ed-option__colorPicker2",e,s.className),g="gradient"===u&&"finishPointer"===p?{hex:f,opacity:m}:{hex:c,opacity:d};return n.default.createElement("div",{...s,className:y},i&&this.renderGradient(),l&&this.renderSelect(),n.default.createElement(a.default,{value:g,disableOpacity:!t,onChange:this.handleChange}),!b&&o&&this.renderPalette())}}const S=v},55605:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),a=g(o(10301)),l=g(o(33364)),s=g(o(92823)),c=o(46338),d=o(81300),u=o(97045),p=o(37203),f=o(72833),m=o(41522),y=o(64985);function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}const b={default:"17px",great_vibes:"18px",alex_brush:"18px",allura:"18px",parisienne:"18px"};class v extends n.Component{static defaultProps={defaultFont:"",value:"lato",fonts:{},onChange:a.default.noop};constructor(e){super(e),this.scrollbarRef=n.default.createRef()}componentDidMount(){(0,m.scrollToActiveFont)(this.scrollbarRef)}checkCurrentFont(){const{fonts:e,value:t}=this.props;return Object.entries(e).some((e=>{const[o,r]=e;return r.data.some((e=>f.fontTransform[o](e).id===t))}))}handleOpenFonts=e=>{e.preventDefault(),s.default.open({prompt:"fonts",mode:"single"})};renderFontList(e,t,o){const{value:i,defaultFont:a,onChange:l}=this.props;return e.map((e=>{const s=f.fontTransform[t](e),{id:c,family:d,title:u}=s,p=(0,r.default)("brz-ed-font__name",{active:o?c===i:c===a}),m={fontFamily:d,fontSize:b[c]||b.default};return n.default.createElement("div",{key:c,className:p,style:m,onClick:()=>l({...s,type:t})},u)}))}render(){const{config:e={},blocks:t={},google:o={},upload:r={}}=this.props.fonts,i=this.checkCurrentFont(),a=r.data&&r.data.length>0||o.data&&o.data.length>0;return n.default.createElement("div",{className:"brz-ed-font__typography"},n.default.createElement(d.Scrollbar,{theme:"dark",ref:this.scrollbarRef},r.data&&r.data.length>0&&this.renderFontList(r.data,"upload",i),o.data&&o.data.length>0&&this.renderFontList(o.data,"google",i),a&&n.default.createElement("hr",{className:"brz-hr brz-ed-font__separator"}),t.data&&this.renderFontList(t.data,"google",i),this.renderFontList(e.data,"google",i)),n.default.createElement(c.Roles,{allow:["admin"]},n.default.createElement("div",{className:"brz-ed-font__typography-adder",onClick:this.handleOpenFonts},n.default.createElement(l.default,{icon:"nc-add"}),(0,y.t)("Add New Font"))))}}const S=(0,i.connect)((e=>({fonts:(0,p.unDeletedFontsSelector)(e),defaultFont:(0,u.projectSelector)(e).data.font})),null)(v)},13856:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=u(o(27378)),n=u(o(65961)),i=u(o(33364)),a=o(97724),l=o(74215),s=o(92213),c=o(72833),d=u(o(1798));function u(e){return e&&e.__esModule?e:{default:e}}class p extends d.default{handleSidebarOpen(){(0,s.getStore)().dispatch((0,l.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:a.LeftSidebarOptionsIds.globalStyle}))}renderChoices(){return[{id:"",title:"Custom"},...(0,c.getFontStyles)()].map((e=>{let{id:t,title:o}=e;return r.default.createElement(n.default,{key:t,value:t},o)}))}renderAfterSelect(){return r.default.createElement("div",{className:"brz-ed-option__select__after",onClick:this.handleSidebarOpen},r.default.createElement(i.default,{icon:"nc-cog"}))}}const f=p},12002:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=v(o(60042)),n=v(o(27378)),i=o(23884),a=o(66848),l=v(o(33364)),s=o(81300),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(67439)),d=v(o(22546)),u=o(74215),p=o(97045),f=o(72833),m=o(83111),y=o(64985),g=o(16526),h=o(6085),b=o(6804);function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}const w="brz-ed-option__font-style-editor--animate",x={setDeviceMode:u.setDeviceMode},P=(0,i.connect)((e=>({deviceMode:(0,p.deviceModeSelector)(e)})),x);class C extends n.default.Component{static defaultProps={title:"Title",fontFamily:"",fontSize:12,fontSizeSuffix:"px",fontWeight:300,lineHeight:1,letterSpacing:1,tabletFontSize:12,tabletFontSizeSuffix:"px",tabletFontWeight:300,tabletLineHeight:1,tabletLetterSpacing:1,mobileFontSize:12,mobileFontSizeSuffix:"px",mobileFontWeight:300,mobileLineHeight:1,mobileLetterSpacing:1,showDeleteIcon:!1};state={device:"desktop",active:!1};handleToolbarOpen=()=>{this.setState({active:!0})};handleToolbarClose=()=>{this.setState({active:!1})};handleTabsChange=e=>{this.props.setDeviceMode(e),this.setState({device:e})};handleTextChange=e=>{this.props.onChange({title:e})};handleDelete=()=>{(0,c.hideToolbar)(),this.props.onChange({deleted:!0})};render(){const{title:e,fontFamily:t,fontFamilyType:o,fontSize:i,fontSizeSuffix:s,fontWeight:u,lineHeight:p,letterSpacing:h,tabletFontSize:b,tabletFontSizeSuffix:v,tabletFontWeight:S,tabletLineHeight:x,tabletLetterSpacing:P,mobileFontSize:C,mobileFontSizeSuffix:T,mobileFontWeight:_,mobileLineHeight:k,mobileLetterSpacing:M,showDeleteIcon:O,deletable:E,onChange:B,itemIndex:z,animationCounter:I,deviceMode:j}=this.props,{active:L}=this.state,F=(0,r.default)("brz-ed-option__font-style-editor",{active:L,[`${w}`]:0!==I}),N={fontFamily:(0,f.getFontById)({family:t,type:o}).family,fontWeight:"desktop"===j?u:"tablet"===j?S:_},D=(0,g.isStory)(d.default.getAll()),R={animationDelay:.2*z+"s"};return n.default.createElement("div",{className:F,style:R},O?n.default.createElement("div",{className:"brz-ed-option__font-style-editor--delete",onClick:this.handleDelete},n.default.createElement(l.default,{icon:"nc-trash"})):null,n.default.createElement(c.default,{getItems:()=>[{id:"toolbarTypography",type:"popover",icon:"nc-font",size:"xlarge",display:"inside",onOpenDirect:!0,options:[{type:"grid",className:"brz-ed-grid__typography brz-ed-grid__typography--sidebar",columns:[{width:54,options:[{id:"fontFamily",label:"Font Family",type:"fontFamily",value:t,onChange:e=>{let{id:t,type:o}=e;return B({fontFamily:t,fontFamilyType:o})}}]},{width:46,className:"brz-ed-popover__typography",options:[{id:"fontDevices",type:"tabs",align:"start",tabsClassName:"brz-ed-control__tabs__editor",tabs:[{id:"desktop",tabIcon:"nc-desktop",options:[{type:"grid",className:"brz-ed-grid__typography",columns:[{width:50,className:"brz-ed-grid__typography--globalStyles-col1",options:[{id:"fontSizeSuffix",type:"select-dev",label:"Size",className:"brz-control__typography-suffix",disabled:D,choices:m.getSuffixChoices,value:{value:s},onChange:e=>{let{value:t}=e;return B({fontSizeSuffix:t})}},{id:"fontSize",type:"stepper",label:D?"Size":"",display:"block",min:1,max:300,step:1,value:i,onChange:e=>B({fontSize:e})},{id:"lineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:20,step:.1,value:p,onChange:e=>B({lineHeight:e})}]},{width:50,className:"brz-ed-grid__typography--globalStyles-col2",options:[{id:"fontWeight",label:"Weight",type:"select-dev",display:"block",choices:(0,f.getWeightChoices)({family:t,type:o}),value:{value:u},onChange:e=>{let{value:t}=e;return B({fontWeight:t})}},{id:"letterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.1,value:h,onChange:e=>B({letterSpacing:e})}]}]}]},{id:"tablet",tabIcon:"nc-tablet",options:[{type:"grid",disabled:D,className:"brz-ed-grid__typography",columns:[{width:50,className:"brz-ed-grid__typography--globalStyles-col1",options:[{id:"tabletFontSizeSuffix",type:"select-dev",label:"Size",className:"brz-control__typography-suffix",choices:m.getSuffixChoices,value:{value:v},onChange:e=>{let{value:t}=e;return B({tabletFontSizeSuffix:t})}},{id:"tabletFontSize",type:"stepper",display:"block",min:1,max:300,step:1,value:b,onChange:e=>B({tabletFontSize:e})},{id:"tabletLineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:20,step:.1,value:x,onChange:e=>B({tabletLineHeight:e})}]},{width:50,className:"brz-ed-grid__typography--globalStyles-col2",options:[{id:"tabletFontWeight",label:"Weight",type:"select-dev",display:"block",choices:(0,f.getWeightChoices)({family:t,type:o}),value:{value:S},onChange:e=>{let{value:t}=e;return B({tabletFontWeight:t})}},{id:"tabletLetterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:P,onChange:e=>B({tabletLetterSpacing:e})}]}]}]},{id:"mobile",tabIcon:"nc-phone",options:[{type:"grid",disabled:D,className:"brz-ed-grid__typography",columns:[{width:50,className:"brz-ed-grid__typography--globalStyles-col1",options:[{id:"mobileFontSizeSuffix",type:"select-dev",label:"Size",className:"brz-control__typography-suffix",choices:m.getSuffixChoices,value:{value:T},onChange:e=>{let{value:t}=e;return B({mobileFontSizeSuffix:t})}},{id:"mobileFontSize",type:"stepper",display:"block",min:1,max:300,step:1,value:C,onChange:e=>B({mobileFontSize:e})},{id:"mobileLineHeight",label:"Line Hgt.",type:"stepper",display:"block",min:1,max:20,step:.1,value:k,onChange:e=>B({mobileLineHeight:e})}]},{width:50,className:"brz-ed-grid__typography--globalStyles-col2",options:[{id:"mobileFontWeight",label:"Weight",type:"select-dev",display:"block",choices:(0,f.getWeightChoices)({family:t,type:o}),value:{value:_},onChange:e=>B({mobileFontWeight:e.value})},{id:"mobileLetterSpacing",label:"Letter Sp.",type:"stepper",display:"block",min:-20,max:20,step:.5,value:M,onChange:e=>B({mobileLetterSpacing:e})}]}]}]}],value:j,onChange:this.handleTabsChange}]}]}]}],onOpen:this.handleToolbarOpen,onClose:this.handleToolbarClose},n.default.createElement("div",{className:"brz-ed-option__font-style-editor__container"},n.default.createElement("p",{className:"brz-p brz-ed-option__font-style-editor__title"},"on"===E?n.default.createElement(a.TextEditor,{value:e,onChange:this.handleTextChange}):e),n.default.createElement("p",{className:"brz-p brz-ed-option__font-style-editor__sample",style:N},(0,y.t)("It's a sample")))))}}const T=P(C);class _ extends n.default.Component{static defaultProps={value:{}};state={brzNewItem:!1,numItems:this.props.value.fontStyles.length+this.props.value.extraFontStyles.length,animationCounter:0};scrollRef=n.default.createRef();handleChange=(e,t)=>{const{value:o,onChange:r}=this.props;r([...o.extraFontStyles,...o.fontStyles].map((o=>e===o.id?{...o,...t}:o))),this.setState({brzNewItem:!1})};handleAnimationEnd=e=>{const{numItems:t,animationCounter:o}=this.state,r=e.target;r.classList.remove(w),r.removeEventListener("animationend",this.handleAnimationEnd),o({animationCounter:e.animationCounter+1})))};handleAddNew=()=>{const{value:e,onChange:t}=this.props,o=e.fontStyles.find((e=>"paragraph"===e.id)),r=e.extraFontStyles.length+e.fontStyles.length,n={...o??e.fontStyles[0],deletable:"on",id:(0,b.uuid)(),title:(0,h.printf)((0,y.t)("New Style #%s"),r)};t([...e.fontStyles,...e.extraFontStyles,n]),this.setState((e=>({brzNewItem:!0,numItems:e.numItems+1,animationCounter:e.animationCounter+1}))),window.parent.document.querySelectorAll(".brz-ed-option__font-style-editor").forEach(((e,t)=>{e.addEventListener("animationend",this.handleAnimationEnd),e.classList.remove(w),0===t?requestAnimationFrame((()=>{e.classList.add(w)})):e.classList.add(w)})),this.scrollRef.current&&this.scrollRef.current.scrollToTop()};render(){const{value:e}=this.props,{brzNewItem:t,numItems:o,animationCounter:i}=this.state,a=[...e.extraFontStyles.slice().reverse(),...e.fontStyles].filter((e=>!e.deleted)).map(((e,t)=>n.default.createElement(T,{key:e.id,showDeleteIcon:"on"===e.deletable,...e,onChange:this.handleChange.bind(null,e.id),itemIndex:t,numItems:o,animationCounter:i}))),c=(0,r.default)("brz-ed-option__font-styles",{"brz-ed-option__font-styles--new-item":t});return n.default.createElement("div",{className:c},n.default.createElement(s.Scrollbar,{theme:"dark",ref:this.scrollRef},a),n.default.createElement("div",{className:"brz-ed-option__font-styles--add",onClick:this.handleAddNew},n.default.createElement(l.default,{icon:"nc-add"}),n.default.createElement("span",{className:"brz-span"},(0,y.t)("Add New"))))}}const k=_},12022:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(60042)),i=l(o(33364)),a=l(o(92823));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},icon:"nc-cog",value:!1};handleMouseDown=e=>{e.preventDefault();const{value:t}=this.props;a.default.open({prompt:"form",mode:"single",props:{formId:t.id,formFields:t.fields}})};render(){const{className:e,attr:t,icon:o}=this.props,a=(0,n.default)("brz-ed-option__button",e,t.className);return r.default.createElement("div",{...t,className:a,onMouseDown:this.handleMouseDown},r.default.createElement(i.default,{icon:o}))}}const c=s},8731:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=d(o(60042)),n=d(o(27378)),i=d(o(10301)),a=o(56059),l=o(97045),s=o(92213),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}const u=e=>{let{className:t="",value:o,context:d,attr:u={}}=e;const p=(0,r.default)("brz-ed-option__popup_conditions",t,u.className),f=i.default.omit(u,"className"),m=(0,s.getStore)().getState(),y=(0,l.globalBlocksSelector)(m),{rules:g}=y[o];return n.default.createElement(a.ConditionsComponent,{context:d,value:o},n.default.createElement("div",{className:p,...f},n.default.createElement("span",{className:"brz-ed-option__popup_conditions-count"},g.length),(0,c.t)("Display Conditions")))}},26612:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PortalLoading",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(31542)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}class l{static opened=new Set;static render(e){const t=e||document.body,o=t&&t.ownerDocument;if(t&&o){const e=r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}),a=o.createElement("div");return a.className="brz-ed-portal__loading",t.append(a),l.opened.add(a),n.default.render(e,a),a}}static close(e){e&&(e.remove(),l.opened.delete(e))}static closeAll(){l.opened.forEach((e=>{e.remove()})),l.opened.clear()}}},81474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return M}});const r=P(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),a=o(10301),l=o(56059),s=o(1014),c=P(o(33364)),d=o(62948),u=P(o(92823)),p=o(67808),f=o(67138),m=o(74215),y=o(97045),g=o(64187),h=o(25663),b=o(64985),v=o(16526),S=o(6804),w=o(26612),x=o(91532);function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}const T=()=>{let e="";return new Map([...f.SectionPopupInstances,...p.SectionPopup2Instances]).forEach((t=>{t.state.isOpened&&(e=t.instanceKey)})),e},_=e=>{const t=new Map([...f.SectionPopupInstances,...p.SectionPopup2Instances]).get(e);t&&t.open()};class k extends n.Component{static defaultProps={blockType:"normal",className:"",label:"",display:"inline",attr:{},helper:!1,helperContent:"",extraFontStyles:[],pageBlocks:[],blocksData:{},globalBlocks:{},page:void 0,value:{_id:"",parentId:void 0},makeNormalToGlobalBlock:a.noop,makeGlobalToNormalBlock:a.noop,makePopupToGlobalBlock:a.noop,makeGlobalBlockToPopup:a.noop};mounted=!1;switchKey=(0,S.uuid)(4);componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}isGlobalBlock=()=>{const{value:{_id:e},globalBlocks:t}=this.props;return Object.keys(t).includes(e)};openPromptCondition(e){u.default.open({prompt:"conditions",mode:"single",props:{options:(0,l.getOptions)(e,this.props.value._id)}})}handleChange=async e=>{const{blockType:t,extraFontStyles:o,pageBlocks:r,page:n,makeNormalToGlobalBlock:i,makeGlobalToNormalBlock:a,makePopupToGlobalBlock:l,makeGlobalBlockToPopup:s,value:{_id:c,parentId:u}}=this.props,p=document.querySelector(`[id='${c}']`),f=w.PortalLoading.render(p),m=(0,v.getBlockData)(r,c);if(e){if(p&&m){const e=await(0,x.createScreenshot)(p),r={extraFontStyles:o,type:(0,x.getBlocType)(t)};e&&(r._thumbnailSrc=e._thumbnailSrc,r._thumbnailWidth=e._thumbnailWidth,r._thumbnailHeight=e._thumbnailHeight,r._thumbnailTime=e._thumbnailTime),Object.prototype.hasOwnProperty.call(m,"deleted")&&(m.deleted=!1);let a={meta:r,status:"draft",data:m,rules:[],position:{align:"bottom",top:0,bottom:0}};!(0,h.isPopup)(m)&&n&&(a=(0,h.changeRule)(a,!0,n)),await(0,g.createGlobalBlock)(a).then((e=>{if(!e||!e.data)throw e;switch(w.PortalLoading.close(f),t){case"popup":case"externalPopup":{const e="popup"===t&&T();l(a),e&&_(e),"externalPopup"===t&&this.openPromptCondition("popup");break}case"normal":i(a),this.openPromptCondition("block")}})).catch((e=>{switch(w.PortalLoading.close(f),this.switchKey=(0,S.uuid)(4),this.mounted&&this.forceUpdate(),t){case"popup":case"externalPopup":d.ToastNotification.error((0,b.t)("Could not Create Global Popup"));break;case"normal":d.ToastNotification.error((0,b.t)("Could not Create Global Block"))}console.error(e)}))}}else if(await(0,g.pendingRequest)(),this.isGlobalBlock()){const e=(0,v.setIds)(this.props.blocksData[c]);w.PortalLoading.close(f);const o={block:e,fromBlockId:c};switch(t){case"popup":{const e=T();u&&s({...o,parentId:u}),e&&_(e);break}case"normal":case"externalPopup":a(o)}}};renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return n.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__switch__label"},e,t&&n.default.createElement("div",{className:"brz-ed-option__helper"},n.default.createElement(c.default,{icon:"nc-alert-circle-que"}),n.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}render(){const{label:e,display:t,helper:o,attr:i={},className:a}=this.props,l=(0,r.default)("brz-ed-option__global-block",`brz-ed-option__${t}`,a,i.className);return n.default.createElement("div",{...i,className:l},(e||o)&&this.renderLabel(),n.default.createElement(s.Switch,{key:this.switchKey,value:this.isGlobalBlock(),onChange:this.handleChange}))}}const M=(0,i.connect)((e=>({extraFontStyles:(0,y.extraFontStylesSelector)(e),pageBlocks:(0,y.pageBlocksNoRefsSelector)(e),globalBlocks:(0,y.globalBlocksAssembled2Selector)(e),blocksData:(0,y.blocksDataSelector)(e),page:(0,y.pageSelector)(e)})),(e=>({makeNormalToGlobalBlock:t=>e((0,m.makeNormalToGlobalBlock)(t)),makeGlobalToNormalBlock:t=>e((0,m.makeGlobalToNormalBlock)(t)),makePopupToGlobalBlock:t=>e((0,m.makePopupToGlobalBlock)(t)),makeGlobalBlockToPopup:t=>e((0,m.makeGlobalBlockToPopup)(t))})))(k)},91532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{createScreenshot:function(){return i},getBlocType:function(){return a}});const r=o(21486),n=o(64187),i=async e=>{if(await(0,r.browserSupports)()){const{src:t,width:o,height:i}=await(0,r.makeNodeScreenshot)(e),{id:a}=await(0,n.createBlockScreenshot)({base64:t,blockType:"global"});return{_thumbnailSrc:a,_thumbnailWidth:o,_thumbnailHeight:i,_thumbnailTime:Date.now()}}},a=e=>{switch(e){case"externalPopup":case"popup":return"popup";case"normal":return"normal"}}},60890:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=l(o(27378)),n=l(o(60042)),i=l(o(62893)),a=o(22741);function l(e){return e&&e.__esModule?e:{default:e}}const s=["top","center","bottom"],c=e=>s.includes(e)?`brz-ed-grid-option__column--${e}`:"";class d extends r.default.Component{static filter(e,t){return{...t,columns:t.columns?.map((t=>({...t,options:t.options.map(e).filter(a.isT)}))).filter((e=>e.options.length>0))??[]}}static reduce(e,t,o){return o.columns?.reduce(((t,o)=>{let{options:r}=o;return r.reduce(e,t)}),t)??t}static map(e,t){return{...t,columns:t.columns?.map((t=>({...t,options:t.options.map(e)})))}}static defaultProps={className:"",location:"",attr:{},toolbar:null,columns:[],separator:!1};render(){const{className:e,attr:t,columns:o,location:a,toolbar:l,separator:s}=this.props,d=(0,n.default)("brz-d-xs-flex brz-flex-xs-no-wrap brz-ed-grid",{"brz-ed-grid--separator":!!s},e),u=o.map(((e,t,o)=>{let{className:s,width:d,options:u,vAlign:p}=e;const f=(0,n.default)("brz-ed-grid-option__column",c(p),s),m=1===o.length,y={width:m?"100%":`${d}%`,flexBasis:m?"100%":`${d}%`};return r.default.createElement("div",{key:t,className:f,style:y},r.default.createElement(i.default,{className:"brz-ed-grid__options",optionClassName:"brz-ed-grid__option",data:u,location:a,toolbar:l}))}));return r.default.createElement("div",{...t,className:d},u)}}const u=d},14139:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),n=d(o(27378)),i=d(o(10301)),a=d(o(1424)),l=d(o(33364)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(48630)),c=d(o(16995));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends n.default.Component{static defaultProps={className:"",label:"",placeholder:"",helper:!1,helperContent:"",helperPlacement:"top",display:"inline",value:{value:"",population:""},inputType:"text",inputSize:"large",population:{show:!1,choices:[]},onChange:i.default.noop};lastChange=this.props.value.value;state={value:this.props.value.value};isFocused=!1;componentWillUnmount(){this.isFocused&&this.handleInputBlur()}handleInputChange=e=>{const t=e.target.value;this.setState({value:t},(()=>{this.debouncedHandleChange()}))};handlePopulationChange=e=>{const t={population:e};this.handleChange(t,{changed:"population"})};handleChange=(()=>{var e=this;return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r={value:e.state.value,population:e.props.value.population,...t},n={changed:"value",changeEvent:"change",...o};e.props.onChange(r,n),e.lastChange=e.state.value}})();debouncedHandleChange=i.default.debounce((()=>{var e=this;return function(){for(var t=arguments.length,o=new Array(t),r=0;r{this.isFocused=!0};handleInputBlur=()=>{if(this.isFocused=!1,this.props.value.value!==this.state.value){const e={},t={changed:"value",changeEvent:"blur"};this.handleChange(e,t)}};renderLabel(){const{label:e,helper:t,helperContent:o,helperPlacement:i,population:s}=this.props;return n.default.createElement("div",{className:(0,r.default)("brz-ed-option__label brz-ed-option__input__label",{"brz-ed-option__input__label--dynamic":s&&s.show})},e,t&&n.default.createElement("div",{className:"brz-ed-option__helper"},n.default.createElement(a.default,{placement:i,openOnClick:!1,overlay:n.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},n.default.createElement(l.default,{icon:"nc-alert-circle-que"}))))}renderInput=()=>{const{inputSize:e,inputType:t,placeholder:o,population:i}=this.props,a=(0,r.default)("brz-input brz-ed-control__input",`brz-ed-control__input--${e}`,{"brz-ed-control__input--dynamic":i&&i.show});return n.default.createElement("input",{className:a,placeholder:o,type:t,value:this.state.value,onChange:this.handleInputChange,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur})};render(){const{className:e,helper:t,label:o,display:i,population:{choices:a,show:l,handlerChoices:d},value:{population:u}}=this.props,p=s.isObject(u)?u.population:u,f=(0,r.default)("brz-ed-option__input",`brz-ed-option__${i}`,e,{"brz-ed-option-input--dynamic":l}),m=l?n.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},n.default.createElement(c.default,{choices:a,handlerChoices:d,value:p,entityType:u?.populationEntityType,entityId:u?.populationEntityId,renderUnset:this.renderInput,onChange:this.handlePopulationChange})):this.renderInput();return n.default.createElement("div",{className:f},(o||t)&&this.renderLabel(),m)}}const f=p},28226:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(60042)),i=l(o(33364)),a=l(o(92823));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},icon:"nc-cog",value:{service:"facebook",group:"social"}};handleMouseDown=e=>{e.preventDefault(),a.default.open({prompt:"apps",mode:"single",props:this.props.value})};render(){const{className:e,attr:t,icon:o}=this.props,a=(0,n.default)("brz-ed-option__button",e,t.className);return r.default.createElement("div",{...t,className:a,onMouseDown:this.handleMouseDown},r.default.createElement(i.default,{icon:o}))}}const c=s},25137:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),n=c(o(10301)),i=c(o(60042)),a=c(o(33364)),l=c(o(10944)),s=o(7219);function c(e){return e&&e.__esModule?e:{default:e}}class d extends r.default.Component{static defaultProps={className:"",display:"inline",icon:"nc-combined-shape",label:"Size",min:-9999,max:9999,step:1,attr:{},value:{type:"grouped",grouped:[],ungrouped:[]},onChange:n.default.noop};handleClick=()=>{const{value:{type:e,grouped:t,ungrouped:o},onChange:r}=this.props;r({type:e===s.GROUPED?s.UNGROUPED:s.GROUPED,grouped:t,ungrouped:o,isChanged:"type",isChangedIndex:0})};handleInputValueChange=(e,t)=>{const{value:{type:o,grouped:r,ungrouped:n},onChange:i}=this.props,a=this.props.value[o].map(((o,r)=>r===e?t:o));i({type:o,grouped:"grouped"===o?a:r,ungrouped:"ungrouped"===o?a:n,isChanged:"value",isChangedIndex:e})};render(){const{className:e,attr:t,min:o,max:n,step:s,value:{type:c},label:d,display:u,icon:p}=this.props,f=(0,i.default)("brz-ed-option__multi-border",`brz-ed-option__${u}`,e,t.className),m=(0,i.default)("brz-button",{"brz-ed-option__multi-border--active":"grouped"===c});return r.default.createElement("div",{...t,className:f},d&&r.default.createElement("div",{className:"brz-label"},d),this.props.value[c].map(((e,t)=>r.default.createElement(l.default,{className:"brz-input brz-ed-option__multi-input",key:t,min:o,max:n,step:s,value:e,onChange:e=>this.handleInputValueChange(t,e)}))),r.default.createElement("button",{className:m,onClick:this.handleClick},r.default.createElement(a.default,{icon:p,className:"brz-icon"})))}}const u=d},21840:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(60042)),i=l(o(62893)),a=l(o(95187));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},picker:{},choices:{},location:"",toolbar:null};render(){const{className:e,choices:t,picker:o,attr:l,location:s,toolbar:c}=this.props,d=(0,n.default)("brz-ed-option__multiPicker","brz-ed-option__inline",e,l.className),u=t[o.value]&&t[o.value].length>0;return r.default.createElement("div",{...l,className:d},r.default.createElement("div",{className:"brz-ed-multiPicker__head"},r.default.createElement(a.default,{className:"brz-ed-multiPicker__head__option",data:o})),r.default.createElement("div",{className:"brz-ed-multiPicker__body"},u&&r.default.createElement(i.default,{optionClassName:"brz-ed-multiPicker__option",data:t[o.value],location:s,toolbar:c})))}}const c=s},35636:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),n=d(o(10301)),i=d(o(60042)),a=d(o(62893)),l=d(o(1424)),s=d(o(33364)),c=o(22741);function d(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.Component{static filter(e,t){return{...t,options:t.options?.map(e).filter(c.isT)}}static reduce(e,t,o){return o.options?.reduce(e,t)??t}static map(e,t){return{...t,options:t.options?.map(e)}}static defaultProps={className:"",icon:"nc-cog",size:"medium",title:"Settings",label:"",helperContent:"",helper:!1,display:"outside",onOpenDirect:!1,location:"",toolbar:null,options:[]};componentDidMount(){const{display:e,onOpenDirect:t}=this.props;"inside"===e&&t&&this.props.toolbar.setItemsRenderer(this.renderToolbarItems)}handleTooltipOpen=()=>{this.props.onChange(void 0,{isOpen:!0})};handleTooltipClose=()=>{this.props.onChange(void 0,{isOpen:!1})};switchToEdit=e=>{e.stopPropagation(),this.props.toolbar.setItemsRenderer(this.renderToolbarItems)};getClickOutSideExceptions(){let e=[".brz-ed-fixed",".media-modal",".media-modal-backdrop"];return"toolbar"===this.props.location&&e.push(".brz-ed-sidebar__right"),e}renderToolbarItems=e=>{const t=e.find((e=>{let{id:t}=e;return t===this.props.id})),o=(0,i.default)("brz-ed-popover__inner",{[`brz-ed-tooltip--${t.size}`]:t.size});return r.default.createElement("div",{className:o},this.renderContent(t))};renderContent=e=>{const{toolbar:t,location:o}=this.props,{options:n,key:i}=e||this.props;return r.default.createElement("div",{key:i,className:"brz-d-xs-flex brz-flex-xs-wrap"},r.default.createElement(a.default,{className:"brz-ed-popover__options",optionClassName:"brz-ed-popover__option",data:n,location:o,toolbar:t}))};renderIcon(){const{icon:e}=this.props;if(n.default.isObject(e)){const t=(0,i.default)("brz-ed-popover__tooltip--icon-custom",e.className);return r.default.createElement("div",{...e,className:t})}return r.default.createElement(s.default,{icon:e})}renderLabelHelper(){const{label:e,helper:t,helperContent:o}=this.props;return e||t?r.default.createElement("div",{key:"label",className:"brz-ed-option__label brz-ed-option__popover__label"},e,t&&r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(s.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}}))):null}renderInside(){const{className:e,icon:t,title:o}=this.props,a=(0,i.default)("brz-ed-popover__inner--icon",e),l=n.default.omit(t,"className"),c=(0,i.default)("brz-ed-popover__tooltip--icon-custom",t.className);return r.default.createElement("div",{className:a,title:o,onMouseDown:this.switchToEdit},n.default.isObject(t)?r.default.createElement("div",{className:c,...l}):r.default.createElement(s.default,{icon:t}))}renderOutside(){const{className:e,title:t,size:o,location:n,toolbar:a}=this.props,s=(0,i.default)("brz-ed-popover",e);let c=a,d="top";return"rightSidebar"===n&&(c=null,d="bottom"),r.default.createElement("div",{className:s},this.renderLabelHelper(),r.default.createElement(l.default,{className:"brz-ed-popover__tooltip",placement:d,overlay:this.renderContent(),title:t,size:o,toolbar:c,clickOutsideExceptions:this.getClickOutSideExceptions(),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},this.renderIcon()))}render(){const{display:e}=this.props;return"outside"===e?this.renderOutside():this.renderInside()}}const p=u},53227:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(60042)),n=p(o(27378)),i=p(o(10301)),a=o(56059),l=p(o(22546)),s=o(97045),c=o(92213),d=o(64985),u=o(16526);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default.Component{static defaultProps={className:"",attr:{}};calConditionsAmount(){const e=(0,c.getStore)().getState();let t=0;(0,u.isExternalPopup)(l.default.getAll())||(t=(0,s.rulesAmountSelector)(e),t=null===t?1:t);const o=(0,s.triggersSelector)(e);return t+(o.find((e=>{let{id:t}=e;return"triggerOnce"===t}))?o.length:o.length+1)}render(){const{className:e,attr:t}=this.props,o=(0,r.default)("brz-ed-option__popup_conditions",e,t.className),l=i.default.omit(t,"className");return n.default.createElement(a.ConditionsComponent,{context:"popup"},n.default.createElement("div",{className:o,...l},n.default.createElement("span",{className:"brz-ed-option__popup_conditions-count"},this.calConditionsAmount()),(0,d.t)("Display Conditions")))}}const m=f},98759:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=S(o(60042)),n=S(o(33979)),i=S(o(27378)),a=o(23884),l=o(70634),s=S(o(10301)),c=S(o(33364)),d=S(o(92823)),u=o(67439),p=o(67138),f=o(67808),m=o(74215),y=o(97045),g=o(25663),h=o(68914),b=o(80775),v=o(6804);function S(e){return e&&e.__esModule?e:{default:e}}class w extends i.default.Component{static defaultProps={label:"",className:"",attr:{},helper:!1,helperContent:"",display:"inline",canDelete:!0,popupKey:"",value:{value:"",popups:[]},onChange:s.default.noop};handleCreate=()=>{const e={prompt:"blocks",mode:"single",props:{type:"popup",showTemplate:!1,blocksType:!1,globalSearch:!1,onChangeBlocks:this.handleAddBlocks,onChangeGlobal:this.handleAddBlocks,onChangeSaved:this.handleAddSavedBlock}};d.default.open(e)};handleAddBlocks=e=>{const{value:{popups:t},globalBlocks:o,onChange:r,dispatch:i}=this.props;let{block:a}=e;const{fonts:s}=e;let c;s?.length&&i((0,m.addFonts)(s));let d=[];if("GlobalBlock"!==a.type)c=(0,v.uuid)(),a=(0,n.default)(a,{value:{_blockVisibility:"unlisted",popupId:c}}),d=(0,b.insertItem)(t,t.length,a);else{const{_id:e}=a.value,r=o[e].data;r.value.popupId?c=r.value.popupId:(c=(0,v.uuid)(),i((0,m.updateGlobalBlock)({id:e,data:(0,n.default)(r,{value:{popupId:c}}),meta:{is_autosave:0}}))),d=(0,l.insert)(t,t.length,a)}r({value:c,popups:d})};handleAddSavedBlock=e=>{const{fonts:t,blocks:o,extraFontStyles:r=[]}=e,{value:{popups:i},dispatch:a,onChange:l}=this.props,s=(0,v.uuid)(),c=(0,n.default)(o[0],{value:{_blockVisibility:"unlisted",popupId:s}});t.length&&a((0,m.addFonts)(t)),r.length&&a((0,m.updateExtraFontStyles)(r)),l({value:s,popups:(0,b.insertItem)(i,i.length,c)})};handleEdit=()=>{const{popupKey:e,value:{value:t}}=this.props;new Map([...p.SectionPopupInstances,...f.SectionPopup2Instances]).get(e||t).open(),(0,u.hideToolbar)()};handleDelete=()=>{const{value:{value:e,popups:t},globalBlocks:o}=this.props;this.props.onChange({value:"",popups:t.filter((t=>{if("GlobalBlock"!==t.type)return t.value.popupId!==e;{const{_id:r}=t.value,n=o[r].data;return!n||n.value.popupId!==e}}))})};getPopupBlock(){const{globalBlocks:e,pageBlocks:t,value:{value:o,popups:r}}=this.props;let n;return n=r.find((t=>("GlobalBlock"===t.type&&(t=e[t.value._id].data),t.value.popupId===o))),n||(n=t.find((e=>e.value._id===o))),n}renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return i.default.createElement("div",{className:"brz-ed-option__label"},e,t&&i.default.createElement("div",{className:"brz-ed-option__helper"},i.default.createElement(c.default,{icon:"nc-alert-circle-que"}),i.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderThumbnail(e){const{canDelete:t}=this.props,{url:o,width:r,height:n}=(0,g.blockThumbnailData)(e,{searchScreenshotInStoreFirst:!0}),{width:a,height:l}=(0,h.imageWrapperSize)(r,n,140),s={width:`${a}px`,height:`${l}px`};return i.default.createElement("figure",{className:"brz-figure brz-ed-option__prompt-popup__image",style:s},i.default.createElement("img",{src:o,className:"brz-img",onClick:this.handleEdit,alt:"Popup Thumbnail"}),t&&i.default.createElement("div",{className:"brz-ed-option__prompt-popup-remove",onClick:this.handleDelete},i.default.createElement(c.default,{icon:"nc-circle-remove"})))}renderAdder(){return i.default.createElement("div",{className:"brz-ed-control__focal-point__label"},i.default.createElement("div",{className:"brz-ed-control__focal-point__upload",onClick:this.handleCreate},i.default.createElement(c.default,{icon:"nc-add"})))}render(){const{className:e,attr:t,label:o,helper:n,display:a,value:l}=this.props,s=(0,r.default)("brz-ed-option__prompt-popup",`brz-ed-option__${a}`,e,t.className),c=l.value&&this.getPopupBlock();return i.default.createElement("div",{...t,className:s},o||n?this.renderLabel():null,c?this.renderThumbnail(c):this.renderAdder())}}const x=(0,a.connect)((e=>({pageBlocks:(0,y.pageBlocksSelector)(e),globalBlocks:(0,y.globalBlocksSelector)(e)})))(w)},27970:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),n=s(o(10301)),i=s(o(60042)),a=s(o(92823)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{static defaultProps={className:"",attr:{},icon:"nc-grid-45",value:null,onChange:n.default.noop};handleClick=()=>{const{value:e,onChange:t}=this.props;a.default.open({prompt:"icon",mode:"single",props:{onChange:t,name:e.name,type:e.type}})};render(){const{className:e,attr:t,icon:o}=this.props,a=(0,i.default)("brz-ed-option__prompt-icon",e,t.className),s=n.default.omit(t,"className");return r.default.createElement("div",{className:a,onClick:this.handleClick,...s},r.default.createElement(l.default,{icon:o}))}}const d=c},82531:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(60042)),n=c(o(27378)),i=c(o(10301)),a=c(o(30135)),l=c(o(54505)),s=c(o(33364));function c(e){return e&&e.__esModule?e:{default:e}}class d extends n.default.Component{static defaultProps={label:"",display:"inline",icon:"",title:"",className:"",value:"",helper:!1,helperContent:"",attr:{},choices:[],onChange:i.default.noop};renderIcon=e=>n.default.createElement("div",{className:"brz-ed-option__radio-group__icon flex items-center justify-center h-full text-[16px] cursor-pointer transition-[background-color] duration-200 ease-linear delay-[0s]"},n.default.createElement(s.default,{icon:e}));renderLabel=()=>{const{label:e,helper:t,helperContent:o}=this.props,r=t?n.default.createElement("div",{className:"brz-ed-option__helper"},n.default.createElement(s.default,{icon:"nc-alert-circle-que"}),n.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return n.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__radio-group__label"},e,r)};renderRadioChoices=e=>e.map((e=>{let{value:t,title:o,icon:a}=e;const s=i.default.isEqual(t,this.props.value),c=(0,r.default)({"brz-ed-option__radio-group--boxed w-[37px] h-[30px] border-t-0 border-r border-b-0 border-l-0 border-solid border-r-control-color bg-option-content-bg text-option-content-color overflow-hidden first:rounded-tl-[4px] first:rounded-bl-[4px] [&:nth-last-child(2)]:border-r-0 [&:nth-last-child(2)]:rounded-tr-[4px] [&:nth-last-child(2)]:rounded-br-[4px]":a},{"!bg-brand-primary":s});return n.default.createElement(l.default,{key:t,value:t,className:c},a?this.renderIcon(a):null,o?this.renderTitle(o):null)}));renderTitle=e=>n.default.createElement("div",{className:"brz-ed-option__radio-group__title"},e);render(){const{label:e,display:t,className:o,helper:l,choices:s,attr:c,value:d,onChange:u}=this.props,p=(0,r.default)("brz-ed-option__radio-group",`brz-ed-option__${t}`,o,c.className),f=i.default.omit(c,"className");return n.default.createElement("div",{className:p,...f},e||l?this.renderLabel():null,n.default.createElement(a.default,{defaultValue:d,onChange:u},this.renderRadioChoices(s)))}}const u=d},48038:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=s(o(60042)),n=s(o(50116)),i=s(o(27378)),a=s(o(10301)),l=s(o(3449));function s(e){return e&&e.__esModule?e:{default:e}}const c=n.default.Handle;class d extends i.default.Component{static defaultProps={className:"",attr:{},config:{range:{min:0,max:100,step:1}},value:{startPointer:0,finishPointer:100,activePointer:"startPointer",hex:"#000000",gradientColorHex:"#000000"},onChange:a.default.noop};constructor(e){super(e);const t=e.value;this.state={...t}}componentDidUpdate(e){a.default.isEqual(e.value,this.props.value)||this.setState({...this.props.value})}handleOnMouseDown=e=>{this.handleChange({activePointer:0===e?"startPointer":"finishPointer",isChanged:"activePointer"})};handleRangeChange=e=>{let[t,o]=e;this.handleChange({startPointer:t,finishPointer:o,isChanged:t===this.state.startPointer?"finishPointer":"startPointer"})};handleChange=e=>{const t={...this.state,...e};this.setState(t),this.props.onChange(t)};handle=e=>{const{className:t,dragging:o,value:n,index:a,...l}=e,s=(0,r.default)(t,{"brz-ed-rc-slider-handle--active":"startPointer"===this.state.activePointer&&0===a||"finishPointer"===this.state.activePointer&&1===a});return i.default.createElement(c,{key:a,value:n,onMouseDown:()=>this.handleOnMouseDown(a),...l,className:s})};render(){const{className:e,config:{range:{min:t,max:o,step:n}},attr:s}=this.props,c=(0,r.default)("brz-ed-option__range",e,s.className),d=a.default.omit(s,"className"),{startPointer:u,finishPointer:p,hex:f,gradientColorHex:m}=this.state;return i.default.createElement("div",{className:c,...d},i.default.createElement("div",{className:"brz-ed-option__range__content"},i.default.createElement(l.default,{id:this.props.id,min:t,max:o,step:n,startPointer:u,finishPointer:p,handle:this.handle,railStyle:{backgroundImage:`linear-gradient(to right, ${f}, ${m})`},onChange:this.handleRangeChange})))}}const u=d},83217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=b(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(23884),a=b(o(33364)),l=o(62948),s=b(o(92823)),c=o(97045),d=o(64187),u=o(64985),p=o(78438),f=o(92636),m=o(21486),y=o(6804),g=o(46065),h=b(o(22546));function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}const S=(e,t)=>{let{value:o}=e;return!!o&&o._id===t};class w extends n.Component{static defaultProps={className:"",attr:{},icon:"nc-circle-add",title:"Add",tooltipContent:"",blockType:"normal",value:{blockId:""},pageBlocks:{items:[]},extraFontStyles:[],isAuthorized:!1};state={loading:!1,active:!1};mounted=!1;componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}getBlock(){const{blockType:e,pageBlocks:{items:t},value:{blockId:o}}=this.props;let r;return r="normal"===e?t.find((e=>S(e,o))):(0,f.findDeep)(t,(e=>S(e,o))).obj,r}handleCreateSaveBlock=async()=>{const{blockType:e,extraFontStyles:t,value:{blockId:o}}=this.props,r={extraFontStyles:t,type:e},n=this.getBlock();if(!n){const t="normal"===e?(0,u.t)("Could not Create Saved Block"):(0,u.t)("Could not Create Saved Popup");return l.ToastNotification.error(t),void(this.mounted&&this.state.loading&&this.setState({loading:!1}))}let i;try{i=await(0,m.browserSupports)()}catch(e){i=!1}if(i){const e=document.getElementById(o);if(e){const{src:t,width:o,height:n}=await(0,m.makeNodeScreenshot)(e).catch((()=>({src:void 0,width:void 0,height:void 0})));if(t&&(0,p.isNumber)(o)&&(0,p.isNumber)(n)){const{id:e}=await(0,d.createBlockScreenshot)({base64:t,blockType:"saved"}).catch((()=>({id:void 0})));e&&(r._thumbnailSrc=e,r._thumbnailWidth=o,r._thumbnailHeight=n,r._thumbnailTime=Date.now())}}}const a=h.default.getAll(),s={data:n,meta:r,uid:(0,y.uuid)(),dataVersion:1};switch(e){case"normal":try{await(0,d.createSavedBlock)(s,a)}catch(e){l.ToastNotification.error((0,u.t)("Could not Create Saved Block"))}break;case"popup":try{await(0,d.createSavedPopup)(s,a)}catch(e){l.ToastNotification.error((0,u.t)("Could not Create Saved Popup"))}}i||l.ToastNotification.warn((0,u.t)("Your block was saved without screenshot, browser is not compatible"),5),this.mounted&&this.setState({loading:!1})};handleClick=async()=>{if(!this.state.loading)if(this.setState({loading:!0}),(0,g.getWhiteLabel)()||this.props.isAuthorized)await this.handleCreateSaveBlock();else{const e={mode:"stack",prompt:"authorization",props:{onClose:this.handleCreateSaveBlock,onSkip:this.handleCreateSaveBlock,onSuccess:this.handleCreateSaveBlock}};s.default.open(e)}};renderTooltip(){const{tooltipContent:e}=this.props,{loading:t,active:o}=this.state,i=(0,r.default)("brz-ed-toolbar__item__tooltip",{"brz-ed-animated brz-ed-animated--fadeIn active":o});return!t&&n.default.createElement("div",{className:i},e)}render(){const{attr:e,icon:t,title:o,tooltipContent:i,className:l}=this.props,{loading:s}=this.state,c=(0,r.default)("brz-ed-option__button",l,e.className);return n.default.createElement("div",{...e,className:c,title:o,onClick:this.handleClick},i&&this.renderTooltip(),s?n.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):n.default.createElement(a.default,{icon:t,className:"brz-ed-animated brz-ed-animated--fadeIn"}))}}const x=(0,i.connect)((e=>({isAuthorized:"connected"===e.authorized||"pending"===e.authorized,pageBlocks:(0,c.pageDataNoRefsSelector)(e),extraFontStyles:(0,c.extraFontStylesSelector)(e)})))(w)},1798:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=u(o(60042)),n=u(o(27378)),i=u(o(10301)),a=u(o(97023)),l=u(o(65961)),s=u(o(53799)),c=u(o(1424)),d=u(o(33364));function u(e){return e&&e.__esModule?e:{default:e}}class p extends n.default.Component{static defaultProps={label:"",display:"inline",className:"",itemHeight:30,icon:"",choices:[],attr:{},helper:!1,helperContent:"",helperPlacement:"top",onChange:i.default.noop};renderLabel(){const{label:e,helper:t,helperContent:o,helperPlacement:r}=this.props;return n.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__select__label"},e,t&&n.default.createElement("div",{className:"brz-ed-option__helper"},n.default.createElement(c.default,{placement:r,openOnClick:!1,overlay:n.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})},n.default.createElement(d.default,{icon:"nc-alert-circle-que"}))))}renderChoices(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.choices).map(((e,t)=>{const{title:o,icon:a,optgroup:c,value:u}=e;let p;if(i.default.isObject(a)){const e=(0,r.default)("brz-control__select-option__bg",a.className);p=n.default.createElement("div",{className:e})}else a&&(p=n.default.createElement(d.default,{icon:a}));return c&&c.length?n.default.createElement(s.default,{key:t,title:o,items:this.renderChoices(c)},p,o&&n.default.createElement("span",{className:"brz-span"},o)):n.default.createElement(l.default,{key:t,value:u,title:o},p,o&&n.default.createElement("span",{className:"brz-span"},o))}))}renderAfterSelect(){}render(){const{label:e,display:t,itemHeight:o,helper:i,value:l,className:s,attr:c,onChange:d}=this.props,u=(0,r.default)("brz-ed-option__select",`brz-ed-option__${t}`,s,c.className);return n.default.createElement("div",{...c,className:u},e||i?this.renderLabel():null,n.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},n.default.createElement(a.default,{className:"brz-control__select--dark",defaultValue:l,itemHeight:o,onChange:d},this.renderChoices()),this.renderAfterSelect()))}}const f=p},33961:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(10301)),i=l(o(60042)),a=l(o(10944));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",attr:{},suffixes:[{title:"px",value:"px"}],min:0,max:0,step:0,value:0,suffixValue:null,onChange:n.default.noop};state={inputText:""};inputRef=r.default.createRef();componentDidMount(){this.setState({inputText:this.inputRef.current.getText()})}componentDidUpdate(){this.state.inputText!==this.inputRef.current.getText()&&this.setState({inputText:this.inputRef.current.getText()})}handleInputTextChange=e=>{this.setState({inputText:e})};handleInputValueChange=e=>{const{suffixValue:t,onChange:o}=this.props;o({value:e,suffixValue:t})};handleSuffixChange=e=>{const{value:t,onChange:o}=this.props;o({value:t,suffixValue:e})};renderSuffix(){const{suffixes:e,suffixValue:t}=this.props;return e.map((o=>{const{title:n,value:a}=o,l=(0,i.default)("brz-ed-option__text-box__helper",{"brz-ed-option__text-box__helper--active":a===t}),s=e.length>1?()=>{this.handleSuffixChange(a)}:null;return r.default.createElement("div",{key:a,className:l,onClick:s},n)}))}render(){const{className:e,attr:t,min:o,max:n,step:l,value:s,suffixes:c,suffixValue:d}=this.props,{inputText:u}=this.state,p=null!==d&&c.length>1,f=(0,i.default)("brz-ed-option__text-box",{"brz-ed-option__text-box--fixed-width":p},e,t.className),m=`${u.slice(0,-1)}9`;return r.default.createElement("div",{...t,className:f},r.default.createElement("label",{className:"brz-label"},r.default.createElement("div",{className:"brz-ed-option__text-box__input"},!p&&r.default.createElement("div",{className:"brz-invisible"},m),r.default.createElement(a.default,{ref:this.inputRef,className:"brz-input brz-ed-control__text-box--resizer",min:o,max:n,step:l,value:s,onTextChange:this.handleInputTextChange,onChange:this.handleInputValueChange})),c.length>0&&this.renderSuffix()))}}const c=s},43706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),n=d(o(10301)),i=d(o(60042)),a=d(o(11735)),l=d(o(33364)),s=d(o(33961)),c=o(78438);function d(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.Component{static defaultProps={label:"",title:"",display:"inline",className:"",helperContent:"",helper:!1,icon:"",attr:{},slider:{min:0,max:100,step:1},input:{show:!1,min:-9999,max:9999,step:null},suffix:{show:!1,choices:[]},value:{value:0,suffix:null},onChange:n.default.noop};constructor(e){super(e);const t=e.value;this.state={...t}}static getDerivedStateFromProps(e,t){let{value:o}=e;return o.value!==t.value||o.suffix!==t.suffix?{...o}:null}handleSliderChange=e=>{this.handleChange({value:e},{sliderDragEnd:!1})};handleSliderChangeEnd=e=>{this.handleChange({value:e},{sliderDragEnd:!0})};handleInputChange=e=>{let{value:t,suffixValue:o}=e;this.handleChange({value:t,suffix:o},{sliderDragEnd:!0})};handleChange=(e,t)=>{const{onChange:o}=this.props,r={...this.state,...e};this.setState(r),o(r,t)};renderLabel(){const{label:e,helper:t,helperContent:o}=this.props;return r.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__slider__label"},e,t&&r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(l.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})))}renderIcon(){const{icon:e,title:t}=this.props;return r.default.createElement("div",{className:"brz-ed-option__slider__icon",title:t},r.default.createElement(l.default,{icon:e}))}renderInput(){const e=this.constructor.defaultProps,t=this.props,{suffix:{show:o=e.suffix.show,choices:n=e.suffix.choices},input:{min:i=(null!=e.input.min?e.input.min:null!=t.slider.min?t.slider.min:e.slider.min),max:a=(null!=e.input.max?e.input.max:null!=t.slider.max?t.slider.max:e.slider.max),step:l=(null!=e.input.step?e.input.step:null!=t.slider.step?t.slider.step:e.slider.step)}}=this.props,{value:c,suffix:d}=this.state;return r.default.createElement(s.default,{min:Number(i),max:Number(a),step:Number(l),suffixes:o?n:[],suffixValue:o?d:null,value:Number(c),onChange:this.handleInputChange})}render(){const e=this.constructor.defaultProps,{className:t,label:o,display:l,slider:{min:s=e.slider.min,max:d=e.slider.max,step:u=e.slider.step},input:p,suffix:f,helper:m,attr:y,icon:g}=this.props,h=(0,i.default)("brz-ed-option__slider",`brz-ed-option__${l}`,{"brz-ed-option__slider-suffix":f.length>0},t,y.className),b=n.default.omit(y,"className"),v=(0,c.clamp)(this.state.value,s,d);return r.default.createElement("div",{className:h,...b},o||m?this.renderLabel():null,r.default.createElement("div",{className:"brz-ed-option__slider__content"},g&&this.renderIcon(),r.default.createElement(a.default,{id:this.props.id,min:Number(s),max:Number(d),step:Number(u),value:Number(v),onChange:this.handleSliderChange,onChangeEnd:this.handleSliderChangeEnd}),p.show&&this.renderInput()))}}const p=u},77609:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),n=s(o(10301)),i=s(o(60042)),a=s(o(52049)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{static defaultProps={label:"",display:"inline",min:0,max:10,step:1,value:5,className:"",attr:{},helper:!1,helperContent:"",onChange:n.default.noop};renderLabel=()=>{const{label:e,helper:t,helperContent:o}=this.props,n=t?r.default.createElement("div",{className:"brz-ed-option__helper"},r.default.createElement(l.default,{icon:"nc-alert-circle-que"}),r.default.createElement("div",{className:"brz-ed-option__helper__content",dangerouslySetInnerHTML:{__html:o}})):null;return r.default.createElement("div",{className:"brz-ed-option__label brz-ed-option__stepper__label"},e,n)};render(){const{label:e,display:t,min:o,max:l,step:s,helper:c,value:d,className:u,attr:p,onChange:f}=this.props,m=(0,i.default)("brz-ed-option__stepper",`brz-ed-option__${t}`,u,p.className),y=n.default.omit(p,"className");return r.default.createElement("div",{className:m,...y},e||c?this.renderLabel():null,r.default.createElement(a.default,{value:Number(d),min:Number(o),max:Number(l),step:Number(s),onChange:f}))}}const d=c},37178:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),n=s(o(62893)),i=o(59141),a=o(1424),l=o(22741);function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{static filter(e,t){return{...t,tabs:t.tabs?.map((t=>({...t,options:t?.options?.map(e).filter(l.isT)}))).filter((e=>e?.options?.length>0))??[]}}static reduce(e,t,o){return o.tabs?.reduce(((t,o)=>o?.options?.reduce(e,t)),t)??t}static map(e,t){return{...t,tabs:t.tabs?.map((t=>({...t,options:t.options.map(e)})))}}static defaultProps={align:"center",hideHandlesWhenOne:!0,tabs:[],location:"",value:null,toolbar:null};constructor(e){super(e);const[t]=e.tabs;this.state={activeTab:t&&(t.id||t.label||t.tabIcon)},this.isControlled=null!==e.value}getActiveTab(){const{tabs:e,value:t}=this.props,o=e.some((e=>{let{id:o}=e;return o===t}));return this.isControlled&&o?t:this.state.activeTab}handleTabChange=e=>{this.isControlled?this.props.onChange(e):e!==this.state.activeTab&&this.setState({activeTab:e},(()=>{const e=(0,a.getCurrentTooltip)();e&&e.reposition()}))};sortTabs(e){for(const t of e)if(void 0!==t.position)return[...e].sort(((e,t)=>(e.position||100)-(t.position||100)));return e}render(){const{tabs:e,className:t,tabsPosition:o,tabsClassName:a,hideHandlesWhenOne:l,align:s,location:c,toolbar:d}=this.props,u=this.sortTabs(e).map((e=>{let{id:o,title:a,label:l,options:s,tabIcon:u}=e;const p=o||l||u;return r.default.createElement(i.Tab,{key:p,title:a,label:l,icon:u,value:p},r.default.createElement(n.default,{className:"brz-ed-tabs__options",optionClassName:t,data:s,toolbar:d,location:c}))}));return r.default.createElement(i.Tabs,{className:"brz-ed-tabs__option--inline",tabsClassName:a,tabsPosition:o,value:this.getActiveTab(),align:s,hideHandlesWhenOne:l,onChange:this.handleTabChange},u)}}const d=c},23117:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(23615)),i=p(o(10301)),a=p(o(60042)),l=o(23884),s=p(o(53225)),c=p(o(4023)),d=o(1424),u=o(97045);function p(e){return e&&e.__esModule?e:{default:e}}class f extends r.default.Component{static defaultProps={className:"",attr:{},closeTooltip:!1,value:"",choices:[]};static propTypes={className:n.default.string,attr:n.default.object,closeTooltip:n.default.bool,value:n.default.any,choices:n.default.array.isRequired};getTitle(){const{choices:e,value:t}=this.props,o=e.find((e=>e.value===t));return o?o.title:""}handleChange=e=>{const{closeTooltip:t,showHiddenElements:o,onChange:r}=this.props;if("off"===e&&t&&!o){const e=(0,d.getCurrentTooltip)();e&&e.close()}r(e)};render(){const{className:e,attr:t,choices:o,value:n}=this.props,l=i.default.map(o,(e=>{let{icon:t,value:o}=e;return r.default.createElement(c.default,{key:t,value:o,icon:t})})),d=(0,a.default)("brz-ed-option__toggle",e,t.className);return r.default.createElement(s.default,{value:n,title:this.getTitle(),onChange:this.handleChange,...t,className:d},l)}}const m=(0,l.connect)((e=>({showHiddenElements:(0,u.showHiddenElementsSelector)(e)})))(f)},84380:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{PopulationInput:function(){return l},default:function(){return s}});const r=a(o(27378)),n=o(40333),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{value:t,onRemove:o,children:a}=e;return r.default.createElement("div",{className:"brz-ed-control__population__input",title:t},r.default.createElement("span",{className:"brz-span"},t),a?r.default.createElement(n.Popover,{trigger:r.default.createElement(i.default,{icon:"nc-cog"}),size:"medium",placement:"bottom",clickOutsideExceptions:[".media-modal",".media-modal-backdrop"]},a):null,r.default.createElement(i.default,{icon:"nc-circle-remove",onClick:o}))},s=l},75727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Population",{enumerable:!0,get:function(){return x}});const r=y(o(60042)),n=h(o(27378)),i=o(33364),a=o(62948),l=y(o(62893)),s=o(49863),c=o(64985),d=h(o(48630)),u=h(o(63300)),p=y(o(84380)),f=y(o(75471)),m=o(35671);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const b=e=>{const{className:t,choices:o,value:r,entityType:i,entityId:a,currentDCChoice:l,onChange:s}=e;return n.default.createElement(f.default,{className:t,choices:o,value:r,currentDCChoice:l,entityType:i,entityId:a,onChange:s})},v="CHOICE_HANDLER",S="",w=e=>{const{className:t,value:o,entityType:r,entityId:l,handlerChoices:s,iconOnly:d,onChange:u}=e,p=(0,n.useMemo)((()=>d?[{title:(0,c.t)("Custom Text"),value:S,name:S},{title:(0,c.t)("Others"),value:v,name:S}]:[]),[d]),m=(0,n.useCallback)((e=>{let{population:t}=e;t===v?s((e=>u({population:e,populationEntityType:S,populationEntityId:S})),a.ToastNotification.error):u({population:t,populationEntityType:S,populationEntityId:S})}),[u,s]),y=(0,n.useCallback)((()=>{s((e=>u({population:e,populationEntityType:S,populationEntityId:S})),a.ToastNotification.error)}),[u,s]);return p.length>0?n.default.createElement(f.default,{className:t,value:o!==S?v:S,choices:p,entityType:r,entityId:l,onChange:m}):n.default.createElement(i.EditorIcon,{className:"brz-ed-control__population--handler",icon:"nc-dynamic",onClick:y})},x=e=>{let t,{config:o,value:i,onChange:a,option:f,className:y,label:g}=e;const{iconOnly:h,handlerChoices:v}=o??{},{population:x}=i,P=(0,n.useMemo)((()=>{if("function"==typeof v||!o)return[];const{mockValue:e=!0,choices:t}=o;return[...e&&!h?[{title:(0,c.t)("None"),value:S,name:S,attr:{},varyAttr:[]}]:[],...h?[{title:(0,c.t)("Custom Text"),value:S,name:S,attr:{},varyAttr:[]}]:[],...t||[]]}),[o,v,h]),C=(0,n.useCallback)((e=>(0,s.pipe)(m.parsePopulation,a)(e)),[a]),T=(0,n.useCallback)((()=>a({population:S,populationEntityType:S,populationEntityId:S})),[a]),_=(0,r.default)(y,"brz-ed-option-population",{"brz-control__select-population--only-icon":!!h}),k=(0,n.useMemo)((()=>"function"==typeof o?.handlerChoices&&x?{title:x,value:S,name:S,attr:{},varyAttr:[]}:(0,m.findDCChoiceByPlaceholder)({placeholder:u.read(x)??"",choices:P})),[o?.handlerChoices,P,x]),M=k&&d.isObject(k)&&!Array.isArray(k)?k:void 0;return void 0!==i.population?h?M||P.push({title:(0,c.t)("N/A"),value:i.population??S,name:S,attr:{},varyAttr:[]}):t=n.default.createElement(p.default,{value:M?M.title:(0,c.t)("N/A"),onRemove:T}):t=f?n.default.createElement(l.default,{data:[f],wrapOptions:!1,optionClassName:"brz-ed-option-population"}):null,n.default.createElement(n.default.Fragment,null,g,n.default.createElement("div",{className:"brz-ed-control__population"},t,P.length>0?n.default.createElement(b,{className:_,choices:P,value:i.population??"",entityType:i.populationEntityType??"",currentDCChoice:M,entityId:i.populationEntityId??"",onChange:C}):null,"function"==typeof v?n.default.createElement(w,{iconOnly:h,className:_,handlerChoices:v,value:i.population??"",entityType:i.populationEntityType??"",entityId:i.populationEntityId??"",onChange:C}):null))}},75471:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=y(o(27378)),n=f(o(10301)),i=o(36413),a=f(o(22546)),l=o(64187),s=o(64985),c=y(o(63300)),d=o(59638),u=o(94128),p=o(35671);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}function g(e){let{choices:t,value:o,entityType:f,entityId:m,showChoices:y=!0,currentDCChoice:g,className:h,onChange:b}=e;const v=a.default.getAll(),[S,w]=(0,r.useReducer)(u.reducer,{isOpen:!1,placeholder:c.read(o)??"",entityType:{value:f},entityId:{value:m}}),{isOpen:x,placeholder:P,entityType:C,entityId:T}=S,_=(0,r.useRef)(S),k=g??(0,p.findDCChoiceByPlaceholder)({placeholder:c.read(o)??"",choices:t}),M=k?.attr?.type,O={load:()=>(0,l.getCollectionTypes)(v),emptyLoad:{title:(0,s.t)("There are no choices")}},E={load:()=>(0,l.getSourceIds)(c.read(M||C.value)??"",v),emptyLoad:{title:(0,s.t)("There are no choices")}};(0,r.useEffect)((()=>{const e=c.read(o);e&&_.current.placeholder!==e&&B(e)}),[o]),(0,r.useEffect)((()=>{if(!n.default.isEqual(_.current,S)&&(_.current=S,P===d.empty&&b({population:d.empty,populationEntityType:d.empty,populationEntityId:d.empty}),P)){const e=(0,p.handleValuesChange)({placeholder:P,entityType:C,entityId:T,varryAttr:k?.varyAttr??[]});e&&b(e)}}),[P,C,T,b]);const B=e=>{w({type:u.ActionTypes.SET_PLACEHOLDER,payload:e})};return r.default.createElement(i.Control,{isOpen:x,showChoices:y,choices:t,value:o,entityType:C,className:h,entityTypeChoices:O,entityId:T,entityIdChoices:E,currentDCChoice:k,onChange:B,handleClickOutside:()=>{w({type:u.ActionTypes.SET_VISIBILITY,payload:!1})},handleIconClick:()=>{w({type:u.ActionTypes.SET_VISIBILITY,payload:!S.isOpen})},onEntityTypeChange:e=>{w({type:u.ActionTypes.SET_ENTITY_TYPE,payload:e})},onEntityIdChange:e=>{w({type:u.ActionTypes.SET_ENTITY_ID,payload:e})}})}},28342:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),n=o(52662),i=o(95945),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(59638)),l=o(28197);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c={population:void 0,populationEntityType:void 0,populationEntityId:void 0},d=(0,r.parseStrict)({population:(0,r.optional)((0,r.mPipe)((0,n.callGetter)("population"),a.read,i.fromString)),populationEntityType:(0,r.optional)((0,r.mPipe)((0,n.callGetter)("populationEntityType"),a.read,i.fromString)),populationEntityId:(0,r.optional)((0,r.mPipe)((0,n.callGetter)("populationEntityId"),l.read))}),u=e=>e},16995:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=y(o(27378)),n=o(33364),i=o(62948),a=o(64985),l=y(o(48630)),s=y(o(63300)),c=o(59638),d=f(o(84380)),u=f(o(75471)),p=o(35671);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const g=e=>{const{choices:t,value:o,entityType:n,entityId:i,renderUnset:f,onChange:m}=e,y=(0,r.useMemo)((()=>[{title:(0,a.t)("None"),value:c.empty,name:c.empty,attr:{}},...t||[]]),[t]);let g;const h=(0,r.useCallback)((()=>{m({population:c.empty,populationEntityType:c.empty,populationEntityId:c.empty})}),[m]),b=(0,p.findDCChoiceByPlaceholder)({placeholder:s.read(o)??"",choices:y}),v=b&&l.isObject(b)&&!Array.isArray(b)?s.read(b.title):null;return g=o?r.default.createElement(d.default,{value:v??`${o}`,onRemove:h}):f?.(),r.default.createElement(r.default.Fragment,null,g,r.default.createElement(u.default,{choices:y,entityType:n,entityId:i,value:o,onChange:m}))},h=e=>{const{handlerChoices:t,value:o,onChange:a,renderUnset:l}=e;let u;const p=(0,r.useCallback)((()=>a({population:c.empty,populationEntityType:c.empty,populationEntityId:c.empty})),[a]),f=(0,r.useCallback)((()=>{"function"==typeof t&&t((e=>{a({population:s.read(e)??c.empty,populationEntityType:c.empty,populationEntityId:c.empty})}),(e=>{i.ToastNotification.error(e)}))}),[t,a]);return u=o?r.default.createElement(d.default,{value:`${o}`,onRemove:p}):l?.(),r.default.createElement(r.default.Fragment,null,u,r.default.createElement("div",{className:"brz-ed-control__population--handler",onClick:f},r.default.createElement(n.EditorIcon,{icon:"nc-dynamic"})))};function b(e){let{choices:t,handlerChoices:o,value:n,entityType:i,entityId:a,renderUnset:l,onChange:s}=e;return Array.isArray(t)?r.default.createElement(g,{value:n,choices:t,entityType:i??"",entityId:a??"",onChange:s,renderUnset:l}):o?r.default.createElement(h,{value:n,handlerChoices:o,onChange:s,renderUnset:l}):null}},94128:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ActionTypes:function(){return o},reducer:function(){return r}}),function(e){e.SET_VISIBILITY="SET_VISIBILITY",e.SET_ENTITY_TYPE="SET_ENTITY_TYPE",e.SET_ENTITY_ID="SET_ENTITY_ID",e.SET_PLACEHOLDER="SET_PLACEHOLDER"}(o||(o={}));const r=(e,t)=>{switch(t.type){case o.SET_VISIBILITY:return{...e,isOpen:Boolean(t.payload)};case o.SET_PLACEHOLDER:return{...e,placeholder:t.payload,entityType:{value:""},entityId:{value:""}};case o.SET_ENTITY_TYPE:return{...e,entityType:t.payload,entityId:{value:""}};case o.SET_ENTITY_ID:return{...e,entityId:t.payload};default:return e}}},35671:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{bindPopulation:function(){return c},isOptgroup:function(){return d},parsePopulation:function(){return u},clickOutsideExceptions:function(){return p},handleValuesChange:function(){return f},findDCChoiceByPlaceholder:function(){return m}});const r=o(2610),n=o(76753),i=o(9644),a=o(92636),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{const{population:t,label:o,icon:i,helper:a,position:l,...s}=e;return void 0!==t&&(0,n.inDevelopment)(s.type)?{id:s.id,label:o,icon:i,disabled:s.disabled,display:s.display,devices:s.devices,states:s.states,helper:a,position:l,className:s.className,type:"population-dev",config:t,option:s,fallback:{...s,id:(0,r.keyToDCFallback2Key)(s.id)}}:e},d=e=>"optgroup"in e,u=e=>{if(void 0===e)return{population:void 0,populationEntityType:void 0,populationEntityId:void 0};const{population:t,populationEntityType:o,populationEntityId:r}=e;return{population:t,populationEntityType:o??"",populationEntityId:r??""}},p=[".brz-control__select-current__icon"],f=e=>{const{placeholder:t,entityType:o,entityId:r,varryAttr:n}=e,{showEntityType:a,showEntityId:s}=(0,i.getVaryAttr)(n),c=a?o.value:"",d=s?r.value:"";if(t)return{population:t,populationEntityType:l.read(c)??"",populationEntityId:d}},m=e=>{const{choices:t,placeholder:o}=e;return(0,a.findDeep)(t,(e=>!d(e)&&(o===e.alias||o===e.value))).obj??void 0}},11039:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return u},fromElementModel:function(){return p},toElementModel:function(){return f}});const r=d(o(24119)),n=o(49863),i=o(52662),a=d(o(59638)),l=o(47885),s=o(22741);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u={value:r.empty},p=(0,n.pipe)((0,i.callGetter)("value"),a.read,(0,l.mPipe)(r.fromString),(0,s.onNullish)(r.empty),(e=>({value:e}))),f=e=>e},8027:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StateMode",{enumerable:!0,get:function(){return f}});const r=p(o(27378)),n=d(o(62893)),i=d(o(75276)),a=d(o(47347)),l=o(74597),s=p(o(24119)),c=o(22741);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f=e=>{let{options:t,states:o,className:d,toolbar:u,location:p,onChange:f,value:{value:m}}=e;const y=(0,r.useRef)({onChange:f});y.current={onChange:f};const g=t.reduce(((e,t)=>[...e,...(0,l.itemStates)(t)]),[]),h=o.filter((e=>g.includes(e))),b=(0,r.useCallback)((e=>y.current.onChange({value:e})),[]);switch((0,r.useEffect)((()=>()=>y.current.onChange({value:s.empty})),[]),h.length){case 0:return null;case 1:return r.default.createElement(n.default,{className:"brz-ed-tabs__options",optionClassName:d,data:t.map((e=>(0,l.filterByState)(o[0],e))).filter(c.isT),toolbar:u,location:p});default:return r.default.createElement(i.default,{tabsPosition:"left",value:m,onChange:b,className:"brz-ed-tabs__options"},h.map((e=>r.default.createElement(a.default,{key:e,active:m===e,title:(0,l.stateTitle)(e),icon:(0,l.stateIcon)(e),value:e},r.default.createElement(n.default,{className:"brz-ed-tabs__options",optionClassName:d,data:t.map((t=>(0,l.filterByState)(e,t))).filter(c.isT),toolbar:u,location:p})))))}}},74597:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{itemStates:function(){return l},filterByState:function(){return s},stateIcon:function(){return c},stateTitle:function(){return d}});const r=o(10301),n=o(64985),i=o(11214),a=o(83962),l=e=>{const t=(0,a.reduceR)(((e,t)=>[...e,...t.states??[]]),[],e);return t.length?(0,r.unique)(t):["normal"]},s=(e,t)=>(0,i.filter)((t=>l(t).includes(e)),t),c=e=>{switch(e){case"normal":return"nc-circle";case"hover":return"nc-hover";case"active":return"nc-target"}},d=e=>{switch(e){case"normal":return(0,n.t)("Normal");case"hover":return(0,n.t)("Hover");case"active":return(0,n.t)("Active")}}},16055:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},14539:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Alert",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{config:t,label:o}=e;return r.default.createElement(r.default.Fragment,null,o,r.default.createElement("div",{style:{width:"100%"},dangerouslySetInnerHTML:{__html:t?.html||""}}))}},45863:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AttentionStyle",{enumerable:!0,get:function(){return u}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(18624),l=o(65989),s=o(26318),c=o(73469),d=o(15835);function u(e){let{styles:t,value:o,onChange:n}=e;return r.default.createElement(s.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(c.OptionLabel,{label:(0,i.t)("Style")}),r.default.createElement(a.Select2,{value:o,onChange:n,editable:!1},t.map((e=>r.default.createElement(l.Item,{key:e,value:e},(0,d.styleTitle)(e))))))}},25035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Delay",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(33779),a=o(26318),l=o(73469);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=[{title:"s",value:"s"}],d=e=>{let{value:t,onChange:o}=e;const s=(0,r.useMemo)((()=>({number:t/1e3,unit:"s"})),[t]),d=(0,r.useCallback)((e=>o(1e3*e.number)),[o]);return r.default.createElement(a.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(l.OptionLabel,{label:(0,n.t)("Delay")}),r.default.createElement(i.NumberSlider,{value:s,onChange:d,step:.1,min:0,max:5,units:c}))}},44182:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return d}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(18624),l=o(65989),s=o(26318),c=o(73469);function d(e){let{value:t,onChange:o,directions:n,label:d}=e;return n.length>1?r.default.createElement(s.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(c.OptionLabel,{label:d??(0,i.t)("Direction")}),r.default.createElement(a.Select2,{value:t,onChange:o,editable:!1},n.map((e=>{let[t,o]=e;return r.default.createElement(l.Item,{key:t,value:t},o)})))):null}},98845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Duration",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(33779),a=o(26318),l=o(73469);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=[{title:"s",value:"s"}],d=e=>{let{value:t,onChange:o}=e;const s=(0,r.useMemo)((()=>({number:t/1e3,unit:"s"})),[t]),d=(0,r.useCallback)((e=>o(1e3*e.number)),[o]);return r.default.createElement(a.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(l.OptionLabel,{label:(0,n.t)("Duration")}),r.default.createElement(i.NumberSlider,{value:s,onChange:d,step:.1,min:0,max:5,units:c}))}},5660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(2530);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}function a(e){let{active:t,onClick:o,label:i,icon:a,id:l}=e;const s=(0,r.useCallback)((()=>o(l)),[o,l]);return r.default.createElement(n.FatIcon,{active:t,icon:a,label:i,onClick:s})}},77067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Switcher",{enumerable:!0,get:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(1014),a=o(73469),l=o(26318),s=e=>{let{value:t,onChange:o,label:n}=e;return r.default.createElement(l.OptionWrapper,{display:"inline",className:"brz-ed-option"},r.default.createElement(a.OptionLabel,{label:n}),r.default.createElement(i.Switch,{value:t,onChange:o}))}},15245:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(49863),n=o(90361),i=o(1042),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(84128)),l=o(96303);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c={type:i.EffectType.None,duration:n.Zero,delay:n.Zero,infiniteAnimation:!1},d=(0,r.pipe)((0,r.mPipe)(a.fromElementModel,l.fromLegacyModel),(e=>e??{type:i.EffectType.None})),u=(0,r.pipe)(l.toLegacyModel,a.toElementModel)},66994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Animation",{enumerable:!0,get:function(){return O}});const r=o(47885),n=M(o(27378)),i=o(10301),a=o(50987),l=o(58694),s=o(64644),c=o(26318),d=o(49863),u=o(64985),p=o(90361),f=o(45863),m=o(25035),y=o(44182),g=o(98845),h=o(5660),b=o(77067),v=o(1042),S=M(o(96303)),w=o(87717),x=o(98525),P=o(25062),C=M(o(15835)),T=M(o(83675)),_=o(93873);function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const O=e=>{let{label:t,value:o,onChange:k,className:M,config:O}=e;const E=(0,n.useMemo)((()=>(0,i.unique)([v.EffectType.None,...O?.types??_.defaultEffects])),[O?.types]),B=O?.replay??!0,z=(0,_.valueToType)(E,o),I=O?.delay??!0,j=O?.infiniteAnimation??!0,L=(0,n.useCallback)((e=>k(S.setType(e,o))),[o,k]),F=(0,n.useCallback)((e=>(0,d.mPipe)(p.fromNumber,(e=>S.isEffect(o)&&k((0,x.setDuration)(e,o))))(e)),[o,k]),N=(0,n.useCallback)((e=>(0,d.mPipe)(p.fromNumber,(e=>S.isEffect(o)&&k((0,w.setDelay)(e,o))))(e)),[o,k]),D=(0,n.useCallback)((()=>S.isEffect(o)&&k((0,P.setInfiniteAnimation)(o))),[o,k]),R=(0,n.useCallback)((()=>(0,d.mPipe)((0,d.always)(o.duration),(0,r.pass)((()=>B)),(e=>e+1e-5),p.fromNumber,(e=>S.isEffect(o)&&k((0,x.setDuration)(e,o))))()),[o,B,k]),A=(0,n.useMemo)((()=>{switch(o.type){case v.EffectType.None:return null;case v.EffectType.Attention:{const e=e=>k(C.setStyle(e,o));return n.default.createElement(f.AttentionStyle,{styles:C.styles,value:o.style,onChange:e})}case v.EffectType.Wobble:case v.EffectType.Scale:case v.EffectType.Pulse:case v.EffectType.Rotate2:case v.EffectType.Skew:case v.EffectType.Buzz:return n.default.createElement(y.Direction,{directions:(0,_.getDirections)(z),value:o.direction,label:(0,u.t)("Style"),onChange:(0,_.onChangeDirection)(o,k)});case v.EffectType.Bounce:case v.EffectType.Rotate:case v.EffectType.Slide:case v.EffectType.Move:case v.EffectType.Zoom:return n.default.createElement(y.Direction,{directions:(0,_.getDirections)(z),value:o.direction,onChange:(0,_.onChangeDirection)(o,k)});case v.EffectType.Fade:switch(o.direction){case T.Direction.none:return n.default.createElement(y.Direction,{directions:(0,_.getDirections)(o.type),value:o.direction,onChange:(0,_.onChangeDirection)(o,k)});case T.Direction.up:case T.Direction.down:case T.Direction.left:case T.Direction.right:return n.default.createElement(n.default.Fragment,null,n.default.createElement(y.Direction,{directions:(0,_.getDirections)(o.type),value:o.direction,onChange:(0,_.onChangeDirection)(o,k)}),z===v.EffectType.Fade?n.default.createElement(b.Switcher,{value:o.big,onChange:()=>k({...o,big:!o.big}),label:(0,u.t)("Big")}):null)}}}),[o,z,k]);return n.default.createElement("div",{className:M},n.default.createElement(c.OptionWrapper,{display:"block",className:"brz-ed-option"},t,n.default.createElement(s.FatIconsGrid,null,E.map((e=>n.default.createElement(h.Icon,{key:e,id:e,active:z===e,icon:(0,v.effectTypeIcon)(e),label:(0,v.effectTypeTitle)(e),onClick:L}))))),z!==v.EffectType.None&&n.default.createElement(n.default.Fragment,null,n.default.createElement(c.OptionWrapper,{className:"brz-ed-option"},n.default.createElement(a.Group,null,A,n.default.createElement(g.Duration,{value:o.duration,onChange:F}),I&&n.default.createElement(m.Delay,{value:o.delay,onChange:N}),j&&n.default.createElement(b.Switcher,{value:o.infiniteAnimation,onChange:D,label:(0,u.t)("Infinite Animation")}))),B&&!o.infiniteAnimation&&n.default.createElement(c.OptionWrapper,{className:"brz-ed-option brz-justify-content-xs-center"},n.default.createElement(l.ReloadButton,{onClick:R}))))}},75577:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{durationFromLegacyModel:function(){return s},delayFromLegacyModel:function(){return c},infiniteAnimationFromLegacyModel:function(){return d}});const r=o(49863),n=l(o(90361)),i=l(o(73904));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const s=(0,r.mPipe)((e=>e.duration),i.read,n.fromNumber),c=(0,r.mPipe)((e=>e.delay),i.read,n.fromNumber),d=(0,r.mPipe)((e=>e.infiniteAnimation),(e=>Boolean(e)))},1042:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EffectType:function(){return i},fromLegacyEffectType:function(){return a},isEffect:function(){return l},effectTypeIcon:function(){return s},effectTypeTitle:function(){return c}});const r=o(64985),n=o(7637);var i;!function(e){e.None="none",e.Bounce="bounce",e.Fade="fade",e.Fade2="fade2",e.Rotate="rotate",e.Slide="slide",e.Zoom="zoom",e.Zoom2="zoom2",e.Attention="attention",e.Attention2="attention2",e.Pulse="pulse",e.Wobble="wobble",e.Buzz="buzz",e.Scale="scale",e.Skew="skew",e.Move="move",e.Rotate2="rotate2"}(i||(i={}));const a=e=>{switch(e){case n.LegacyEffectType.bounce:case n.LegacyEffectType.bounceIn:case n.LegacyEffectType.bounceInDown:case n.LegacyEffectType.bounceInLeft:case n.LegacyEffectType.bounceInRight:case n.LegacyEffectType.bounceInUp:return i.Bounce;case n.LegacyEffectType.fadeIn:case n.LegacyEffectType.fadeInDown:case n.LegacyEffectType.fadeInDownBig:case n.LegacyEffectType.fadeInLeft:case n.LegacyEffectType.fadeInLeftBig:case n.LegacyEffectType.fadeInRight:case n.LegacyEffectType.fadeInRightBig:case n.LegacyEffectType.fadeInUp:case n.LegacyEffectType.fadeInUpBig:return i.Fade;case n.LegacyEffectType.none:return i.None;case n.LegacyEffectType.rotateIn:case n.LegacyEffectType.rotateInDownLeft:case n.LegacyEffectType.rotateInDownRight:case n.LegacyEffectType.rotateInUpLeft:case n.LegacyEffectType.rotateInUpRight:return i.Rotate;case n.LegacyEffectType.slideInDown:case n.LegacyEffectType.slideInLeft:case n.LegacyEffectType.slideInRight:case n.LegacyEffectType.slideInUp:return i.Slide;case n.LegacyEffectType.zoomIn:case n.LegacyEffectType.zoomInDown:case n.LegacyEffectType.zoomInLeft:case n.LegacyEffectType.zoomInRight:case n.LegacyEffectType.zoomInUp:return i.Zoom;case n.LegacyEffectType.flash:case n.LegacyEffectType.jackInTheBox:case n.LegacyEffectType.jello:case n.LegacyEffectType.lightSpeedIn:case n.LegacyEffectType.pulse:case n.LegacyEffectType.rollIn:case n.LegacyEffectType.rubberBand:case n.LegacyEffectType.shake:case n.LegacyEffectType.swing:case n.LegacyEffectType.tada:case n.LegacyEffectType.wobble:return i.Attention;case n.LegacyEffectType.brzPulse:case n.LegacyEffectType.brzPulseGrow:case n.LegacyEffectType.brzPulseShrink:return i.Pulse;case n.LegacyEffectType.brzWobbleHorizontal:case n.LegacyEffectType.brzWobbleVertical:case n.LegacyEffectType.brzWobbleToBottomRight:case n.LegacyEffectType.brzWobbleToTopRight:case n.LegacyEffectType.brzWobbleTop:case n.LegacyEffectType.brzWobbleBottom:case n.LegacyEffectType.brzWobbleSkew:return i.Wobble;case n.LegacyEffectType.brzBuzz:case n.LegacyEffectType.brzBuzzOut:return i.Buzz;case n.LegacyEffectType.brzPop:case n.LegacyEffectType.brzPush:case n.LegacyEffectType.brzBounceIn:case n.LegacyEffectType.brzBounceOut:case n.LegacyEffectType.brzGrow:case n.LegacyEffectType.brzShrink:return i.Scale;case n.LegacyEffectType.brzSkew:case n.LegacyEffectType.brzSkewForward:case n.LegacyEffectType.brzSkewBackward:return i.Skew;case n.LegacyEffectType.brzMoveDown:case n.LegacyEffectType.brzMoveUp:case n.LegacyEffectType.brzMoveRight:case n.LegacyEffectType.brzMoveLeft:case n.LegacyEffectType.brzBob:case n.LegacyEffectType.brzHang:return i.Move;case n.LegacyEffectType.brzRotate:case n.LegacyEffectType.brzGrowRotate:return i.Rotate2}},l=e=>t=>t===e,s=e=>{switch(e){case i.Attention:case i.Attention2:return"nc-warning";case i.None:return"nc-none";case i.Bounce:return"nc-bounce";case i.Fade:case i.Fade2:return"nc-fade";case i.Rotate:return"nc-captcha";case i.Slide:return"nc-slider-horizontal";case i.Zoom:case i.Zoom2:return"nc-search";case i.Pulse:return"nc-hover-pulse";case i.Wobble:return"nc-hover-wobble";case i.Buzz:return"nc-hover-buzz";case i.Scale:return"nc-scroll-scale";case i.Skew:return"nc-hover-skew";case i.Move:return"nc-hover-move";case i.Rotate2:return"nc-hover-rotate"}};function c(e){switch(e){case i.Attention:case i.Attention2:return(0,r.t)("Attention");case i.None:return(0,r.t)("None");case i.Bounce:return(0,r.t)("Bounce");case i.Fade:case i.Fade2:return(0,r.t)("Fade");case i.Rotate:return(0,r.t)("Rotate");case i.Slide:return(0,r.t)("Slide");case i.Zoom:case i.Zoom2:return(0,r.t)("Zoom");case i.Pulse:return(0,r.t)("Pulse");case i.Wobble:return(0,r.t)("Wobble");case i.Buzz:return(0,r.t)("Buzz");case i.Scale:return(0,r.t)("Scale");case i.Skew:return(0,r.t)("Skew");case i.Move:return(0,r.t)("Move");case i.Rotate2:return(0,r.t)("Rotate")}}},7637:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{LegacyEffectType:function(){return o},fromString:function(){return r},fadeFromEffect:function(){return n}}),function(e){e.none="none",e.bounce="bounce",e.bounceIn="bounceIn",e.bounceInDown="bounceInDown",e.bounceInLeft="bounceInLeft",e.bounceInRight="bounceInRight",e.bounceInUp="bounceInUp",e.fadeIn="fadeIn",e.fadeInDown="fadeInDown",e.fadeInDownBig="fadeInDownBig",e.fadeInLeft="fadeInLeft",e.fadeInLeftBig="fadeInLeftBig",e.fadeInRight="fadeInRight",e.fadeInRightBig="fadeInRightBig",e.fadeInUp="fadeInUp",e.fadeInUpBig="fadeInUpBig",e.flash="flash",e.jackInTheBox="jackInTheBox",e.jello="jello",e.lightSpeedIn="lightSpeedIn",e.pulse="pulse",e.rollIn="rollIn",e.rotateIn="rotateIn",e.rotateInDownLeft="rotateInDownLeft",e.rotateInDownRight="rotateInDownRight",e.rotateInUpLeft="rotateInUpLeft",e.rotateInUpRight="rotateInUpRight",e.rubberBand="rubberBand",e.tada="tada",e.shake="shake",e.slideInUp="slideInUp",e.slideInDown="slideInDown",e.slideInLeft="slideInLeft",e.slideInRight="slideInRight",e.swing="swing",e.wobble="wobble",e.zoomIn="zoomIn",e.zoomInDown="zoomInDown",e.zoomInLeft="zoomInLeft",e.zoomInRight="zoomInRight",e.zoomInUp="zoomInUp",e.brzWobbleHorizontal="brz-wobble-horizontal",e.brzWobbleVertical="brz-wobble-vertical",e.brzWobbleToBottomRight="brz-wobble-to-bottom-right",e.brzWobbleToTopRight="brz-wobble-to-top-right",e.brzWobbleTop="brz-wobble-top",e.brzWobbleBottom="brz-wobble-bottom",e.brzWobbleSkew="brz-wobble-skew",e.brzPulse="brz-pulse",e.brzPulseGrow="brz-pulse-grow",e.brzPulseShrink="brz-pulse-shrink",e.brzPush="brz-push",e.brzPop="brz-pop",e.brzBounceIn="brz-bounce-in",e.brzBounceOut="brz-bounce-out",e.brzGrow="brz-grow",e.brzShrink="brz-shrink",e.brzBob="brz-bob",e.brzHang="brz-hang",e.brzMoveUp="brz-float",e.brzMoveDown="brz-sink",e.brzMoveRight="brz-forward",e.brzMoveLeft="brz-backward",e.brzSkew="brz-skew",e.brzSkewForward="brz-skew-forward",e.brzSkewBackward="brz-skew-backward",e.brzBuzz="brz-buzz",e.brzBuzzOut="brz-buzz-out",e.brzRotate="brz-rotate",e.brzGrowRotate="brz-grow-rotate"}(o||(o={}));const r=e=>Object.values(o).includes(e)?e:void 0,n=e=>{switch(e){case o.fadeInDown:case o.fadeIn:case o.fadeInRight:case o.fadeInUp:case o.fadeInLeft:case o.fadeInDownBig:case o.fadeInRightBig:case o.fadeInUpBig:case o.fadeInLeftBig:return e;case o.bounce:case o.bounceIn:case o.bounceInDown:case o.bounceInLeft:case o.bounceInRight:case o.bounceInUp:case o.flash:case o.jackInTheBox:case o.jello:case o.none:case o.pulse:case o.rollIn:case o.lightSpeedIn:case o.rotateIn:case o.rotateInDownLeft:case o.rotateInDownRight:case o.rotateInUpLeft:case o.rotateInUpRight:case o.rubberBand:case o.slideInDown:case o.slideInLeft:case o.slideInRight:case o.slideInUp:case o.shake:case o.swing:case o.tada:case o.wobble:case o.zoomIn:case o.zoomInDown:case o.zoomInLeft:case o.zoomInRight:case o.zoomInUp:return}}},84128:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return p},toElementModel:function(){return f},eq:function(){return m}});const r=o(47885),n=u(o(90361)),i=u(o(73904)),a=o(77725),l=u(o(59638)),s=o(93873),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const p=(0,r.parseStrict)({name:(0,a.or)([(0,r.mPipe)((0,s.call)("name"),l.read,c.fromString),()=>c.LegacyEffectType.none]),duration:(0,a.or)([(0,r.mPipe)((0,s.call)("duration"),i.read,n.fromNumber),()=>n.Zero]),delay:(0,a.or)([(0,r.mPipe)((0,s.call)("delay"),i.read,n.fromNumber),()=>n.Zero]),infiniteAnimation:(0,a.or)([(0,r.mPipe)((0,s.call)("infiniteAnimation"),(e=>Boolean(e))),()=>!1])}),f=e=>({name:e.name,duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),m=(e,t)=>e.name===t.name&&e.delay===t.delay&&e.duration===t.duration&&e.infiniteAnimation===t.infiniteAnimation},96303:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isNone:function(){return x},isEffect:function(){return P},fromLegacyModel:function(){return C},toLegacyModel:function(){return T},setType:function(){return _}});const r=w(o(77725)),n=o(1042),i=o(7637),a=w(o(15835)),l=w(o(46779)),s=w(o(94806)),c=w(o(83675)),d=w(o(80013)),u=w(o(61307)),p=w(o(9369)),f=w(o(95438)),m=w(o(62076)),y=w(o(37499)),g=w(o(29727)),h=w(o(89174)),b=w(o(23963)),v=w(o(44572));function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const x=e=>e.type===n.EffectType.None,P=e=>!x(e),C=r.or([a.fromLegacyModel,u.fromLegacyModel,l.fromLegacyModel,c.fromLegacyModel,f.fromLegacyModel,h.fromLegacyModel,v.fromLegacyModel,p.fromLegacyModel,b.fromLegacyModel,s.fromLegacyModel,y.fromLegacyModel,g.fromLegacyModel,d.fromLegacyModel,m.fromLegacyModel]),T=e=>{switch(e.type){case n.EffectType.Attention:return a.toLegacyModel(e);case n.EffectType.None:return u.toLegacyModel(e);case n.EffectType.Bounce:return l.toLegacyModel(e);case n.EffectType.Fade:return c.toLegacyModel(e);case n.EffectType.Rotate:return f.toLegacyModel(e);case n.EffectType.Slide:return h.toLegacyModel(e);case n.EffectType.Zoom:return v.toLegacyModel(e);case n.EffectType.Pulse:return p.toLegacyModel(e);case n.EffectType.Wobble:return b.toLegacyModel(e);case n.EffectType.Buzz:return s.toLegacyModel(e);case n.EffectType.Scale:return y.toLegacyModel(e);case n.EffectType.Skew:return g.toLegacyModel(e);case n.EffectType.Move:return d.toLegacyModel(e);case n.EffectType.Rotate2:return m.toLegacyModel(e)}};function _(e,t){if(e===t.type)return t;switch(e){case n.EffectType.Attention:case n.EffectType.Attention2:return{type:n.EffectType.Attention,style:i.LegacyEffectType.flash,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Bounce:return{type:n.EffectType.Bounce,direction:l.Direction.none,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Fade:case n.EffectType.Fade2:return{type:n.EffectType.Fade,direction:c.Direction.none,big:!1,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.None:return{type:n.EffectType.None,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Rotate:return{type:n.EffectType.Rotate,direction:f.Direction.none,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Slide:return{type:n.EffectType.Slide,direction:h.Direction.up,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Zoom:case n.EffectType.Zoom2:return{type:n.EffectType.Zoom,direction:v.Direction.none,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Pulse:return{type:n.EffectType.Pulse,direction:p.Direction.brzPulse,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Wobble:return{type:n.EffectType.Wobble,direction:b.Direction.brzWobbleBottom,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Skew:return{type:n.EffectType.Skew,direction:g.Direction.brzSkew,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Move:return{type:n.EffectType.Move,direction:d.Direction.up,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Buzz:return{type:n.EffectType.Buzz,direction:s.Direction.brzBuzz,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Scale:return{type:n.EffectType.Scale,direction:y.Direction.brzBounceIn,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation};case n.EffectType.Rotate2:return{type:n.EffectType.Rotate2,direction:m.Direction.brzRotate,duration:t.duration,delay:t.delay,infiniteAnimation:t.infiniteAnimation}}}},87717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setDelay",{enumerable:!0,get:function(){return o}});const o=(e,t)=>({...t,delay:e})},63504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setStyle:function(){return o},setDirection:function(){return r}});const o=(e,t)=>({...t,style:e}),r=(e,t)=>({...t,direction:e})},98525:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setDuration",{enumerable:!0,get:function(){return o}});const o=(e,t)=>({...t,duration:e})},25062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setInfiniteAnimation",{enumerable:!0,get:function(){return o}});const o=e=>({...e,infiniteAnimation:!e.infiniteAnimation})},15835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styles:function(){return p},styleFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},styleTitle:function(){return h},setStyle:function(){return b}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const p=[c.LegacyEffectType.flash,c.LegacyEffectType.jackInTheBox,c.LegacyEffectType.jello,c.LegacyEffectType.lightSpeedIn,c.LegacyEffectType.pulse,c.LegacyEffectType.rollIn,c.LegacyEffectType.rubberBand,c.LegacyEffectType.tada,c.LegacyEffectType.shake,c.LegacyEffectType.swing,c.LegacyEffectType.wobble],f=e=>{switch(e){case c.LegacyEffectType.flash:case c.LegacyEffectType.jackInTheBox:case c.LegacyEffectType.jello:case c.LegacyEffectType.lightSpeedIn:case c.LegacyEffectType.pulse:case c.LegacyEffectType.rollIn:case c.LegacyEffectType.rubberBand:case c.LegacyEffectType.tada:case c.LegacyEffectType.shake:case c.LegacyEffectType.swing:case c.LegacyEffectType.wobble:return e;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Attention))),style:a.or([(0,r.mPipe)((0,i.prop)("name"),f),()=>c.LegacyEffectType.flash]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>e.style,g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case c.LegacyEffectType.flash:return(0,n.t)("Flash");case c.LegacyEffectType.jackInTheBox:return(0,n.t)("JackInTheBox");case c.LegacyEffectType.jello:return(0,n.t)("Jello");case c.LegacyEffectType.lightSpeedIn:return(0,n.t)("Light Speed In");case c.LegacyEffectType.pulse:return(0,n.t)("Pulse");case c.LegacyEffectType.rollIn:return(0,n.t)("Roll In");case c.LegacyEffectType.rubberBand:return(0,n.t)("Rubber Band");case c.LegacyEffectType.shake:return(0,n.t)("Shake");case c.LegacyEffectType.swing:return(0,n.t)("Swing");case c.LegacyEffectType.tada:return(0,n.t)("Tada");case c.LegacyEffectType.wobble:return(0,n.t)("Wobble")}},b=(e,t)=>t.style===e?t:{...t,style:e}},46779:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.none="none",e.in="in",e.down="down",e.right="right",e.up="up",e.left="left"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.bounce:return p.none;case c.LegacyEffectType.bounceIn:return p.in;case c.LegacyEffectType.bounceInDown:return p.down;case c.LegacyEffectType.bounceInLeft:return p.left;case c.LegacyEffectType.bounceInRight:return p.right;case c.LegacyEffectType.bounceInUp:return p.up;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Bounce))),direction:a.or([(0,r.mPipe)((0,i.prop)("name"),f),()=>p.none]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.none:return c.LegacyEffectType.bounce;case p.in:return c.LegacyEffectType.bounceIn;case p.down:return c.LegacyEffectType.bounceInDown;case p.right:return c.LegacyEffectType.bounceInRight;case p.up:return c.LegacyEffectType.bounceInUp;case p.left:return c.LegacyEffectType.bounceInLeft}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.none:return(0,n.t)("None");case p.in:return(0,n.t)("In");case p.up:return(0,n.t)("Up");case p.right:return(0,n.t)("Right");case p.down:return(0,n.t)("Down");case p.left:return(0,n.t)("Left")}}},94806:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzBuzz="brzBuzz",e.brzBuzzOut="brzBuzzOut"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.brzBuzz:return p.brzBuzz;case c.LegacyEffectType.brzBuzzOut:return p.brzBuzzOut;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Buzz))),direction:a.or([(0,r.mPipe)((0,i.prop)("name"),f),()=>p.brzBuzz]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzBuzz:return c.LegacyEffectType.brzBuzz;case p.brzBuzzOut:return c.LegacyEffectType.brzBuzzOut}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.brzBuzz:return(0,n.t)("Buzz");case p.brzBuzzOut:return(0,n.t)("Buzz Out")}}},83675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},bigFromLegacyEffectType:function(){return m},fromLegacyModel:function(){return y},toLegacyEffectType:function(){return g},toLegacyModel:function(){return h},getDirectionTitle:function(){return b}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.none="none",e.down="down",e.right="right",e.up="up",e.left="left"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.fadeIn:return p.none;case c.LegacyEffectType.fadeInDown:case c.LegacyEffectType.fadeInDownBig:return p.down;case c.LegacyEffectType.fadeInRight:case c.LegacyEffectType.fadeInRightBig:return p.right;case c.LegacyEffectType.fadeInUp:case c.LegacyEffectType.fadeInUpBig:return p.up;case c.LegacyEffectType.fadeInLeft:case c.LegacyEffectType.fadeInLeftBig:return p.left}},m=e=>{switch(e){case c.LegacyEffectType.fadeIn:case c.LegacyEffectType.fadeInDown:case c.LegacyEffectType.fadeInRight:case c.LegacyEffectType.fadeInUp:case c.LegacyEffectType.fadeInLeft:return!1;case c.LegacyEffectType.fadeInDownBig:case c.LegacyEffectType.fadeInRightBig:case c.LegacyEffectType.fadeInUpBig:case c.LegacyEffectType.fadeInLeftBig:return!0}},y=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Fade))),direction:a.or([(0,r.mPipe)((0,i.prop)("name"),c.fadeFromEffect,f),()=>p.none]),big:(0,r.mPipe)((0,i.prop)("name"),c.fadeFromEffect,m),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),g=e=>{switch(e.direction){case p.none:return c.LegacyEffectType.fadeIn;case p.down:switch(e.big){case!0:return c.LegacyEffectType.fadeInDownBig;case!1:return c.LegacyEffectType.fadeInDown}case p.right:switch(e.big){case!0:return c.LegacyEffectType.fadeInRightBig;case!1:return c.LegacyEffectType.fadeInRight}case p.up:switch(e.big){case!0:return c.LegacyEffectType.fadeInUpBig;case!1:return c.LegacyEffectType.fadeInUp}case p.left:switch(e.big){case!0:return c.LegacyEffectType.fadeInLeftBig;case!1:return c.LegacyEffectType.fadeInLeft}}},h=e=>({name:g(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),b=e=>{switch(e){case p.none:return(0,n.t)("None");case p.up:return(0,n.t)("Up");case p.right:return(0,n.t)("Right");case p.down:return(0,n.t)("Down");case p.left:return(0,n.t)("Left")}}},80013:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.up="up",e.down="down",e.left="left",e.right="right",e.hang="hang",e.bob="bob"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.brzMoveUp:return p.up;case c.LegacyEffectType.brzMoveDown:return p.down;case c.LegacyEffectType.brzMoveLeft:return p.left;case c.LegacyEffectType.brzMoveRight:return p.right;case c.LegacyEffectType.brzHang:return p.hang;case c.LegacyEffectType.brzBob:return p.bob;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Move))),direction:a.or([(0,r.mPipe)((0,i.prop)("name"),f),()=>p.up]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.up:return c.LegacyEffectType.brzMoveUp;case p.down:return c.LegacyEffectType.brzMoveDown;case p.left:return c.LegacyEffectType.brzMoveLeft;case p.right:return c.LegacyEffectType.brzMoveRight;case p.hang:return c.LegacyEffectType.brzHang;case p.bob:return c.LegacyEffectType.brzBob}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.up:return(0,n.t)("Up");case p.down:return(0,n.t)("Down");case p.left:return(0,n.t)("Left");case p.right:return(0,n.t)("Right");case p.hang:return(0,n.t)("Hang");case p.bob:return(0,n.t)("Bob")}}},61307:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromLegacyModel:function(){return s},toLegacyModel:function(){return c}});const r=o(49863),n=o(77725),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(1042)),a=o(7637);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(0,n.readWithParser)({type:(0,r.mPipe)((e=>e.name),i.fromLegacyEffectType,(0,r.pass)((0,i.isEffect)(i.EffectType.None))),duration:e=>e.duration,delay:e=>e.delay,infiniteAnimation:e=>e.infiniteAnimation}),c=e=>({name:a.LegacyEffectType.none,duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation})},9369:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=u(o(1042)),i=o(7637),a=u(o(75577)),l=u(o(77725)),s=o(55250),c=o(64985);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzPulse="brzPulse",e.brzPulseGrow="brzPulseGrow",e.brzPulseShrink="brzPulseShrink"}(p||(p={}));const f=e=>{switch(e){case i.LegacyEffectType.brzPulse:return p.brzPulse;case i.LegacyEffectType.brzPulseGrow:return p.brzPulseGrow;case i.LegacyEffectType.brzPulseShrink:return p.brzPulseShrink;default:return}},m=l.readWithParser({type:(0,r.mPipe)((0,s.prop)("name"),n.fromLegacyEffectType,(0,r.pass)((0,n.isEffect)(n.EffectType.Pulse))),direction:l.or([(0,r.mPipe)((0,s.prop)("name"),f),()=>p.brzPulse]),duration:a.durationFromLegacyModel,delay:a.delayFromLegacyModel,infiniteAnimation:a.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzPulse:return i.LegacyEffectType.brzPulse;case p.brzPulseGrow:return i.LegacyEffectType.brzPulseGrow;case p.brzPulseShrink:return i.LegacyEffectType.brzPulseShrink}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.brzPulse:return(0,c.t)("Pulse");case p.brzPulseGrow:return(0,c.t)("Pulse Grow");case p.brzPulseShrink:return(0,c.t)("Pulse Shrink")}}},95438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.none="none",e.downLeft="downLeft",e.downRight="downRight",e.upLeft="upLeft",e.upRight="upRight"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.rotateIn:return p.none;case c.LegacyEffectType.rotateInDownLeft:return p.downLeft;case c.LegacyEffectType.rotateInDownRight:return p.downRight;case c.LegacyEffectType.rotateInUpLeft:return p.upLeft;case c.LegacyEffectType.rotateInUpRight:return p.upRight;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Rotate))),direction:a.or([(0,r.mPipe)((0,i.prop)("name"),f),()=>p.none]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.none:return c.LegacyEffectType.rotateIn;case p.downLeft:return c.LegacyEffectType.rotateInDownLeft;case p.downRight:return c.LegacyEffectType.rotateInDownRight;case p.upLeft:return c.LegacyEffectType.rotateInUpLeft;case p.upRight:return c.LegacyEffectType.rotateInUpRight}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.none:return(0,n.t)("None");case p.upRight:return(0,n.t)("Up Right");case p.upLeft:return(0,n.t)("Up Left");case p.downLeft:return(0,n.t)("Down Left");case p.downRight:return(0,n.t)("Down Right")}}},62076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=u(o(1042)),i=o(7637),a=u(o(75577)),l=u(o(77725)),s=o(55250),c=o(64985);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzRotate="brzRotate",e.brzGrowRotate="brzGrowRotate"}(p||(p={}));const f=e=>{switch(e){case i.LegacyEffectType.brzRotate:return p.brzRotate;case i.LegacyEffectType.brzGrowRotate:return p.brzGrowRotate;default:return}},m=l.readWithParser({type:(0,r.mPipe)((0,s.prop)("name"),n.fromLegacyEffectType,(0,r.pass)((0,n.isEffect)(n.EffectType.Rotate2))),direction:l.or([(0,r.mPipe)((0,s.prop)("name"),f),()=>p.brzRotate]),duration:a.durationFromLegacyModel,delay:a.delayFromLegacyModel,infiniteAnimation:a.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzRotate:return i.LegacyEffectType.brzRotate;case p.brzGrowRotate:return i.LegacyEffectType.brzGrowRotate}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.brzRotate:return(0,c.t)("Rotate");case p.brzGrowRotate:return(0,c.t)("Grow Rotate")}}},37499:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=u(o(1042)),i=o(7637),a=u(o(75577)),l=u(o(77725)),s=o(55250),c=o(64985);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzPop="brzPop",e.brzPush="brzPush",e.brzBounceIn="brzBounceIn",e.brzBounceOut="brzBounceOut",e.brzGrow="brzGrow",e.brzShrink="brzShrink"}(p||(p={}));const f=e=>{switch(e){case i.LegacyEffectType.brzPop:return p.brzPop;case i.LegacyEffectType.brzPush:return p.brzPush;case i.LegacyEffectType.brzBounceIn:return p.brzBounceIn;case i.LegacyEffectType.brzBounceOut:return p.brzBounceOut;case i.LegacyEffectType.brzGrow:return p.brzGrow;case i.LegacyEffectType.brzShrink:return p.brzShrink;default:return}},m=l.readWithParser({type:(0,r.mPipe)((0,s.prop)("name"),n.fromLegacyEffectType,(0,r.pass)((0,n.isEffect)(n.EffectType.Scale))),direction:l.or([(0,r.mPipe)((0,s.prop)("name"),f),()=>p.brzPop]),duration:a.durationFromLegacyModel,delay:a.delayFromLegacyModel,infiniteAnimation:a.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzPop:return i.LegacyEffectType.brzPop;case p.brzPush:return i.LegacyEffectType.brzPush;case p.brzBounceIn:return i.LegacyEffectType.brzBounceIn;case p.brzBounceOut:return i.LegacyEffectType.brzBounceOut;case p.brzGrow:return i.LegacyEffectType.brzGrow;case p.brzShrink:return i.LegacyEffectType.brzShrink}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.brzPop:return(0,c.t)("Pop");case p.brzPush:return(0,c.t)("Push");case p.brzBounceIn:return(0,c.t)("Bounce In");case p.brzBounceOut:return(0,c.t)("Bounce Out");case p.brzGrow:return(0,c.t)("Grow");case p.brzShrink:return(0,c.t)("Shrink")}}},29727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=u(o(1042)),i=o(7637),a=u(o(75577)),l=u(o(77725)),s=o(55250),c=o(64985);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzSkew="brzSkew",e.brzSkewForward="brzSkewForward",e.brzSkewBackward="brzSkewBackward"}(p||(p={}));const f=e=>{switch(e){case i.LegacyEffectType.brzSkew:return p.brzSkew;case i.LegacyEffectType.brzSkewForward:return p.brzSkewForward;case i.LegacyEffectType.brzSkewBackward:return p.brzSkewBackward;default:return}},m=l.readWithParser({type:(0,r.mPipe)((0,s.prop)("name"),n.fromLegacyEffectType,(0,r.pass)((0,n.isEffect)(n.EffectType.Skew))),direction:l.or([(0,r.mPipe)((0,s.prop)("name"),f),()=>p.brzSkew]),duration:a.durationFromLegacyModel,delay:a.delayFromLegacyModel,infiniteAnimation:a.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzSkew:return i.LegacyEffectType.brzSkew;case p.brzSkewForward:return i.LegacyEffectType.brzSkewForward;case p.brzSkewBackward:return i.LegacyEffectType.brzSkewBackward}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.brzSkew:return(0,c.t)("Skew");case p.brzSkewForward:return(0,c.t)("Skew Forward");case p.brzSkewBackward:return(0,c.t)("Skew Backward")}}},89174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.down="down",e.right="right",e.up="up",e.left="left"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.slideInDown:return p.down;case c.LegacyEffectType.slideInRight:return p.right;case c.LegacyEffectType.slideInUp:return p.up;case c.LegacyEffectType.slideInLeft:return p.left;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Slide))),direction:a.or([(0,r.mPipe)((0,i.prop)("name"),f),()=>p.up]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.left:return c.LegacyEffectType.slideInLeft;case p.down:return c.LegacyEffectType.slideInDown;case p.right:return c.LegacyEffectType.slideInRight;case p.up:return c.LegacyEffectType.slideInUp}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.up:return(0,n.t)("Up");case p.right:return(0,n.t)("Right");case p.down:return(0,n.t)("Down");case p.left:return(0,n.t)("Left")}}},23963:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.brzWobbleHorizontal="brzWobbleHorizontal",e.brzWobbleVertical="brzWobbleVertical",e.brzWobbleToBottomRight="brzWobbleToBottomRight",e.brzWobbleToTopRight="brzWobbleToTopRight",e.brzWobbleTop="brzWobbleTop",e.brzWobbleBottom="brzWobbleBottom",e.brzWobbleSkew="brzWobbleSkew"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.brzWobbleHorizontal:return p.brzWobbleHorizontal;case c.LegacyEffectType.brzWobbleVertical:return p.brzWobbleVertical;case c.LegacyEffectType.brzWobbleToBottomRight:return p.brzWobbleToBottomRight;case c.LegacyEffectType.brzWobbleToTopRight:return p.brzWobbleToTopRight;case c.LegacyEffectType.brzWobbleTop:return p.brzWobbleTop;case c.LegacyEffectType.brzWobbleBottom:return p.brzWobbleBottom;case c.LegacyEffectType.brzWobbleSkew:return p.brzWobbleSkew;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Wobble))),direction:a.or([(0,r.mPipe)((0,i.prop)("name"),f),()=>p.brzWobbleHorizontal]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.brzWobbleHorizontal:return c.LegacyEffectType.brzWobbleHorizontal;case p.brzWobbleVertical:return c.LegacyEffectType.brzWobbleVertical;case p.brzWobbleToBottomRight:return c.LegacyEffectType.brzWobbleToBottomRight;case p.brzWobbleToTopRight:return c.LegacyEffectType.brzWobbleToTopRight;case p.brzWobbleTop:return c.LegacyEffectType.brzWobbleTop;case p.brzWobbleBottom:return c.LegacyEffectType.brzWobbleBottom;case p.brzWobbleSkew:return c.LegacyEffectType.brzWobbleSkew}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.brzWobbleHorizontal:return(0,n.t)("Horizontal");case p.brzWobbleVertical:return(0,n.t)("Vertical");case p.brzWobbleToBottomRight:return(0,n.t)("Bottom Right");case p.brzWobbleToTopRight:return(0,n.t)("Top Right");case p.brzWobbleTop:return(0,n.t)("Top");case p.brzWobbleBottom:return(0,n.t)("Bottom");case p.brzWobbleSkew:return(0,n.t)("Skew")}}},44572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Direction:function(){return p},directionFromLegacyEffectType:function(){return f},fromLegacyModel:function(){return m},toLegacyEffectType:function(){return y},toLegacyModel:function(){return g},getDirectionTitle:function(){return h}});const r=o(49863),n=o(64985),i=o(55250),a=u(o(77725)),l=u(o(75577)),s=u(o(1042)),c=o(7637);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var p;!function(e){e.none="none",e.down="down",e.right="right",e.up="up",e.left="left"}(p||(p={}));const f=e=>{switch(e){case c.LegacyEffectType.zoomIn:return p.none;case c.LegacyEffectType.zoomInDown:return p.down;case c.LegacyEffectType.zoomInRight:return p.right;case c.LegacyEffectType.zoomInUp:return p.up;case c.LegacyEffectType.zoomInLeft:return p.left;default:return}},m=a.readWithParser({type:(0,r.mPipe)((0,i.prop)("name"),s.fromLegacyEffectType,(0,r.pass)((0,s.isEffect)(s.EffectType.Zoom))),direction:a.or([(0,r.mPipe)((0,i.prop)("name"),f),()=>p.none]),duration:l.durationFromLegacyModel,delay:l.delayFromLegacyModel,infiniteAnimation:l.infiniteAnimationFromLegacyModel}),y=e=>{switch(e.direction){case p.none:return c.LegacyEffectType.zoomIn;case p.left:return c.LegacyEffectType.zoomInLeft;case p.down:return c.LegacyEffectType.zoomInDown;case p.right:return c.LegacyEffectType.zoomInRight;case p.up:return c.LegacyEffectType.zoomInUp}},g=e=>({name:y(e),duration:e.duration,delay:e.delay,infiniteAnimation:e.infiniteAnimation}),h=e=>{switch(e){case p.none:return(0,n.t)("None");case p.up:return(0,n.t)("Up");case p.right:return(0,n.t)("Right");case p.down:return(0,n.t)("Down");case p.left:return(0,n.t)("Left")}}},93873:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{call:function(){return S},onChangeDirection:function(){return w},getDirections:function(){return x},valueToType:function(){return P},defaultEffects:function(){return C},tabEffects:function(){return T},hoverEffects:function(){return _}});const r=o(49863),n=o(1042),i=o(63504),a=v(o(46779)),l=v(o(94806)),s=v(o(83675)),c=v(o(80013)),d=v(o(9369)),u=v(o(95438)),p=v(o(62076)),f=v(o(37499)),m=v(o(29727)),y=v(o(89174)),g=v(o(23963)),h=v(o(44572));function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const S=e=>t=>t(e),w=(e,t)=>(0,r.pipe)((t=>(0,i.setDirection)(t,e)),t);function x(e){switch(e){case n.EffectType.Bounce:return Object.values(a.Direction).map((e=>[e,a.getDirectionTitle(e)]));case n.EffectType.Fade:case n.EffectType.Fade2:return Object.values(s.Direction).map((e=>[e,s.getDirectionTitle(e)]));case n.EffectType.Rotate:return Object.values(u.Direction).map((e=>[e,u.getDirectionTitle(e)]));case n.EffectType.Slide:return Object.values(y.Direction).map((e=>[e,y.getDirectionTitle(e)]));case n.EffectType.Zoom:return Object.values(h.Direction).map((e=>[e,h.getDirectionTitle(e)]));case n.EffectType.Buzz:return Object.values(l.Direction).map((e=>[e,l.getDirectionTitle(e)]));case n.EffectType.Pulse:return Object.values(d.Direction).map((e=>[e,d.getDirectionTitle(e)]));case n.EffectType.Scale:return Object.values(f.Direction).map((e=>[e,f.getDirectionTitle(e)]));case n.EffectType.Wobble:return Object.values(g.Direction).map((e=>[e,g.getDirectionTitle(e)]));case n.EffectType.Move:return Object.values(c.Direction).map((e=>[e,c.getDirectionTitle(e)]));case n.EffectType.Skew:return Object.values(m.Direction).map((e=>[e,m.getDirectionTitle(e)]));case n.EffectType.Rotate2:return Object.values(p.Direction).map((e=>[e,p.getDirectionTitle(e)]));case n.EffectType.Zoom2:return[h.Direction.none].map((e=>[e,h.getDirectionTitle(e)]));case n.EffectType.None:case n.EffectType.Attention:case n.EffectType.Attention2:return[]}}const P=(e,t)=>{switch(t.type){case n.EffectType.Attention:return e.includes(n.EffectType.Attention)?n.EffectType.Attention:e.includes(n.EffectType.Attention2)?n.EffectType.Attention2:n.EffectType.None;case n.EffectType.Fade:return e.includes(n.EffectType.Fade)?n.EffectType.Fade:e.includes(n.EffectType.Fade2)?n.EffectType.Fade2:n.EffectType.None;case n.EffectType.Zoom:return e.includes(n.EffectType.Zoom)?n.EffectType.Zoom:e.includes(n.EffectType.Zoom2)?n.EffectType.Zoom2:n.EffectType.None;case n.EffectType.None:case n.EffectType.Rotate:case n.EffectType.Slide:case n.EffectType.Bounce:case n.EffectType.Buzz:case n.EffectType.Pulse:case n.EffectType.Skew:case n.EffectType.Scale:case n.EffectType.Rotate2:case n.EffectType.Move:case n.EffectType.Wobble:return e.includes(t.type)?t.type:n.EffectType.None}},C=[n.EffectType.Bounce,n.EffectType.Fade,n.EffectType.Rotate,n.EffectType.Slide,n.EffectType.Zoom,n.EffectType.Attention],T=[n.EffectType.Fade2,n.EffectType.Zoom2,n.EffectType.Attention2],_=[n.EffectType.Wobble,n.EffectType.Pulse,n.EffectType.Buzz,n.EffectType.Skew,n.EffectType.Scale,n.EffectType.Move,n.EffectType.Rotate2]},93999:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return y},fromElementModel:function(){return g},toElementModel:function(){return h}});const r=m(o(404)),n=m(o(16423)),i=m(o(47688)),a=o(49863),l=m(o(59638)),s=m(o(73904)),c=m(o(8046)),d=m(o(27023)),u=m(o(78438)),p=m(o(67888));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const y={type:"none",tempType:"solid",hex:r.Black,opacity:n.empty,tempOpacity:n.unsafe(1),palette:"",tempPalette:"",gradientHex:r.Black,gradientOpacity:n.unsafe(1),tempGradientOpacity:n.unsafe(1),gradientPalette:"",tempGradientPalette:"",gradientType:"linear",start:0,end:100,active:"start",linearDegree:0,radialDegree:0},g=e=>{const t=e("gradientActivePointer"),o="startPointer"===t?"start":"finishPointer"===t?"end":t;return{type:i.read(e("bgColorType")),tempType:i.read(e("tempBgColorType")),hex:(0,a.mPipe)((()=>e("bgColorHex")),l.read,r.fromString)()??y.hex,opacity:(0,a.mPipe)((()=>e("bgColorOpacity")),s.read,n.fromNumber)()??y.opacity,tempOpacity:(0,a.mPipe)((()=>e("tempBgColorOpacity")),s.read,n.fromNumber)()??y.tempOpacity,palette:(0,a.mPipe)((()=>e("bgColorPalette")),l.read,c.fromString)()??y.palette,tempPalette:(0,a.mPipe)((()=>e("tempPalette")),l.read,c.fromString)()??y.tempPalette,gradientHex:(0,a.mPipe)((()=>e("gradientColorHex")),l.read,r.fromString)()??y.gradientHex,gradientOpacity:(0,a.mPipe)((()=>e("gradientColorOpacity")),s.read,n.fromNumber)()??y.gradientOpacity,tempGradientOpacity:(0,a.mPipe)((()=>e("tempGradientColorOpacity")),s.read,n.fromNumber)()??y.tempGradientOpacity,gradientPalette:(0,a.mPipe)((()=>e("gradientColorPalette")),l.read,c.fromString)()??y.gradientPalette,tempGradientPalette:(0,a.mPipe)((()=>e("tempGradientColorPalette")),l.read,c.fromString)()??y.tempGradientPalette,gradientType:d.read(e("gradientType"))??y.gradientType,start:u.toNonNegative(e("gradientStartPointer"))??y.start,end:u.toNonNegative(e("gradientFinishPointer"))??y.end,active:p.read(o),linearDegree:s.read(e("gradientLinearDegree"))??y.linearDegree,radialDegree:s.read(e("gradientRadialDegree"))??y.radialDegree}},h=e=>{const t="start"===e.active?"startPointer":"finishPointer";return{bgColorType:e.type,tempBgColorType:e.tempType,bgColorHex:e.hex,bgColorOpacity:e.opacity,tempBgColorOpacity:e.tempOpacity,bgColorPalette:e.palette,tempBgColorPalette:e.tempPalette,gradientColorHex:e.gradientHex,gradientColorOpacity:e.gradientOpacity,tempGradientColorOpacity:e.tempGradientOpacity,gradientColorPalette:e.gradientPalette,tempGradientColorPalette:e.tempGradientPalette,gradientType:e.gradientType,gradientStartPointer:e.start,gradientFinishPointer:e.end,gradientActivePointer:t,gradientLinearDegree:e.linearDegree,gradientRadialDegree:e.radialDegree}}},67888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"read",{enumerable:!0,get:function(){return o}});const o=e=>"start"===e||"end"===e?e:void 0},27023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"read",{enumerable:!0,get:function(){return o}});const o=e=>"linear"===e||"radial"===e?e:void 0},47688:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{read:function(){return o},empty:function(){return r},append:function(){return n},concat:function(){return i}});const o=e=>"none"===e||"solid"===e||"gradient"===e?e:void 0,r="none",n=(e,t)=>e===r?t:e,i=e=>e.reduce(n,r)},23276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BackgroundColor",{enumerable:!0,get:function(){return S}});const r=b(o(27378)),n=o(76710),i=b(o(8046)),a=o(6620),l=(s=o(22546))&&s.__esModule?s:{default:s};var s;const c=o(97724),d=o(74215),u=o(92213),p=o(81405),f=b(o(404)),m=b(o(16423)),y=b(o(18778)),g=o(67469);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const v=()=>{(0,u.getStore)().dispatch((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:c.LeftSidebarOptionsIds.globalStyle}))},S=e=>{let{value:t,onChange:o,config:s}=e;const d=(0,p.getColorPaletteColors)(),u={...t,hex:(0,a.paletteHex)(t.palette,d)??t.hex,gradientHex:(0,a.paletteHex)(t.gradientPalette,d)??t.gradientHex},h=(0,r.useMemo)((()=>{const e=l.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(c.LeftSidebarOptionsIds.globalStyle)}),[]);return r.default.createElement(n.BackgroundColor,{value:(0,g.toBgControlValue)(u),onChange:(e,r)=>{const n=!("gradient"===t.type&&"end"===t.active);switch(r.isChanged){case"type":o(y.setType(e.type,t));break;case"gradientType":o(y.setGradientType(e.gradientType,t));break;case"start":o(y.setStart(e.start,t));break;case"end":o(y.setEnd(e.end,t));break;case"active":o(y.setActive(e.active,t));break;case"degree":if("gradient"===t.type){const r="radial"===t.gradientType?y.setRadialDegree:y.setLinearDegree;o(r(e.degree,t))}break;case"hex":{const r=n?y.setHex:y.setGradientHex,i=f.fromString(e.hex);void 0!==i&&o(r(i,t));break}case"opacity":{const i=n?y.setOpacity:y.setGradientOpacity,l=m.fromNumber(e.opacity);void 0!==l&&o((0,a.setOpacity)(i,l,t,!!r.opacityDragEnd));break}case"palette":{const r=n?y.setPalette:y.setGradientPalette,a=i.fromString(e.palette);void 0!==a&&o(r(a,t));break}}},paletteOpenSettings:h?v:void 0,palette:(0,p.getColorPaletteColors)(),opacity:s?.opacity??!0,withNone:s?.withNone??!0,gradientColors:[u.hex,u.gradientHex]})}},18778:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getType:function(){return p},setType:function(){return f},toggleType:function(){return m},getHex:function(){return n.getHex},getOpacity:function(){return n.getOpacity},getPalette:function(){return n.getPalette},setHex:function(){return y},setOpacity:function(){return g},setPalette:function(){return h},getGradientHex:function(){return b},setGradientHex:function(){return v},getGradientOpacity:function(){return S},setGradientOpacity:function(){return w},getGradientPalette:function(){return x},setGradientPalette:function(){return P},getGradientType:function(){return C},setGradientType:function(){return T},getStart:function(){return _},setStart:function(){return k},getEnd:function(){return M},setEnd:function(){return O},getActive:function(){return E},setActive:function(){return B},getLinearDegree:function(){return z},setLinearDegree:function(){return I},getRadialDegree:function(){return j},setRadialDegree:function(){return L}});const r=u(o(8046)),n=u(o(14361)),i=o(6620),a=o(36683),l=o(22741),s=u(o(47688)),c=o(67469);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const p=e=>e.type,f=(e,t)=>({...t,...(0,i.toggleColor)(e!==s.empty,t),type:e,tempType:s.append(e,t.tempType)}),m=(e,t)=>{const{type:o,opacity:r,gradientOpacity:n,tempType:i}=t,a=e?s.append(o,i):s.empty,l="gradient"===o;return(e||!e&&l)&&0===r&&0===n?{...t,type:"none",tempType:"none"}:l&&(0===r&&n>0||r>0&&0===n)?{...t,type:"gradient",tempType:"gradient"}:f(a,t)},y=(e,t)=>m(!0,{...t,...n.setHex(e,t)}),g=(e,t)=>m(e>0,{...t,...n.setOpacity(e,t)}),h=(e,t)=>m(e!==r.empty,{...t,...n.setPalette(e,t)}),b=(0,l.mCompose)(n.getHex,c.gradientToColor),v=(e,t)=>m(!0,{...t,...(0,c.colorToGradient)(n.setHex(e,(0,c.gradientToColor)(t)))}),S=(0,l.mCompose)(n.getOpacity,c.gradientToColor),w=(e,t)=>m(e>0,{...t,...(0,c.colorToGradient)(n.setOpacity(e,(0,c.gradientToColor)(t)))}),x=(0,l.mCompose)(n.getPalette,c.gradientToColor),P=(e,t)=>m(e!==r.empty,{...t,...(0,c.colorToGradient)(n.setPalette(e,(0,c.gradientToColor)(t)))}),C=e=>e.gradientType,T=(e,t)=>({...t,gradientType:e}),_=e=>e.start,k=(0,a.setter)(c.readPercent,_,((e,t)=>({...t,start:e}))),M=e=>e.end,O=(0,a.setter)(c.readPercent,_,((e,t)=>({...t,end:e}))),E=e=>e.active,B=(e,t)=>({...t,active:e}),z=e=>e.linearDegree,I=(e,t)=>({...t,linearDegree:e}),j=e=>e.radialDegree,L=(e,t)=>({...t,radialDegree:e})},67469:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toBgControlValue:function(){return l},gradientToColor:function(){return s},colorToGradient:function(){return c},readPercent:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(73904)),n=o(22741),i=o(78438);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{const t="gradient"===e.type&&"end"===e.active;return{hex:t?e.gradientHex:e.hex,opacity:t?e.gradientOpacity:e.opacity,palette:t?e.gradientPalette:e.palette,type:e.type,start:e.start,end:e.end,active:e.active,degree:(e.gradientType,e.linearDegree),gradientType:e.gradientType}},s=e=>({hex:e.gradientHex,opacity:e.gradientOpacity,tempOpacity:e.tempGradientOpacity,palette:e.gradientPalette,tempPalette:e.tempGradientPalette}),c=e=>({gradientHex:e.hex,gradientOpacity:e.opacity,tempGradientOpacity:e.tempOpacity,gradientPalette:e.palette,tempGradientPalette:e.tempPalette}),d=e=>(0,n.mApply)((e=>(0,i.inRange)(0,100,e)?e:void 0),r.read(e))},1753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return y},isEmptyWidth:function(){return g},fromElementModel:function(){return h},toElementModel:function(){return b}});const r=o(49863),n=m(o(59638)),i=m(o(98208)),a=m(o(73904)),l=m(o(16423)),s=m(o(7219)),c=m(o(16925)),d=m(o(404)),u=m(o(8046)),p=o(91718);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const y={style:i.empty,tempStyle:i.SOLID,hex:d.Black,opacity:l.empty,tempOpacity:l.unsafe(1),palette:u.empty,tempPalette:u.empty,widthType:s.empty,width:c.empty,tempWidth:c.unsafe(1),topWidth:c.empty,tempTopWidth:c.unsafe(1),rightWidth:c.empty,tempRightWidth:c.unsafe(1),bottomWidth:c.empty,tempBottomWidth:c.unsafe(1),leftWidth:c.empty,tempLeftWidth:c.unsafe(1)},g=e=>(0,p.getWidthType)(e)===s.GROUPED?(0,p.getWidth)(e)===c.empty:(0,p.getTopWidth)(e)===c.empty&&(0,p.getRightWidth)(e)===c.empty&&(0,p.getBottomWidth)(e)===c.empty&&(0,p.getLeftWidth)(e)===c.empty,h=e=>{const t={style:(0,r.mPipe)((()=>e("style")),n.read,i.fromString)()??y.style,opacity:(0,r.mPipe)((()=>e("colorOpacity")),a.read,l.fromNumber)()??y.opacity,widthType:(0,r.mPipe)((()=>e("widthType")),n.read,s.fromString)()??y.widthType,width:(0,r.mPipe)((()=>e("width")),a.read,c.fromNumber)()??y.width,topWidth:(0,r.mPipe)((()=>e("topWidth")),a.read,c.fromNumber)()??y.topWidth,rightWidth:(0,r.mPipe)((()=>e("rightWidth")),a.read,c.fromNumber)()??y.rightWidth,bottomWidth:(0,r.mPipe)((()=>e("bottomWidth")),a.read,c.fromNumber)()??y.bottomWidth,leftWidth:(0,r.mPipe)((()=>e("leftWidth")),a.read,c.fromNumber)()??y.leftWidth},o=t.style===i.empty||t.opacity===l.empty||g(t);return{style:o?i.empty:t.style,tempStyle:(0,r.mPipe)((()=>e("tempStyle")),n.read,i.fromString)()??y.tempStyle,hex:(0,r.mPipe)((()=>e("colorHex")),n.read,d.fromString)()??y.hex,opacity:o?l.empty:t.opacity,tempOpacity:(0,r.mPipe)((()=>e("tempColorOpacity")),a.read,l.fromNumber)()??y.tempOpacity,palette:o?u.empty:(0,r.mPipe)((()=>e("colorPalette")),n.read,u.fromString)()??y.palette,tempPalette:o?u.empty:(0,r.mPipe)((()=>e("tempColorPalette")),n.read,u.fromString)()??y.tempPalette,widthType:(0,r.mPipe)((()=>e("widthType")),n.read,s.fromString)()??y.widthType,width:o?c.empty:t.width,tempWidth:(0,r.mPipe)((()=>e("tempWidth")),a.read,c.fromNumber)()??y.tempWidth,topWidth:o?c.empty:t.topWidth,tempTopWidth:(0,r.mPipe)((()=>e("tempTopWidth")),a.read,c.fromNumber)()??y.tempTopWidth,rightWidth:o?c.empty:t.rightWidth,tempRightWidth:(0,r.mPipe)((()=>e("tempRightWidth")),a.read,c.fromNumber)()??y.tempRightWidth,bottomWidth:o?c.empty:t.bottomWidth,tempBottomWidth:(0,r.mPipe)((()=>e("tempBottomWidth")),a.read,c.fromNumber)()??y.tempBottomWidth,leftWidth:o?c.empty:t.leftWidth,tempLeftWidth:(0,r.mPipe)((()=>e("tempLeftWidth")),a.read,c.fromNumber)()??y.tempLeftWidth}},b=e=>({style:e.style,tempStyle:e.tempStyle,colorHex:e.hex,colorOpacity:e.opacity,tempColorOpacity:e.tempOpacity,colorPalette:e.palette,tempColorPalette:e.tempPalette,widthType:e.widthType,width:e.width,tempWidth:e.tempWidth,topWidth:e.topWidth,tempTopWidth:e.tempTopWidth,rightWidth:e.rightWidth,tempRightWidth:e.tempRightWidth,bottomWidth:e.bottomWidth,tempBottomWidth:e.tempBottomWidth,leftWidth:e.leftWidth,tempLeftWidth:e.tempLeftWidth})},98208:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{NONE:function(){return a},SOLID:function(){return l},DASHED:function(){return s},DOTTED:function(){return c},DOUBLE:function(){return d},GROOVE:function(){return u},RIDGE:function(){return p},INSET:function(){return f},OUTSET:function(){return m},styles:function(){return y},is:function(){return g},fromString:function(){return h},read:function(){return b},empty:function(){return v},mRead:function(){return S},append:function(){return w},concat:function(){return x},noEmpty:function(){return P}});const r=o(49863),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(59638));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a="none",l="solid",s="dashed",c="dotted",d="double",u="groove",p="ridge",f="inset",m="outset",y=["none","solid","dashed","dotted","double","groove","ridge","inset","outset"],g=e=>y.includes(e),h=(0,r.pass)(g),b=(0,r.mPipe)(n.read,h),v="none",S=e=>b(e)??v,w=(e,t)=>e===v?t:e,x=e=>e.reduce(w,v),P=e=>e===v?void 0:e},16925:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return i},fromNumber:function(){return a},empty:function(){return l},append:function(){return s},concat:function(){return c},unsafe:function(){return d}});const r=o(49863);var n;!function(e){e.borderWidth="borderWidth"}(n||(n={}));const i=e=>e>=0,a=(0,r.pass)(i),l=0,s=(e,t)=>e===l?t:e,c=e=>e.reduce(s,l),d=e=>e},7219:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{GROUPED:function(){return n},UNGROUPED:function(){return i},types:function(){return a},is:function(){return l},fromString:function(){return s},read:function(){return c},empty:function(){return d},append:function(){return u},concat:function(){return p},mRead:function(){return f}});const r=o(49863),n="grouped",i="ungrouped",a=[n,i],l=e=>a.includes(e),s=(0,r.pass)(l),c=e=>a.includes(e)?e:void 0,d=n,u=(e,t)=>e===d?t:e,p=e=>e.reduce(u,d),f=e=>c(e)??d},57845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Border",{enumerable:!0,get:function(){return w}});const r=S(o(27378)),n=o(23884),i=o(10301),a=o(68654),l=o(6620),s=(c=o(22546))&&c.__esModule?c:{default:c};var c;const d=o(97724),u=o(74215),p=o(81405),f=S(o(404)),m=S(o(16423)),y=S(o(98208)),g=S(o(16925)),h=S(o(91718)),b=o(75669);function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const w=e=>{let{value:t,onChange:o,className:c,config:v}=e;const S=(0,n.useDispatch)(),w=v?.styles??y.styles,x=w.includes(y.empty),P=(0,r.useMemo)((()=>x?i.identity:e=>Math.max(1,e)),[x]),C=(0,r.useCallback)((e=>o(h.setStyle(e,t))),[o,t]),T=(0,r.useCallback)((e=>{const r=f.fromString(e);void 0!==r&&o(h.setHex(r,t))}),[o,t]),_=(0,r.useCallback)(((e,r)=>{const n=m.fromNumber(e);void 0!==n&&o((0,b._setOpacity)(n,t,r))}),[o,t]),k=(0,r.useCallback)((e=>o(h.setPalette(e,t))),[o,t]),M=(0,r.useCallback)((e=>o(h.setWidthType(e,t))),[o,t]),O=(0,r.useCallback)((e=>{const r=g.fromNumber(P(e));void 0!==r&&o(h.setWidth(r,t))}),[o,t,P]),E=(0,r.useCallback)((e=>{const r=g.fromNumber(P(e));void 0!==r&&o(h.setTopWidth(r,t))}),[o,t,P]),B=(0,r.useCallback)((e=>{const r=g.fromNumber(P(e));void 0!==r&&o(h.setRightWidth(r,t))}),[o,t,P]),z=(0,r.useCallback)((e=>{const r=g.fromNumber(P(e));void 0!==r&&o(h.setBottomWidth(r,t))}),[o,t,P]),I=(0,r.useCallback)((e=>{const r=g.fromNumber(P(e));void 0!==r&&o(h.setLeftWidth(r,t))}),[o,t,P]),j=(0,r.useCallback)((()=>S((0,u.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:d.LeftSidebarOptionsIds.globalStyle}))),[S]),L=(0,r.useMemo)((()=>{const e=s.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(d.LeftSidebarOptionsIds.globalStyle)}),[]),F=(0,p.getColorPaletteColors)(),N=(0,l.paletteHex)(t.palette,F)??t.hex;return r.default.createElement(a.Border,{className:c,paletteList:(0,p.getColorPaletteColors)(),paletteOpenSettings:L?j:void 0,enableOpacity:v?.opacity??!0,styles:w.map(b.getStyleObject).filter(Boolean),widthTypes:v?.width??["grouped","ungrouped"],style:t.style,onChangeStyle:C,hex:N,onChangeHex:T,opacity:t.opacity,onChangeOpacity:_,palette:t.palette,onChangePalette:k,widthType:t.widthType,onChangeWidthType:M,width:t.width,onChangeWidth:O,topWidth:t.topWidth,onChangeTopWidth:E,rightWidth:t.rightWidth,onChangeRightWidth:B,bottomWidth:t.bottomWidth,onChangeBottomWidth:z,leftWidth:t.leftWidth,onChangeLeftWidth:I})}},91718:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getStyle:function(){return f},setStyle:function(){return m},setHex:function(){return y},setOpacity:function(){return g},setPalette:function(){return h},getWidthType:function(){return b},setWidthType:function(){return v},getWidth:function(){return S},setWidth:function(){return w},getTopWidth:function(){return x},setTopWidth:function(){return P},getRightWidth:function(){return C},setRightWidth:function(){return T},getBottomWidth:function(){return _},setBottomWidth:function(){return k},getLeftWidth:function(){return M},setLeftWidth:function(){return O},getHex:function(){return a.getHex},getOpacity:function(){return a.getOpacity},getPalette:function(){return a.getPalette}});const r=o(36683),n=p(o(98208)),i=o(6620),a=p(o(14361)),l=o(75669),s=p(o(404)),c=p(o(8046)),d=o(22741);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f=e=>e.style,m=(0,r.setter2)(f,((e,t)=>(0,r._apply)([[r.set,"tempStyle",(0,d.mApply)(n.noEmpty,t.style)],[r.set,"style",e],[i.toggleColor,e!==n.empty],[l.toggleWidth,e!==n.empty]],t))),y=(e,t)=>{if(void 0===s.fromString(e)||(0,a.getHex)(t)===e)return t;const o=""!==e;return(0,r._apply)([[a.setHex,e],[l.toggleStyle,o],[l.toggleWidth,o]],t)},g=(0,r.setter2)(a.getOpacity,((e,t)=>(0,r._apply)([[a.setOpacity,e],[l.toggleStyle,!0],[l.toggleWidth,!0]],t))),h=(0,r.setter2)(a.getPalette,((e,t)=>{const o=e!==c.empty;return(0,r._apply)([[a.setPalette,e],[l.toggleStyle,o],[l.toggleWidth,o]],t)})),b=e=>e.widthType,v=(0,r.setter2)(b,((e,t)=>(0,r.set)("widthType",e,t))),S=e=>e.width,w=(0,r.setter2)(S,((e,t)=>(0,r._apply)([[r.set,"width",e],[r.set,"tempWidth",e>0?e:void 0],[r.set,"topWidth",e>0?e:void 0],[r.set,"rightWidth",e>0?e:void 0],[r.set,"bottomWidth",e>0?e:void 0],[r.set,"leftWidth",e>0?e:void 0],[l.toggleStyle,e>0],[i.toggleColor,e>0]],t))),x=e=>e.topWidth,P=(e,t)=>(0,l._setWidthEdge)("topWidth",e,t),C=e=>e.rightWidth,T=(e,t)=>(0,l._setWidthEdge)("rightWidth",e,t),_=e=>e.bottomWidth,k=(e,t)=>(0,l._setWidthEdge)("bottomWidth",e,t),M=e=>e.leftWidth,O=(e,t)=>(0,l._setWidthEdge)("leftWidth",e,t)},75669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{_getWidth:function(){return g},toggleStyle:function(){return h},_setWidthEdge:function(){return b},toggleWidth:function(){return v},getStyleObject:function(){return S},_setOpacity:function(){return w}});const r=o(6085),n=o(36683),i=m(o(16925)),a=m(o(98208)),l=o(91718),s=m(o(6620)),c=o(22741),d=m(o(98208)),u=o(64985),p=o(1753);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const y=e=>[e.topWidth,e.rightWidth,e.bottomWidth,e.leftWidth].every(((e,t,o)=>e===o[0])),g=(e,t)=>t[e],h=(e,t)=>{const o=e?(0,c.mApply)(a.noEmpty,(0,l.getStyle)(t))??a.read(t?.tempStyle):a.empty;return(0,n._apply)([[l.setStyle,o]],t)},b=(e,t,o)=>{if(g(e,o)===t)return o;const a=["topWidth","rightWidth","bottomWidth","leftWidth"].reduce(((e,t)=>{const o=g(t,e)??i.empty;return(0,n.set)((0,r.capByPrefix)("temp",t),o,e)}),o),l=(c=e,(0,r.capByPrefix)("temp",c));var c;const d=(0,n._apply)([[n.set,(0,r.capByPrefix)("temp",e),t],[n.set,e,t],[t=>(0,n.set)(l,y(t)?o[e]:t[e],t)],[e=>t>0&&y(e)?(0,n.set)("width",t,e):e]],a),u=!(0,p.isEmptyWidth)(d);return(0,n._apply)([[h,u],[s.toggleColor,u]],d)},v=(e,t)=>["width","topWidth","rightWidth","bottomWidth","leftWidth"].reduce(((t,o)=>{const a=(0,r.capByPrefix)("temp",o),l=g(o,t),s=g(a,t);return(0,n._apply)([[n.set,a,e||l===i.empty?void 0:l],[n.set,o,e?i.append(l,s):i.empty]],t)}),t),S=e=>{switch(e){case"none":return{id:d.NONE,title:(0,u.t)("None")};case"solid":return{id:d.SOLID,icon:"nc-solid"};case"dashed":return{id:d.DASHED,icon:"nc-dashed"};case"dotted":return{id:d.DOTTED,icon:"nc-dotted"};case"double":return{id:d.DOUBLE,icon:"nc-double"};case"groove":return{id:d.GROOVE,icon:"nc-groove"};case"ridge":return{id:d.RIDGE,icon:"nc-ridge"};case"inset":return{id:d.INSET,icon:"nc-inset"};case"outset":return{id:d.OUTSET,icon:"nc-outset"}}},w=(e,t,o)=>s.setOpacity(l.setOpacity,e,t,o)},95076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return m},fromElementModel:function(){return y},toElementModel:function(){return g}});const r=f(o(86096)),n=f(o(404)),i=f(o(16423)),a=f(o(8046)),l=f(o(59990)),s=o(49863),c=f(o(59638)),d=f(o(73904)),u=o(55950);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const m={type:r.empty,tempType:r.OUTSET,hex:n.Black,opacity:i.empty,tempOpacity:i.unsafe(1),palette:a.empty,tempPalette:a.empty,blur:l.unsafe(0),tempBlur:l.unsafe(4),spread:0,tempSpread:2,vertical:0,tempVertical:0,horizontal:0,tempHorizontal:0},y=e=>{const t={type:(0,s.mPipe)((()=>e("value")),c.read,u.fromLegacyType)()??r.empty,opacity:(0,s.mPipe)((()=>e("colorOpacity")),d.read,i.fromNumber)()??i.empty,blur:(0,s.mPipe)((()=>e("blur")),d.read,l.fromNumber)()??l.empty,spread:(0,s.mPipe)((()=>e("spread")),d.read)()??0},o=t.type===r.empty||t.opacity===i.empty||t.blur===l.empty&&0===t.spread;return{type:o?m.type:t.type,tempType:(0,s.mPipe)((()=>e("tempValue")),c.read,u.fromLegacyType)()??m.tempType,hex:(0,s.mPipe)((()=>e("colorHex")),c.read,n.fromString)()??m.hex,opacity:o?m.opacity:t.opacity,tempOpacity:(0,s.mPipe)((()=>e("tempColorOpacity")),d.read,i.fromNumber)()??m.tempOpacity,palette:o?m.palette:(0,s.mPipe)((()=>e("colorPalette")),c.read,a.fromString)()??a.empty,tempPalette:(0,s.mPipe)((()=>e("tempColorPalette")),c.read,a.fromString)()??m.tempPalette,blur:o?m.blur:t.blur,tempBlur:(0,s.mPipe)((()=>e("tempBlur")),d.read,l.fromNumber)()??m.tempBlur,spread:o?m.spread:t.spread,tempSpread:(0,s.mPipe)((()=>e("tempSpread")),d.read)()??m.tempSpread,vertical:o?0:d.read(e("vertical"))??m.vertical,tempVertical:d.read(e("tempVertical"))??m.tempVertical,horizontal:o?0:d.read(e("horizontal"))??m.horizontal,tempHorizontal:d.read(e("tempHorizontal"))??m.tempHorizontal}},g=e=>({value:(0,u.toLegacyType)(e.type),tempValue:(0,u.toLegacyType)(e.tempType),colorHex:e.hex,colorPalette:e.palette,tempColorPalette:e.tempPalette,colorOpacity:e.opacity,tempColorOpacity:e.tempOpacity,blur:e.blur,tempBlur:e.tempBlur,spread:e.spread,tempSpread:e.tempSpread,vertical:e.vertical,tempVertical:e.tempVertical,horizontal:e.horizontal,tempHorizontal:e.tempHorizontal})},86096:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{NONE:function(){return o},INSET:function(){return r},OUTSET:function(){return n},types:function(){return i},read:function(){return a},fromString:function(){return l},empty:function(){return s},append:function(){return c},concat:function(){return d},mRead:function(){return u},noEmpty:function(){return p}});const o="none",r="inset",n="outset",i=["none","inset","outset"],a=e=>i.includes(e)?e:void 0,l=e=>i.includes(e)?e:void 0,s="none",c=(e,t)=>e===s?t:e,d=e=>e.reduce(c,s),u=e=>a(e)??s,p=e=>e===s?void 0:e},30734:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoxShadow",{enumerable:!0,get:function(){return x}});const r=v(o(60042)),n=w(o(27378)),i=o(23884),a=o(12632),l=o(21419),s=o(6620),c=v(o(22546)),d=o(97724),u=o(74215),p=o(81405),f=w(o(404)),m=w(o(59990)),y=w(o(16423)),g=o(49863),h=w(o(86096)),b=o(55950);function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const x=e=>{let{onChange:t,value:o,className:v,config:S}=e;const w=(0,i.useDispatch)(),x=(0,r.default)("brz-ed-option__boxShadow",v),{type:P,opacity:C}=S??{},T=(0,n.useMemo)((()=>(0,g.pipe)((()=>P),h.read,(e=>e?["none",e]:h.types),b.getTypesItems)()),[P]),_=(0,n.useCallback)(((e,r)=>{switch(r.isChanged){case"opacity":{const n=y.fromNumber(e.opacity);void 0!==n&&t((0,b._setOpacity)(n,o,!!r.isChanged));break}case"type":t((0,l.setType)(e.type,o));break;case"blur":{const r=m.fromNumber(e.blur);r&&t((0,l.setBlur)(r,o));break}case"hex":{const r=f.fromString(e.hex);r&&t((0,l.setHex)(r,o));break}case"spread":t((0,l.setSpread)(e.spread,o));break;case"palette":t((0,l.setPalette)(e.palette,o));break;case"horizontal":t((0,l.setHorizontal)(e.horizontal,o));break;case"vertical":t((0,l.setVertical)(e.vertical,o))}}),[t,o]),k=(0,n.useCallback)((()=>w((0,u.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:d.LeftSidebarOptionsIds.globalStyle}))),[w]),M=(0,n.useMemo)((()=>{const e=c.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(d.LeftSidebarOptionsIds.globalStyle)}),[]),O=(0,p.getColorPaletteColors)(),E={...o,hex:(0,s.paletteHex)(o.palette,O)??o.hex};return n.default.createElement(a.BoxShadow,{opacity:C??!0,className:x,value:E,onChange:_,types:T,palette:(0,p.getColorPaletteColors)(),paletteOpenSettings:M?k:void 0})}},21419:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getType:function(){return u},setType:function(){return p},setOpacity:function(){return f},setHex:function(){return m},setPalette:function(){return y},getBlur:function(){return g},setBlur:function(){return b},getSpread:function(){return v},setSpread:function(){return S},getHorizontal:function(){return w},setHorizontal:function(){return x},getVertical:function(){return P},setVertical:function(){return C},getHex:function(){return n.getHex},getOpacity:function(){return n.getOpacity},getPalette:function(){return n.getPalette}});const r=o(36683),n=d(o(14361)),i=o(55950),a=d(o(8046)),l=d(o(86096)),s=o(6085);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u=e=>e.type,p=(e,t)=>{if(void 0===l.read(e)||u(t)===e)return t;const o=e===l.empty,n=[[r.set,"tempType",o?(0,r.get)("type",t):void 0],[r.set,"type",e],[i.toggleFields,!o],[i.toggleColor,!o]];return(0,r._apply)(n,t)},f=(e,t)=>{if((0,n.getOpacity)(t)===e)return t;const o=e>0;return(0,r._apply)([[n.setOpacity,e],[i.toggleType,o]],t)},m=(e,t)=>{if((0,n.getHex)(t)===e)return t;const o=""!==e;return(0,r._apply)([[n.setHex,e],[i.toggleType,o]],t)},y=(e,t)=>{if((0,n.getPalette)(t)===e)return t;const o=e!==a.empty;return(0,r._apply)([[n.setPalette,e],[i.toggleType,o]],t)},g=e=>e.blur,h=(e,t,o)=>(0,r.set)(`temp${(0,s.capitalize)(e)}`,t||((0,i.fieldsEnabled)(o)?0:o[e]||void 0),o),b=(0,r.setter2)(g,((e,t)=>(0,r._apply)([[r.set,"blur",e],[h,"blur",e],[e=>(0,i.toggleType)((0,i.fieldsEnabled)(e),e)]],t))),v=e=>e.spread,S=(0,r.setter2)(v,((e,t)=>(0,r._apply)([[r.set,"spread",e],[h,"spread",e],[e=>(0,i.toggleType)((0,i.fieldsEnabled)(e),e)]],t))),w=e=>e.horizontal,x=(0,r.setter2)(w,((e,t)=>(0,r._apply)([[r.set,"horizontal",e],[r.set,"tempHorizontal",e]],t))),P=e=>e.vertical,C=(0,r.setter2)(P,((e,t)=>(0,r._apply)([[r.set,"vertical",e],[r.set,"tempVertical",e]],t)))},55950:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toggleColor:function(){return u},toggleType:function(){return p},toggleFields:function(){return f},fieldsEnabled:function(){return m},getTypeTitle:function(){return y},getTypesItems:function(){return g},fromLegacyType:function(){return h},toLegacyType:function(){return b},_setOpacity:function(){return v}});const r=o(21419),n=d(o(6620)),i=o(36683),a=o(64985),l=d(o(86096)),s=d(o(59990));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u=(e,t)=>{const o=e?(0,r.getOpacity)(t)||(0,i.get)("tempOpacity",t):0,n=e?(0,r.getPalette)(t)||(0,i.get)("tempPalette",t):"";return(0,i._apply)([[r.setOpacity,o],[r.setPalette,n]],t)},p=(e,t)=>{const o=e?l.noEmpty((0,r.getType)(t))??t.tempType:l.NONE;return(0,r.setType)(o,t)},f=(e,t)=>{const o=s.append(t.blur,t.tempBlur),n=t.spread||t.tempSpread,i=(0,r.getHorizontal)(t)||t.tempHorizontal,a=(0,r.getVertical)(t)||t.tempVertical;return{...t,blur:e?o:s.empty,tempBlur:o,spread:e?n:0,tempSpread:n,vertical:e?a:0,tempVertical:a,horizontal:e?i:0,tempHorizontal:i}},m=e=>!(!(0,r.getBlur)(e)&&!(0,r.getSpread)(e)),y=e=>{switch(e){case"none":return(0,a.t)("None");case"inset":return(0,a.t)("Inset");case"outset":return(0,a.t)("Outset")}},g=e=>e.map((e=>({id:e,title:y(e)}))),h=e=>"on"===e?l.OUTSET:""===e?l.NONE:l.fromString(e),b=e=>{switch(e){case l.NONE:return"";case l.OUTSET:return"on";default:return e}},v=(e,t,o)=>n.setOpacity(r.setOpacity,e,t,o)},17583:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return o},toElementModel:function(){return r},defaultValue:function(){return n}});const o=()=>{},r=()=>({}),n=void 0},14247:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(44010),a=e=>{let{label:t,onClick:o,config:n}=e;return r.default.createElement(r.default.Fragment,null,t,r.default.createElement(i.Button,{onClick:o,icon:n?.icon,reverse:n?.reverse},n?.text))}},26768:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return i},toElementModel:function(){return a}});const r=o(59638),n={value:""},i=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},16298:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CodeMirror",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(33689),i=o(32625);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{className:t,onChange:o,value:{value:a},config:l,placeholder:s,label:c}=e;const[d,u]=(0,r.useState)(a),p=(0,r.useRef)();return(0,i.useDebouncedEffect)((()=>{a!==d&&(o({value:d}),p.current=d)}),1e3,[d]),(0,r.useEffect)((()=>{a!==p.current&&u(a)}),[a]),r.default.createElement(r.default.Fragment,null,c,r.default.createElement(n.CodeMirror,{className:t,onChange:u,value:d,language:l?.language??"css",placeholder:s,size:l?.size??"medium"}))}},15677:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return f},fromElementModel:function(){return m},toElementModel:function(){return y}});const r=o(49863),n=p(o(59638)),i=p(o(8046)),a=o(6620),l=p(o(404)),s=p(o(73904)),c=p(o(16423)),d=o(81405);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f={hex:l.Black,opacity:c.unsafe(1),tempOpacity:c.unsafe(1),palette:"",tempPalette:""},m=e=>{const t=(0,r.mPipe)((()=>e("palette")),n.read,i.fromString)()??f.palette;return{hex:(0,a.paletteHex)(t,(0,d.getColorPaletteColors)())??(0,r.mPipe)(e,n.read,l.fromString)("hex")??f.hex,opacity:(0,r.mPipe)((()=>e("opacity")),s.read,c.fromNumber)()??f.opacity,palette:t,tempOpacity:(0,r.mPipe)((()=>e("tempOpacity")),s.read,c.fromNumber)()??f.tempOpacity,tempPalette:(0,r.mPipe)(e,n.read,i.fromString)("tempPalette")??f.palette}},y=e=>({hex:e.hex,opacity:e.opacity,palette:e.palette,tempOpacity:e.tempOpacity,tempPalette:e.tempPalette})},8046:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{palettes:function(){return i},empty:function(){return a},fromString:function(){return l},append:function(){return s},concat:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(86683));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const i=["",...r.palettes],a="",l=e=>e===a?"":r.fromString(e),s=(e,t)=>e===a?t:e,c=e=>e.reduce(s,a)},56041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ColorPicker",{enumerable:!0,get:function(){return w}});const r=h(o(60042)),n=v(o(27378)),i=o(23884),a=o(4782),l=o(15011),s=h(o(22546)),c=o(97724),d=o(74215),u=o(81405),p=v(o(404)),f=v(o(16423)),m=o(49863),y=v(o(8046)),g=o(14361);function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const S=v(o(6620)).setOpacity.bind(null,g.setOpacity),w=e=>{let{className:t,attr:o,onChange:h,value:b,config:v}=e;const w=(0,i.useDispatch)(),x=(0,r.default)("brz-ed-option__colorPicker",t,o?.className),P=(0,n.useCallback)((()=>w((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:c.LeftSidebarOptionsIds.globalStyle}))),[w]),C=(0,n.useCallback)(((e,t)=>{switch(t.isChanged){case"palette":(0,m.mPipe)((()=>e.palette),y.fromString,(e=>(0,g.setPalette)(e,b)),h)();break;case"hex":(0,m.mPipe)((()=>e.hex),p.fromString,(e=>(0,g.setHex)(e,b)),h)();break;case"opacity":(0,m.mPipe)((()=>e.opacity),f.fromNumber,(e=>S(e,b,!!t.opacityDragEnd)),h)()}}),[b,h]),T=(0,n.useCallback)((e=>h((0,g.setHex)(e,b))),[b,h]),_=(0,n.useMemo)((()=>{const e=s.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(c.LeftSidebarOptionsIds.globalStyle)}),[]);return n.default.createElement("div",{...o,className:x},n.default.createElement(a.ColorPicker3,{value:b,opacity:v?.opacity??!0,onChange:C,palette:(0,u.getColorPaletteColors)(),paletteOpenSettings:_?P:void 0}),n.default.createElement(l.ColorPickerInputs,{value:b.hex,onChange:T}))}},14361:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getOpacity:function(){return a},setOpacity:function(){return l},getHex:function(){return s},setHex:function(){return c},getPalette:function(){return d},setPalette:function(){return u}});const r=o(36683),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(8046));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a=e=>e.opacity,l=(0,r.setter2)(a,((e,t)=>{const o=n.append(t.palette,t.tempPalette);return(0,r._apply)([[r.set,"tempOpacity",0===e?a(t):void 0],[r.set,"opacity",e],[r.set,"palette",e?o:""],[r.set,"tempPalette",e?void 0:o]],t)})),s=e=>e.hex,c=(0,r.setter2)(s,((e,t)=>(0,r._apply)([[r.set,"hex",e],[r.set,"opacity",e?t.opacity||t.tempOpacity||1:0],[r.set,"tempOpacity",e?void 0:t.opacity],[r.set,"palette",e?"":void 0],[r.set,"tempPalette",e?"":void 0]],t))),d=e=>e.palette,u=(0,r.setter2)(d,((e,t)=>{const o=d(t)||t.tempPalette,n=a(t)||t.tempOpacity;return(0,r._apply)([[r.set,"tempPalette",e?void 0:o],[r.set,"palette",e],[r.set,"opacity",e?a(t)||n:void 0]],t)}))},6620:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setOpacity:function(){return a},toggleColor:function(){return l},paletteHex:function(){return s}});const r=o(36683),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(14361));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a=(e,t,o,r)=>({...e(t,o),tempOpacity:0!==t&&r?o.opacity:o.tempOpacity}),l=(e,t)=>{const o=e?n.getOpacity(t)||(0,r.get)("tempOpacity",t):0,i=e?n.getPalette(t)||(0,r.get)("tempPalette",t):"";return(0,r._apply)([[n.setOpacity,o],[n.setPalette,i]],t)},s=(e,t)=>t.find((t=>t.id===e))?.hex},41509:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return m},toElementModel:function(){return y},defaultValue:function(){return g}});const r=o(47885),n=o(52662),i=f(o(21112)),a=f(o(20059)),l=o(49863),s=f(o(90361)),c=f(o(73904)),d=f(o(59638)),u=o(22741);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const m=(0,r.parseStrict)({type:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("radiusType"),d.read,a.fromString),(0,u.onNullish)("grouped")),value:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("radius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),unit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("radiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),topLeft:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("topLeftRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempTopLeft:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempTopLeft"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),topLeftUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("topLeftRadiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempTopLeftUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempTopLeftRadiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),topRight:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("topRightRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempTopRight:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempTopRightRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),topRightUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("topRightRadiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempTopRightUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempTopRightRadiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),bottomRight:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("bottomRightRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempBottomRight:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempBottomRight"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),bottomRightUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("bottomRightRadiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempBottomRightUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempBottomRightRadiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),bottomLeft:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("bottomLeftRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempBottomLeft:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempBottomLeftRadius"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),bottomLeftUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("bottomLeftRadiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempBottomLeftUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempBottomLeftRadiusSuffix"),d.read,i.fromString),(0,u.onNullish)("px"))}),y=e=>({radiusType:e.type,radius:e.value,radiusSuffix:e.unit,topLeftRadius:e.topLeft,tempTopLeftRadius:e.tempTopLeft,topLeftRadiusSuffix:e.topLeftUnit,tempTopLeftRadiusSuffix:e.tempTopLeftUnit,topRightRadius:e.topRight,tempTopRightRadius:e.tempTopRight,topRightRadiusSuffix:e.topRightUnit,tempTopRightRadiusSuffix:e.tempTopRightUnit,bottomRightRadius:e.bottomRight,tempBottomRightRadius:e.tempBottomRight,bottomRightRadiusSuffix:e.bottomRightUnit,tempBottomRightRadiusSuffix:e.tempBottomRightUnit,bottomLeftRadius:e.bottomLeft,tempBottomLeftRadius:e.tempBottomLeft,bottomLeftRadiusSuffix:e.bottomLeftUnit,tempBottomLeftRadiusSuffix:e.tempBottomLeftUnit}),g={type:"grouped",value:s.Zero,unit:"px",topLeft:s.Zero,tempTopLeft:s.Zero,topLeftUnit:"px",tempTopLeftUnit:"px",topRight:s.Zero,tempTopRight:s.Zero,topRightUnit:"px",tempTopRightUnit:"px",bottomRight:s.Zero,tempBottomRight:s.Zero,bottomRightUnit:"px",tempBottomRightUnit:"px",bottomLeft:s.Zero,tempBottomLeft:s.Zero,bottomLeftUnit:"px",tempBottomLeftUnit:"px"}},99307:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Corners",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),n=o(6086),i=o(49863),a=d(o(90361)),l=d(o(9523)),s=o(73240);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u=e=>{let{value:t,onChange:o,label:c,config:d}=e;const u=(0,r.useCallback)((e=>(0,i.pipe)((e=>l.setType(e,t)),o)(e)),[t,o]),{value:p,unit:f,topLeft:m,topLeftUnit:y,topRight:g,topRightUnit:h,bottomRight:b,bottomRightUnit:v,bottomLeft:S,bottomLeftUnit:w}=t,x=(0,r.useMemo)((()=>({all:{number:p,unit:f},top:{number:m,unit:y},right:{number:g,unit:h},bottom:{number:b,unit:v},left:{number:S,unit:w}})),[m,g,b,S,f,y,h,v,w,p]),P=(0,r.useCallback)(((e,r)=>(0,i.mPipe)(((e,o)=>(0,i.mPipe)(a.fromNumber,(o=>(0,s.valueSetter)(e)(o,t)))(o)),o)(e,r)),[o,t]),C=(0,r.useCallback)(((e,r)=>o((0,s.unitSetter)(e)(r,t))),[o,t]),T=(0,r.useMemo)((()=>(d?.units??["px","%"]).map((e=>({value:e,title:(0,s.unitTitle)(e)})))),[d?.units]);return r.default.createElement(n.Spacing,{label:c,type:t.type,value:x,units:T,onType:u,onValue:P,onUnit:C,getIcon:s.getIcon,step:1,min:0,max:100})}},21112:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return n},fromString:function(){return i}});const r=o(49863),n=e=>"px"===e||"%"===e,i=(0,r.pass)(n)},9523:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromUngrouped:function(){return o},fromGrouped:function(){return r},getType:function(){return n},setType:function(){return i},getValue:function(){return a},setValue:function(){return l},getUnit:function(){return s},setUnit:function(){return c},getTopLeft:function(){return d},setTopLeft:function(){return u},getTopLeftUnit:function(){return p},setTopLeftUnit:function(){return f},getTopRight:function(){return m},setTopRight:function(){return y},getTopRightUnit:function(){return g},setTopRightUnit:function(){return h},getBottomRight:function(){return b},setBottomRight:function(){return v},getBottomRightUnit:function(){return S},setBottomRightUnit:function(){return w},getBottomLeft:function(){return x},setBottomLeft:function(){return P},getBottomLeftUnit:function(){return C},setBottomLeftUnit:function(){return T}});const o=e=>({...e,type:"grouped"}),r=e=>({...e,type:"ungrouped"}),n=e=>e.type;function i(e,t){switch(e){case"ungrouped":return"grouped"===t.type?r(t):t;case"grouped":return"ungrouped"===t.type?o(t):t}}const a=e=>e.value,l=(e,t)=>({...t,value:e,topLeft:e,topRight:e,bottomRight:e,bottomLeft:e,tempTopLeft:e,tempTopRight:e,tempBottomRight:e,tempBottomLeft:e,tempTopLeftUnit:t.unit,tempTopRightUnit:t.unit,tempBottomRightUnit:t.unit,tempBottomLeftUnit:t.unit}),s=e=>e.unit,c=(e,t)=>({...t,unit:e,topLeftUnit:e,topRightUnit:e,bottomRightUnit:e,bottomLeftUnit:e,tempTopLeft:t.value,tempTopRight:t.value,tempBottomRight:t.value,tempBottomLeft:t.value,tempTopLeftUnit:e,tempTopRightUnit:e,tempBottomRightUnit:e,tempBottomLeftUnit:e}),d=e=>e.topLeft,u=(e,t)=>({...t,topLeft:e,tempTopLeft:e}),p=e=>e.topLeftUnit,f=(e,t)=>({...t,topLeftUnit:e,tempTopLeftUnit:e}),m=e=>e.topRight,y=(e,t)=>({...t,topRight:e,tempTopRight:e}),g=e=>e.topRightUnit,h=(e,t)=>({...t,topRightUnit:e,tempTopRightUnit:e}),b=e=>e.bottomRight,v=(e,t)=>({...t,bottomRight:e,tempBottomRight:e}),S=e=>e.bottomRightUnit,w=(e,t)=>({...t,bottomRightUnit:e,tempBottomRightUnit:e}),x=e=>e.bottomLeft,P=(e,t)=>({...t,bottomLeft:e,tempBottomLeft:e}),C=e=>e.bottomLeftUnit,T=(e,t)=>({...t,bottomLeftUnit:e,tempBottomLeftUnit:e})},73240:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromNumberSlider:function(){return n},getIcon:function(){return i},valueSetter:function(){return a},unitSetter:function(){return l},unitTitle:function(){return s}});const r=o(9523),n=(0,o(77725).readWithParser)({number:e=>e.number,unit:e=>e.unit}),i=e=>{switch(e){case"grouped":return"nc-corners-all";case"ungrouped":return"nc-corners-individual";case"top":return"nc-corners-top-left";case"right":return"nc-corners-top-right";case"bottom":return"nc-corners-bottom-right";case"left":return"nc-corners-bottom-left"}},a=e=>{switch(e){case"all":return r.setValue;case"top":return r.setTopLeft;case"right":return r.setTopRight;case"bottom":return r.setBottomRight;case"left":return r.setBottomLeft}},l=e=>{switch(e){case"all":return r.setUnit;case"top":return r.setTopLeftUnit;case"right":return r.setTopRightUnit;case"bottom":return r.setBottomRightUnit;case"left":return r.setBottomLeftUnit}},s=e=>{switch(e){case"%":case"px":return e}}},51433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Uploader",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(33364)),i=o(62948),a=u(o(22546)),l=o(64985),s=o(2181),c=o(78417),d=o(10113);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>e?{type:"WithFile",file:e}:{type:"Empty"};function m(e){let{value:t,extensions:o,onChange:u}=e;const[p,m]=(0,r.useReducer)(((e,t)=>{switch(t.type){case"Upload":return"Empty"===e.type||"Err"===e.type?(0,c.loading)():e;case"Err":return"Loading"===e.type?(0,c.errMessage)(t.payload):e;case"Success":return"Loading"===e.type?(0,c.withFile)({id:t.payload.id,name:t.payload.name}):e;case"Remove":return"WithFile"===e.type?(0,c.empty)():e;case"Reset":return t.payload?(0,c.withFile)(t.payload):(0,c.empty)()}}),t,f),y=(0,r.useCallback)((()=>{m((0,s.upload)())}),[]),g=(0,r.useCallback)((()=>m((0,s.remove)())),[]),{type:h}=p,{file:b}=p,{message:v}=p,S=(0,r.useMemo)((()=>"Loading"===h),[h]),w=(0,r.useMemo)((()=>"WithFile"===h),[h]),x=(0,r.useMemo)((()=>"Empty"===h),[h]),P=(0,r.useMemo)((()=>"Err"===h),[h]);switch((0,r.useEffect)((()=>{if(S){const{api:e={}}=a.default.getAll(),{customFile:t={}}=e;if(!t.addFile)return void i.ToastNotification.error((0,l.t)("Config : Missing addFile callback"));const r=e=>{let{uid:t,filename:o}=e;const r={id:t,name:o};m((0,s.success)(r))},n=e=>{m((0,s.errPayload)(e))};t.addFile.handler(r,n,{acceptedExtensions:o})}}),[S,o]),(0,r.useEffect)((()=>{w&&u(b)}),[u,b,w]),(0,r.useEffect)((()=>{x&&u(void 0)}),[x,u]),(0,r.useEffect)((()=>{P&&i.ToastNotification.warn(v,5)}),[P,v]),(0,r.useEffect)((()=>{switch(h){case"WithFile":!(0,d.eq)(t,b)&&m((0,s.reset)(t));break;case"Empty":case"Err":t&&m((0,s.reset)(t));break;case"Loading":m((0,s.reset)(t))}}),[t]),h){case"Empty":case"Err":return r.default.createElement("div",{className:"brz-ed-control__file-upload__wrapper",onClick:y},r.default.createElement(n.default,{icon:"nc-add"}));case"Loading":return r.default.createElement("div",{className:"brz-ed-control__file-upload__wrapper"},r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}));case"WithFile":return r.default.createElement("div",{className:"brz-ed-control__file-upload__file-name"},r.default.createElement("span",{className:"brz-ed-control__file-upload__file-name--title",title:b.name},b.name),r.default.createElement("span",{className:"brz-ed-control__file-upload__file-name--remove"},r.default.createElement(n.default,{icon:"nc-remove",onClick:g})))}}},94273:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return l},fromElementModel:function(){return s},toElementModel:function(){return c}});const r=o(47885),n=o(52662),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(59638));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=void 0,s=(0,r.parse)({id:(0,r.mPipe)((0,n.callGetter)("value"),i.read,(e=>e.split("|||")[0])),name:(0,r.mPipe)((0,n.callGetter)("value"),i.read,(e=>e.split("|||")[1]))}),c=e=>e?{value:`${e.id}|||${e.name}`}:{value:""}},53440:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FileUpload",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(51433);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a=e=>{let{config:t,label:o,value:i,onChange:a}=e;const l=(0,r.useMemo)((()=>t?.allowedExtensions??[]),[t?.allowedExtensions]);return r.default.createElement(r.default.Fragment,null,o,r.default.createElement(n.Uploader,{extensions:l,value:i,onChange:a}))}},2181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{upload:function(){return o},errPayload:function(){return r},success:function(){return n},remove:function(){return i},reset:function(){return a}});const o=()=>({type:"Upload"}),r=e=>({type:"Err",payload:e}),n=e=>({type:"Success",payload:e}),i=()=>({type:"Remove"}),a=e=>({type:"Reset",payload:e})},78417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{empty:function(){return o},withFile:function(){return r},loading:function(){return n},errMessage:function(){return i}});const o=()=>({type:"Empty"}),r=e=>({type:"WithFile",file:e}),n=()=>({type:"Loading"}),i=e=>({type:"Err",message:e})},10113:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isWithValue:function(){return n},isNoValue:function(){return i},eq:function(){return a}});const r=o(47885),n=e=>!!e,i=e=>!e,a=(0,r.or)((0,r.match2)([n,n,(e,t)=>e.id===t.id&&e.name===t.name],[i,i,()=>!0]),(()=>!1))},92804:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FilterSlider",{enumerable:!0,get:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(10402),a=o(97230),l=[{value:"%",title:"%"}],s=e=>{let{icon:t,value:o,onChange:n,className:s,title:c}=e;return r.default.createElement(i.Slider,{className:s,icon:t,value:o,unit:"%",onValue:n,onUnit:a.empty,units:l,step:1,min:0,max:200,title:c})}},35881:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return d},fromElementModel:function(){return u},toElementModel:function(){return p}});const r=o(52662),n=o(47885),i=c(o(73904)),a=o(49863),l=c(o(90361));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const d={hue:0,saturation:0,contrast:0,brightness:0},u=(0,n.parseStrict)({hue:(0,n.or)((0,n.mPipe)((0,r.callGetter)("hue"),i.read),(0,a.always)(0)),brightness:(0,n.or)((0,n.mPipe)((0,r.callGetter)("brightness"),i.read,l.fromNumber),(0,a.always)(0)),contrast:(0,n.or)((0,n.mPipe)((0,r.callGetter)("contrast"),i.read,l.fromNumber),(0,a.always)(0)),saturation:(0,n.or)((0,n.mPipe)((0,r.callGetter)("saturation"),i.read,l.fromNumber),(0,a.always)(0))}),p=e=>({...e})},70711:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Filters",{enumerable:!0,get:function(){return d}});const r=o(47885),n=(i=o(27378))&&i.__esModule?i:{default:i};var i;const a=o(10402),l=o(90361),s=o(92804),c=o(97230),d=e=>{let{value:t,onChange:o}=e;return n.default.createElement("div",{className:"brz-ed-control__filters"},n.default.createElement(a.Slider,{className:"brz-ed-control__filters__hue",icon:"nc-hue",value:t.hue,unit:"deg",onValue:(0,r.mPipe)((0,c.set)("hue",t),o),onUnit:c.empty,units:[{value:"deg",title:"deg"}],step:1,min:0,max:360,title:"Hue"}),n.default.createElement(s.FilterSlider,{className:"brz-ed-control__filters__saturation",icon:"nc-saturation",value:t.saturation,onChange:(0,r.mPipe)(l.fromNumber,(0,c.set)("saturation",t),o),title:"Saturation"}),n.default.createElement(s.FilterSlider,{className:"brz-ed-control__filters__brightness",icon:"nc-brightness",value:t.brightness,onChange:(0,r.mPipe)(l.fromNumber,(0,c.set)("brightness",t),o),title:"Brightness"}),n.default.createElement(s.FilterSlider,{className:"brz-ed-control__filters__contrast",icon:"nc-contrast",value:t.contrast,onChange:(0,r.mPipe)(l.fromNumber,(0,c.set)("contrast",t),o),title:"Contrast"}))}},97230:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{empty:function(){return o},set:function(){return r}});const o=()=>{},r=(e,t)=>o=>({...t,[e]:o})},44452:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},46853:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FormApps",{enumerable:!0,get:function(){return d}});const r=c(o(60042)),n=c(o(27378)),i=o(44010),a=o(62948),l=c(o(92823)),s=o(64985);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{let{className:t,config:o}=e;const{id:c,fields:d,icon:u}=o||{},p=(0,r.default)("brz-ed-tooltip__content",t);return n.default.createElement(i.Button,{className:p,icon:u??"nc-cog",reverseTheme:!0,onClick:e=>{if(e.preventDefault(),!c||!d)return a.ToastNotification.error((0,s.t)("Something went wrong"));const t={prompt:"form",mode:"single",props:{formId:c,formFields:d}};l.default.open(t)}})}},48880:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return d},fromElementModel:function(){return u},toElementModel:function(){return p}});const r=o(52662),n=o(49863),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(13992)),a=o(48630),l=o(22741),s=o(96343);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=[],u=(0,n.pipe)((0,n.mPipe)((0,r.callGetter)("value"),i.read,(0,n.pass)(Array.isArray),(e=>e.filter(a.isObject).map(s.fromRecord).filter(l.isT))),(0,l.onNullish)([])),p=e=>({value:JSON.stringify(e)})},52292:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Gallery",{enumerable:!0,get:function(){return S}});const r=v(o(27378)),n=o(34143),i=o(11717),a=o(62521),l=o(62948),s=(c=o(22546))&&c.__esModule?c:{default:c};var c;const d=v(o(44576)),u=o(49863),p=o(64985),f=o(56914),m=v(o(13308)),y=v(o(96343)),g=v(o(52199)),h=o(28690);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}function S(e){let{label:t,value:o,onChange:c,config:b}=e;const[v,S]=(0,r.useReducer)(f.reducer,o.map(((e,t)=>{const o=+t+1;return g.thumbnail(o,e)}))),w=(0,r.useRef)(new n.BehaviorSubject(v)),x=(0,r.useRef)(new n.BehaviorSubject(o)),P=(0,r.useRef)({fn:c});P.current.fn=c;const C=(0,r.useCallback)((e=>S(m.remove(e))),[]),T=(0,r.useCallback)(((e,t)=>(0,u.pipe)(((e,t)=>m.sort({from:e,to:t})),S)(e,t)),[]),_=(0,r.useCallback)((()=>{const e=s.default.getAll(),{media:t}=e.api??{};if(t?.addMediaGallery){const e=e=>{(0,u.pipe)(m.add,S)(e.map(h.toUploadData))},o=e=>{l.ToastNotification.error(e)};t.addMediaGallery.handler(e,o,{acceptedExtensions:h.allowedExtensions})}else l.ToastNotification.error((0,p.t)("Missing addMediaGallery key in config.api")),(0,u.pipe)(m.add,S)([])}),[]);(0,r.useEffect)((()=>x.current.next(o)),[o]),(0,r.useEffect)((()=>w.current.next(v)),[v]),(0,r.useEffect)((()=>{const e=w.current.pipe((0,i.map)((e=>e.filter(g.isLoading))),(0,i.mergeMap)((e=>(0,n.from)(e))),(0,i.distinct)((e=>e.id)),(0,i.mergeMap)((e=>{let{id:t,payload:o}=e;return(0,n.from)(o).pipe((0,i.map)((e=>m.fetchSuccess({id:t,data:e}))),(0,i.catchError)((()=>(0,n.of)(m.fetchError({id:t,message:"Unable to load image"})))))}))).subscribe(S),t=w.current.pipe((0,i.map)((e=>e.filter(g.isThumbnail).map((e=>e.payload)))),(0,i.withLatestFrom)(x.current),(0,i.filter)((e=>{let[t,o]=e;return!d.eq(y.eq,t,o)})),(0,i.map)((e=>{let[t]=e;return t}))).subscribe(P.current.fn);return()=>{t.unsubscribe(),e.unsubscribe()}}),[]);const k=(b?.canDeleteLast??1)||v.length>1?C:void 0;return r.default.createElement(r.default.Fragment,null,t,r.default.createElement(a.Gallery,{onSort:T,onAdd:_,items:v.map(g.toGalleryItem),onRemove:k}))}},56914:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return c}});const r=o(70634),n=s(o(44576)),i=s(o(52199)),a=o(28690);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}function c(e,t){switch(t.type){case"Add":{const o=(0,a.maxId)(e);return[...e,...t.payload.map(((e,t)=>i.loading(t+o+1,e)))]}case"Remove":return e.filter((e=>e.id!==t.payload));case"Sort":return n.move(t.payload.from,t.payload.to,e);case"FetchError":{const o=n.findIndex((e=>e.id===t.payload.id&&"loading"===e.__type),e);return void 0===o?e:(0,r.replaceAt)(e,o,i.error(t.payload.id,t.payload.message))}case"FetchSuccess":{const o=n.findIndex((e=>e.id===t.payload.id&&"loading"===e.__type),e);return void 0===o?e:(0,r.replaceAt)(e,o,i.thumbnail(t.payload.id,t.payload.data))}}}},13308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{add:function(){return o},remove:function(){return r},sort:function(){return n},fetchSuccess:function(){return i},fetchError:function(){return a}});const o=e=>({type:"Add",payload:e}),r=e=>({type:"Remove",payload:e}),n=e=>({type:"Sort",payload:e}),i=e=>({type:"FetchSuccess",payload:e}),a=e=>({type:"FetchError",payload:e})},96343:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromRecord:function(){return u},eq:function(){return p}});const r=o(47885),n=o(49863),i=d(o(73904)),a=o(55250),l=o(77725),s=d(o(59638));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u=(0,l.readWithParser)({uid:(0,n.mPipe)((0,a.prop)("uid"),s.read),fileName:(0,r.optional)((0,n.mPipe)((0,a.prop)("fileName"),s.read)),width:(0,n.mPipe)((0,a.prop)("width"),i.read),height:(0,n.mPipe)((0,a.prop)("height"),i.read)}),p=(e,t)=>e.uid===t.uid&&e.width==e.width&&e.height==e.height},52199:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isThumbnail:function(){return l},thumbnail:function(){return s},isLoading:function(){return c},loading:function(){return d},isError:function(){return u},error:function(){return p},toGalleryItem:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(30288)),n=o(19057),i=o(68914);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>"thumbnail"===e.__type,s=(e,t)=>({id:e,payload:t,__type:"thumbnail"}),c=e=>"loading"===e.__type,d=(e,t)=>({id:e,payload:t,__type:"loading"}),u=e=>"error"===e.__type,p=(e,t)=>({id:e,payload:t,__type:"error"}),f=e=>{switch(e.__type){case"thumbnail":{const t=(0,i.getImageUrl)({uid:e.payload.uid,fileName:e.payload.fileName??"",sizeType:n.SizeType.custom,crop:{iW:100,iH:100}})??"";return r.thumbnail(e.id,t)}case"loading":return r.loading(e.id);case"error":return r.error(e.id,e.payload)}}},28690:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{allowedExtensions:function(){return i},maxId:function(){return a},toUploadData:function(){return l}});const r=o(19057),n=o(68914),i=["jpeg","jpg","png","gif","svg"],a=e=>e.reduce(((e,t)=>t.id>e?t.id:e),0),l=e=>new Promise(((t,o)=>{const{uid:i,fileName:a=""}=e,l=(0,n.getImageUrl)({uid:i,fileName:a,sizeType:r.SizeType.custom});(0,n.preloadImage)(l).then((e=>{let{width:o,height:r}=e;t({uid:i,fileName:a,width:o,height:r})})).catch(o)}))},9277:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return y},fromElementModel:function(){return g},toElementModel:function(){return h}});const r=o(47885),n=o(52662),i=o(49863),a=f(o(73904)),l=o(55250),s=o(48630),c=f(o(59638)),d=o(22741),u=o(63102);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const m=(0,r.parse)({id:(0,i.mPipe)((0,l.prop)("_id"),c.read),uid:(0,i.mPipe)((0,l.prop)("imageSrc"),c.read),fileName:(0,r.optional)((0,i.mPipe)((0,l.prop)("imageFileName"),c.read)),width:(0,i.mPipe)((0,l.prop)("imageWidth"),a.read),height:(0,i.mPipe)((0,l.prop)("imageHeight"),a.read)}),y=[],g=(0,i.pipe)((0,i.mPipe)((0,n.callGetter)("value"),(0,i.pass)(Array.isArray),(e=>e.filter(s.isObject).filter(u.isNotClonedFromGallery).map((e=>e.value)).filter(s.isObject).map(m).filter(d.isT))),(0,d.onNullish)([])),h=e=>({option:e})},59877:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GalleryForGallery",{enumerable:!0,get:function(){return r}});const r=o(52292).Gallery},63102:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNotClonedFromGallery",{enumerable:!0,get:function(){return n}});const r=o(48630),n=e=>(0,r.isObject)(e.value)&&!e.value.clonedFromGallery},17045:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PortalLoading",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(31542)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}class l{static opened=new Set;static render(e){const t=e||document.body,o=t&&t.ownerDocument;if(t&&o){const e=r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}),a=o.createElement("div");return a.className="brz-ed-portal__loading",t.append(a),l.opened.add(a),n.default.render(e,a),a}}static close(e){e&&(e.remove(),l.opened.delete(e))}static closeAll(){l.opened.forEach((e=>{e.remove()})),l.opened.clear()}}},67042:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},95867:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GlobalBlockOption",{enumerable:!0,get:function(){return v}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=o(1014),a=o(62948),l=o(74215),s=o(97045),c=o(64187),d=o(25663),u=o(64985),p=o(16526),f=o(6804),m=o(17045),y=o(82845),g=o(21959);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}const b=e=>({extraFontStyles:(0,s.extraFontStylesSelector)(e),pageBlocks:(0,s.pageBlocksNoRefsSelector)(e),globalBlocks:(0,s.globalBlocksAssembled2Selector)(e),blocksData:(0,s.blocksDataSelector)(e),page:(0,s.pageSelector)(e)}),v=e=>{let{className:t,label:o,config:s}=e;const{extraFontStyles:h,pageBlocks:v,globalBlocks:S,blocksData:w,page:x}=(0,n.useSelector)(b,n.shallowEqual),P=(0,n.useDispatch)(),C=(0,r.useRef)((0,f.uuid)(4)),{_id:T,parentId:_,blockType:k="normal"}=s||{},M=(0,r.useCallback)((()=>!!T&&Object.keys(S).includes(T)),[T,S]);return r.default.createElement(r.default.Fragment,null,o,r.default.createElement(i.Switch,{key:C.current,className:t,value:M(),onChange:async e=>{if(!T)return a.ToastNotification.error((0,u.t)("Something went wrong"));const t=document.querySelector(`[id='${T}']`),o=m.PortalLoading.render(t),r=(0,p.getBlockData)(v,T);if(e){if(t&&r){const e=await(0,g.createScreenshot)(t),n={extraFontStyles:h,type:(0,g.getBlockType)(k)};e&&(n._thumbnailSrc=e._thumbnailSrc,n._thumbnailWidth=e._thumbnailWidth,n._thumbnailHeight=e._thumbnailHeight,n._thumbnailTime=e._thumbnailTime),Object.prototype.hasOwnProperty.call(r,"deleted")&&(r.deleted=!1);let i={meta:n,status:"draft",data:r,rules:[],position:{align:"bottom",top:0,bottom:0}};!(0,d.isPopup)(r)&&x&&(i=(0,d.changeRule)(i,!0,x)),await(0,c.createGlobalBlock)(i).then((e=>{if(!e||!e.data)throw e;switch(m.PortalLoading.close(o),k){case"popup":case"externalPopup":{const e="popup"===k&&(0,y.getOpenedPopupId)();P((0,l.makePopupToGlobalBlock)(i)),e&&(0,y.openPopupById)(e),"externalPopup"===k&&(0,g.openPromptCondition)({type:"popup",_id:T});break}case"normal":P((0,l.makeNormalToGlobalBlock)(i)),(0,g.openPromptCondition)({type:"block",_id:T})}})).catch((e=>{switch(m.PortalLoading.close(o),C.current=(0,f.uuid)(4),k){case"popup":case"externalPopup":a.ToastNotification.error((0,u.t)("Could not Create Global Popup"));break;case"normal":a.ToastNotification.error((0,u.t)("Could not Create Global Block"))}}))}}else if(await(0,c.pendingRequest)(),M()){const e=(0,p.setIds)(w[T]);m.PortalLoading.close(o);const t={block:e,fromBlockId:T};switch(k){case"popup":{const e=(0,y.getOpenedPopupId)();_&&P((0,l.makeGlobalBlockToPopup)({...t,parentId:_})),e&&(0,y.openPopupById)(e);break}case"normal":case"externalPopup":P((0,l.makeGlobalToNormalBlock)(t))}}}}))}},82845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getOpenedPopupId:function(){return i},openPopupById:function(){return a}});const r=o(67808),n=o(67138),i=()=>{let e="";return new Map([...n.SectionPopupInstances,...r.SectionPopup2Instances]).forEach((t=>{t.state.isOpened&&(e=t.instanceKey)})),e},a=e=>{const t=new Map([...n.SectionPopupInstances,...r.SectionPopup2Instances]).get(e);t&&t.open()}},21959:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{openPromptCondition:function(){return d},createScreenshot:function(){return u},getBlockType:function(){return p}});const r=o(56059),n=o(62948),i=(a=o(92823))&&a.__esModule?a:{default:a};var a;const l=o(64187),s=o(64985),c=o(21486),d=e=>{let{type:t,_id:o}=e;if(!o)return n.ToastNotification.error((0,s.t)("Something went wrong"));i.default.open({prompt:"conditions",mode:"single",props:{options:(0,r.getOptions)(t,o)}})},u=async e=>{if(await(0,c.browserSupports)())try{const{src:t,width:o,height:r}=await(0,c.makeNodeScreenshot)(e),{id:n}=await(0,l.createBlockScreenshot)({base64:t,blockType:"global"});return{_thumbnailSrc:n,_thumbnailWidth:o,_thumbnailHeight:r,_thumbnailTime:Date.now()}}catch(e){return}},p=e=>{switch(e){case"externalPopup":case"popup":return"popup";case"normal":return"normal"}}},32503:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},18741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(36621),i=o(85568),a=(l=o(62893))&&l.__esModule?l:{default:l};var l;function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t,columns:o,toolbar:l,config:s}=e;const c=(0,r.useMemo)((()=>o?.map((e=>e.size??"auto"))??[]),[o]);return o?r.default.createElement(n.Grid,{className:t,grid:c,separator:s?.separator??!1},o.map(((e,t)=>r.default.createElement(i.Column,{className:e.className,key:t,align:e.align??"start"},r.default.createElement(a.default,{wrapOptions:!1,data:e.options,toolbar:l}))))):null}},14112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},30117:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Group",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(62893)),i=o(50987);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t,options:o,toolbar:a}=e;return r.default.createElement(i.Group,{className:t},r.default.createElement(n.default,{wrapOptions:!1,data:o,toolbar:a}))}},98489:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return i},toElementModel:function(){return a},defaultValue:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(59638));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const i=e=>r.read(e("value")),a=e=>({value:e}),l=void 0},33121:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"IconPicker",{enumerable:!0,get:function(){return c}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(2530),l=o(64644);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t,choices:o,label:n,onChange:s,value:c}=e;const d=(0,i.useMemo)((()=>o?.map((e=>{let{icon:t,title:o,value:r}=e;return i.default.createElement(a.FatIcon,{key:r,icon:t,label:o,active:r===c,onClick:()=>s(r)})}))),[o,s,c]);return i.default.createElement("div",{className:(0,r.default)(t,"brz-ed-option__icon-picker")},n,i.default.createElement(l.FatIconsGrid,null,d))}},94910:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return d},toElementModel:function(){return u},defaultValue:function(){return p}});const r=o(47885),n=o(49863),i=o(93873),a=c(o(59638)),l=c(o(95945));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const d=(0,r.parse)({name:(0,n.pipe)((0,r.mPipe)((0,i.call)("name"),a.read,(0,r.pass)(l.is))),type:(0,n.pipe)((0,r.mPipe)((0,i.call)("type"),a.read,(0,r.pass)(l.is)))}),u=e=>({name:e?.name??null,type:e?.type??null}),p=void 0},34989:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"IconSetter",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(40369),a=e=>{let{config:t,onChange:o,value:n,label:a}=e;return r.default.createElement(r.default.Fragment,null,a,r.default.createElement(i.IconSetter,{value:n,onChange:o,canDelete:t?.canDelete??!1}))}},51408:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return d},toElementModel:function(){return u},defaultValue:function(){return p}});const r=o(47885),n=c(o(44576)),i=o(77725),a=c(o(59638)),l=c(o(28197));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const d=(0,r.parseStrict)({value:e=>n.fromString(l.read,a.read(e("value"))??"")??[],active:(0,i.optional)((e=>l.read(e("active"))))}),u=e=>{let{value:t,active:o}=e;return{value:JSON.stringify(t),active:o}},p={value:[]}},11094:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"IconsPicker",{enumerable:!0,get:function(){return c}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(65567),l=o(64644);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t,choices:o,label:n,onChange:s,value:c}=e;const d=(0,i.useMemo)((()=>o?.map((e=>{let{icon:t,title:o,value:r}=e;const n=c.active===r,l=c.value.includes(r);return i.default.createElement(a.FatCheckIcon,{key:r,icon:t,label:o,active:n,checked:l,onClick:()=>s({value:l?c.value:[...c.value,r],active:n?void 0:r}),onCheck:()=>{s({value:l?c.value.filter((e=>e!==r)):[...c.value,r],active:l?void 0:c.active})}})}))),[o,c,s]);return i.default.createElement("div",{className:(0,r.default)(t,"brz-ed-option__icon-picker")},n,i.default.createElement(l.FatIconsGrid,null,d))}},83185:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),n=s(o(37909)),i=s(o(78438)),a=s(o(6085));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const c={src:"",fileName:"",extension:"",width:0,height:0,x:50,y:50,sizeType:"custom"},d=e=>({src:a.toString(e("imageSrc")),fileName:a.toString(e("imageFileName")),extension:a.toString(e("imageExtension")),width:i.toNonNegative(e("imageWidth")),height:i.toNonNegative(e("imageHeight")),x:i.toNonNegative(e("positionX")),y:i.toNonNegative(e("positionY")),sizeType:a.toString(e("sizeType"))??c.sizeType}),u=(0,r.match)([n.isImageDataPatch,e=>({imageSrc:e.imageSrc,imageFileName:e.imageFileName,imageExtension:e.imageExtension,imageWidth:e.imageWidth,imageHeight:e.imageHeight})],[n.isPositionPatch,e=>({positionX:e.positionX,positionY:e.positionY})],[n.isSizePatch,e=>({sizeType:e.sizeType})])},79231:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageUpload",{enumerable:!0,get:function(){return u}});const r=c(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(63458),a=c(o(22546)),l=o(64985),s=o(83613);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{onChange:t,value:o,config:c,label:d}=e;const u=(0,r.default)("brz-ed-option__focal-point","brz-ed-option__inline"),p=c?.disableSizes??!1,f=(0,n.useMemo)((()=>[{value:"custom",label:(0,l.t)("Custom")},...(a.default.getAll().imageSizes??[]).map(s.configSizeToSize)]),[]),m=(0,n.useCallback)(((e,o)=>{switch(o.isChanged){case"image":t({imageSrc:e.src,imageFileName:e.fileName,imageExtension:e.extension,imageWidth:e.width,imageHeight:e.height});break;case"pointer":t({positionX:e.x,positionY:e.y})}}),[t]),y=(0,n.useCallback)((e=>t({sizeType:e})),[t]);return n.default.createElement(n.default.Fragment,null,d,n.default.createElement(i.ImageSetter,{className:u,onlyPointer:!(c?.edit??1),showPointer:"custom"===o.sizeType&&"svg"!==o.extension&&(c?.pointer??!0),extension:o.extension,x:o.x,y:o.y,width:o.width,height:o.height,src:o.src,fileName:o.fileName,onChange:m,size:o.sizeType,sizes:p||"svg"===o.extension?void 0:f,onSizeChange:y,acceptedExtensions:c?.acceptedExtensions}))}},37909:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isImageDataPatch:function(){return o},isPositionPatch:function(){return r},isSizePatch:function(){return n}});const o=e=>"imageSrc"in e,r=e=>"positionX"in e,n=e=>"sizeType"in e},83613:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"configSizeToSize",{enumerable:!0,get:function(){return o}});const o=e=>({value:e.name,label:e.label})},25392:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return i},toElementModel:function(){return a}});const r=o(59638),n={value:""},i=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},84035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InputText",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(27495),i=o(32625);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{className:t,onChange:o,value:{value:a},config:l={},placeholder:s,label:c}=e;const[d,u]=(0,r.useState)(a),p=(0,r.useRef)(d);(0,r.useEffect)((()=>{p.current!==a&&(p.current=a,u(a))}),[a]),(0,i.useDebouncedEffect)((()=>{p.current!==d&&(p.current=d,o({value:d}))}),1e3,[o,d]);const f=(0,r.useCallback)((()=>{p.current!==d&&(p.current=d,o({value:d}))}),[o,d]);return r.default.createElement(r.default.Fragment,null,c,r.default.createElement(n.Input,{className:t,onChange:u,onBlur:f,value:d,size:l.size??"auto",placeholder:s}))}},53175:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return i},toElementModel:function(){return a}});const r=o(52101),n=void 0,i=e=>(0,r.read)({value:e("value"),title:e("title")}),a=e=>({value:e?.value,title:e?.title})},55554:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InternalLink",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=d(o(10301)),i=o(98144),a=o(40756),l=o(62948),s=d(o(22546)),c=o(41516);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=e=>{let{className:t,onChange:o,value:d,label:u,placeholder:p,config:f}=e;const{postType:m=""}=f??{},{handler:y}=(0,r.useMemo)((()=>{const e=s.default.getAll(),{handler:t}=e?.api?.collectionItems?.searchCollectionItems??{};return{handler:t}}),[]),g=(0,r.useRef)(),h=(0,r.useRef)(),[b,v]=(0,r.useState)(d?[d]:[]),[S,w]=(0,r.useState)(a.Status.INITIAL),[x,P]=(0,r.useState)(!1),C=(0,r.useCallback)((e=>o({title:e.title,value:String(e.value)})),[o]),T=(0,r.useCallback)((()=>{v([]),C({title:"",value:""})}),[C]);(0,r.useEffect)((()=>{m&&g.current!==m&&(T(),g.current=m)}),[m,T]),(0,r.useEffect)((()=>(h.current=n.default.debounce((e=>{m&&e&&""!==e.trim()&&y&&(P(!0),y((e=>{e.length>0?(v(e),w(a.Status.SUCCESS)):(v([]),w(a.Status.NO_RESULT)),P(!1)}),(e=>{P(!1),w(a.Status.ERROR),l.ToastNotification.error(e)}),{collectionId:m,search:e}))}),1e3),()=>{h.current?.cancel()})),[m,y]);const _=(0,r.useCallback)((e=>{h?.current?.(e),e||(v([]),w(a.Status.INITIAL))}),[]),k=(0,c.normalizeItems)(b);return r.default.createElement(r.default.Fragment,null,u,r.default.createElement(i.Control,{className:t??"",value:d,placeholder:p,resetValue:T,items:k,status:S,loading:x,onChange:C,onSearch:_}))}},52101:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{read:function(){return n},eq:function(){return i}});const r=o(59638),n=e=>{if("object"!=typeof e)return;const t=r.String.read(e?.title),o=r.String.read(e?.value);return void 0!==t&&void 0!==o?{title:t,value:o}:void 0},i=(e,t)=>e.value===t.value},41516:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toPosts:function(){return s},normalizeItem:function(){return c},normalizeItems:function(){return d}});const r=o(10301),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(44576)),i=o(92636),a=o(59638);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(0,o(22741).mCompose)((0,r.partial)(n.read,(e=>{if("object"!=typeof e)return;const t=a.String.read(e.value),o=a.String.read(e.title);return t&&o?{title:o,value:t}:void 0})),(0,r.property)("posts"),i.toObject),c=e=>({title:e.title,value:e.permalink??""}),d=e=>1===e.length&&""===e[0].value&&""===e[0].title?[]:e.map(c)},68832:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return f},toElementModel:function(){return m},defaultValue:function(){return y}});const r=o(47885),n=o(52662),i=p(o(48738)),a=p(o(20059)),l=o(49863),s=p(o(73904)),c=p(o(59638)),d=o(22741);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f=(0,r.parseStrict)({type:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("type"),c.read,a.fromString),(0,d.onNullish)("grouped")),value:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("value"),s.read),(0,d.onNullish)(0)),tempValue:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempValue"),s.read),(0,d.onNullish)(0)),unit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("suffix"),c.read,i.fromString),(0,d.onNullish)("px")),tempUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempSuffix"),c.read,i.fromString),(0,d.onNullish)("px")),top:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("top"),s.read),(0,d.onNullish)(0)),tempTop:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempTop"),s.read),(0,d.onNullish)(0)),topUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("topSuffix"),c.read,i.fromString),(0,d.onNullish)("px")),tempTopUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempTopSuffix"),c.read,i.fromString),(0,d.onNullish)("px")),right:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("right"),s.read),(0,d.onNullish)(0)),tempRight:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempRight"),s.read),(0,d.onNullish)(0)),rightUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("rightSuffix"),c.read,i.fromString),(0,d.onNullish)("px")),tempRightUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempRightSuffix"),c.read,i.fromString),(0,d.onNullish)("px")),bottom:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("bottom"),s.read),(0,d.onNullish)(0)),tempBottom:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempBottom"),s.read),(0,d.onNullish)(0)),bottomUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("bottomSuffix"),c.read,i.fromString),(0,d.onNullish)("px")),tempBottomUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempBottomSuffix"),c.read,i.fromString),(0,d.onNullish)("px")),left:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("left"),s.read),(0,d.onNullish)(0)),tempLeft:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempLeft"),s.read),(0,d.onNullish)(0)),leftUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("leftSuffix"),c.read,i.fromString),(0,d.onNullish)("px")),tempLeftUnit:(0,l.pipe)((0,r.mPipe)((0,n.callGetter)("tempLeftSuffix"),c.read,i.fromString),(0,d.onNullish)("px"))}),m=e=>({type:e.type,value:e.value,tempValue:e.tempValue,suffix:e.unit,tempSuffix:e.tempUnit,top:e.top,tempTop:e.tempTop,topSuffix:e.topUnit,tempTopSuffix:e.tempTopUnit,right:e.right,tempRight:e.tempRight,rightSuffix:e.rightUnit,tempRightSuffix:e.tempRightUnit,bottom:e.bottom,tempBottom:e.tempBottom,bottomSuffix:e.bottomUnit,tempBottomSuffix:e.tempBottomUnit,left:e.left,tempLeft:e.tempLeft,leftSuffix:e.leftUnit,tempLeftSuffix:e.tempLeftUnit}),y={type:"grouped",value:0,tempValue:0,unit:"px",tempUnit:"px",top:0,tempTop:0,topUnit:"px",tempTopUnit:"px",right:0,tempRight:0,rightUnit:"px",tempRightUnit:"px",bottom:0,tempBottom:0,bottomUnit:"px",tempBottomUnit:"px",left:0,tempLeft:0,leftUnit:"px",tempLeftUnit:"px"}},90788:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Margin",{enumerable:!0,get:function(){return c}});const r=s(o(27378)),n=o(6086),i=s(o(51158)),a=o(21218);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const c=e=>{let{value:t,onChange:o,label:l,config:s}=e;const c=s?.edges??"all",d=(0,r.useMemo)((()=>(0,a.toSpacingValue)(c,t)),[t,c]),u=(0,r.useCallback)((e=>o(i.setType(e,t))),[t,o]),p=(0,r.useCallback)(((e,r)=>o((0,a.valueSetter)(e)(r,t))),[o,t]),f=(0,r.useCallback)(((e,r)=>o((0,a.unitSetter)(e)(r,t))),[o,t]),m=(0,r.useMemo)((()=>(s?.units??["px","%"]).map((e=>({value:e,title:e})))),[s]);return r.default.createElement(n.Spacing,{label:l,type:t.type,value:d,units:m,onType:u,onValue:p,onUnit:f,getIcon:a.getIcon,step:1,min:-100,max:100})}},51158:(e,t,o)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),r=o(62973),n=t,Object.keys(r).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return r[e]}})}))},21218:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromNumberSlider:function(){return i},getIcon:function(){return a},valueSetter:function(){return l},unitSetter:function(){return s},toSpacingValue:function(){return c}});const r=o(77725),n=o(51158),i=(0,r.readWithParser)({number:e=>e.number,unit:e=>e.unit}),a=e=>{switch(e){case"grouped":return"nc-styling-all";case"ungrouped":return"nc-styling-individual";case"top":return"nc-styling-top";case"right":return"nc-styling-right";case"bottom":return"nc-styling-bottom";case"left":return"nc-styling-left"}},l=e=>{switch(e){case"all":return n.setValue;case"top":return n.setTop;case"right":return n.setRight;case"bottom":return n.setBottom;case"left":return n.setLeft}},s=e=>{switch(e){case"all":return n.setUnit;case"top":return n.setTopUnit;case"right":return n.setRightUnit;case"bottom":return n.setBottomUnit;case"left":return n.setLeftUnit}};function c(e,t){switch(e){case"all":return{all:{number:t.value,unit:t.unit},top:{number:t.top,unit:t.topUnit},right:{number:t.right,unit:t.rightUnit},bottom:{number:t.bottom,unit:t.bottomUnit},left:{number:t.left,unit:t.leftUnit}};case"vertical":return{all:{number:t.value,unit:t.unit},top:{number:t.top,unit:t.topUnit},bottom:{number:t.bottom,unit:t.bottomUnit}};case"horizontal":return{all:{number:t.value,unit:t.unit},right:{number:t.right,unit:t.rightUnit},left:{number:t.left,unit:t.leftUnit}}}}},84327:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Blur",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(11982),a=o(84483),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),c=(0,r.useCallback)((e=>o({...t,level:e})),[t,o]),d=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]),u=(0,r.useMemo)((()=>[["in",(0,n.t)("In")],["out",(0,n.t)("Out")],["inOut",(0,n.t)("In out")],["outIn",(0,n.t)("Out In")]]),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.Direction,{label:(0,n.t)("Direction"),value:t.direction,onChange:s,directions:u}),r.default.createElement(a.UnitSlider,{label:(0,n.t)("Level"),value:t.level,onChange:c}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:d}))}},11982:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return c}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(73469),a=o(26318),l=o(18624),s=o(65989);function c(e){let{value:t,onChange:o,directions:n,label:c}=e;return r.default.createElement(a.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(i.OptionLabel,{label:c}),r.default.createElement(l.Select2,{value:t,onChange:o,editable:!1},n.map((e=>{let[t,o]=e;return r.default.createElement(s.Item,{key:t,value:t},o)}))))}},72676:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DisabledIcon",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(65567);function a(e){let{label:t,icon:o}=e;return r.default.createElement(i.FatCheckIcon,{icon:o,label:t})}},34919:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Horizontal",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(84483),a=o(11982),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),c=(0,r.useCallback)((e=>o({...t,speed:e})),[t,o]),d=(0,r.useMemo)((()=>[["left",(0,n.t)("Left")],["right",(0,n.t)("Right")]]),[]),u=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Direction,{label:(0,n.t)("Direction"),value:t.direction,onChange:s,directions:d}),r.default.createElement(i.UnitSlider,{label:(0,n.t)("Speed"),value:t.speed,onChange:c}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:u}))}},27303:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(65567);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}function a(e){let{active:t,onClick:o,checked:i,onCheck:a,label:l,icon:s,id:c}=e;const d=(0,r.useCallback)((()=>o(c)),[o,c]),u=(0,r.useCallback)((()=>a(c)),[a,c]);return r.default.createElement(n.FatCheckIcon,{active:t,icon:s,label:l,onClick:d,checked:i,onCheck:u})}},11797:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MouseTrack",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(84483),a=o(11982);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{value:t,onChange:o}=e;const l=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),s=(0,r.useCallback)((e=>o({...t,speed:e})),[t,o]),c=(0,r.useMemo)((()=>[["direct",(0,n.t)("Direct")],["opposite",(0,n.t)("Opposite")]]),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Direction,{label:(0,n.t)("Direction"),value:t.direction,onChange:l,directions:c}),r.default.createElement(i.UnitSlider,{label:(0,n.t)("Speed"),value:t.speed,onChange:s}))}},18051:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Rotate",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(84483),a=o(11982),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),c=(0,r.useCallback)((e=>o({...t,x:e})),[t,o]),d=(0,r.useCallback)((e=>o({...t,y:e})),[t,o]),u=(0,r.useCallback)((e=>o({...t,speed:e})),[t,o]),p=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]),f=(0,r.useMemo)((()=>[["left",(0,n.t)("Left")],["right",(0,n.t)("Right")]]),[]),m=(0,r.useMemo)((()=>[["left",(0,n.t)("Left")],["center",(0,n.t)("Center")],["right",(0,n.t)("Right")]]),[]),y=(0,r.useMemo)((()=>[["top",(0,n.t)("Top")],["center",(0,n.t)("Center")],["bottom",(0,n.t)("Bottom")]]),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Direction,{label:(0,n.t)("Direction"),value:t.direction,onChange:s,directions:f}),r.default.createElement(a.Direction,{label:(0,n.t)("X"),value:t.x,onChange:c,directions:m}),r.default.createElement(a.Direction,{label:(0,n.t)("Y"),value:t.y,onChange:d,directions:y}),r.default.createElement(i.UnitSlider,{label:(0,n.t)("Speed"),value:t.speed,onChange:u}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:p}))}},21903:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Scale",{enumerable:!0,get:function(){return b}});const r=o(47885),n=m(o(27378)),i=o(33779),a=o(73469),l=o(26318),s=o(32625),c=o(64985),d=m(o(82829)),u=o(11982),p=o(38758);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const y={up:(0,c.t)("Up"),down:(0,c.t)("Down"),downUp:(0,c.t)("Down Up"),upDown:(0,c.t)("Up Down")},g={left:(0,c.t)("Left"),center:(0,c.t)("Center"),right:(0,c.t)("Right")},h={top:(0,c.t)("Top"),center:(0,c.t)("Center"),bottom:(0,c.t)("Bottom")},b=e=>{let{value:t,onChange:o}=e;const f=(0,n.useCallback)((e=>o({...t,direction:e})),[t,o]),m=(0,n.useCallback)((e=>o({...t,x:e})),[t,o]),b=(0,n.useCallback)((e=>o({...t,y:e})),[t,o]),v=(0,n.useCallback)((e=>(0,r.mPipe)(d.fromNumber,(e=>o({...t,speed:e})))(e)),[t,o]),[S,w]=(0,s.useDebouncedOnChange)(t.speed,v,500),x=(0,n.useCallback)((e=>o({...t,viewport:e})),[t,o]),P=(0,n.useMemo)((()=>Object.entries(y)),[]),C=(0,n.useMemo)((()=>Object.entries(g)),[]),T=(0,n.useMemo)((()=>Object.entries(h)),[]);return n.default.createElement(n.default.Fragment,null,n.default.createElement(u.Direction,{label:(0,c.t)("Direction"),value:t.direction,onChange:f,directions:P}),n.default.createElement(u.Direction,{label:(0,c.t)("X"),value:t.x,onChange:m,directions:C}),n.default.createElement(u.Direction,{label:(0,c.t)("Y"),value:t.y,onChange:b,directions:T}),n.default.createElement(l.OptionWrapper,{className:"brz-ed-option"},n.default.createElement(a.OptionLabel,{label:(0,c.t)("Speed")}),n.default.createElement(i.NumberSlider,{value:{number:S,unit:""},onChange:e=>{let{number:t}=e;return w(t)},step:1,min:-10,max:10,units:[]})),n.default.createElement(p.Viewport,{value:t.viewport,onChange:x}))}},63028:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tilt",{enumerable:!0,get:function(){return r}});const r=o(11797).MouseTrack},99730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Transparency",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(11982),a=o(84483),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c={in:(0,n.t)("In"),out:(0,n.t)("Out"),inOut:(0,n.t)("In Out"),outIn:(0,n.t)("Out In")},d=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),d=(0,r.useCallback)((e=>o({...t,level:e})),[t,o]),u=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]),p=(0,r.useMemo)((()=>Object.entries(c)),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.Direction,{label:(0,n.t)("Direction"),value:t.direction,onChange:s,directions:p}),r.default.createElement(a.UnitSlider,{label:(0,n.t)("Level"),value:t.level,onChange:d}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:u}))}},84483:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UnitSlider",{enumerable:!0,get:function(){return p}});const r=u(o(27378)),n=o(33779),i=o(73469),a=o(26318),l=o(32625),s=o(49863),c=u(o(1738));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const p=e=>{let{label:t,value:o,onChange:d}=e;const[u,p]=(0,l.useThrottleOnChange)(o,d,500),f=(0,r.useCallback)((e=>(0,s.mPipe)((e=>e.number/10),c.fromNumber,p)(e)),[p]);return r.default.createElement(a.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(i.OptionLabel,{label:t}),r.default.createElement(n.NumberSlider,{value:{number:10*u,unit:""},onChange:f,step:.1,min:0,max:10,units:[]}))}},97189:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Vertical",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(84483),a=o(11982),l=o(38758);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{value:t,onChange:o}=e;const s=(0,r.useCallback)((e=>o({...t,direction:e})),[t,o]),c=(0,r.useCallback)((e=>o({...t,speed:e})),[t,o]),d=(0,r.useCallback)((e=>o({...t,viewport:e})),[t,o]),u=(0,r.useMemo)((()=>[["up",(0,n.t)("Up")],["down",(0,n.t)("Down")]]),[]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Direction,{label:(0,n.t)("Direction"),value:t.direction,onChange:s,directions:u}),r.default.createElement(i.UnitSlider,{label:(0,n.t)("Speed"),value:t.speed,onChange:c}),r.default.createElement(l.Viewport,{value:t.viewport,onChange:d}))}},38758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Viewport",{enumerable:!0,get:function(){return m}});const r=o(47885),n=p(o(27378)),i=o(48995),a=o(26318),l=o(32625),s=o(64985),c=p(o(1738)),d=o(15384);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f=e=>e/100;function m(e){let{value:{top:t,bottom:o},onChange:u}=e;const p=(0,n.useCallback)((e=>(0,r.mPipe)(f,(0,r.pass)(c.is),(e=>(0,d.construct)(e,o)),u)(e)),[u,o]),m=(0,n.useCallback)((e=>(0,r.mPipe)(f,(0,r.pass)(c.is),(e=>(0,d.construct)(t,e)),u)(e)),[u,t]),[y,g]=(0,l.useDebouncedOnChange)(100*t,p,100),[h,b]=(0,l.useDebouncedOnChange)(100*o,m,100);return n.default.createElement(a.OptionWrapper,{className:"brz-ed-option"},n.default.createElement(i.RangeSlider,{start:Math.trunc(y),onChangeStart:g,end:Math.trunc(h),onChangeEnd:b,step:1,min:0,max:100,startLabel:(0,s.t)("Start"),endLabel:(0,s.t)("End")}))}},54701:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return S},fromElementModel:function(){return w},toElementModel:function(){return x}});const r=o(47885),n=o(52662),i=o(6085),a=v(o(6256)),l=v(o(97565)),s=v(o(76715)),c=v(o(1707)),d=o(37218),u=v(o(80997)),p=v(o(75048)),f=v(o(52518)),m=o(25095),y=v(o(37962)),g=o(27420),h=o(97815);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const S={active:void 0,vertical:void 0,horizontal:void 0,blur:void 0,mouseTrack:void 0,rotate:void 0,scale:void 0,mouseTilt:void 0,transparency:void 0},w=(0,r.parseStrict)({active:(0,r.optional)((0,r.mPipe)((0,n.callGetter)("active"),(0,r.pass)(m.isActive))),vertical:(0,r.optional)((0,r.mPipe)((0,g.wrap)("vertical"),(0,r.pass)(h.isEnabled),y.fromElementModel)),horizontal:(0,r.optional)((0,r.mPipe)((0,g.wrap)("horizontal"),(0,r.pass)(h.isEnabled),l.fromElementModel)),transparency:(0,r.optional)((0,r.mPipe)((0,g.wrap)("transparency"),(0,r.pass)(h.isEnabled),f.fromElementModel)),blur:(0,r.optional)((0,r.mPipe)((0,g.wrap)("blur"),(0,r.pass)(h.isEnabled),a.fromElementModel)),rotate:(0,r.optional)((0,r.mPipe)((0,g.wrap)("rotate"),(0,r.pass)(h.isEnabled),u.fromElementModel)),scale:(0,r.optional)((0,r.mPipe)((0,g.wrap)("scale"),(0,r.pass)(h.isEnabled),p.fromElementModel)),mouseTrack:(0,r.optional)((0,r.mPipe)((0,g.wrap)("mouseTrack"),(0,r.pass)(h.isEnabled),c.fromElementModel)),mouseTilt:(0,r.optional)((0,r.mPipe)((0,g.wrap)("mouseTilt"),(0,r.pass)(h.isEnabled),s.fromElementModel))}),x=e=>{switch(e.type){case d.Type.active:return{active:e.active,...e.active?{[(0,i.capByPrefix)(e.active,"enabled")]:!0}:{},...e.active?(0,d.disableEffects)(e.active):{}};case d.Type.enable:return{[(0,i.capByPrefix)(e.effect,"enabled")]:e.value,...e.active&&!e.value?{active:void 0}:{},...(0,d.disableEffects)(e.effect)};case d.Type.effect:switch(e.effect){case"vertical":return(0,h.flattenObject)({vertical:y.toElementModel(e.value)});case"horizontal":return(0,h.flattenObject)({horizontal:l.toElementModel(e.value)});case"transparency":return(0,h.flattenObject)({transparency:f.toElementModel(e.value)});case"blur":return(0,h.flattenObject)({blur:a.toElementModel(e.value)});case"rotate":return(0,h.flattenObject)({rotate:u.toElementModel(e.value)});case"scale":return(0,h.flattenObject)({scale:p.toElementModel(e.value)});case"mouseTrack":return(0,h.flattenObject)({mouseTrack:c.toElementModel(e.value)});case"mouseTilt":return(0,h.flattenObject)({mouseTilt:s.toElementModel(e.value)})}}}},73107:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Motion",{enumerable:!0,get:function(){return y}});const r=m(o(27378)),n=o(10301),i=o(50987),a=o(64644),l=o(26318),s=o(72676),c=o(27303),d=m(o(37218)),u=o(25095),p=o(97815);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const y=e=>{let{className:t,label:o,value:f,onChange:m,config:y}=e;const{active:g}=f,h=y?.disabled??[],b=g?f[g]:void 0,v=g&&(0,p.effectOptions)(g),S=(0,r.useCallback)((e=>m(d.enable(e,!f[e],g===e))),[f,m,g]),w=(0,r.useCallback)((e=>m(d.active(e))),[m]),x=(0,r.useMemo)((()=>g?e=>m(d.eff(g,e)):n.identity),[g,m]);return r.default.createElement("div",{className:t},r.default.createElement(l.OptionWrapper,{display:"block",className:"brz-ed-option"},o,r.default.createElement(a.FatIconsGrid,null,u.effects.map((e=>h.includes(e)?r.default.createElement(s.DisabledIcon,{key:e,icon:(0,p.effectIcon)(e),label:(0,p.effectTitle)(e)}):r.default.createElement(c.Icon,{key:e,id:e,active:g===e,checked:!!f[e],icon:(0,p.effectIcon)(e),label:(0,p.effectTitle)(e),onClick:w,onCheck:S}))))),b&&v?r.default.createElement(l.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(i.Group,null,r.default.createElement(v,{value:b,onChange:x}))):null)}},6256:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return p},fromElementModel:function(){return f},toElementModel:function(){return m}});const r=o(47885),n=u(o(1738)),i=u(o(15384)),a=o(52662),l=u(o(73904)),s=o(97815),c=o(27420);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const p=e=>["in","out","outIn","inOut"].includes(e),f=(0,r.parseStrict)({level:(0,r.or)((0,r.mPipe)((0,a.callGetter)("level"),l.read,n.fromNumber),(()=>0)),direction:(0,r.or)((0,r.mPipe)((0,a.callGetter)("direction"),(0,r.pass)(p)),(()=>"in")),viewport:c.elementModelToViewport}),m=e=>{let{viewport:t,...o}=e;return{...o,...(0,s.prefixKeys)("viewport",i.toElementModel(t))}}},97565:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return f},fromElementModel:function(){return m},toElementModel:function(){return y}});const r=o(47885),n=p(o(1738)),i=p(o(15384)),a=o(52662),l=o(49863),s=p(o(73904)),c=o(97815),d=o(27420);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f=e=>"left"===e||"right"===e,m=(0,r.parseStrict)({speed:(0,r.or)((0,r.mPipe)((0,a.callGetter)("speed"),s.read,n.fromNumber),(()=>0)),direction:(0,r.or)((0,r.mPipe)((0,a.callGetter)("direction"),(0,r.pass)(f)),(()=>"left")),viewport:(0,l.pipe)((0,d.wrap)("viewport"),i.fromElementModel)}),y=e=>{let{viewport:t,...o}=e;return{...o,...(0,c.prefixKeys)("viewport",i.toElementModel(t))}}},76715:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return l},fromElementModel:function(){return s},toElementModel:function(){return c}});const r=o(52662),n=o(49863),i=o(27420),a=o(47885),l=e=>"direct"===e||"opposite"===e,s=(0,a.parseStrict)({direction:(0,a.or)((0,n.mPipe)((0,r.callGetter)("direction"),(0,n.pass)(l)),(()=>"direct")),speed:i.elementModelToSpeed}),c=e=>({...e})},1707:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return a},fromElementModel:function(){return l},toElementModel:function(){return s}});const r=o(47885),n=o(52662),i=o(27420),a=e=>"direct"===e||"opposite"===e,l=(0,r.parseStrict)({direction:(0,r.or)((0,r.mPipe)((0,n.callGetter)("direction"),(0,r.pass)(a)),(()=>"direct")),speed:i.elementModelToSpeed}),s=e=>({...e})},37218:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Type:function(){return y},active:function(){return g},enable:function(){return h},eff:function(){return b},isMouseEffect:function(){return v},disableEffects:function(){return S},toElementModel:function(){return w}});const r=m(o(6256)),n=m(o(97565)),i=m(o(76715)),a=m(o(1707)),l=m(o(80997)),s=m(o(75048)),c=m(o(52518)),d=m(o(37962)),u=o(97815),p=o(6085);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var y;!function(e){e.active="active",e.enable="enable",e.effect="effect"}(y||(y={}));const g=e=>({type:y.active,active:e}),h=(e,t,o)=>({type:y.enable,effect:e,value:t,active:o}),b=(e,t)=>({type:y.effect,effect:e,value:t}),v=e=>"mouseTilt"===e||"mouseTrack"===e,S=e=>v(e)?{verticalEnabled:!1,horizontalEnabled:!1,transparencyEnabled:!1,blurEnabled:!1,rotateEnabled:!1,scaleEnabled:!1}:{mouseTrackEnabled:!1,mouseTiltEnabled:!1},w=e=>{switch(e.type){case y.active:return{active:e.active,...e.active?{[(0,p.capByPrefix)(e.active,"enabled")]:!0}:{},...e.active?S(e.active):{}};case y.enable:return{[(0,p.capByPrefix)(e.effect,"enabled")]:e.value,...e.active&&!e.value?{active:void 0}:{},...S(e.effect)};case y.effect:switch(e.effect){case"vertical":return(0,u.flattenObject)({vertical:d.toElementModel(e.value)});case"horizontal":return(0,u.flattenObject)({horizontal:n.toElementModel(e.value)});case"transparency":return(0,u.flattenObject)({transparency:c.toElementModel(e.value)});case"blur":return(0,u.flattenObject)({blur:r.toElementModel(e.value)});case"rotate":return(0,u.flattenObject)({rotate:l.toElementModel(e.value)});case"scale":return(0,u.flattenObject)({scale:s.toElementModel(e.value)});case"mouseTrack":return(0,u.flattenObject)({mouseTrack:a.toElementModel(e.value)});case"mouseTilt":return(0,u.flattenObject)({mouseTilt:i.toElementModel(e.value)})}}}},80997:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return c},isX:function(){return d},isY:function(){return u},fromElementModel:function(){return p},toElementModel:function(){return f}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(15384)),i=o(52662),a=o(97815),l=o(27420);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>["left","right"].includes(e),d=e=>["left","center","right"].includes(e),u=e=>["top","center","bottom"].includes(e),p=(0,r.parseStrict)({speed:l.elementModelToSpeed,direction:(0,r.or)((0,r.mPipe)((0,i.callGetter)("direction"),(0,r.pass)(c)),(()=>"left")),x:(0,r.or)((0,r.mPipe)((0,i.callGetter)("x"),(0,r.pass)(d)),(()=>"center")),y:(0,r.or)((0,r.mPipe)((0,i.callGetter)("y"),(0,r.pass)(u)),(()=>"center")),viewport:l.elementModelToViewport}),f=e=>{let{viewport:t,...o}=e;return{...o,...(0,a.prefixKeys)("viewport",n.toElementModel(t))}}},75048:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return g},isXPosition:function(){return h},isYPosition:function(){return b},fromElementModel:function(){return v},toElementModel:function(){return S}});const r=o(47885),n=p(o(15384)),i=o(52662),a=o(49863),l=p(o(73904)),s=o(97815),c=o(27420),d=p(o(82829));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f={up:"up",down:"down",downUp:"downUp",upDown:"upDown"},m={left:"left",center:"center",right:"right"},y={center:"center",top:"top",bottom:"bottom"},g=e=>Object.values(f).includes(e),h=e=>Object.values(m).includes(e),b=e=>Object.values(y).includes(e),v=(0,r.parseStrict)({speed:(0,r.or)((0,a.mPipe)((0,i.callGetter)("speed"),l.read,d.fromNumber),(()=>-10)),direction:(0,r.or)((0,a.mPipe)((0,i.callGetter)("direction"),(0,a.pass)(g)),(()=>"up")),x:(0,r.or)((0,a.mPipe)((0,i.callGetter)("x"),(0,a.pass)(h)),(()=>"center")),y:(0,r.or)((0,a.mPipe)((0,i.callGetter)("y"),(0,a.pass)(b)),(()=>"center")),viewport:c.elementModelToViewport}),S=e=>{let{viewport:t,...o}=e;return{...o,...(0,s.prefixKeys)("viewport",n.toElementModel(t))}}},52518:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(15384)),i=o(52662),a=o(97815),l=o(27420);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>"in"===e||"out"===e,d=(0,r.parseStrict)({level:l.elementModelToLevel,direction:(0,r.or)((0,r.mPipe)((0,i.callGetter)("direction"),(0,r.pass)(c)),(()=>"in")),viewport:l.elementModelToViewport}),u=e=>{let{viewport:t,...o}=e;return{...o,...(0,a.prefixKeys)("viewport",n.toElementModel(t))}}},25095:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{effects:function(){return S},isActive:function(){return w},defaultValue:function(){return x},fromElementModel:function(){return P}});const r=o(47885),n=o(52662),i=v(o(15384)),a=v(o(1738)),l=o(77725),s=o(97815),c=v(o(6256)),d=v(o(97565)),u=v(o(76715)),p=v(o(1707)),f=v(o(80997)),m=v(o(75048)),y=v(o(52518)),g=v(o(37962)),h=o(27420);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const S=["vertical","horizontal","transparency","blur","rotate","scale","mouseTrack","mouseTilt"],w=e=>S.includes(e),x={active:void 0,blur:{direction:"in",level:a.Min,viewport:i.unsafe(a.Min,a.Max)},horizontal:{direction:"left",speed:a.Min,viewport:i.unsafe(a.Min,a.Max)},mouseTrack:{direction:"direct",speed:a.Min},rotate:{direction:"left",speed:a.Min,x:"center",y:"center",viewport:i.unsafe(a.Min,a.Max)},scale:{direction:"up",speed:-10,x:"center",y:"center",viewport:i.unsafe(a.Min,a.Max)},mouseTilt:{direction:"direct",speed:a.Min},transparency:{direction:"in",level:a.Min,viewport:i.unsafe(a.Min,a.Max)},vertical:{direction:"up",speed:a.Min,viewport:i.unsafe(a.Min,a.Max)}},P=(0,r.parseStrict)({active:(0,l.optional)((0,r.mPipe)((0,n.callGetter)("active"),(0,r.pass)(w))),vertical:(0,l.optional)((0,r.mPipe)((0,h.wrap)("vertical"),(0,r.pass)(s.isEnabled),g.fromElementModel)),horizontal:(0,l.optional)((0,r.mPipe)((0,h.wrap)("horizontal"),(0,r.pass)(s.isEnabled),d.fromElementModel)),transparency:(0,l.optional)((0,r.mPipe)((0,h.wrap)("transparency"),(0,r.pass)(s.isEnabled),y.fromElementModel)),blur:(0,l.optional)((0,r.mPipe)((0,h.wrap)("blur"),(0,r.pass)(s.isEnabled),c.fromElementModel)),rotate:(0,l.optional)((0,r.mPipe)((0,h.wrap)("rotate"),(0,r.pass)(s.isEnabled),f.fromElementModel)),scale:(0,l.optional)((0,r.mPipe)((0,h.wrap)("scale"),(0,r.pass)(s.isEnabled),m.fromElementModel)),mouseTrack:(0,l.optional)((0,r.mPipe)((0,h.wrap)("mouseTrack"),(0,r.pass)(s.isEnabled),p.fromElementModel)),mouseTilt:(0,l.optional)((0,r.mPipe)((0,h.wrap)("mouseTilt"),(0,r.pass)(s.isEnabled),u.fromElementModel))})},37962:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDirection:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(15384)),i=o(52662),a=o(97815),l=o(27420);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>"up"===e||"down"===e,d=(0,r.parseStrict)({speed:l.elementModelToSpeed,direction:(0,r.or)((0,r.mPipe)((0,i.callGetter)("direction"),(0,r.pass)(c)),(()=>"up")),viewport:l.elementModelToViewport}),u=e=>{let{viewport:t,...o}=e;return{...o,...(0,a.prefixKeys)("viewport",n.toElementModel(t))}}},15384:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{unsafe:function(){return u},construct:function(){return p},fromElementModel:function(){return f},toElementModel:function(){return m}});const r=c(o(1738)),n=o(52662),i=o(49863),a=c(o(73904)),l=o(47885);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}var d;!function(e){e.type="viewport"}(d||(d={}));const u=(e,t)=>({type:d.type,bottom:t,top:e}),p=(e,t)=>t>=e?u(e,t):void 0,f=(0,l.parseStrict)({type:()=>d.type,bottom:(0,l.or)((0,i.mPipe)((0,n.callGetter)("bottom"),a.read,r.fromNumber),(()=>1)),top:(0,l.or)((0,i.mPipe)((0,n.callGetter)("top"),a.read,r.fromNumber),(()=>0))}),m=e=>({...e})},82829:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return n},fromNumber:function(){return i}});const r=o(47885),n=e=>e>=-10&&e<=10,i=(0,r.pass)(n)},27420:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{wrap:function(){return p},elementModelToSpeed:function(){return f},elementModelToLevel:function(){return m},elementModelToViewport:function(){return y}});const r=o(52662),n=o(6085),i=o(47885),a=u(o(73904)),l=u(o(1738)),s=o(49863),c=u(o(15384));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const p=e=>t=>o=>t((0,n.capByPrefix)(e,o)),f=(0,i.or)((0,i.mPipe)((0,r.callGetter)("speed"),a.read,l.fromNumber),(()=>0)),m=(0,i.or)((0,i.mPipe)((0,r.callGetter)("level"),a.read,l.fromNumber),(()=>0)),y=(0,s.pipe)(p("viewport"),c.fromElementModel)},97815:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{effectIcon:function(){return f},effectTitle:function(){return m},effectOptions:function(){return y},prefixKeys:function(){return g},flattenObject:function(){return h},isEnabled:function(){return b}});const r=o(64985),n=o(6085),i=o(84327),a=o(34919),l=o(11797),s=o(18051),c=o(21903),d=o(63028),u=o(99730),p=o(97189),f=e=>{switch(e){case"blur":return"nc-blur";case"horizontal":return"nc-scroll-horizontal";case"mouseTrack":return"nc-mouse";case"rotate":return"nc-captcha";case"scale":return"nc-scroll-scale";case"mouseTilt":return"nc-cube";case"transparency":return"nc-scroll-transparency";case"vertical":return"nc-scroll-vertical"}},m=e=>{switch(e){case"blur":return(0,r.t)("Blur");case"mouseTrack":return(0,r.t)("MouseTrack");case"rotate":return(0,r.t)("Rotate");case"scale":return(0,r.t)("Scale");case"horizontal":return(0,r.t)("Horizontal");case"mouseTilt":return(0,r.t)("3D Tilt");case"transparency":return(0,r.t)("Transparency");case"vertical":return(0,r.t)("Vertical")}};function y(e){switch(e){case"blur":return i.Blur;case"horizontal":return a.Horizontal;case"mouseTrack":return l.MouseTrack;case"rotate":return s.Rotate;case"scale":return c.Scale;case"mouseTilt":return d.Tilt;case"transparency":return u.Transparency;case"vertical":return p.Vertical}}const g=(e,t)=>{const o={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(o[(0,n.capByPrefix)(e,r)]=t[r]);return o},h=e=>{const t={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&Object.assign(t,g(o,e[o]));return t},b=e=>!!e("enabled")},98904:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Async",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(10301))&&i.__esModule?i:{default:i};var i;const a=o(17585),l=o(46234);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){switch(e.state){case"INACTIVE":switch(t.type){case"idle":case"loading":return{...e,state:"idle"===t.type?"IDLE":"LOADING"}}break;case"LOADING":switch(t.type){case"load_success":case"load_fail":return{...e,state:"IDLE",vChoices:"load_success"===t.type?t.choices:[]}}break;case"IDLE":switch(t.type){case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search};case"value_changed":return{...e,vChoices:t.choices}}break;case"HAS_INPUT":switch(t.type){case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,sChoices:[],search:t.search};case"search_debounce_success":return{...e,state:"FETCHING"}}break;case"FETCHING":switch(t.type){case"fetch_found":return{...e,state:"FETCH_FOUND",sChoices:t.choices};case"fetch_not_found":return{...e,state:"FETCH_NOT_FOUND",sChoices:[]};case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search}}break;case"FETCH_FOUND":switch(t.type){case"value_changed":return{...e,state:"SELECTED",vChoices:t.choices};case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search}}break;case"FETCH_NOT_FOUND":switch(t.type){case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search}}break;case"SELECTED":switch(t.type){case"value_changed":return{...e,vChoices:t.choices};case"search_erased":return{...e,state:"IDLE",sChoices:[],search:""};case"search_changed":return{...e,state:"HAS_INPUT",sChoices:[],search:t.search}}}return e}const d={state:"INACTIVE",vChoices:[],sChoices:[],search:""};function u(e){let{value:t,title:o}=e;return r.default.createElement(a.MultiSelectItem,{key:t,title:o,value:t})}const p=e=>{let{placeholder:t,choices:o,value:{value:i},config:s,onChange:p}=e;const[f,m]=(0,r.useReducer)(c,d),y=function(e,t){const[o,n]=(0,r.useState)(e);return(0,r.useEffect)((()=>{const t=setTimeout((()=>{n(e)}),1e3);return()=>{clearTimeout(t)}}),[e,1e3]),o}(f.search),g=(0,r.useRef)(),h=(0,r.useRef)([]),{vChoices:b,sChoices:v,state:S}=f,{useAsSimpleSelect:w=!1,showArrow:x=!1}=s??{},P=(0,r.useCallback)((e=>{const t=h.current,o=[...b,...v],r=e.map((e=>o.find((t=>t.value===e)))).filter((e=>void 0!==e)),i=n.default.difference(e,n.default.pluck(v,"value"));(0===v.length||i.length>0||r.length{let e;return 0===i.length?m({type:"idle"}):i.length>0&&(m({type:"loading"}),e=new AbortController,o.load(i,e.signal).then((t=>{e.signal.aborted||(h.current=t,m({type:"load_success",choices:t}))})).catch((()=>{e.signal.aborted||m({type:"load_fail"})}))),()=>{e?.abort()}}),[o,i]),(0,r.useEffect)((()=>{if(""!==y){m({type:"search_debounce_success"});const e=new AbortController;g.current=e,o.search(y,e.signal).then((t=>{e.signal.aborted||(t.length>0?m({type:"fetch_found",choices:t}):m({type:"fetch_not_found"}))})).catch((()=>{e.signal.aborted||m({type:"fetch_not_found"})}))}}),[y,o]);const C=(0,r.useMemo)((()=>"IDLE"===S),[S]),T=(0,r.useMemo)((()=>"SELECTED"===S),[S]),_=(0,r.useMemo)((()=>"LOADING"===S),[S]),k=(0,r.useMemo)((()=>"FETCHING"===S),[S]),M=(0,r.useMemo)((()=>"FETCH_NOT_FOUND"===S),[S]);(0,r.useEffect)((()=>{C&&(h.current=b)}),[C,b]);const O=(0,r.useMemo)((()=>T?(0,l.mergeChoices)((0,l.missingChoices)(i,b),h.current,v):(0,l.mergeChoices)((0,l.missingChoices)(i,b),b,v)),[T,v,b,i]);return r.default.createElement(a.MultiSelect,{value:i,valueIsLoading:_,placeholder:t,search:!0,searchIsLoading:k,searchIsEmpty:M,onChange:P,useAsSimpleSelect:w,showArrow:x,onSearchChange:e=>{g.current?.abort(),m(""===e?{type:"search_erased"}:{type:"search_changed",search:e})}},O.map(u))}},21255:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Sync",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(17585),i=o(46234);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e){let{value:t,title:o}=e;return r.default.createElement(n.MultiSelectItem,{key:t,title:o,value:t})}const s=e=>{let{choices:t,value:{value:o},placeholder:a,config:s,onChange:c}=e;const{useAsSimpleSelect:d=!1,showArrow:u=!1}=s??{},[p,f]=(0,r.useState)(""),m=(0,i.searchChoices)(p,t),y=(0,r.useCallback)((e=>c({value:e})),[c]);return r.default.createElement(n.MultiSelect,{value:o,placeholder:a,search:s?.search??!1,searchIsEmpty:0===m.length,useAsSimpleSelect:d,showArrow:u,onChange:y,onSearchChange:f},m.map(l))}},14358:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return a},fromElementModel:function(){return l},toElementModel:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(63300)),n=o(28197);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a={value:[]},l=e=>{let t;try{t=JSON.parse(r.read(e("value"))??"[]")}catch(e){t=a.value}return Array.isArray(t)&&t.length?{value:t.reduce(((e,t)=>{const o=(0,n.read)(t);return o&&e.push(o),e}),[])}:a},s=e=>({value:JSON.stringify(e.value)})},48438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MultiSelect",{enumerable:!0,get:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(46234),a=o(21255),l=o(98904),s=e=>(0,i.isChoicesSync)(e.choices)?r.default.createElement(r.default.Fragment,null,e.label,r.default.createElement(a.Sync,{...e,choices:e.choices})):r.default.createElement(r.default.Fragment,null,e.label,r.default.createElement(l.Async,{...e,choices:e.choices}))},46234:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isChoicesSync:function(){return c},valueChoices:function(){return d},missingChoices:function(){return u},searchChoices:function(){return p},mergeChoices:function(){return f}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300)),a=o(64985),l=o(6085);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e){return Array.isArray(e)}function d(e,t){return t.filter((t=>e.includes(t.value)))}function u(e,t){return r.default.difference(e,r.default.pluck(t,"value")).map((e=>({title:(0,l.printf)((0,a.t)("? (%s)"),i.read(e)??"?"),value:e})))}function p(e,t){return""===e?t:t.filter((t=>{let{title:o}=t;return o.toLowerCase().includes(e.toLowerCase())}))}function f(e,t){for(var o=arguments.length,r=new Array(o>2?o-2:0),n=2;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return i},toElementModel:function(){return a}});const r=o(73904),n={value:0},i=e=>({value:r.NumberSpec.read(e("value"))}),a=e=>({value:e.value})},54054:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Number",{enumerable:!0,get:function(){return c}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(4287),a=o(32625),l=o(78438);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{className:t,onChange:o,value:{value:s},config:c,label:d}=e;const u=c?.updateRate??16,p=c?.min??0,f=c?.max??100,m=c?.step??1,y=c?.size??"short",g=c?.spinner??!0,h=(0,n.useCallback)((e=>o({value:e})),[o]),b=(0,n.useCallback)((e=>(0,l.clamp)(e,p,f)),[p,f]),v=(0,n.useCallback)((e=>(0,r.mPipe)(b,h)(e)),[b,h]),[S,w]=(0,a.useDebouncedOnChange)(s,v,u),x=(0,n.useCallback)((()=>(0,r.mPipe)((()=>S),(0,l.add)(m),b,w)()),[S,m,w,b]),P=(0,n.useCallback)((()=>(0,r.mPipe)((()=>S),(0,l.subtractR)(m),b,w)()),[S,m,b,w]);return n.default.createElement(n.default.Fragment,null,d,n.default.createElement(i.NumberComponent,{className:t,onChange:w,onIncrease:x,onDecrease:P,value:S,size:y,spinner:g}))}},93528:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},55530:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Order",{enumerable:!0,get:function(){return d}});const r=l(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(33364)),a=o(26713);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=()=>{},d=e=>{let{className:t,config:o,label:l}=e;const s=o?.onChange??c,d=o?.disable??"none",u=(0,n.useCallback)((()=>!(0,a.isDisabled)("prev",d)&&s("prev")),[s,d]),p=(0,n.useCallback)((()=>!(0,a.isDisabled)("next",d)&&s("next")),[s,d]),f=o?.align??"horizontal";return n.default.createElement("div",{className:(0,r.default)(t,"brz-ed-option__order flex justify-center items-center p-[13px_0]","brz-ed-option__order__"+("vertical"===f?"vertical flex-col p-[7px_0]":"horizontal"))},l,n.default.createElement("span",{title:(0,a.firstText)(f),onClick:u,className:"flex"},n.default.createElement(i.default,{icon:(0,a.firstArrow)(f),className:(0,r.default)("transition-[color] duration-200 ease-linear delay-[0s] text-white text-[13px] [&:not(.brz-ed__disabled)]:hover:text-brand-primary",{"brz-ed__disabled !text-gray-light cursor-default":(0,a.isDisabled)("prev",d)})})),n.default.createElement("span",{title:(0,a.secondText)(f),onClick:p,className:"flex"},n.default.createElement(i.default,{icon:(0,a.secondArrow)(f),className:(0,r.default)("transition-[color] duration-200 ease-linear delay-[0s] text-white text-[13px] [&:not(.brz-ed__disabled)]:hover:text-brand-primary",{"brz-ed__disabled !text-gray-light cursor-default":(0,a.isDisabled)("next",d)})})))}},26713:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDisabled:function(){return n},firstText:function(){return i},secondText:function(){return a},firstArrow:function(){return l},secondArrow:function(){return s}});const r=o(64985),n=(e,t)=>"all"===t||t===e,i=e=>{switch(e){case"horizontal":return(0,r.t)("Move left");case"vertical":return(0,r.t)("Move up")}},a=e=>{switch(e){case"horizontal":return(0,r.t)("Move right");case"vertical":return(0,r.t)("Move down")}},l=e=>{switch(e){case"horizontal":return"nc-left-arrow-heavy";case"vertical":return"nc-arrow-up"}},s=e=>{switch(e){case"horizontal":return"nc-right-arrow-heavy";case"vertical":return"nc-down-arrow-heavy"}}},48835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return m},toElementModel:function(){return y},defaultValue:function(){return g}});const r=o(47885),n=o(52662),i=f(o(48738)),a=f(o(20059)),l=o(49863),s=f(o(90361)),c=f(o(73904)),d=f(o(59638)),u=o(22741);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const m=(0,r.parseStrict)({type:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("type"),d.read,a.fromString),(0,u.onNullish)("grouped")),value:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("value"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempValue:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempValue"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),unit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("suffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),top:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("top"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempTop:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempTop"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),topUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("topSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempTopUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempTopSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),right:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("right"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempRight:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempRight"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),rightUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("rightSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempRightUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempRightSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),bottom:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("bottom"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempBottom:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempBottom"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),bottomUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("bottomSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempBottomUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempBottomSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),left:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("left"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),tempLeft:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempLeft"),c.read,s.fromNumber),(0,u.onNullish)(s.Zero)),leftUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("leftSuffix"),d.read,i.fromString),(0,u.onNullish)("px")),tempLeftUnit:(0,l.pipe)((0,l.mPipe)((0,n.callGetter)("tempLeftSuffix"),d.read,i.fromString),(0,u.onNullish)("px"))}),y=e=>({type:e.type,value:e.value,tempValue:e.tempValue,suffix:e.unit,tempSuffix:e.tempUnit,top:e.top,tempTop:e.tempTop,topSuffix:e.topUnit,tempTopSuffix:e.tempTopUnit,right:e.right,tempRight:e.tempRight,rightSuffix:e.rightUnit,tempRightSuffix:e.tempRightUnit,bottom:e.bottom,tempBottom:e.tempBottom,bottomSuffix:e.bottomUnit,tempBottomSuffix:e.tempBottomUnit,left:e.left,tempLeft:e.tempLeft,leftSuffix:e.leftUnit,tempLeftSuffix:e.tempLeftUnit}),g={type:"grouped",value:s.Zero,tempValue:s.Zero,unit:"px",tempUnit:"px",top:s.Zero,tempTop:s.Zero,topUnit:"px",tempTopUnit:"px",right:s.Zero,tempRight:s.Zero,rightUnit:"px",tempRightUnit:"px",bottom:s.Zero,tempBottom:s.Zero,bottomUnit:"px",tempBottomUnit:"px",left:s.Zero,tempLeft:s.Zero,leftUnit:"px",tempLeftUnit:"px"}},24054:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Padding",{enumerable:!0,get:function(){return u}});const r=d(o(27378)),n=o(6086),i=o(49863),a=d(o(90361)),l=d(o(62687)),s=o(83983);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u=e=>{let{value:t,onChange:o,label:c,config:d}=e;const u=(0,r.useCallback)((e=>o(l.setType(e,t))),[t,o]),{value:p,unit:f,top:m,topUnit:y,right:g,rightUnit:h,bottom:b,bottomUnit:v,left:S,leftUnit:w}=t,x=(0,r.useMemo)((()=>({all:{number:p,unit:f},top:{number:m,unit:y},right:{number:g,unit:h},bottom:{number:b,unit:v},left:{number:S,unit:w}})),[m,g,b,S,f,y,h,v,w,p]),P=(0,r.useCallback)(((e,r)=>(0,i.mPipe)(((e,o)=>(0,i.mPipe)(a.fromNumber,(o=>(0,s.valueSetter)(e)(o,t)))(o)),o)(e,r)),[o,t]),C=(0,r.useMemo)((()=>(d?.units??["px","%"]).map((e=>({value:e,title:e})))),[d]),T=(0,r.useCallback)(((e,r)=>(0,i.pipe)(((e,o)=>(0,s.unitSetter)(e)(o,t)),o)(e,r)),[o,t]);return r.default.createElement(n.Spacing,{label:c,type:t.type,value:x,units:C,onType:u,onValue:P,onUnit:T,getIcon:s.getIcon,step:1,min:0,max:100})}},62687:(e,t,o)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),r=o(62973),n=t,Object.keys(r).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return r[e]}})}))},83983:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromNumberSlider:function(){return u},getIcon:function(){return p},valueSetter:function(){return f},unitSetter:function(){return m}});const r=d(o(90361)),n=o(62687),i=o(77725),a=o(49863),l=o(55250),s=d(o(21218));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u=(0,i.readWithParser)({number:(0,a.mPipe)((0,l.prop)("number"),r.fromNumber),unit:e=>e.unit}),p=s.getIcon,f=e=>{switch(e){case"all":return n.setValue;case"top":return n.setTop;case"right":return n.setRight;case"bottom":return n.setBottom;case"left":return n.setLeft}},m=e=>{switch(e){case"all":return n.setUnit;case"top":return n.setTopUnit;case"right":return n.setRightUnit;case"bottom":return n.setBottomUnit;case"left":return n.setLeftUnit}}},16931:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return s},fromElementModel:function(){return c},toElementModel:function(){return d}});const r=o(47885),n=l(o(95945)),i=l(o(59638));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const s={value:void 0},c=e=>({value:(0,r.pass)(n.is)(i.read(e("value"))??"")}),d=e=>({value:e.value})},42815:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PayPal",{enumerable:!0,get:function(){return c}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(46399),a=o(49863),l=o(95945);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{let{onChange:t,value:o,label:s}=e;const{value:c}=o,[d,u]=(0,n.useState)(c??""),p=(0,n.useCallback)((()=>(0,a.pipe)((0,a.always)(d),(0,r.pass)(l.is),(e=>t({value:e})),(()=>Promise.resolve()))()),[t,d]),f=(0,n.useCallback)((()=>(0,a.pipe)((()=>u(c??"")),(()=>Promise.resolve()))()),[c]);return n.default.createElement(i.PayPal,{label:s,value:d,onChange:u,onSave:p,onCancel:f})}},14224:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},38819:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getTrigger:function(){return c},Popover:function(){return d}});const r=s(o(27378)),n=o(40333),i=s(o(62893)),a=o(38958),l=o(56318);function s(e){return e&&e.__esModule?e:{default:e}}const c=e=>{switch(typeof e){case"object":return r.default.createElement(a.Html,e);case"string":return r.default.createElement(l.Icon,{icon:e})}},d=e=>{let{className:t,config:o,options:a,toolbar:l}=e;return a?.length?r.default.createElement(n.Popover,{title:o?.title,trigger:c(o?.icon??"nc-cog"),className:t,placement:o?.placement??"top",size:o?.size??"medium",toolbar:l,clickOutsideExceptions:[".brz-ed-fixed",".media-modal",".media-modal-backdrop",...l?[".brz-ed-sidebar__right"]:[]]},r.default.createElement(i.default,{wrapOptions:!1,data:a,toolbar:l})):null}},38958:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Html",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,content:o,...i}=e;const a=(0,n.default)("brz-ed-popover__tooltip--icon-custom",t);return r.default.createElement("div",{...i,className:a,dangerouslySetInnerHTML:{__html:o??""}})}},56318:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(33364));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{icon:t}=e;return r.default.createElement(n.default,{icon:t})}},56613:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return c},fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),n=o(52662),i=o(95945),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(59638)),l=o(28197);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c={population:void 0,populationEntityType:void 0,populationEntityId:void 0},d=(0,r.parseStrict)({population:(0,r.optional)((0,r.mPipe)((0,n.callGetter)("population"),a.read,i.fromString)),populationEntityType:(0,r.optional)((0,r.mPipe)((0,n.callGetter)("populationEntityType"),a.read,i.fromString)),populationEntityId:(0,r.optional)((0,r.mPipe)((0,n.callGetter)("populationEntityId"),l.read))}),u=e=>e},6862:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PredefinedPopulation",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300)),i=o(28197),a=s(o(75471)),l=o(35671);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{const{config:t}=e,{activeChoice:o}=t??{};if(!t||!o)return r.default.createElement(r.default.Fragment,null);const{value:s,onChange:c}=e,d=n.read(s.population)??o??"",u=n.read(s.populationEntityType)??"",p=(0,i.read)(s.populationEntityId)??"",f=(0,l.findDCChoiceByPlaceholder)({placeholder:n.read(s.population)??"",choices:t.choices});return r.default.createElement(a.default,{choices:[],showChoices:!1,value:d,entityType:u,entityId:p,currentDCChoice:f,onChange:c})}},37895:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return a},toElementModel:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(28197));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const i={value:""},a=e=>({value:r.read(e("value"))}),l=e=>({value:e.value})},64406:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RadioGroup",{enumerable:!0,get:function(){return c}});const r=s(o(27378)),n=o(61046),i=o(74224),a=s(o(28197));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const c=e=>{let{value:{value:t},choices:o,onChange:l,label:s}=e;const c=(0,r.useCallback)((e=>l({value:e})),[l]);return r.default.createElement(r.default.Fragment,null,s,r.default.createElement(n.RadioGroup2,{onChange:c},o.map(((e,o)=>{let{value:n,icon:l,title:s}=e;return r.default.createElement(i.Item,{title:s??"",key:o,icon:l,value:n,active:a.eq(n,t)})}))))}},29707:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return s},fromElementModel:function(){return c},toElementModel:function(){return d}});const r=o(52662),n=o(47885),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(73904)),a=o(49863);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s={from:0,to:100},c=(0,n.parseStrict)({from:(0,n.or)((0,n.mPipe)((0,r.callGetter)("from"),i.read),(0,a.always)(s.from)),to:(0,n.or)((0,n.mPipe)((0,r.callGetter)("to"),i.read),(0,a.always)(s.to))}),d=e=>({...e})},54727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Range",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(48995),i=o(32625),a=o(50593);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{className:t,onChange:o,value:l,config:s={},label:c}=e;const[d,u]=(0,i.useThrottleOnChange)(l,o,s.updateRate??10,a.eq),p=(0,r.useCallback)((e=>u({from:e,to:d.to})),[u,d.to]),f=(0,r.useCallback)((e=>u({to:e,from:d.from})),[u,d.from]);return r.default.createElement(r.default.Fragment,null,c,r.default.createElement(n.RangeSlider,{className:t,min:s.min??0,max:s.max??100,step:s.step??1,start:d.from,end:d.to,unit:s.unit,onChangeStart:p,onChangeEnd:f,startLabel:s.startLabel,endLabel:s.endLabel}))}},50593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"eq",{enumerable:!0,get:function(){return o}});const o=(e,t)=>e.from===t.from&&e.to===t.to},55998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},66486:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SavedBlockOption",{enumerable:!0,get:function(){return y}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=o(74521),a=o(62948),l=(s=o(92823))&&s.__esModule?s:{default:s};var s;const c=o(97045),d=o(64985),u=o(46065),p=o(35192);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=e=>({isAuthorized:"connected"===e.authorized||"pending"===e.authorized,pageBlocks:(0,c.pageDataNoRefsSelector)(e),extraFontStyles:(0,c.extraFontStylesSelector)(e)}),y=e=>{let{className:t,config:o}=e;const[s,c]=(0,r.useState)(!1),{isAuthorized:f,pageBlocks:{items:y},extraFontStyles:g}=(0,n.useSelector)(m,n.shallowEqual),{blockId:h,blockType:b="normal",title:v,tooltipContent:S,icon:w}=o||{},x=(0,r.useRef)(!1);return(0,r.useEffect)((()=>(x.current=!0,()=>{x.current=!1})),[]),r.default.createElement(i.SavedBlock,{onClick:async()=>{if(s)return;if(!h)return a.ToastNotification.error((0,d.t)("Could not Create Saved Block"));const e=(0,p.getBlock)({pageItems:y,blockId:h,blockType:b});if(!e){const e="normal"===b?(0,d.t)("Could not Create Saved Block"):(0,d.t)("Could not Create Saved Popup");return a.ToastNotification.error(e)}const t=(0,u.getWhiteLabel)(),o=async()=>{try{await(0,p.handleCreateSaveBlock)({blockType:b,block:e,extraFontStyles:g,blockId:h})}catch(e){if((0,p.isError)(e)){const{message:t}=e;return a.ToastNotification.error(t)}if((0,p.isWarn)(e)){const{message:t,hideAfter:o}=e;return a.ToastNotification.warn(t,o)}return a.ToastNotification.error((0,d.t)("Something went wrong"))}};if(c(!0),t||f)await o();else{const e={mode:"stack",prompt:"authorization",props:{onClose:o,onSkip:o,onSuccess:o}};l.default.open(e)}x.current&&c(!1)},className:t,title:v??(0,d.t)("Add"),icon:w??"nc-save-section",tooltipContent:S,loading:s})}},35192:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isError:function(){return p},isWarn:function(){return f},getBlock:function(){return y},handleCreateSaveBlock:function(){return g}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(78438),s=o(92636),c=o(48630),d=o(21486),u=o(6804),p=e=>(0,c.isObject)(e)&&"error"===e.type,f=e=>(0,c.isObject)(e)&&"warn"===e.type,m=(e,t)=>{let{value:o}=e;return!!o&&o._id===t},y=e=>{let t,{pageItems:o,blockId:r,blockType:n}=e;return t="normal"===n?o.find((e=>m(e,r))):(0,s.findDeep)(o,(e=>m(e,r))).obj,t},g=async e=>{let{block:t,blockType:o,blockId:n,extraFontStyles:s}=e;const c={extraFontStyles:s,type:o};let p;try{p=await(0,d.browserSupports)()}catch(e){p=!1}if(p){const e=document.getElementById(n);if(e){const{src:t,width:o,height:r}=await(0,d.makeNodeScreenshot)(e).catch((()=>({src:void 0,width:void 0,height:void 0})));if(t&&(0,l.isNumber)(o)&&(0,l.isNumber)(r)){const{id:e}=await(0,i.createBlockScreenshot)({base64:t,blockType:"saved"}).catch((()=>({id:void 0})));e&&(c._thumbnailSrc=e,c._thumbnailWidth=o,c._thumbnailHeight=r,c._thumbnailTime=Date.now())}}}const f=r.default.getAll(),m={data:t,meta:c,uid:(0,u.uuid)(),dataVersion:1};switch(o){case"normal":try{await(0,i.createSavedBlock)(m,f)}catch(e){throw{message:(0,a.t)("Could not Create Saved Block"),type:"error"}}break;case"popup":try{await(0,i.createSavedPopup)(m,f)}catch(e){throw{message:(0,a.t)("Could not Create Saved Popup"),type:"error"}}}if(!p)throw{message:(0,a.t)("Your block was saved without screenshot, browser is not compatible"),type:"warn",hideAfter:5}}},91381:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Async",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(33364))&&i.__esModule?i:{default:i};var i;const a=o(64350),l=o(64985);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=e=>{const[t,o]=(0,r.useState)(!1),[i,s]=(0,r.useState)([]),[c,d]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{const t=new AbortController;return e.choices.load(t.signal).then((e=>{t.signal.aborted||(o(!0),s(e))})).catch((()=>{t.signal.aborted||d(!0)})),()=>{t?.abort()}}),[e.choices]),!t)return r.default.createElement("div",{className:"brz-ed-option-type__select-dev__spinner-container"},r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-option-type__select-dev__spinner brz-ed-animated--spin"}));if(c)return r.default.createElement("p",{style:{color:"white"}},"Error");if(i.length)return r.default.createElement(a.Sync,{...e,choices:i});const u=[{title:e.choices.emptyLoad?.title??(0,l.t)("Don't have items"),value:""}];return r.default.createElement(a.Sync,{...e,choices:u})}},64350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Sync",{enumerable:!0,get:function(){return d}});const r=c(o(60042)),n=c(o(27378)),i=o(18624),a=o(65989),l=o(33364),s=o(87369);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{let{config:t,value:{value:o},placeholder:c,choices:d,onChange:u,className:p,iconClassName:f}=e;return n.default.createElement(i.Select2,{placeholder:c,size:t?.size,value:o,className:p,editable:t?.search??!1,autoClose:t?.autoClose??!1,onChange:e=>{u((0,s.toElement)(e))}},d.map(((e,t)=>{let o,{title:i,icon:s,value:c}=e;if(s){const e=(0,r.default)("brz--space-right",s.className,f);o=s.name?n.default.createElement(l.EditorIcon,{icon:s.name,className:e}):n.default.createElement("div",{className:e})}return n.default.createElement(a.Item,{key:t,value:c},o,i)})))}},15335:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return n},toElementModel:function(){return i},defaultValue:function(){return a}});const r=o(28197),n=e=>({value:(0,r.read)(e("value"))}),i=e=>({value:e.value}),a={value:""}},70151:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(64350),a=o(91381),l=o(87369),s=e=>(0,l.isChoicesSync)(e.choices)?r.default.createElement(r.default.Fragment,null,e.label,r.default.createElement(i.Sync,{...e,choices:e.choices})):r.default.createElement(r.default.Fragment,null,e.label,r.default.createElement(a.Async,{...e,choices:e.choices}))},87369:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{toElement:function(){return o},isChoicesSync:function(){return r}});const o=e=>({value:e});function r(e){return Array.isArray(e)}},21499:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},36067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SidebarTabs",{enumerable:!0,get:function(){return g}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=o(56434),a=o(99897),l=(s=o(62893))&&s.__esModule?s:{default:s};var s;const c=o(74215),d=o(37203),u=o(49863),p=o(55250),f=o(93480);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=(0,u.pipe)(d.uiSelector,(0,p.prop)("rightSidebar")),g=e=>{let{tabs:t,toolbar:o}=e;const{alignment:s,lock:d,isOpen:p,activeTab:m}=(0,n.useSelector)(y),g=(0,n.useDispatch)(),h=(0,r.useCallback)((()=>(0,u.pipe)((()=>d?void 0:"manual"),(e=>(0,c.updateUI)("rightSidebar",{alignment:s,isOpen:p,lock:e,activeTab:m})),g)()),[g,s,p,d,m]),b=(0,r.useCallback)((()=>(0,u.pipe)((0,u.always)(s),f.nextAlign,(e=>(0,c.updateUI)("rightSidebar",{alignment:e,isOpen:p,lock:d,activeTab:m})),g)()),[g,s,p,d,m]),v=(0,r.useCallback)((e=>(0,u.pipe)((e=>(0,c.updateUI)("rightSidebar",{alignment:s,isOpen:p,lock:d,activeTab:e})),g)(e)),[g,s,p,d]);return r.default.createElement(i.RightSidebarTabs,{value:m??t[0]?.id,onChange:v,align:s,onAlign:b,locked:!!d,onLock:h},t.map((e=>{let{id:t,title:n,label:i,className:s,options:c}=e;return r.default.createElement(a.Tab,{key:t,value:t,title:n,label:i,className:s},r.default.createElement(l.default,{wrapOptions:!1,data:c,toolbar:o}))})))}},93480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"nextAlign",{enumerable:!0,get:function(){return o}});const o=e=>{switch(e){case"right":return"left";case"left":return"right"}}},58447:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return o},fromElementModel:function(){return r},toElementModel:function(){return n}});const o=void 0,r=()=>{},n=()=>({})},77707:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SidebarTabsButton",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=o(44010),a=o(74215),l=o(37203),s=o(49863),c=o(55250);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=(0,s.pipe)(l.uiSelector,(0,c.prop)("rightSidebar")),p=e=>{let{config:t}=e;const{tabId:o,icon:l,align:c,text:d}=t??{},p=(0,n.useDispatch)(),f=(0,n.useSelector)(u),m=(0,r.useCallback)((()=>(0,s.pipe)((()=>o),(e=>(0,a.updateUI)("rightSidebar",{...f,isOpen:!0,activeTab:e})),p)()),[p,f,o]);return r.default.createElement(r.default.Fragment,null,r.default.createElement(i.Button,{onClick:m,icon:l,align:c},d))}},39641:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return i},fromElementModel:function(){return a},toElementModel:function(){return l}});const r=o(73904),n=o(59638),i={value:0,unit:""},a=e=>({value:r.NumberSpec.read(e("value")),unit:n.String.read(e("suffix"))}),l=e=>({value:e.value,suffix:e.unit})},6994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Slider",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(33779),i=o(32625),a=o(426);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{className:t,onChange:o,value:l,config:s={},label:c}=e;const{debounceUpdate:d,updateRate:u=16,min:p=0,max:f=100,inputMin:m,inputMax:y,step:g=1,units:h=[]}=s??{},b=d??!1,v=(0,r.useRef)(),[S,w]=(0,r.useState)(l),[x,P]=(0,r.useState)(!1),C=(0,r.useCallback)(((e,t)=>{w({value:e.number,unit:e.unit}),P(t.editing)}),[w,P]);return(0,i.useThrottleEffect)((()=>{(0,a.eq)(l,S)||b&&x||(o(S),v.current=S)}),Math.max(0,u),[S,b,x,u]),(0,r.useEffect)((()=>{v.current&&(0,a.eq)(l,v.current)||w(l)}),[l]),r.default.createElement(r.default.Fragment,null,c,r.default.createElement(n.NumberSlider,{className:t,min:p,max:f,inputMin:m,inputMax:y,step:g,value:{number:S.value,unit:S.unit},onChange:C,units:h}))}},426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"eq",{enumerable:!0,get:function(){return o}});const o=(e,t)=>e.value===t.value&&e.unit===t.unit},59981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return i},toElementModel:function(){return a}});const r=o(59638),n={value:""},i=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},90801:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Switch",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(1014),a=e=>{let{onChange:t,config:o,className:n,value:{value:a},label:l}=e;const s=o?.on??"on",c=o?.off??"off";return r.default.createElement(r.default.Fragment,null,l,r.default.createElement(i.Switch,{className:n,value:a===s,onChange:e=>t({value:e?s:c})}))}},82080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return i},toElementModel:function(){return a}});const r=o(28197),n={value:""},i=e=>({value:(0,r.read)(e("value"))}),a=e=>({value:e.value})},23256:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(10301),i=o(41271),a=o(99897),l=(s=o(62893))&&s.__esModule?s:{default:s};var s;function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{let{tabs:t=[],onChange:o,value:{value:s},config:c,toolbar:d,className:u}=e;const{position:p="top",align:f="center",saveTab:m,showSingle:y=!1}=c??{},[g,h]=(0,r.useState)(s),b=(0,r.useCallback)(h,[h]);return(0,r.useEffect)((()=>{m&&o({value:g})}),[g,m,o]),r.default.createElement(i.Tabs,{align:f,value:g,onChange:b,position:p,showSingle:y,className:u},(0,n.sortBy)(t,(e=>{let{position:t=100}=e;return t})).map((e=>{let{id:t,title:o,label:n,options:i,className:s}=e;return r.default.createElement(a.Tab,{key:t,value:t,title:o,label:n,className:s},r.default.createElement(l.default,{wrapOptions:!1,data:i,toolbar:d}))})))}},52329:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return S},elementModelToNoEmpty:function(){return w},elementModelToEmpty:function(){return x},fromElementModel:function(){return P},toElementModel:function(){return C}});const r=o(47885),n=o(93873),i=v(o(404)),a=v(o(86683)),l=v(o(59990)),s=v(o(16423)),c=o(49863),d=o(2277),u=v(o(73904)),p=o(77725),f=v(o(59638)),m=o(22741),y=o(27490),g=o(69738),h=o(4707);function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const S={blur:0,opacity:0,hex:i.Black,horizontal:0,vertical:0,tempPalette:void 0,tempBlur:1,tempOpacity:1,tempHorizontal:0,tempVertical:0},w=(0,p.readWithParser)({opacity:(0,c.mPipe)((0,n.call)("colorOpacity"),u.read,s.fromNumber,g.fromOpacity),blur:(0,c.mPipe)((0,n.call)("blur"),u.read,l.fromNumber,y.fromBlur),palette:(0,p.optional)((0,c.mPipe)((0,n.call)("colorPalette"),f.read,a.fromString)),hex:(0,c.mPipe)((0,n.call)("colorHex"),f.read,i.fromString),horizontal:(0,c.mPipe)((0,n.call)("horizontal"),u.read),vertical:(0,c.mPipe)((0,n.call)("vertical"),u.read)}),x=(0,r.parseStrict)({opacity:()=>0,tempOpacity:(0,c.pipe)((0,c.mPipe)((0,n.call)("tempColorOpacity"),u.read,s.fromNumber,g.fromOpacity),(0,m.onNullish)(S.tempOpacity)),blur:()=>0,tempBlur:(0,c.pipe)((0,c.mPipe)((0,n.call)("tempBlur"),u.read,l.fromNumber,y.fromBlur),(0,m.onNullish)(S.tempBlur)),tempPalette:(0,p.optional)((0,c.mPipe)((0,n.call)("tempColorPalette"),f.read,a.fromString)),hex:(0,c.pipe)((0,c.mPipe)((0,n.call)("colorHex"),f.read,i.fromString),(0,m.onNullish)(S.hex)),horizontal:()=>0,tempHorizontal:(0,c.pipe)((0,c.mPipe)((0,n.call)("tempHorizontal"),u.read),(0,m.onNullish)(S.tempHorizontal)),vertical:()=>0,tempVertical:(0,c.pipe)((0,c.mPipe)((0,n.call)("tempVertical"),u.read),(0,m.onNullish)(S.tempVertical))}),P=e=>w(e)??x(e),C=(0,d.match)([h.isEmpty,e=>({colorHex:e.hex,colorOpacity:e.opacity,colorPalette:void 0,blur:e.blur,horizontal:e.horizontal,vertical:e.vertical})],[h.isNoEmpty,e=>({colorHex:e.hex,colorOpacity:e.opacity,colorPalette:e.palette,blur:e.blur,horizontal:e.horizontal,vertical:e.vertical,tempBlur:e.blur,tempHorizontal:e.horizontal,tempColorOpacity:e.opacity,tempColorPalette:e.palette,tempVertical:e.vertical})])},36823:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TextShadow",{enumerable:!0,get:function(){return h}});const r=m(o(60042)),n=g(o(27378)),i=o(23884),a=o(53550),l=m(o(22546)),s=o(97724),c=o(74215),d=o(81405),u=o(49863),p=g(o(4707)),f=g(o(2876));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const h=e=>{let{onChange:t,value:o,className:m}=e;const y=(0,i.useDispatch)(),g=(0,r.default)("brz-ed-option__textShadow",m),h=(0,n.useCallback)(((e,r)=>(0,u.mPipe)(((e,t)=>{switch(t.isChanged){case"opacity":return p.setOpacity(e.opacity,o);case"blur":return p.setBlur(e.blur,o);case"hex":return p.setHex(e.hex,o);case"palette":return e.palette?p.setPalette(e.palette,o):o;case"horizontal":return p.setHorizontal(e.horizontal,o);case"vertical":return p.setVertical(e.vertical,o);case"select":return(0,f.valueFromSelectType)(e.select,o)}}),t)(e,r)),[t,o]),b=(0,n.useCallback)((()=>y((0,c.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:s.LeftSidebarOptionsIds.globalStyle}))),[y]),v=(0,n.useMemo)((()=>({...o,palette:f.getPalette(o),select:(0,f.selectTypeFromValue)(o)})),[o]),S=(0,n.useMemo)((()=>{const e=l.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(s.LeftSidebarOptionsIds.globalStyle)}),[]);return n.default.createElement(a.TextShadow,{opacity:!0,className:g,value:v,onChange:h,palette:(0,d.getColorPaletteColors)(),paletteOpenSettings:S?b:void 0,options:f.options})}},27490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromBlur:function(){return i},toBlur:function(){return a}});const r=o(59990);var n;!function(e){e.noEmptyBlur="noEmptyBlur"}(n||(n={}));const i=e=>e!==r.empty?e:void 0,a=e=>e},69738:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromOpacity:function(){return i},toOpacity:function(){return a}});const r=o(16423);var n;!function(e){e.noEmptyOpacity="noEmptyOpacity"}(n||(n={}));const i=e=>e!==r.empty?e:void 0,a=e=>e},4707:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isEmpty:function(){return n},fromNoEmpty:function(){return i},isNoEmpty:function(){return a},fromEmpty:function(){return l},setHex:function(){return u},setPalette:function(){return p},setOpacity:function(){return f},setBlur:function(){return m},setHorizontal:function(){return y},setVertical:function(){return g}});const r=o(2277),n=e=>0===e.opacity,i=e=>({opacity:0,blur:0,vertical:0,horizontal:0,hex:e.hex,tempVertical:e.vertical,tempHorizontal:e.horizontal,tempBlur:e.blur,tempOpacity:e.opacity,tempPalette:e.palette}),a=e=>0!==e.opacity,l=e=>({opacity:e.tempOpacity,blur:e.tempBlur,horizontal:e.tempHorizontal,vertical:e.tempVertical,hex:e.hex,palette:e.tempPalette}),s=e=>0===e,c=e=>0!==e,d=e=>0!==e,u=(e,t)=>(0,r.match)([n,t=>({palette:void 0,horizontal:t.tempHorizontal,vertical:t.tempVertical,blur:t.tempBlur,opacity:t.tempOpacity,hex:e})],[a,t=>({...t,hex:e,palette:void 0})])(t),p=(e,t)=>(0,r.match)([n,t=>({palette:e,horizontal:t.tempHorizontal,vertical:t.tempVertical,blur:t.tempBlur,opacity:t.tempOpacity,hex:t.hex})],[a,t=>({...t,palette:e})])(t),f=(e,t)=>(0,r.match)([n,t=>(0,r.match)([s,()=>t],[c,e=>({...l(t),opacity:e})])(e)],[a,t=>(0,r.match)([s,()=>i(t)],[c,e=>({...t,opacity:e})])(e)])(t),m=(e,t)=>(0,r.match)([n,t=>(0,r.match)([s,()=>t],[d,e=>({...l(t),blur:e})])(e)],[a,t=>(0,r.match)([s,()=>i(t)],[d,e=>({...t,blur:e})])(e)])(t),y=(e,t)=>(0,r.match)([n,t=>0==e?t:{...l(t),horizontal:e}],[a,t=>({...t,horizontal:e})])(t),g=(e,t)=>(0,r.match)([n,t=>0==e?t:{...l(t),vertical:e}],[a,t=>({...t,vertical:e})])(t)},2876:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getPalette:function(){return s},options:function(){return c},selectTypeFromValue:function(){return d},valueFromSelectType:function(){return u}});const r=o(4707),n=o(2277),i=o(64985),a=o(47885),l=o(22741),s=(0,n.match)([r.isEmpty,()=>{}],[r.isNoEmpty,e=>e.palette]),c=[{id:"none",title:(0,i.t)("None")},{id:"shadow",title:(0,i.t)("Shadow")}],d=(0,n.match)([r.isEmpty,()=>"none"],[r.isNoEmpty,()=>"shadow"]),u=(0,a.or)((0,a.match2)([(0,l.is)("shadow"),r.isEmpty,(e,t)=>(0,r.fromEmpty)(t)],[(0,l.is)("none"),r.isNoEmpty,(e,t)=>(0,r.fromNoEmpty)(t)]),((e,t)=>t))},31180:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return i},toElementModel:function(){return a}});const r=o(59638),n={value:""},i=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},5367:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Textarea",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(30023),i=o(32625);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{className:t,onChange:o,value:{value:a},config:l={},placeholder:s,label:c}=e;const[d,u]=(0,r.useState)(a);return(0,i.useDebouncedEffect)((()=>{a!==d&&o({value:d})}),1e3,[d]),r.default.createElement(r.default.Fragment,null,c,r.default.createElement(n.Textarea,{className:t,onChange:u,value:d,size:l.size??"auto",placeholder:s,rows:l.lines}))}},37802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return n},fromElementModel:function(){return i},toElementModel:function(){return a}});const r=o(59638),n={value:""},i=e=>({value:r.String.read(e("value"))}),a=e=>({value:e.value})},33388:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Toggle",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(60042)),i=o(53225),a=o(4023);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{className:t,choices:o,value:{value:l},onChange:s,label:c}=e;const d=(0,n.default)("brz-ed-option__toggle",t);return o.length?r.default.createElement(r.default.Fragment,null,c,r.default.createElement(i.IconToggle,{value:l,onChange:e=>s({value:e}),className:d},o.map(((e,t)=>{let{icon:o,value:n,title:i}=e;return r.default.createElement(a.IconToggleItem,{key:t,value:n,icon:o,title:i})})))):null}},84547:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Rotate",{enumerable:!0,get:function(){return m}});const r=o(47885),n=p(o(27378)),i=o(33779),a=o(73469),l=o(26318),s=o(32625),c=o(64985),d=p(o(84626));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f=[{value:"°",title:"°"}],m=e=>{let{value:t,onChange:o}=e;const u=(0,n.useCallback)((e=>(0,r.mPipe)(d.fromNumber,(e=>o({...t,degree:e})))(e)),[t,o]),[p,m]=(0,s.useThrottleOnChange)(t.degree,u,200);return n.default.createElement(l.OptionWrapper,{className:"brz-ed-option"},n.default.createElement(a.OptionLabel,{label:(0,c.t)("Rotation")}),n.default.createElement(i.NumberSlider,{value:{number:p,unit:"°"},onChange:e=>{let{number:t}=e;return m(t)},step:1,min:-359,max:359,units:f}))}},5797:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return p},fromElementModel:function(){return f},toElementModel:function(){return m}});const r=o(47885),n=o(52662),i=o(6085),a=o(81447),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(86478)),s=o(16052),c=o(42723),d=o(55242);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p={active:void 0,rotate:void 0},f=(0,r.parseStrict)({active:(0,r.optional)((0,r.mPipe)((0,n.callGetter)("active"),(0,r.pass)(s.isActive))),rotate:(0,r.optional)((0,r.mPipe)((0,c.wrap)("rotate"),(0,r.pass)(d.isEnabled),l.fromElementModel))}),m=e=>{switch(e.type){case a.Type.active:return{active:e.active,...e.active?{[(0,i.capByPrefix)(e.active,"enabled")]:!0}:{}};case a.Type.enable:return{[(0,i.capByPrefix)(e.effect,"enabled")]:e.value,...e.active&&!e.value?{active:void 0}:{}};case a.Type.effect:if("rotate"===e.effect)return(0,d.flattenObject)({rotate:l.toElementModel(e.value)})}}},28596:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Transform",{enumerable:!0,get:function(){return g}});const r=y(o(27378)),n=o(10301),i=o(50987),a=o(64644),l=o(26318),s=o(72676),c=o(27303),d=o(49863),u=y(o(81447)),p=o(16052),f=o(55242);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const g=e=>{let{className:t,label:o,value:m,onChange:y,config:g}=e;const{active:h}=m,b=g?.disabled??[],v=h?m[h]:void 0,S=h&&(0,f.effectOptions)(h),w=(0,r.useCallback)((e=>y(u.enable(e,!m[e],h===e))),[m,y,h]),x=(0,r.useCallback)((e=>(0,d.pipe)(u.active,y)(e)),[y]),P=(0,r.useMemo)((()=>h?e=>y(u.eff(h,e)):n.identity),[h,y]);return r.default.createElement("div",{className:t},r.default.createElement(l.OptionWrapper,{display:"block",className:"brz-ed-option"},o,r.default.createElement(a.FatIconsGrid,null,p.effects.map((e=>b.includes(e)?r.default.createElement(s.DisabledIcon,{key:e,icon:(0,f.effectIcon)(e),label:(0,f.effectTitle)(e)}):r.default.createElement(c.Icon,{key:e,id:e,active:h===e,checked:!!m[e],icon:(0,f.effectIcon)(e),label:(0,f.effectTitle)(e),onClick:x,onCheck:w}))))),v&&S?r.default.createElement(l.OptionWrapper,{className:"brz-ed-option"},r.default.createElement(i.Group,null,r.default.createElement(S,{value:v,onChange:P}))):null)}},81447:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Type:function(){return o},active:function(){return r},enable:function(){return n},eff:function(){return i}}),function(e){e.active="active",e.enable="enable",e.effect="effect"}(o||(o={}));const r=e=>({type:o.active,active:e}),n=(e,t,r)=>({type:o.enable,effect:e,value:t,active:r}),i=(e,t)=>({type:o.effect,effect:e,value:t})},86478:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromElementModel:function(){return d},toElementModel:function(){return u}});const r=o(47885),n=o(52662),i=o(49863),a=c(o(73904)),l=c(o(84626));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const d=(0,r.parseStrict)({degree:(0,r.or)((0,i.mPipe)((0,n.callGetter)("degree"),a.read,l.fromNumber),(0,i.always)(0))}),u=e=>({...e})},16052:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{effects:function(){return o},isActive:function(){return r}});const o=["rotate"],r=e=>o.includes(e)},84626:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{is:function(){return n},fromNumber:function(){return i}});const r=o(47885),n=e=>e>=-359&&e<=359,i=(0,r.pass)(n)},42723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"wrap",{enumerable:!0,get:function(){return n}});const r=o(6085),n=e=>t=>o=>t((0,r.capByPrefix)(e,o))},55242:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{effectIcon:function(){return a},effectTitle:function(){return l},effectOptions:function(){return s},prefixKeys:function(){return c},flattenObject:function(){return d},isEnabled:function(){return u}});const r=o(64985),n=o(6085),i=o(84547),a=e=>{if("rotate"===e)return"nc-captcha"},l=e=>{if("rotate"===e)return(0,r.t)("Rotate")};function s(e){if("rotate"===e)return i.Rotate}const c=(e,t)=>{const o={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(o[(0,n.capByPrefix)(e,r)]=t[r]);return o},d=e=>{const t={};for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&Object.assign(t,c(o,e[o]));return t},u=e=>!!e("enabled")},11150:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getValue",{enumerable:!0,get:function(){return l}});const r=o(69321),n=o(72833),i=o(21779),a=o(76819),l=(e,t,o,l)=>{const s=(0,n.getFontStyle)(l.fontStyle)||l,c={...a.defaultValue,...(0,a.fromElementModel)((t=>"fontStyle"===t?l.fontStyle:(0,r.defaultValueValue)({key:t,v:s,device:e})))};if(((e,t)=>Object.values(e).some((e=>e?.some((e=>e.id===t)))))(t,c.fontFamily))return c;const{group:d,font:u}=o,p=(0,n.fontTransform[d])(u).id;switch(d){case"config":case"blocks":case"google":return{...c,fontFamilyType:i.FontFamilyType.google,fontFamily:p};case"upload":return{...c,fontFamilyType:i.FontFamilyType.upload,fontFamily:p}}}},76819:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValue:function(){return f},fromElementModel:function(){return m},toElementModel:function(){return y}});const r=p(o(21779)),n=p(o(90361)),i=p(o(83111)),a=p(o(31705)),l=o(49863),s=p(o(59638)),c=p(o(73904)),d=o(50074);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const f={fontFamily:"",fontFamilyType:r.FontFamilyType.google,fontStyle:"",fontSize:n.unsafe(17),fontSizeSuffix:i.empty,fontWeight:a.empty,letterSpacing:0,lineHeight:n.unsafe(1)},m=e=>({fontFamily:(0,l.mPipe)((()=>e("fontFamily")),s.read)()??f.fontFamily,fontFamilyType:(0,l.mPipe)((()=>e("fontFamilyType")),s.read,r.fromString)()??f.fontFamilyType,fontStyle:(0,l.mPipe)((()=>e("fontStyle")),s.read)()??f.fontStyle,fontSize:(0,l.mPipe)((()=>e("fontSize")),c.read,n.fromNumber)()??f.fontSize,fontSizeSuffix:(0,l.mPipe)((()=>e("fontSizeSuffix")),s.read,i.fromString)()??f.fontSizeSuffix,fontWeight:(0,l.mPipe)((()=>e("fontWeight")),c.read,a.fromNumber)()??f.fontWeight,letterSpacing:(0,l.mPipe)((()=>e("letterSpacing")),c.read)()??f.letterSpacing,lineHeight:(0,l.mPipe)((()=>e("lineHeight")),c.read,n.fromNumber)()??f.lineHeight}),y=e=>(0,d.isFullFont)(e)?{fontStyle:"",fontFamily:e.fontFamily,fontFamilyType:e.fontFamilyType,fontSize:e.fontSize,fontSizeSuffix:e.fontSizeSuffix,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}:(0,d.isFontFamily)(e)?{fontStyle:"",fontFamily:e.fontFamily,fontFamilyType:e.fontFamilyType,fontWeight:e.fontWeight}:(0,d.isFontSettings)(e)?{fontStyle:"",fontSize:e.fontSize,fontSizeSuffix:e.fontSizeSuffix,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}:(0,d.isFontStyle)(e)?{fontStyle:e.fontStyle}:{}},70834:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Typography",{enumerable:!0,get:function(){return x}});const r=S(o(27378)),n=o(23884),i=o(74458),a=b(o(92823)),l=o(46338),s=b(o(22546)),c=o(97724),d=o(74215),u=o(97045),p=o(72833),f=S(o(83111)),m=S(o(31705)),y=o(64985),g=o(11150),h=S(o(50074));function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const w=()=>{a.default.open({prompt:"fonts",mode:"single"})},x=e=>{let{value:t,onChange:o,config:a}=e;const{fontFamily:b=!0,letterSpacing:{min:v=-20,max:S=20}={},lineHeight:{min:x=1,max:P=20}={},fontSize:{min:C=0,max:T=300}={}}=a??{},_=(0,n.useDispatch)(),k=(0,n.useSelector)(u.unDeletedFontsSelector),M=(0,n.useSelector)(u.deviceModeSelector),O=(0,n.useSelector)(u.getDefaultFontDetailsSelector),E=(0,r.useMemo)((()=>Object.entries(k).reduce(((e,t)=>{let[o,r]=t;return e[o]=r?.data.map(p.fontTransform[o]),e}),{})),[k]),B=(0,g.getValue)(M,E,O,t),z=(0,r.useCallback)(((e,t)=>{const r=!1!==b;switch(t.isChanged){case"fontFamily":{const{id:t,type:n,weights:i}=e,a=h.fontFamily({...B,fontFamily:t,fontWeight:i.includes(B.fontWeight)?B.fontWeight:m.empty,fontFamilyType:n});return o(r?{...B,...a}:a)}case"fontStyle":return o(h.fontStyle(e));case"fontSize":case"fontWeight":case"letterSpacing":case"lineHeight":case"fontSizeSuffix":{const n=r?h.fullFont({...B,[t.isChanged]:e}):h.fontSettings({...B,[t.isChanged]:e});return o(n)}}}),[o,B,b]),I=(0,r.useCallback)((()=>{_((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:c.LeftSidebarOptionsIds.globalStyle}))}),[_]),j=(0,r.useMemo)((()=>{const e=s.default.getAll(),{bottomTabsOrder:t=[],topTabsOrder:o=[]}=e.ui?.leftSidebar??{};return[...t,...o].includes(c.LeftSidebarOptionsIds.globalStyle)}),[]),L=[{id:"",title:(0,y.t)("Custom")},...(0,p.getFontStyles)()],F=(0,p.getWeightChoices)({type:B.fontFamilyType,family:B.fontFamily});return r.default.createElement(i.Typography,{onChange:z,showFontFamily:b,fonts:E,font:B.fontFamily,fontAdd:"admin"===(0,l.currentUserRole)()?w:void 0,fontAddLabel:(0,y.t)("Add New Font"),styles:L,style:B.fontStyle,styleOpenSettings:j?I:void 0,size:B.fontSize,sizeSuffix:B.fontSizeSuffix,sizeSuffixes:f.getSuffixChoices,weights:F,weight:B.fontWeight,lineHeight:B.lineHeight,letterSpacing:B.letterSpacing,letterSpacingMin:v,letterSpacingMax:S,letterSpacingStep:.1,lineHeightMin:x,lineHeightMax:P,lineHeightStep:.1,sizeMin:C,sizeMax:T,sizeStep:1,letterSpacingLabel:(0,y.t)("Letter Sp."),lineHeightLabel:(0,y.t)("Line Hgt."),sizeLabel:(0,y.t)("Size"),styleLabel:(0,y.t)("Typography"),weightLabel:(0,y.t)("Weight")})}},50074:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fontStyle:function(){return l},isFontStyle:function(){return s},fontFamily:function(){return c},isFontFamily:function(){return d},fontSettings:function(){return u},isFontSettings:function(){return p},fullFont:function(){return f},isFullFont:function(){return m}});const r=a(o(21779)),n=a(o(83111));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}const l=e=>({fontStyle:e}),s=e=>"string"==typeof e.fontStyle,c=e=>({fontFamilyType:e.fontFamilyType,fontWeight:e.fontWeight,fontFamily:e.fontFamily}),d=e=>r.is(e.fontFamilyType),u=e=>({fontSize:e.fontSize,fontWeight:e.fontWeight,fontSizeSuffix:e.fontSizeSuffix,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight}),p=e=>n.is(e.fontSizeSuffix),f=e=>({...c(e),...u(e)}),m=e=>d(e)&&p(e)},22079:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{types:function(){return Ee},default:function(){return Be}});const r=o(75727),n=o(66994),i=o(23276),a=o(57845),l=o(30734),s=o(14247),c=o(56041),d=o(99307),u=o(53440),p=o(70711),f=o(52292),m=o(59877),y=o(18741),g=o(30117),h=o(33121),b=o(34989),v=o(11094),S=o(79231),w=o(84035),x=o(55554),P=o(73107),C=o(48438),T=o(55530),_=o(42815),k=o(6862),M=o(54727),O=o(66486),E=o(70151),B=o(36067),z=o(77707),I=o(90801),j=o(36823),L=o(28596),F=o(70834),N=Me(o(61042)),D=Me(o(98048)),R=Me(o(9508)),A=Me(o(38423)),H=Me(o(26536)),W=Me(o(262)),V=Me(o(90573)),G=Me(o(91669)),U=Me(o(55605)),q=Me(o(13856)),$=Me(o(12002)),Y=Me(o(12022)),Q=Me(o(8731)),Z=Me(o(81474)),K=Me(o(60890)),X=Me(o(14139)),J=Me(o(28226)),ee=Me(o(25137)),te=Me(o(21840)),oe=Me(o(35636)),re=Me(o(53227)),ne=Me(o(98759)),ie=Me(o(27970)),ae=Me(o(82531)),le=Me(o(48038)),se=Me(o(83217)),ce=Me(o(1798)),de=Me(o(43706)),ue=Me(o(77609)),pe=Me(o(37178)),fe=Me(o(23117)),me=o(8027),ye=o(14539),ge=o(16298),he=o(46853),be=o(95867),ve=o(90788),Se=o(54054),we=o(24054),xe=o(38819),Pe=o(64406),Ce=o(6994),Te=o(23256),_e=o(5367),ke=o(33388);function Me(e){return e&&e.__esModule?e:{default:e}}const Oe={"alert-dev":ye.Alert,"animation-dev":n.Animation,"backgroundColor-dev":i.BackgroundColor,"button-dev":s.Button,"order-dev":T.Order,"codeMirror-dev":ge.CodeMirror,"colorPicker-dev":c.ColorPicker,"corners-dev":d.Corners,"boxShadow-dev":l.BoxShadow,"border-dev":a.Border,"filters-dev":p.Filters,"fileUpload-dev":u.FileUpload,"group-dev":g.Group,"grid-dev":y.Grid,"imageUpload-dev":S.ImageUpload,"iconPicker-dev":h.IconPicker,"iconsPicker-dev":v.IconsPicker,"iconSetter-dev":b.IconSetter,"inputText-dev":w.InputText,"internalLink-dev":x.InternalLink,"margin-dev":ve.Margin,"motion-dev":P.Motion,"multiSelect-dev":C.MultiSelect,"number-dev":Se.Number,"textarea-dev":_e.Textarea,"radioGroup-dev":Pe.RadioGroup,"range-dev":M.Range,"padding-dev":we.Padding,"paypal-dev":_.PayPal,"popover-dev":xe.Popover,"population-dev":r.Population,"predefinedPopulation-dev":k.PredefinedPopulation,"select-dev":E.Select,"sidebarTabs-dev":B.SidebarTabs,"sidebarTabsButton-dev":z.SidebarTabsButton,"slider-dev":Ce.Slider,"switch-dev":I.Switch,"tabs-dev":Te.Tabs,"toggle-dev":ke.Toggle,"typography-dev":F.Typography,"textShadow-dev":j.TextShadow,"gallery-dev":f.Gallery,"gallery-for-gallery-dev":m.GalleryForGallery,"stateMode-dev":me.StateMode,"transform-dev":L.Transform,"savedBlock-dev":O.SavedBlockOption,"globalBlock-dev":be.GlobalBlockOption,"formApps-dev":he.FormApps},Ee={advancedSettings:N.default,blockThumbnail:D.default,button:R.default,savedBlock:se.default,globalBlock:Z.default,colorFields:H.default,colorPaletteEditor:V.default,colorPalette2:W.default,colorPicker2:G.default,fontFamily:U.default,fontStyle:q.default,fontStyleEditor:$.default,formApps:Y.default,grid:K.default,input:X.default,multiInputPicker:ee.default,multiPicker:te.default,popover:oe.default,popupConditions:re.default,gbConditions:Q.default,promptAddPopup:ne.default,promptIcon:ie.default,radioGroup:ae.default,checkGroup:A.default,select:ce.default,slider:de.default,stepper:ue.default,toggle:fe.default,tabs:pe.default,range2:le.default,integrationsApps:J.default,...Oe},Be=Ee},12163:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{defaultValues:function(){return Q},applyDefaultValueToOption:function(){return Z}});const r=o(28342),n=o(11039),i=o(16055),a=o(15245),l=o(93999),s=o(1753),c=o(95076),d=o(17583),u=o(26768),p=o(15677),f=o(41509),m=o(94273),y=o(35881),g=o(44452),h=o(48880),b=o(9277),v=o(67042),S=o(32503),w=o(14112),x=o(98489),P=o(94910),C=o(51408),T=o(83185),_=o(25392),k=o(53175),M=o(68832),O=o(54701),E=o(14358),B=o(27982),z=o(93528),I=o(48835),j=o(16931),L=o(14224),F=o(37895),N=o(29707),D=o(55998),R=o(15335),A=o(21499),H=o(39641),W=o(59981),V=o(82080),G=o(52329),U=o(31180),q=o(37802),$=o(5797),Y=o(76819),Q={"alert-dev":i.defaultValue,"animation-dev":a.defaultValue,"backgroundColor-dev":l.defaultValue,"border-dev":s.defaultValue,"boxShadow-dev":c.defaultValue,"button-dev":d.defaultValue,"codeMirror-dev":u.defaultValue,"colorPicker-dev":p.defaultValue,"corners-dev":f.defaultValue,"filters-dev":y.defaultValue,"fileUpload-dev":m.defaultValue,"gallery-dev":h.defaultValue,"gallery-for-gallery-dev":b.defaultValue,"grid-dev":S.defaultValue,"group-dev":w.defaultValue,"iconPicker-dev":x.defaultValue,"iconsPicker-dev":C.defaultValue,"iconSetter-dev":P.defaultValue,"imageUpload-dev":T.defaultValue,"inputText-dev":_.defaultValue,"internalLink-dev":k.defaultValue,"margin-dev":M.defaultValue,"motion-dev":O.defaultValue,"multiSelect-dev":E.defaultValue,"number-dev":B.defaultValue,"order-dev":z.defaultValue,"padding-dev":I.defaultValue,"paypal-dev":j.defaultValue,"popover-dev":L.defaultValue,"population-dev":r.defaultValue,"predefinedPopulation-dev":r.defaultValue,"radioGroup-dev":F.defaultValue,"range-dev":N.defaultValue,"select-dev":R.defaultValue,"sidebarTabs-dev":A.defaultValue,"sidebarTabsButton-dev":A.defaultValue,"slider-dev":H.defaultValue,"stateMode-dev":n.defaultValue,"switch-dev":W.defaultValue,"tabs-dev":V.defaultValue,"textarea-dev":U.defaultValue,"textShadow-dev":G.defaultValue,"toggle-dev":q.defaultValue,"transform-dev":$.defaultValue,"typography-dev":Y.defaultValue,"savedBlock-dev":D.defaultValue,"globalBlock-dev":v.defaultValue,"formApps-dev":g.defaultValue};function Z(e,t){const o=Q[t];return o?Object.entries(o).reduce(((t,o)=>{let[r,n]=o;return t[r]=Object.prototype.hasOwnProperty.call(e,r)?e[r]:n,t}),e):e}},11214:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{_filter:function(){return a},filter:function(){return l}});const r=o(12833),n={"alert-dev":void 0,"animation-dev":void 0,"backgroundColor-dev":void 0,"border-dev":void 0,"boxShadow-dev":void 0,"button-dev":void 0,"codeMirror-dev":void 0,"colorPicker-dev":void 0,"corners-dev":void 0,"fileUpload-dev":void 0,"filters-dev":void 0,"gallery-dev":void 0,"gallery-for-gallery-dev":void 0,"grid-dev":r.withColumns,"group-dev":r.withOptions,"iconPicker-dev":void 0,"iconsPicker-dev":void 0,"iconSetter-dev":void 0,"imageUpload-dev":void 0,"inputText-dev":void 0,"internalLink-dev":void 0,"margin-dev":void 0,"motion-dev":void 0,"multiSelect-dev":void 0,"number-dev":void 0,"order-dev":void 0,"padding-dev":void 0,"paypal-dev":void 0,"popover-dev":r.withOptions,"population-dev":void 0,"radioGroup-dev":void 0,"range-dev":void 0,"select-dev":void 0,"sidebarTabs-dev":r.withTabs,"sidebarTabsButton-dev":void 0,"slider-dev":void 0,"stateMode-dev":r.withOptions,"switch-dev":void 0,"tabs-dev":r.withTabs,"textarea-dev":void 0,"textShadow-dev":void 0,"toggle-dev":void 0,"typography-dev":void 0,"transform-dev":void 0,"savedBlock-dev":void 0,"globalBlock-dev":void 0,"formApps-dev":void 0,tabs:r.withTabs,grid:r.withColumns,popover:r.withOptions},i=e=>n[e];function a(e,t){if(!e(t))return;const o=i(t.type);return o?o((t=>a(e,t)),t):t}function l(){for(var e=arguments.length,t=new Array(e),o=0;oa(t[0],e):a(t[0],t[1])}},90020:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fromElementModel",{enumerable:!0,get:function(){return J}});const r=o(28342),n=o(11039),i=o(16055),a=o(15245),l=o(93999),s=o(1753),c=o(95076),d=o(17583),u=o(26768),p=o(15677),f=o(41509),m=o(94273),y=o(35881),g=o(44452),h=o(48880),b=o(9277),v=o(67042),S=o(32503),w=o(14112),x=o(98489),P=o(94910),C=o(51408),T=o(83185),_=o(25392),k=o(53175),M=o(68832),O=o(54701),E=o(14358),B=o(27982),z=o(93528),I=o(48835),j=o(16931),L=o(14224),F=o(56613),N=o(37895),D=o(29707),R=o(55998),A=o(15335),H=o(21499),W=o(58447),V=o(39641),G=o(59981),U=o(82080),q=o(52329),$=o(31180),Y=o(37802),Q=o(5797),Z=o(76819),K=o(12163),X={"alert-dev":i.fromElementModel,"animation-dev":a.fromElementModel,"backgroundColor-dev":l.fromElementModel,"border-dev":s.fromElementModel,"boxShadow-dev":c.fromElementModel,"button-dev":d.fromElementModel,"codeMirror-dev":u.fromElementModel,"colorPicker-dev":p.fromElementModel,"corners-dev":f.fromElementModel,"filters-dev":y.fromElementModel,"fileUpload-dev":m.fromElementModel,"gallery-dev":h.fromElementModel,"gallery-for-gallery-dev":b.fromElementModel,"grid-dev":S.fromElementModel,"group-dev":w.fromElementModel,"iconPicker-dev":x.fromElementModel,"iconsPicker-dev":C.fromElementModel,"iconSetter-dev":P.fromElementModel,"imageUpload-dev":T.fromElementModel,"inputText-dev":_.fromElementModel,"internalLink-dev":k.fromElementModel,"margin-dev":M.fromElementModel,"motion-dev":O.fromElementModel,"multiSelect-dev":E.fromElementModel,"number-dev":B.fromElementModel,"order-dev":z.fromElementModel,"padding-dev":I.fromElementModel,"paypal-dev":j.fromElementModel,"popover-dev":L.fromElementModel,"population-dev":r.fromElementModel,"predefinedPopulation-dev":F.fromElementModel,"radioGroup-dev":N.fromElementModel,"range-dev":D.fromElementModel,"select-dev":A.fromElementModel,"sidebarTabs-dev":H.fromElementModel,"sidebarTabsButton-dev":W.fromElementModel,"slider-dev":V.fromElementModel,"stateMode-dev":n.fromElementModel,"switch-dev":G.fromElementModel,"tabs-dev":U.fromElementModel,"textarea-dev":$.fromElementModel,"textShadow-dev":q.fromElementModel,"toggle-dev":Y.fromElementModel,"transform-dev":Q.fromElementModel,"typography-dev":Z.fromElementModel,"savedBlock-dev":R.fromElementModel,"globalBlock-dev":v.fromElementModel,"formApps-dev":g.fromElementModel},J=e=>t=>{const o=X[e]??(()=>({}));return(0,K.applyDefaultValueToOption)(o(t),e)}},10730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeOptionValueToAnimation",{enumerable:!0,get:function(){return s}});const r=o(15245),n=o(76753),i=o(69321),a=o(66559),l=o(24119),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hover";return(0,r.fromElementModel)((o=>(0,i.defaultValueValue)({v:e,key:(0,n.createOptionId)(t,o),device:a.DESKTOP,state:l.NORMAL})))}},83962:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{reduce:function(){return i},reduceR:function(){return a}});const r=o(93771),n={"alert-dev":void 0,"animation-dev":void 0,"backgroundColor-dev":void 0,"border-dev":void 0,"boxShadow-dev":void 0,"button-dev":void 0,"codeMirror-dev":void 0,"colorPicker-dev":void 0,"corners-dev":void 0,"fileUpload-dev":void 0,"filters-dev":void 0,"gallery-dev":void 0,"gallery-for-gallery-dev":void 0,"grid-dev":r.withColumns,"group-dev":r.withOptions,"iconPicker-dev":void 0,"iconsPicker-dev":void 0,"iconSetter-dev":void 0,"imageUpload-dev":void 0,"inputText-dev":void 0,"internalLink-dev":void 0,"margin-dev":void 0,"motion-dev":void 0,"multiSelect-dev":void 0,"number-dev":void 0,"order-dev":void 0,"padding-dev":void 0,"paypal-dev":void 0,"popover-dev":r.withOptions,"population-dev":void 0,"radioGroup-dev":void 0,"range-dev":void 0,"select-dev":void 0,"sidebarTabs-dev":r.withTabs,"sidebarTabsButton-dev":void 0,"slider-dev":void 0,"stateMode-dev":r.withOptions,"switch-dev":void 0,"tabs-dev":r.withTabs,"textarea-dev":void 0,"textShadow-dev":void 0,"toggle-dev":void 0,"typography-dev":void 0,"transform-dev":void 0,"savedBlock-dev":void 0,"globalBlock-dev":void 0,"formApps-dev":void 0,grid:r.withColumns,popover:r.withOptions};function i(e,t,o){const r=n[o.type];return r?r(((t,o)=>i(e,t,o)),e(t,o),o):e(t,o)}function a(e,t,o){const r=n[o.type];return e(r?r(((t,o)=>a(e,t,o)),t,o):t,o)}},26602:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toElementModel",{enumerable:!0,get:function(){return X}});const r=o(28342),n=o(11039),i=o(16055),a=o(15245),l=o(93999),s=o(1753),c=o(95076),d=o(17583),u=o(26768),p=o(15677),f=o(41509),m=o(94273),y=o(35881),g=o(44452),h=o(48880),b=o(9277),v=o(67042),S=o(32503),w=o(14112),x=o(98489),P=o(94910),C=o(51408),T=o(83185),_=o(25392),k=o(53175),M=o(68832),O=o(54701),E=o(14358),B=o(27982),z=o(93528),I=o(48835),j=o(16931),L=o(14224),F=o(56613),N=o(37895),D=o(29707),R=o(55998),A=o(15335),H=o(21499),W=o(58447),V=o(39641),G=o(59981),U=o(82080),q=o(52329),$=o(31180),Y=o(37802),Q=o(5797),Z=o(76819),K={"alert-dev":i.toElementModel,"animation-dev":a.toElementModel,"backgroundColor-dev":l.toElementModel,"border-dev":s.toElementModel,"boxShadow-dev":c.toElementModel,"button-dev":d.toElementModel,"codeMirror-dev":u.toElementModel,"colorPicker-dev":p.toElementModel,"corners-dev":f.toElementModel,"filters-dev":y.toElementModel,"fileUpload-dev":m.toElementModel,"gallery-dev":h.toElementModel,"gallery-for-gallery-dev":b.toElementModel,"grid-dev":S.toElementModel,"group-dev":w.toElementModel,"iconPicker-dev":x.toElementModel,"iconsPicker-dev":C.toElementModel,"iconSetter-dev":P.toElementModel,"imageUpload-dev":T.toElementModel,"inputText-dev":_.toElementModel,"internalLink-dev":k.toElementModel,"margin-dev":M.toElementModel,"motion-dev":O.toElementModel,"multiSelect-dev":E.toElementModel,"number-dev":B.toElementModel,"order-dev":z.toElementModel,"padding-dev":I.toElementModel,"paypal-dev":j.toElementModel,"popover-dev":L.toElementModel,"population-dev":r.toElementModel,"predefinedPopulation-dev":F.toElementModel,"radioGroup-dev":N.toElementModel,"range-dev":D.toElementModel,"select-dev":A.toElementModel,"sidebarTabs-dev":H.toElementModel,"sidebarTabsButton-dev":W.toElementModel,"slider-dev":V.toElementModel,"stateMode-dev":n.toElementModel,"switch-dev":G.toElementModel,"tabs-dev":U.toElementModel,"textarea-dev":$.toElementModel,"textShadow-dev":q.toElementModel,"toggle-dev":Y.toElementModel,"transform-dev":Q.toElementModel,"typography-dev":Z.toElementModel,"savedBlock-dev":R.toElementModel,"globalBlock-dev":v.toElementModel,"formApps-dev":g.toElementModel},X=(e,t)=>o=>{const r=K[e]??(()=>({}));return Object.entries(r(o)).reduce(((e,o)=>{let[r,n]=o;return e[t(r)]=n,e}),{})}},62973:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromUngrouped:function(){return o},fromGrouped:function(){return r},getType:function(){return n},setType:function(){return i},getValue:function(){return a},setValue:function(){return l},getUnit:function(){return s},setUnit:function(){return c},getTop:function(){return d},setTop:function(){return u},getTopUnit:function(){return p},setTopUnit:function(){return f},getRight:function(){return m},setRight:function(){return y},getRightUnit:function(){return g},setRightUnit:function(){return h},getBottom:function(){return b},setBottom:function(){return v},getBottomUnit:function(){return S},setBottomUnit:function(){return w},getLeft:function(){return x},setLeft:function(){return P},getLeftUnit:function(){return C},setLeftUnit:function(){return T}});const o=e=>({...e,type:"grouped",value:e.tempValue,unit:e.tempUnit,tempTop:e.top,tempTopUnit:e.topUnit,tempRight:e.right,tempRightUnit:e.rightUnit,tempBottom:e.bottom,tempBottomUnit:e.bottomUnit,tempLeft:e.left,tempLeftUnit:e.leftUnit}),r=e=>({...e,type:"ungrouped",tempValue:e.value,tempUnit:e.unit,top:e.tempTop,topUnit:e.tempTopUnit,right:e.tempRight,rightUnit:e.tempRightUnit,bottom:e.tempBottom,bottomUnit:e.tempBottomUnit,left:e.tempLeft,leftUnit:e.tempLeftUnit}),n=e=>e.type;function i(e,t){switch(e){case"ungrouped":return"grouped"===t.type?r(t):t;case"grouped":return"ungrouped"===t.type?o(t):t}}const a=e=>e.value,l=(e,t)=>({...t,value:e,top:e,right:e,bottom:e,left:e,tempTop:e,tempRight:e,tempBottom:e,tempLeft:e,tempTopUnit:t.unit,tempRightUnit:t.unit,tempBottomUnit:t.unit,tempLeftUnit:t.unit}),s=e=>e.unit,c=(e,t)=>({...t,unit:e,topUnit:e,rightUnit:e,bottomUnit:e,leftUnit:e,tempTop:t.value,tempRight:t.value,tempBottom:t.value,tempLeft:t.value,tempTopUnit:e,tempRightUnit:e,tempBottomUnit:e,tempLeftUnit:e}),d=e=>e.top,u=(e,t)=>({...t,top:e,tempTop:e}),p=e=>e.topUnit,f=(e,t)=>({...t,topUnit:e,tempTopUnit:e}),m=e=>e.right,y=(e,t)=>({...t,right:e,tempRight:e}),g=e=>e.rightUnit,h=(e,t)=>({...t,rightUnit:e,tempRightUnit:e}),b=e=>e.bottom,v=(e,t)=>({...t,bottom:e,tempBottom:e}),S=e=>e.bottomUnit,w=(e,t)=>({...t,bottomUnit:e,tempBottomUnit:e}),x=e=>e.left,P=(e,t)=>({...t,left:e,tempLeft:e}),C=e=>e.leftUnit,T=(e,t)=>({...t,leftUnit:e,tempLeftUnit:e})},48738:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{units:function(){return n},is:function(){return i},fromString:function(){return a}});const r=o(49863),n=["px","%"],i=e=>n.includes(e),a=(0,r.pass)(i)},20059:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{types:function(){return n},is:function(){return i},fromString:function(){return a}});const r=o(49863),n=["grouped","ungrouped"],i=e=>n.includes(e),a=(0,r.pass)(i)},12833:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{withOptions:function(){return n},withTabs:function(){return i},withColumns:function(){return a}});const r=o(22741),n=(e,t)=>{const o=t.options?.map(e).filter(r.isT);return o?.length?{...t,options:o}:void 0},i=(e,t)=>{const o=t.tabs?.map((t=>({...t,options:t.options?.map(e).filter(r.isT)}))).filter((e=>(e.options?.length??0)>0)),n=o?.reduce(((e,t)=>(t.options?.length??0)+e),0)??0;return n>0?{...t,tabs:o}:void 0},a=(e,t)=>{const o=t.columns?.map((t=>({...t,options:t.options?.map(e).filter(r.isT)}))).filter((e=>(e.options?.length??0)>0)),n=o?.reduce(((e,t)=>(t.options?.length??0)+e),0)??0;return n>0?{...t,columns:o}:void 0}},55555:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{mergeOptions:function(){return r.default},optionTraverse:function(){return n.default},isOption:function(){return l},optionMap:function(){return s}});const r=a(o(39147)),n=a(o(16869)),i=o(92636);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>(0,i.hasProps)(["id","type"],e),s=(e,t)=>l(t)?(0,i.map)(s.bind(null,e),e(t)):(0,i.map)(s.bind(null,e),t)},39147:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{mergeOptions:function(){return i},default:function(){return s}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;function i(e,t){let o=!1;for(let i=0;i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(55555);function n(e,t){(0,r.isOption)(e)&&t(e);for(let o in e)e.hasOwnProperty(o)&&"object"==typeof e[o]&&null!==e[o]&&n(e[o],t)}},93771:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{withOptions:function(){return o},withTabs:function(){return r},withColumns:function(){return n}});const o=(e,t,o)=>o.options?.reduce(e,t)??t,r=(e,t,o)=>o.tabs?.reduce(((o,r)=>r.options?.reduce(e,o)??t),t)??t,n=(e,t,o)=>o.columns?.reduce(((o,r)=>r.options?.reduce(e,o)??t),t)??t},71329:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(27378),n=a(o(31542)),i=a(o(10301));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.Component{static defaultProps={delay:1e3,onEnter:i.default.noop,onEnterSuccess:i.default.noop,onLeave:i.default.noop,onLeaveSuccess:i.default.noop};isMount=!0;timeoutId=null;enterSuccess=!1;componentDidMount(){this.isMount=!0;const e=n.default.findDOMNode(this);e.addEventListener("mouseenter",this.handleMouseEnter),e.addEventListener("mouseleave",this.handleMouseLeave)}componentWillUnmount(){this.isMount=!1;const e=n.default.findDOMNode(this);e.removeEventListener("mouseenter",this.handleMouseEnter),e.removeEventListener("mouseleave",this.handleMouseLeave)}handleMouseEnter=()=>{this.props.onEnter(),this.timeoutId=setTimeout(this.handleMouseEnterTimeout,this.props.delay),this.enterSuccess=!1};handleMouseEnterTimeout=()=>{this.isMount&&(this.enterSuccess=!0,this.props.onEnterSuccess())};handleMouseLeave=()=>{this.props.onLeave(),clearTimeout(this.timeoutId),this.enterSuccess&&this.props.onLeaveSuccess()};render(){return this.props.children}}},48288:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(10301)),i=u(o(60042)),a=u(o(71329)),l=o(46338),s=u(o(61452)),c=o(94306),d=o(33935);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}let f,m,y=0;class g extends r.Component{static defaultProps={position:"",value:"",tabletValue:"",mobileValue:"",onDrag:n.default.noop,onDragEnd:n.default.noop};isDragging=!1;state={active:!1};containerRef=r.default.createRef();componentDidMount(){y++,1===y&&this.containerRef?.current.ownerDocument.addEventListener("mousemove",this.handleDocMove)}componentWillUnmount(){y--,0===y&&this.containerRef?.current.ownerDocument.removeEventListener("mousemove",this.handleDocMove)}handleDocMove(e){f=e.clientX,m=e.clientY}handleMouseEnterSuccess=()=>{o.g.BRZ_IS_DRAGGING||this.setState({active:!0})};handleMouseLeaveSuccess=()=>{this.isDragging||this.setState({active:!1})};handleDragStart=()=>{const{onStart:e}=this.props;this.isDragging=!0,"function"==typeof e&&e(),this.state.active||this.setState({active:!0})};handleDrag=e=>{this.state.active&&this.props.onDrag(e)};handleDragEnd=()=>{const{onEnd:e}=this.props;if("function"==typeof e&&e(),!this.state.active)return;const t=this.containerRef.current;this.isDragging=!1,this.setState({active:(0,d.isInsideRect)(f,m,t?.getBoundingClientRect())},(()=>{setTimeout((()=>{t&&this.state.active&&!(0,d.isInsideRect)(f,m,t?.getBoundingClientRect())&&this.setState({active:!1})}),200)})),this.props.onDragEnd()};render(){const{position:e,value:t,tabletValue:o,mobileValue:n}=this.props,l=(0,i.default)("brz-ed-draggable__padding",{"brz-ed-draggable__padding--top":"top"===e,"brz-ed-draggable__padding--bottom":"bottom"===e,"brz-ed-draggable__padding--active":this.state.active});return r.default.createElement(a.default,{delay:500,onEnterSuccess:this.handleMouseEnterSuccess,onLeave:this.handleMouseLeaveSuccess},r.default.createElement(s.default,{draggingCursor:"ns-resize",onDragStart:this.handleDragStart,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd},((e,a)=>r.default.createElement("div",{ref:t=>{(0,c.attachRef)(t,this.containerRef),(0,c.attachRef)(t,e)},className:(0,i.default)("brz-ed-draggable",a,l)},r.default.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--desktop-value"},t),r.default.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--tablet-value"},o),r.default.createElement("span",{className:"brz-ed-draggable__padding--value brz-ed-draggable__padding--mobile-value"},n)))))}}const h=(0,l.rolesHOC)({allow:["admin"],component:g,fallbackRender:e=>{let{position:t}=e;const o=(0,i.default)({"brz-ed-draggable__padding--top":"top"===t,"brz-ed-draggable__padding--bottom":"bottom"===t});return r.default.createElement("div",{className:o})}})},38693:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(92213),i=(a=o(48288))&&a.__esModule?a:{default:a};var a;function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}class s extends r.Component{startPosition=null;handleTopDrag=e=>{this.handleDrag("paddingTop",e)};handleBottomDrag=e=>{this.handleDrag("paddingBottom",e)};handleDrag=(e,t)=>{let{deltaY:o}=t;const r=this.props.value,{deviceMode:i}=(0,n.getStore)().getState().ui;if(e="grouped"===r.paddingType?"padding":e,"tablet"===i){const t=(e="grouped"===r.tabletPaddingType?"padding":e).charAt(0).toUpperCase()+e.slice(1);e=`tablet${t}`}if("mobile"===i){const t=(e="grouped"===r.mobilePaddingType?"padding":e).charAt(0).toUpperCase()+e.slice(1);e=`mobile${t}`}this.startPosition=this.startPosition||r[e];const a=Math.max(15,this.startPosition+o);let l={};switch(e){case"paddingTop":l={paddingType:"ungrouped",paddingTop:a};break;case"paddingBottom":l={paddingType:"ungrouped",paddingBottom:a};break;case"tabletPaddingTop":l={tabletPaddingType:"ungrouped",tabletPaddingTop:a};break;case"tabletPaddingBottom":l={tabletPaddingType:"ungrouped",tabletPaddingBottom:a};break;case"mobilePaddingTop":l={mobilePaddingType:"ungrouped",mobilePaddingTop:a};break;case"mobilePaddingBottom":l={mobilePaddingType:"ungrouped",mobilePaddingBottom:a};break;case"padding":l={paddingType:"ungrouped",paddingTop:r[e],paddingBottom:r[e],[e]:a};break;case"tabletPadding":l={tabletPaddingType:"ungrouped",tabletPaddingTop:r[e],tabletPaddingBottom:r[e],[e]:a};break;case"mobilePadding":l={mobilePaddingType:"ungrouped",mobilePaddingTop:r[e],mobilePaddingBottom:r[e],[e]:a}}this.props.onChange(l)};handleDragEnd=()=>{this.startPosition=null};renderForEdit(){let{padding:e,tabletPadding:t,mobilePadding:o,paddingType:n,tabletPaddingType:a,mobilePaddingType:l,paddingTop:s,paddingBottom:c,tabletPaddingTop:d,tabletPaddingBottom:u,mobilePaddingTop:p,mobilePaddingBottom:f}=this.props.value;const{onStart:m,onEnd:y}=this.props;return"grouped"===n&&(s=c=e),"grouped"===a&&(d=u=t),"grouped"===l&&(p=f=o),r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default,{position:"top",onStart:m,onEnd:y,onDrag:this.handleTopDrag,onDragEnd:this.handleDragEnd,value:`${s}px`,tabletValue:`${d}px`,mobileValue:`${p}px`}),this.props.children,r.default.createElement(i.default,{position:"bottom",onStart:m,onEnd:y,onDrag:this.handleBottomDrag,onDragEnd:this.handleDragEnd,value:`${c}px`,tabletValue:`${u}px`,mobileValue:`${f}px`}))}renderForView(){return this.props.children}render(){return this.renderForEdit()}}},53125:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(60042)),i=o(73948);function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{static defaultProps={className:"",icon:"",style:{},type:"editor"};render(){const{className:e,icon:t,style:o,type:a}=this.props,l=(0,n.default)("brz-shortcode__placeholder",e);return r.default.createElement("div",{className:l,style:o},r.default.createElement(i.ThemeIcon,{name:t,type:a}))}}},10547:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(31542))&&i.__esModule?i:{default:i};var i;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{componentDidMount(){n.default.findDOMNode(this).addEventListener("mousedown",this.onMouseDown)}onMouseDown=()=>{window.parent.document.addEventListener("mouseup",this.onMouseUp),window.parent.document.querySelector("#brz-ed-iframe").style.pointerEvents="none"};onMouseUp=()=>{window.parent.document.removeEventListener("mouseup",this.onMouseUp),window.parent.document.querySelector("#brz-ed-iframe").style.removeProperty("pointer-events")};render(){return r.default.Children.only(this.props.children)}}},21107:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(27378),n=o(31542);function i(e){let{className:t,node:o,children:i}=e;const a=(0,r.useRef)(null);if(null===a.current||a.current.parentElement!==o){const e=o.ownerDocument.createElement("div");t&&(e.className=t),o.appendChild(e),a.current=e}return(0,r.useEffect)((()=>()=>{a.current&&o.removeChild(a.current)}),[o]),(0,r.useEffect)((()=>{a.current&&(t?a.current.className=t:a.current.removeAttribute("class"))}),[t]),a.current?(0,n.createPortal)(i,a.current):null}},5264:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProBlocked",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(60042)),i=s(o(22546)),a=o(64985),l=o(73948);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{const{className:t,absolute:o,text:s,onRemove:c}=e,d=(0,n.default)("brz-element__pro",{"brz-element__pro--absolute":o},t),u=(0,r.useCallback)((e=>{e.preventDefault(),c?.()}),[c]);return r.default.createElement("div",{className:d},r.default.createElement("p",{className:"brz-p brz-element__pro-title"},r.default.createElement("span",null,(0,a.t)("Upgrade to PRO to use this")),r.default.createElement("strong",null," ",s," "),r.default.createElement("span",null,(0,a.t)("element"))),"function"==typeof c&&r.default.createElement("p",{className:"brz-p brz-element__pro-removed"},(0,a.t)("or")," ",r.default.createElement("a",{className:"brz-a",href:"#",onClick:u},(0,a.t)("remove this element"))),r.default.createElement("div",{className:"brz-element__pro-lock"},r.default.createElement(l.ThemeIcon,{type:"editor",name:"lock"})),r.default.createElement("a",{className:"brz-a brz-element__pro-link",href:i.default.getAll().urls.upgradeToPro,rel:"noopener noreferrer",target:"_blank"},r.default.createElement("strong",null,(0,a.t)("Get a PRO plan"))))}},94979:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProInfo",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=o(64985),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{text:t,url:o}=e;return r.default.createElement("div",{className:"brz-ed-tooltip-content__pro"},r.default.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-title"},t),r.default.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-body"},r.default.createElement("a",{className:"brz-a",href:o,rel:"noopener noreferrer",target:"_blank"},r.default.createElement(i.default,{icon:"nc-lock"}),(0,n.t)("Get a PRO plan"))))}},85326:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromiseComponent",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}function i(e,t){switch(t.type){case"wait":if("delay"===e.status)return{status:"waiting"};break;case"resolve":if("delay"===e.status||"waiting"===e.status)return{status:"resolved",value:t.value};break;case"reject":if("delay"===e.status||"waiting"===e.status)return{status:"rejected",reason:t.reason}}return e}function a(e){let{getPromise:t,renderResolved:o,renderRejected:n,renderWaiting:a,delayMs:l=0}=e;const s=l&&l>0,[c,d]=(0,r.useReducer)(i,{status:s?"delay":"waiting"});return(0,r.useEffect)((()=>{let e,o=!1;return s&&(e=window.setTimeout((()=>{o||d({type:"wait"})}),l)),t().then((t=>{o||(clearTimeout(e),d({type:"resolve",value:t}))})).catch((t=>{o||(clearTimeout(e),d({type:"reject",reason:t}))})),()=>{o=!0}}),[l,t,s]),"waiting"===c.status&&a?a():"resolved"===c.status?o(c.value):"rejected"===c.status&&n?n(c.reason):null}},40687:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),n=c(o(10301)),i=o(65631),a=c(o(60042)),l=c(o(24072)),s=c(o(21107));function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{const{className:t,opened:o,children:n,onClose:c}=e,d=(0,a.default)("brz-ed-fixed",t);return r.default.createElement(s.default,{node:window.parent.document.body},r.default.createElement(i.CSSTransition,{in:o,classNames:"brz-ed-fade",timeout:150},o?r.default.createElement("div",{className:d},r.default.createElement(l.default,{keyNames:["esc"],id:"key-helper-prompt-esc",onKeyUp:c}),r.default.createElement("div",{className:"brz-ed-fixed-overlay",onClick:c}),r.default.createElement("div",{className:"brz-ed-fixed-scroll"},n)):r.default.createElement("span",null)))};d.defaultProps={className:"",opened:!1,onClose:n.default.noop};const u=d},11210:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(2521),a=o(92982),l=o(64215),s=(c=o(31688))&&c.__esModule?c:{default:c};var c;const d=o(64187);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=[{name:"appid",title:"App ID"}];class f extends r.Component{static contextType=l.Context;constructor(e,t){super(e);const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return p.reduce(((e,t)=>{let{name:o}=t;return{...e,[`${o}`]:""}}),{})}handleChange=(e,t)=>{this.setState((o=>{let{apiKeyValue:r}=o;return{apiKeyValue:{...r,[`${t}`]:e.trim()}}}))};handleConnect=async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,r=Object.values(o);if(this.setState({nextLoading:!0,error:null}),r.some((e=>!e)))await(0,d.pendingRequest)(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:i,group:l,id:c}=e,[d]=r;if(!await(0,s.default)(d))return void this.setState({isValidate:!1,error:"Your AppId is no valid, re check and try again",nextLoading:!1});if(i&&i.id){const{status:e}=await(0,a.deleteAccount)(i.id);200!==e&&this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")})}const{status:u}=await(0,a.addAccount)({service:c,group:l,...o});200!==u?this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")}):t()}};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,d.pendingRequest)(),this.context.onChangePrev()};render(){const{app:e}=this.context,{apiKeyValue:t,nextLoading:o,prevLoading:n,error:a}=this.state,l=p.map((e=>{let{title:o,name:r}=e;return{title:o,name:r,value:t[r]}}));return r.default.createElement(i.Connect,{...e,data:l,nextLoading:o,prevLoading:n,error:a,onChange:this.handleChange,onNext:this.handleConnect,onPrev:this.handlePrev})}}const m=f},52184:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(11210)),n=l(o(96324)),i=l(o(64656)),a=o(18858);function l(e){return e&&e.__esModule?e:{default:e}}class s extends a.BaseApp{static connect=r.default;static disconnect=n.default;static done=i.default}const c=s},31688:(e,t)=>{"use strict";async function o(e){try{return await(t=e,fetch(`https://graph.facebook.com/${t}`).then((e=>{let{status:t}=e;return 200===t})))}catch(e){return!1}var t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}})},75994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"facebook",{enumerable:!0,get:function(){return r.default}});const r=(n=o(52184))&&n.__esModule?n:{default:n};var n},21600:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=c(o(13556)),n=o(4820),i=o(64187),a=c(o(73151)),l=o(92982),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(75994));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends a.default{appsData=[];appsComponent=s;async componentDidMount(){const e=(0,n.assetUrl)("integrations.json"),t=await fetch(e),o=await t.json();this.appsData=o.facebook,await this.getData()}async getData(){const{group:e,service:t}=this.props,{status:o,data:n}=await(0,l.getAccounts)({group:e,services:t});if(n&&n.length>0&&200===o){const e=n[0],{services:t}=e;this.setState((0,r.default)((o=>{o.data[t]={data:e},o.loading=!1,o.connectedApps=[t]})))}else this.setState({loading:!1})}handleConnectApp=async e=>{const t=e.id,{stages:o}=this.appsData[0];await(0,i.pendingRequest)(),this.setState((0,r.default)((r=>{r.stages=o,r.connectedApp=t,Object.assign(r.data[t],e)})),(()=>{this.handleNext()}))}}const p=u},96324:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64187),i=o(64985),a=o(64215),l=o(2521),s=o(92982);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static contextType=a.Context;constructor(e){super(e),this.state={nextLoading:!1,prevLoading:!1,error:null}}handleNext=async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:r}=await(0,s.deleteAccount)(e.data.id);200===r?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")})};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,n.pendingRequest)(),this.context.onChangePrev("appList")};render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return r.default.createElement(l.Disconnect,{...this.context.app,descriptions:`${(0,i.t)("Are you sure you want to delete your account?")}`,nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext})}}const u=d},64656:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64215),i=o(2521);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{static contextType=n.Context;handleClose=()=>{this.props.onClose()};render(){const{app:e}=this.context;return r.default.createElement(i.Done,{...e,onNext:this.handleClose})}}const s=l},84320:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(10301),i=o(64985),a=s(o(76290)),l=s(o(21600));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=[{id:"app",title:(0,i.t)("APPS"),icon:"nc-extensions-2",component:l.default}];class u extends r.Component{static defaultProps={service:"facebook",group:"social",opened:!1,onClose:n.noop};render(){const{service:e,group:t,opened:o,onClose:n}=this.props;return r.default.createElement(a.default,{currentTab:"app",service:e,group:t,opened:o,tabs:d,onClose:n})}}const p=u},75164:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=x(o(60042)),n=x(o(13556)),i=C(o(27378)),a=x(o(27998)),l=o(23884),s=o(10301),c=o(40010),d=x(o(3518)),u=o(96101),p=o(4883),f=o(7741),m=o(80029),y=C(o(22546)),g=o(74215),h=o(64187),b=o(4820),v=o(64985),S=o(24978),w=o(26458);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const T={updateAuthorization:g.updateAuthorization,updateSyncAllowed:g.updateSyncAllowed},_=(0,l.connect)(null,T),k=[{title:"username",name:"username",required:!0},{title:"password",name:"password",type:"password",required:!0}];class M extends i.Component{static defaultProps={className:"",onSuccess:s.noop,onSkip:s.noop,onClose:s.noop,onLoading:s.noop};state={data:null,loading:!0,nextLoading:!1,prevLoading:!1,recoverLoading:!1,notice:null,formData:{username:"",password:"",recoverEmail:""}};async componentDidMount(){const e=(0,b.assetUrl)("integrations.json"),t=await fetch(e),{cloudAuthorization:o}=await t.json(),{onLoading:r}=this.props;this.setState({data:o,loading:!1}),r&&r(!1)}handleChange=(e,t)=>{this.setState((0,n.default)((o=>{o.formData[e]=t})))};handleConnect=()=>{const{username:e,password:t}=this.state.formData,{onSuccess:o,onClose:r,updateAuthorization:n,updateSyncAllowed:i}=this.props;this.setState({notice:null,nextLoading:!0}),e.trim()&&t.trim()?(0,w.signIn)({password:t,email:e}).then((e=>{if(!e.status||e.status>=400)throw e;n("connected"),(0,S.setAuthorized)("connected"),(0,y.isWp)(y.default.getAll())&&(0,w.checkCompatibility)().then((e=>{const{status:t,data:o}=e||{};!t||t>=400?console.warn("Something went wrong",e):o?.isSyncAllowed&&i(!0)})),o?.(),r?.()})).catch((e=>{this.setState({nextLoading:!1,notice:{message:(0,v.t)("Incorrect username or password"),type:"error"}})})):this.setState({nextLoading:!1,notice:{message:(0,v.t)("Incorrect username or password"),type:"error"}})};handleSkip=async()=>{const{onSkip:e,onClose:t,updateAuthorization:o}=this.props;this.setState({prevLoading:!0}),await(0,h.pendingRequest)(),this.setState({prevLoading:!1}),o("pending"),(0,S.setAuthorized)("pending"),e&&e(),t&&t()};handleRecover=async()=>{const{recoverEmail:e}=this.state.formData;this.setState({notice:null,recoverLoading:!0}),(0,m.validateEmail)(e)?e.trim()?(0,w.recoveryEmail)(e).then((e=>{if(!e.status||e.status>=400)throw e;this.setState({recoverLoading:!1,notice:{message:(0,v.t)("Check your email address"),type:"success"}})})).catch((e=>{this.setState({recoverLoading:!1,notice:{message:(0,v.t)("Failed to reset password"),type:"error"}})})):(await(0,h.pendingRequest)(),this.setState({recoverLoading:!1,notice:{message:(0,v.t)("Email to recover password cannot be empty"),type:"error"}})):this.setState({recoverLoading:!1,notice:{message:(0,v.t)("The email address format is not valid"),type:"error"}})};renderLoading(){return i.default.createElement(f.Loading,null)}renderNotice(){const{notice:e}=this.state;if(null!==e){const{message:t,type:o}=e;return i.default.createElement(c.Alert,{message:t,type:o})}}renderContent(){if(this.state.data){const{data:{signInDescription:e},formData:{recoverEmail:t},notice:o,nextLoading:r,prevLoading:n,recoverLoading:l}=this.state;return i.default.createElement(a.default,{className:"brz-text-lg-center"},i.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},i.default.createElement(u.Spacer,{space:"73px"}),i.default.createElement("p",{className:"brz-p"},e)),i.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},o&&this.renderNotice(),k.map(((e,t)=>{let{title:o,name:r,required:n,type:a="text"}=e;return i.default.createElement(d.default,{key:t,title:o,type:a,value:`${this.state.formData[r]??""}`,required:n,onChange:e=>{let{target:t}=e;this.handleChange(r,t.value)}})})),i.default.createElement("div",{className:"brz-ed-popup-authorization__buttons"},i.default.createElement(p.Button,{color:"teal",loading:r,onClick:this.handleConnect},(0,v.t)("Connect")),i.default.createElement(p.Button,{color:"default",loading:n,onClick:this.handleSkip},(0,v.t)("Skip"))),i.default.createElement(d.default,{title:"Email to recover password",icon:"nc-right-arrow-tail",loading:l,value:t,onChange:e=>{let{target:t}=e;this.handleChange("recoverEmail",t.value)},onClickIcon:this.handleRecover})))}}render(){const e=(0,r.default)("brz-ed-popup-authorization",this.props.className);return i.default.createElement("div",{className:e},this.state.loading?this.renderLoading():this.renderContent())}}const O=_(M)},14380:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});const r=P(o(60042)),n=P(o(13556)),i=T(o(27378)),a=P(o(27998)),l=o(23884),s=o(10301),c=o(40010),d=T(o(31916)),u=P(o(3518)),p=o(96101),f=P(o(33364)),m=o(4883),y=o(7741),g=T(o(22546)),h=o(74215),b=o(4820),v=o(64985),S=o(24978),w=o(80029),x=o(26458);function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const _=[{title:"first name",name:"firstName",required:!0},{title:"last name",name:"lastName",required:!0},{title:"email",name:"email",required:!0},{title:"password",name:"password",type:"password",required:!0},{title:"Confirm Password",name:"confirmPassword",type:"password",required:!0}],k={updateAuthorization:h.updateAuthorization,updateSyncAllowed:h.updateSyncAllowed},M=(0,l.connect)(null,k);class O extends i.Component{static defaultProps={className:"",onSuccess:s.noop,onSkip:s.noop,onClose:s.noop,onLoading:s.noop};state={data:null,notice:null,nextLoading:!1,loading:!0,formData:{firstName:"",lastName:"",email:"",password:"",confirmPassword:"",termsCondition:!1}};async componentDidMount(){const e=(0,b.assetUrl)("integrations.json"),t=await fetch(e),{cloudAuthorization:o}=await t.json(),{onLoading:r}=this.props;this.setState({data:o,loading:!1}),r&&r(!1)}handleChange=(e,t)=>{this.setState((0,n.default)((o=>{o.formData[e]=t})))};handleConnect=async()=>{const{onSuccess:e,onClose:t,updateAuthorization:o,updateSyncAllowed:r}=this.props,{email:n,password:i,confirmPassword:a,firstName:l,lastName:s,termsCondition:c}=this.state.formData;c?(0,w.validateEmail)(n)?i===a?(this.setState({notice:null,nextLoading:!0}),n.trim()&&i.trim()&&a.trim()&&l.trim()&&s.trim()?(0,x.signUp)({firstName:l,lastName:s,email:n,password:i,confirmPassword:a}).then((n=>{if(!n.status||n.status>=400)throw n;o("connected"),(0,S.setAuthorized)("connected"),(0,g.isWp)(g.default.getAll())&&(0,x.checkCompatibility)().then((e=>{const{status:t,data:o}=e||{};!t||t>=400?console.warn("Something went wrong",e):o?.isSyncAllowed&&r(!0)})),e?.(),t?.()})).catch((e=>{this.setState({nextLoading:!1,notice:{message:(0,v.t)("Something went wrong"),type:"error"}})})):this.setState({nextLoading:!1,notice:{message:(0,v.t)("All fields cannot be empty"),type:"error"}})):this.setState({nextLoading:!1,notice:{message:(0,v.t)("Password and confirm password is not the same"),type:"error"}}):this.setState({nextLoading:!1,notice:{message:(0,v.t)("The email address format is not valid"),type:"error"}}):this.setState({nextLoading:!1,notice:{message:(0,v.t)("Agree Terms & Conditions"),type:"error"}})};renderLoading(){return i.default.createElement(y.Loading,null)}renderNotice(){const{notice:e}=this.state;if(e){const{message:t,type:o}=e;return i.default.createElement(c.Alert,{message:t,type:o})}}renderContent(){if(this.state.data){const{data:{signUpDescription:e},nextLoading:t}=this.state;return i.default.createElement(a.default,{className:"brz-text-lg-center"},i.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},i.default.createElement(p.Spacer,{space:"17px"}),i.default.createElement("p",{className:"brz-p"},e)),i.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},this.renderNotice(),_.map(((e,t)=>{let{title:o,name:r,required:n,type:a="text"}=e;return i.default.createElement(u.default,{key:t,title:o,type:a,value:`${this.state.formData[r]??""}`,required:n,onChange:e=>{let{target:t}=e;this.handleChange(r,t.value)}})})),i.default.createElement(d.default,{className:"brz-ed-popup-authorization__terms",defaultValue:{termsCondition:this.state.formData.termsCondition},onChange:e=>{let{termsCondition:t}=e;this.handleChange("termsCondition",t)}},i.default.createElement(d.CheckGroupItem,{value:"termsCondition",renderIcons:e=>{let{active:t}=e;return t?i.default.createElement(f.default,{icon:"nc-check-alt"}):i.default.createElement(f.default,{icon:"nc-uncheck-alt"})}},i.default.createElement("a",{className:"brz-a",href:"https://www.brizy.io/terms-and-conditions",target:"_blank",rel:"noreferrer"},(0,v.t)("I agree with Terms & Conditions")))),i.default.createElement("div",{className:"brz-ed-popup-authorization__buttons"},i.default.createElement(m.Button,{color:"teal",loading:t,onClick:this.handleConnect},(0,v.t)("Create Account & Connect")))))}}render(){const e=(0,r.default)("brz-ed-popup-authorization",this.props.className);return i.default.createElement("div",{className:e},this.state.loading?this.renderLoading():this.renderContent())}}const E=M(O)},26458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{signIn:function(){return l},signUp:function(){return s},recoveryEmail:function(){return c},logout:function(){return d},sync:function(){return u},checkCompatibility:function(){return p}});const r=o(80029),n=(i=o(22546))&&i.__esModule?i:{default:i};var i;const a=o(64187),l=e=>{const{hash:t,url:o,cloudSignIn:i}=n.default.get("wp").api,l=n.default.get("editorVersion"),s=(0,r.makeUrl)(o,{hash:t,version:l,action:i});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(r.parseJSON).then((e=>e))},s=e=>{const{hash:t,url:o,cloudSignUp:i}=n.default.get("wp").api,l=n.default.get("editorVersion"),s=(0,r.makeUrl)(o,{hash:t,version:l,action:i});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(r.parseJSON).then((e=>e))},c=e=>{const{hash:t,url:o,cloudResetPassword:i}=n.default.get("wp").api,l=n.default.get("editorVersion"),s=(0,r.makeUrl)(o,{hash:t,version:l,action:i});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({email:e})}).then(r.parseJSON).then((e=>e))},d=()=>{const{hash:e,url:t,cloudSignOut:o}=n.default.get("wp").api,i=n.default.get("editorVersion"),l=(0,r.makeUrl)(t,{hash:e,version:i,action:o});return(0,a.request)(l,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(r.parseJSON).then((e=>e))},u=()=>{const{hash:e,url:t,cloudSync:o}=n.default.get("wp").api,i=n.default.get("editorVersion"),l=(0,r.makeUrl)(t,{hash:e,version:i,action:o});return new Promise(((e,t)=>{(0,a.request)(l,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,r.parseJSON)(e))).then((o=>{const{status:r,data:n}=o;if(!r||r>=400)throw o;{const{synchronized:r}=n;0===r?e(o):u().then(e).catch(t)}})).catch(t)}))},p=()=>{const{hash:e,url:t,cloudSyncAllowed:o}=n.default.get("wp").api,i=n.default.get("editorVersion"),l=(0,r.makeUrl)(t,{hash:e,version:i,action:o});return(0,a.request)(l,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(r.parseJSON).then((e=>e))}},81941:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),n=o(64985),i=s(o(76290)),a=s(o(75164)),l=s(o(14380));function s(e){return e&&e.__esModule?e:{default:e}}const c=[{id:"signIn",title:(0,n.t)("Cloud"),icon:"nc-upload",component:a.default},{id:"signUp",title:(0,n.t)("Sign Up"),icon:"nc-add",component:l.default}],d=e=>{let{opened:t,onClose:o}=e;return r.default.createElement(i.default,{opened:t,tabs:c,currentTab:"signIn",onClose:o})}},60464:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(27378)),n=m(o(10301)),i=m(o(27998)),a=m(o(33364)),l=m(o(97023)),s=m(o(65961)),c=g(o(41815)),d=m(o(68658)),u=m(o(25859)),p=m(o(7416)),f=o(64985);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}let h={type:0,category:"*",search:""};class b extends r.Component{static defaultProps={showSidebar:!0,showSearch:!0,loading:!1,kits:[],styles:[],types:[],categories:[],blocks:[],HeaderSlotLeft:n.default.noop,onAddBlocks:n.default.noop,onClose:n.default.noop,onChange:n.default.noop,onChangeKit:n.default.noop};filterData=(e,t)=>{const o=t.type===e.type,r="*"===t.category||e.cat.includes(Number(t.category)),n=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords);return o&&r&&n};getTypesCounters(){const{blocks:e,types:t}=this.props,o=t.reduce(((e,t)=>{let{id:o}=t;return Object.assign(e,{[o]:0})}),{});return e.forEach((e=>{let{type:t}=e;o[t]++})),o}getCategoriesCounter(e){let{blocks:t,types:o,showType:r}=this.props,n=t.length;return r&&o.length&&(t=t.filter((t=>t.type===e)),n=t.length),t.reduce(((e,t)=>{let{cat:o}=t;return o.forEach((t=>{e[t]?Object.assign(e,{[t]:++e[t]}):Object.assign(e,{[t]:1})})),e}),{"*":n})}renderLoading(){const{showSidebar:e,showSearch:t,HeaderSlotLeft:o}=this.props;return r.default.createElement(r.default.Fragment,null,t&&r.default.createElement(o,null,r.default.createElement(d.default,{className:"brz-ed-popup-two-header__search"})),e&&r.default.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),r.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}render(){const{loading:e,kits:t,blocks:o,types:n,categories:a,selectedKit:m,showSearch:y,showSidebar:g,HeaderSlotLeft:b,onChangeKit:v,onChange:S}=this.props;if(e)return this.renderLoading();const w=t.filter((e=>{let{id:t}=e;return t!==m})).length>0,x=n.length>0,P=a.length>0;return r.default.createElement(u.default,{data:o,filterFn:this.filterData,defaultFilter:h},((e,o,u)=>(h.type=o.type,r.default.createElement(r.default.Fragment,null,y&&r.default.createElement(b,null,r.default.createElement(d.default,{className:"brz-ed-popup-two-header__search",value:o.search,onChange:e=>u({search:e})})),g&&r.default.createElement(c.default,null,w&&r.default.createElement(c.SidebarOption,{title:"BLOCKS"},r.default.createElement(l.default,{defaultValue:m,className:"brz-control__select--dark brz-control__select--full-width",maxItems:"6",itemHeight:"30",onChange:v},t.map(((e,t)=>{let{id:o,name:n}=e;return r.default.createElement(s.default,{key:t,value:o},n)})))),x&&r.default.createElement(c.SidebarOption,{title:"STYLES"},r.default.createElement(c.SidebarList,{lists:n,counters:this.getTypesCounters(),value:o.type,onChange:e=>u({type:e})})),P&&r.default.createElement(c.SidebarOption,{title:"CATEGORIES"},r.default.createElement(c.SidebarList,{lists:a,counters:this.getCategoriesCounter(o.type),value:o.category,onChange:e=>u({category:e})}))),r.default.createElement("div",{className:"brz-ed-popup-two-body__content"},r.default.createElement(i.default,null,e.length>0?r.default.createElement(p.default,{data:e,onThumbnailAdd:S}):r.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},r.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},(0,f.t)("Nothing here, please refine your search.")))))))))}}const v=b},28686:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=g(o(10301)),a=o(62948),l=g(o(22546)),s=o(74215),c=o(97045),d=o(64187),u=o(72833),p=o(64985),f=o(16526),m=o(58991),y=g(o(60464));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}class b extends r.Component{static defaultProps={showSidebar:!0,showSearch:!0,showType:!0,showCategories:!0,type:"normal",HeaderSlotLeft:i.default.noop(),onAddBlocks:i.default.noop,onClose:i.default.noop};state={kits:[],loading:!0,styles:[],types:[],categories:[],blocks:[]};mounted=!1;async getMeta(){try{return"popup"===this.props.type?await(0,d.defaultPopupsMeta)(l.default.getAll()):await(0,d.defaultKitsMeta)(l.default.getAll())}catch(e){console.error(e),a.ToastNotification.error((0,p.t)("Something went wrong on getting meta"))}}async getBlockResolve(e){try{return"popup"===this.props.type?await(0,d.defaultPopupsData)(l.default.getAll(),e):await(0,d.defaultKitsData)(l.default.getAll(),e)}catch(e){console.error(e),a.ToastNotification.error((0,p.t)("Something went wrong on getting blockResolve data"))}}getKitData(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.selectedKit;const o=e.find((e=>{let{id:o}=e;return o===t})),{categories:r,blocks:n,styles:i,types:a}=o;return{kits:e,styles:i,types:a,categories:[{id:"*",title:(0,p.t)("All Categories")},...r].filter((e=>{let{hidden:t}=e;return!0!==t})),blocks:n}}addPopupMeta(e){let{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:r}=e;return{_thumbnailSrc:t,_thumbnailWidth:o,_thumbnailHeight:r}}getPopupData(e){let{blocks:t,categories:o=[],types:r=[]}=e;const n=[{id:"*",title:(0,p.t)("All Categories")},...o],i=t.map((e=>({...e,pro:(!(0,f.isExternalPopup)(l.default.getAll())||"blank"!==e.blank)&&e.pro}))),a=n.filter((e=>{let{hidden:t}=e;return!0!==t}));return{types:r,blocks:i,categories:a}}async componentDidMount(){this.mounted=!0;const e=await this.getMeta();if(this.mounted){const t="normal"===this.props.type?this.getKitData(e):this.getPopupData(e);this.setState({...t,loading:!1})}}componentWillUnmount(){this.mounted=!1}handleThumbnailAdd=async e=>{const{projectFonts:t,onAddBlocks:o,onClose:r,type:n}=this.props,i={...await this.getBlockResolve(e.id),blockId:e.id,..."popup"===n&&{meta:this.addPopupMeta(e)}},a=(0,m.getBlocksStylesFonts)((0,m.getUsedModelsFonts)({models:i}),t);o({block:i,fonts:await(0,u.normalizeFonts)(a)}),r()};handleImportKit=async e=>{const{selectedKit:t,projectFonts:o,projectStyles:r,dispatch:n}=this.props,{kits:i}=this.state;if(t===e)return;const a=this.getKitData(i,e),{styles:l}=a;if(this.setState(a),l.some((e=>{let{id:t}=e;return!r.some((e=>{let{id:o}=e;return o===t}))}))){const t=l.reduce(((e,t)=>{let{fontStyles:o}=t;return e.concat((0,m.getUsedStylesFonts)(o))}),[]),r=await(0,u.normalizeFonts)((0,m.getBlocksStylesFonts)(t,o));n((0,s.importKit)({selectedKit:e,styles:l?(0,u.normalizeStyles)(l):void 0,fonts:r}))}else n((0,s.updateCurrentKitId)(e))};render(){const{kits:e,types:t,blocks:o,categories:n,loading:i}=this.state,{showSearch:a,showSidebar:l,selectedKit:s,HeaderSlotLeft:c}=this.props;return r.default.createElement(y.default,{loading:i,selectedKit:s,kits:e,blocks:o,categories:n,types:t,showSearch:a,showSidebar:l,HeaderSlotLeft:c,onChangeKit:this.handleImportKit,onChange:this.handleThumbnailAdd})}}const v=(0,n.connect)((e=>({selectedKit:(0,c.projectSelector)(e).data.selectedKit,projectFonts:(0,c.fontsSelector)(e),projectStyles:(0,c.stylesSelector)(e)})),(e=>({dispatch:e})))(b)},20614:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=w(o(23615)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=w(o(27998)),a=o(23884),l=w(o(10301)),s=w(o(1424)),c=w(o(22546)),d=o(74215),u=o(97045),p=o(4820),f=o(25663),m=o(72833),y=o(64985),g=o(16526),h=o(58991),b=o(6804),v=w(o(68658)),S=w(o(7416));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}class P extends n.Component{static defaultProps={type:"normal",showSearch:!0,onAddBlocks:l.default.noop,onClose:l.default.noop,HeaderSlotLeft:l.default.noop};static propTypes={type:r.default.oneOf(["normal","popup"]),showSearch:r.default.bool,showSidebar:r.default.bool,onAddBlocks:r.default.func,onClose:r.default.func,HeaderSlotLeft:r.default.func};state={search:""};getBlocks(){const{type:e,globalBlocks:t}=this.props;return Object.values(t).filter((t=>{let{data:o,meta:r={}}=t;return!o.deleted&&r.type===e}))}handleThumbnailAdd=async e=>{const{globalBlocks:t,projectFonts:o,onAddBlocks:r,onClose:n}=this.props,{resolve:i}=e,a=(0,h.getBlocksStylesFonts)((0,h.getUsedModelsFonts)({models:i,globalBlocks:t}),o);r({block:i,fonts:await(0,m.normalizeFonts)(a)}),n()};handleThumbnailRemove=e=>{const{dispatch:t}=this.props,{id:o}=e;t((0,d.deleteGlobalBlock)({id:o}))};renderThumbnails(e){const{HeaderSlotLeft:t,showSearch:o}=this.props;return n.default.createElement(n.Fragment,null,o&&n.default.createElement(t,null,n.default.createElement(v.default,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),n.default.createElement("div",{className:"brz-ed-popup-two-body__content"},n.default.createElement(i.default,null,n.default.createElement(S.default,{data:e,onThumbnailAdd:this.handleThumbnailAdd,onThumbnailRemove:this.handleThumbnailRemove}))))}renderEmpty(){const{HeaderSlotLeft:e,showSearch:t,type:o}=this.props;let r,i=(0,y.t)("Nothing here yet, make a global block first.");return"popup"===o?(r=(0,g.isPopup)(c.default.getAll())?"editor/img/global_condition_popups_toolbar.gif":"editor/img/global_popups_toolbar.gif",i=(0,y.t)("Nothing here yet, make a global popup first.")):r="editor/img/global_toolbar.gif",n.default.createElement(n.Fragment,null,t&&n.default.createElement(e,null,n.default.createElement(v.default,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),n.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},n.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==this.state.search?n.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},(0,y.t)("Nothing here, please refine your search.")):n.default.createElement(n.Fragment,null,n.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},i),n.default.createElement("img",{src:`${(0,p.assetUrl)(r)}?${(0,b.uuid)(4)}`,className:"brz-ed-popup-two-blocks__grid-clear-image-global",alt:"Global"})))))}renderProInfo(){return n.default.createElement("div",{className:"brz-ed-tooltip-content__pro"},n.default.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-title"},(0,y.t)("You can't add it again")))}renderThumbnailTooltip(e){return n.default.createElement(s.default,{className:"brz-ed-global-tooltip",overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,overlay:this.renderProInfo()},e)}render(){const{globalBlocksInPage:e}=this.props,t=this.getBlocks();if(0===t.length)return this.renderEmpty();const o=t.map((t=>{const o=t.meta,r={...t.data,...o?{meta:o}:{}},{url:n,width:i,height:a}=(0,f.blockThumbnailData)(r),{type:l,value:{_id:s}}=t.data,d=!(0,g.isPopup)(c.default.getAll())&&"SectionPopup"!==l&&"SectionPopup2"!==l&&e[s];return{id:s,thumbnailSrc:n,thumbnailWidth:i,thumbnailHeight:a,showRemoveIcon:!0,renderWrapper:e=>d?this.renderThumbnailTooltip(e):e,inactive:d,resolve:{type:"GlobalBlock",value:{_id:s}}}}),[]);return this.renderThumbnails(o)}}const C=(0,a.connect)((e=>({globalBlocks:(0,u.globalBlocksAssembledSelector)(e),globalBlocksInPage:(0,u.globalBlocksInPageSelector)(e),projectFonts:(0,u.fontsSelector)(e)})),(e=>({dispatch:e})))(P)},88943:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return M}});const r=w(o(60042)),n=P(o(27378)),i=w(o(27998)),a=o(23884),l=w(o(10301)),s=w(o(33364)),c=w(o(22546)),d=o(97045),u=o(64187),p=o(44576),f=o(25663),m=o(46479),y=o(72833),g=o(64985),h=P(o(73904)),b=o(58991),v=o(4883),S=w(o(81622));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const C=c.default.get("urls"),T={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"},_=(0,a.connect)((e=>({projectStyles:(0,d.stylesSelector)(e),projectFonts:(0,d.fontsSelector)(e)})));class k extends n.Component{static defaultProps={type:"layouts",data:{name:"",color:"",cat:[],pages:[],pro:!1,keywords:""},onClose:l.default.noop,onAddBlocks:l.default.noop,onBack:l.default.noop};state={active:this.props.data.pages[0].id,thumbnailHeight:0,transition:0,previewPointer:"none",replaceStyle:!1,loading:!1};thumbnailDetails=n.default.createRef();timeoutId;getTransition(e){return e/500}hasStyleInProject(){const{projectStyles:e,data:{styles:t}}=this.props;return e.find((e=>{let{id:o}=e;return t?.some((e=>{let{id:t}=e;return t===o}))}))}componentDidMount(){this.handleUpdateThumbnail(),window.addEventListener("resize",this.handleUpdateThumbnail);const e=setTimeout((()=>{this.setState({previewPointer:"auto"})}),200);this.timeoutId=h.read(e)}componentWillUnmount(){window.removeEventListener("resize",this.handleUpdateThumbnail),clearTimeout(this.timeoutId)}handleUpdateThumbnail=()=>{this.setState({thumbnailHeight:this.thumbnailDetails.current?.clientHeight??0})};handleBack=()=>{this.props.onBack()};handleThumbnailAdd=async()=>{const{data:e,projectFonts:t,onAddBlocks:o,onClose:r}=this.props,{active:n,replaceStyle:i,loading:a}=this.state;if(a)return;this.setState({loading:!0});const l="layouts"===this.props.type?await(0,u.defaultLayoutsData)(c.default.getAll(),n):await(0,u.defaultStoriesData)(c.default.getAll(),n),{blocks:s}=l,d=(0,b.getUsedModelsFonts)({models:s});let f;if(!this.hasStyleInProject()){f=(0,y.normalizeStyles)(e.styles);const t=(0,p.flatMap)(f,(e=>{let{fontStyles:t}=e;return t})),o=(0,b.getUsedStylesFonts)(t);d.push(...o)}const m=await(0,y.normalizeFonts)((0,b.getBlocksStylesFonts)(d,t));this.setState({loading:!1},(()=>{o({blocks:s,styles:f,fonts:m,currentStyleId:i?e.styles?.[0]?.id:void 0}),r()}))};handleReplaceStyling=()=>{this.setState({replaceStyle:!this.state.replaceStyle})};renderSlotLeft(e){const{HeaderSlotLeft:t}=this.props;return t?n.default.createElement(t,null,e):e}render(){const{type:e,data:{name:t,pages:o,styles:a=[],pro:l}}=this.props,{active:c,thumbnailHeight:d,previewPointer:u,replaceStyle:p,loading:y}=this.state,h="stories"===e,b=o.find((e=>{let{id:t}=e;return t===c})),w=b?.thumbnailSrc??(0,f.placeholderBlockThumbnailUrl)(),x=o.map(((e,t)=>{const o=e.thumbnailSrc??(0,f.placeholderBlockThumbnailUrl)(),i=(0,r.default)("brz-ed-popup-two-details-page-select",h&&"brz-ed-popup-two-details-page-select-stories",{"brz-ed-popup-two-details-page-select-active-block":e.id===c});return n.default.createElement("div",{key:t,className:i,onClick:()=>{this.setState({active:e.id})}},n.default.createElement(S.default,{src:o,style:T}),n.default.createElement("div",{className:"brz-ed-popup-two-details-page-select-active"},e.title))})),P=!m.IS_PRO&&l,_=(0,r.default)("brz-ed-popup-two-details-preview",h&&"brz-ed-popup-two-details-preview-stories"),k=(0,r.default)("brz-ed-popup-two-details-right",h&&"brz-ed-popup-two-details-right-stories"),M=(0,r.default)("brz-ed-popup-two-body__content brz-ed-popup-two-blocks__grid brz-ed-popup-two-details",h&&"brz-ed-popup-two-details-stories");return n.default.createElement(n.default.Fragment,null,this.renderSlotLeft(n.default.createElement("div",{className:"brz-ed-popup-two-header__search brz-ed-popup-two-header__search--hidden"})),n.default.createElement("div",{className:M},n.default.createElement("div",{className:"brz-ed-popup-two-details-left"},n.default.createElement("div",{className:"brz-ed-popup-two-details-back",onClick:this.handleBack},n.default.createElement(s.default,{icon:"nc-arrow-left",className:"brz-ed-popup-two-details-back-icon"}),h?(0,g.t)("Back to Stories"):(0,g.t)("Back to Layouts")),n.default.createElement("div",{ref:this.thumbnailDetails,className:_,style:{"--thumbnailHeight":`${d}px`,"--previewPointer":`${u}`}},h?n.default.createElement(S.default,{className:"brz-ed-popup-two-details-preview-img brz-ed-popup-two-details-preview-img-stories",src:w}):n.default.createElement(S.default,{className:"brz-ed-popup-two-details-preview-img",src:w,style:{...T,"--transitionPreview":`transform ${this.getTransition(b?.thumbnailHeight??0)}s linear`}}))),n.default.createElement("div",{className:k},n.default.createElement("div",{className:"brz-ed-popup-two-details-title"},n.default.createElement("h2",{className:"brz-ed-popup-two-details-title-name"},t),n.default.createElement("div",{className:"brz-ed-popup-two-details-title-count"},o.length," ",o.length>1?h?(0,g.t)("stories"):(0,g.t)("layouts"):h?(0,g.t)("story"):(0,g.t)("layout"))),n.default.createElement("div",{className:"brz-ed-popup-two-details-page"},n.default.createElement(i.default,null,x))),n.default.createElement("div",{className:"brz-ed-popup-two-details-footer"},n.default.createElement("div",{className:"brz-ed-popup-two-details-footer-grid"},n.default.createElement("div",{className:"brz-ed-popup-two-details-footer-render"},n.default.createElement("div",{className:"brz-ed-popup-two-details-footer-radio"},P?n.default.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button brz-ed-popup-two-details-footer-radio-button--pro"},h?(0,g.t)("Upgrade to PRO to use this story"):(0,g.t)("Upgrade to PRO to use this layout")):a.length>0&&n.default.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button",onClick:this.handleReplaceStyling},n.default.createElement(s.default,{icon:p?"nc-check":"nc-uncheck",className:"brz-ed-popup-two-details-footer-radio-icon"}),(0,g.t)("Replace global styling"))),P?n.default.createElement(v.Button,{type:"link",color:"pro",size:2,href:C.upgradeToPro,target:"_blank",leftIcon:"nc-lock"},(0,g.t)("Get a PRO plan")):n.default.createElement(v.Button,{type:"button",color:"teal",size:2,loading:y,onClick:this.handleThumbnailAdd},h?(0,g.t)("Import This Story"):(0,g.t)("Import This Layout")))))))}}const M=_(k)},46919:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=w(o(27378)),n=v(o(27998)),i=v(o(10301)),a=v(o(33364)),l=o(62948),s=v(o(22546)),c=o(64187),d=o(64985),u=v(o(25859)),p=v(o(68658)),f=w(o(41815)),m=w(o(24839)),y=v(o(7416)),g=v(o(88943)),h=o(14841),b=o(88825);function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const x={category:"*",search:""};class P extends r.Component{static defaultProps={type:"layouts",showSidebar:!0,showSearch:!0,onAddBlocks:i.default.noop,onClose:i.default.noop,onNext:i.default.noop};state={data:void 0,detailsData:void 0};async componentDidMount(){const e=await this.getData();this.setState({data:e})}async getData(){try{return"layouts"===this.props.type?await(0,c.defaultLayoutsMeta)(s.default.getAll()):await(0,c.defaultStoriesMeta)(s.default.getAll())}catch(e){console.error(e),l.ToastNotification.error((0,d.t)("Something went wrong on getting meta"))}}filterFn=(e,t)=>{const o=new RegExp(t.search?.replace(/[.*+?^${}()|[\]\\]/g,""),"i"),r="*"===t.category||e.cat.includes(Number(t.category)),n=""===t.search||o.test(e.keywords)||o.test(e.name);return r&&n};getLayoutData(e){return(0,h.isStoryData)(e)?e.stories:e.templates}handleThumbnailAdd=e=>{this.setState({detailsData:e})};handleBlankThumbnailAdd=async e=>{const{onAddBlocks:t,onClose:o}=this.props,r=await(0,c.defaultStoriesData)(s.default.getAll(),e.id);t({blocks:[(0,b.isBlock)(r)?{...r,blockId:e.id}:{...r.blocks[0],blockId:e.id}],fonts:[]}),o()};renderSlotLeft(e){const{HeaderSlotLeft:t}=this.props;return t?r.default.createElement(t,null,e):e}renderLoading(){const{showSidebar:e,showSearch:t}=this.props;return r.default.createElement(r.default.Fragment,null,t&&this.renderSlotLeft(r.default.createElement(p.default,{className:"brz-ed-popup-two-header__search"})),e&&r.default.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),r.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}renderThumbnail=e=>{let{data:t,...o}=e;const{type:n}=this.props;return"stories"===n&&t.blank?r.default.createElement(m.default,{...o,data:t.pages[0],onAdd:this.handleBlankThumbnailAdd}):r.default.createElement(m.LayoutThumbnail,{data:t,...o})};renderList(e){const{showSidebar:t,showSearch:o}=this.props,i=this.getLayoutData(e),a=i.map((e=>({...e,...e.pages[0]}))),l={};for(let e=0;e{let{hidden:t}=e;return!0!==t}));return r.default.createElement(u.default,{data:a,filterFn:this.filterFn,defaultFilter:x},((e,i,a)=>r.default.createElement(r.default.Fragment,null,o&&this.renderSlotLeft(r.default.createElement(p.default,{className:"brz-ed-popup-two-header__search",value:i.search,onChange:e=>a({search:e})})),t&&r.default.createElement(f.default,null,r.default.createElement(f.SidebarOption,{title:"CATEGORIES"},r.default.createElement(f.SidebarList,{lists:s,value:i.category,counters:l,onChange:e=>a({category:e})}))),r.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-blocks-body-layouts"},r.default.createElement(n.default,null,e.length>0?r.default.createElement(y.default,{data:e,ThumbnailComponent:this.renderThumbnail,onThumbnailAdd:this.handleThumbnailAdd}):r.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},r.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},(0,d.t)("Nothing here, please refine your search."))))))))}renderDetails(e){const{type:t,onAddBlocks:o,onClose:n,HeaderSlotLeft:i}=this.props;return r.default.createElement(g.default,{type:t,data:e,HeaderSlotLeft:i,onAddBlocks:o,onBack:()=>{this.setState({detailsData:void 0})},onClose:n})}render(){const{data:e,detailsData:t}=this.state;return e?t?this.renderDetails(t):this.renderList(e):this.renderLoading()}}},14841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isStoryData",{enumerable:!0,get:function(){return o}});const o=e=>"stories"in e},27619:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=x(o(60042)),n=o(47885),i=C(o(27378)),a=x(o(27998)),l=x(o(10301)),s=x(o(33364)),c=x(o(22546)),d=o(4820),u=o(64985),p=o(4883),f=x(o(25859)),m=o(21546),y=x(o(68658)),g=C(o(41815)),h=x(o(7416)),b=o(57266),v=x(o(7781)),S=o(55748),w=o(77969);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const T="All",_="Uncategorised",k={flex:1};class M extends i.Component{static defaultProps={type:"normal",showSearch:!0,sidebarSync:!0,showTitle:!0,search:"",loading:!1,items:{},types:[],HeaderSlotLeft:i.Component,onChange:l.default.noop,onDelete:l.default.noop,onSuccessSync:l.default.noop,onUpdate:l.default.noop};currentFilter;constructor(e){super(e);const{types:t,filter:o}=this.props,r=t[0]?.id??"BLOCK",n=o??this.getSidebarFilter(r)?.defaultSelected??"";this.currentFilter={type:r,filter:n,search:"",tags:T}}getSidebarFilter(e){const t=c.default.getAll();return(0,n.match)([b.isBlock,()=>t.api?.savedBlocks?.filter],[b.isPopup,()=>t.api?.savedPopups?.filter],[b.isLayout,()=>t.api?.savedLayouts?.filter])(e)}hasFilter=e=>{const t=this.getSidebarFilter(e)?.handler;return"function"==typeof t};getFilterLabel(e){return this.getSidebarFilter(e)?.label}getDefaultFilter=e=>{const t=this.getAllCategories(e).some((e=>e.item===this.currentFilter.tags))?this.currentFilter.tags:T;return{type:this.currentFilter.type,search:"",tags:t,filter:this.currentFilter.filter}};getActiveType(e){return this.currentFilter.type||e[0].id}getAllCategories=e=>{const t=new Set([T,_]);return e.filter((e=>e.type===this.currentFilter.type)).map((e=>e.tags?.split(","))).flat().forEach((e=>e&&t.add(e))),[...t].map((e=>({item:e,deletable:e!==T&&e!==_,editable:e!==T&&e!==_})))};getTypesCounters=()=>{const{items:e,types:t}=this.props,o=Object.values(e).filter(n.isT).flatMap((e=>e)),r=t.reduce(((e,t)=>{let{id:o}=t;return{...e,[o]:0}}),{});return o.forEach((e=>{let{type:t}=e;r[t]++})),r};filterData=(e,t)=>{const o=t.type===e.type,r=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords||e.title||""),n=e.tags??"",i=t.tags===T,a=t.tags===_&&!n.trim(),l=n.split(",").includes(t.tags);return o&&r&&(i||a||l)};handleImport=()=>{const{types:e,onImport:t}=this.props;"function"==typeof t&&t(this.getActiveType(e))};handleExport=()=>{const{items:e,types:t,onExport:o}=this.props,r=this.getActiveType(t),n=e[r];"function"==typeof o&&n&&o(n.filter((e=>this.filterData(e,this.currentFilter))).map((e=>e.uid)),r)};renderLoading(){return i.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},i.default.createElement(s.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderEmpty(){const{type:e,types:t,onImport:o}=this.props,{search:r}=this.currentFilter,n=this.getActiveType(t),a={width:"LAYOUT"===n?"524px":"322px"};let l="editor/img/save_toolbar.gif",s=(0,u.t)("Nothing here yet, save a block first.");const c="function"==typeof o;return"popup"===e&&(l="editor/img/save_popups_toolbar.gif",s=(0,u.t)("Nothing here yet, save a popup first.")),"LAYOUT"===n&&(s=(0,u.t)("Nothing here yet, save a layout first."),l="editor/img/save_layout.gif"),i.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},i.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==r?i.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},(0,u.t)("Nothing here, please refine your search.")):i.default.createElement(i.default.Fragment,null,i.default.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},s),i.default.createElement("img",{key:n,style:a,src:(0,d.assetUrl)(l),className:"brz-ed-popup-two-blocks__grid-clear-image-saved",alt:"Saved"}))),c&&i.default.createElement(m.Footer,{alignX:"middle",alignY:"middle"},this.renderImport()))}renderItems(e,t){const{showTitle:o,thumbnailSync:r,thumbnailDownload:n,onChange:l,onDelete:s,onExport:c,onImport:d,onUpdate:u}=this.props,p="function"==typeof d,f="function"==typeof c,y=p||f;return i.default.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},i.default.createElement(a.default,{style:k},i.default.createElement(h.default,{showSync:r,showTitle:o,showDownload:n,data:e,tags:t,onThumbnailAdd:l,onThumbnailRemove:s,onUpdate:u})),y&&i.default.createElement(m.Footer,{alignX:"middle",alignY:"middle"},f&&this.renderExport(),p&&this.renderImport()))}renderImport(){const{importLoading:e,types:t}=this.props,o=this.getActiveType(t),n=(0,r.default)({"brz-pointer-events-none":e}),a="POPUP"===o?(0,u.t)("Import New Popup"):"BLOCK"===o?(0,u.t)("Import New Block"):(0,u.t)("Import New Layout");return i.default.createElement(p.Button,{className:n,type:"link",color:"teal",loading:e,size:2,onClick:this.handleImport},a)}renderExport(){const{exportLoading:e,types:t}=this.props,o=this.getActiveType(t),r="POPUP"===o?(0,u.t)("Export All Popups"):"BLOCK"===o?(0,u.t)("Export All Blocks"):(0,u.t)("Export All Layouts");return i.default.createElement(p.Button,{color:"gray",loading:e,size:2,onClick:this.handleExport},r)}render(){const{loading:e,items:t,types:o,showSearch:r,sidebarSync:a,HeaderSlotLeft:l,onFilterChange:s,onSuccessSync:c}=this.props,d=Object.values(t).filter(n.isT).flatMap((e=>e));return i.default.createElement(f.default,{data:d,filterFn:this.filterData,defaultFilter:this.getDefaultFilter(d)},((t,n,p)=>{const f=this.getAllCategories(d),m=f.filter((e=>e.item!==T&&e.item!==_)).map((e=>e.item));return i.default.createElement(i.default.Fragment,null,r&&i.default.createElement(l,null,i.default.createElement(y.default,{className:"brz-ed-popup-two-header__search",value:n.search,onChange:e=>{p({search:e}),this.currentFilter.search=e}})),i.default.createElement(g.default,null,i.default.createElement(g.SidebarOption,{title:(0,u.t)("LIBRARY")},i.default.createElement(g.SidebarList,{lists:o,counters:this.getTypesCounters(),value:n.type,onChange:e=>{p({type:e,tags:T}),this.currentFilter.type=e,this.currentFilter.tags=T}})),i.default.createElement(g.SidebarOption,{title:(0,u.t)("TAG")},i.default.createElement(w.Control,{value:n.tags,choices:f,onChange:e=>{p({tags:e}),this.currentFilter.tags=e}})),s&&this.hasFilter(n.type)&&i.default.createElement(g.SidebarOption,{title:this.getFilterLabel(n.type)},i.default.createElement(S.Filter,{type:n.type,value:n.filter,onChange:e=>{p({filter:e}),this.currentFilter.filter=e,s(e,n.type)}})),a&&i.default.createElement(g.SidebarOption,{separator:!0},i.default.createElement(v.default,{onSuccessSync:c}))),e?this.renderLoading():0===t.length?this.renderEmpty():this.renderItems(t,m))}))}}const O=M},25079:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{useDisconnect:function(){return l},useSync:function(){return s}});const r=o(27378),n=o(62948),i=o(26458),a=o(64985),l=()=>{const[e,t]=(0,r.useState)(!1),[o,l]=(0,r.useState)(!1),[s,c]=(0,r.useState)(void 0);return(0,r.useEffect)((()=>{o&&(0,i.logout)().then((e=>{!e.status||e.status>=400?(c(e),n.ToastNotification.error((0,a.t)("Something went wrong"))):(l(!1),t(!0))})).catch((e=>{l(!1),c(e),n.ToastNotification.error((0,a.t)("Something went wrong"))}))}),[o]),(0,r.useEffect)((()=>{e&&t(!1)}),[e]),{isDisconnect:e,error:s,loading:o,setDisconnect:()=>{l(!0)}}},s=()=>{const[e,t]=(0,r.useState)(!1),[o,l]=(0,r.useState)(!1),[s,c]=(0,r.useState)(void 0);return(0,r.useEffect)((()=>{o&&(0,i.sync)().then((e=>{!e.status||e.status>=400?(c(e),n.ToastNotification.error((0,a.t)("Unsuccessful sync"))):(l(!1),t(!0),n.ToastNotification.success((0,a.t)("Done, your library has synced")))})).catch((e=>{l(!1),c(e),n.ToastNotification.error((0,a.t)("Unsuccessful sync"))}))}),[o]),{isSync:e,error:s,loading:o,setSync:()=>{l(!0)}}}},7781:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{CloudConnectWP:function(){return h},default:function(){return b}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=f(o(33364)),a=f(o(92823)),l=o(4883),s=o(74215),c=o(97045),d=o(64985),u=o(24978),p=o(25079);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y={updateAuthorization:s.updateAuthorization},g=(0,n.connect)((e=>({isAuthorized:"connected"===(0,c.authorizedSelector)(e),syncAllowed:(0,c.syncAllowedSelector)(e)})),y),h=e=>{const{isAuthorized:t,syncAllowed:o,onSuccessSync:n,updateAuthorization:s}=e,{isSync:c,setSync:f,loading:m}=(0,p.useSync)(),{isDisconnect:y,setDisconnect:g,loading:h}=(0,p.useDisconnect)();return(0,r.useEffect)((()=>{c&&n&&n()}),[c,n]),(0,r.useEffect)((()=>{y&&(s("disconnect"),(0,u.setAuthorized)("disconnect"))}),[y,s]),r.default.createElement("div",{className:"brz-ed-popup-two__cloud"},r.default.createElement("p",{className:"brz-p"},t?(0,d.t)("Saved Library is syncing to your Account"):(0,d.t)("Access your Library in any WP install by connecting your Account")),r.default.createElement("div",{className:"brz-ed-popup-two__cloud-icon"},r.default.createElement("div",{className:"brz-d-inline-block brz-p-relative"},r.default.createElement(i.default,{icon:"nc-upload"}),t&&r.default.createElement("div",{className:"brz-ed-popup-two__cloud-icon--connect"},r.default.createElement(i.default,{icon:"nc-check-circle-white"})))),r.default.createElement(l.Button,{className:"brz-ed-popup-two__cloud-button",size:4,color:t?"gray":"teal",loading:h,onClick:()=>{t?g():a.default.open({mode:"stack",prompt:"authorization",props:{}})}},t?(0,d.t)("Disconnect"):(0,d.t)("Connect")),t&&o&&r.default.createElement(l.Button,{className:"brz-ed-popup-two__cloud-button-sync",size:4,color:"teal",loading:m,onClick:()=>{f()}},(0,d.t)("Sync Now")),!o&&r.default.createElement("p",{className:"brz-p"},(0,d.t)("Your Plugin version is incompatible with Account version, please update plugin")))},b=g(h)},17101:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{init:function(){return o},fetchSuccess:function(){return r},fetchError:function(){return n}});const o=e=>({type:"Init",payload:e}),r=e=>({type:"FetchSuccess",payload:e}),n=e=>({type:"FetchError",payload:e})},55748:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Filter",{enumerable:!0,get:function(){return h}});const r=o(47885),n=g(o(27378)),i=m(o(97023)),a=m(o(65961)),l=m(o(22546)),s=o(64187),c=o(64985),d=o(23017),u=o(57266),p=g(o(17101)),f=o(28194);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const h=e=>{const{type:t,value:o,onChange:m}=e,[y,g]=(0,n.useReducer)(f.reducer,f.initState),h=(0,n.useCallback)((e=>{""!==e&&m(e)}),[m]);return(0,n.useEffect)((()=>{const e=l.default.getAll(),o=(0,r.match)([u.isBlock,()=>(0,s.filterSavedBlocks)(e)],[u.isPopup,()=>(0,s.filterSavedPopups)(e)],[u.isLayout,()=>(0,s.filterSavedLayouts)(e)]);(async()=>{try{const e=await o(t);g(p.fetchSuccess(e))}catch(e){g("string"==typeof e?p.fetchError(e):p.fetchError((0,c.t)("Something went wrong")))}})()}),[t]),n.default.createElement(n.default.Fragment,null,y.error&&n.default.createElement(d.OptionError,null,y.error),n.default.createElement(i.default,{className:"brz-control__select--dark",fullWidth:!0,maxItems:"6",itemHeight:"30",defaultValue:o,onChange:h},y.error&&n.default.createElement(a.default,{title:"-",value:""},"-"),y.loading?n.default.createElement(a.default,{title:(0,c.t)("Loading..."),value:""},(0,c.t)("Loading...")):y.choices.map((e=>n.default.createElement(a.default,{key:e.id,title:e.label,value:e.id},e.label)))))}},28194:(e,t)=>{"use strict";function o(e,t){switch(t.type){case"Init":return{...e,choices:[]};case"FetchSuccess":return{loading:!1,choices:t.payload};case"FetchError":return{loading:!1,error:t.payload,choices:[]}}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{reducer:function(){return o},initState:function(){return r}});const r={loading:!0,choices:[]}},87436:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ShowSuccessError",{enumerable:!0,get:function(){return i}});const r=o(62948),n=o(1118),i=(e,t)=>{e.success.forEach((e=>{switch(t){case"BLOCK":(0,n.isSavedLayout)(e)&&r.ToastNotification.error("Your .zip contains layouts. We imported them in the Saved Layouts library",5),(0,n.isSavedPopup)(e)&&r.ToastNotification.error("Your .zip contains popups blocks. We imported them in the Saved Popups library",5);break;case"POPUP":(0,n.isSavedLayout)(e)&&r.ToastNotification.error("Your .zip contains layouts. We imported them in the Saved Layouts library",5),(0,n.isSavedBlock)(e)&&r.ToastNotification.error("Your .zip contains regular blocks. We imported them in the Saved Blocks library",5);break;case"LAYOUT":(0,n.isSavedBlock)(e)&&r.ToastNotification.error("Your .zip contains regular blocks. We imported them in the Saved Blocks library",5),(0,n.isSavedPopup)(e)&&r.ToastNotification.error("Your .zip contains popups blocks. We imported them in the Saved Popups library",5)}}))}},19513:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Edit",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(33364))&&i.__esModule?i:{default:i};var i;const a=o(73270);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{const{value:t,onChange:o}=e,[i,l]=(0,r.useState)(t),[s,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),u=()=>{const e=i.trim();e&&e!==t&&o(e),c(!1)};return(0,r.useEffect)((()=>{s&&d.current?.focus()}),[s]),r.default.createElement("div",{className:"brz-ed-popup-two__select-editable",onClick:e=>{s&&e.stopPropagation()}},s?r.default.createElement("input",{ref:d,className:"brz-ed-popup-two__select-input",value:i,onChange:e=>{l(e.target.value)},onBlur:u,onKeyPress:e=>{"Enter"===e.key&&u()}}):r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Title,{boxed:!0,title:i}),r.default.createElement(n.default,{className:"brz-ed-popup-two__select-pen",icon:"nc-pen",onClick:e=>{s||e.stopPropagation(),c(!s)}})))}},33898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ItemAdd",{enumerable:!0,get:function(){return d}});const r=s(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(65961)),a=s(o(33364)),l=o(64985);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=e=>{const{onAdd:t}=e,[o,s]=(0,n.useState)(""),[c,d]=(0,n.useState)(!1),u=()=>{const e=o.trim();e?(t(e),s(""),d(!1)):d(!0)},p=(0,r.default)("brz-ed-popup-two__select-item",{"brz-ed-popup-two__select--error":c});return n.default.createElement(i.default,null,n.default.createElement("div",{className:p},n.default.createElement("span",{className:"brz-ed-popup-two__select-add"},n.default.createElement(a.default,{icon:"nc-add",onClick:u})),n.default.createElement("input",{className:"brz-ed-popup-two__select-input",type:"text",placeholder:(0,l.t)("Add new"),value:o,onChange:e=>{s(e.target.value)},onKeyPress:e=>{"Enter"===e.key&&u()}})))}},38340:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ItemEdit",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),n=c(o(65961)),i=c(o(33364)),a=o(64985),l=o(19513),s=o(73270);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{const{value:t,active:o,selected:c,onDelete:d,onEdit:u,onClick:p}=e;return r.default.createElement(n.default,{active:o,selected:c,title:t,value:t,onClick:p},c?t:r.default.createElement("div",{className:"brz-ed-popup-two__select-item"},"function"==typeof u?r.default.createElement(l.Edit,{value:t,onChange:u}):r.default.createElement(s.Title,{title:t}),"function"==typeof d&&r.default.createElement("span",{title:(0,a.t)("Remove"),className:"brz-ed-popup-two__select-trash"},r.default.createElement(i.default,{icon:"nc-trash",onClick:e=>{e.stopPropagation(),d?.(t)}}))))}},73270:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Title",{enumerable:!0,get:function(){return a}});const r=i(o(60042)),n=i(o(27378));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{title:t,boxed:o}=e;const i=(0,r.default)("brz-ed-popup-two__select-title",{"brz-ed-popup-two__select-title--boxed":o});return n.default.createElement("span",{title:t,className:i},t)}},77969:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Control",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(97023)),i=o(33898),a=o(38340);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{const{value:t,choices:o,onChange:l,onDelete:s,onEdit:c,onAdd:d}=e;return r.default.createElement(n.default,{defaultValue:t,className:"brz-control__select--dark",fullWidth:!0,maxItems:"6",itemHeight:"30",onChange:l},o.map(((e,t)=>r.default.createElement(a.ItemEdit,{key:t,value:e.item,onDelete:e.deletable?s:void 0,onEdit:e.editable&&"function"==typeof c?t=>c(e.item,t):void 0}))),"function"==typeof d&&r.default.createElement(i.ItemAdd,{onAdd:d}))}},73333:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=o(47885),n=_(o(13556)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(23884),l=_(o(10301)),s=o(62948),c=o(46338),d=_(o(22546)),u=o(62762),p=o(97045),f=o(1118),m=o(64187),y=o(25663),g=o(46479),h=o(72833),b=o(64985),v=o(58991),S=o(46065),w=o(57266),x=_(o(27619)),P=o(87436),C=o(42787),T=o(84331);function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}class M extends i.Component{static defaultProps={type:"normal",showSearch:!0,showTitle:!0,projectFonts:{},projectExtraFontStyles:[],isAuthorized:!1,onAddBlocks:l.default.noop,onClose:l.default.noop,HeaderSlotLeft:i.Component,getParentNode:()=>null};state={search:"",filter:void 0,data:{BLOCK:void 0,LAYOUT:void 0,POPUP:void 0},loading:!0,importLoading:!1,exportLoading:!1,updateLoading:!1,types:(0,T.getBlocksType)(this.props.type,d.default.getAll())};pagination={BLOCK:void 0,LAYOUT:void 0,POPUP:void 0};unMount=!1;withImportExport=!0;async componentDidMount(){const e=d.default.getAll();(0,u.isCloud)(e)&&(this.withImportExport=!e.user.isGuest),this.updateBlocks()}componentDidUpdate(e){e.isAuthorized!==this.props.isAuthorized&&this.updateBlocks()}componentWillUnmount(){this.unMount=!0}updateBlocks=async()=>{if(0!==this.state.types.length)if("normal"===this.props.type){const e=await this.getBlocks(),t=await this.getLayout();this.unMount||this.setState({data:{BLOCK:e,LAYOUT:t},loading:!1})}else{const e=await this.getPopups();this.unMount||this.setState({data:{POPUP:e},loading:!1})}};async getBlocks(e){try{const t=e?{filterBy:e}:void 0;return(await(0,m.getSavedBlocks)(d.default.getAll(),t)).map((e=>({...this.makeThumbsData(e),uid:e.uid,type:C.BLOCK,title:e.title,tags:e.tags,dataVersion:e.dataVersion,synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})))}catch(e){return console.error(e),s.ToastNotification.error((0,b.t)("Something went wrong on getting blocks.")),[]}}async getLayout(e){try{const t=e?{filterBy:e}:void 0;return(await(0,m.getSavedLayouts)(d.default.getAll(),t)).map((e=>({...this.makeThumbsData(e),uid:e.uid,type:C.LAYOUT,title:e.title,tags:e.tags,dataVersion:e.dataVersion,synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})))}catch(e){return console.error(e),s.ToastNotification.error((0,b.t)("Something went wrong on getting layouts.")),[]}}async getPopups(e){try{const t=e?{filterBy:e}:void 0;return(await(0,m.getSavedPopups)(d.default.getAll(),t)).map((e=>({...this.makeThumbsData(e),uid:e.uid,type:C.POPUP,title:e.title,tags:e.tags,dataVersion:e.dataVersion,synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})))}catch(e){return console.error(e),s.ToastNotification.error((0,b.t)("Something went wrong on getting popups.")),[]}}async getAssets(e){const{projectFonts:t,projectExtraFontStyles:o}=this.props,{extraFontStyles:r=[]}=e.meta||{},n=(0,v.getUsedModelsFonts)({models:e}),i=(0,v.getUsedStylesFonts)(r),a=await(0,h.normalizeFonts)((0,v.getBlocksStylesFonts)([...n,...i],t)),l=r.filter((e=>{let{id:t}=e;return!o.some((e=>e.id===t))}));return{fonts:a,extraFontStyles:(0,h.normalizeFontStyles)(l)}}async handleAddLayout(e){const{onAddBlocks:t,onClose:o}=this.props;try{const{data:r,meta:n}=await(0,m.getSavedLayoutById)(e,d.default.getAll()),{fonts:i,extraFontStyles:a}=await this.getAssets({data:r,meta:n});this.unMount||(t({fonts:i,extraFontStyles:a,blocks:r.items}),o())}catch(e){console.error(e),s.ToastNotification.error((0,b.t)("Failed to get savedLayout"))}}async handleAddBlock(e){const{onAddBlocks:t,onClose:o}=this.props;try{const{data:r,meta:n}=await(0,m.getSavedBlockById)(e,d.default.getAll()),{fonts:i,extraFontStyles:a}=await this.getAssets({data:r,meta:n});this.unMount||(t({fonts:i,extraFontStyles:a,blocks:[r]}),o())}catch(e){console.error(e),s.ToastNotification.error((0,b.t)("Something went wrong"))}}async handleAddPopup(e){const{onAddBlocks:t,onClose:o}=this.props;try{const{data:r,meta:n}=await(0,m.getSavedPopupById)(e,d.default.getAll()),{fonts:i,extraFontStyles:a}=await this.getAssets({data:r,meta:n});this.unMount||(t({fonts:i,extraFontStyles:a,blocks:[r]}),o())}catch(e){console.error(e),s.ToastNotification.error((0,b.t)("Something went wrong"))}}handleLoadingBlock(e,t,o){this.setState((0,n.default)((r=>{r.data[t]=r.data[t]??[],r.data[t].forEach(((n,i)=>{n.uid===e&&(r.data[t][i].loading=o)}))})))}handleAddItems=e=>{let{type:t,uid:o}=e;switch(this.handleLoadingBlock(o,t,!0),t){case C.BLOCK:this.handleAddBlock(o).catch((()=>{this.handleLoadingBlock(o,t,!1),s.ToastNotification.error((0,b.t)("Unable to insert block. Please try again or contact support"))}));break;case C.POPUP:this.handleAddPopup(o).catch((()=>{this.handleLoadingBlock(o,t,!1),s.ToastNotification.error((0,b.t)("Unable to insert popup. Please try again or contact support"))}));break;case C.LAYOUT:this.handleAddLayout(o).catch((()=>{this.handleLoadingBlock(o,t,!1),s.ToastNotification.error((0,b.t)("Unable to insert layout. Please try again or contact support"))}))}};handleItemUpdate=async e=>{this.setState({updateLoading:!0});const{data:t}=this.state,{type:o}=e,i={uid:e.uid,title:e.title||"",tags:e.tags||"",dataVersion:e.dataVersion},a=d.default.getAll(),l=(0,r.match)([w.isBlock,()=>(0,m.updateSavedBlock)(i,a)],[w.isPopup,()=>(0,m.updateSavedPopup)(i,a)],[w.isLayout,()=>(0,m.updateSavedLayout)(i,a)]);this.setState((0,n.default)((t=>{t.data[o]=t.data[o]?.map((t=>t.uid===e.uid?{...t,title:e.title,tags:e.tags,dataVersion:e.dataVersion}:t))})));try{await l(o),this.unMount||this.setState({updateLoading:!1})}catch(e){this.unMount||this.setState({updateLoading:!1,data:t},(()=>{const e=o.toLowerCase();s.ToastNotification.error(`Unable to update ${e}. Please try again or contact support`)}))}};handleDeleteItem=e=>{const{type:t,uid:o}=e;switch(t){case C.BLOCK:(0,m.deleteSavedBlock)(e,d.default.getAll());break;case C.POPUP:(0,m.deleteSavedPopup)(e,d.default.getAll());break;case C.LAYOUT:(0,m.deleteSavedLayout)(e,d.default.getAll())}this.setState((e=>{let{data:r}=e;return{data:{...r,[t]:r[t]?.filter((e=>e.uid!==o))}}}))};handleImport=async e=>{this.setState({importLoading:!0});const t=d.default.getAll(),o=(0,r.match)([w.isBlock,()=>(0,m.importSaveBlocks)(t)],[w.isPopup,()=>(0,m.importSavePopups)(t)],[w.isLayout,()=>(0,m.importSavedLayout)(t)]);try{const t=await o(e);if(!t)return void s.ToastNotification.error((0,b.t)("Import failed"));if(t.success.length){const o=[],r=[],i=[];t.success.forEach((e=>{const t={...e,isCloudEntity:!1};(0,f.isSavedLayout)(t)&&r.push({...this.makeThumbsData(t),uid:t.uid,type:C.LAYOUT,title:t.title,tags:t.tags,dataVersion:t.dataVersion,synchronized:!1,synchronizable:!1}),(0,f.isSavedBlock)(t)&&o.push({...this.makeThumbsData(t),uid:t.uid,type:C.BLOCK,title:t.title,tags:t.tags,dataVersion:t.dataVersion,synchronized:!1,synchronizable:!1}),(0,f.isSavedPopup)(t)&&i.push({...this.makeThumbsData(t),uid:t.uid,type:C.POPUP,title:t.title,tags:t.tags,dataVersion:t.dataVersion,synchronized:!1,synchronizable:!1})})),this.setState((0,n.default)((e=>{o.length>0&&(e.data.BLOCK=[...e.data.BLOCK??[],...o]),i.length>0&&(e.data.POPUP=[...e.data.POPUP??[],...i]),r.length>0&&(e.data.LAYOUT=[...e.data.LAYOUT??[],...r])}))),(0,P.ShowSuccessError)(t,e)}this.unMount||(this.setState({importLoading:!1}),t.errors.forEach((e=>{let{message:t}=e;s.ToastNotification.error(t)})))}catch(e){this.unMount||this.setState({importLoading:!1},(()=>{const t=(0,w.getError)(e);s.ToastNotification.error(t)}))}};handleSuccessSync=()=>{this.updateBlocks()};handleFilterChange=async(e,t)=>{switch(t){case C.BLOCK:try{const t=await this.getBlocks(e);this.unMount||this.setState((0,n.default)((e=>{e.data.BLOCK=t})))}catch(e){s.ToastNotification.error((0,b.t)("Unable to fetch blocks by filter"))}break;case C.LAYOUT:try{const t=await this.getLayout(e);this.unMount||this.setState((0,n.default)((e=>{e.data.LAYOUT=t})))}catch(e){s.ToastNotification.error((0,b.t)("Unable to fetch layouts by filter"))}break;case C.POPUP:try{const t=await this.getPopups(e);this.unMount||this.setState((0,n.default)((e=>{e.data.POPUP=t})))}catch(e){s.ToastNotification.error((0,b.t)("Unable to fetch popups by filter"))}}};makeThumbsData(e){const{url:t,width:o,height:r}=(0,y.blockThumbnailData)(e),n="admin"===(0,c.currentUserRole)();return{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:r,showRemoveIcon:!e.isCloudEntity&&n,loading:!1}}render(){const{loading:e,data:t,types:o,search:r,importLoading:n,exportLoading:a}=this.state,{type:l,HeaderSlotLeft:s,showSearch:c,showTitle:d}=this.props,u=(0,S.getWhiteLabel)();return i.default.createElement(x.default,{type:l,loading:e,items:t,types:o,showSearch:c,showTitle:d,sidebarSync:!u,thumbnailSync:g.IS_WP,thumbnailDownload:this.withImportExport,search:r,filter:this.state.filter,importLoading:n,exportLoading:a,HeaderSlotLeft:s,onSuccessSync:this.handleSuccessSync,onChange:this.handleAddItems,onDelete:this.handleDeleteItem,onImport:this.withImportExport?this.handleImport:void 0,onUpdate:this.handleItemUpdate,onFilterChange:this.handleFilterChange})}}const O=(0,a.connect)((e=>({projectFonts:(0,p.fontsSelector)(e),projectExtraFontStyles:(0,p.extraFontStylesSelector)(e),isAuthorized:"connected"===(0,p.authorizedSelector)(e)})))(M)},42787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{BLOCK:function(){return o},LAYOUT:function(){return r},POPUP:function(){return n}});const o="BLOCK",r="LAYOUT",n="POPUP"},84331:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getBlocksType",{enumerable:!0,get:function(){return a}});const r=o(62948),n=o(64985),i=o(42787),a=(e,t)=>{const o=t.api??{};if("normal"===e){const{savedLayouts:e,savedBlocks:t}=o,a=[];return t?.get&&t?.getByUid&&a.push({id:i.BLOCK,title:(0,n.t)("Blocks"),icon:"nc-blocks"}),e?.get&&e?.getByUid&&a.push({id:i.LAYOUT,title:(0,n.t)("Layouts"),icon:"nc-pages"}),a.length>0?a:(r.ToastNotification.error((0,n.t)("API: No saved blocks or layouts found.")),[])}const{savedPopups:a}=o;return a?.get&&a.getByUid?[{id:i.POPUP,title:(0,n.t)("Popups"),icon:"nc-blocks"}]:(r.ToastNotification.error((0,n.t)("API: No saved popups found.")),[])}},25859:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;class i extends r.default.Component{state={currentFilter:this.props.defaultFilter};componentDidUpdate(e){this.props.defaultFilter!==e.defaultFilter&&this.setState({currentFilter:this.props.defaultFilter})}setFilter=e=>{this.setState((t=>({currentFilter:{...t.currentFilter,...e}})))};render(){const{filterFn:e,data:t,children:o}=this.props,{currentFilter:r}=this.state;return o(t.filter((t=>e(t,r))),r,this.setFilter)}}},36942:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DownloadBlock",{enumerable:!0,get:function(){return y}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=p(o(33364)),a=o(62948),l=p(o(22546)),s=o(64187),c=o(64985),d=o(8519),u=o(57266);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=e=>{const t=(0,r.match)([u.isBlock,()=>(0,c.t)("Could not download Saved block")],[u.isLayout,()=>(0,c.t)("Could not download Saved Layout")],[u.isPopup,()=>(0,c.t)("Could not download Saved Popup")]);a.ToastNotification.error(t(e))},y=e=>{const{id:t,type:o}=e,[a,p]=(0,n.useState)(!1),f=(0,n.useRef)(null),[y,g]=(0,n.useState)(void 0),h=(0,n.useCallback)((async()=>{p(!0),g(void 0);const e=l.default.getAll(),n=(0,r.match)([u.isBlock,()=>(0,s.getSavedBlockById)(t,e)],[u.isLayout,()=>(0,s.getSavedLayoutById)(t,e)],[u.isPopup,()=>(0,s.getSavedPopupById)(t,e)]);try{const{data:e}=await n(o);if(f.current){const r=(0,d.blockIsPro)({models:e}),n=(0,u.getExportBlocksUrls)(o,t,r);g(n),p(!1)}}catch(e){f.current&&(p(!1),m(o))}}),[t,o,f]),b=(0,n.useCallback)((()=>{m(o),g(void 0)}),[o]);return n.default.createElement("div",{ref:f,title:(0,c.t)("Download this block"),className:"brz-ed-popup-two-block-download",onClick:a?void 0:h},y&&n.default.createElement("iframe",{src:y,hidden:!0,onLoad:b,title:"download-block"}),a?n.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):n.default.createElement(i.default,{icon:"nc-download-saved-block"}))}},21546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Footer",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{alignX:t="top",alignY:o="left",className:i,children:a}=e,l=(0,n.default)("brz-ed-popup-two__footer",i,{[`brz-ed-popup-two__footer--x-${t}`]:t,[`brz-ed-popup-two__footer--y-${o}`]:o});return r.default.createElement("div",{className:l},a)}},81622:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=l(o(60042)),i=o(68914),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={className:"",src:"",style:{},spinnerDelay:250};state={imageFetched:!1,showSpinner:!1};mounted=!1;componentDidMount(){const{src:e,spinnerDelay:t}=this.props;this.mounted=!0,(0,i.preloadImage)(e).then((()=>{this.setState({imageFetched:!0,showSpinner:!1})})),setTimeout((()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})}),t)}render(){const{imageFetched:e,showSpinner:t}=this.state,{className:o,src:i,style:l}=this.props,s=(0,n.default)("brz-img",o);return r.default.createElement(r.Fragment,null,e&&r.default.createElement("img",{className:s,src:i,style:l}),t&&r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}}},68658:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(27378)),n=s(o(10301)),i=s(o(60042)),a=s(o(33364)),l=o(64985);function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{static defaultProps={className:"",value:"",onChange:n.default.noop};handleInputChange=e=>{this.props.onChange(e.target.value)};render(){const{className:e,value:t}=this.props,o=(0,i.default)("brz-ed-popup-two-search",e);return r.default.createElement("div",{className:o},r.default.createElement("input",{type:"text",className:"brz-input brz-ed-popup-two__input",placeholder:(0,l.t)("Type to search"),value:t,onChange:this.handleInputChange}),r.default.createElement("div",{className:"brz-ed-popup-two-search-icon"},r.default.createElement(a.default,{icon:"nc-search"})))}}},82142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"List",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(60042)),i=l(o(33364)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>null!=e;function c(e){const{lists:t=[],counters:o={},value:l="",onChange:c=(()=>{})}=e;return t.map((e=>{let{id:t,title:d,icon:u}=e;return s(o[t])&&r.default.createElement("div",{key:t,title:(0,a.t)(d),className:(0,n.default)("brz-ed-popup-two-sidebar-list",{"brz-ed-popup-two-sidebar-list-active":t===l}),onClick:()=>c(t)},u&&r.default.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-icon"},r.default.createElement(i.default,{icon:u})),r.default.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-text"},d),r.default.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-new"},"new"),r.default.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-quantity"},o[t]))}))}},68387:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Option",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){const{className:t="",title:o="",separator:i=!1,children:a}=e,l=(0,n.default)("brz-ed-popup-two-sidebar",t);return r.default.createElement("div",{className:l},o&&r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-title"},o),i&&r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-separator"},o),a)}},23017:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OptionError",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-title--error"},e.children)},41815:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SidebarOption:function(){return a.Option},SidebarList:function(){return l.List},default:function(){return c}});const r=s(o(27378)),n=s(o(60042)),i=s(o(27998)),a=o(68387),l=o(82142);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){const{className:t,children:o}=e,a=(0,n.default)("brz-ed-popup-two-body__sidebar",t),l=e=>{let{style:t,...o}=e;return r.default.createElement("div",{...o,style:{...t,borderRadius:"inherit",backgroundColor:"rgba(129, 138, 145, 0.5)"}})};return r.default.createElement("div",{className:a},r.default.createElement(i.default,{renderThumbHorizontal:l,renderThumbVertical:l},r.default.createElement("div",{className:"brz-ed-popup-two-sidebar-body"},o)))}},99283:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TagEditable",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(33364)),i=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const{value:t,onChange:o,onAdd:a}=e;return r.default.createElement("div",{className:"brz-ed-popup-two-block__bottom-control-categories-element"},r.default.createElement(n.default,{icon:"nc-plus2",onClick:a}),r.default.createElement("input",{className:"brz-input",placeholder:(0,i.t)("Add new"),type:"text",value:t,onChange:e=>{o(e.target.value)},onKeyPress:e=>{"Enter"===e.key&&a()}}))}},78368:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TagLists",{enumerable:!0,get:function(){return l}});const r=a(o(60042)),n=a(o(27378)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const{name:t,checked:o,onChange:a}=e,l=(0,r.default)("brz-ed-popup-two-block__bottom-control-categories-element",{"brz-ed-popup-two-block__bottom-control-categories-element__selected":o});return n.default.createElement("div",{title:t,className:l,onClick:()=>{a(!o)}},n.default.createElement(i.default,{icon:o?"nc-check-square-on":"nc-check-square-off"}),n.default.createElement("span",{className:"brz-ed-popup-two-block__bottom-control-categories-element-name"},t))}},24839:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return E},LayoutThumbnail:function(){return O}});const r=x(o(60042)),n=x(o(23615)),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(23884),l=x(o(10301)),s=x(o(1424)),c=x(o(33364)),d=x(o(56611)),u=o(94979),p=x(o(22546)),f=o(97045),m=o(46479),y=o(64985),g=o(68914),h=o(16526),b=o(36942),v=o(99283),S=o(78368),w=o(8467);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}const{upgradeToPro:C}=p.default.get("urls"),T={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"};class _ extends i.Component{static defaultProps={showRemoveIcon:!1,showTitle:!1,data:{},animation:!1,isLayout:!1,isAuthorized:!1,tags:void 0,showSync:!1,showDownload:!1,onAdd:l.default.noop,onRemove:l.default.noop,onImageLoaded:l.default.noop,onSync:l.default.noop,onUpdate:l.default.noop};static propTypes={showRemoveIcon:n.default.bool,showTitle:n.default.bool,blockData:n.default.object,animation:n.default.bool,isLayout:n.default.bool,isAuthorized:n.default.bool,tags:n.default.array,showSync:n.default.bool,showDownload:n.default.bool,onAdd:n.default.func,onRemove:n.default.func,onImageLoaded:n.default.func,onSync:n.default.func,onUpdate:n.default.func};state={tooltipOpen:!1,blockTooltipOpen:!1,category:""};iconRef=i.default.createRef();getTags(){const{tags:e,data:t}=this.props;if(!e)return;const o=t.tags?.split(",")??[];return e.reduce(((e,t)=>({...e,[t]:o.includes(t)})),{})}handleTagsTooltipOpen=()=>{this.setState({blockTooltipOpen:!0})};handleTagsTooltipClose=()=>{this.setState({blockTooltipOpen:!1})};handleTooltipOpen=()=>{this.setState({tooltipOpen:!0})};handleTooltipClose=()=>{this.setState({tooltipOpen:!1})};handleClick=()=>{const{data:e,onAdd:t}=this.props;e.loading||e.inactive||t(e)};handleRemove=()=>{const{data:e,onRemove:t}=this.props;t(e)};handleSync=()=>{const{data:e,onSync:t}=this.props;t(e)};handleTitleChange=l.default.debounce((e=>{const{data:t,onUpdate:o}=this.props;o({...t,title:e,dataVersion:t.dataVersion+1})}),1e3);handleChangeCategory=e=>{this.setState({category:e})};handleAddCategory=()=>{const{data:e,onUpdate:t}=this.props,{category:o}=this.state,r=e.tags?.split(",").filter((e=>!!e))??[];o.trim().length>0&&(t({...e,tags:[...r,o].join(","),dataVersion:e.dataVersion+1}),this.setState({category:""}))};updateCategory=(e,t)=>{const{data:o,onUpdate:r}=this.props,n=o.tags?.split(",").filter((e=>!!e))??[],i=t?[...n,e]:n.filter((t=>t!==e));r({...o,tags:i.join(","),dataVersion:o.dataVersion+1})};renderBlank(){const{data:{pro:e}}=this.props,t=!m.IS_PRO&&e,o=this.props.data?.blankTitle??(0,y.t)("Create your own"),n=(0,r.default)("brz-ed-popup-two-block-item","brz-ed-popup-two-block__blank","brz-ed-popup-two-block__blank-first",{"brz-ed-popup-two-block__blank--pro":t});return t?i.default.createElement(s.default,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:5,openOnClick:!1,nodeRef:this.iconRef,overlay:i.default.createElement(u.ProInfo,{text:(0,y.t)("Upgrade to PRO to use this block"),url:C}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},i.default.createElement("div",{className:n},i.default.createElement("p",{ref:this.iconRef,className:"brz-p brz-d-xs-flex brz-align-items-xs-center"},i.default.createElement(c.default,{icon:"nc-lock"})," ",o),i.default.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"))):i.default.createElement("div",{onClick:this.handleClick,className:n},i.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small"}),i.default.createElement("p",{className:"brz-p"},o))}renderPro(){const{animation:e,isLayout:t,data:{thumbnailSrc:o,thumbnailWidth:n,thumbnailHeight:a},onImageLoaded:l}=this.props,{width:p,height:f}=(0,g.imageWrapperSize)(n,a,292),m=(0,r.default)("brz-figure brz-ed-popup-two-block-item",this.state.tooltipOpen&&"brz-ed-popup-two-block-item--active"),h=i.default.createElement(i.default.Fragment,null,i.default.createElement(d.default,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?T:{},src:o,width:p,height:f,onImageLoaded:l}),i.default.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"));return t?i.default.createElement("figure",{className:m,onClick:this.handleClick},h):i.default.createElement(s.default,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:5,openOnClick:!1,nodeRef:this.iconRef,overlay:i.default.createElement(u.ProInfo,{text:(0,y.t)("Upgrade to PRO to use this block"),url:C}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},i.default.createElement("figure",{className:m},h,i.default.createElement("span",{ref:this.iconRef,className:"brz-ed-popup-two-block__span-lock"},i.default.createElement(c.default,{icon:"nc-lock"}))))}renderTagsOverlay(e){const t=Object.entries(e);return i.default.createElement(i.default.Fragment,null,t.map(((e,t)=>{let[o,r]=e;return i.default.createElement(S.TagLists,{key:t,name:o,checked:r,onChange:e=>this.updateCategory(o,e)})})),i.default.createElement(v.TagEditable,{value:this.state.category,onAdd:this.handleAddCategory,onChange:this.handleChangeCategory}))}renderTags(){const e=this.getTags();if(e)return i.default.createElement(s.default,{arrow:!1,size:"small",placement:"bottom-start",offset:5,overlay:this.renderTagsOverlay(e),openOnClick:!0,onOpen:this.handleTagsTooltipOpen,onClose:this.handleTagsTooltipClose},i.default.createElement(c.default,{icon:"nc-saved-block-tags"}))}renderTitle(){const{data:{title:e}}=this.props;return i.default.createElement(w.Title,{value:e,onChange:this.handleTitleChange})}renderFree(){const{animation:e,data:{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:r},onImageLoaded:n}=this.props,{width:a,height:l}=(0,g.imageWrapperSize)(o,r,292);return i.default.createElement("figure",{className:"brz-figure brz-ed-popup-two-block-item",onClick:this.handleClick},i.default.createElement(d.default,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?T:{},src:t,width:a,height:l,onImageLoaded:n}))}renderRemoveIcon(){return i.default.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-two-block-remove",onClick:this.handleRemove},i.default.createElement(c.default,{icon:"nc-trash"}))}renderSyncIcon(){const{isAuthorized:e,data:{synchronizable:t,synchronized:o}}=this.props;if(t&&e){const e=(0,r.default)("brz-ed-popup-two-block-sync",{"brz-ed-popup-two-block-sync--uploaded":o}),t=o?(0,y.t)("Block is synchronized"):(0,y.t)("Block will be synchronized");return i.default.createElement("div",{title:t,className:e,onClick:this.handleSync},i.default.createElement(c.default,{icon:o?"nc-check-circle-on":"nc-reverse-glyph"}))}}renderLoading(){return i.default.createElement("div",{className:"brz-ed-popup-two-block--loading"},i.default.createElement(c.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderDownloadIcon(){const{uid:e,type:t}=this.props.data;return i.default.createElement(b.DownloadBlock,{id:e,type:t})}render(){const{isLayout:e,showSync:t,showTitle:o,showDownload:n,tags:a,data:{blank:l,showRemoveIcon:s,pro:c,loading:d,inactive:u,renderWrapper:f}}=this.props,{blockTooltipOpen:y}=this.state,g=o||n||a,b=!m.IS_PRO&&c,v=l&&"blank"===l,S=(0,r.default)("brz-ed-popup-two-block",(0,h.isStory)(p.default.getAll())&&"brz-ed-popup-two-block-stories",b&&"brz-ed-popup-two-block--pro",e&&"brz-ed-popup-two-block--layout",u&&"inactive",y&&"brz-ed-popup-two-block-tags-opened");let w;return v?w=this.renderBlank():(w=b?this.renderPro():this.renderFree(),f&&(w=f(w))),i.default.createElement("div",{className:S},w,s&&this.renderRemoveIcon(),d&&this.renderLoading(),(t||g)&&!v&&i.default.createElement("div",{className:"brz-ed-popup-two-block__bottom-control"},t&&this.renderSyncIcon(),g&&i.default.createElement("div",{className:"brz-ed-popup-two-block__bottom-control-downline"},o&&this.renderTitle(),n&&this.renderDownloadIcon(),a&&this.renderTags())))}}class k extends i.Component{state={thumbnailLoaded:!1};handleLoaded=()=>{this.setState({thumbnailLoaded:!0})};render(){const{data:{name:e,pages:t,color:o},...n}=this.props,{thumbnailLoaded:a}=this.state,l=(0,h.isStory)(p.default.getAll()),s=(0,r.default)("brz-ed-popup-two-block-info",l&&"brz-ed-popup-two-block-info-stories");return i.default.createElement("div",{className:s,style:a?T:{}},i.default.createElement(_,{...n,data:this.props.data,isLayout:!0,onImageLoaded:this.handleLoaded}),a&&t.length>1&&i.default.createElement("span",{className:"brz-ed-popup-two-block-info-color",style:{backgroundColor:o}},i.default.createElement("span",{className:"brz-ed-popup-two-block-info-color-opacity",style:{backgroundColor:o}})),i.default.createElement("div",{className:"brz-ed-popup-two-block-info-downline"},i.default.createElement("div",{className:"brz-ed-popup-two-block-info-title"},e),i.default.createElement("div",{className:"brz-ed-popup-two-block-info-title"},t.length," ",t.length>1?l?(0,y.t)("stories"):(0,y.t)("layouts"):l?(0,y.t)("story"):(0,y.t)("layout"))))}}const M=e=>({isAuthorized:"connected"===(0,f.authorizedSelector)(e)}),O=(0,a.connect)(M)(k),E=(0,a.connect)(M)(_)},7416:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=s(o(22546)),a=o(16526),l=s(o(24839));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends n.Component{static defaultProps={columns:(0,a.isStory)(i.default.getAll())?5:4,responsive:[{breakpoint:1460,settings:{columns:(0,a.isStory)(i.default.getAll())?4:3}},{breakpoint:1200,settings:{columns:3}}],ThumbnailComponent:l.default};state={currentColumns:this.props.columns};componentDidMount(){this.handleResize(),window.addEventListener("resize",this.handleResize)}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}handleResize=()=>{const e=window.innerWidth,{responsive:t,columns:o}=this.props;if(t&&t.length){const r=t.reduce(((t,o)=>o.breakpoint>e&&(void 0===t.breakpoint||t.breakpoint>o.breakpoint)?o:t),{});this.setState({currentColumns:r.settings&&r.settings.columns||o})}};render(){const{data:e,tags:t,showSync:o,showTitle:l,showDownload:s,onThumbnailAdd:c,onThumbnailRemove:d,ThumbnailComponent:u,onUpdate:p}=this.props,{currentColumns:f}=this.state,m=[];for(let e=0;e{const a=`${i}-${r.type??"block"}-${r.uid??""}`,m=n.default.createElement(u,{key:a,animation:!0,showSync:o,showDownload:s,tags:t,showTitle:l,data:r,onAdd:c,onRemove:d,onUpdate:p});return e[i%f].push(m),e}),m).map(((e,t)=>n.default.createElement("div",{key:t,className:y,style:{width:100/f+"%",flexBasis:100/f+"%"}},e)));return n.default.createElement("div",{className:"brz-ed-popup-two-blocks__grid"},g)}}},8467:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Title",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(33364))&&i.__esModule?i:{default:i};var i;const a=o(64985);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{const{value:t,onChange:o}=e,i=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=i.current;e&&e.value!==t&&(e.value=t)}),[t]),r.default.createElement("div",{className:"brz-ed-popup-two-block__bottom-control-title"},r.default.createElement("input",{ref:i,type:"text",className:"brz-input",placeholder:(0,a.t)("Give it a title"),defaultValue:t,onChange:e=>{o(e.target.value)}}),r.default.createElement("span",{className:"brz-ed-popup-two-block__bottom-control-title-pen",title:(0,a.t)("Edit")},r.default.createElement(n.default,{onClick:()=>{i.current?.focus()},icon:"nc-pen"})))}},57266:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isBlock:function(){return u},isPopup:function(){return p},isLayout:function(){return f},createBlockId:function(){return m},getExportBlocksUrls:function(){return y},getError:function(){return g}});const r=o(47885),n=(i=o(22546))&&i.__esModule?i:{default:i};var i;const a=o(61839),l=o(39191),s=o(64985),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(48630));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>"BLOCK"===e,p=e=>"POPUP"===e,f=e=>"LAYOUT"===e,m=(e,t)=>t?`${e}:1`:`${e}:0`,y=(e,t,o)=>{const i=n.default.getAll(),{editorVersion:s}=i;if((0,l.isWp)(i)){const{url:n,hash:l,downloadBlocks:c,downloadLayouts:d}=i.wp.api,y=(0,r.match)([u,()=>c],[f,()=>d],[p,()=>c]),g=(0,a.objectToQueryString)({hash:l,uid:m(t,o),version:s,action:y(e),type:e.toLowerCase()});return(0,a.urlContainsQueryString)(n)?`${n}&${g}`:`${n}?${g}`}const c=`${i.urls.api}/zip_template/export`,d=(0,a.objectToQueryString)({id:t,version:s,type:e.toLowerCase(),pro:o?"1":"0"});return(0,a.urlContainsQueryString)(c)?`${c}&${d}`:`${c}?${d}`},g=e=>(e=>c.isObject(e)&&"data"in e)(e)?e.data:(e=>c.isObject(e)&&"errors"in e&&Array.isArray(e.errors))(e)?e.errors[0].message:(0,s.t)("Something went wrong")},32230:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{HeaderSlot:function(){return w},default:function(){return x}});const r=b(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=b(o(31542)),a=b(o(10301)),l=b(o(33364)),s=b(o(40687)),c=b(o(22546)),d=o(64985),u=o(16526),p=o(55250),f=o(6085),m=b(o(28686)),y=b(o(20614)),g=b(o(46919)),h=b(o(73333));function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}class S extends n.Component{static defaultProps={activeTab:"blocks",type:"normal",opened:!1,showTemplate:!0,showBlocks:!0,showSaved:!0,showGlobal:!0,templateSidebar:!0,blocksSidebar:!0,savedSidebar:!0,globalSidebar:!0,templateSearch:!0,blocksSearch:!0,savedSearch:!0,globalSearch:!0,onChangeBlocks:a.default.noop,onChangeTemplate:a.default.noop,onChangeSaved:a.default.noop,onChangeGlobal:a.default.noop,onClose:a.default.noop};wrapper=n.default.createRef();mounted=!1;tabs=((e,t)=>{const{defaultLayouts:o,defaultStories:r,defaultKits:i,defaultPopups:a}=e.api??{},l=!!o?.getMeta&&!!o?.getData,s=!!r?.getMeta&&!!r?.getData,p=!!i?.getMeta&&!!i?.getData,f=!!a?.getMeta&&!!a?.getData,b=(0,u.isStory)(c.default.getAll()),v="popup"===t,S=[];s&&b&&S.push({id:"template",title:r?.label??(0,d.t)("Stories"),icon:"nc-pages",renderTab:e=>n.default.createElement(g.default,{...e,type:"stories"})}),l&&!b&&S.push({id:"template",title:o?.label??(0,d.t)("Layouts"),icon:"nc-pages",renderTab:e=>n.default.createElement(g.default,{...e,type:"layouts"})}),p&&!v&&S.push({id:"blocks",title:i?.label??(0,d.t)("Blocks"),icon:"nc-blocks",renderTab:e=>n.default.createElement(m.default,e)}),f&&v&&S.push({id:"blocks",title:a?.label??(0,d.t)("Popups"),icon:"nc-blocks",renderTab:e=>n.default.createElement(m.default,e)});const w={id:"global",title:(0,u.isPopup)(e)?(0,d.t)("Global Popups"):(0,d.t)("Global Blocks"),icon:"nc-global",renderTab:e=>n.default.createElement(y.default,e)},{savedLayouts:x,savedBlocks:P,savedPopups:C}=e.api??{},T=x?.get&&x?.getByUid,_=P?.get&&P?.getByUid,k=C?.get&&C?.getByUid;return _||T||k?(0,u.isPopup)(e)&&k?[...S,{id:"saved",title:(0,d.t)("Saved Popups"),icon:"nc-save-section",renderTab:e=>n.default.createElement(h.default,e)},w]:T||_?[...S,{id:"saved",title:(0,d.t)("Saved"),icon:"nc-save-section",renderTab:e=>n.default.createElement(h.default,e)},w]:S:[...S,w]})(c.default.getAll(),this.props.type);state={currentTab:this.props.activeTab||"blocks"};componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}getWrapper=()=>this.wrapper.current;hasSearch(e){return!!(0,p.get)(`${e}Search`,this.props)}hasSidebar(e){return!!(0,p.get)(`${e}Sidebar`,this.props)}handleTabChange(e){this.setState({currentTab:e})}handleChange=e=>{const{currentTab:t}=this.state,{onChangeBlocks:o,onChangeGlobal:r,onChangeSaved:n,onChangeTemplate:i}=this.props;switch(t){case"blocks":o?.(e);break;case"template":i?.(e);break;case"saved":n?.(e);break;case"global":r?.(e)}};handleClose=()=>{this.mounted&&this.props.onClose?.()};renderTabs(){const{currentTab:e}=this.state,t=this.tabs.filter((e=>{let{id:t}=e;const o=`show${(0,f.capitalize)(t)}`;return!!(0,p.get)(o,this.props)})).map((t=>{const o=(0,r.default)("brz-ed-popup-two-tab-item",{"brz-ed-popup-two-tab-item-active":t.id===e});return n.default.createElement("div",{key:t.id,className:o,onClick:()=>{this.handleTabChange(t.id)}},n.default.createElement("div",{className:"brz-ed-popup-two-tab-icon"},n.default.createElement(l.default,{icon:t.icon})),n.default.createElement("div",{className:"brz-ed-popup-two-tab-name"},t.title))})),o=c.default.getAll(),i=o?.ui?.help?.showIcon;return n.default.createElement("div",{className:"brz-ed-popup-two-header"},n.default.createElement("div",{id:"brz-ed-popup-header-left-slot"}),n.default.createElement("div",{className:"brz-ed-popup-two-header__tabs"},t),n.default.createElement("div",{id:"brz-ed-popup-header-right-slot"}),n.default.createElement("div",{className:"brz-ed-popup-two-btn-close",onClick:this.props.onClose}),i&&n.default.createElement("div",{className:"brz-ed-popup-two-btn-help"},n.default.createElement("span",{title:(0,d.t)("Help")},n.default.createElement(l.default,{icon:"nc-help"}))))}renderContent(){const{currentTab:e}=this.state,{renderTab:t}=this.tabs.find((t=>{let{id:o}=t;return o===e}))||this.tabs[0];return t({HeaderSlotLeft:e=>n.default.createElement(w,{...e,slot:"left"}),type:this.props.type,onClose:this.handleClose,showSearch:this.hasSearch(e),showSidebar:this.hasSidebar(e),onAddBlocks:this.handleChange,getParentNode:this.getWrapper})}render(){return n.default.createElement(s.default,{opened:this.props.opened,onClose:this.handleClose},n.default.createElement("div",{ref:this.wrapper,className:"brz-ed-popup-two-wrapper brz-ed-popup-two-blocks"},this.renderTabs(),n.default.createElement("div",{className:"brz-ed-popup-two-body"},this.renderContent())))}}class w extends n.Component{static defaultProps={slot:"left"};state={isMounted:!1};headerSlotNode=null;componentDidMount(){this.headerSlotNode=window.parent.document.querySelector(`#brz-ed-popup-header-${this.props.slot}-slot`),this.setState({isMounted:!0})}render(){return this.state.isMounted&&this.headerSlotNode&&i.default.createPortal(this.props.children,this.headerSlotNode)}}const x=S},55087:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(33364)),i=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>r.default.createElement("div",{className:"brz-ed-popup-conditions__buttons"},r.default.createElement("button",{className:"brz-button brz-button__cancel",onClick:e.onClose},(0,i.t)("Cancel")),r.default.createElement("button",{className:"brz-button brz-button__save",onClick:e.onChange},e.loading?r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):(0,i.t)("Save")))},94135:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(27378)),n=o(70634),i=s(o(74584)),a=s(o(93654)),l=o(63425);function s(e){return e&&e.__esModule?e:{default:e}}class c extends r.default.Component{handleRemove=e=>{this.props.onChange((0,n.removeAt)(this.props.rules,e))};handleVisibilityTypeChange=(e,t)=>{const{rules:o,onChange:r}=this.props,i=t?l.BlockTypeRule.include:l.BlockTypeRule.exclude;r((0,n.setIn)(o,[e,"type"],i))};handleGroupChange=(e,t)=>{const{rules:o,onChange:r}=this.props;let i;if(null===e)i={type:o[t].type};else{const[r,n]=e.split("|||");i={type:o[t].type,entityType:n,appliedFor:""===r||null===r?null:Number(r)}}r((0,n.setIn)(o,[t],i))};handleTypeChange=(e,t)=>{const{rules:o,onChange:r}=this.props;let i;if(null===e){const{type:e,appliedFor:r,entityType:n}=o[t];i={type:e,appliedFor:r,entityType:n}}else{const[r,n]=e.split("|||"),{type:a,appliedFor:l,entityType:s}=o[t];i={type:a,appliedFor:l,entityType:s,mode:"reference"===r?"reference":"specific",entityValues:n?[n]:[]}}r((0,n.setIn)(o,[t],i))};render(){const{rules:e,rulesList:t}=this.props;return e.map(((e,o)=>{const n=e.type===l.BlockTypeRule.include;return r.default.createElement(i.default,{key:o,active:n,onChange:()=>this.handleVisibilityTypeChange(o,!n),onRemove:()=>this.handleRemove(o)},r.default.createElement(a.default,{rule:e,rulesList:t,onGroupChange:e=>this.handleGroupChange(e,o),onTypeChange:e=>this.handleTypeChange(e,o)}))}))}}const d=c},93654:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=u(o(27378)),n=o(65683),i=u(o(97023)),a=u(o(65961)),l=u(o(53799)),s=o(25663),c=o(41330),d=o(94672);function u(e){return e&&e.__esModule?e:{default:e}}class p extends r.default.Component{renderGroupOptions(e){return[r.default.createElement(a.default,{key:"all",value:null},"All"),...e.map((e=>{let{title:t,value:o,groupValue:n,disabled:i}=e;return r.default.createElement(a.default,{key:`key-${o}`,value:`${n}|||${o}`,disabled:i},t)}))]}renderTypeOptions(e){return[r.default.createElement(a.default,{key:"all",value:null},"All"),...e.map((e=>(0,c.isLegacyRuleListItem)(e)?r.default.createElement(a.default,{key:e.value,value:`specific|||${e.value}`},r.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},r.default.createElement("span",{title:e.title,className:"brz-ellipsis"},e.title),e.status&&r.default.createElement(n.Badge,{status:e.status}))):r.default.createElement(l.default,{key:e.value,title:e.title,items:e.items.map((t=>{let{value:o,title:i,status:l}=t;return r.default.createElement(a.default,{key:e.value,value:`${e.mode}|||${o}`},r.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},r.default.createElement("span",{title:i,className:"brz-ellipsis"},i),l&&r.default.createElement(n.Badge,{status:"published"===l?"publish":l})))}))},r.default.createElement("span",{className:"brz-span"},e.title))))]}render(){const{rulesList:e,rule:t,onGroupChange:o,onTypeChange:n}=this.props;let a=null,l=null;return((0,s.isCollectionItemRule)(t)||(0,s.isCollectionTypeRule)(t))&&(a=e[(0,d.getRulesListIndexByRule)(e,t)],l=`${t.appliedFor}|||${t.entityType}`),r.default.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},r.default.createElement(i.default,{className:"brz-control__select--white",maxItems:6,itemHeight:30,defaultValue:l,inPortal:!0,onChange:o},this.renderGroupOptions(e)),a&&a.items&&r.default.createElement(i.default,{defaultValue:(0,s.isCollectionItemRule)(t)?`${t.mode}|||${t.entityValues[0]}`:null,className:"brz-control__select--white",maxItems:6,itemHeight:30,inPortal:!0,onChange:n},this.renderTypeOptions(a.items)))}}const f=p},30931:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});const r=T(o(27378)),n=o(23884),i=o(10301),a=P(o(33364)),l=o(62948),s=o(81300),c=P(o(22546)),d=o(13662),u=o(62762),p=o(97045),f=o(63425),m=o(5194),y=o(46479),g=o(64985),h=o(16526),b=T(o(95945)),v=P(o(55087)),S=P(o(94135)),w=P(o(32458)),x=o(94672);function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const _=e=>{const{context:t,value:o=[],asyncGetValue:P,onClose:C=i.noop,onChange:T=i.noop}=e,[_,k]=(0,r.useState)(o),[M,O]=(0,r.useState)(!1),[E,B]=(0,w.default)(_,t),z=(0,n.useSelector)(p.pageSelector);return(0,r.useEffect)((()=>{P&&async function(e){let t=await e();y.IS_CLOUD&&!t?t=[{type:1}]:t||(t=[]),k(t)}(P)}),[P]),r.default.createElement(r.default.Fragment,null,E?r.default.createElement("div",{className:"brz-ed-popup-conditions__spin"},r.default.createElement(a.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):r.default.createElement(s.Scrollbar,{autoHeightMax:"350px",theme:"light"},null!==_&&r.default.createElement(S.default,{rules:_,rulesList:B,onChange:function(e){y.IS_PRO&&k(e)}}),r.default.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:function(){if(y.IS_PRO){const e=c.default.getAll();if((0,h.isPopup)(e)){const e={type:f.BlockTypeRule.include};k([..._,e])}else{const t={type:f.BlockTypeRule.include,appliedFor:m.PAGES_GROUP_ID,entityType:"page"};(0,u.isCollectionPage)(z)&&b.is(z.collectionType.id)&&(t.entityType=z.collectionType.id),(0,u.isEcwidProductPage)(z)&&(t.entityType=m.ECWID_PRODUCT_TYPE),(0,u.isEcwidCategoryPage)(z)&&(t.entityType=m.ECWID_PRODUCT_CATEGORY_TYPE),(0,u.isCloud)(e)&&(0,d.isCustomerPage)(e.page)&&(t.entityType=m.CUSTOMER_TYPE),k([..._,t])}}}},r.default.createElement(a.default,{icon:"nc-add"})," ",(0,g.t)("Add new display condition"))),r.default.createElement(v.default,{loading:M,onChange:function(){y.IS_PRO&&(O(!0),T({data:{rules:(0,x.getUniqRules)(_)},meta:{syncSuccess:()=>O(!1),syncFail:e=>{O(!1),l.ToastNotification.error(e.message??(0,g.t)("Something went wrong"))}}}))},onClose:C}))}},41330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isCMSRuleListItem:function(){return o},isLegacyRuleListItem:function(){return r}});const o=e=>void 0!==e.items,r=e=>!o(e)},32458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=o(27378),n=o(70634),i=o(64187),a=o(25663),l=o(5194),s=o(94672);function c(e,t){const[o,c]=(0,r.useState)([]),[d,u]=(0,r.useState)(!0);return(0,r.useEffect)((()=>{!async function(){u(!0);const e=(await(0,i.getGroupList)(t)||[]).map((e=>{let{items:t}=e;return t})).flat();u(!1),c(e)}()}),[t]),(0,r.useEffect)((()=>{null!==e&&o.length&&async function(){const t=(0,s.getUniqRules)(e);let r=o;for(const d of t)if((0,a.isCollectionItemRule)(d)||(0,a.isCollectionTypeRule)(d)){const t=(0,s.getRulesListIndexByRule)(o,d),a=d.appliedFor,u=o[t]?.items;if(!u&&null!==a&&[l.PAGES_GROUP_ID,l.CATEGORIES_GROUP_ID,l.TEMPLATES_GROUP_ID].includes(a)){let o=[];switch(a){case l.PAGES_GROUP_ID:case l.TEMPLATES_GROUP_ID:o=(await(0,i.getRulePostsGroupList)(d.entityType)).map((e=>{let{value:t,title:o,items:r}=e;return Array.isArray(r)?{title:o,items:r.map((e=>{let{title:t,value:o,status:r}=e;return{title:t,status:r,value:`${o}`}})),value:`${t}`,mode:r.find((e=>d.entityType===e.groupValue))?"specific":"reference"}:{title:o,value:`${t}`}}));break;case l.CATEGORIES_GROUP_ID:o=(await(0,i.getTerms)(d.entityType)).map((e=>{let{name:t,term_id:o}=e;return{title:t,value:`${o}`,mode:"specific"}}))}r=(0,n.setIn)(r,[t,"items"],o),c((0,s.disableAlreadyUsedRules)(e,r))}}}()}),[e,o]),[d,o]}},94672:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getRulesListIndexByRule:function(){return a},disableAlreadyUsedRules:function(){return l},getUniqRules:function(){return s}});const r=o(70634),n=o(5194),i=o(25663);function a(e,t){let{appliedFor:o,entityType:r}=t;return e.findIndex((e=>{let{groupValue:t,value:n}=e;return t===o&&n===r}))}function l(e,t){if(0===t.length)return t;let o=t;return e.forEach((e=>{if(!(0,i.isCollectionItemRule)(e))return;const l=a(t,e);if(-1!==l)if(e.appliedFor!==n.PAGES_GROUP_ID&&e.appliedFor!==n.CATEGORIES_GROUP_ID)o=(0,r.setIn)(o,[l,"disabled"],!0);else{const{items:t}=o[l];if(t&&e.entityValues.length){const n=t.findIndex((t=>{let{value:o}=t;return e.entityValues.includes(o)}));-1!==n&&(o=(0,r.setIn)(o,[l,"items",n,"disabled"],!0))}}})),o}function s(e){const t=new Map;return e.forEach((e=>{let o=null;if((0,i.isAllRule)(e)&&(o=`type|${e.type}`),(0,i.isCollectionTypeRule)(e)&&(o=`type|${e.type};appliedFor|${e.appliedFor};entityType|${e.entityType}`),(0,i.isCollectionItemRule)(e)&&(o=`type|${e.type};appliedFor|${e.appliedFor};entityType|${e.entityType};entityValues|${e.entityValues.join(",")}`),null===o)throw new Error("Smth. went wrong. Rule can be one of type or all|collectionType|collectionItem");t.set(o,e)})),[...t.values()]}},72953:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=b(o(27378)),n=o(23884),i=o(70634),a=b(o(97023)),l=b(o(65961)),s=o(1014),c=b(o(33364)),d=o(81300),u=o(10744),p=o(97045),f=o(46479),m=o(64985),y=b(o(55087)),g=b(o(74584)),h=b(o(461));function b(e){return e&&e.__esModule?e:{default:e}}class v extends r.default.Component{constructor(e){super(e);const t=e.values.find((e=>{let{id:t}=e;return"triggerOnce"===t}))||{},o=(0,i.removeAt)(e.values,e.values.indexOf(t));this.state={triggerOnce:t.value||!1,values:o,loading:!1}}handleChange=()=>{if(f.IS_PRO){const{values:e,triggerOnce:t}=this.state,o={id:"triggerOnce",active:!0,value:t};this.setState({loading:!0},(()=>{const t={syncSuccess:()=>this.setState({loading:!1}),syncFail:()=>this.setState({loading:!1})};this.props.dispatch((0,u.updateTriggers)([...e,o],t))}))}};handleTriggerOnceChange=e=>{f.IS_PRO&&this.setState({triggerOnce:e})};handleWrapperTriggerChange=(e,t)=>{f.IS_PRO&&this.setState({values:(0,i.setIn)(this.state.values,[e],{...this.state.values[e],...t})})};handleWrapperTriggerRemove=e=>{f.IS_PRO&&this.setState({values:(0,i.removeAt)(this.state.values,e)})};handleTriggerChange(e,t){const{values:o}=this.state,{defaultValue:r}=h.default.find((e=>{let{id:o}=e;return o===t})),n=(0,i.setIn)(o,[e],{...o[e],id:t,value:r});this.setState({values:n})}handleValueChange=(e,t)=>{f.IS_PRO&&this.setState({values:(0,i.setIn)(this.state.values,[e,"value"],t)})};handleAdd=()=>{if(f.IS_PRO){const{values:e}=this.state,t=this.getAvailableItems();t[0]&&this.setState({values:[...e,{id:t[0].id,active:!0,value:t[0].defaultValue}]})}};getAvailableItems(e){const{values:t}=this.state;let o=t.reduce(((e,t)=>{let{id:o}=t;return e[o]?e[o]++:e[o]=1,e}),{});return h.default.filter((r=>{let{id:n,duplicatesAmount:i=1}=r;const a=t.find((e=>e.id===n)),l=o[n]&&i>o[n];return e===n||l||!a})).sort(((e,o)=>{let{id:r,duplicatesAmount:n=0}=e,{id:i,duplicatesAmount:a=0}=o;const l=t.find((e=>e.id===r)),s=t.find((e=>e.id===i));return l?1:s?-1:n>a?1:n{let{id:o,title:n}=e;return r.default.createElement(l.default,{key:t,value:o},n)}));return r.default.createElement(a.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:o,onChange:t=>this.handleTriggerChange(e,t)},n)}render(){const{values:e,triggerOnce:t}=this.state,o=e.map(((e,t)=>{const{Component:o,...n}=h.default.find((t=>{let{id:o}=t;return o===e.id}))||{},i=o?r.default.createElement(o,{...n,...e,onChange:e=>this.handleValueChange(t,e)}):null;return r.default.createElement(g.default,{showTypeButton:!1,key:t,active:e.active,onChange:e=>this.handleWrapperTriggerChange(t,e),onRemove:()=>this.handleWrapperTriggerRemove(t)},this.renderTriggers(t),i)}));return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ed-popup-conditions__trigger-once"},r.default.createElement("div",null,(0,m.t)("Trigger Popup Only Once")),r.default.createElement(s.Switch,{value:t,onChange:this.handleTriggerOnceChange})),r.default.createElement(d.Scrollbar,{autoHeightMax:"350px",theme:"light"},o,r.default.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:this.handleAdd},r.default.createElement(c.default,{icon:"nc-add"})," ",(0,m.t)("Add new trigger condition"))),r.default.createElement(y.default,{loading:this.state.loading,onChange:this.handleChange,onClose:this.props.onClose}))}}const S=(0,n.connect)((e=>({values:(0,p.triggersSelector)(e)})),(e=>({dispatch:e})))(v)},461:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=h(o(34523)),n=h(o(78981)),i=h(o(8059)),a=h(o(20928)),l=h(o(83568)),s=h(o(10345)),c=h(o(73691)),d=h(o(32880)),u=h(o(18817)),p=h(o(11988)),f=h(o(46990)),m=h(o(49197)),y=h(o(80856)),g=h(o(97041));function h(e){return e&&e.__esModule?e:{default:e}}const b=[{id:"pageLoad",title:"On Page Load",type:"number",placeholder:"After (sec)",Component:r.default},{id:"scrolling",title:"On Scroll",defaultValue:{value:"down",within:"",toElement:""},duplicatesAmount:1/0,Component:n.default},{id:"click",title:"On Click",type:"number",placeholder:"clicks",Component:r.default},{id:"inactivity",title:"After Inactivity",type:"number",placeholder:"After (sec)",Component:r.default},{id:"exitIntent",title:"On Page Exit Intent",defaultValue:!0},{id:"showing",title:"Show After X",defaultValue:{value:"views",type:"equals",views:5,sessions:3},duplicatesAmount:2,Component:i.default},{id:"referrer",title:"Arriving From",defaultValue:{type:"is",value:"show",url:"",source:"search_engines"},duplicatesAmount:1/0,Component:a.default},{id:"loggedIn",title:"Hide for logged in users",defaultValue:{value:"all",user:void 0},duplicatesAmount:1/0,Component:l.default},{id:"devices",title:"Show on devices",defaultValue:"desktop",duplicatesAmount:3,Component:s.default},{id:"currentUrl",title:"Current Page URL",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:c.default},{id:"currentDate",title:"Current Date",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:d.default},{id:"lastVisitDate",title:"Last Visit Date",defaultValue:{type:"matches",value:""},duplicatesAmount:1/0,Component:u.default},{id:"timeFrom",title:"Time From",defaultValue:{type:"greater",visit:"first",time:"days",value:""},duplicatesAmount:1/0,Component:p.default},{id:"cookie",title:"Cookie",defaultValue:{type:"matches",param:"",value:""},duplicatesAmount:1/0,Component:f.default},{id:"os",title:"Operating System",defaultValue:{type:"is",value:"windows"},duplicatesAmount:1/0,Component:m.default},{id:"otherPopups",title:"No other popup",defaultValue:{type:"was",value:"page"},duplicatesAmount:1,Component:y.default},{id:"specificPopup",title:"Other specific popup",defaultValue:{type:"was",value:""},duplicatesAmount:1/0,Component:g.default}]},46990:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"param",value:t.param,onChange:e=>{let{target:{value:r}}=e;return o({...t,param:r})}})),r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"matches",value:"matches"},"matches"),r.default.createElement(i.default,{key:"contains",value:"contains"},"contains"),r.default.createElement(i.default,{key:"does not contain",value:"does not contain"},"does not contain"),r.default.createElement(i.default,{key:"does not match",value:"does not match"},"does not match")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"value",value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},32880:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e,a=(new Date).toJSON().slice(0,10).split("-").reverse().join("/");return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"before",value:"before"},"is before"),r.default.createElement(i.default,{key:"matches",value:"matches"},"matches"),r.default.createElement(i.default,{key:"after",value:"after"},"is after")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:a,value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},73691:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"matches",value:"matches"},"matches"),r.default.createElement(i.default,{key:"contains",value:"contains"},"contains"),r.default.createElement(i.default,{key:"does not contain",value:"does not contain"},"does not contain"),r.default.createElement(i.default,{key:"does not match",value:"does not match"},"does not match")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"URL",value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},10345:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t,onChange:e=>o(e)},r.default.createElement(i.default,{key:"desktop",value:"desktop"},"Desktop"),r.default.createElement(i.default,{key:"tablet",value:"tablet"},"Tablet"),r.default.createElement(i.default,{key:"mobile",value:"mobile"},"Mobile")))}},34523:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){const{className:t,type:o="text",placeholder:i="",value:a="",onChange:l=(()=>{})}=e,s=(0,n.default)("brz-input",t);return r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:s,type:o,placeholder:i,value:a,onChange:e=>{let{target:{value:t}}=e;return l(t)}}))}},74584:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(60042)),i=l(o(33364)),a=o(6085);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){let{showTypeButton:t=!0,active:o,children:l,onChange:s,onRemove:c}=e;const d=o?"include":"exclude",u=o?r.default.createElement(i.default,{icon:"nc-include"}):r.default.createElement(i.default,{icon:"nc-none"}),p=(0,n.default)("brz-ed-popup-conditions__type",`brz-ed-popup-conditions__type-${d}`);return r.default.createElement("div",{className:"brz-ed-popup-conditions__condition brz-d-xs-flex"},t&&r.default.createElement("div",{className:p,onClick:()=>s({active:!o})},r.default.createElement("span",{className:"brz-ed-popup-conditions__type-text"},u,(0,a.capitalize)(d))),r.default.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},l),r.default.createElement("div",{className:"brz-ed-popup-conditions__remove",onClick:c},r.default.createElement(i.default,{icon:"nc-trash"})))}},18817:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e,a=(new Date).toJSON().slice(0,10).split("-").reverse().join("/");return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"before",value:"before"},"is before"),r.default.createElement(i.default,{key:"matches",value:"matches"},"matches"),r.default.createElement(i.default,{key:"after",value:"after"},"is after")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:a,value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},83568:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(97023)),i=l(o(65961)),a=l(o(22546));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){const{value:t={},onChange:o=(()=>{})}=e,{availableRoles:l}=a.default.get("wp");let s=null;return"custom"===t.value&&(s=Array.isArray(l)&&l.length?r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.user,onChange:e=>o({...t,user:e})},l.map((e=>{let{role:t,name:o}=e;return r.default.createElement(i.default,{key:t,value:t},o)}))):r.default.createElement("span",null,"There are no available users. Add user first")),r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:function(e){o("all"===e?{value:e}:{value:e,user:l?.[0]?.role})}},r.default.createElement(i.default,{key:"all",value:"all"},"All users"),r.default.createElement(i.default,{key:"custom",value:"custom"},"Custom")),s)}},49197:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}const l={android:"Android",bada:"Bada",blackberry:"BlackBerry OS",chromeOs:"Chrome OS",firefoxOs:"Firefox OS",ios:"IOS",linux:"Linux",mac:"Mac OS",windows:"Windows"};function s(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"is",value:"is"},"is"),r.default.createElement(i.default,{key:"is not",value:"is not"},"is not")),r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},(a=l,Object.entries(a).map((e=>{let[t,o]=e;return r.default.createElement(i.default,{key:t,value:t},o)})))));var a}},80856:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"was",value:"was"},"was shown"),r.default.createElement(i.default,{key:"was not",value:"was not"},"was not shown")),r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},r.default.createElement(i.default,{key:"page",value:"page"},"on the same page"),r.default.createElement(i.default,{key:"session",value:"session"},"during the session")))}},20928:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=l(o(27378)),n=l(o(97023)),i=l(o(53799)),a=l(o(65961));function l(e){return e&&e.__esModule?e:{default:e}}const s={search_engines:"Any Search Engine",bing:"Bing",yandex:"Yandex",yahoo:"Yahoo",baidu:"Baidu","so.com":"So.com","360.cn":"360.cn",aol:"AOL",duckduckgo:"DuckDuckGo","ask.com":"Ask.com","mail.ru":"Mail.ru",sogou:"Sogou"},c={social_networks:"Any Social Networks",facebook:"Facebook",pinterest:"Pinterest",twitter:"Twitter",linkedin:"LinkedIn"},d={external:"External Links",internal:"Internal Links"};function u(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},r.default.createElement(a.default,{key:"show",value:"show"},"Show"),r.default.createElement(a.default,{key:"hide",value:"hide"},"Hide"),r.default.createElement(a.default,{key:"regex",value:"regex"},"Regex"),r.default.createElement(a.default,{key:"source",value:"source"},"Source")),"source"===t.value?[r.default.createElement(n.default,{key:"type",className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(a.default,{key:"is",value:"is"},"is"),r.default.createElement(a.default,{key:"is not",value:"is not"},"is not")),r.default.createElement(n.default,{className:"brz-control__select--light",key:"source",itemHeight:30,defaultValue:t.source,onChange:e=>o({...t,source:e})},r.default.createElement(i.default,{key:"Organic",title:"Organic",items:l(s)},r.default.createElement("span",{className:"brz-span"},"Organic")),r.default.createElement(i.default,{key:"Social Networks",title:"Social Networks",items:l(c)},r.default.createElement("span",{className:"brz-span"},"Networks")),r.default.createElement(i.default,{key:"Other",title:"Other",items:l(d)},r.default.createElement("span",{className:"brz-span"},"Other")))]:r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"URL",value:t.url,onChange:e=>{let{target:{value:r}}=e;return o({...t,url:r})}})));function l(e){return Object.entries(e).map((e=>{let[t,o]=e;return r.default.createElement(a.default,{key:t,value:t},o)}))}}},78981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},r.default.createElement(i.default,{key:"down",value:"down"},"Down"),r.default.createElement(i.default,{key:"up",value:"up"},"Up"),r.default.createElement(i.default,{key:"toElement",value:"toElement"},"To element")),"down"===t.value&&r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"number",placeholder:"% of page height",value:t.within,onChange:e=>{let{target:{value:r}}=e;return o({...t,within:r})}})),"toElement"===t.value&&r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:".my-class",value:t.toElement||"",onChange:e=>{let{target:{value:r}}=e;return o({...t,toElement:r})}})))}},8059:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o({...t,value:e})},r.default.createElement(i.default,{key:"views",value:"views"},"viewed pages"),r.default.createElement(i.default,{key:"sessions",value:"sessions"},"Sessions")),r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"is fewer",value:"is fewer"},"is fewer than"),r.default.createElement(i.default,{key:"equals",value:"equals"},"equals"),r.default.createElement(i.default,{key:"is more",value:"is more"},"is more than")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"number",placeholder:"Number of",value:t[t.value],onChange:e=>{let{target:{value:r}}=e;return o({...t,[t.value]:r})}})))}},97041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"was",value:"was"},"was shown"),r.default.createElement(i.default,{key:"was not",value:"was not"},"was not shown")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"text",placeholder:"#popup-id",value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})))}},11988:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(97023)),i=a(o(65961));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){const{value:t="",onChange:o=(()=>{})}=e;return r.default.createElement(r.default.Fragment,null,r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.visit,onChange:e=>o({...t,visit:e})},r.default.createElement(i.default,{key:"first",value:"first"},"the first visit"),r.default.createElement(i.default,{key:"last",value:"last"},"the last visit")),r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o({...t,type:e})},r.default.createElement(i.default,{key:"greater",value:"greater"},"is greater than"),r.default.createElement(i.default,{key:"less",value:"less"},"is less than")),r.default.createElement("div",{className:"brz-control__select"},r.default.createElement("input",{className:"brz-input",type:"number",placeholder:"Number of",value:t.value,onChange:e=>{let{target:{value:r}}=e;return o({...t,value:r})}})),r.default.createElement(n.default,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.time,onChange:e=>o({...t,time:e})},r.default.createElement(i.default,{key:"days",value:"days"},"days"),r.default.createElement(i.default,{key:"hours",value:"hours"},"hours")))}},35617:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(60042)),i=u(o(40687)),a=u(o(33364)),l=u(o(22546)),s=o(64985),c=o(46479),d=u(o(84555));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=l.default.get("urls");class m extends r.Component{static defaultProps={options:[],onChange:()=>{},onClose:()=>{}};state={activeTab:this.props.options[0].type};handleTabChange=e=>this.setState({activeTab:e});renderIcons(){const{options:e}=this.props,{activeTab:t}=this.state;return e.map((e=>{const o=(0,n.default)("brz-ed-popup-tab-item","brz-ed-popup-tab-item-conditions",{active:t===e.type});return r.default.createElement("div",{key:e.type,className:o,onClick:()=>this.handleTabChange(e.type)},r.default.createElement("div",{className:"brz-ed-popup-tab-icon"},r.default.createElement(a.default,{icon:e.icon})),r.default.createElement("div",{className:"brz-ed-popup-tab-name"},e.label))}))}renderProException(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-pro brz-mb-lg-0"},r.default.createElement("span",{className:"brz-span"},(0,s.t)("Block conditions are available only in PRO")),r.default.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",rel:"noopener noreferrer",href:f.upgradeToPro,target:"_blank"},r.default.createElement(a.default,{icon:"nc-lock"}),(0,s.t)("Get a PRO plan")))}render(){const{options:e,opened:t,onClose:o}=this.props,{activeTab:a}=this.state,l=d.default[a],{type:s,icon:u,label:p,title:f,...m}=e.find((e=>{let{type:t}=e;return t===a}));return r.default.createElement(i.default,{opened:t,onClose:o},r.default.createElement("div",{className:"brz-ed-popup-wrapper"},r.default.createElement("div",{className:"brz-ed-popup-header"},r.default.createElement("div",{className:"brz-ed-popup-header__tabs"},this.renderIcons()),r.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:o})),r.default.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},r.default.createElement("div",{className:"brz-ed-popup-body"},!c.IS_PRO&&this.renderProException(),r.default.createElement("div",{className:(0,n.default)("brz-ed-popup-conditions",{"brz-ed-popup-conditions__free":!c.IS_PRO})},r.default.createElement("div",{className:"brz-ed-popup-conditions__head"},r.default.createElement("h3",null,f)),r.default.createElement("div",{className:"brz-ed-popup-conditions__body"},r.default.createElement(l,{...m,onClose:o})))))))}}},84555:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=i(o(30931)),n=i(o(72953));function i(e){return e&&e.__esModule?e:{default:e}}const a={rules:r.default,triggers:n.default}},87593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(18858),n=a(o(26095)),i=a(o(51060));function a(e){return e&&e.__esModule?e:{default:e}}class l extends r.BaseApp{static connect=n.default;static done=i.default}const s=l},31822:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=o(18858),n=l(o(58347)),i=l(o(42338)),a=l(o(51060));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.BaseApp{static upload=n.default;static variation=i.default;static done=a.default}const c=s},42878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{google:function(){return r.default},uploader:function(){return n.default}});const r=i(o(87593)),n=i(o(31822));function i(e){return e&&e.__esModule?e:{default:e}}},38286:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=c(o(13556)),n=c(o(22546)),i=o(4820),a=o(64187),l=c(o(73151)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(42878));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=n.default.get("pro");class p extends l.default{appsData=[];appsComponent=s;proExceptions=!u;async componentDidMount(){const e=(0,i.assetUrl)("integrations.json"),t=await fetch(e),{fonts:o}=await t.json();this.appsData=o,this.setState({loading:!1})}handleConnectApp=async e=>{const t=e.id,{stages:o=[]}=this.appsData.find((e=>e.id===t))||{};await(0,a.pendingRequest)(),this.setState((0,r.default)((r=>{r.stages=o,r.connectedApp=t,r.data[t]=e})),(()=>{this.handleNext()}))}}const f=p},30727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"List",{enumerable:!0,get:function(){return h}});const r=y(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=y(o(27998)),a=o(23884),l=y(o(33364)),s=o(74215),c=o(97045),d=o(64187),u=o(72833),p=o(64985),f=o(63939),m=o(5319);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const h=()=>{const[e,t]=(0,n.useState)(""),o=(0,a.useSelector)(c.unDeletedFontsSelector),y=(0,a.useSelector)(c.defaultFontSelector),g=(0,a.useDispatch)(),h=(0,n.useCallback)((e=>{g((0,s.updateDefaultFont)(e))}),[g]),b=(0,n.useCallback)((async(e,o)=>{t(o.brizyId),"upload"===e?await(0,f.deleteFont)(o.id):await(0,d.pendingRequest)(),t(""),g((0,s.deleteFont)({type:e,fonts:[o]}))}),[g]),v=(0,n.useMemo)((()=>(0,m.sortFonts)(o)),[o]);return n.default.createElement(i.default,null,n.default.createElement("div",{className:"brz-ed-popup-fonts__lists brz-d-xs-flex brz-flex-xs-wrap"},v.map((t=>{let{fontGroupType:o,...i}=t;const{id:a,brizyId:s,title:c,family:d}=u.fontTransform[o](i),f=y===a,m=e===s,g=(0,r.default)("brz-ed-popup-fonts__item",f&&"brz-ed-popup-fonts__item--selected");return n.default.createElement("div",{key:s,className:g},n.default.createElement("div",{className:"brz-ed-popup-fonts__item-logo",style:{fontFamily:d},onClick:()=>{h(a)}},"Aa",!f&&!m&&n.default.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-fonts__delete",onClick:e=>{e.stopPropagation(),b(o,i)}},n.default.createElement(l.default,{icon:"nc-trash"}))),n.default.createElement("div",{className:"brz-ed-popup-fonts__item-title"},c),m&&n.default.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},n.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),f&&!m&&n.default.createElement("span",{title:(0,p.t)("Default font (can’t be deleted)"),className:"brz-span brz-ed-popup-integrations__app-icon"},n.default.createElement(l.default,{icon:"nc-check-small"})))}))))}},51060:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64215),i=o(2521);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{static contextType=n.Context;handleClose=()=>{this.props.onClose()};render(){const{app:e}=this.context;return r.default.createElement(i.Done,{...e,onNext:this.handleClose})}}const s=l},26095:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=o(97045),a=o(74215),l=o(72833),s=o(64215),c=o(64187),d=o(92767),u=o(64985);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static contextType=s.Context;constructor(e){super(e);const{config:t,blocks:o={},google:r={}}=this.props.fonts;this.usedFonts=[...t.data||[],...r.data||[],...o.data||[]],this.state={selectedFont:"",nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:r}=e;r(t,{...o,fonts:await(0,l.getGoogleFonts)()})}handleAddNewFont=(e,t)=>{this.setState({selectedFont:t})};handleNext=async()=>{const{selectedFont:e}=this.state,{app:{data:{fonts:t}},onChangeNext:o}=this.context,r=t.find((t=>{let{family:o}=t;return o===e}));if(this.setState({nextLoading:!0,error:null}),await(0,c.pendingRequest)(),r){const e=(0,l.getGroupFontsById)(this.props.fonts,(0,l.getGoogleFontDetails)(r).id);e?this.props.addFonts([{type:e.group,fonts:[{...e.font,deleted:!1}]}]):this.props.addFonts([{type:"google",fonts:[r]}]),o()}else this.setState({error:`Font ${e} not found, please try again`,nextLoading:!1})};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,c.pendingRequest)(),this.context.onChangePrev()};render(){const{app:e}=this.context,{selectedFont:t,prevLoading:o,nextLoading:n,error:i}=this.state,a=e.data.fonts.filter((e=>{const{id:t}=(0,l.getGoogleFontDetails)(e);return!this.usedFonts.some((e=>{const{id:o,deleted:r}=(0,l.getGoogleFontDetails)(e);return!0!==r&&o===t}))})).map((e=>({value:e.family,label:e.family}))),s=[{title:(0,u.t)("Font name"),type:"search",choices:a,value:t}],c=r.default.createElement(r.Fragment,null,(0,u.t)("Tip: You can browse the Google font library")," ",r.default.createElement("a",{className:"brz-a",href:"https://fonts.google.com",target:"_blank",rel:"noopener noreferrer"},(0,u.t)("here")),".");return r.default.createElement(d.Fields,{...e,data:s,headTitle:(0,u.t)("ADD GOOGLE FONT"),description:c,prevLoading:o,nextLoading:n,error:i,onActive:this.handleAddNewFont,onPrev:this.handlePrev,onNext:this.handleNext})}}const m={addFonts:a.addFonts},y=(0,n.connect)((e=>({fonts:(0,i.fontsSelector)(e)})),m)(f)},58347:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64215),i=o(92767),a=o(64187),l=o(64985);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static contextType=n.Context;constructor(e){super(e),this.state={fontName:"",nextLoading:!1,prevLoading:!1,error:null}}handleChange=(e,t)=>{t.length<=17&&this.setState({fontName:t})};handleNext=async()=>{const{fontName:e}=this.state,{app:{id:t,data:o={}},onChange:r,onChangeNext:n}=this.context;this.setState({nextLoading:!0}),await(0,a.pendingRequest)(),e.trim()?(r(t,{...o,fontName:e}),n()):this.setState({nextLoading:!1,error:(0,l.t)("Font Name is Required")})};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,a.pendingRequest)(),this.context.onChangePrev()};render(){const{app:e}=this.context,{fontName:t,prevLoading:o,nextLoading:n,error:a}=this.state,s=[{title:(0,l.t)("Font name"),value:t}];return r.default.createElement(i.Fields,{...e,headTitle:(0,l.t)("UPLOAD FONT"),data:s,error:a,prevLoading:o,nextLoading:n,onActive:this.handleChange,onNext:this.handleNext,onPrev:this.handlePrev})}}const d=c},23805:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(10301)),i=u(o(97023)),a=u(o(65961)),l=u(o(1424)),s=u(o(33364)),c=o(4883),d=o(64985);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static defaultProps={data:[{title:"",value:"",name:"",helper:null}],nextLoading:null,prevLoading:null,onPrev:n.default.noop,onNext:n.default.noop,onActive:n.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderSelect(e){let{name:t,value:o,choices:n}=e;const l=n.map((e=>{let{title:t,name:o}=e;return r.default.createElement(a.default,{key:o,value:o},t)}));return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},r.default.createElement(i.default,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:o,onChange:e=>{this.props.onActive(t,e)}},l))}renderUpload(e){let{name:t,value:o,accept:n}=e;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-upload"},o?r.default.createElement(r.Fragment,null,r.default.createElement("span",{className:"brz-span"},o.name),r.default.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-red--hover brz-ed-btn-rounded brz-fw-700",onClick:()=>{this.props.onActive(t,"")}}," ",(0,d.t)("DELETE")," ")):r.default.createElement("label",{className:"brz-label brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-teal--hover brz-ed-btn-rounded brz-fw-700",htmlFor:t},r.default.createElement("input",{id:t,className:"brz-input brz-hidden",type:"file",accept:n,onChange:e=>{let{target:o}=e;this.props.onActive(t,o.files[0])}}),(0,d.t)("UPLOAD")))}renderOptions(){return this.props.data.map(((e,t)=>{const{title:o,type:n,helper:i}=e;return r.default.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},r.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},r.default.createElement("p",{className:"brz-p"},o),i&&r.default.createElement(l.default,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,overlay:r.default.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:i}})},r.default.createElement(s.default,{icon:"nc-alert-circle-que"}))),"select"===n&&this.renderSelect(e),"upload"===n&&this.renderUpload(e))}))}render(){const{error:e,prevLoading:t,nextLoading:o,onPrev:n,onNext:i}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,d.t)("ADD FONT VARIATION")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&r.default.createElement(c.Button,{size:3,leftIcon:"nc-arrow-left",loading:t,onClick:n},(0,d.t)("Back")),null!==o&&r.default.createElement(c.Button,{color:"teal",loading:o,onClick:i},(0,d.t)("Add Font")))))}}const m=f},10122:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=c(o(10301)),i=c(o(33364)),a=o(4883),l=o(81300),s=o(64985);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends r.Component{static defaultProps={data:[{title:"",value:"",name:""}],nextLoading:null,prevLoading:null,createLoading:!1,onPrev:n.default.noop,onNext:n.default.noop,onActive:n.default.noop,onCreate:n.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderOptions(){const{data:e,onActive:t}=this.props,o=e.map(((e,o)=>{const{id:n,title:a,type:l}=e;return r.default.createElement("div",{key:o,className:"brz-ed-popup-integrations-step__fields-option brz-ed-popup-integrations-step__fields-option--big"},r.default.createElement("p",{className:"brz-p brz-ed-popup-integration__font-name"},a),r.default.createElement("p",{className:"brz-p",style:{fontWeight:n,flexBasis:"60%"}},l),r.default.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:()=>{t(n)}},r.default.createElement(i.default,{icon:"nc-trash"})))}));return r.default.createElement(l.Scrollbar,{autoHeightMax:"255px",theme:"light"},o)}render(){const{error:e,prevLoading:t,nextLoading:o,createLoading:n,onPrev:l,onNext:c,onCreate:d}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,s.t)("FONT VARIATION")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),r.default.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:d},r.default.createElement(i.default,{icon:n?"nc-circle-02":"nc-add",className:n?"brz-ed-animated--spin":""}),(0,s.t)("Add new font variation")),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&r.default.createElement(a.Button,{size:3,leftIcon:"nc-arrow-left",loading:t,onClick:l},(0,s.t)("Back")),null!==o&&r.default.createElement(a.Button,{color:"teal",loading:o,onClick:c},(0,s.t)("Continue")))))}}const p=u},42338:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=y(o(10301)),i=o(23884),a=o(74215),l=o(6804),s=o(64187),c=o(72833),d=o(64985),u=o(64215),p=o(63939),f=y(o(23805)),m=y(o(10122));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const h=n.default.memoize((e=>Object.entries(e).map((e=>{let[t,o]=e;return{title:o,name:t}}))));class b extends r.Component{static contextType=u.Context;state={mode:"add",keyValue:this.getDefaultData(),nextLoading:!1,prevLoading:!1,addLoading:!1,error:null};getDefaultData(){return{weight:"400",ttf:"",eot:"",woff:"",woff2:""}}getAddData(){const{weight:e,ttf:t,eot:o,woff:r,woff2:n}=this.state.keyValue;return[{title:(0,d.t)("Font weight"),name:"weight",type:"select",value:e,choices:h(c.weightTypes)},{title:(0,d.t)("TTF File"),name:"ttf",value:t,type:"upload",accept:".ttf",helper:"The Web Open Font Format (TTF) is a format used in web pages by modern browsers."},{title:(0,d.t)("EOT File"),name:"eot",value:o,type:"upload",accept:".eot",helper:"The Web Open Font Format (EOT) is a format used in web pages by modern browsers."},{title:(0,d.t)("WOFF File"),name:"woff",value:r,type:"upload",accept:".woff",helper:"The Web Open Font Format (WOFF) is a format used in web pages by modern browsers."},{title:(0,d.t)("WOFF2 File"),name:"woff2",value:n,type:"upload",accept:".woff2",helper:"The Web Open Font Format (WOFF2) is a format used in web pages by modern browsers."}]}getEditData(){const{data:{fontName:e,weights:t}}=this.context.app;return t.map((t=>({id:t,title:e,type:c.weightTypes[t]})))}handleChangeAddMode=async()=>{this.setState({addLoading:!0}),await(0,s.pendingRequest)(),this.setState({mode:"add",addLoading:!1})};handleUploadFonts=(e,t)=>{this.setState((o=>{let{keyValue:r}=o;return{error:null,keyValue:{...r,[`${e}`]:t}}}))};handleAddFonts=async()=>{const{app:{id:e,data:t},onChange:o}=this.context,{weight:r,...n}=this.state.keyValue;if(this.setState({nextLoading:!0,error:null}),await(0,s.pendingRequest)(),!Object.values(n).some((e=>Boolean(e))))return void this.setState({nextLoading:!1,error:(0,d.t)("You must be have one font added")});let i=new Set([...t.weights||[],Number(r)]);o(e,Object.assign({},t,{weights:[...i],files:{...t.files||[],[r]:n}})),this.setState({mode:"edit",keyValue:this.getDefaultData(),nextLoading:!1})};handleRemoveFonts=e=>{const{app:{id:t,data:o},onChange:r}=this.context;r(t,Object.assign({},o,{weights:n.default.without(o.weights,e),files:n.default.omit(o.files,e)}))};handleNext=async()=>{const{app:{data:{files:e,fontName:t}},onChangeNext:o}=this.context;this.setState({nextLoading:!0});const{status:r,data:n}=await(0,p.createFont)({id:(0,l.uuid)(),name:t,files:e});200!==r?this.setState({nextLoading:!1,error:(0,d.t)("Something went wrong")}):(this.props.dispatch((0,a.addFonts)([{type:"upload",fonts:[n]}])),o())};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,s.pendingRequest)(),this.context.onChangePrev()};render(){const{mode:e,nextLoading:t,prevLoading:o,addLoading:n,error:i}=this.state;return"add"===e?r.default.createElement(f.default,{data:this.getAddData(),error:i,nextLoading:t,prevLoading:o,onNext:this.handleAddFonts,onPrev:this.handlePrev,onActive:this.handleUploadFonts}):r.default.createElement(m.default,{data:this.getEditData(),error:i,nextLoading:t,prevLoading:o,createLoading:n,onNext:this.handleNext,onPrev:this.handlePrev,onCreate:this.handleChangeAddMode,onActive:this.handleRemoveFonts})}}const v=(0,i.connect)()(b)},63939:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{createFont:function(){return l},deleteFont:function(){return s}});const r=o(80029),n=(i=o(22546))&&i.__esModule?i:{default:i};var i;const a=o(64187),l=e=>{let{id:t,name:o,files:i}=e;const{api:l}=n.default.get("wp"),s=n.default.get("editorVersion"),c=(0,r.makeUrl)(l.url,{action:l.createFont,hash:l.hash,version:s}),d=new FormData;return d.append("id",t),d.append("family",o),Object.entries(i).forEach((e=>{let[t,o]=e;Object.entries(o).forEach((e=>{let[o,r]=e;r&&d.append(`fonts[${t}][${o}]`,r,r.name)}))})),(0,a.request)(c,{method:"POST",body:d}).then(r.parseJSON).then((e=>e))},s=e=>{const{api:t}=n.default.get("wp"),o=n.default.get("editorVersion"),i=(0,r.makeUrl)(t.url,{action:t.deleteFont,hash:t.hash,version:o,id:e});return(0,a.request)(i,{method:"POST"}).then(r.parseJSON).then((e=>e))}},75063:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(10301),i=o(64985),a=c(o(76290)),l=o(30727),s=c(o(38286));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=[{id:"upload",title:(0,i.t)("Add New"),icon:"nc-add",component:s.default},{id:"fonts",title:(0,i.t)("Fonts"),icon:"nc-font",component:l.List}];class p extends r.Component{static defaultProps={opened:!1,onClose:n.noop};render(){const{opened:e,onClose:t}=this.props;return r.default.createElement(a.default,{opened:e,tabs:u,currentTab:"upload",blockTabsWhenLoading:!1,onClose:t})}}const f=p},5319:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{compareFont:function(){return o},sortFonts:function(){return r}});const o=(e,t)=>{const o=e.family.toUpperCase(),r=t.family.toUpperCase();return or?1:0},r=e=>Object.entries(e).map((e=>{let[t,o]=e;const{data:r=[]}=o??{data:[]};return r.map((e=>({...e,fontGroupType:t})))})).reduce(((e,t)=>e.concat(t)),[]).sort(o)},94285:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},47726:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},76044:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static client=r.Client;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},13445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},35069:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},59710:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static done=r.Done}const a=i},40263:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},62529:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static fields=r.EmailFields;static done=r.Done}const a=i},64727:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},43654:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static fields=r.GmailFields;static done=r.Done}const a=i},78230:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static list=r.List;static fields=r.Fields;static done=r.Done}const a=i},48342:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static list=r.List;static fields=r.Fields;static done=r.Done}const a=i},39365:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},29624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},1843:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},44152:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},99059:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.RecaptchaConnect;static done=r.Done;static disconnect=r.RecaptchaDisconnect}const a=i},56575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},16315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},38827:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static client=r.Client;static fields=r.Fields;static list=r.List;static done=r.Done}const a=i},13966:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static fields=r.SmtpFields;static done=r.Done}const a=i},40211:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(18858),n=o(14098);class i extends r.BaseApp{static connect=n.ApiConnect;static account=n.Account;static fields=n.CustomFields;static done=n.Done}const a=i},8700:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static fields=r.EmailFields;static done=r.Done}const a=i},25505:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(14098),n=o(18858);class i extends n.BaseApp{static connect=r.ApiConnect;static account=r.Account;static fields=r.CustomFields;static done=r.Done}const a=i},63167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{email:function(){return r.default},wordpress:function(){return n.default},mailchimp:function(){return i.default},sendinblue:function(){return a.default},zapier:function(){return l.default},campaignmonitor:function(){return s.default},convertkit:function(){return c.default},activecampaign:function(){return d.default},getresponse:function(){return u.default},mailjet:function(){return p.default},egoi:function(){return f.default},hubspot:function(){return m.default},mailerlite:function(){return y.default},drip:function(){return g.default},smtp:function(){return h.default},gmail_smtp:function(){return b.default},webhooks:function(){return v.default},mailgun:function(){return S.default},madmimi:function(){return w.default},constantcontact:function(){return x.default},aweber:function(){return P.default},salesforce:function(){return C.default},sendgrid:function(){return T.default},recaptcha:function(){return _.default}});const r=k(o(62529)),n=k(o(8700)),i=k(o(39365)),a=k(o(38827)),l=k(o(25505)),s=k(o(76044)),c=k(o(35069)),d=k(o(94285)),u=k(o(64727)),p=k(o(44152)),f=k(o(40263)),m=k(o(78230)),y=k(o(29624)),g=k(o(59710)),h=k(o(13966)),b=k(o(43654)),v=k(o(40211)),S=k(o(1843)),w=k(o(48342)),x=k(o(13445)),P=k(o(47726)),C=k(o(56575)),T=k(o(16315)),_=k(o(99059));function k(e){return e&&e.__esModule?e:{default:e}}},99919:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=v(o(60042)),n=v(o(13556)),i=v(o(27378)),a=v(o(10301)),l=o(33689),s=o(1014),c=v(o(1424)),d=v(o(33364)),u=o(4820),p=o(46479),f=o(64985),m=v(o(73151)),y=v(o(68723)),g=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63167)),h=o(92397),b=o(21598);function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}class w extends m.default{state={loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null,emailTemplate:"",hasEmailTemplate:!1};appsData=[];appsComponent=g;proExceptions=!p.IS_PRO;async componentDidMount(){const e=(0,u.assetUrl)("integrations.json"),t=await fetch(e),o=await t.json();p.IS_WP?this.appsData=o.wpEmail:this.appsData=o.cloudEmail,await this.getData()}async getData(){const{formId:e,onLoading:t}=this.props,{status:o,data:r}=await(0,b.getForm)({formId:e});if(200!==o)if(404===o){const{status:t,data:o}=await(0,b.createForm)({formId:e});t>=400||!o?this.setState({error:(0,f.t)("Something went wrong")}):this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}else this.setState({error:(0,f.t)("Something went wrong")});else r&&this.setState({connectedApps:this.getConnectedApps(r.integrations),emailTemplate:r.emailTemplate||"",hasEmailTemplate:r.hasEmailTemplate,loading:!1});t(!1)}getContextValue(){const{formId:e,formFields:t}=this.props;return{...super.getContextValue(),formId:e,formFields:t}}updateForm=a.default.debounce((()=>{(0,b.updateForm)({formId:this.props.formId,hasEmailTemplate:this.state.hasEmailTemplate,emailTemplate:this.state.emailTemplate})}),1e3);handleConnectApp=async e=>{const t=e.id,{formId:o}=this.props,{stages:r=[]}=this.appsData.find((e=>e.id===t))||{};let{status:i,data:a}=await(0,b.getSmtpIntegration)({formId:o,id:t});if(200!==i){if(404!==i)return void this.setState({error:(0,f.t)("Something went wrong")});{const{status:e,data:r}=await(0,b.createSmtpIntegration)({formId:o,id:t});if(200!==e)return void this.setState({error:(0,f.t)("Something went wrong")});a=r}}this.setState((0,n.default)((o=>{o.stages=r,o.connectedApp=t,o.data[t]=Object.assign(e,{data:a})})),(()=>{this.handleNext()}))};handleHtmlChange=e=>{this.setState({emailTemplate:e},this.updateForm)};handleEnableHtml=e=>{this.setState({hasEmailTemplate:e}),!1===e&&this.state.emailTemplate&&this.setState({emailTemplate:""},this.updateForm)};renderFormInfo(){return i.default.createElement("div",{className:"brz-ed-popup-integration-email__info"},i.default.createElement(h.HelperCopy,{fields:this.props.formFields}))}renderApps(){const{error:e,emailTemplate:t,hasEmailTemplate:o}=this.state,n=(0,r.default)("brz-ed-popup-integration-email__template",{"brz-ed-popup-integration-email__template--open":o});return i.default.createElement(i.default.Fragment,null,e&&super.renderError(),i.default.createElement(y.default,{apps:this.appsData,proExceptions:this.proExceptions}),!this.proExceptions&&i.default.createElement("div",{className:n},i.default.createElement("div",{className:"brz-ed-popup-integration-email__template-head"},i.default.createElement("p",{className:"brz-p"},i.default.createElement("strong",{className:"brz-strong"},(0,f.t)("USE CUSTOM TEMPLATE"))),i.default.createElement(s.Switch,{className:"brz-ed-control__switch--light",value:o,onChange:this.handleEnableHtml})),i.default.createElement("div",{className:"brz-ed-popup-integration-email__template-body"},i.default.createElement(l.CodeMirror,{className:"brz-ed-popup-integration-email__codemirror",value:t,onChange:this.handleHtmlChange,language:"xml",theme:"idea"}),i.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},i.default.createElement("p",{className:"brz-p"},(0,f.t)("Tip: Use these shortcodes to populate your template")),i.default.createElement(c.default,{className:"brz-ed-popup-integration-email__tooltip",size:"small",openOnClick:!1,closeDelay:600,overlay:this.renderFormInfo()},i.default.createElement(d.default,{icon:"nc-alert-circle-que"}))))))}}const x=w},80731:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=c(o(13556)),n=o(4820),i=o(64187),a=c(o(73151)),l=o(92982),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63167));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends a.default{appsData=[];appsComponent=s;async componentDidMount(){const e=(0,n.assetUrl)("integrations.json"),t=await fetch(e),{recaptcha:o}=await t.json(),{status:i,data:a}=await(0,l.getAccounts)({group:"recaptcha",services:"recaptcha"});this.appsData=o,200===i&&a&&a.length>0?this.setState((0,r.default)((e=>{e.data={recaptcha:{data:a[0]}},e.connectedApps=this.getConnectedApps(a),e.loading=!1}))):this.setState({loading:!1})}getConnectedApps(e){return e.reduce(((e,t)=>this.appsData.find((e=>{let{id:o}=e;return o===t.group}))?[...e,t.group]:e),[...this.state.connectedApps])}handleConnectApp=async e=>{const t=e.id;await(0,i.pendingRequest)(),this.setState((0,r.default)((o=>{const r=o.data[t]||{};o.connectedApp=t,o.stages=e.stages,o.data[t]={...r,...e}})),(()=>{this.handleNext()}))}}const p=u},92916:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=d(o(13556)),n=d(o(22546)),i=o(4820),a=o(64985),l=d(o(73151)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63167)),c=o(21598);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=n.default.get("pro");class f extends l.default{appsData=[];appsComponent=s;proExceptions=!p;async componentDidMount(){const e=(0,i.assetUrl)("integrations.json"),t=await fetch(e),{services:o}=await t.json();this.appsData=o,await this.getData()}async getData(){const{formId:e}=this.props,{status:t,data:o}=await(0,c.getForm)({formId:e});if(200!==t)if(404===t){const{status:t}=await(0,c.createForm)({formId:e});t>=400?this.setState({error:(0,a.t)("Something went wrong")}):this.setState({loading:!1})}else this.setState({error:(0,a.t)("Something went wrong")});else o&&this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}getContextValue(){const{formId:e,formFields:t}=this.props;return{...super.getContextValue(),formId:e,formFields:t}}handleConnectApp=async e=>{const{id:t,stages:o}=e,{formId:n}=this.props;let{status:i,data:l}=await(0,c.getIntegration)({formId:n,id:t});if(200!==i){if(404!==i)return void this.setState({appError:(0,a.t)("The integration is not responding, please try again or verify the account credentials")});if(({status:i,data:l}=await(0,c.createIntegration)({formId:n,id:t})),200!==i)return void this.setState({appError:(0,a.t)("The integration is not responding, please try again or verify the account credentials")})}this.setState((0,r.default)((r=>{r.appError=null,r.stages=o,r.connectedApp=t,r.data[t]=e,r.data[t].data=l})),(()=>{this.handleNext()}))}}const m=f},77704:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(21598),a=o(64215),l=o(2521),s=o(64187);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static contextType=a.Context;constructor(e,t){super(e),this.state={active:this.getActiveAccount(t.app.data),mode:"account",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1}}getActiveAccount(e){const t=e.accounts.length?e.accounts[0].id:"";return e.usedAccount||t}handleActive=e=>{this.setState({active:e})};handleConnect=async()=>{const{onChangeProgress:e,onChangePrev:t}=this.context;this.setState({connectLoading:!0}),await(0,s.pendingRequest)(),e({showProgress:!1}),t("connect")};handleDisconnect=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onDisconnectApp:a,onChangeProgress:l}=this.context;this.setState({nextLoading:!0,error:null});const{status:s,data:c}=await(0,i.updateIntegration)({...t,formId:o,usedAccount:null});200!==s?this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")}):(this.setState({mode:"account",nextLoading:!1}),r(e,{...t,...c}),l({showProgress:!0}),a(e))};handleAccountMode=async()=>{this.setState({prevLoading:!0,error:null}),await(0,s.pendingRequest)(),this.context.onChangeProgress({showProgress:!0}),this.setState({mode:"account",prevLoading:!1})};handleDisconnectMode=async()=>{this.setState({disconnectLoading:!0,error:null}),await(0,s.pendingRequest)(),this.context.onChangeProgress({showProgress:!1}),this.setState({mode:"disconnect",disconnectLoading:!1})};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:a}=this.context,{active:l}=this.state;if(this.setState({nextLoading:!0,error:null}),l!==t.usedAccount){const{status:s,data:c}=await(0,i.updateIntegration)({...t,formId:o,usedAccount:l});200!==s?this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")}):(r(e,{...t,...c}),a())}else await(0,s.pendingRequest)(),a()};handlePrev=async()=>{const{onChangePrev:e}=this.context;this.setState({prevLoading:!0}),await(0,s.pendingRequest)(),e("appList")};render(){const{app:e}=this.context;return"account"===this.state.mode?r.default.createElement(l.Account,{...e,...this.state,onActive:this.handleActive,onConnect:this.handleConnect,onDisconnect:this.handleDisconnectMode,onConfirm:this.handleConfirm,onPrev:this.handlePrev,onNext:this.handleNext}):r.default.createElement(l.Disconnect,{...e,...this.state,descriptions:`Subscribers are automatically synced to your ${e.title} list`,onPrev:this.handleAccountMode,onNext:this.handleDisconnect})}}const u=d},26747:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(21598),a=o(64215),l=o(2521),s=o(64187);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=(e,t)=>{const o=t.map((e=>e.title)).join(" & ");switch(e.code){case 401:return`${(0,n.t)("Incorrect")} ${o}`;case 400:return(0,n.t)("Duplicate Account");default:return(0,n.t)("Something went wrong")}};class u extends r.Component{static contextType=a.Context;constructor(e,t){super(e);const{data:{accountApiKeys:o}}=t.app,r=o.reduce(((e,t)=>{let{name:o}=t;return{...e,[`${o}`]:""}}),{});this.state={apiKeyValue:r,nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){const{formId:o,app:{id:r,data:n},onChange:a,onChangeProgress:l,onError:s}=e;let{status:c,data:d}=await(0,i.getIntegrationAccountApiKey)({id:r,formId:o});(!c||c>=400)&&(d=[],s("Something went wrong")),a(r,{...n,accountApiKeys:d}),n.usedAccount||n.accounts&&n.accounts.length?t.onChangeNext():l({showProgress:!1})}handleChange=(e,t)=>{this.setState((o=>({apiKeyValue:{...o.apiKeyValue,[`${t}`]:e.trim()}})))};handleConnect=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeProgress:a,onChangeNext:l}=this.context,{apiKeyValue:c}=this.state,u=Object.values(c);if(this.setState({nextLoading:!0,error:null}),u.some((e=>!e)))await(0,s.pendingRequest)(),this.setState({error:(0,n.t)("Fields are empty"),nextLoading:!1});else{const{status:n,data:s}=await(0,i.createIntegrationAccount)({...t,formId:o,data:c});if(200!==n)this.setState({nextLoading:!1,error:d(s,t.accountApiKeys)});else{const o=t.accounts||[];r(e,{...t,accounts:[...o,s]}),a({showProgress:!0}),l()}}};handlePrev=async()=>{const{oldStage:e,onChangeNext:t,onChangePrev:o,onChangeProgress:r}=this.context;this.setState({error:null,prevLoading:!0}),await(0,s.pendingRequest)(),r({showProgress:!0}),"account"===e?t("account"):o()};render(){const{app:e}=this.context,{apiKeyValue:t,error:o,nextLoading:n,prevLoading:i}=this.state,a=e.data.accountApiKeys.map((e=>{let{title:o,name:r}=e;return{title:o,name:r,value:t[r]}}));return r.default.createElement(l.Connect,{...e,data:a,error:o,nextLoading:n,prevLoading:i,onPrev:this.handlePrev,onNext:this.handleConnect,onChange:this.handleChange})}}const p=u},88190:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(21598),a=o(64215),l=o(2521),s=o(64187);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static contextType=a.Context;constructor(e,t){super(e),this.state={active:this.getActiveClient(t.app.data),nextLoading:!1,prevLoading:!1}}getActiveClient(e){const{usedFolder:t,folders:o}=e,r=o.length?o[0].id:"";return t||r}handleActive=e=>{this.setState({active:e})};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:a}=this.context,{active:l}=this.state;if(this.setState({nextLoading:!0,error:null}),l!==t.usedFolder){const{status:s,data:c}=await(0,i.updateIntegration)({...t,formId:o,usedFolder:l});200!==s?this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")}):(r(e,{...t,...c}),a())}else await(0,s.pendingRequest)(),a()};handlePrev=async e=>{this.setState({prevLoading:!0,error:null}),await(0,s.pendingRequest)(),e&&"string"==typeof e?this.context.onChangePrev(e):this.context.onChangePrev()};render(){const{app:e}=this.context,{folders:t,accountPro:o}=e.data;return r.default.createElement(l.RadioFields,{...this.state,listPro:o,lists:t,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}const u=d},28386:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(70634),i=o(64985),a=o(21598),l=o(64215),s=o(92767),c=o(80029),d=o(64187);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{static contextType=l.Context;constructor(e,t){super(e);const{app:{data:o,restrictions:r},formFields:n}=t,{fieldsMap:i,fields:a}=o||{};this.state={formFields:(0,c.getFields)(i,a,n,r),prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:r}=e;r(t,{...o,fields:[]})}handleActive=(e,t)=>{const{formFields:o}=this.state,r=o.findIndex((t=>{let{sourceId:o}=t;return o===e}));this.setState({formFields:(0,n.replaceAt)(o,r,{...o[r],target:t})})};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,d.pendingRequest)(),this.context.onChangePrev()};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:n}=this.context,{formFields:l}=this.state;if(this.setState({error:null,nextLoading:!0}),(0,c.checkRequiredFields)(t.fields,l,"input")){const{status:s,data:c}=await(0,a.updateIntegration)({...t,formId:o,fieldsMap:JSON.stringify(l),completed:!0});200!==s?this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")}):(r(e,{...t,...c}),n())}else await(0,d.pendingRequest)(),this.setState({error:(0,i.t)("All fields cannot be empty"),nextLoading:!1})};render(){const{app:{title:e}}=this.context,{formFields:t,error:o,nextLoading:n,prevLoading:a}=this.state,l=t.map((e=>{let{sourceTitle:t,sourceId:o,target:r}=e;return{title:t,name:o,value:"_auto_generate"===r?t:r}}));return r.default.createElement(s.Fields,{headTitle:(0,i.t)("FORM FIELDS"),headDescription:`${e} ${(0,i.t)("FIELDS")}`,data:l,error:o,nextLoading:n,prevLoading:a,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}const f=p},72688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64215),i=o(2521);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{static contextType=n.Context;handleClose=()=>{this.props.onClose()};render(){const{app:e}=this.context;return r.default.createElement(i.Done,{...e,onNext:this.handleClose})}}const s=l},97216:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(46479),i=o(64985),a=o(64215),l=o(92397),s=(c=o(78729))&&c.__esModule?c:{default:c};var c;function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u={helper:e=>r.default.createElement(l.HelperCopy,{descriptions:(0,i.t)("You can use these shortcodes in your email:"),fields:e})},p=[{name:"emailTo",title:(0,i.t)("Email To"),required:!0,helper:`

${(0,i.t)("If you need to have multiple emails you can separate them by commas")}:

me@email.com, hi@email.com

`},{name:"subject",title:(0,i.t)("Subject"),...n.IS_PRO?u:{}},{name:"fromEmail",title:(0,i.t)("From Email")},{name:"fromName",title:(0,i.t)("From Name")},{name:"replayTo",title:(0,i.t)("Reply-To"),...n.IS_PRO?u:{}},{name:"cc",title:(0,i.t)("Cc")},{name:"bcc",title:(0,i.t)("Bcc")},{name:"metaData",title:(0,i.t)("Meta Data"),type:"search",multiple:!0,choices:[{label:"Time",value:"time"},{label:"Page URL",value:"pageUrl"},{label:"User Agent",value:"userAgent"},{label:"Remote IP",value:"remoteIp"},{label:"Credit",value:"credit"}]}];class f extends r.Component{static contextType=a.Context;render(){return r.default.createElement(s.default,{...this.context,apiKeys:p,onClose:this.props.onClose})}}const m=f},10901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(70634),i=o(64985),a=o(21598),l=o(64215),s=o(2521),c=o(80029),d=o(64187);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{static contextType=l.Context;constructor(e,t){super(e);const{app:{data:{fieldsMap:o,fields:r},restrictions:n},formFields:i}=t;this.state={formFields:(0,c.getFields)(o,r,i,n),prevLoading:!1,nextLoading:!1,error:null}}handleActive=(e,t)=>{const{formFields:o}=this.state,r=o.findIndex((t=>{let{sourceId:o}=t;return o===e}));this.setState({formFields:(0,n.replaceAt)(o,r,{...o[r],target:t})})};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,d.pendingRequest)(),this.context.onChangePrev()};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:n}=this.context,{formFields:l}=this.state;if(this.setState({nextLoading:!0,error:null}),(0,c.checkRequiredFields)(t.fields,l,"select")){const{status:s,data:c}=await(0,a.updateIntegration)({...t,formId:o,fieldsMap:JSON.stringify(l),completed:!0});200!==s?this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")}):(r(e,{...t,...c}),n())}else await(0,d.pendingRequest)(),this.setState({error:(0,i.t)("All fields marked with an asterisk ( * ) must be mapped."),nextLoading:!1})};render(){const{app:e}=this.context,{formFields:t,error:o,nextLoading:n,prevLoading:i}=this.state;return r.default.createElement(s.SelectFields,{...e,...e.data,formFields:t,error:o,nextLoading:n,prevLoading:i,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}const f=p},24737:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(46479),i=o(64985),a=o(64215),l=o(92397),s=(c=o(78729))&&c.__esModule?c:{default:c};var c;function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u={helper:e=>r.default.createElement(l.HelperCopy,{descriptions:(0,i.t)("You can use these shortcodes in your email:"),fields:e})},p=[{name:"emailTo",title:(0,i.t)("Email To"),required:!0,helper:'

If you need to have multiple emails you can separate them by commas:

\n

me@email.com, hi@email.com

'},{name:"subject",title:(0,i.t)("Subject"),...n.IS_PRO?u:{}},{name:"fromEmail",title:(0,i.t)("From Email")},{name:"fromName",title:(0,i.t)("From Name")},{name:"replayTo",title:(0,i.t)("Reply-To"),...n.IS_PRO?u:{}},{name:"cc",title:(0,i.t)("Cc")},{name:"bcc",title:(0,i.t)("Bcc")},{name:"metaData",title:(0,i.t)("Meta Data"),type:"search",multiple:!0,choices:[{title:"TIME",value:"time"},{title:"Page URL",value:"pageUrl"},{title:"User Agent",value:"userAgent"},{title:"Remote IP",value:"remoteIp"},{title:"Credit",value:"credit"}]},{name:"username",title:(0,i.t)("Username"),required:!0},{name:"password",title:(0,i.t)("Password"),required:!0}];class f extends r.Component{static contextType=a.Context;render(){return r.default.createElement(s.default,{...this.props,...this.context,apiKeys:p})}}const m=f},43136:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(10301)),i=u(o(97023)),a=u(o(65961)),l=o(81300),s=o(64985),c=o(6085),d=o(4883);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static defaultProps={id:"",title:"",shortTitle:"",description:"",img:"",form:{},listsCreate:[],apiKeyValue:{},nextLoading:!1,prevLoading:!1,onPrev:n.default.noop,onNext:n.default.noop,onChange:n.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderInput(e){let{name:t}=e;const{apiKeyValue:o,onChange:n}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},r.default.createElement("input",{className:"brz-input",value:o[t],onChange:e=>{n(t,e.target.value)}}))}renderSelect(e){let{name:t,choices:o}=e;const{apiKeyValue:n,onChange:l}=this.props,s=n[t],c=(s?o:[{id:"",name:"Please Select Folder"},...o]).map(((e,t)=>{const{id:o,name:n}=e;return r.default.createElement(a.default,{key:t,value:o},n)}));return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},r.default.createElement(i.default,{defaultValue:s,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:e=>{l(t,e)}},c))}renderTextarea(e){let{name:t}=e;const{apiKeyValue:o,onChange:n}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},r.default.createElement("textarea",{className:"brz-textarea",value:o[t],onChange:e=>{n(t,e.target.value)}}))}renderApiKeys(){const e=this.props.listsCreate.map(((e,t)=>{const{title:o,type:n}=e;return r.default.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},r.default.createElement("p",{className:"brz-p"},o),this[`render${(0,c.capitalize)(n)}`](e))}));return r.default.createElement(l.Scrollbar,{autoHeightMax:"255px",theme:"light"},e)}render(){const{listsCreate:e,nextLoading:t,prevLoading:o,error:n,onPrev:i,onNext:a}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists-create"},n&&this.renderError(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,s.t)("CREATE LIST")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},e.length>0&&this.renderApiKeys(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},r.default.createElement(d.Button,{size:3,leftIcon:"nc-arrow-left",loading:o,onClick:i},(0,s.t)("Back")),r.default.createElement(d.Button,{color:"teal",loading:t,onClick:a},(0,s.t)("Create")))))}}},92127:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64187),i=o(64985),a=o(64215),l=o(2521),s=o(21598),c=(d=o(43136))&&d.__esModule?d:{default:d};var d;function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=(e,t)=>{if("server"===e)return(0,i.t)("No lists were created, please contact our support");const{data:{accountPro:o,lists:r},title:n}=t;return o?`Please upgrade your ${n} account to access your lists`:0===r.length?(0,i.t)("Lists are empty. Please add a new list and try again."):void 0};class f extends r.Component{static contextType=a.Context;constructor(e,t){super(e);const{data:o}=t.app;this.state={active:this.getActiveList(o),apiKeyValue:this.getApiKeyValue(o),mode:"view",error:p("application",t.app),createLoading:!1,prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:r}=e;r(t,{...o,accountPro:!Array.isArray(o.lists)})}getActiveList(e){const t=e.lists.find((t=>{let{id:o}=t;return o===e.usedList}))||{},o=e.lists.length?e.lists[0].id:"";return t.id||o}getApiKeyValue(e){let{listProperties:t}=e;return Array.isArray(t)?t.reduce(((e,t)=>{let{name:o}=t;return{...e,[`${o}`]:""}}),{}):[]}handleActive=e=>{this.setState({active:e})};handleKeysChange=(e,t)=>{this.setState((o=>({apiKeyValue:{...o.apiKeyValue,[`${e}`]:t}})))};handleConfirm=async e=>{const{app:{id:t,data:o},formId:r,onChange:n}=this.context,{status:a,data:l}=await(0,s.updateIntegration)({...o,formId:r,confirmationNeeded:e});200!==a?this.setState({error:(0,i.t)("Something went wrong")}):n(t,{...o,...l})};handleCreateMode=async()=>{this.setState({createLoading:!0}),await(0,n.pendingRequest)(),this.setState({mode:"create",createLoading:!1,error:null})};handleViewMode=async()=>{this.setState({prevLoading:!0,error:null}),await(0,n.pendingRequest)(),this.setState({prevLoading:!1,mode:"view"})};handleCreateList=async()=>{const{app:{id:e,data:t},formId:o,onChange:r}=this.context,{apiKeyValue:a}=this.state,l=Object.values(a);if(this.setState({nextLoading:!0,error:null}),l.some((e=>!e)))await(0,n.pendingRequest)(),this.setState({nextLoading:!1,error:(0,i.t)("All fields cannot be empty")});else{const{status:n,data:i}=await(0,s.createIntegrationList)({formId:o,id:t.id,data:a,usedAccount:t.usedAccount});200!==n?i.message?this.setState({nextLoading:!1,error:i.message}):this.setState({nextLoading:!1,error:p("server")}):(r(e,{...t,lists:[...t.lists,i]}),this.setState({active:i.id,apiKeyValue:this.getApiKeyValue(t),mode:"view",nextLoading:!1,error:null}))}};handleNext=async()=>{const{app:{id:e,data:t},formId:o,onChange:r,onChangeNext:a}=this.context,{active:l}=this.state;if(this.setState({nextLoading:!0,error:null}),l!==t.usedList){const{status:n,data:c}=await(0,s.updateIntegration)({...t,formId:o,usedList:l});200!==n?this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")}):(r(e,{...t,...c}),a())}else await(0,n.pendingRequest)(),a()};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,n.pendingRequest)(),this.context.onChangePrev()};render(){const{app:e}=this.context,{lists:t,listProperties:o,hasConfirmation:n,accountPro:i,confirmationNeeded:a}=e.data;return"view"===this.state.mode?r.default.createElement(l.RadioFields,{...this.state,lists:t,listsCreate:o,listPro:i,hasConfirmation:n,confirmationNeeded:a,onActive:this.handleActive,onConfirm:this.handleConfirm,onCreateList:this.handleCreateMode,onPrev:this.handlePrev,onNext:this.handleNext}):r.default.createElement(c.default,{...this.state,listsCreate:o,onChange:this.handleKeysChange,onPrev:this.handleViewMode,onNext:this.handleCreateList})}}const m=f},99019:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=c(o(10301)),i=c(o(3518)),a=o(81300),l=o(64985),s=o(4883);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends r.Component{static defaultProps={id:"",title:"",img:"",confirmed:!1,error:!1,nextLoading:!1,prevLoading:!1,onChange:n.default.noop,onChangeConfirmation:n.default.noop,onNext:n.default.noop,onPrev:n.default.noop};handleConfirmation=e=>{this.props.onChangeConfirmation(e.target.checked)};handleKeyDown=e=>{const{confirmed:t,onNext:o}=this.props;13===e.which&&t&&o()};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},this.props.error)}renderValidationError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error brz-ed-popup-recaptcha-validation-error"},r.default.createElement("p",{className:"brz-p"},(0,l.t)("Verification process failed, please make sure you have done the following three things and try again in a few minutes.")),r.default.createElement("p",{className:"brz-p"},"1. ",(0,l.t)("Inputted a valid site key"),". "),r.default.createElement("p",{className:"brz-p"},"2.",(0,l.t)("Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account.")),r.default.createElement("p",{className:"brz-p"},"3. ",(0,l.t)("Established a stable internet connection"),"."))}renderItems(){const{data:e,onChange:t}=this.props;return e.map(((e,o)=>{const{title:n,name:a,value:l}=e;return r.default.createElement(i.default,{key:o,title:n,value:l,required:!0,onChange:e=>{t(e.target.value,a)}})}))}renderDescriptions(){return r.default.createElement("div",{className:"brz-ed-popup-recaptcha__confirmation"},r.default.createElement("label",{className:"brz-label"},r.default.createElement("input",{className:"brz-input",type:"checkbox",value:this.props.confirmed,onChange:this.handleConfirmation}),'I have deselected "Verify the origins of reCAPTCHA solu-',r.default.createElement("br",{className:"brz-br"}),'tions and clicked "Save Changes" under "Key Settings >',r.default.createElement("br",{className:"brz-br"}),'Advanced Settings" in my Google reCAPTCHA page'))}render(){const{title:e,img:t,validated:o,confirmed:n,error:i,nextLoading:c,prevLoading:d,onRetry:u,onNext:p,onPrev:f}=this.props;return r.default.createElement(a.Scrollbar,{theme:"light"},r.default.createElement("div",{className:"brz-ed-popup-recaptcha__connect"},r.default.createElement("div",{className:"brz-ed-popup-recaptcha__container"},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},r.default.createElement("img",{className:"brz-img",src:t,alt:e}),o?this.renderDescriptions():this.renderValidationError(),i&&this.renderError()),r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},this.renderItems(),o?r.default.createElement(s.Button,{color:"teal",loading:c,disabled:!n,onClick:p},(0,l.t)("Connect")):r.default.createElement(s.Button,{color:"teal",loading:c,onClick:u},(0,l.t)("Try Again")),r.default.createElement(s.Button,{color:"default",loading:d,onClick:f},(0,l.t)("Cancel"))))))}}const p=u},76206:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=(a=o(99019))&&a.__esModule?a:{default:a};var a;const l=o(64215),s=o(92982),c=o(64187),d=o(38590);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=[{name:"sitekey",title:"Site Key"},{name:"secretkey",title:"Secret Key"}];class f extends r.Component{static contextType=l.Context;constructor(e,t){super(e);const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),validated:!0,confirmed:!1,prevLoading:!1,nextLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return p.reduce(((e,t)=>{let{name:o}=t;return{...e,[`${o}`]:""}}),{})}handleChange=(e,t)=>{this.setState((o=>{let{apiKeyValue:r}=o;return{apiKeyValue:{...r,[`${t}`]:e.trim()}}}))};handleConfirmation=e=>{this.setState({confirmed:e})};handleNext=async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,r=Object.values(o);if(this.setState({nextLoading:!0,error:null}),r.some((e=>!e)))await(0,c.pendingRequest)(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:r}=e;if(r){const{status:e}=await(0,s.deleteAccount)(r.id);200!==e&&this.setState({nextLoading:!1,error:(0,n.t)("Something went wrong")})}await(0,d.validation)(o)?t():this.setState({nextLoading:!1,validated:!1})}};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,c.pendingRequest)(),this.context.onChangePrev()};render(){const{apiKeyValue:e,nextLoading:t,prevLoading:o,confirmed:n,error:a,validated:l}=this.state,s=p.map((t=>{let{title:o,name:r}=t;return{title:o,name:r,value:e[r]}}));return r.default.createElement(i.default,{...this.context.app,data:s,validated:l,confirmed:n,nextLoading:t,prevLoading:o,error:a,onChange:this.handleChange,onChangeConfirmation:this.handleConfirmation,onNext:this.handleNext,onRetry:this.handleNext,onPrev:this.handlePrev})}}const m=f},38590:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"validation",{enumerable:!0,get:function(){return n}});const r=o(21598);async function n(e){try{return await function(e){const t=window.parent,o=function(e){const t=e.document.body,o=document.createElement("div");return o.setAttribute("class","brz-ed-recaptcha brz-hidden"),t.append(o),o}(t),n=function(e){const t=e.document.body,o=document.createElement("script");return o.setAttribute("src","https://www.google.com/recaptcha/api.js?onload=onloadRecaptchaCallback&render=explicit"),o.setAttribute("async","async"),o.setAttribute("defer","defer"),t.append(o),o}(t);return new Promise(((i,a)=>{n.onload=()=>{const l=t.parent.grecaptcha;t.onloadRecaptchaCallback=()=>{const t=l.render(o,{sitekey:e.sitekey,size:"invisible",callback:async t=>{const{status:a}=await(0,r.addRecaptcha)({group:"recaptcha",service:"recaptcha",...e,response:t});o.remove(),n.remove(),i(200===a)},"error-callback":()=>{o.remove(),n.remove(),a(!1)}});l.reset(t),l.execute(t)}}}))}(e)}catch(e){return e}}},10637:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64187),i=o(64985),a=o(64215),l=o(2521),s=o(92982);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static contextType=a.Context;constructor(e){super(e),this.state={nextLoading:!1,prevLoading:!1,error:null}}handleNext=async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:r}=await(0,s.deleteAccount)(e.data.id);r<400?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")})};handlePrev=async()=>{this.setState({prevLoading:!0,error:null}),await(0,n.pendingRequest)(),this.context.onChangePrev("appList")};render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return r.default.createElement(l.Disconnect,{...this.context.app,descriptions:`${(0,i.t)("Are you sure you want to delete your account?")}`,nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext})}}const u=d},83069:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(46479),i=o(64985),a=o(64215),l=o(92397),s=(c=o(78729))&&c.__esModule?c:{default:c};var c;function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u={helper:e=>r.default.createElement(l.HelperCopy,{descriptions:(0,i.t)("You can use these shortcodes in your email:"),fields:e})},p=[{name:"emailTo",title:(0,i.t)("Email To"),required:!0,helper:'

If you need to have multiple emails you can separate them by commas:

\n

me@email.com, hi@email.com

'},{name:"subject",title:(0,i.t)("Subject"),...n.IS_PRO?u:{}},{name:"fromEmail",title:(0,i.t)("From Email")},{name:"fromName",title:(0,i.t)("From Name")},{name:"replayTo",title:(0,i.t)("Reply-To"),...n.IS_PRO?u:{}},{name:"cc",title:(0,i.t)("Cc")},{name:"bcc",title:(0,i.t)("Bcc")},{name:"metaData",title:(0,i.t)("Meta Data"),type:"search",multiple:!0,choices:[{title:"Time",value:"time"},{title:"Page URL",value:"pageUrl"},{title:"User Agent",value:"userAgent"},{title:"Remote IP",value:"remoteIp"},{title:"Credit",value:"credit"}]},{name:"host",title:(0,i.t)("Host"),required:!0},{name:"port",title:(0,i.t)("Port"),required:!0},{name:"authentication",title:(0,i.t)("Authentication"),type:"switch"},{name:"username",title:(0,i.t)("Username"),required:!0},{name:"password",title:(0,i.t)("Password"),required:!0},{name:"encryption",title:(0,i.t)("Encryption"),type:"select",choices:[{title:"SSL",name:"ssl"},{title:"TLS",name:"tls"}]}];class f extends r.Component{static contextType=a.Context;render(){return r.default.createElement(s.default,{...this.props,...this.context,apiKeys:p})}}const m=f},92397:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HelperCopy",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(33364))&&i.__esModule?i:{default:i};var i;const a=o(80029);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{const{fields:t,descriptions:o}=e,[i,l]=(0,r.useState)(""),s=(0,r.useCallback)((e=>{(0,a.copyTextToClipboard)(`{{${e}}}`),l(e)}),[]);return(0,r.useEffect)((()=>{const e=setTimeout((()=>{l("")}),800);return()=>{clearTimeout(e)}}),[i]),r.default.createElement("div",{className:"brz-helper__copy"},o&&r.default.createElement("p",{className:"brz-p brz-helper__copy-descriptions"},o),t.map(((e,t)=>r.default.createElement("p",{key:t,title:"Click to copy",className:"brz-p brz-helper__copy--fields",onClick:()=>{s(e.label)}},r.default.createElement("span",{className:"brz-span"},`{{${e.label}}}`),r.default.createElement(n.default,{icon:"nc-duplicate"}),i===e.label&&r.default.createElement("span",{className:"brz-span brz-ed-animated brz-ed-animated--fadeIn"},"Copied")))))}},78729:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=f(o(27378)),n=o(47885),i=o(64985),a=f(o(59638)),l=o(49863),s=o(21598),c=o(92767),d=o(64187),u=o(21901);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends r.Component{state={apiKeyValue:this.getDefaultValue(),prevLoading:!1,nextLoading:!1,error:null};getDefaultValue(){const{app:{data:e},apiKeys:t}=this.props;return t.reduce(((t,o)=>{let{name:r}=o;return{...t,[`${r}`]:e[a.read(r)??""]||""}}),{})}getValue(e){const{apiKeyValue:t}=this.state;return(0,l.pipe)((t=>t[e]))(t)}handleChange=(e,t)=>{this.setState((o=>{let{apiKeyValue:r}=o;return{apiKeyValue:{...r,[`${e}`]:t}}}))};handleNext=async()=>{const{app:{id:e,data:t},formId:o,apiKeys:r,onChange:n,onChangeNext:l}=this.props,{apiKeyValue:c}=this.state;if(this.setState({nextLoading:!0,error:null}),r.find((e=>{let{required:t,name:o}=e;return t&&!c[a.read(o)??""]})))await(0,d.pendingRequest)(),this.setState({error:(0,i.t)("All fields marked with an asterisk ( * ) must be completed."),nextLoading:!1});else{const{status:r,data:a}=await(0,s.updateSmtpIntegration)({...t,...c,formId:o,completed:!0});200!==r?this.setState({nextLoading:!1,error:(0,i.t)("Something went wrong")}):(n(e,{...t,...a}),l())}};handlePrev=async()=>{this.setState({prevLoading:!0}),await(0,d.pendingRequest)(),this.props.onChangePrev()};render(){const{app:e,apiKeys:t,formId:o,formFields:i}=this.props,{error:a,prevLoading:l,nextLoading:s}=this.state,d=t.map((e=>(0,u.readApiKey)({...e,value:this.getValue(e.name)}))).filter(n.isT);return r.default.createElement(c.Fields,{...e,formId:o,formFields:i,data:d,error:a??void 0,prevLoading:l,nextLoading:s,onActive:this.handleChange,onPrev:this.handlePrev,onNext:this.handleNext})}}const y=m},21901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"readApiKey",{enumerable:!0,get:function(){return v}});const r=o(47885),n=o(55250),i=u(o(59638)),a=u(o(59596)),l=u(o(44576)),s=o(77725),c=o(49863);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const p=e=>"string"==typeof e||null===e,f=e=>"function"==typeof e||p(e),m=(0,s.readWithParser)({type:e=>"input"===e.type||void 0===e.type?"input":void 0,value:(0,c.pipe)((0,n.prop)("value"),(0,r.pass)((e=>p(e)))),title:(0,r.mPipe)((0,n.prop)("title"),i.read),name:(0,r.mPipe)((0,n.prop)("name"),i.read),required:(0,r.optional)((0,c.pipe)((0,n.prop)("required"),(0,r.pass)(a.is))),helper:(0,r.optional)((0,c.pipe)((0,n.prop)("helper"),(0,r.pass)((e=>f(e)))))}),y=(0,r.parse)({type:e=>"select"===e.type?"select":void 0,choices:(0,r.mPipe)((0,n.prop)("choices"),(e=>l.toArray(e))),value:(0,c.pipe)((0,n.prop)("value"),(0,r.pass)((e=>"string"==typeof e||null===e))),title:(0,r.mPipe)((0,n.prop)("title"),i.read),name:(0,r.mPipe)((0,n.prop)("name"),i.read),required:(0,r.optional)((0,c.pipe)((0,n.prop)("required"),(0,r.pass)(a.is))),helper:(0,r.optional)((0,c.pipe)((0,n.prop)("helper"),(0,r.pass)((e=>f(e)))))}),g=(0,r.parse)({type:e=>"switch"===e.type?"switch":void 0,title:(0,r.mPipe)((0,n.prop)("title"),i.read),value:(0,c.pipe)((0,n.prop)("value"),(e=>!!a.is(e)&&e)),name:(0,r.mPipe)((0,n.prop)("name"),i.read),required:(0,r.optional)((0,c.pipe)((0,n.prop)("required"),(0,r.pass)(a.is))),helper:(0,r.optional)((0,c.pipe)((0,n.prop)("helper"),(0,r.pass)((e=>f(e)))))}),h=(0,r.parse)({type:e=>"search"===e.type?"search":void 0,choices:(0,r.mPipe)((0,n.prop)("choices"),(e=>l.toArray(e))),value:(0,c.pipe)((0,n.prop)("value"),(0,r.pass)((e=>p(e)))),title:(0,r.mPipe)((0,n.prop)("title"),i.read),name:(0,r.mPipe)((0,n.prop)("name"),i.read),required:(0,r.optional)((0,c.pipe)((0,n.prop)("required"),(0,r.pass)(a.is))),helper:(0,r.optional)((0,c.pipe)((0,n.prop)("helper"),(0,r.pass)((e=>f(e))))),multiple:(0,c.pipe)((0,n.prop)("multiple"),a.is)}),b=(0,r.match)([e=>"input"===e.type||void 0===e.type,m],[e=>"select"===e.type,y],[e=>"switch"===e.type,g],[e=>"search"===e.type,h],[e=>!0,()=>{}]),v=e=>b(e)},14098:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ApiConnect:function(){return r.default},Account:function(){return n.default},Client:function(){return i.default},Fields:function(){return a.default},CustomFields:function(){return l.default},EmailFields:function(){return s.default},List:function(){return c.default},Done:function(){return d.default},SmtpFields:function(){return u.default},GmailFields:function(){return p.default},RecaptchaConnect:function(){return f.default},RecaptchaDisconnect:function(){return m.default}});const r=y(o(26747)),n=y(o(77704)),i=y(o(88190)),a=y(o(10901)),l=y(o(28386)),s=y(o(97216)),c=y(o(92127)),d=y(o(72688)),u=y(o(83069)),p=y(o(24737)),f=y(o(76206)),m=y(o(10637));function y(e){return e&&e.__esModule?e:{default:e}}},21598:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getForm:function(){return s},createForm:function(){return c},updateForm:function(){return d},getIntegration:function(){return u},createIntegration:function(){return p},updateIntegration:function(){return f},getIntegrationAccountApiKey:function(){return m},createIntegrationAccount:function(){return y},createIntegrationList:function(){return g},getSmtpIntegration:function(){return h},createSmtpIntegration:function(){return b},updateSmtpIntegration:function(){return v},addRecaptcha:function(){return S}});const r=l(o(10301)),n=o(80029),i=l(o(22546)),a=o(64187);function l(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let{formId:t}=e;const{api:o}=i.default.get("wp"),r=i.default.get("editorVersion"),l=(0,n.makeUrl)(o.url,{formId:t,action:o.getForm,hash:o.hash,version:r});return(0,a.request)(l,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,n.parseJSON)(e))).then((e=>e))},c=e=>{let{formId:t}=e;const{api:o}=i.default.get("wp"),r=i.default.get("editorVersion"),l=(0,n.makeUrl)(o.url,{action:o.createForm,hash:o.hash,version:r});return(0,a.request)(l,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:t})}).then((e=>(0,n.parseJSON)(e)))},d=e=>{let{formId:t,hasEmailTemplate:o,emailTemplate:r}=e;const{api:l}=i.default.get("wp"),s=i.default.get("editorVersion"),c=(0,n.makeUrl)(l.url,{formId:t,action:l.updateForm,hash:l.hash,version:s});return(0,a.request)(c,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({hasEmailTemplate:o,emailTemplate:r})}).then(n.parseJSON).then((e=>e))},u=e=>{let{formId:t,id:o}=e;const{api:r}=i.default.get("wp"),l=i.default.get("editorVersion"),s=(0,n.makeUrl)(r.url,{action:r.getIntegration,hash:r.hash,version:l,formId:t,integration:o});return(0,a.request)(s,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,n.parseJSON)(e)))},p=e=>{let{formId:t,id:o}=e;const{api:r}=i.default.get("wp"),l=i.default.get("editorVersion"),s=(0,n.makeUrl)(r.url,{action:r.createIntegration,hash:r.hash,version:l,formId:t});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:o})}).then((e=>(0,n.parseJSON)(e)))},f=e=>{let{formId:t,...o}=e;const{api:l}=i.default.get("wp"),s=i.default.get("editorVersion"),c=(0,n.makeUrl)(l.url,{action:l.updateIntegration,hash:l.hash,version:s,formId:t}),d=r.default.pick(o,["id","usedAccount","fieldsMap","usedList","confirmationNeeded","usedFolder","completed"]);return(0,a.request)(c,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(d)}).then((e=>(0,n.parseJSON)(e)))},m=e=>{let{formId:t,id:o}=e;const{api:r}=i.default.get("wp"),l=i.default.get("editorVersion"),s=(0,n.makeUrl)(r.url,{action:r.getAccountProperties,hash:r.hash,version:l,formId:t,integration:o});return(0,a.request)(s,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,n.parseJSON)(e)))},y=e=>{let{formId:t,id:o,data:r}=e;const{api:l}=i.default.get("wp"),s=i.default.get("editorVersion"),c=(0,n.makeUrl)(l.url,{action:l.authenticateIntegration,hash:l.hash,version:s,formId:t,integration:o});return(0,a.request)(c,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(r)}).then((e=>(0,n.parseJSON)(e)))},g=e=>{let{formId:t,id:o,data:r}=e;const{api:l}=i.default.get("wp"),s=i.default.get("editorVersion"),c=(0,n.makeUrl)(l.url,{action:l.createIntegrationGroup,hash:l.hash,version:s,formId:t,integration:o});return(0,a.request)(c,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(r)}).then((e=>(0,n.parseJSON)(e)))},h=function(){for(var e=arguments.length,t=new Array(e),o=0;o{let{formId:t,...o}=e;const{api:r}=i.default.get("wp"),l=i.default.get("editorVersion"),s=(0,n.makeUrl)(r.url,{action:r.updateIntegration,hash:r.hash,version:l,formId:t});return(0,a.request)(s,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then((e=>(0,n.parseJSON)(e)))},S=e=>{let{group:t,service:o,secretkey:r,sitekey:l,response:s}=e;const{api:c}=i.default.get("wp"),d=i.default.get("editorVersion"),u=(0,n.makeUrl)(c.url,{action:c.addAccount,hash:c.hash,version:d,secretkey:r,response:s});return(0,a.request)(u,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({group:t,service:o,sitekey:l,secretkey:r})}).then(n.parseJSON).then((e=>e))}},38380:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=d(o(10301)),i=o(64985),a=d(o(76290)),l=d(o(92916)),s=d(o(99919)),c=d(o(80731));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}const p=[{id:"email",title:(0,i.t)("Email"),icon:"nc-email",component:s.default},{id:"service",title:(0,i.t)("APPS"),icon:"nc-extensions-2",component:l.default},{id:"recaptcha",title:(0,i.t)("ReCAPTCHA"),icon:"nc-captcha",component:c.default}];class f extends r.Component{static defaultProps={formId:"",formFields:[],opened:!1,onClose:n.default.noop};render(){const{formId:e,formFields:t,opened:o,onClose:n}=this.props;return r.default.createElement(a.default,{currentTab:"email",formId:e,formFields:t,opened:o,tabs:p,onClose:n})}}const m=f},76025:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=y(o(60042)),i=y(o(10301)),a=y(o(22546)),l=y(o(40687)),s=y(o(97023)),c=y(o(65961)),d=y(o(16719)),u=y(o(33364)),p=o(85326),f=o(33091),m=o(13340);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const h=(0,m.getTypes)(),b=h.reduce(((e,t)=>{let{id:o,name:r}=t;return e[o]=r,e}),{});class v extends r.Component{static defaultProps={name:"nc-star",type:"outline",onChange:i.default.noop};state={typeId:(h.find((e=>e.name===this.props.type))??h[0]).id,categoryId:"*",search:""};containerRef=r.default.createRef();componentDidUpdate(){if(this.containerRef.current){const{templateFonts:e}=a.default.get("urls");(0,f.loadFonts)(this.containerRef.current,e)}}onIconClick=e=>{this.props.onClose(),setTimeout((()=>{this.props.onChange(e)}),0)};renderTabs(){const e=h.map((e=>r.default.createElement("div",{key:e.id,className:(0,n.default)("brz-ed-popup-tab-item",{active:e.id===this.state.typeId}),onClick:()=>this.setState({typeId:e.id})},r.default.createElement("div",{className:"brz-ed-popup-tab-icon"},r.default.createElement(u.default,{icon:e.icon})),r.default.createElement("div",{className:"brz-ed-popup-tab-name"},e.title))));return r.default.createElement("div",{className:"brz-ed-popup-header"},r.default.createElement("div",{className:"brz-ed-popup-header__tabs"},e),r.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:this.props.onClose}))}renderFilters(){const{categoryId:e,search:t,typeId:o}=this.state,i=[{id:"*",name:"all",title:"All Categories"},...(0,m.getCategories)(o)];return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ed-popup__categories"},r.default.createElement(s.default,{className:"brz-ed-popup__select brz-ed-popup__select--block-categories brz-ed-popup-control__select--light",defaultValue:e,maxItems:10,itemHeight:30,onChange:e=>this.setState({categoryId:e})},i.map((e=>{let{id:t,title:o}=e;return r.default.createElement(c.default,{key:t,value:t},o)})))),r.default.createElement("div",{className:"brz-ed-popup__search"},r.default.createElement("input",{type:"text",className:"brz-input brz-ed-popup__input",placeholder:"Enter Search Keyword",onChange:e=>this.setState({search:e.target.value}),value:t}),r.default.createElement("div",{className:(0,n.default)("brz-ed-popup__search--icon",{active:t.length>0})},r.default.createElement(u.default,{icon:"nc-search"}))))}filterIcons(e){const{typeId:t,categoryId:o,search:r}=this.state,n=new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,""),"i");return e.filter((e=>{let{type:i,cat:a,title:l}=e;return t===i&&("*"===o||a.includes(o))&&(""===r||n.test(l))}))}render(){const{name:e,type:t,opened:o,onClose:n}=this.props;return r.default.createElement(l.default,{opened:o,onClose:n},r.default.createElement("div",{ref:this.containerRef,className:"brz-ed-popup-wrapper"},this.renderTabs(),r.default.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},r.default.createElement("div",{className:"brz-ed-popup-body"},r.default.createElement("div",{className:"brz-ed-popup__head--search brz-d-xs-flex brz-align-items-center brz-justify-content-xs-center"},this.renderFilters()),r.default.createElement("div",{className:"brz brz-ed-popup-icons__grid"},r.default.createElement(p.PromiseComponent,{getPromise:()=>(0,m.getIcons)((0,m.getTypes)().map((e=>e.id))),renderResolved:o=>{const n=this.filterIcons(o);return r.default.createElement(S,{icons:n,value:{name:e,type:t},onChange:this.onIconClick})},renderWaiting:()=>r.default.createElement(w,null),delayMs:1e3}))))))}}function S(e){let{icons:t,value:o,onChange:i}=e;const[a,l]=(0,r.useState)(null),s=(0,r.useRef)(null),c=t.findIndex((e=>e.name===o.name)),u=Math.floor(t.length/8)+1,p=Math.floor(c/8),f=0===p?0:p-1;if((0,r.useEffect)((()=>{if(s.current){const{width:e,height:t}=s.current.getBoundingClientRect();l({width:e,height:t})}}),[]),!a)return r.default.createElement("div",{style:{height:"100%"},ref:s},r.default.createElement(w,null));const{width:y,height:g}=a,h=74*f;return r.default.createElement(d.default,{width:y,height:g,columnCount:8,columnWidth:68,rowCount:u,rowHeight:68,gutter:6,initialScrollTop:h,renderItem:e=>{let{rowIndex:a,columnIndex:l,style:s}=e;const c=t[8*a+l];if(!c)return null;const{type:d,name:u}={type:b[c.type],name:c.name},p=(0,n.default)("brz-ed-popup-icons__grid__item",{active:d===o.type&&u===o.name});return r.default.createElement("div",{style:{...s,left:s.left+6,top:s.top+6,width:s.width-6,height:s.height-6},className:p,onClick:()=>{i({type:d,name:u})}},r.default.createElement("i",{className:(0,n.default)(["brz-font-icon",(0,m.getIconClassName)(c)])}))}})}function w(){return r.default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#828b92",fontSize:"35px"}},r.default.createElement(u.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}},33091:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"loadFonts",{enumerable:!0,get:function(){return r}});const r=(e,t)=>{(o.g.Brizy.applyFilter("iconFontsLoaders")||[]).map((o=>o(e,t)))}},22151:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(10301),i=o(4820),a=o(16957),l=d(o(40687)),s=d(o(33364)),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{static defaultProps={opened:!1,onClose:n.noop};render(){const{opened:e,onClose:t}=this.props,o="MacOS"===(0,a.detectOS)(),n=o?`${(0,i.assetUrl)("editor/img/mac-keyboard1x.png")} 1x , ${(0,i.assetUrl)("editor/img/mac-keyboard2x.png")} 2x`:`${(0,i.assetUrl)("editor/img/pc-keyboard1x.png")} 1x , ${(0,i.assetUrl)("editor/img/pc-keyboard2x.png")} 2x`;return r.default.createElement(l.default,{id:"key-helper",className:"brz-ed-hotkeys-overlay",opened:e,onClose:t},r.default.createElement("div",{className:"brz-ed-hotkeys-wrapper"},r.default.createElement(s.default,{icon:"nc-close-popup",className:"brz-ed-hotkeys-btn-close",onClick:t}),r.default.createElement("div",{className:"brz-ed-hotkeys-label"},(0,c.t)("Keyboard Shortcuts")),r.default.createElement("div",{className:"brz-ed-hotkeys-image-container"},r.default.createElement("picture",null,r.default.createElement("img",{className:"brz-ed-hotkeys-image",srcSet:n}))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container"},r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + C":"ctrl + C"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Copy"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + V":"ctrl + V"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Paste"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + V":"ctrl + shift + V"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Paste Style"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + D":"ctrl + D"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Duplicate"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + delete":"ctrl + delete"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Delete"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"ctrl +",r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons",icon:"nc-arrow"}),r.default.createElement("span",{className:"divider"},"/"),r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons brz-ed-deg180",icon:"nc-arrow"})),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Horizontal Align"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"ctrl +",r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons brz-ed-deg90",icon:"nc-arrow"}),r.default.createElement("span",{className:"divider"},"/"),r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons brz-ed-deg270",icon:"nc-arrow"})),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Vertical Align"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + P":"ctrl + shift + P"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Preview Page"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},"esc"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Select Parent Element")))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + Z":"ctrl + Z"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Undo"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + Z":"ctrl + shift + Z"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Redo"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + S":"ctrl + S"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Save"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"ctrl +",r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons",icon:"nc-minus"}),r.default.createElement("span",{className:"divider"},"/"),r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons",icon:"nc-plus2"})),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Responsive Zoom Out / In"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"ctrl +",r.default.createElement(s.default,{className:"brz-ed-hotkeys-icons",icon:"nc-alert-circle-que"})),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Shortcuts"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + A":"ctrl + shift + A"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Add New Block / Layout"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + M":"ctrl + M"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Styling"))),r.default.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + K":"ctrl + K"),r.default.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},(0,c.t)("Effects")))))))}}},12736:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptPageArticle",{enumerable:!0,get:function(){return k}});const r=_(o(27378)),n=o(23884),i=_(o(80425)),a=C(o(40687)),l=o(54688),s=o(31055),c=o(93702),d=o(74900),u=o(84786),p=C(o(22546)),f=o(62762),m=o(74215),y=o(64187),g=o(26981),h=o(64985),b=o(4883),v=o(89660),S=o(93911),w=o(74766),x=o(69583),P=o(95605);function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const k=e=>{const{headTitle:t,pageTitle:o,opened:C,selectedLayout:T,onClose:_,onSave:k}=e,{value:M}=T||{value:void 0},O=(0,n.useDispatch)(),E=(0,r.useCallback)((e=>{let{selected:t,title:o,layout:r}=e;return O((0,m.updatePageLayout)(r)),O((0,m.updatePageTitle)(o)),k().then((()=>(0,y.shopifySyncArticle)(t.id,t.title,o))).then((()=>{}))}),[O,k]),B=(0,r.useCallback)((async()=>{const e=p.default.getAll();if((0,f.isCloud)(e)&&(0,f.isShopify)(e)){const t=(0,y.getPageRelations)(e).then((e=>e.map((e=>e.blog_id||e.id)))),r=(0,y.shopifyBlogItems)(),[n,i]=await Promise.all([r,t]),a=(0,u.getChoices)(e);if((0,g.isNonEmptyArray)(n)&&(0,g.isNonEmptyArray)(a))return{items:n,layouts:a,selected:n.find((e=>e.id===i[0])),title:o,layout:M??a[0].id,error:void 0}}return Promise.reject()}),[o,M]),[z,I]=(0,d.useStateReducer)(l.reducer,B,E,_),j=r.default.createElement(r.default.Fragment,null,r.default.createElement(b.Button,{size:3,loading:"Canceling"===z.type,onClick:()=>I((0,c.cancel)())},(0,h.t)("Cancel")),r.default.createElement(b.Button,{color:"teal",size:3,loading:"Saving"===z.type,onClick:()=>I((0,c.save)())},(0,h.t)("Save")));return r.default.createElement(a.default,{opened:C,onClose:_},r.default.createElement("div",{className:"brz-ed-popup-wrapper"},r.default.createElement(S.Header,{tabs:P.tabs.map((e=>({...e,active:e.id===z.payload.activeTab,onClick:()=>I((0,c.switchTab)(e.id))}))),onClose:_}),(()=>{switch(z.type){case"Loading":return r.default.createElement(v.Content,{head:t,loading:!0});case"Err":return r.default.createElement(v.Content,{head:t,error:z.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":switch(z.payload.activeTab){case P.Tabs.page:return r.default.createElement(v.Content,{head:t,error:z.payload.error,inlineFooter:!0,footer:j},r.default.createElement(w.Input,{value:z.payload.title??"",onChange:e=>I((0,s.setTitle)(e)),placeholder:(0,h.t)("Page title")}),r.default.createElement(i.default,{className:"brz-ed-popup-integrations-option__radio",defaultValue:z.payload.selected?.id,onChange:e=>I((0,s.setBlog)(e))},z.payload.items.map((e=>{let{title:t,id:o}=e;return r.default.createElement(i.RadioItem,{checkIcon:"active",value:o,key:o},t)}))));case P.Tabs.settings:return r.default.createElement(x.SettingsTab,{layouts:z.payload.layouts,headTitle:t,value:z.payload.layout,inlineFooter:!0,footer:j,onChange:e=>I((0,s.setLayout)(e)),error:z.payload.error})}}})()))}},54688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setters:function(){return s},validate:function(){return c},reducer:function(){return d}});const r=o(77936),n=o(83612),i=o(64985),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(95945));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(e,t)=>{switch(t.type){case"SetLayout":return{...e,layout:t.payload};case"SetBlog":return{...e,selected:e.items.find((e=>e.id===t.payload))??e.selected};case"SetTitle":return{...e,title:t.payload}}},c=e=>{const{title:t,selected:o}=e;return t&&a.is(t)?o?(0,n.right)({title:t,items:e.items,selected:o,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):(0,n.left)({...e,error:(0,i.t)("You must have one selected item")}):(0,n.left)({...e,error:(0,i.t)("You must specify a title")})},d=(0,r.createReducer)(s,c)},31055:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setTitle:function(){return o},setLayout:function(){return r},setBlog:function(){return n}});const o=e=>({payload:e,type:"SetTitle"}),r=e=>({payload:e,type:"SetLayout"}),n=e=>({payload:e,type:"SetBlog"})},60624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptPageRules",{enumerable:!0,get:function(){return k}});const r=_(o(27378)),n=o(23884),i=_(o(31916)),a=C(o(40687)),l=o(74900),s=o(84786),c=C(o(22546)),d=o(62762),u=o(74215),p=o(64187),f=o(26981),m=o(64985),y=o(4883),g=o(89660),h=o(93911),b=o(74766),v=o(69583),S=o(95605),w=_(o(93702)),x=o(11848),P=_(o(12495));function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const k=e=>{const{headTitle:t,pageTitle:o,opened:C,selectedLayout:T,onClose:_,onSave:k}=e,{value:M}=T||{value:void 0},O=(0,n.useDispatch)(),E=(0,r.useCallback)((e=>{let{items:t,title:o,layout:r}=e;return O((0,u.updatePageLayout)(r)),O((0,u.updatePageTitle)(o)),k().then((()=>(0,p.shopifySyncRules)(t.filter((e=>e.selected)),o))).then((()=>{}))}),[O,k]),B=(0,r.useCallback)((async()=>{const e=c.default.getAll();if((0,d.isCloud)(e)&&(0,d.isShopify)(e)){const t=(0,p.getPageRelations)(e).then((e=>e.map((e=>e.id)))),r=(0,p.getCollectionSourceItemsById)(e.templateType.id),n=await Promise.all([r,t]).then((e=>{let[t,o]=e;return t.map((e=>({...e,selected:o.includes(e.id)})))})),i=(0,s.getChoices)(e);if((0,f.isNonEmptyArray)(n)&&(0,f.isNonEmptyArray)(i))return{items:n,layouts:i,title:o,layout:M??i[0].id,error:void 0}}return Promise.reject()}),[o,M]),[z,I]=(0,l.useStateReducer)(x.reducer,B,E,_),j=(0,r.useMemo)((()=>r.default.createElement(r.default.Fragment,null,r.default.createElement(y.Button,{size:3,loading:"Canceling"===z.type,onClick:()=>I(w.cancel())},(0,m.t)("Cancel")),r.default.createElement(y.Button,{color:"teal",size:3,loading:"Saving"===z.type,onClick:()=>I(w.save())},(0,m.t)("Save")))),[I,z.type]);return r.default.createElement(a.default,{opened:C,onClose:_},r.default.createElement("div",{className:"brz-ed-popup-wrapper"},r.default.createElement(h.Header,{tabs:S.tabs.map((e=>({...e,active:e.id===z.payload.activeTab,onClick:e=>I(w.switchTab(e))}))),onClose:_}),(()=>{switch(z.type){case"Loading":return r.default.createElement(g.Content,{head:t,loading:!0});case"Err":return r.default.createElement(g.Content,{head:t,error:z.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":{const{items:e,title:o}=z.payload,n=e.filter((e=>e.selected)).reduce(((e,t)=>(e[t.id]=!0,e)),{}),a=(e=>{switch(e.type){case"Loading":case"Err":case"Saving":return;case"Ready":case"Canceling":case"Canceled":return e.payload.error}})(z);switch(z.payload.activeTab){case S.Tabs.page:return r.default.createElement(g.Content,{head:t,error:a,inlineFooter:!0,footer:j},r.default.createElement(b.Input,{value:o??"",onChange:e=>I(P.setTitle(e)),placeholder:(0,m.t)("Page title")}),r.default.createElement(i.default,{defaultValue:n,onChange:e=>I(P.setRules(Object.entries(e).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return t}))))},e.map((e=>r.default.createElement(i.CheckGroupItem,{key:e.id,divider:!0,inline:!0,value:e.id,renderIcons:i.CheckGroupIcon},e.title)))));case S.Tabs.settings:return r.default.createElement(v.SettingsTab,{layouts:z.payload.layouts,headTitle:t,value:z.payload.layout,inlineFooter:!0,footer:j,onChange:e=>I(P.setLayout(e)),error:a})}}}})()))}},11848:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setters:function(){return s},validate:function(){return c},reducer:function(){return d}});const r=o(77936),n=o(83612),i=o(64985),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(95945));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(e,t)=>{switch(t.type){case"SetLayout":return{...e,layout:t.payload};case"SetRules":return{...e,items:e.items.map((e=>({...e,selected:t.payload.includes(e.id.toString())})))};case"SetTitle":return{...e,title:t.payload}}},c=e=>{const{title:t,items:o}=e;return t&&a.is(t)?o.filter((e=>e.selected)).length?(0,n.right)({title:t,items:e.items,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):(0,n.left)({...e,error:(0,i.t)("You must have one selected item")}):(0,n.left)({...e,error:(0,i.t)("You must specify a title")})},d=(0,r.createReducer)(s,c)},12495:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setTitle:function(){return o},setLayout:function(){return r},setRules:function(){return n}});const o=e=>({payload:e,type:"SetTitle"}),r=e=>({payload:e,type:"SetLayout"}),n=e=>({payload:e,type:"SetRules"})},74330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptPageTemplate",{enumerable:!0,get:function(){return T}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=P(o(40687)),a=o(81142),l=o(93702),s=o(74900),c=o(84786),d=P(o(22546)),u=o(62762),p=o(74215),f=o(64187),m=o(26981),y=o(64985),g=o(4883),h=o(89660),b=o(93911),v=o(74766),S=o(69583),w=o(95605),x=o(13557);function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}const T=e=>{const{headTitle:t,pageTitle:o,selectedLayout:P,opened:C,onClose:T,onSave:_}=e,{value:k}=P||{value:void 0},M=(0,n.useDispatch)(),O=(0,r.useCallback)((e=>{let{title:t,layout:o}=e;return M((0,p.updatePageLayout)(o)),M((0,p.updatePageTitle)(t)),_().then((()=>(0,f.shopifySyncPage)(t))).then((()=>{}))}),[M,_]),E=(0,r.useCallback)((async()=>{const e=d.default.getAll();if((0,u.isCloud)(e)&&(0,u.isShopify)(e)){const t=(0,c.getChoices)(e);if((0,m.isNonEmptyArray)(t))return{layouts:t,title:o,layout:k??t[0].id,error:void 0}}return Promise.reject()}),[o,k]),[B,z]=(0,s.useStateReducer)(x.reducer,E,O,T),I=r.default.createElement(r.default.Fragment,null,r.default.createElement(g.Button,{size:3,loading:"Canceling"===B.type,onClick:()=>z((0,l.cancel)())},(0,y.t)("Cancel")),r.default.createElement(g.Button,{color:"teal",size:3,loading:"Saving"===B.type,onClick:()=>z((0,l.save)())},(0,y.t)("Save")));return r.default.createElement(i.default,{opened:C,onClose:T},r.default.createElement("div",{className:"brz-ed-popup-wrapper"},r.default.createElement(b.Header,{tabs:w.tabs.map((e=>({...e,active:e.id===B.payload.activeTab,onClick:()=>z((0,l.switchTab)(e.id))}))),onClose:T}),(()=>{switch(B.type){case"Loading":return r.default.createElement(h.Content,{head:t,loading:!0});case"Err":return r.default.createElement(h.Content,{head:t,error:B.payload.message});case"Ready":case"Saving":case"Canceling":case"Canceled":switch(B.payload.activeTab){case w.Tabs.page:return r.default.createElement(h.Content,{head:t,inlineFooter:!0,footer:I,error:B.payload.error},r.default.createElement(v.Input,{value:B.payload.title??"",onChange:e=>z((0,a.setTitle)(e)),placeholder:(0,y.t)("Page title")}));case w.Tabs.settings:return r.default.createElement(S.SettingsTab,{layouts:B.payload.layouts,headTitle:t,value:B.payload.layout,inlineFooter:!0,footer:I,onChange:e=>z((0,a.setLayout)(e)),error:B.payload.error})}}})()))}},13557:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setters:function(){return s},validate:function(){return c},reducer:function(){return d}});const r=o(77936),n=o(83612),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(95945)),a=o(64985);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(e,t)=>{switch(t.type){case"SetLayout":return{...e,layout:t.payload};case"SetTitle":return{...e,title:t.payload}}},c=e=>{const{title:t}=e;return t&&i.is(t)?(0,n.right)({title:t,activeTab:e.activeTab,layout:e.layout,layouts:e.layouts,error:void 0}):(0,n.left)({...e,error:(0,a.t)("You must specify a title")})},d=(0,r.createReducer)(s,c)},81142:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setTitle:function(){return o},setLayout:function(){return r}});const o=e=>({payload:e,type:"SetTitle"}),r=e=>({payload:e,type:"SetLayout"})},95994:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptThirdParty",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(23615)),i=s(o(10301)),a=s(o(40687)),l=s(o(33364));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{iframeSrc:t,opened:o,onClose:n}=e;return r.default.createElement(a.default,{opened:o,onClose:n},r.default.createElement(u,{src:t,onRequestClose:n}))}function u(e){let{src:t,onRequestClose:o}=e;const[n,i]=(0,r.useState)(!1),a=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=e=>{const n=new URL(t);if(e.origin===n.origin&&e.source===a.current.contentWindow&&e.data&&e.data.type)switch(e.data.type){case"CLOSE":o();break;case"NAVIGATE":e.data.url&&(r.parent.location.href=e.data.url)}},r=a.current.ownerDocument.defaultView;return r.addEventListener("message",e),()=>r.removeEventListener("message",e)}),[]),r.default.createElement(r.default.Fragment,null,r.default.createElement("iframe",{ref:a,title:"ThirdParty",src:t,style:{position:"relative",display:n?"block":"none",width:"100%",maxWidth:"1140px",height:"90%",maxHeight:"967px",border:0,borderRadius:"7px"},onLoad:()=>i(!0)}),!n&&r.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin",style:{fontSize:"30px",color:"rgba(255, 255, 255, 0.75)"}}))}d.defaultProps={iframeSrc:"",opened:!1,onClose:i.default.noop},d.propTypes={iframeSrc:n.default.string.isRequired,opened:n.default.bool,onClose:n.default.func},u.defaultProps={src:"",onRequestClose:i.default.noop},u.propTypes={src:n.default.string.isRequired,onRequestClose:n.default.func}},4895:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=l(o(33364)),a=l(o(40687));function l(e){return e&&e.__esModule?e:{default:e}}function s(e){let{onClose:t,children:o,value:l,tabs:s,onChange:c}=e;return n.default.createElement(a.default,{className:"brz-ed-popup-integrations",opened:!0,onClose:t},n.default.createElement("div",{className:"brz-ed-popup-wrapper"},n.default.createElement("div",{className:"brz-ed-popup-header"},n.default.createElement("div",{className:"brz-ed-popup-header__tabs"},s.map((e=>{const{id:t,icon:o,title:a}=e,s=(0,r.default)("brz-ed-popup-tab-item",{active:t===l});return n.default.createElement("div",{key:t,className:s,onClick:()=>c(t)},n.default.createElement("div",{className:"brz-ed-popup-tab-icon"},n.default.createElement(i.default,{icon:o})),n.default.createElement("div",{className:"brz-ed-popup-tab-name"},a))}))),n.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:t})),n.default.createElement("div",{className:"brz-ed-popup-content"},o)))}},78436:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Prompt",{enumerable:!0,get:function(){return i}});const r=(n=o(58135))&&n.__esModule?n:{default:n};var n;const i={open(e){r.default.set("prompt",e)}}},4883:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(60042)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const{className:t,size:o=1,color:a="gray",type:l="button",rightIcon:s,leftIcon:c,loading:d,disabled:u,children:p,href:f,target:m,onClick:y}=e,g=(0,n.default)("brz-button brz-ed-btn","brz-ed-btn-sm brz-ed-btn-rounded",t,d?"brz-ed-btn--loading":"brz-ed-btn-icon",`brz-ed-btn-width-${o}`,`brz-ed-btn-${a}`,{"brz-ed-btn-icon--left":c},{"brz-ed-btn-icon--right":s},{"brz-ed-btn--disabled":u}),h=d?r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):r.default.createElement(r.default.Fragment,null,c&&r.default.createElement(i.default,{icon:c}),p,s&&r.default.createElement(i.default,{icon:s}));switch(l){case"link":return r.default.createElement("a",{className:g,target:m,href:f,rel:"noopener noreferrer",onClick:y},h);case"button":return r.default.createElement("button",{className:g,onClick:y},h)}}},89660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Content",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),n=c(o(60042)),i=c(o(27998)),a=o(96101),l=o(40010),s=o(7741);function c(e){return e&&e.__esModule?e:{default:e}}const d=e=>{const{head:t,loading:o,error:c,children:d,spacing:u=!0,height:p=!0,footer:f,inlineFooter:m}=e,y=(0,n.default)("brz-ed-popup-content",{"brz-ed-popup-content--spacing":u,"brz-ed-popup-content--height":p}),g=(0,n.default)("brz-ed-popup-content__footer",{"brz-ed-popup-content__footer--inline":m});return o?r.default.createElement("div",{className:y},r.default.createElement(s.Loading,null)):r.default.createElement("div",{className:y},t&&r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-ed-popup-content__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},t)),r.default.createElement(a.Spacer,{space:"19px"}))),c&&r.default.createElement(l.Alert,{message:c,type:"error"}),r.default.createElement(i.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},d),f&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Spacer,{space:"35px"}),r.default.createElement("div",{className:g},f)))}},18858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BaseApp",{enumerable:!0,get:function(){return o}});class o{static connect=void 0;static account=void 0;static fields=void 0;static list=void 0;static done=void 0}},73151:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=p(o(10301)),i=p(o(60042)),a=p(o(13556)),l=o(40010),s=o(64215),c=o(7741),d=p(o(19119)),u=p(o(68723));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}class m extends r.Component{static defaultProps={className:"",tab:{},stage:"",stages:[],onLoading:n.default.noop,onTabUpdate:n.default.noop,onClose:n.default.noop};state={loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null};appsData=[];appsComponent={};proExceptions=!1;getContextValue(){const{connectedApp:e,connectedApps:t,data:o,stages:r,stage:n,oldStage:i}=this.state;return{app:o[e]||{},connectedApps:t,stages:r,stage:n,oldStage:i,onChange:this.handleChange,onChangeNext:this.handleNext,onChangePrev:this.handlePrev,onConnectApp:this.handleConnectApp,onDisconnectApp:this.handleDisconnectApp,onChangeProgress:this.handleProgress,onError:this.handleError}}getConnectedApps(e){const{connectedApps:t}=this.state;return Array.isArray(e)?e.reduce(((e,t)=>t.completed?[...e,t.id]:e),t):t}handleConnectApp=async e=>{const{id:t,stages:o}=e;this.setState((0,a.default)((r=>{r.stages=o,r.connectedApp=t,r.data[t]=e})),(()=>{this.handleNext()}))};handleDisconnectApp=e=>{const{stage:t,stages:o}=this.props;this.setState((0,a.default)((r=>{const n=r.connectedApps;r.stage=t,r.stages=o,r.connectedApps=n.filter((t=>t!==e))})))};handleProgress=e=>{this.setState(e)};handleChange=(e,t)=>{this.setState((0,a.default)((o=>{o.data[e].data=t})))};getComponent(e){return this.appsComponent[this.state.connectedApp][e]}handleNext=async e=>{const{stages:t,stage:o}=this.state,r=t.findIndex((e=>{let{type:t}=e;return t===o}))+1,n=e||t[r].type,i=this.getComponent(n);let a=!1;if(i&&"function"==typeof i.onBeforeLoad){const e=t[r+1].type,o={onChangeNext:t=>{const o=t||e;a=!0,this.handleNext(o)}};await i.onBeforeLoad(this.getContextValue(),o)}a||this.setState({stage:n,oldStage:o})};handlePrev=e=>{this.setState((0,a.default)((t=>{if("appList"===e){const{stage:e,stages:o}=this.props;t.stage=e,t.stages=o,t.connectedApp=""}else{const{stage:o,stages:r}=t,n=r.findIndex((e=>{let{type:t}=e;return t===o}))-1;t.stage=e||r[n]?.type||"",t.oldStage=o,t.connectedApp=-1===n?"":t.connectedApp}})))};handleError=e=>{this.setState({error:e})};renderLoading(){return r.default.createElement(c.Loading,null)}renderError(){return this.state.error&&r.default.createElement(l.Alert,{message:this.state.error})}renderApps(){const{error:e,appError:t}=this.state;return r.default.createElement(r.default.Fragment,null,e&&r.default.createElement(l.Alert,{message:e}),r.default.createElement(u.default,{apps:this.appsData,proExceptions:this.proExceptions,error:t}))}renderSteps(){const{showProgress:e,stage:t,stages:o,connectedApp:n,data:i}=this.state,a=e&&!o.find((e=>e.type===t))?.hideProgress,l=o.reduce(((e,t,o,a)=>{const l={num:t.type};return o===a.findIndex((e=>e.title))?l.img=i[n].img:l.text=t.title,t.title?[...e,r.default.createElement(d.default.Stage,{key:o,...l})]:e}),[]);return r.default.createElement(s.Context.Provider,{value:this.getContextValue()},r.default.createElement(d.default,{stage:t},a&&l.length>0&&r.default.createElement(d.default.Progress,null,l),r.default.createElement(d.default.Steps,{onClose:this.props.onClose},o.map(((e,t)=>{const o=this.getComponent(e.type);return r.default.createElement(d.default.Step,{key:t,num:e.type,render:e=>o&&r.default.createElement(o,{...e,apps:this.appsData})})})))))}renderContent(){const{stage:e,stages:t}=this.state;return r.default.createElement(s.Context.Provider,{value:this.getContextValue()},""!==e&&t.length?this.renderSteps():this.renderApps())}render(){const e=(0,i.default)("brz-ed-popup-integration",this.props.className);return r.default.createElement("div",{className:e},this.state.loading?r.default.createElement(c.Loading,null):this.renderContent())}}const y=m},64215:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Context",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(10301),a=r.default.createContext({app:{},connectedApps:[],stages:[],stage:"",oldStage:"",onChange:i.noop,onChangeNext:i.noop,onChangePrev:i.noop,onConnectApp:i.noop,onDisconnectApp:i.noop,onChangeProgress:i.noop,onError:i.noop})},1589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(10301)),i=u(o(27998)),a=u(o(33364)),l=u(o(80425)),s=u(o(33548)),c=o(64985),d=o(4883);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static defaultProps={id:"",title:"",shortTitle:"",description:"",img:"",form:{},data:{},active:"",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1,onActive:n.default.noop,onPrev:n.default.noop,onNext:n.default.noop,onConnect:n.default.noop,onDisconnect:n.default.noop};renderOptions(){const{active:e,data:{accounts:t,usedAccount:o,completed:n},disconnectLoading:c,onActive:d,onDisconnect:u}=this.props,p=t.map((e=>{let{name:t,id:i}=e;return r.default.createElement(s.default,{value:i,key:i},t||`Account ${i}`,i===o&&n&&r.default.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:u},r.default.createElement(a.default,{icon:c?"nc-circle-02":"nc-connection",className:c?"brz-ed-animated--spin":""})))}));return r.default.createElement(i.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},r.default.createElement(l.default,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:d},p))}renderError(){const{error:e,data:{accounts:t}}=this.props;return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},0===t.length&&(0,c.t)("Accounts are empty. Please connect a new account and try again."),e))}render(){const{data:{accounts:e},error:t,nextLoading:o,prevLoading:n,connectLoading:i,onConnect:l,onPrev:s,onNext:u}=this.props,p=e.length>0;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__account"},r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,c.t)("SELECT ACCOUNT")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},(!p||t)&&this.renderError(),p&&this.renderOptions(),r.default.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:l},r.default.createElement(a.default,{icon:i?"nc-circle-02":"nc-add",className:i?"brz-ed-animated--spin":""}),(0,c.t)("Connect a new account")),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},r.default.createElement(d.Button,{size:3,leftIcon:"nc-arrow-left",loading:n,onClick:s},(0,c.t)("Back")),r.default.createElement(d.Button,{color:"teal",rightIcon:"nc-arrow-right",loading:o,onClick:u},(0,c.t)("Continue")))))}}const m=f},78882:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(10301))&&i.__esModule?i:{default:i};var i;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends r.Component{static defaultProps={apps:[],render:n.default.noop};render(){const{apps:e,render:t}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations__apps brz-d-xs-flex brz-flex-xs-wrap"},e.map(((e,o)=>t(e,o))))}}},24422:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=p(o(10301)),a=p(o(1424)),l=p(o(33364)),s=o(94979),c=p(o(22546)),d=o(46479),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}class m extends n.Component{static defaultProps={img:"",pro:!1,shortTitle:"",loading:!1,active:!1,onClick:i.default.noop};state={tooltipOpen:!1};iconRef=n.default.createRef();handleTooltipOpen=()=>{this.setState({tooltipOpen:!0})};handleTooltipClose=()=>{this.setState({tooltipOpen:!1})};renderPro(){const{img:e,title:t}=this.props,o=(0,r.default)("brz-ed-popup-integrations__app-logo",this.state.tooltipOpen&&"brz-ed-popup-integrations__app-logo--open"),{upgradeToPro:i}=c.default.getAll().urls;return n.default.createElement("div",{className:"brz-ed-popup-integrations__app brz-ed-popup-integrations__app--pro"},n.default.createElement(a.default,{overlayClassName:"brz-ed-tooltip--delay-2",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:n.default.createElement(s.ProInfo,{text:(0,u.t)("Upgrade to PRO to use this integration"),url:i}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},n.default.createElement("div",{className:o},n.default.createElement("img",{className:"brz-img",src:e,alt:t}),n.default.createElement("span",{ref:this.iconRef,className:"brz-span brz-ed-popup-integrations__app-icon brz-ed-popup-integrations__app-icon--pro"},n.default.createElement(l.default,{icon:"nc-lock"})),n.default.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro")),n.default.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t)))}renderFree(){const{img:e,title:t,loading:o,active:i,onClick:a}=this.props,s=(0,r.default)("brz-ed-popup-integrations__app",i&&"brz-ed-popup-integrations__app--connected",o&&"brz-ed-popup-integrations__app--loading");return n.default.createElement("div",{className:s,onClick:a},n.default.createElement("div",{className:"brz-ed-popup-integrations__app-logo"},n.default.createElement("img",{className:"brz-img",src:e,alt:t}),i&&!o&&n.default.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},n.default.createElement(l.default,{icon:"nc-check-small"})),o&&n.default.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},n.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))),n.default.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t))}render(){return!(0,d.isPro)(c.default.getAll())&&this.props.pro?this.renderPro():this.renderFree()}}},68723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=p(o(10301)),i=p(o(22546)),a=p(o(78882)),l=p(o(24422)),s=o(64215),c=p(o(33364)),d=o(64985),u=o(81300);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}const m=i.default.get("urls");class y extends r.Component{static contextType=s.Context;static defaultProps={apps:[],proExceptions:!1,error:null};state={loadingApp:"",onConnectApp:n.default.noop};componentDidUpdate(e){this.props.error!==e.error&&this.state.loadingApp&&this.setState({loadingApp:""})}handleChangeApp(e){const{onConnectApp:t}=this.context;t(e),this.setState({loadingApp:e.id})}renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderProException(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-pro brz-mb-lg-0"},r.default.createElement("span",{className:"brz-span"},(0,d.t)("Some integrations are available only in PRO")),r.default.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",rel:"noopener noreferrer",href:m.upgradeToPro,target:"_blank"},r.default.createElement(c.default,{icon:"nc-lock"}),(0,d.t)("Get a PRO plan")))}render(){const{apps:e,proExceptions:t,error:o}=this.props,{connectedApps:n}=this.context,{loadingApp:i}=this.state;return r.default.createElement(u.Scrollbar,{theme:"light"},o&&this.renderError(),t&&this.renderProException(),r.default.createElement(a.default,{apps:e,render:e=>r.default.createElement(l.default,{...e,key:e.id,loading:i===e.id,active:n.includes(e.id),onClick:()=>{this.handleChangeApp(e)}})}))}}const g=y},9142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(10301)),i=o(64985),a=o(4883),l=s(o(3518));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={img:"",title:"",descriptions:"",data:[{title:"",name:"",value:""}],nextLoading:null,prevLoading:null,error:null,onNext:n.default.noop,onPrev:n.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}handleKeyDown=e=>{13===e.which&&this.props.onNext()};renderInputs(){const{data:e,onChange:t}=this.props;return e.map(((e,o)=>{const{title:n,name:i,value:a}=e;return r.default.createElement(l.default,{key:o,title:n,name:i,required:!0,value:a,onChange:e=>{let{target:o}=e;t(o.value,i)},onKeyDonw:this.handleKeyDown})}))}render(){const{img:e,title:t,descriptions:o,error:n,nextLoading:l,prevLoading:s,onNext:c,onPrev:d,docsUrl:u}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations__connect"},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},r.default.createElement("img",{className:"brz-img",src:e,title:t,alt:t}),r.default.createElement("p",{className:"brz-p"},o),r.default.createElement("p",{className:"brz-p brz-ed-popup-integrations__connect-info"},r.default.createElement("a",{className:"brz-a",href:u,target:"_blank",rel:"noreferrer"},(0,i.t)("Need help"),"?"))),r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},n&&this.renderError(),this.renderInputs(),null!==l&&r.default.createElement(a.Button,{color:"teal",loading:l,onClick:c},(0,i.t)("Connect")),null!==s&&r.default.createElement(a.Button,{color:"default",loading:s,onClick:d},(0,i.t)("Cancel"))))}}const u=d},26792:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(10301))&&i.__esModule?i:{default:i};var i;const a=o(64985),l=o(4883);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}class c extends r.Component{static defaultProps={title:"",descriptions:"",nextLoading:null,prevLoading:null,error:null,onNext:n.default.noop,onPrev:n.default.noop};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}render(){const{title:e,img:t,descriptions:o,error:n,nextLoading:i,prevLoading:s,onNext:c,onPrev:d}=this.props,u=null!==i&&null!==s;return r.default.createElement("div",{className:"brz-ed-popup-integrations__connect"},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},r.default.createElement("img",{className:"brz-img",src:t,alt:e}),r.default.createElement("p",{className:"brz-p"},o)),r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},n&&this.renderError(),u&&r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==i&&r.default.createElement(l.Button,{color:"red",loading:i,onClick:c},(0,a.t)("Disconnect")),null!==s&&r.default.createElement(l.Button,{color:"default",loading:s,onClick:d},(0,a.t)("Cancel")))))}}const d=c},90291:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(10301)),i=s(o(33364)),a=o(64985),l=o(4883);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={title:"",onNext:n.default.noop};render(){const{title:e,onNext:t}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__done"},r.default.createElement("div",{className:"brz-ed-popup-integrations-step__done-icon"},r.default.createElement(i.default,{icon:"nc-check-light"})),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__done-content"},r.default.createElement("p",{className:"brz-p"},(0,a.t)("You have successfully connect the form with")," ",e)),r.default.createElement(l.Button,{color:"teal",onClick:t},(0,a.t)("Done")))}}const u=d},92767:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Fields",{enumerable:!0,get:function(){return v}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=h(o(27998)),a=h(o(10301)),l=o(40010),s=h(o(12317)),c=h(o(97023)),d=h(o(65961)),u=o(1014),p=h(o(1424)),f=h(o(33364)),m=o(64985),y=o(4883),g=o(51282);function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}class v extends n.Component{static defaultProps={formId:"",formFields:[],id:"",headTitle:"",headDescription:"",description:"",data:[],nextLoading:null,prevLoading:null,onPrev:a.default.noop,onNext:a.default.noop,onActive:a.default.noop};renderHead(){const{headTitle:e,headDescription:t}=this.props;if(e&&t)return n.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},e&&n.default.createElement("p",{className:"brz-p"},n.default.createElement("strong",{className:"brz-strong"},e)),t&&n.default.createElement("p",{className:"brz-p"},n.default.createElement("strong",{className:"brz-strong"},t)))}renderSelect=e=>{let{name:t,value:o,choices:r}=e;const i=r.map(((e,t)=>{let{title:o,name:r}=e;return n.default.createElement(d.default,{key:`${r}-${t}`,value:r},o)}));return n.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},n.default.createElement(c.default,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:o,onChange:e=>{this.props.onActive(t,e)}},i))};renderInput=e=>{let{name:t,value:o}=e;return n.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},n.default.createElement("input",{className:"brz-input",required:!0,type:"password"===t?"password":"text",value:o??"",onChange:e=>{this.props.onActive(t,e.target.value)}}))};renderSwitch=e=>{let{name:t,value:o}=e;return n.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},n.default.createElement(u.Switch,{className:"brz-ed-control__switch--light",value:o??!1,onChange:e=>{this.props.onActive(t,e)}}))};renderSearch=e=>{let{name:t,multiple:o,value:r,choices:i}=e;const a=Boolean(r)&&o?r?.split(","):r;return n.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},n.default.createElement(s.default,{className:"brz-control__select2--light",isMultiple:o,value:a,options:i,onChange:e=>{this.props.onActive(t,o&&Array.isArray(e)?e.join(","):Array.isArray(e)||"object"!=typeof e?"":e.value)}}))};renderOption=(0,r.match)([g.isInput,this.renderInput],[g.isSelect,this.renderSelect],[g.isSearch,this.renderSearch],[g.isSwitch,this.renderSwitch]);getHelper(e){switch(typeof e){case"string":return n.default.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:e}});case"function":return e(this.props.formFields);default:return e}}renderOptions(){const e=this.props.data.map(((e,t)=>{const{title:o,required:r,helper:i}=e;return n.default.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},n.default.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},n.default.createElement("p",{className:"brz-p"},o,r&&n.default.createElement("strong",{className:"brz-strong brz--required"},"*")),i&&n.default.createElement(p.default,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,closeDelay:600,overlay:this.getHelper(i)},n.default.createElement(f.default,{icon:"nc-alert-circle-que"}))),this.renderOption(e))}));return n.default.createElement(i.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},e)}render(){const{description:e,error:t,prevLoading:o,nextLoading:r,onPrev:i,onNext:a}=this.props;return n.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},this.renderHead(),n.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},t&&n.default.createElement(l.Alert,{message:t,type:"error"}),this.renderOptions(),e&&n.default.createElement("p",{className:"brz-p brz-ed-popup-integrations__description"},e),n.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==o&&n.default.createElement(y.Button,{size:3,leftIcon:"nc-arrow-left",loading:o,onClick:i},(0,m.t)("Back")),null!==r&&n.default.createElement(y.Button,{color:"teal",rightIcon:"nc-arrow-right",loading:r,onClick:a},(0,m.t)("Continue")))))}}},51282:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isInput:function(){return o},isSelect:function(){return r},isSwitch:function(){return n},isSearch:function(){return i}});const o=e=>void 0===e.type||"input"===e.type,r=e=>"select"===e.type,n=e=>"switch"===e.type,i=e=>"search"===e.type},35205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=f(o(10301)),i=f(o(27998)),a=f(o(80425)),l=f(o(33548)),s=f(o(97023)),c=f(o(65961)),d=f(o(33364)),u=o(64985),p=o(4883);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends r.Component{static defaultProps={id:"",title:"",shortTitle:"",description:"",img:"",active:"",listPro:!1,lists:[],listsCreate:[],apiKeyValue:{},hasConfirmation:!1,createLoading:!1,confirmationNeeded:!1,nextLoading:null,prevLoading:null,error:null,onActive:n.default.noop,onConfirm:n.default.noop,onCreateList:n.default.noop,onPrev:n.default.noop,onNext:n.default.noop};handleConfirmation=e=>{this.props.onConfirm("true"===e)};renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderList(){const{active:e,lists:t,onActive:o}=this.props,n=t.map((e=>{let{name:t,id:o}=e;return r.default.createElement(l.default,{value:o,key:o},t||`List ${o}`)}));return r.default.createElement(i.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},r.default.createElement(a.default,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:o},n))}renderConfirmation(){const{confirmationNeeded:e}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations__confirmation"},r.default.createElement("p",{className:"brz-p"},(0,u.t)("Email confirmation to join the list")),r.default.createElement(s.default,{defaultValue:e?"true":"false",className:"brz-control__select--white",maxItems:"6",itemHeight:"30",onChange:this.handleConfirmation},r.default.createElement(c.default,{value:"false"},(0,u.t)("Not Required")),r.default.createElement(c.default,{value:"true"},(0,u.t)("Required"))))}renderCreateList(){const{createLoading:e,onCreateList:t}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:t},r.default.createElement(d.default,{icon:e?"nc-circle-02":"nc-add",className:e?"brz-ed-animated--spin":""}),(0,u.t)("Create a new list"))}renderProList(){return r.default.createElement(a.default,{className:"brz-ed-popup-integrations-option__radio",name:"proList",defaultValue:"none"},r.default.createElement(l.default,{value:"none"},(0,u.t)("None")))}render(){const{listPro:e,lists:t,listsCreate:o,hasConfirmation:n,error:i,nextLoading:a,prevLoading:l,onPrev:s,onNext:c}=this.props,d=t.length>0,f=o&&o.length>0;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists"},r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,u.t)("SELECT LIST")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},i&&this.renderError(),d&&this.renderList(),e&&this.renderProList(),f&&this.renderCreateList(),n&&this.renderConfirmation(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==l&&r.default.createElement(p.Button,{size:3,leftIcon:"nc-arrow-left",loading:l,onClick:s},(0,u.t)("Back")),null!==a&&r.default.createElement(p.Button,{size:d||e?1:3,color:d||e?"teal":"gray",rightIcon:"nc-arrow-right",loading:a,onClick:d||e?c:null},(0,u.t)("Continue")))))}}const g=y},92443:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=u(o(10301)),i=u(o(27998)),a=u(o(97023)),l=u(o(65961)),s=o(4883),c=o(80029),d=o(64985);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends r.Component{static defaultProps={id:"",title:"",shortTitle:"",description:"",img:"",fields:[],formFields:[],restrictions:{},error:null,nextLoading:null,prevLoading:null,onActive:n.default.noop,onPrev:n.default.noop,onNext:n.default.noop};renderSelect(e,t){const{formFields:o,fields:i,restrictions:s,onActive:d}=this.props,u=n.default.pluck(o,"target");let p=i.filter((e=>-1===u.indexOf(e.slug)||e.slug===t));const f=i.length+(o.length-n.default.without(u,"_auto_generate").length);(!(0,c.isMaxFields)(f,s)||t&&"_auto_generate"===t)&&p.unshift({name:"Auto Generate",required:!1,slug:"_auto_generate"});const m=p.map((e=>{let{required:t,name:o,slug:n}=e;return r.default.createElement(l.default,{key:n,value:n},r.default.createElement("span",{className:"brz-span"},o),t&&r.default.createElement("strong",{className:"brz-strong brz--required"},"*"))}));return r.default.createElement(a.default,{defaultValue:t,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:t=>{d(e,t)}},m)}renderOptions(){const e=this.props.formFields.map((e=>{let{sourceTitle:t,target:o,sourceId:n}=e;return r.default.createElement("div",{key:n,className:"brz-ed-popup-integrations-step__fields-option"},r.default.createElement("p",{className:"brz-p"},t),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},this.renderSelect(n,o)))}));return r.default.createElement(i.default,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},e)}renderError(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},this.props.error))}renderErrorEmpty(){return r.default.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},r.default.createElement("span",{className:"brz-span"},(0,d.t)("Fields are empty. Please add fields and try again.")))}render(){const{title:e,error:t,formFields:o,prevLoading:n,nextLoading:i,onPrev:a,onNext:l}=this.props;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},r.default.createElement("div",{className:"brz-ed-popup-integrations-step__head"},r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},(0,d.t)("FORM FIELDS"))),r.default.createElement("p",{className:"brz-p"},r.default.createElement("strong",{className:"brz-strong"},e," ",(0,d.t)("FIELDS")))),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__body"},t&&this.renderError(),o.length?this.renderOptions():this.renderErrorEmpty(),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==n&&r.default.createElement(s.Button,{size:3,leftIcon:"nc-arrow-left",loading:n,onClick:a},(0,d.t)("Back")),null!==i&&r.default.createElement(s.Button,{color:"teal",rightIcon:"nc-arrow-right",loading:i,onClick:l},(0,d.t)("Continue")))))}}const m=f},2521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Account:function(){return r.default},Connect:function(){return n.default},Disconnect:function(){return i.default},Fields:function(){return a.Fields},SelectFields:function(){return l.default},RadioFields:function(){return s.default},Done:function(){return c.default}});const r=d(o(1589)),n=d(o(9142)),i=d(o(26792)),a=o(92767),l=d(o(92443)),s=d(o(35205)),c=d(o(90291));function d(e){return e&&e.__esModule?e:{default:e}}},76290:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=o(10301),a=d(o(33364)),l=d(o(40687)),s=d(o(22546)),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends n.Component{constructor(e){super(e);const{currentTab:t,tabs:o}=this.props;this.state={loading:!0,currentTab:t,tabs:o}}static defaultProps={value:{},opened:!1,tabs:[],currentTab:"",blockTabsWhenLoading:!0,onClose:i.noop};handleLoading=e=>{this.setState({loading:e})};handleTabChange(e){this.state.loading&&this.props.blockTabsWhenLoading||this.setState({currentTab:e})}handleTabUpdate(e,t){const{tabs:o}=this.state,r=o.map((o=>o.id===e?{...o,...t}:o));this.setState({tabs:r})}renderHeader(){const{currentTab:e,tabs:t}=this.state,{onClose:o}=this.props,i=t.map((t=>{const{id:o,icon:i,img:l,title:s}=t,c=(0,r.default)("brz-ed-popup-tab-item",{active:o===e});return n.default.createElement("div",{key:o,className:c,onClick:()=>this.handleTabChange(o)},i&&n.default.createElement("div",{className:"brz-ed-popup-tab-icon"},n.default.createElement(a.default,{icon:i})),l?n.default.createElement("div",{className:"brz-ed-popup-tab-image"},n.default.createElement("img",{className:"brz-img",src:l,alt:s})):n.default.createElement("div",{className:"brz-ed-popup-tab-name"},s))})),l=s.default.getAll(),d=l?.ui?.help?.showIcon;return n.default.createElement("div",{className:"brz-ed-popup-header"},n.default.createElement("div",{className:"brz-ed-popup-header__tabs"},i),n.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:o}),d&&n.default.createElement("div",{className:"brz-ed-popup-btn-help"},n.default.createElement("span",{title:(0,c.t)("Help")},n.default.createElement(a.default,{className:"icon_helper",icon:"nc-help"}))))}renderCurrentTab(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.reduce(((e,r)=>{let{id:i,component:a}=r;return i===o?[n.default.createElement(a,{...this.props,key:i,loading:t,onLoading:this.handleLoading,onTabUpdate:e=>{this.handleTabUpdate(i,e)}})]:e}),[])}renderTabs(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.map((e=>{let{id:i,component:a}=e;const l=(0,r.default)(`brz-ed-popup-integration-${i}`,{"brz-hidden":i!==o});return n.default.createElement(a,{...this.props,key:i,loading:t,className:l,onTabUpdate:e=>{this.handleTabUpdate(i,e)}})}))}render(){const{opened:e,onClose:t}=this.props;return n.default.createElement(l.default,{className:"brz-ed-popup-integrations",opened:e,onClose:t},n.default.createElement("div",{className:"brz-ed-popup-wrapper"},this.renderHeader(),n.default.createElement("div",{className:"brz-ed-popup-content"},this.state.loading?this.renderCurrentTab():this.renderTabs())))}}const f=p},92982:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getAccounts:function(){return l},addAccount:function(){return s},deleteAccount:function(){return c}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(80029),l=e=>{const{api:t}=r.default.get("wp"),o=r.default.get("editorVersion"),n=(0,a.makeUrl)(t.url,{action:t.getAccounts,hash:t.hash,version:o,...e||{}});return(0,i.request)(n,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then((e=>(0,a.parseJSON)(e)))},s=e=>{const{api:t}=r.default.get("wp"),o=r.default.get("editorVersion"),n=(0,a.makeUrl)(t.url,{action:t.addAccount,hash:t.hash,version:o});return(0,i.request)(n,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(a.parseJSON).then((e=>e))},c=e=>{const{api:t}=r.default.get("wp"),o=r.default.get("editorVersion"),n=(0,a.makeUrl)(t.url,{action:t.deleteAccount,hash:t.hash,version:o,id:e});return(0,i.request)(n,{method:"DELETE",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(a.parseJSON).then((e=>e))}},93911:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Header",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(64716),a=e=>{let{tabs:t,onClose:o}=e;return r.default.createElement("div",{className:"brz-ed-popup-header"},t.map((e=>r.default.createElement(i.Tab,{key:e.id,...e,onClose:o}))))}},7741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Loading",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(60042)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}const l=e=>{let{className:t}=e;return r.default.createElement("div",{className:(0,n.default)("brz-ed-popup-content--loading",t)},r.default.createElement(i.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}},8941:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PromptFrame",{enumerable:!0,get:function(){return b}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(34143),i=o(11717),a=o(10301),l=o(44010),s=(c=o(33364))&&c.__esModule?c:{default:c};var c;const d=o(4895),u=o(4883),p=o(64187),f=o(64985);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}var y,g;!function(e){e.closed="closed",e.ready="ready",e.canceling="canceling",e.saving="saving"}(y||(y={})),function(e){e.close="close",e.open="open",e.cancel="cancel",e.save="save",e.saveSuccess="saveSuccess",e.saveErr="saveErr",e.cancelSuccess="cancelSuccess",e.cancelErr="cancelErr"}(g||(g={}));const h=[{id:"",icon:"nc-extensions-2",title:(0,f.t)("Connect")}],b=e=>{let{img:t,label:o,children:c,onSave:m,onCancel:b,description:v}=e;const[S,w]=(0,r.useReducer)(((e,t)=>{switch(t){case g.close:return e!==y.closed?y.closed:e;case g.open:return e===y.closed?y.ready:e;case g.cancel:return e===y.ready?y.canceling:e;case g.cancelSuccess:case g.cancelErr:return e===y.canceling?y.closed:e;case g.save:return e===y.ready?y.saving:e;case g.saveSuccess:return e===y.saving?y.closed:e;case g.saveErr:return e===y.saving?y.ready:e}}),y.closed),x=(0,r.useMemo)((()=>S===y.saving),[S]),P=(0,r.useMemo)((()=>S===y.canceling),[S]),C=(0,r.useMemo)((()=>S===y.closed),[S]);return(0,r.useEffect)((()=>{if(x){const e=(0,n.of)(1).pipe((0,i.switchMap)((()=>(0,n.forkJoin)([m(),(0,p.pendingRequest)()]))),(0,i.mapTo)(g.saveSuccess),(0,i.catchError)((()=>(0,n.of)(g.saveErr)))).subscribe(w);return()=>e.unsubscribe()}}),[m,x]),(0,r.useEffect)((()=>{if(P){const e=(0,n.of)(1).pipe((0,i.switchMap)((()=>(0,n.forkJoin)([b(),(0,p.pendingRequest)()]))),(0,i.mapTo)(g.cancelSuccess),(0,i.catchError)((()=>(0,n.of)(g.cancelErr)))).subscribe(w);return()=>e.unsubscribe()}}),[b,P]),r.default.createElement(r.default.Fragment,null,o,r.default.createElement(l.Button,{onClick:()=>w(g.open),align:"right",className:"brz-ed-control__prompt-form__button"},r.default.createElement(s.default,{icon:"nc-extensions-2"})),C?null:r.default.createElement(d.Tabs,{tabs:h,onChange:a.noop,value:"",onClose:()=>w(g.close)},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect"},r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},r.default.createElement("img",{className:"brz-img",src:t,alt:t}),r.default.createElement("p",{className:"brz-p brz-ed-popup-integrations__connect-info"},v)),r.default.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},c,r.default.createElement(u.Button,{color:"teal",loading:x,onClick:()=>w(g.save)},(0,f.t)("Connect")),r.default.createElement(u.Button,{color:"default",loading:P,onClick:()=>w(g.cancel)},(0,f.t)("Cancel"))))))}},90429:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Field",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{children:t,label:o,required:n}=e;return r.default.createElement("div",{className:"brz-ed-popup-integrations-step__fields-option brz-d-xs-flex brz-align-items-xs-center brz-justify-content-xs-between"},r.default.createElement("p",{className:"brz-p"},o,n?r.default.createElement("strong",{className:"brz-strong brz--required"},"*"):null),r.default.createElement("div",{className:"brz-ed-popup-integrations-step__field"},t))}},74766:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Input",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(64985),i=o(90429);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=e=>{let{value:t,onChange:o,placeholder:a}=e;const l=(0,r.useCallback)((e=>o(e.target.value)),[o]);return r.default.createElement(i.Field,{label:(0,n.t)("Page Title"),required:!0},r.default.createElement("input",{className:"brz-input",required:!0,type:"text",value:t,onChange:l,placeholder:a}))}},69583:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SettingsTab",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(89660),i=o(64985),a=c(o(97023)),l=c(o(65961)),s=o(90429);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=e=>{let{headTitle:t,inlineFooter:o,footer:c,value:d,error:u,onChange:p,layouts:f}=e;const m=(0,r.useMemo)((()=>f.map((e=>{let{id:t,title:o}=e;return r.default.createElement(l.default,{key:t,value:t},o)}))),[f]);return r.default.createElement(n.Content,{head:t,inlineFooter:o,footer:c,error:u},r.default.createElement(s.Field,{label:(0,i.t)("Page Layout"),required:!0},r.default.createElement(a.default,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:d,onChange:p},m)))}},64716:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Tab",{enumerable:!0,get:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=a(o(60042)),i=a(o(33364));function a(e){return e&&e.__esModule?e:{default:e}}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{id:t,active:o,icon:a,title:l,onClick:s,onClose:c}=e;const d=(0,r.useCallback)((()=>s?.(t)),[s,t]);return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{onClick:d,className:(0,n.default)("brz-ed-popup-tab-item",{active:o})},r.default.createElement("div",{className:"brz-ed-popup-tab-icon"},r.default.createElement(i.default,{icon:a})),r.default.createElement("div",{className:"brz-ed-popup-tab-name"},l)),r.default.createElement("div",{className:"brz-ed-popup-btn-close",onClick:c}))}},95605:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Tabs:function(){return n},tabs:function(){return i}});const r=o(64985);var n;!function(e){e.page="page-tab",e.settings="settings-tab"}(n||(n={}));const i=[{id:n.page,icon:"nc-eye-17",title:(0,r.t)("Page")},{id:n.settings,icon:"nc-settings",title:(0,r.t)("Settings")}]},16719:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(27998))&&i.__esModule?i:{default:i};var i;const a=o(7597);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>{let{onScroll:t,forwardedRef:o,style:i,children:a}=e;const l=(0,r.useCallback)((e=>{o(e?e.view:null)}),[o]);return r.default.createElement(n.default,{ref:l,style:{...i,overflow:"hidden"},onScroll:t},a)},c=(0,r.forwardRef)(((e,t)=>r.default.createElement(s,{...e,forwardedRef:t})));c.displayName="CustomScrollbarsVirtualList";const d=e=>{const t=(0,r.forwardRef)(((t,o)=>{let{style:n,...i}=t;return r.default.createElement("div",{ref:o,style:{...n,paddingLeft:e,paddingTop:e,marginBottom:e},...i})}));return t.displayName="InnerElement",t},u=e=>{const{height:t,width:o,columnCount:n,columnWidth:i,rowCount:l,rowHeight:s,initialScrollTop:u,renderItem:p,style:f={},gutter:m=0}=e;return r.default.createElement(a.FixedSizeGrid,{height:t,width:o,columnCount:n,columnWidth:i+m,rowCount:l,rowHeight:s+m,style:f,initialScrollTop:u,outerElementType:c,innerElementType:d(m)},p)}},13750:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return a},Stage:function(){return l}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{const{stage:t,children:o}=e;return r.default.createElement("div",{className:"brz-ed-popup-integrations__progress"},r.default.Children.map(o,(e=>e&&r.default.cloneElement(e,{stage:t}))))},l=e=>{let{stage:t,num:o,text:i,img:a}=e;const l=(0,n.default)("brz-ed-popup-integrations__progress-stage",{"brz-ed-popup-integrations__progress-stage--active":o===t});return r.default.createElement("div",{className:l},r.default.createElement("span",{className:"brz-span"},a&&r.default.createElement("img",{className:"brz-img",src:a,alt:"Logo"}),i))}},43936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return i},Step:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}class i extends r.Component{static defaultProps={stage:"",apps:[]};render(){const{stage:e,apps:t,children:o,onClose:n}=this.props;return r.default.Children.map(o,(o=>e===o.props.num&&r.default.cloneElement(o,{apps:t,onClose:n})))}}const a=e=>{let{render:t,...o}=e;return t(o)}},19119:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(43936)),i=l(o(13750));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}function l(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class s extends r.Component{static defaultProps={stage:"",apps:[]};static Steps=n.default;static Step=n.Step;static Progress=i.default;static Stage=i.Stage;render(){const{stage:e,apps:t,children:o}=this.props;return r.default.Children.map(o,(o=>o&&r.default.cloneElement(o,{stage:e,apps:t})))}}const c=s},77936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createReducer",{enumerable:!0,get:function(){return d}});const r=o(64985),n=o(93702),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(8965)),a=o(47885);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=e=>Object.values(n.ActionTypes).includes(e.type),c=e=>!s(e),d=(e,t)=>(o,l)=>(0,a.match)([s,e=>{switch(e.type){case n.ActionTypes.FetchError:return"Loading"===o.type?i.err({...o.payload,message:(0,r.t)("Something went wrong")}):o;case n.ActionTypes.FetchSuccess:return"Loading"===o.type?i.ready({...e.payload,activeTab:o.payload.activeTab}):o;case n.ActionTypes.Save:if("Ready"!==o.type)return o;{const e=t(o.payload);switch(e.type){case"left":return i.ready(e.value);case"right":return i.saving(e.value)}}case n.ActionTypes.SaveError:return"Saving"===o.type?i.ready({...o.payload,error:(0,r.t)("Something went wrong")}):o;case n.ActionTypes.SaveSuccess:return"Saving"===o.type?i.ready(o.payload):o;case n.ActionTypes.SwitchTab:return"Ready"===o.type?i.ready({...o.payload,activeTab:e.payload}):"Saving"===o.type?i.saving({...o.payload,activeTab:e.payload}):o;case n.ActionTypes.Cancel:switch(o.type){case"Loading":case"Err":case"Canceling":return o;case"Ready":case"Saving":return i.canceling(o.payload)}case n.ActionTypes.Canceled:return"Canceling"===o.type?i.canceled(o.payload):o}}],[c,t=>{switch(o.type){case"Loading":case"Err":case"Saving":case"Canceling":case"Canceled":return o;case"Ready":return i.ready(e(o.payload,t))}}])(l)},93702:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ActionTypes:function(){return o},fetchError:function(){return r},fetchSuccess:function(){return n},save:function(){return i},saveError:function(){return a},saveSuccess:function(){return l},switchTab:function(){return s},cancel:function(){return c},canceled:function(){return d}}),function(e){e.FetchError="FetchError",e.FetchSuccess="FetchSuccess",e.Save="Save",e.SaveError="SaveError",e.SaveSuccess="SaveSuccess",e.Cancel="Cancel",e.Canceled="Canceled",e.SwitchTab="SwitchTab"}(o||(o={}));const r=()=>({type:o.FetchError}),n=e=>({type:o.FetchSuccess,payload:e}),i=()=>({type:o.Save}),a=()=>({type:o.SaveError}),l=()=>({type:o.SaveSuccess}),s=e=>({payload:e,type:o.SwitchTab}),c=()=>({type:o.Cancel}),d=()=>({type:o.Canceled})},83612:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{left:function(){return o},right:function(){return r}});const o=e=>({type:"left",value:e}),r=e=>({type:"right",value:e})},8965:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{loading:function(){return o},err:function(){return r},ready:function(){return n},saving:function(){return i},canceling:function(){return a},canceled:function(){return l}});const o=e=>({payload:e,type:"Loading"}),r=e=>({type:"Err",payload:e}),n=e=>({payload:e,type:"Ready"}),i=e=>({payload:e,type:"Saving"}),a=e=>({payload:e,type:"Canceling"}),l=e=>({payload:e,type:"Canceled"})},74900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useStateReducer",{enumerable:!0,get:function(){return d}});const r=o(27378),n=o(34143),i=o(11717),a=o(95605),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(93702)),s=o(8965);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}const d=(e,t,o,c)=>{const[d,u]=(0,r.useReducer)(e,(0,s.loading)({activeTab:a.Tabs.page})),{type:p,payload:f}=d,m=(0,r.useMemo)((()=>"Loading"===p),[p]),y=(0,r.useMemo)((()=>"Saving"===p),[p]),g=(0,r.useMemo)((()=>"Canceling"===p),[p]),h=(0,r.useMemo)((()=>"Canceled"===p),[p]);return(0,r.useEffect)((()=>{const e=(0,n.from)(t()).pipe((0,i.map)((e=>l.fetchSuccess({...e,activeTab:a.Tabs.page}))),(0,i.catchError)((()=>(0,n.of)(l.fetchError())))).subscribe(u);return()=>e?.unsubscribe()}),[m,t]),(0,r.useEffect)((()=>{let e;return y&&(e=(0,n.from)(o(f)).pipe((0,i.mapTo)(l.saveSuccess()),(0,i.catchError)((()=>(0,n.of)(l.saveError())))).subscribe(u)),()=>e?.unsubscribe()}),[o,f,y]),(0,r.useEffect)((()=>{let e;return g&&(e=(0,n.of)(1).pipe((0,i.delay)(650),(0,i.mapTo)(l.canceled())).subscribe(u)),()=>e?.unsubscribe()}),[g]),(0,r.useEffect)((()=>{h&&c()}),[c,h]),[d,u]}},97634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"copyTextToClipboard",{enumerable:!0,get:function(){return o}});const o=e=>{const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(e){console.error("Fallback: Oops, unable to copy",e)}document.body.removeChild(t)}},81206:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getFields:function(){return i},isMaxFields:function(){return a},getEmptyField:function(){return l},substrString:function(){return s}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=(e,t,o,r)=>{let n=e&&JSON.parse(e)||[];const i=t&&t.length||0;let s=t.filter((e=>e.required)).length;!n.some((e=>{let{target:t}=e;return"email"===t}))&&o.some((e=>{let{type:t}=e;return t&&"email"===t.toLowerCase()}))&&(n=((e,t)=>{const o=t.find((e=>{let{type:t}=e;return t&&"email"===t.toLowerCase()}));return e.push({sourceId:o._id,sourceTitle:o.label,target:"email"}),e})(n,o),s--);let c=0,d=0;return o.map((e=>{let{_id:o,label:u}=e;const p=n.find((e=>{let{sourceId:t}=e;return t===o}));let f=null;return p&&p.target&&"_auto_generate"!==p.target?f=p.target:(a(i+d,r)||dt&&e>=t.maxFields,l=(e,t,o)=>{const n=r.default.pluck(e,"slug"),i=r.default.pluck(t,"target");return r.default.difference(n,i)[o]},s=e=>e.length>22?/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/.test(e)?`...${e.substr(-19,19)}`:`${e.substr(0,19)}...`:e},82916:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeUrl:function(){return o},parseJSON:function(){return r},fakeRequest:function(){return i}});const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=new URL(e);return Object.entries(t).forEach((e=>{let[t,r]=e;o.searchParams.append(t,r)})),o},r=e=>e.json().then((t=>({...t,status:e.status,ok:e.ok,data:t.data||null}))).then(n).catch((()=>{throw{status:500,data:"Server Error"}})),n=e=>{if(e.success)return e;{const{data:t}=e;return{...e,status:t.code||e.status}}},i=()=>new Promise((e=>{setTimeout((()=>{e(!0)}),650)}))},95464:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{checkRequiredFields:function(){return i},validateEmail:function(){return a}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"select";if("select"===o){const o=r.default.pluck(e.filter((e=>e.required)),"slug"),n=r.default.pluck(t,"target");return!r.default.difference(o,n).length}if("input"===o)return 0===t.filter((e=>""===e.target)).length},a=e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())},80029:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeUrl:function(){return r.makeUrl},parseJSON:function(){return r.parseJSON},getEmptyField:function(){return n.getEmptyField},getFields:function(){return n.getFields},isMaxFields:function(){return n.isMaxFields},substrString:function(){return n.substrString},checkRequiredFields:function(){return i.checkRequiredFields},validateEmail:function(){return i.validateEmail},copyTextToClipboard:function(){return a.copyTextToClipboard}});const r=o(82916),n=o(81206),i=o(95464),a=o(97634)},92823:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=b(o(13556)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=b(o(58135)),a=b(o(84320)),l=b(o(81941)),s=b(o(32230)),c=b(o(35617)),d=b(o(75063)),u=b(o(38380)),p=b(o(76025)),f=b(o(22151)),m=o(12736),y=o(60624),g=o(74330),h=o(78436);function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}const S={icon:p.default,apps:a.default,blocks:s.default,form:u.default,keyHelper:f.default,fonts:d.default,conditions:c.default,authorization:l.default,pageRules:y.PromptPageRules,pageTemplate:g.PromptPageTemplate,pageArticle:m.PromptPageArticle};class w extends n.Component{state={prompts:[]};static open(e){h.Prompt.open(e)}componentDidMount(){i.default.addChangeListener("prompt",this.onUIStateChange)}componentWillUnmount(){i.default.removeChangeListener("prompt",this.onUIStateChange)}onUIStateChange=e=>{this.open(e)};close(e){this.setState((0,r.default)((t=>{t.prompts[e].opened=!1})),(()=>{this.setState((0,r.default)((t=>{t.prompts.splice(e,1)})))}))}open(e){const{mode:t="single"}=e,{prompts:o}=this.state,n=o.findIndex((t=>{let{prompt:o}=t;return o==e.prompt}));-1===n?this.setState((0,r.default)((t=>{t.prompts.push(e)})),(()=>{this.setState((0,r.default)((e=>{const t=e.prompts.length;e.prompts[t-1].opened=!0})))})):"stack"===t?this.setState((0,r.default)((t=>{t.prompts[n]={...e,opened:!0}}))):this.setState((0,r.default)((t=>{t.prompts.forEach(((e,o)=>{t.prompts[o].opened=!1})),t.prompts[n]={...e,opened:!0}})))}getComponent(e,t){const o=S[e];return n.default.createElement(o,t)}render(){const{prompts:e}=this.state;return e.length?e.map(((e,t)=>{let{opened:o,prompt:r,props:n={}}=e;return this.getComponent(r,{...n,opened:o,key:t,onClose:()=>{this.close(t),n.onClose&&n.onClose()}})})):null}}const x=w},84786:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getChoices",{enumerable:!0,get:function(){return n}});const r=o(6085),n=e=>e.templates.map((e=>{let{id:t}=e;return{title:(0,r.capitalize)(t),id:t}}))},24490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Animation",{enumerable:!0,get:function(){return s}});const r=a(o(27378)),n=o(65631),i=a(o(60042));function a(e){return e&&e.__esModule?e:{default:e}}const l={left:{exited:{transform:"translate3d(-100%, 0, 0)"},entering:{transform:"translate3d(-100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}},right:{exited:{transform:"translate3d(100%, 0, 0)"},entering:{transform:"translate3d(100%, 0, 0)"},entered:{transform:"translate3d(0, 0, 0)"}}},s=e=>{let{className:t,alignment:o,play:a,children:s}=e;return r.default.createElement(n.Transition,{in:a,timeout:150},(e=>r.default.createElement("div",{className:(0,i.default)(t,{active:a}),style:{transition:"transform 150ms linear",...l[o][e]}},s)))}},52119:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RightSidebarItems",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(91759);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a=e=>{let{getItems:t,getTitle:o}=e;return(0,r.useEffect)((()=>{t&&n.instance&&n.instance.setItems(t,o)})),(0,r.useEffect)((()=>()=>{n.instance&&n.instance.clearItems()}),[]),null}},91759:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{instance:function(){return m},RightSidebarInner:function(){return g},RightSidebar:function(){return h}});const r=f(o(60042)),n=f(o(27378)),i=o(23884),a=f(o(33364)),l=f(o(62893)),s=o(74215),c=o(97045),d=o(64985),u=o(81300),p=o(24490);function f(e){return e&&e.__esModule?e:{default:e}}let m;const y=(0,i.connect)((e=>{const{isOpen:t,lock:o,alignment:r,activeTab:n}=(0,c.uiSelector)(e).rightSidebar;return{isOpen:t,lock:o,alignment:r,activeTab:n,deviceMode:(0,c.deviceModeSelector)(e)}}));class g extends n.default.Component{static defaultProps={isOpen:!1,lock:void 0,alignment:"right",deviceMode:"desktop",dispatch:e=>e,activeTab:void 0};getItems;getTitle;clearItemsTimeoutId=0;unmounted=!1;componentDidMount(){m=this}componentDidUpdate(e){e.deviceMode!==this.props.deviceMode&&(this.getItems=void 0,this.getTitle=void 0)}componentWillUnmount(){this.unmounted=!0,m=void 0}onLockClick=()=>{const{isOpen:e,lock:t,alignment:o,activeTab:r}=this.props,n=void 0!==this.getItems?this.getItems():void 0,i={activeTab:r,alignment:o,lock:"manual"===t?void 0:"manual",isOpen:(void 0===t||void 0!==n&&0!==n.length)&&e};this.props.dispatch((0,s.updateUI)("rightSidebar",i))};setItems(e,t){window.clearTimeout(this.clearItemsTimeoutId),this.getItems=e,this.getTitle=t,this.props.isOpen&&this.forceUpdate()}clearItems(){const{lock:e,alignment:t,dispatch:o,activeTab:r}=this.props;if(e)this.clearItemsTimeoutId=window.setTimeout((()=>{this.getItems=void 0,this.getTitle=void 0,this.forceUpdate()}),150);else{this.getItems=void 0,this.getTitle=void 0;const n={isOpen:!1,lock:e,alignment:t,activeTab:r};o((0,s.updateUI)("rightSidebar",n))}}renderEmpty(e){return n.default.createElement("div",{className:"brz-ed-sidebar__right__empty"},n.default.createElement(a.default,{icon:"nc-settings",className:"brz-ed-sidebar__right__empty-icon"}),n.default.createElement("div",{className:"brz-ed-sidebar__right__empty-text"},e))}renderItems(e){return n.default.createElement("div",{className:"brz-ed-sidebar__main brz-ed-sidebar__right__options"},n.default.createElement(u.Scrollbar,{theme:"dark"},n.default.createElement(l.default,{className:"brz-ed-sidebar__right__tabs",optionClassName:"brz-ed-sidebar__right__option",data:e,location:"rightSidebar"})))}render(){const{isOpen:e,alignment:t}=this.props,o=(0,r.default)("brz-ed-sidebar","brz-ed-sidebar__right",{"brz-ed-sidebar__right--align-right":"right"===t,"brz-ed-sidebar__right--align-left":"left"===t}),i=void 0!==this.getItems?this.getItems():void 0,a=i&&i.length>0?this.renderItems(i):this.renderEmpty(0===i?.length?(0,d.t)("The element you have selected doesn't have more settings"):(0,d.t)("Select an element on the page to display more settings"));return n.default.createElement("div",{className:o},n.default.createElement(p.Animation,{className:"brz-ed-sidebar__content",alignment:t,play:e},a))}}const h=y(g)},89719:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Roles",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(96156);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}class a extends r.Component{static defaultProps={allow:[]};render(){const{allow:e,children:t,component:o,render:i,fallbackComponent:a,fallbackRender:l}=this.props;if(e.includes((0,n.currentUserRole)())){if(t)return t;if(o)return r.default.createElement(o,null);if(i)return i()}else{if(a)return r.default.createElement(a,null);if(l)return l()}return null}}},46338:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Roles:function(){return r.Roles},rolesHOC:function(){return n.rolesHOC},currentUserRole:function(){return i.currentUserRole}});const r=o(89719),n=o(57934),i=o(96156)},57934:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"rolesHOC",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(96156),a=e=>{let{component:t,fallbackComponent:o,allow:n=[],render:a,fallbackRender:l}=e;function s(e,s){if(n.includes((0,i.currentUserRole)())){if(t)return r.default.createElement(t,{...e,ref:s});if(a)return a(e)}else{if(o)return r.default.createElement(o,{...e,ref:s});if(l)return l(e)}return null}return s.displayName=`RolesHOC(${t.displayName||t.name})`,r.default.forwardRef(s)}},96156:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"currentUserRole",{enumerable:!0,get:function(){return i}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=()=>r.default.getAll().user.role},86710:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(10301)),i=l(o(60042)),a=l(o(33364));function l(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.Component{static defaultProps={className:"",icon:null,onClick:n.default.noop};render(){const{className:e,icon:t}=this.props,o=(0,i.default)(e,"floating-action-button");return r.default.createElement("div",{className:o,onClick:this.props.onClick},t?r.default.createElement(a.default,{icon:t}):null)}}const c=s},91435:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ScrollMotion",{enumerable:!0,get:function(){return c}});const r=o(94484),n=(i=o(60042))&&i.__esModule?i:{default:i};var i;const a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),l=o(34721);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}o(16874);const c=e=>{const{className:t,options:o,children:i}=e,s=(0,a.useRef)(null),c=(0,a.useRef)();return(0,a.useEffect)((()=>{const e=s.current,t=c.current;if(!t&&e&&o){const t=(0,l.applyFilter)("getLibs",{}).ImagesLoaded;t?t(e,(()=>{c.current=new r.Motions(e,o)})):c.current=new r.Motions(e,o)}return t&&o&&t.update(o),t&&!o&&(t.destroy(),c.current=void 0),()=>{c.current&&!o&&(c.current.destroy(),c.current=void 0)}}),[o]),(0,a.useEffect)((()=>()=>{c.current&&o&&(c.current.destroy(),c.current=void 0)}),[]),"function"==typeof i?i(s,undefined):void 0===o?i:a.default.createElement("div",{ref:s,className:(0,n.default)(t,void 0)},i)}},16874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeOptionToAttr:function(){return y},makeOptionValueToMotion:function(){return g}});const r=o(70634),n=o(54701),i=o(76753),a=o(46479),l=o(98610),s=o(66559),c=o(24119),d=o(6085),u=e=>{switch(e.type){case"blur":return{"data-motion-scroll-blur":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,viewport:e.viewport})};case"horizontal":return{"data-motion-scroll-horizontal":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,viewport:e.viewport})};case"rotate":return{"data-motion-scroll-rotate":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,xPosition:e.xPosition,yPosition:e.yPosition,viewport:e.viewport})};case"scale":return{"data-motion-scroll-scale":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,xPosition:e.xPosition,yPosition:e.yPosition,viewport:e.viewport})};case"transparency":return{"data-motion-scroll-transparency":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,viewport:e.viewport})};case"vertical":return{"data-motion-scroll-vertical":(0,d.encodeToString)({scrollStep:e.scrollStep,direction:e.direction,viewport:e.viewport})}}},p=e=>{switch(e.type){case"track":return{"data-motion-mouse-track":(0,d.encodeToString)({type:e.type,direction:e.direction,distance:e.distance})};case"3dfit":return{"data-motion-mouse-fit":(0,d.encodeToString)({type:e.type,direction:e.direction,distance:e.distance})}}},f=e=>({top:100*e.top,bottom:100*e.bottom}),m=e=>{const{vertical:t,horizontal:o,transparency:r,blur:n,rotate:i,scale:a,mouseTrack:l,mouseTilt:s}=e,c=[],d=[];let u;return t&&c.push({type:"vertical",direction:t.direction,scrollStep:10*t.speed,viewport:f(t.viewport)}),o&&c.push({type:"horizontal",direction:o.direction,scrollStep:10*o.speed,viewport:f(o.viewport)}),r&&c.push({type:"transparency",direction:r.direction,scrollStep:10*r.level,viewport:f(r.viewport)}),i&&c.push({type:"rotate",direction:i.direction,xPosition:i.x,yPosition:i.y,scrollStep:10*i.speed,viewport:f(i.viewport)}),a&&c.push({type:"scale",direction:a.direction,xPosition:a.x,yPosition:a.y,scrollStep:a.speed,viewport:f(a.viewport)}),n&&c.push({type:"blur",direction:n.direction,scrollStep:10*n.level,viewport:f(n.viewport)}),l&&d.push({type:"track",direction:l.direction,distance:10*l.speed}),s&&d.push({type:"3dfit",direction:s.direction,distance:10*s.speed}),c.length&&(u={scroll:c}),d.length&&(u={...u,mouse:d}),u},y=e=>{const{scroll:t,mouse:o,responsive:r}=e;let n={};if(Array.isArray(t)?t.forEach((e=>{const t=u(e);n={...n,...t}})):t&&(n=u(t)),Array.isArray(o))o.forEach((e=>{const t=p(e);n={...n,...t}}));else if(o){const e=p(o);n={...n,...e}}return r?.length&&(n["data-motion-responsive"]=(0,d.encodeToString)(r)),n},g=function(e){let t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"motion";if(a.IS_PRO){const a=t=>(0,l.defaultValueValue)({v:e,key:(0,i.createOptionId)(o,t),device:s.DESKTOP,state:c.NORMAL}),d=t=>(0,l.defaultValueValue)({v:e,key:(0,i.createOptionId)(o,t),device:s.TABLET,state:c.NORMAL}),u=t=>(0,l.defaultValueValue)({v:e,key:(0,i.createOptionId)(o,t),device:s.MOBILE,state:c.NORMAL}),p=(0,n.fromElementModel)(a),f=(0,n.fromElementModel)(d),y=(0,n.fromElementModel)(u);t=m(p);const g=m(f),h=m(y);if(t||g||h){const e=[],o={scroll:void 0,mouse:void 0};g?e.push({breakpoint:991,settings:g}):e.push({breakpoint:991,settings:o}),h?e.push({breakpoint:767,settings:h}):e.push({breakpoint:767,settings:o}),t=(0,r.setIn)(t,["responsive"],e)}}return t}},81300:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Scrollbar",{enumerable:!0,get:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(27998),i=o(16468);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=(0,r.forwardRef)(((e,t)=>{let{children:o,theme:a,autoHeightMax:l}=e;const s=(0,r.useCallback)((e=>r.default.createElement("div",{className:`brz-scrollColor__${a}`,...e,style:{...e.style,...i.getThumbStyles}})),[a]),c=(0,r.useCallback)((e=>r.default.createElement("div",{...e,style:{...e.style,...i.getViewStyles,...void 0!==l&&{maxHeight:l}},className:"brz-scrollbar__view"})),[l]);return r.default.createElement(n.Scrollbars,{ref:t,className:"brz-scrollbar__wrapper",style:i.wrapperStyles,renderThumbHorizontal:s,renderThumbVertical:s,renderView:c,autoHeight:!!l,autoHeightMax:l},o)}))},16468:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getViewStyles:function(){return o},getThumbStyles:function(){return r},wrapperStyles:function(){return n}});const o={marginRight:0,marginBottom:0},r={borderRadius:"inherit"},n={overflow:"visible"}},76742:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SortableElement",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{children:t,type:o,subtype:n,useHandle:i}=e;const a={"data-sortable-element":"true","data-sortable-type":o,"data-sortable-subtype":n,"data-sortable-use-handle":i?"true":void 0};return"function"==typeof t?t(a):r.default.cloneElement(t,a)}},20013:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(31542),i=f(o(10301)),a=o(46338),l=o(67439),s=o(97724),c=f(o(47075)),d=o(74215),u=o(92213),p=f(o(47294));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{const{from:t,to:o}=e,r=t.sortableNode.getAttribute("data-sortable-path")?.split("-")||[],n=t.sortableNode.getAttribute("data-sortable-type"),a=[...r,String(t.elementIndex)],l=o.sortableNode?.getAttribute("data-sortable-path")?.split("-")||[],s=o.sortableNode.getAttribute("data-sortable-type"),d=[...l,String(o.elementIndex)];i.default.isEqual(a,d)||c.default.emit("dnd.sort",{from:{containerPath:r,containerType:n,itemIndex:t.elementIndex,itemPath:a,itemType:t.elementType},to:{containerPath:l,containerType:s,itemIndex:o.elementIndex,itemPath:d}})},g=e=>{const{ui:{deviceMode:t}}=(0,u.getStore)().getState();"mobile"!==t&&"tablet"!==t||e.preventDefault()},h=()=>{document.body.classList.add("brz-ed-sorting"),requestAnimationFrame((()=>{(0,l.hideToolbar)()}))},b=()=>{document.body.classList.remove("brz-ed-sorting")};class v extends r.Component{static defaultProps={path:[],acceptElements:[],disabled:!1};plugin=void 0;componentDidMount(){const{acceptElements:e}=this.props,t=(0,n.findDOMNode)(this);t instanceof HTMLElement&&(this.plugin=new p.default(t,{acceptElements:e,cancelClass:"brz-ed-dd-cancel",onBeforeStart:g,onStart:h,onEnd:b,onSort:y}))}componentWillUnmount(){this.plugin?.destroy()}handleEmptyClick=()=>{(0,u.getStore)().dispatch((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:s.LeftSidebarOptionsIds.addElements}))};render(){const{type:e,path:t,disabled:o}=this.props;return r.default.createElement("div",{className:"brz-ed-sortable--empty","data-sortable-type":e,"data-sortable-path":t,"data-sortable-disabled":o},r.default.createElement("div",{className:"brz-ed-border__sortable brz-ed-border__inner brz-ed-border--no-space","data-border--grey":"true","data-border--dotted":"true"}),r.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small",onClick:this.handleEmptyClick}))}}const S=(0,a.rolesHOC)({allow:["admin"],component:v,fallbackRender:e=>{let{children:t}=e;return t??r.default.createElement("div",{className:"brz-ed-sortable--empty brz-blocked"},r.default.createElement("div",{className:"brz-ed-border__sortable brz-ed-border__inner brz-ed-border--no-space","data-border--grey":"true","data-border--dotted":"true"}),r.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small"}))}})},58566:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;class i extends r.default.Component{render(){const{children:e}=this.props;return r.default.cloneElement(r.default.Children.only(e),{"data-sortable-handle":!0})}}const a=i},26667:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SortableZIndex",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{const{zIndex:t=0,children:o}=e,n={"data-sortable-zindex":t};return"function"==typeof o?o(n):r.default.cloneElement(o,n)}},49127:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(23884),i=f(o(10301)),a=o(46338),l=o(67439),s=o(97724),c=f(o(47075)),d=o(74215),u=o(37203),p=f(o(47294));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{const{from:t,to:o}=e,r=t.sortableNode.getAttribute("data-sortable-path"),n=t.sortableNode.getAttribute("data-sortable-type"),a=o.sortableNode.getAttribute("data-sortable-path"),l=o.sortableNode.getAttribute("data-sortable-type"),s=r?.split("-")??[],d=n,u=[...s,String(t.elementIndex)],p=a?.split("-")??[],f=l,m=[...p,String(o.elementIndex)];i.default.isEqual(u,m)||c.default.emit("dnd.sort",{from:{containerPath:s,containerType:d,itemIndex:t.elementIndex,itemPath:u,itemType:t.elementType},to:{containerPath:p,containerType:f,itemIndex:o.elementIndex,itemPath:m}})},g=(0,a.rolesHOC)({allow:["admin"],component:e=>{const{acceptElements:t,isGrid:o,blindZone:i,dragOffset:a,showLines:c,children:f,type:m,path:g,disabled:h,onSort:b,onEnd:v,onStart:S}=e,{deviceMode:w}=(0,n.useSelector)(u.uiSelector),x=(0,n.useDispatch)(),P=(0,r.useRef)(null),C={"data-sortable-type":m,"data-sortable-path":g??"","data-sortable-disabled":h},T="function"==typeof b?b:y,_=(0,r.useCallback)((()=>{x((0,d.updateUI)("leftSidebar",{isOpen:!0,drawerContentType:s.LeftSidebarOptionsIds.addElements}))}),[x]);return(0,r.useEffect)((()=>{const e=P.current;let r;return e&&(r=new p.default(e,{acceptElements:t,isGrid:o,blindZone:i,dragOffset:a,showLines:c,cancelClass:"brz-ed-dd-cancel",onBeforeStart(e){"mobile"!==w&&"tablet"!==w||e.preventDefault()},onStart(){document.body.classList.add("brz-ed-sorting"),requestAnimationFrame((()=>{(0,l.hideToolbar)()})),S?.()},onEnd(){document.body.classList.remove("brz-ed-sorting"),v?.()},onSort:T})),()=>{r?.destroy()}}),[w,t,i,a,o,v,T,S,c]),f?"function"==typeof f?f(P,C):r.default.cloneElement(r.default.Children.only(f),{...C,ref:P}):r.default.createElement("div",{ref:P,...C,className:"brz-ed-sortable--empty"},r.default.createElement("div",{className:"brz-ed-border__sortable brz-ed-border__inner brz-ed-border--no-space","data-border--grey":"true","data-border--dotted":"true"}),r.default.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small",onClick:_}))},fallbackRender:e=>{let{children:t}=e;return"function"==typeof t?t():t}})},48581:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{connect:function(){return s},disconnect:function(){return c}});const r=o(22741);let n;const i=new Map,a=(e,t)=>{e.map((e=>(0,r.mApply)((o=>o(e,t)),i.get(e.target))))},l=()=>n??(n=new IntersectionObserver(a)),s=(e,t)=>{if(!i.has(e)){const o=l();i.set(e,t),o.observe(e)}return l()},c=e=>{i.delete(e),n&&(n.unobserve(e),0===i.size&&(n.disconnect(),n=void 0))}},37215:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestSortable",{enumerable:!0,get:function(){return n}});const r=o(33935),n=e=>(t,o)=>{const{x:n,y:i}=o,a=e.nearEdgeTest,l=t.reduce(((e,t)=>{if((0,r.isInsideRect)(n,i,t.rect)){if(0===e.length||t.zIndex>e[0].zIndex)return[t];if(t.zIndex===e[0].zIndex&&(e.lengthe[e.length-1].depth))return e.push(t),e.sort(((e,t)=>t.depth-e.depth)),e.length>a&&(e.length=a),e}return e}),[]);switch(l.length){case 0:return;case 1:return l[0];default:{const t=l[0],o=e.nearEdgeThreshold;for(let e=1;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=o(37215),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(48581)),i=o(33935);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=(0,r.findClosestSortable)({nearEdgeTest:3,nearEdgeThreshold:10}),s={acceptElements:[],isGrid:!1,showLines:!0,distance:5,blindZone:{left:-1/0,right:-1/0,top:-1/0,bottom:-1/0},dragOffset:{top:0,left:0},chosenClass:"sortable-chosen",receiverClass:"sortable-receiver",hoveredClass:"sortable-hovered",hoveredClassTop:"sortable-hovered-top",hoveredClassBottom:"sortable-hovered-bottom",hoveredClassLeft:"sortable-hovered-left",hoveredClassRight:"sortable-hovered-right",helperClass:"sortable-helper",placeholderClass:"sortable-placeholder",cancelClass:"sortable-cancel",onBeforeStart:void 0,onStart:void 0,onSort:void 0,onEnd:void 0},c={allSortables:[],sortableInViewPort:new WeakSet,sortableInfo:new WeakMap,dragInfo:{dragInProgress:!1}};class d{options;el;document;helper;helperRect;constructor(e,t){{const e={};for(const[o,r]of Object.entries(t))null!=r&&(e[o]=r);this.options={...s,...e}}this.el=e,this.document=this.el.ownerDocument||document;let o=0;(0,i.closest)(this.el,(e=>(e.hasAttribute("data-sortable-zindex")&&(o+=Number(e.getAttribute("data-sortable-zindex"))),!1))),c.sortableInfo.set(this.el,{zIndex:o,isGrid:this.options.isGrid,acceptElements:this.options.acceptElements??[]}),this.helper=this.document.createElement("div"),this.helper.className=this.options.helperClass,this.helper.style.position="fixed",this.helper.style.zIndex="1000000",this.helper.style.top="0",this.helper.style.left="0",this.helper.style.willChange="transform,pointer-events",this.helperRect=this.helper.getBoundingClientRect(),this.registerSortable(),this.attachContainerEvents(),this.attachObserver(e)}destroy(){this.detachContainerEvents(),this.detachPendingEvents(),this.detachSortEvents(),this.detachObserver(),this.unregisterSortable()}registerSortable(){c.allSortables.push(this.el)}unregisterSortable(){const e=c.allSortables.indexOf(this.el);-1!==e&&c.allSortables.splice(e,1)}handleContainerStart=e=>{if(c.dragInfo.dragInProgress)return;if(0!==e.button)return;if(!(this.document.defaultView&&e.target instanceof this.document.defaultView.Element))return;const{cancelClass:t,distance:o,onBeforeStart:r}=this.options;if((0,i.closest)(e.target,(e=>e.classList.contains(t))))return;const n=(0,i.closest)(e.target,(e=>e.hasAttribute("data-sortable-element")));if(n&&(!n.hasAttribute("data-sortable-use-handle")||void 0!==(0,i.closest)(e.target,(e=>e.hasAttribute("data-sortable-handle"))))){if(!o)throw Error("Not implemented yet. No distance");if(r){const e={defaultPrevented:!1,preventDefault(){this.defaultPrevented=!0}};if(r(e),e.defaultPrevented)return}c.dragInfo.dragInProgress=!0,c.dragInfo.source={sourceSortable:this.el,sourceElement:n,sourceElementIndex:(0,i.elementIndex)(n),sourceTouch:{clientX:e.clientX,clientY:e.clientY}},this.attachPendingEvents()}};handlePendingMove=e=>{if(void 0===c.dragInfo.source)return;const{sourceTouch:t}=c.dragInfo.source,{distance:o}=this.options;(0,i.pointDistance)(t.clientX,t.clientY,e.clientX,e.clientY)>o&&(window.getSelection()?.removeAllRanges(),this.detachPendingEvents(),this.attachUserSelectEvents(),this.handleSortStart(e))};handlePendingEnd=()=>{this.detachPendingEvents(),this.resetDragInfo()};handleSortStart=e=>{if(void 0===c.dragInfo.source)return;const{chosenClass:t,onStart:o}=this.options;this.addHelper(e),this.renderLines(),(0,i.addClass)(c.dragInfo.source.sourceElement,t),o?.(),this.attachSortEvents()};renderLines=()=>{const{receiverClass:e,showLines:t}=this.options;c.dragInfo.receiverSortables=this.findReceiverSortables(),t&&c.dragInfo.receiverSortables.filter((t=>!t.classList.contains(e))).forEach((t=>{(0,i.addClass)(t,e)}))};handleSortMove=e=>{this.updateHelperPosition(e),this.updateDragInfo(e)};handleSortEnd=()=>{const{onSort:e,onEnd:t}=this.options,{source:o,target:r}=c.dragInfo;if(this.detachSortEvents(),this.resetDragInfoClasses(),this.removeHelper(),this.resetDragInfo(),this.detachUserSelectEvents(),e&&o&&r){const{sourceSortable:t,sourceElement:n,sourceElementIndex:i}=o,{targetSortable:a,targetElementIndex:l}=r,s=n.getAttribute("data-sortable-type")??"";e({from:{sortableNode:t,elementNode:n,elementIndex:i,elementType:s},to:{sortableNode:a,elementIndex:l}})}t?.()};addHelper(e){this.document.body.appendChild(this.helper),this.helperRect=this.helper.getBoundingClientRect(),this.updateHelperPosition(e)}updateHelperPosition(e){const t=e.clientX-this.helperRect.width/2,o=e.clientY-this.helperRect.height/2;this.helper.style.transform=`translate(${t}px,${o}px)`}removeHelper(){this.helper.parentElement?.removeChild(this.helper)}updateDragInfo(e){if(void 0===c.dragInfo.source)return;const{hoveredClass:t,hoveredClassTop:o,hoveredClassBottom:r,hoveredClassLeft:n,hoveredClassRight:a,blindZone:l,showLines:s,dragOffset:d}=this.options,u=e.clientX+d.left,p=e.clientY+d.top;if(c.dragInfo.target?.targetElement){const e=c.dragInfo.target.targetElement;(0,i.removeClass)(e,t,o,r,n,a),e.previousElementSibling&&(0,i.removeClass)(e.previousElementSibling,t,o,r)}if(c.dragInfo.target=void 0,(0,i.isInsideRect)(u,p,l))return;const f=this.findClosestSortable(u,p);if(f){const l=c.sortableInfo.get(f);if(void 0===l)return;const{sourceElement:d}=c.dragInfo.source;if(d.contains(f))return;const m=this.findClosestElement(u,p,f);if(m===d)return;const y=f,g=m;let h=0;if(g){const{sourceSortable:d,sourceElement:u,sourceElementIndex:p}=c.dragInfo.source,{x:f,y:m}=(0,i.rectCenter)(g.getBoundingClientRect()),{isAbove:b,isLeft:v}=(0,i.pointRelative)(e.clientX,e.clientY,f,m),S=l.isGrid,w=S?v:b;h=(0,i.elementIndex)(g)+(w?0:1),y===d&&h>p&&(h-=1);let x=g,P="";if(S)P=v?n:a;else if(b){const e=x.previousElementSibling;e&&e!==u?(x=e,P=r):P=o}else P=r;s&&(0,i.addClass)(x,t,P)}c.dragInfo.target={targetSortable:y,targetElement:g,targetElementIndex:h}}}resetDragInfo(){c.dragInfo={dragInProgress:!1}}resetDragInfoClasses(){const{receiverClass:e,chosenClass:t,hoveredClass:o,hoveredClassTop:r,hoveredClassBottom:n,hoveredClassLeft:a,hoveredClassRight:l}=this.options,{source:s,target:d}=c.dragInfo,{allSortables:u}=c;u&&u.forEach((t=>(0,i.removeClass)(t,e))),s&&(0,i.removeClass)(s.sourceElement,t),d?.targetElement&&((0,i.removeClass)(d.targetElement,o,r,n,a,l),d.targetElement.previousElementSibling&&(0,i.removeClass)(d.targetElement.previousElementSibling,o,r,n))}findReceiverSortables(){if(void 0===c.dragInfo.source)return[];const{sourceSortable:e,sourceElement:t}=c.dragInfo.source,o=t.getAttribute("data-sortable-type")??"";return c.allSortables.filter((r=>{if(!c.sortableInViewPort.has(r))return!1;const n=c.sortableInfo.get(r);if(void 0===n)return!1;if("true"===r.getAttribute("data-sortable-disabled")||r.closest("[data-sortable-disabled='true']"))return!1;if("function"==typeof n.acceptElements){const i={sortableNode:e,elementNode:t,elementType:o},a={sortableNode:r};return n.acceptElements(i,a)}return"*"===n.acceptElements||Array.isArray(n.acceptElements)&&n.acceptElements.includes(o)}))}findClosestSortable(e,t){const o=c.dragInfo.receiverSortables?.flatMap((e=>{const t=c.sortableInfo.get(e);return t?{el:e,rect:e.getBoundingClientRect(),depth:(0,i.elementDepth)(e),zIndex:t.zIndex,type:t.isGrid?"horizontal":"vertical"}:[]}))??[];return l(o,{x:e,y:t})?.el}findClosestElement(e,t,o){const r=Array.from(o.children);return 0===r.length?void 0:1===r.length?r[0]:r.reduce(((o,r)=>{const n=r.getBoundingClientRect(),a=(0,i.clamp)(e,n.left,n.right),l=(0,i.clamp)(t,n.top,n.bottom),s=(0,i.pointDistance)(e,t,a,l);return s{let{isIntersecting:t,target:o}=e;t?(c.sortableInViewPort.add(o),c.dragInfo.source&&this.renderLines()):c.sortableInViewPort.delete(o)};attachObserver(e){n.connect(e,this.handleIntersection)}detachObserver(){n.disconnect(this.el)}attachContainerEvents(){i.events.start.forEach((e=>this.el.addEventListener(e,this.handleContainerStart,!1)))}detachContainerEvents(){i.events.start.forEach((e=>this.el.removeEventListener(e,this.handleContainerStart,!1)))}attachPendingEvents(){i.events.move.forEach((e=>this.document.addEventListener(e,this.handlePendingMove,!1))),i.events.end.forEach((e=>this.document.addEventListener(e,this.handlePendingEnd,!1)))}detachPendingEvents(){i.events.move.forEach((e=>this.document.removeEventListener(e,this.handlePendingMove,!1))),i.events.end.forEach((e=>this.document.removeEventListener(e,this.handlePendingEnd,!1)))}attachSortEvents(){i.events.move.forEach((e=>this.document.addEventListener(e,this.handleSortMove,!1))),i.events.end.forEach((e=>this.document.addEventListener(e,this.handleSortEnd,!1)))}detachSortEvents(){i.events.move.forEach((e=>this.document.removeEventListener(e,this.handleSortMove,!1))),i.events.end.forEach((e=>this.document.removeEventListener(e,this.handleSortEnd,!1)))}attachUserSelectEvents(){this.document.addEventListener("selectstart",i.disableSelection,!1)}detachUserSelectEvents(){this.document.removeEventListener("selectstart",i.disableSelection,!1)}}},33935:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{events:function(){return o},closest:function(){return r},elementDepth:function(){return n},elementIndex:function(){return i},addClass:function(){return a},removeClass:function(){return l},pointDistance:function(){return s},pointRelative:function(){return c},isInsideRect:function(){return d},rectCenter:function(){return u},shrinkRect:function(){return p},clamp:function(){return f},disableSelection:function(){return m}});const o={start:["mousedown"],move:["mousemove"],end:["mouseup"]};function r(e,t){let o=e;for(;o;){if(t(o))return o;o=o.parentElement}}function n(e){let t=e,o=0;for(;t=t.parentElement;)o++;return o}function i(e){const t=e.parentElement;return t?Array.from(t.children).indexOf(e):-1}function a(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;re.classList.add(t)))}function l(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;re.classList.remove(t)))}function s(e,t,o,r){const n=o-e,i=r-t;return Math.sqrt(n*n+i*i)}function c(e,t,o,r){const n=t=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom}function u(e){return{x:e.left+.5*(e.right-e.left),y:e.top+.5*(e.bottom-e.top)}}function p(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";const r="all"===o||"top-bottom"===o,n="all"===o||"left-right"===o;return{top:r?e.top+t:e.top,bottom:r?e.bottom-t:e.bottom,left:n?e.left+t:e.left,right:n?e.right-t:e.right}}function f(e,t,o){return eo?o:e}const m=e=>(e.preventDefault(),!1)},34735:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(518);class a extends r.default.Component{static defaultProps={refSelector:"",type:"animated",render:()=>r.default.createElement("div",null),onChange:()=>null};state={isSticky:!1};refNode=null;componentDidMount(){i.observer.addListener(this.checkSticky),this.checkSticky()}componentWillUnmount(){this.refNode=null,i.observer.removeListener(this.checkSticky)}handleChange=()=>{this.props.onChange(this.state.isSticky)};checkSticky=()=>{const{refSelector:e,type:t}=this.props;this.refNode||(this.refNode=(e=>{try{return document.querySelector(e)}catch{try{return document.getElementById(e)}catch{return null}}})(e));const o=this.refNode?.getBoundingClientRect()??{top:0,height:0},r="animated"===t?-o.top>=o.height:o.top<=0;r!==this.state.isSticky&&this.setState({isSticky:r},this.handleChange)};render(){return this.props.render(this.state.isSticky)}}},518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"observer",{enumerable:!0,get:function(){return o}});const o={events:["load","scroll"],listeners:[],framePending:!1,addEvents:function(){var e=this;this.notifyListeners=this.notifyListeners.bind(this),this.events.forEach((function(t){window.addEventListener(t,e.notifyListeners)}))},removeEvents:function(){var e=this;this.events.forEach((function(t){window.removeEventListener(t,e.notifyListeners)}))},addListener:function(e){0===this.listeners.length&&this.addEvents(),this.listeners.push(e)},removeListener:function(e){this.listeners.splice(this.listeners.indexOf(e),1),0===this.listeners.length&&this.removeEvents()},notifyListeners:function(){if(!this.framePending){var e=this;requestAnimationFrame((function(){e.framePending=!1,e.listeners.forEach((function(e){e()}))})),this.framePending=!0}}}},73948:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ThemeIcon",{enumerable:!0,get:function(){return c}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=o(47885),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),l=o(16255);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=function(e){let{className:t,type:o,name:n}=e;const s=(0,r.default)("brz-icon-svg align-[initial]",t),[c,d]=(0,a.useState)(void 0);return(0,a.useEffect)((()=>{const e=new AbortController;return(async()=>{try{const t=await(0,l.fetchIcon)(o,n,e),r=(0,i.mPipe)(l.decryptIcon,l.parseSVG)(t);d(r)}catch(e){console.warn(e),d(void 0)}})(),()=>{e.abort()}}),[o,n]),c?a.default.createElement("svg",{...c.attr,className:s,dangerouslySetInnerHTML:{__html:c.innerHTML}}):null}},36957:e=>{"use strict";const t="MC43NDQwMzkxMDQwNjc4MDM0";function o(e,t){if(t<0)return o(e,t+26);let r="";for(let o=0;o=65&&r<=90?n=String.fromCharCode((r-65+t)%26+65):r>=97&&r<=122&&(n=String.fromCharCode((r-97+t)%26+97))}r+=n}return r}e.exports.encrypt=function(e){const r=parseInt(e.length/2);return o(e.slice(0,r)+t+e.slice(r),20)},e.exports.decrypt=function(e){return o(e,-20).replace(t,"")}},16255:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fetchIcon:function(){return i},decryptIcon:function(){return a},parseSVG:function(){return l}});const r=o(84512),n=o(36957);async function i(e,t,o){const n=await fetch((0,r.templateIconUrl)(e,t),{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},signal:o?.signal});return await n.text()}function a(e){if(/^{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=h(o(60042)),n=o(47885),i=h(o(27378)),a=o(23884),l=o(65631),s=h(o(17882)),c=h(o(33364)),d=h(o(24072)),u=o(52119),p=o(46338),f=o(29973),m=o(65270),y=o(61350),g=o(79521);function h(e){return e&&e.__esModule?e:{default:e}}class b extends i.default.Component{state={opened:!1};componentWillUnmount(){y.monitor.unsetIfActive(this)}getClickOutSideExceptions(){return[".brz-ed-collapsible__toolbar",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations",".brz-ed-popup-authorization",".brz-ed-eyeDropper",".media-modal",".media-modal-backdrop"]}onClickOutside=()=>{this.close()};handleClick=()=>{this.state.opened?this.close():this.open()};handleEscape=()=>{this.close()};handleMonitorActivationRequest(){this.open()}handleMonitorDeactivationRequest(){this.close()}getItems=()=>{const e=this.props.device,t=(0,p.currentUserRole)();return this.props.getItems().map((0,f.filterOptions)(e,t)).filter(n.isT)};getSidebarItems=()=>{const e=this.props.device,t=(0,p.currentUserRole)();return this.props.getSidebarItems?this.props.getSidebarItems().map((0,f.filterOptions)(e,t)).filter(n.isT):[]};open(){if(this.state.opened)return;(0,g.setPosition)("below");const{onBeforeOpen:e,onOpen:t}=this.props;y.monitor.setActive(this),e&&e(),this.setState({opened:!0},(()=>{t&&t()}))}close(){if(!this.state.opened)return;const{onBeforeClose:e,onClose:t}=this.props;y.monitor.unsetIfActive(this),e&&e(),this.setState({opened:!1},(()=>{t&&t()}))}renderBadge(){const{membership:e,language:t,global:o}=this.props;return e||o||t?i.default.createElement(l.CSSTransition,{key:"badge",timeout:0},i.default.createElement("div",{className:"brz-ed-collapsible__badge"},o&&i.default.createElement(c.default,{icon:"nc-global"}),e&&i.default.createElement(c.default,{icon:"nc-user"}),t&&i.default.createElement(c.default,{icon:"nc-multi-languages"}))):null}renderIcon(){return i.default.createElement(l.CSSTransition,{key:"icon",classNames:"fadeCollapsibleIcon",timeout:200},i.default.createElement("div",{className:"brz-ed-collapsible__icon",onClick:this.handleClick},i.default.createElement(c.default,{icon:"nc-settings"})))}renderToolbar(){const{animation:e="leftToRight"}=this.props,t="leftToRight"===e?"animation-left-right":"animation-right-left",o=this.getItems();return i.default.createElement(l.CSSTransition,{key:"toolbar",classNames:t,timeout:200},i.default.createElement("div",{className:"brz-ed-collapsible__toolbar"},i.default.createElement(m.ToolbarItems,{items:o,arrow:!1})))}render(){const{className:e,getSidebarItems:t,getSidebarTitle:o}=this.props,{opened:n}=this.state,a=(0,r.default)("brz-ed-collapsible",{"brz-ed-collapsible--opened":n},e);return i.default.createElement(i.default.Fragment,null,i.default.createElement(s.default,{onClickOutside:this.onClickOutside,exceptions:this.getClickOutSideExceptions()},i.default.createElement(l.TransitionGroup,{className:a},this.renderBadge(),n?this.renderToolbar():this.renderIcon())),n&&t&&i.default.createElement(u.RightSidebarItems,{getItems:this.getSidebarItems,getTitle:o}),n&&i.default.createElement(d.default,{keyNames:["esc"],id:"key-helper-toolbar-escape",onKeyUp:this.handleEscape}))}}const v=(0,a.connect)((e=>({device:e.ui.deviceMode})),null,null,{forwardRef:!0})(b)},80818:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PortalToolbarPositioner",{enumerable:!0,get:function(){return s}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(78438),a=o(65270),l=o(79521);class s extends r.default.Component{static defaultProps={offsetTop:14,offsetBottom:14,offsetLeft:0};toolbarItemsContainerRef=r.default.createRef();toolbarItemsArrowRef=r.default.createRef();componentDidMount(){this.reposition()}componentDidUpdate(){this.props.repositionOnUpdates&&this.reposition()}reposition=()=>{const{node:e,offsetTop:t,offsetBottom:o,offsetLeft:r,position:n}=this.props,a=this.toolbarItemsContainerRef.current,s=this.toolbarItemsArrowRef.current,c=e.ownerDocument.defaultView,d=document.documentElement.clientWidth;if(!a)return;const u=a.getBoundingClientRect(),p=e.getBoundingClientRect();let f,m;const y="fixed"===n?0:c.scrollY;y+p.top-(u.height+300)>=c.scrollY?(f=!1,m=y+p.top-u.height-Number(t),(0,l.setPosition)("above")):(f=!0,m=y+p.top+p.height+Number(o),(0,l.setPosition)("below"));const g=p.left+p.width/2-u.width/2+Number(r),h=e.ownerDocument.defaultView===c.parent?58:0,b=d-u.width,v=(0,i.clamp)(g,h,b),S=g-v;a.style.top=`${m}px`,a.style.left=0===v?"20px":`${v}px`,"fixed"===n&&(a.style.position="fixed"),a.classList.add("brz-ed-animated","brz-ed-animated--fadeInDown"),f?a.classList.add("brz-ed-toolbar--bottom"):a.classList.remove("brz-ed-toolbar--bottom"),s&&(u.width/2-Math.abs(S)<23?s.classList.add("brz-hidden"):s.classList.remove("brz-hidden"),f?(s.classList.remove("brz-ed-arrow--top-center"),s.classList.add("brz-ed-arrow--bottom-center")):(s.classList.remove("brz-ed-arrow--bottom-center"),s.classList.add("brz-ed-arrow--top-center")),s.style.left=`calc(50% + ${S}px)`)};render(){return r.default.createElement(a.ToolbarItems,{...this.props,containerRef:this.toolbarItemsContainerRef,arrowRef:this.toolbarItemsArrowRef,arrow:!0,onContentChange:this.reposition})}}},82295:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=o(47885),n=y(o(27378)),i=y(o(31542)),a=o(23884),l=y(o(17882)),s=y(o(24072)),c=o(52119),d=o(46338),u=o(57684),p=o(61350),f=o(80818),m=o(29973);function y(e){return e&&e.__esModule?e:{default:e}}const g=new Map;class h extends n.default.Component{static contextType=u.ToolbarExtendContext;static defaultProps={manualControl:!1};context=void 0;state={opened:!1};node=null;selectorNode=null;componentDidMount(){if(this.node=i.default.findDOMNode(this),null!==this.node&&null!==this.node.ownerDocument){if(!g.get(this.node.ownerDocument)){const e=this.node.ownerDocument.createElement("div");e.id="brz-toolbar-portal",this.node.ownerDocument.body.appendChild(e),g.set(this.node.ownerDocument,e)}this.props.manualControl||this.makeComponentControlled()}}componentDidUpdate(e){let{manualControl:t=!1}=e;t!==this.props.manualControl&&(!0===t?this.makeComponentControlled():this.makeComponentUnControlled())}componentWillUnmount(){p.monitor.unsetIfActive(this),this.node=null,this.selectorNode=null}makeComponentUnControlled=()=>{null!==this.node&&this.node.removeEventListener("click",this.handleNodeClick)};makeComponentControlled=()=>{null!==this.node&&this.node.addEventListener("click",this.handleNodeClick,!1)};handleNodeClick=e=>{if(null!==this.node&&!e.brzToolbarHandled)if(void 0===this.props.selector){if(p.monitor.getActive()===this)return;e.brzToolbarHandled=!0,this.show()}else{const t=("dom-tree"===this.props.selectorSearchStrategy?m.selectorSearchDomTree:m.selectorSearchCoordinates)(this.node,this.props.selector,e);t?(e.brzToolbarHandled=!0,!1===this.state.opened?(this.selectorNode=t,this.show()):t!==this.selectorNode&&this.hide({onComplete:()=>{this.selectorNode=t,this.show()}})):this.hide()}};handleClick=e=>{e.stopPropagation();const{onClick:t}=this.props;t&&t(e)};handleMouseEnter=e=>{e.stopPropagation();const{onMouseEnter:t}=this.props;if(t&&t(e),null!==this.node){const e=new CustomEvent("brz.toolbar.mouseenter",{bubbles:!0});this.node.dispatchEvent(e)}};handleMouseLeave=e=>{e.stopPropagation();const{onMouseLeave:t}=this.props;if(void 0!==t&&t(e),this.node){const e=new CustomEvent("brz.toolbar.mouseleave",{bubbles:!0});this.node.dispatchEvent(e)}};handleEscape=()=>{const e=this.props,t={...this.context,...e};t.onEscape?t.onEscape():this.hide()};handleClickOutside=()=>{p.monitor.unsetActive()};handleMonitorActivationRequest(){this.show()}handleMonitorDeactivationRequest(e){this.hide({eventDetail:e})}show(){if(!this.state.opened){const{onBeforeOpen:e,onOpen:t}=this.props;p.monitor.setActive(this),e&&e(),this.setState({opened:!0},(()=>{if(t&&t(),null!==this.node){const e=new CustomEvent("brz.toolbar.open",{bubbles:!0});this.node.dispatchEvent(e)}}))}}hide(e){if(this.state.opened){const{onBeforeClose:t,onClose:o}=this.props;t&&t(),this.setState({opened:!1},(()=>{if(o&&o(),null!==this.node){const t=new CustomEvent("brz.toolbar.close",{bubbles:!0,detail:e?.eventDetail});this.node.dispatchEvent(t)}e?.onComplete?.()}))}}clickOutsideException=e=>{try{const t=i.default.findDOMNode(this);return null!==t&&t.contains(e)}catch(e){return!1}};getOutSideExceptions=()=>[".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-fixed",".brz-ed-box__resizer--point",".brz-ed-eyeDropper",".media-modal",".media-modal-backdrop",this.clickOutsideException];getItems=()=>{const e=this.props.device,t=(0,d.currentUserRole)();return this.props.getItems().map((0,m.filterOptions)(e,t)).filter(r.isT)};getSidebarItems=()=>{const e=this.props.device,t=(0,d.currentUserRole)();return this.props.getSidebarItems?this.props.getSidebarItems().map((0,m.filterOptions)(e,t)).filter(r.isT):[]};renderToolbar(){if(null===this.node)return;if(null===this.node.ownerDocument)return;const e=this.getItems();if(!e||0===e.length)return;const t=this.props,o=this.context,r=this.node.ownerDocument,a=g.get(r);return a&&i.default.createPortal(n.default.createElement(n.default.Fragment,null,n.default.createElement(l.default,{exceptions:this.getOutSideExceptions(),onClickOutside:this.handleClickOutside},n.default.createElement(f.PortalToolbarPositioner,{...o,...t,items:e,node:this.selectorNode??this.node,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave})),t.getSidebarItems&&n.default.createElement(c.RightSidebarItems,{getItems:this.getSidebarItems,getTitle:t.getSidebarTitle}),n.default.createElement(s.default,{id:"key-helper-toolbar-escape",keyNames:["esc"],onKeyUp:this.handleEscape})),a)}render(){const{children:e}=this.props,{opened:t}=this.state;return n.default.createElement(n.default.Fragment,null,"function"==typeof e?e({open:this.handleNodeClick}):e,t&&this.renderToolbar())}}const b=(0,a.connect)((e=>({device:e.ui.deviceMode})),null,null,{forwardRef:!0})(h)},29973:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{selectorSearchDomTree:function(){return a},selectorSearchCoordinates:function(){return l},filterOptions:function(){return s}});const r=o(33935),n=o(11214),i=o(76753);function a(e,t,o){let r=o.target;for(;r&&r!==e;){if(r.matches(t))return r;r=r.parentElement}return r}function l(e,t,o){if(e.matches(t)&&(0,r.isInsideRect)(o.clientX,o.clientY,e.getBoundingClientRect()))return e;const n=e.querySelectorAll(t);for(let e=0;e(0,n.filter)((0,i.filterToolbarItems)(e,t))},57684:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ToolbarExtendContext:function(){return l},ToolbarExtend:function(){return s}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(10301))&&i.__esModule?i:{default:i};var i;function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=r.default.createContext(void 0),s=e=>{let{children:t,position:o,onEscape:i}=e;const a=(0,r.useContext)(l),s=(0,r.useMemo)((()=>n.default.defaults({position:o,onEscape:i},a)),[o,i,a]);return r.default.createElement(l.Provider,{value:s},t)}},65936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToolbarItem",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(95187));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{data:t,toolbar:o}=e;return r.default.createElement("div",{className:"brz-ed-toolbar__item"},r.default.createElement(n.default,{className:"brz-ed-toolbar__option",data:t,toolbar:o,location:"toolbar"}))}},65270:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ToolbarItems",{enumerable:!0,get:function(){return a}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=o(65936);class a extends r.default.Component{static defaultProps={arrow:!0,items:[]};state={itemsRenderer:void 0};containerRef=r.default.createRef();arrowRef=r.default.createRef();setItemsRenderer=e=>{this.setState({itemsRenderer:e},this.props.onContentChange)};resetItemsRenderer=()=>{this.setState({itemsRenderer:void 0},this.props.onContentChange)};renderItems=e=>{const{position:t,containerRef:o}=this.props,n=e.map(((n,a)=>r.default.createElement(i.ToolbarItem,{key:n.id,data:n,toolbar:{...this,toolbarRef:o??this.containerRef,toolbarCSSPosition:t,toolbarItemIndex:a+1,toolbarItemsLength:e.length}})));return r.default.createElement("div",{className:"brz-ed-toolbar__items brz-d-xs-flex brz-align-items-center"},n)};render(){const{containerRef:e,arrowRef:t,arrow:o,items:n,onClick:i,onMouseEnter:a,onMouseLeave:l}=this.props,{itemsRenderer:s}=this.state;return n.length?r.default.createElement("div",{ref:e??this.containerRef,className:"brz-ed-toolbar",onClick:i,onMouseEnter:a,onMouseLeave:l},void 0!==s?s(n):this.renderItems(n),o&&r.default.createElement("div",{ref:t??this.arrowRef,className:"brz-ed-arrow brz-ed-arrow--top-center brz-ed-toolbar__arrow"})):null}}},67439:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return s},PortalToolbar:function(){return r.default},CollapsibleToolbar:function(){return n.default},ToolbarExtendContext:function(){return a.ToolbarExtendContext},ToolbarExtend:function(){return a.ToolbarExtend},hideToolbar:function(){return c},showLastHiddenToolbar:function(){return d}});const r=l(o(82295)),n=l(o(30332)),i=o(61350),a=o(57684);function l(e){return e&&e.__esModule?e:{default:e}}const s=r.default,c=e=>i.monitor.unsetActive(e),d=()=>i.monitor.activateLastActive()},61350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"monitor",{enumerable:!0,get:function(){return n}});let o=null,r=null;const n={getActive:()=>r,setActive(e){this.unsetActive(),r=e},unsetIfActive(e){e===r&&this.unsetActive()},unsetActive(e){null!==r&&(o=r,r=null,o.handleMonitorDeactivationRequest(e))},activateLastActive(){o&&o.handleMonitorActivationRequest()}}},79521:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getPosition:function(){return r},setPosition:function(){return n}});let o="above";const r=()=>o,n=e=>{o=e}},32625:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{useDebouncedEffect:function(){return l},useThrottleEffect:function(){return s},createTimedOnchange:function(){return d},useDebouncedCallback:function(){return u},useDebouncedOnChange:function(){return p},useThrottleCallback:function(){return f},useThrottleOnChange:function(){return m}});const r=o(27378),n=o(34143),i=o(11717),a=(e,t)=>e===t;function l(e,t,o){const n=(0,r.useRef)();(0,r.useEffect)((()=>(clearTimeout(n.current),n.current=setTimeout(e,t),()=>clearTimeout(n.current))),[o,e,t])}function s(e,t,o){const{current:n}=(0,r.useRef)({f:e});(0,r.useEffect)((()=>{n.f=e,void 0===n.t&&(n.t=setTimeout((()=>{n.f(),n.t=void 0}),t))}),[o,n,e,t])}const c=e=>(t,o,i)=>{const a=(0,r.useMemo)((()=>{const r=new n.Subject;return r.pipe(e(o)).subscribe((e=>t(...e))),r}),[t,o]);return(0,r.useEffect)((()=>()=>{a.complete()}),[a,i]),(0,r.useCallback)((function(){for(var e=arguments.length,t=new Array(e),o=0;o{const t=c(e);return function(e,o,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a;const l=(0,r.useRef)(e),[s,c]=(0,r.useState)(e),d=t(o,n);(0,r.useEffect)((()=>{i(s,l.current)||(d(s),l.current=s)}),[s,l,d,i]),(0,r.useEffect)((()=>{i(e,l.current)||(c(e),l.current=e)}),[e,l,i]);const u=(0,r.useCallback)(c,[c]);return[s,u]}},u=c(i.debounceTime),p=d(i.debounceTime),f=c(i.throttleTime),m=d(i.throttleTime)},81504:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{maxWidth:function(){return o},minWidthPercentage:function(){return r},maxWidthPercentage:function(){return n},wInBoxedPage:function(){return i},minWInBoxedPage:function(){return a},wInFullPage:function(){return l},wInTabletPage:function(){return s},minWInTabletPage:function(){return c},wInMobilePage:function(){return d},minWInMobilePage:function(){return u},minWinColumn:function(){return p},MIN_COL_WIDTH:function(){return f},wInMMenu:function(){return m}});const o=36,r=35,n=100,i=1170,a=Math.round(i*r/100),l=1920,s=768,c=Math.round(s*r/100),d=430,u=Math.round(d*r/100),p=760,f=60,m=440},82163:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"read",{enumerable:!0,get:function(){return c}});const r=s(o(7667)),n=s(o(59638)),i=s(o(73904)),a=o(44576);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const c=e=>{if(null===e||"object"!=typeof e)return;const t=n.read(e.title),o=n.read(e.name),l=r.readId(e.type);if(void 0===t||void 0===o||void 0===l)return;const s=n.read(e.family);return{title:t,name:o,type:l,cat:(0,a.toArray)(e.cat).map(i.read).filter(Boolean),family:s}}},7667:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{readId:function(){return a},types:function(){return l}});const r=o(22741),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(73904));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a=(0,r.mCompose)((e=>e>=0&&e<=2?e:void 0),Math.round,n.read),l=[{id:0,name:"outline",title:"Outline",icon:"nc-cube"},{id:1,name:"glyph",title:"Glyph",icon:"nc-full-cube"},{id:2,name:"fa",title:"FA",icon:"nc-full-cube"}]},26422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"categories",{enumerable:!0,get:function(){return o}});const o=[{title:"Accessibility",id:1},{title:"Alert",id:2},{title:"Alphabet",id:3},{title:"Animals",id:4},{title:"Arrows",id:5},{title:"Astronomy",id:6},{title:"Automotive",id:7},{title:"Buildings",id:8},{title:"Business",id:9},{title:"Camping",id:10},{title:"Charity",id:11},{title:"Charts & Diagrams",id:12},{title:"Childhood",id:13},{title:"Clothing & Fashion",id:14},{title:"Coding",id:15},{title:"Communication",id:16},{title:"Connectivity",id:17},{title:"Construction",id:18},{title:"Design",id:19},{title:"Devices & Hardware",id:20},{title:"Disaster",id:21},{title:"Editing",id:22},{title:"Education",id:23},{title:"Emoji",id:24},{title:"Energy",id:25},{title:"Files",id:26},{title:"Film & Video",id:27},{title:"Food & Beverage",id:28},{title:"Fruits & Vegetables",id:29},{title:"Gaming",id:30},{title:"Gender",id:31},{title:"Halloween",id:32},{title:"Hands",id:33},{title:"Holidays",id:34},{title:"Household",id:35},{title:"Humanitarian",id:36},{title:"Logistics",id:37},{title:"Maps",id:38},{title:"Maritime",id:39},{title:"Marketing",id:40},{title:"Mathematics",id:41},{title:"Media & Playback",id:42},{title:"Medical & Health",id:43},{title:"Money",id:44},{title:"Moving",id:45},{title:"Music & Audio",id:46},{title:"Nature",id:47},{title:"Numbers",id:48},{title:"Photos & Images",id:49},{title:"Political",id:50},{title:"Punctuation & Symbols",id:51},{title:"Religion",id:52},{title:"Science",id:53},{title:"Science Fiction",id:54},{title:"Security",id:55},{title:"Shapes",id:56},{title:"Shopping",id:57},{title:"Social",id:58},{title:"Spinners",id:59},{title:"Sports & Fitness",id:60},{title:"Text & Formatting",id:61},{title:"Time",id:62},{title:"Toggle",id:63},{title:"Transportation",id:64},{title:"Travel & Hotel",id:65},{title:"Users & People",id:66},{title:"Weather",id:67},{title:"Writing",id:68}]},63316:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"categories",{enumerable:!0,get:function(){return o}});const o=[{id:1,title:"Animals/Nature"},{id:2,title:"Arrows"},{id:3,title:"Business/Finance"},{id:4,title:"Clothes/Accessories"},{id:5,title:"Design/Development"},{id:6,title:"Emoticons"},{id:7,title:"Energy/Environment"},{id:8,title:"Files/Folders"},{id:10,title:"Food"},{id:11,title:"Home/Buildings"},{id:12,title:"Healthcare/Medical"},{id:13,title:"Holidays"},{id:14,title:"Loaders"},{id:15,title:"Maps/Location"},{id:16,title:"Multimedia"},{id:18,title:"School/Education"},{id:19,title:"Shopping"},{id:20,title:"Social Media"},{id:21,title:"Sport"},{id:22,title:"Technology"},{id:23,title:"Text Editing"},{id:24,title:"Touch Gestures"},{id:25,title:"Transportation"},{id:26,title:"Travel"},{id:27,title:"User Interface"},{id:28,title:"Users"},{id:29,title:"Weather"}]},34807:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getTypeIcons",{enumerable:!0,get:function(){return s}});const r=o(82163),n=o(44576);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}const l=e=>(0,n.toArray)(e?.default).map(r.read).filter(Boolean),s=e=>{switch(e){case 0:return Promise.resolve().then((()=>a(o(38649)))).then(l);case 1:return Promise.resolve().then((()=>a(o(18796)))).then(l);case 2:return Promise.resolve().then((()=>a(o(74025)))).then(l)}}},13340:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getTypes:function(){return u},getIcons:function(){return p},getIconClassName:function(){return f},getCategories:function(){return m}});const r=o(63316),n=o(26422),i=o(64148),a=o(26999),l=o(46479),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(44576)),c=o(34807);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}const u=()=>l.IS_WP?l.IS_PRO?[...a.types,...i.types]:i.types:a.types,p=e=>Promise.all(e.map(c.getTypeIcons)).then(s.concat),f=e=>{switch(e.type){case 0:case 1:{const t=u()[e.type].name;return`nc-${t} nc-${t}-${e.name}`}case 2:return`${e.family??"fa"} fa-${e.name}`}},m=e=>{switch(e){case 0:case 1:return r.categories;case 2:return n.categories}}},64148:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"types",{enumerable:!0,get:function(){return o}});const o=[{id:2,name:"fa",title:"FA",icon:"nc-full-cube"}]},26999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"types",{enumerable:!0,get:function(){return o}});const o=[{id:0,name:"outline",title:"Outline",icon:"nc-cube"},{id:1,name:"glyph",title:"Glyph",icon:"nc-full-cube"}]},60195:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={"wrapper--iconText":{showToolbar:"on"},"wrapper--form2":{showToolbar:"on"},"wrapper--login":{showToolbar:"on"},"wrapper--reset--psw":{showToolbar:"on"},"wrapper--tabs":{showToolbar:"on"},"wrapper--timeline":{showToolbar:"on"},"wrapper--table":{showToolbar:"on"},"wrapper--protected-page":{showToolbar:"on"},"wrapper--accordion":{showToolbar:"on"},"wrapper--imageGallery":{showToolbar:"on"},"wrapper--menu":{showToolbar:"on"},"wrapper--video-playlist":{showToolbar:"on"},"wrapper--switcher":{showToolbar:"on"},"wrapper--filters":{showToolbar:"on"},"wrapper-ministryBrands":{showToolbar:"on"},"story-leadific":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top"},"wrapper--spacer":{marginTop:0,marginBottom:0,tabletMarginTop:0,tabletMarginBottom:0,mobileMarginTop:0,mobileMarginBottom:0},"wrapper--carousel":{showToolbar:"on"},"wrapper--alert":{showToolbar:"on"},"wrapper--posts":{showToolbar:"on",paddingType:"ungrouped",paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},"wrapper-ecwid-my-account":{showToolbar:"on"},"wrapper-ecwid-cart":{showToolbar:"on"},"wrapper-ecwid-product":{showToolbar:"on"},"wrapper-ecwid-products":{showToolbar:"on"},"column--carousel":{width:100},"richText--carousel":{text:"

The point of using dummy text for your paragraph is that it has a more-or-less normal distribution of letters. making it look like readable English.

"},"hide-row-borders":{showToolbar:"off"},"padding-0":{padding:0},submit:{type:"submit"},search:{type:"search"},"image--dynamic":{imagePopulation:"{{brizy_dc_img_featured_image}}"},"button--dynamic":{linkExternalType:"linkPopulation",linkPopulation:"{{brizy_dc_url_post}}",text:"READ MORE",borderRadius:2,borderWidth:2,fontSize:11,paddingBottom:11,paddingLeft:26,paddingRL:26,paddingRight:26,paddingTB:11,paddingTop:11,size:"small",tempPaddingBottom:11,tempPaddingLeft:26,tempPaddingRL:26,tempPaddingRight:26,tempPaddingTB:11,tempPaddingTop:11,mobileBorderRadius:2,mobilePaddingBottom:11,mobilePaddingLeft:26,mobilePaddingRight:26,mobilePaddingTop:11,mobileSize:"small"},"richText-title--dynamic":{text:"

#Post Title 

"},"richText-desc--dynamic":{text:"

#Post Excerpt

"},"wrapper--facebookComments":{showToolbar:"on"},"story-map":{size:90,height:70,heightSuffix:"%",elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:31,offsetYSuffix:"%",offsetYAlignment:"top"},"story-progressBar":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:48,offsetYSuffix:"%",offsetYAlignment:"top"},"story-line":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:49,offsetYSuffix:"%",offsetYAlignment:"top"},"story-countdown2":{width:90,height:10,heightSuffix:"%",elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:45,offsetYSuffix:"%",offsetYAlignment:"top"},"story-counter":{width:50,elementPosition:"fixed",offsetX:39,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:45,offsetYSuffix:"%",offsetYAlignment:"top"},"story-embedCode":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:33,offsetYSuffix:"%",offsetYAlignment:"top"},"story-image":{width:90,height:70,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:36,offsetYSuffix:"%",offsetYAlignment:"top"},"story-starRating":{elementPosition:"fixed",offsetX:33,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:49,offsetYSuffix:"%",offsetYAlignment:"top"},"story-icon":{elementPosition:"fixed",customSize:20,offsetX:40,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:44,offsetYSuffix:"%",offsetYAlignment:"top",customSizeSuffix:"%",hoverColorHex:null,hoverColorOpacity:null,hoverColorPalette:null,tempHoverColorOpacity:null,tempHoverColorPalette:null,hoverGradientActivePointer:null,hoverGradientStartPointer:null,hoverGradientFinishPointer:null,hoverGradientType:null,hoverGradientLinearDegree:null,hoverGradientRadialDegree:null,hoverBgColorType:null,hoverBgColorHex:null,hoverBgColorOpacity:null,hoverBgColorPalette:null,tempHoverBgColorOpacity:null,tempHoverBgColorPalette:null,hoverGradientColorHex:null,hoverGradientColorOpacity:null,hoverGradientColorPalette:null,tempHoverGradientColorOpacity:null,tempHoverGradientColorPalette:null,hoverBorderColorHex:null,hoverBorderColorOpacity:null,hoverBorderColorPalette:null,tempHoverBorderColorOpacity:null,tempHoverBorderColorPalette:null},"story-video":{size:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:34,offsetYSuffix:"%",offsetYAlignment:"top"},"story-richText":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top"},"story-button":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,elementPosition:"fixed",offsetX:30,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top",width:40,widthSuffix:"%",height:30,heightSuffix:"%"},"story-form-button":{offsetX:0},"wrapper--story-form2":{showToolbar:"on"},"story-form2":{width:80,widthSuffix:"%",elementPosition:"fixed",offsetX:10,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:20,offsetYSuffix:"%",offsetYAlignment:"top"},"story-lottie":{width:60,widthSuffix:"%",elementPosition:"fixed",offsetX:20,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:34,offsetYSuffix:"%",offsetYAlignment:"top"},"posts--column":{width:100},"postTitle-posts":{fontStyle:"custom",fontSize:20,tabletFontStyle:"custom",tabletFontSize:16,mobileFontStyle:"custom",mobileFontSize:16,contentHorizontalAlign:"center"},"postExcerpt-posts":{contentHorizontalAlign:"center"},"posts-archive":{pagination:"on"},"posts-productArchive":{pagination:"on"}}},76716:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=o(67439),a=p(o(49127)),l=p(o(20013)),s=o(39552),c=p(o(24072)),d=p(o(86495)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"AccordionItem.Items"}static defaultProps={className:"",meta:{},isActive:!1};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",title:(0,u.t)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,u.t)("Delete"),icon:"nc-trash",position:210,onChange:()=>{(0,i.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},r=this.makeToolbarPropsFromConfig(o);return{meta:this.props.meta,toolbarExtend:r}}renderItemsContainer(e){const{className:t,isActive:o}=this.props;return 0===e.length?r.default.createElement("div",{className:t},r.default.createElement(l.default,{path:this.getId(),disabled:!o,type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(a.default,{path:this.getId(),type:"column",disabled:!o,acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:t},e))}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}const m=f},86495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),n=o(16957),i=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,n.detectOS)(),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=n&&(a||t[e].type===n.type),c=s&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},68872:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(27378)),n=y(o(60042)),i=y(o(63692)),a=o(73948),l=y(o(45771)),s=y(o(67439)),c=o(66848),d=y(o(76716)),u=y(o(31399)),p=h(o(5189)),f=h(o(231)),m=o(76304);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class b extends i.default{static get componentId(){return"AccordionItem"}static defaultValue=u.default;static defaultProps={meta:{},collapsible:"",navIcon:"",tag:"",animDuration:0,animationClassName:"",activeAccordionItem:!1,visibleTag:!1};content=r.default.createRef();state={active:!1,height:0};componentDidMount(){const{collapsible:e,activeAccordionItem:t}=this.props;"on"===e&&t&&this.handleCollapse()}componentDidUpdate(e,t){const{collapsible:o,activeAccordionItem:r}=this.props,{active:n}=this.state;e.collapsible===o?(e.activeAccordionItem!==r&&(e.activeAccordionItem?this.handleExpand():this.handleCollapse()),t.active!==n&&(t.active?this.handleExpand():this.handleCollapse())):"on"===o?r?this.handleCollapse():this.handleExpand():this.setState({active:!1})}handleCollapse=()=>{const e=this.content.current;if(e){const t=e.firstElementChild?.getBoundingClientRect().height??0,o=this.props.animDuration;(0,m.collapse)(e,{height:t,duration:1e3*o})}};handleExpand=()=>{const e=this.content.current;if(e){const t=e.firstElementChild?.getBoundingClientRect().height??0,o=this.props.animDuration;(0,m.expand)(e,{height:t,duration:1e3*o})}};handleClick=()=>{const{collapsible:e,handleAccordion:t}=this.props;"off"===e?this.setState({active:!this.state.active}):t()};handleTextChange=e=>{this.patchValue({labelText:e})};getIcon(e,t){const o=e?`up-arrow-${t}`:`down-arrow-${t}`;return r.default.createElement("div",{className:"brz-accordion--icon-wrapper"},r.default.createElement(a.ThemeIcon,{className:"brz-accordion__nav--icon",type:"editor",name:o}))}renderNav(e){const{navIcon:t,collapsible:o,activeAccordionItem:n,tagName:i}=this.props,a="off"===o?this.state.active:n;return r.default.createElement(s.default,this.makeToolbarPropsFromConfig2(p,f),r.default.createElement("div",{className:"brz-accordion__nav","data-collapsible":o,onClick:this.handleClick},r.default.createElement(c.TextEditor,{value:e.labelText,tagName:i,className:"brz-accordion__nav-title",onChange:this.handleTextChange}),"none"!==t&&this.getIcon(a,t)))}renderItems(e){const{meta:t,animationClassName:o,meta:{sectionPopup:i,sectionPopup2:a}}=this.props,s=(0,n.default)("brz-accordion__item-content brz-d-xs-flex brz-flex-xs-column",{"brz-accordion--sortable":!0}),c=this.makeSubcomponentProps({meta:t,className:s,isActive:e,bindWithKey:"items"});return r.default.createElement(l.default,{ref:this.content,iterationCount:1,component:"div",componentProps:{className:"brz-accordion__content brz-d-xs-flex brz-flex-xs-column"},animationClass:o},r.default.createElement(d.default,c))}renderForEdit(e){const{activeAccordionItem:t,collapsible:o,visibleTag:i,tag:a,allTag:l}=this.props,s="off"===o?this.state.active:t,c=(0,n.default)("brz-accordion__item",a,{"brz-accordion__item--active":s,"brz-accordion__hidden":!(i===l||a.includes(i))});return r.default.createElement("div",{className:c},this.renderNav(e),this.renderItems(s))}}const v=b},231:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Accordion Items");function n(){return[]}},5189:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-toggle",title:(0,r.t)("Accordion")},position:60,options:[{id:"media",type:"tabs-dev",tabs:[{id:"accordion",label:(0,r.t)("Accordion"),position:60,options:[]},{id:"tags",label:(0,r.t)("Tags"),position:80,options:[{id:"tags",type:"inputText-dev",label:(0,r.t)("Tags"),helper:{enabled:!0,content:"Enter the tags, separated by a comma (art, sport, nature, etc)."},placeholder:"art, nature, etc.",devices:"desktop"}]}]}]}]}},22662:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=d(o(60042)),n=d(o(27378)),i=o(70634),a=o(66848),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(67439)),s=d(o(10787)),c=o(64985);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends s.default{static get componentId(){return"Accordion.Items"}static defaultProps={className:"",activeAccordionItem:0,style:{},meta:{}};state={visibleTag:this.props.allTag};componentDidUpdate(){this.getItemsTags(this.props.dbValue).size||this.state.visibleTag===this.props.allTag||this.setState({visibleTag:this.props.allTag})}getItemsTags=e=>e.reduce(((e,t)=>(t?.value?.tags&&this.getTags(t.value.tags).forEach((t=>e.add(t))),e)),new Set);handleFilterClick(e){e!==this.state.visibleTag&&this.setState({visibleTag:e})}getItemProps(e,t,o){const{meta:r,activeAccordionItem:n,navIcon:i,collapsible:a,animDuration:s,animationClassName:d,tagName:u,allTag:p}=this.props,{tags:f=""}=e.value,m={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"vertical",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,c.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,c.t)("Delete"),position:210,disabled:1===o.length,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}]};return{meta:r,navIcon:i,tag:this.getTags(f),collapsible:a,animDuration:s,animationClassName:d,toolbarExtend:this.makeToolbarPropsFromConfig2(m),tagName:u,activeAccordionItem:n===t,visibleTag:this.state.visibleTag,allTag:p,handleAccordion:()=>{this.handleAccordionActive(t)}}}handleAccordionActive=e=>{const{activeAccordionItem:t,handleNav:o}=this.props;t!==e&&o(e)};getTags(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?e.split(",").reduce(((e,t)=>{const o=t.trim();return o?[...e,o.replace(/\s/g,"-")]:e}),[]):[]}updateItem(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};super.updateItem(e,t,o)}handleMainTagChange=e=>{const{handleAllTagChange:t}=this.props;t(e),this.setState({visibleTag:e})};renderTags(){const{allTag:e,toolbarExtendFilter:t,filterStyle:o,sortTags:i}=this.props,s=this.getItemsTags(this.props.dbValue),c="on"===i?[...s].sort(((e,t)=>e.localeCompare(t))):s,d=[e,...c],u=(0,r.default)("brz-accordion__filter",`brz-accordion__filter--${o}`),p=(0,r.default)("brz-li brz-accordion__filter__item",`brz-accordion__filter__item--${o}`);return n.default.createElement("div",{className:"brz-accordion__filter-wrapper"},n.default.createElement("ul",{className:`brz-ul ${u}`},d.map(((o,r)=>n.default.createElement(l.default,{...t,key:r},n.default.createElement("li",{className:p+""+(this.state.visibleTag===o?" brz-accordion__filter__item--active":""),"data-filter":o===e?"*":o,onClick:()=>{this.handleFilterClick(o)}},o===e?n.default.createElement(a.TextEditor,{value:e,onChange:this.handleMainTagChange}):o))))))}removeItem(e){const t=this.getDBValue()||[],o=(0,i.removeAt)(t,e);this.handleAccordionActive(0),setTimeout((()=>{this.handleValueChange(o,{arrayOperation:"remove"})}),0)}renderItemsContainer(e){const{className:t,style:o,enableTags:r,animDuration:i}=this.props,a=this.getItemsTags(this.props.dbValue);return n.default.createElement("div",{className:t,style:o,"data-duration":1e3*i},"on"===r&&a.size>0&&this.renderTags(),e)}}const f=p},19200:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n={getItems:()=>[{id:"main",type:"group",title:(0,r.t)("Tabs"),icon:"nc-tabs",disabled:(e,t)=>t.isInSubMenu,items:[]}]}},39553:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=T(o(60042)),n=T(o(27378)),i=o(10301),a=T(o(39552)),l=T(o(36275)),s=T(o(63692)),c=o(66005),d=o(97045),u=o(92213),p=o(94220),f=o(69321),m=k(o(24119)),y=T(o(22662)),g=T(o(19200)),h=T(o(15332)),b=k(o(9490)),v=k(o(53399)),S=k(o(76585)),w=o(77377),x=k(o(89874)),P=k(o(37400)),C=k(o(92904));function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class M extends s.default{static get componentId(){return"Accordion"}static defaultProps={meta:{},extendParentToolbar:i.noop};static defaultValue=h.default;handleAllTagChange=e=>{this.patchValue({allTag:e})};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(P,v,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleNav=e=>{this.patchValue({activeAccordionItem:e})};patchValue(e,t){const{fontStyle:o}=e;super.patchValue({...e,...o?(0,c.getTagNameFromFontStyle)(o):{}},t)}dvv=e=>{const t=this.getValue(),o=(0,d.deviceModeSelector)((0,u.getStore)().getState()),r=m.mRead(t.tabsState);return(0,f.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,f.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,p.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,w.styleAnimation)(e,t,o)))};renderForEdit(e,t,o){const{activeAccordionItem:i,filterStyle:s,navIcon:c,collapsible:d,animDuration:u,enableTags:f,tagName:m,allTag:h,sortTags:v}=e,P=(0,r.default)("brz-accordion",(0,p.css)(this.constructor.componentId,this.getId(),(0,w.style)(e,t,o))),T=this.getAnimationClassName(e,t,o),_=this.makeSubcomponentProps({allTag:h,sortTags:v,className:P,filterStyle:s,activeAccordionItem:i,navIcon:c,collapsible:d,tagName:m,animDuration:u,enableTags:f,animationClassName:T,bindWithKey:"items",handleAllTagChange:this.handleAllTagChange,handleNav:this.handleNav,meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(x,b,{allowExtend:!1}),toolbarExtendFilter:this.makeToolbarPropsFromConfig2(C,S,{allowExtend:!1})});return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(a.default,this.makeContextMenuProps(g.default),n.default.createElement(y.default,_)))}}const O=M},9490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(93873),n=o(64985);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"titlePadding",label:(0,n.t)("Title Padding"),position:40,type:"padding-dev"},{id:"padding",label:(0,n.t)("Content Padding"),position:50,type:"padding-dev"},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),position:65},{id:"tagName",label:(0,n.t)("HTML Tag"),type:"select-dev",choices:[{title:"Span",value:"span"},{title:"Div",value:"div"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}]}]},{id:"effects",title:(0,n.t)("Effects"),label:(0,n.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",tabs:[{id:"entrance",label:(0,n.t)("Entrance"),options:[{id:"animation",type:"animation-dev",config:{types:r.tabEffects}}]}]}]}]}]}},53399:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return l},getItems:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526),l=(0,i.t)("Accordion");function s(){const e=(0,a.isStory)(r.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling"},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:e,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},76585:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Accordion Tags");function i(){return[{id:"filterPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}},{id:"filterBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}},77377:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleAnimation:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-accordion__item:not(.brz-accordion__item--active):hover":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleColor","cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-accordion__item:hover":{standart:["cssStyleBorderRadius"]},".brz && > .brz-accordion__item.brz-accordion__item--active":{standart:["cssStyleElementAccordionActiveColor","cssStyleElementAccordionActiveBgColor","cssStyleElementAccordionActiveBorder","cssStyleElementAccordionActiveShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-accordion__item > .brz-accordion__nav":{standart:["cssStyleElementAccordionNavAlign","cssStyleElementAccordionTitlePadding"]},".brz && > .brz-accordion__item > .brz-accordion__nav .brz-accordion__nav-title":{standart:["cssStyleTextAlign","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && > .brz-accordion__item .brz-accordion--icon-wrapper":{standart:["cssStyleElementAccordionNavIconSpacing"]},".brz && > .brz-accordion__item > .brz-accordion__nav .brz-accordion--icon-wrapper .brz-icon-svg":{standart:["cssStyleElementAccordionNavIconSize"]},".brz && > .brz-accordion__item:not(:last-child)":{standart:["cssStyleElementAccordionSpacing"]},".brz &&:hover > .brz-accordion__item > .brz-accordion__content > .brz-accordion__item-content":{standart:["cssStylePaddingFourFields","cssStyleElementAccordionAnimDuration","cssStyleElementAccordionMarginTop"]},".brz && > .brz-accordion__filter-wrapper":{standart:["cssStyleElementAccordionFilterHorizontalAlign"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter":{standart:["cssStyleElementAccordionFilterAfterSpacing","cssStyleElementAccordion3FontFamily","cssStyleElementAccordion3FontSize","cssStyleElementAccordion3LineHeight","cssStyleElementAccordion3FontWeight","cssStyleElementAccordion3LetterSpacing"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item":{standart:["cssStyleElementAccordionFilterSpacing"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item:not(.brz-accordion__filter__item--active):hover":{standart:["cssStyleElementAccordionFilterColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item--style-1:not(.brz-accordion__filter__item--active):hover":{standart:["cssStyleElementAccordionFilterBgColor","cssStyleElementAccordionFilterBorder","cssStyleElementAccordionFilterShadow"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item--style-1:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementAccordionFilterBorderRadius"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item--style-1.brz-accordion__filter__item--active":{standart:["cssStyleElementAccordionFilterActiveColor","cssStyleElementAccordionFilterActiveBgColor","cssStyleElementAccordionFilterActiveBorder","cssStyleElementAccordionFilterActiveShadow"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter--style-2:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementAccordionFilterBgColor","cssStyleElementAccordionFilterBorder","cssStyleElementAccordionFilterShadow","cssStyleElementAccordionFilterBorderRadius","cssStyleDisplayInlineFlex"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-accordion__filter-wrapper > .brz-accordion__filter > .brz-accordion__filter__item--style-2.brz-accordion__filter__item--active":{standart:["cssStyleElementAccordionFilterActiveColor"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},89874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-toggle",title:(0,n.t)("Accordion")},position:60,options:[{id:"media",type:"tabs-dev",position:60,tabs:[{id:"accordion",label:(0,n.t)("Accordion"),options:[{id:"collapsible",label:(0,n.t)("Collapsible"),devices:"desktop",type:"switch-dev"},{id:"animDuration",type:"slider-dev",label:(0,n.t)("Duration"),config:{min:0,max:2,step:.1,units:[{value:"s",title:"s"}]}},{id:"spacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"tabIcon",label:(0,n.t)("Icon"),position:80,options:[{id:"navIcon",label:(0,n.t)("Icon"),type:"select-dev",devices:"desktop",choices:[{value:"none",title:"None",icon:{name:"nc-none"}},{value:"thin",title:"Thin",icon:{name:"nc-down-arrow-thin"}},{value:"heavy",title:"Heavy",icon:{name:"nc-down-arrow-heavy"}},{value:"tail",title:"Tail",icon:{name:"nc-down-arrow-tail"}},{value:"filled",title:"Round",icon:{name:"nc-down-arrow-filled"}},{value:"outline",title:"Outline",icon:{name:"nc-down-arrow-outline"}}]},{id:"groupSettings",type:"group-dev",disabled:"none"===s("navIcon"),options:[{id:"navIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"navIconCustomSize",type:"slider-dev",disabled:"custom"!==s("navIconSize"),config:{min:8,max:100,units:[{title:"px",value:"px"}]}}]}]},{id:"tags",label:(0,n.t)("Tags"),position:80,options:[]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBackground",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"boxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,n.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",title:(0,n.t)("Settings")}]}},37400:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarAccordion",type:"popover-dev",config:{icon:"nc-toggle",title:(0,r.t)("Accordion")},position:80,options:[{id:"enableTags",label:(0,r.t)("Enable tags"),type:"switch-dev",devices:"desktop"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,r.t)("More Settings"),devices:"desktop",roles:["admin"],position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},92904:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({key:e,v:t,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette"));return[{id:"toolbarGallery",type:"popover-dev",config:{icon:"nc-tags",title:(0,n.t)("Tags")},position:60,options:[{id:"sortTags",label:(0,n.t)("Sort alphabetically"),type:"switch-dev",devices:"desktop"},{id:"filterStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"style-1",icon:"nc-tags-style-2"},{value:"style-2",icon:"nc-tags-style-1"}]},{id:"filterSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"afterFilterSpacing",type:"slider-dev",label:(0,n.t)("Content Gap"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"filter",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:c("bgColorOpacity")>0?(0,r.hexToRgba)(d,c("bgColorOpacity")):(0,r.hexToRgba)(u,c("colorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",className:"",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"filterBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"filterColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"filterBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"filterBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"filterHorizontalAlign",type:"toggle-dev",devices:"desktop",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,n.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",devices:"desktop",title:(0,n.t)("Settings")}]}},76304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{expand:function(){return o},collapse:function(){return r}});const o=(e,t)=>{const{height:o,duration:r,onFinish:n}=t,i=e.animate([{height:`${o}px`,offset:0},{height:0,offset:1}],{duration:r,iterations:1,fill:"backwards"});"function"==typeof n&&(i.onfinish=n)},r=(e,t)=>{const{height:o,duration:r,onFinish:n}=t,i=e.animate([{height:0,offset:0},{height:`${o}px`,offset:1}],{duration:r,iterations:1,fill:"backwards"});"function"==typeof n&&(i.onfinish=n)}},49542:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=w(o(60042)),n=w(o(27378)),i=w(o(31440)),a=o(54668),l=w(o(36275)),s=o(73948),c=w(o(67439)),d=w(o(63692)),u=o(94220),p=o(86022),f=w(o(17606)),m=P(o(53185)),y=P(o(62876)),g=o(32860),h=P(o(30204)),b=P(o(42086)),v=P(o(73914)),S=P(o(35652));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const C=["centerLeft","centerRight"],T={width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}};class _ extends d.default{static get componentId(){return"Alert"}static defaultValue=f.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>{this.patchValue(e)};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,y,{allowExtend:!1,allowExtendFromThirdParty:!0});this.props.extendParentToolbar(e)}renderAlert(e){const{showCloseButtonAfter:t}=e,o=(0,r.default)("brz-alert-close",{"brz-hidden":!1});return n.default.createElement(n.default.Fragment,null,n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(S,m),n.default.createElement("span",null,n.default.createElement(a.Text,{className:"brz-alert-title",id:"title",v:e,onChange:this.handleTextChange}))),n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(b,m),n.default.createElement("span",null,n.default.createElement(a.Text,{className:"brz-alert-description",id:"description",v:e,onChange:this.handleTextChange}))),n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(h,m),n.default.createElement("span",{className:o},n.default.createElement(s.ThemeIcon,{name:"close-popup",className:"brz-alert-close-icon",type:"editor"}))))}renderForEdit(e,t,o){const a=(0,r.default)("brz-alert",(0,u.css)(this.getComponentId(),this.getId(),(0,g.style)(e,t,o)));return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(i.default,{points:C,restrictions:T,meta:this.props.meta,value:e,onChange:this.handleResizerChange},this.renderAlert(e))))}renderForView(e,t,o){const{showCloseButtonAfter:i}=e,a=(0,r.default)("brz-alert",(0,u.css)(this.getComponentId(),this.getId(),(0,g.style)(e,t,o)));return n.default.createElement(p.Wrapper,{...this.makeWrapperProps({className:a}),attributes:{"data-delay":i}},this.renderAlert(e))}}const k=_},53185:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},62876:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526);function l(){const e=(0,a.isStory)(r.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"padding",type:"padding-dev",devices:"desktop",disabled:!0},{id:"alertPadding",type:"padding-dev",label:(0,i.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:e,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",disabled:!0},{id:"alertPadding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50}]}]}]}},32860:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleBorder","cssStyleBgColor","cssStyleAlertContainerShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition"]},".brz && .brz-ed-box__resizer":{standart:["cssStyleAlertPadding"]},".brz &&:hover .brz-alert-title":{standart:["cssStyleElementAlertTitleFontFamily","cssStyleElementAlertTitleFontSize","cssStyleElementAlertTitleLineHeight","cssStyleElementAlertTitleFontWeight","cssStyleElementAlertTitleLetterSpacing","cssStyleElementAlertTitleColor","cssStyleDisplayBlock","cssStyleElementAlertTitleShadow","cssStyleElementAlertTitleAlign"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-alert-description":{standart:["cssStyleElementAlertDescriptionFontFamily","cssStyleElementAlertDescriptionFontSize","cssStyleElementAlertDescriptionLineHeight","cssStyleElementAlertDescriptionFontWeight","cssStyleElementAlertDescriptionLetterSpacing","cssStyleElementAlertDescriptionColor","cssStyleDisplayBlock","cssStyleElementAlertDescriptionShadow","cssStyleElementAlertDescriptionAlign","cssStyleElementAlertDescriptionVisibility","cssStyleElementAlertDescriptionGap"],interval:["cssStyleHoverTransition"]},".brz && .brz-alert-close:hover":{standart:["cssStyleElementAlertCloseButtonVisibility","cssStyleElementAlertCloseButtonSize","cssStyleElementAlertCloseButtonPosition","cssStyleElementAlertCloseButtonBorderRadius","cssStyleElementAlertCloseButtonColor","cssStyleElementAlertCloseButtonBgColor","cssStyleBoxShadow"],interval:["cssStyleHoverTransition"]},".brz && .brz-alert-close-icon":{standart:["cssStyleElementAlertCloseButtonBgSize"]}}})}},30204:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(69321),n=o(64985),i=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,r.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("closeColorHex"),s("closeColorPalette"));return[{id:"toolbarCloseButtonIcon",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Icon")},position:70,options:[{id:"toolbarCloseButtonIconTabs",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,n.t)("Icon"),options:[{id:"closeHorizontalPosition",label:(0,n.t)("Lateral"),type:"slider-dev",config:{min:0,max:50,units:[{title:"px",value:"px"}]}},{id:"closeVerticalPosition",label:(0,n.t)("Vertical"),type:"slider-dev",config:{min:0,max:50,units:[{title:"px",value:"px"}]}},{id:"groupCloseSize",type:"group-dev",options:[{id:"closeSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"closeCustomSize",type:"slider-dev",disabled:"custom"!==s("closeSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"closeBgSize",label:(0,n.t)("Size"),type:"slider-dev",config:{min:0,max:30,units:[{title:"px",value:"px"}]}},{id:"groupCloseBorderRadiusShape",type:"group-dev",options:[{id:"closeBorderRadiusShape",label:(0,n.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"closeBorderRadius",type:"slider-dev",disabled:"custom"!==s("closeBorderRadiusShape"),config:{min:0,max:50,units:[{title:"px",value:"px"}]}}]}]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(c,s("closeColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,n.t)("Icon"),options:[{id:"closeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"closeBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},42086:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),n=o(81405),i=o(64985),a=o(69321),l=o(68256),s=o(24119);function c(e){let{v:t,device:o,context:c}=e;const d=e=>(0,a.defaultValueValue)({key:e,v:t,device:o}),{hex:u}=(0,l.getOptionColorHexByPalette)(d("descriptionColorHex"),d("descriptionColorPalette")),p=(0,l.getDynamicContentOption)({options:c.dynamicContent.config,type:r.DCTypes.richText,config:{iconOnly:!0}});return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"gridTypographyParagraph",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"description",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",options:[{id:"description",type:"population-dev",config:p,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(u)}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabDescription",label:(0,i.t)("Description"),options:[{id:"descriptionColor",type:"colorPicker-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"descriptionTextShadow",type:"textShadow-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"descriptionHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"gap",label:(0,i.t)("Gap"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},73914:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(24119);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{bgColorHex:s,bgColorHexOpacity:c}=t;return[{id:"toolbarShowHideButton",type:"popover-dev",config:{icon:"nc-alert",title:(0,n.t)("Alert")},position:60,options:[{id:"groupShowCloseButton",type:"group-dev",devices:"desktop",options:[{id:"closeButtonState",type:"switch-dev",label:(0,n.t)("Display Close Button")},{id:"showCloseButtonAfter",label:(0,n.t)("Delay"),type:"slider-dev",disabled:"on"!==l("closeButtonState"),config:{min:0,max:10,units:[{title:"s",value:"s"}]}}]},{id:"descriptionState",type:"switch-dev",label:(0,n.t)("Display Description"),devices:"desktop"}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,c)}}},position:70,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",states:[a.NORMAL,a.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[a.NORMAL,a.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"containerBoxShadow",type:"boxShadow-dev",states:[a.NORMAL,a.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:"px"===l("widthSuffix")?200:15,max:"px"===l("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},35652:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),n=o(81405),i=o(64985),a=o(69321),l=o(68256),s=o(24119);function c(e){let{v:t,device:o,context:c}=e;const d=e=>(0,a.defaultValueValue)({key:e,v:t,device:o}),{hex:u}=(0,l.getOptionColorHexByPalette)(d("titleColorHex"),d("titleColorPalette")),p=(0,l.getDynamicContentOption)({options:c.dynamicContent.config,type:r.DCTypes.richText,config:{iconOnly:!0}});return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,i.t)("Typography")},position:70,options:[{id:"gridTypographyParagraph",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"title",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",options:[{id:"title",type:"population-dev",config:p,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(u)}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,i.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"titleTextShadow",type:"textShadow-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"titleHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},11384:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=o(42162),n=v(o(60042)),i=v(o(27378)),a=v(o(31440)),l=v(o(36275)),s=v(o(53125)),c=v(o(67439)),d=v(o(63692)),u=o(94220),p=o(59209),f=o(68256),m=o(86022),y=v(o(14010)),g=w(o(53947)),h=o(61382),b=w(o(31130));function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const x=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"];class P extends d.default{static get componentId(){return"Audio"}static defaultValue=y.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);getResizerRestrictions(e){return{height:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight}},width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletHeight:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileHeight:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}}renderSoundCloud(e){const{url:t,autoPlay:o,showArtwork:n,likeButton:a,buyButton:l,downloadButton:c,shareButton:d,comments:u,playCounts:p,username:m,artWork:y,controlsHex:g,controlsPalette:h}=e,{hex:b}=(0,f.getOptionColorHexByPalette)(g,h),v=b.split("#")[1];return t?i.default.createElement(r.SoundCloud,{src:t,isAutoPlay:"on"===o,isVisual:"on"===n,showLikeButton:"on"===a,showBuyButton:"on"===l,showDownloadButton:"on"===c,showShareButton:"on"===d,showComments:"on"===u,showPlayCounts:"on"===p,showUsername:"on"===m,showArtwork:"on"===y,controlsColor:v,className:"brz-blocked"}):i.default.createElement(s.default,{icon:"sound-cloud"})}renderAudio(e,t,o){const{loop:a,audio:l,showCurrentTime:s,showDurationTime:c,showProgressBarTrack:d,showProgressBarVolume:f}=e,m=(0,n.default)("brz-custom-audio",(0,u.css)(`${this.constructor.componentId}-bg2`,`${this.getId()}-bg2`,(0,h.styleWrapperAudio)(e,t,o))),y=(0,n.default)("brz-audio-controls",(0,u.css)(`${this.constructor.componentId}-controls`,`${this.getId()}-controls`,(0,h.styleControls)(e,t,o))),g=(0,u.css)(`${this.constructor.componentId}-icon`,`${this.getId()}-icon`,(0,h.styleIcon)(e,t,o)),b=(0,p.customFileUrl)(l)??"";return i.default.createElement(r.Audio,{src:b,showCurrentTime:"on"===s,showDurationTime:"on"===c,showProgressBarTrack:"on"===d,showProgressBarVolume:"on"===f,classNameAudio:m,classNameControls:y,classNameIcon:g})}renderForView(e,t,o){const{type:r}=e,a=(0,n.default)({"brz-audio":"custom"===r},{"brz-soundcloud":"soundcloud"===r},(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,h.styleContent)(e,t,o)));return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(m.Wrapper,this.makeWrapperProps({className:a}),"custom"===r?this.renderAudio(e,t,o):this.renderSoundCloud(e)))}renderForEdit(e,t,o){const{type:r}=e,s=(0,n.default)({"brz-audio":"custom"===r},{"brz-soundcloud":"soundcloud"===r},(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,h.styleContent)(e,t,o)));return i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(b,g),i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(m.Wrapper,this.makeWrapperProps({className:s}),i.default.createElement(a.default,{points:x,restrictions:this.getResizerRestrictions(e),meta:this.props.meta,value:e,onChange:this.handleResizerChange},"custom"===r?this.renderAudio(e,t,o):this.renderSoundCloud(e)))))}}const C=P},53947:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Audio");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},61382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleContent:function(){return n},styleWrapperAudio:function(){return i},styleControls:function(){return a},styleIcon:function(){return l}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleSizeMinHeightPx"]},".brz &&:hover .brz-audio-progress":{standart:["cssStyleBg2Color"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-soundCloud-content":{standart:["cssStyleBorderRadius","cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover iframe":{standart:["cssStyleSizeHeight","cssStylePaddingBG"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderRadius","cssStyleBoxShadow","cssStyleBorder","cssStyleBgColor","cssStyleDisplayFlex","cssStylePaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-audio__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition","cssStyleElementVideoBgSize","cssStyleBorderRadius"]},".brz &&:hover > .brz-audio-controls > .brz-audio-current-time":{standart:["cssStyleColor"]},".brz &&:hover > .brz-audio-controls > .brz-audio-total-time":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-audio-slider:before":{standart:["cssStyleBg2Color","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleDisplayFlex","cssStyleElementMediaPadding","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}function l(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeFontSizeIcon","cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},31130:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(81263),n=o(81405),i=o(64985),a=o(69321),l=o(68256),s=o(24119),c=o(57582);function d(e){let{v:t,device:o,context:d}=e;const u=e=>(0,a.defaultValueValue)({v:t,key:e,device:o}),{hex:p}=(0,l.getOptionColorHexByPalette)(u("bgColorHex"),u("bgColorPalette")),{hex:f}=(0,l.getOptionColorHexByPalette)(u("borderColorHex"),u("borderColorPalette")),m=(0,l.getDynamicContentOption)({options:d.dynamicContent.config,type:r.DCTypes.link}),y="custom"===u("type");return[{id:"toolbarCurrentElement",type:"popover-dev",devices:"desktop",config:{icon:"nc-audio",title:(0,i.t)("Audio")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementUpload",label:(0,i.t)("Audio"),options:[{id:"url",label:(0,i.t)("Link"),type:"inputText-dev",disabled:y,placeholder:(0,i.t)("SoundCloud Link"),population:m},(0,c.toolbarElementSoundCloudStyle)({v:t,device:o,disabled:y,state:"normal"}),{id:"autoPlay",label:(0,i.t)("Autoplay"),type:"switch-dev",disabled:y}]},{id:"soundCloudAppearenceOptions",label:(0,i.t)("Appearence"),options:[{id:"artWork",label:(0,i.t)("Artwork"),type:"switch-dev",disabled:y},{id:"comments",label:(0,i.t)("Comments"),type:"switch-dev",disabled:y},{id:"playCounts",label:(0,i.t)("Play Counts"),type:"switch-dev",disabled:y},{id:"username",label:(0,i.t)("Username"),type:"switch-dev",disabled:y}]},{id:"soundCloudButtonsOptions",label:(0,i.t)("Buttons"),options:[{id:"likeButton",label:(0,i.t)("Like"),type:"switch-dev",disabled:y},{id:"buyButton",label:(0,i.t)("Buy"),type:"switch-dev",disabled:y},{id:"downloadButton",label:(0,i.t)("Download"),type:"switch-dev",disabled:y},{id:"shareButton",label:(0,i.t)("Share"),type:"switch-dev",disabled:y}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:u("bgColorOpacity")>0?(0,n.hexToRgba)(f,u("borderColorOpacity")):(0,n.hexToRgba)(p,u("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,i.t)("Icon"),options:[{id:"color",type:"colorPicker-dev",disabled:"soundcloud"===u("type"),states:[s.NORMAL,s.HOVER]}]},{id:"tabBg",label:(0,i.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBgProgress",label:(0,i.t)("Slider"),options:[{id:"bg2Color",type:"colorPicker-dev",disabled:"soundcloud"===u("type"),states:[s.NORMAL,s.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabControls",label:(0,i.t)("Controls"),options:[{id:"controls",type:"colorPicker-dev",disabled:y,config:{opacity:!1}}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===u("widthSuffix")?1e3:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}},{id:"height",label:(0,i.t)("Height"),type:"slider-dev",config:{min:40,max:300,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},52024:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return D}});const r=I(o(60042)),n=I(o(27378)),i=I(o(31440)),a=o(54668),l=I(o(36275)),s=o(62182),c=o(21407),d=I(o(1440)),u=o(10730),p=o(73948),f=I(o(67439)),m=o(81930),y=I(o(10787)),g=I(o(63692)),h=o(26989),b=I(o(22546)),v=o(97045),S=o(92213),w=o(94220),x=o(16526),P=o(98517),C=o(81842),T=o(69321),_=L(o(24119)),k=L(o(59638)),M=o(86022),O=I(o(83120)),E=L(o(10488)),B=o(3870),z=L(o(55319));function I(e){return e&&e.__esModule?e:{default:e}}function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(j=function(e){return e?o:t})(e)}function L(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=j(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const F=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"],N={width:{"%":{min:10,max:100}},height:{"%":{min:5,max:1/0}}};class D extends g.default{static get componentId(){return"Button"}static defaultValue=O.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>this.patchValue(e);renderIcon(e,t,o){const{iconName:i,iconType:a}=e,l=(0,r.default)((0,w.css)(`${this.getComponentId()}-icon`,`${this.getId()}-icon`,(0,B.styleIcon)(e,t,o)));return n.default.createElement(p.ThemeIcon,{className:l,name:i,type:a})}renderSubmit(e,t,o,a){const{cssClass:l,customClassName:s,tabsState:c,type:d}=e,u=(0,v.deviceModeSelector)(this.getReduxState()),p=_.mRead(c),f=(0,P.getCSSId)(e),y=k.mRead(l||s),g=(0,r.default)("brz-btn","brz-btn-submit",y,(0,w.css)(`${this.getComponentId()}-bg`,`${this.getId()}-bg`,(0,B.style)(e,t,o,(0,m.hasSizing)(e,u,p),u)));return n.default.createElement(M.Wrapper,{...this.makeWrapperProps({className:g}),component:"a",attributes:{...this.props.attributes,...f&&{id:f}}},(0,m.hasSizing)(e,u,p)&&"submit"!==d?n.default.createElement(i.default,{points:F,value:e,onChange:this.handleResizerChange,restrictions:N},a):a)}renderLink(e,t,o,a){const{actionClosePopup:l,customClassName:s,cssClass:c,tabsState:u}=e,p=_.mRead(u),f=(0,v.deviceModeSelector)(this.getReduxState()),y=(0,C.getLinkData)(e),g=(0,P.getCSSId)(e),h=k.mRead(c||s),b=(0,r.default)("brz-btn",h,(0,w.css)(`${this.getComponentId()}-bg`,`${this.getId()}-bg`,(0,B.style)(e,t,o,(0,m.hasSizing)(e,f,p),f)),{"brz-popup2__action-close":"action"===y.type&&"on"===l}),S={type:y.type,href:y.href,target:y.target,rel:y.rel,className:b,...g&&{id:g}};return S.onDragStart=e=>(e.preventDefault(),!1),S.draggable="false",n.default.createElement(M.Wrapper,{...this.makeWrapperProps({attributes:S,slide:y.slide}),component:d.default},(0,m.hasSizing)(e,f,p)?n.default.createElement(i.default,{points:F,value:e,onChange:this.handleResizerChange,restrictions:N},a):a)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,v.blocksDataSelector)((0,S.getStore)().getState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return n.default.createElement(y.default,e)}dvv=e=>{const t=this.getValue(),o=(0,v.deviceModeSelector)(this.getReduxState()),r=_.mRead(t.tabsState);return(0,T.defaultValueValue)({v:t,key:e,device:o,state:r})};getHoverData(e){const t=k.read(this.dvv("hoverName"))??"none",o=(0,u.makeOptionValueToAnimation)(e),{cloneableAnimationId:r}=this.props.meta,n=k.read(r)??this.getId();return{hoverName:t,options:(0,c.getHoverAnimationOptions)(o,t),animationId:n,isHidden:(0,x.isStory)(b.default.getAll())||"none"===t}}renderForEdit(e,t,o){const{type:r,iconName:i,iconType:c,customCSS:d,tabsState:u}=e,p=_.mRead(u),y=(0,v.deviceModeSelector)(this.getReduxState()),g=i&&c,b=(0,m.hasSizing)(e,y,p)&&"submit"!==r?n.default.createElement("div",{className:"brz-btn--story-container"},g&&this.renderIcon(e,t,o),n.default.createElement(a.Text,{id:"text",v:e,onChange:this.handleTextChange})):n.default.createElement(n.default.Fragment,null,g&&this.renderIcon(e,t,o),n.default.createElement(a.Text,{id:"text",v:e,onChange:this.handleTextChange})),{hoverName:w,isHidden:x,animationId:P,options:C}=this.getHoverData(e);return n.default.createElement(n.default.Fragment,null,n.default.createElement(s.HoverAnimation,{animationId:P,cssKeyframe:w,options:C,isHidden:x},n.default.createElement(f.default,this.makeToolbarPropsFromConfig2(z,E),n.default.createElement(l.default,{selectorName:this.getId(),css:d},"link"===r?this.renderLink(e,t,o,b):this.renderSubmit(e,t,o,b)))),(0,h.shouldRenderPopup)(e,(0,v.blocksDataSelector)((0,S.getStore)().getState()))&&this.renderPopups())}}},10488:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return f},getItems:function(){return m}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(81263),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(59638),f=(0,s.t)("Button"),m=e=>{let{v:t,context:o,device:a}=e;const f=(0,u.getDynamicContentOption)({options:o.dynamicContent.config,type:l.DCTypes.richText}),m=e=>(0,d.defaultValueValue)({v:t,key:e,device:a}),y=m("type"),g=(0,c.isStory)(i.default.getAll()),h=(0,p.read)(m("hoverName"))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,s.t)("Styling"),label:(0,s.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",disabled:"search"===y,tabs:[{id:"moreSettingsAdvanced",label:(0,s.t)("Advanced"),icon:"nc-cog",options:[{id:"cssID",label:(0,s.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:f,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,s.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:f,option:{id:"customClassName",type:"inputText-dev"}},{id:"hoverTransition",label:(0,s.t)("Hover Transition"),disabled:g,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]},{id:"effects",title:(0,s.t)("Effects"),label:(0,s.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"tabHover",label:(0,s.t)("Hover"),position:100,options:[{id:"hover",type:"animation-dev",disabled:g,devices:"desktop",config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(h),delay:!1}}]}]}]}]}]}},3870:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return i},styleIcon:function(){return a}});const r=o(94220),n=o(69321);function i(e,t,o,i,a){const l="submit"===("type",(0,n.defaultValueValue)({v:e,key:"type",device:a})),s={".brz &&.brz-btn:hover":{standart:["cssStyleDisplayFlex","cssStyleTypographyFontFamily","cssStyleTypographyFontWeight","cssStyleTypographyFontSize","cssStyleTypographyLineHeight","cssStyleTypographyLetterSpacing","cssStyleColor",...i&&!l?[]:["cssStyleBorder"],"cssStyleBorderRadiusType","cssStyleElementButtonBgColor","cssStyleElementButtonBgGradient","cssStyleBoxShadow","cssStylePaddingFourFields","cssStyleElementButtonIconPosition","cssStyleSizeWidth","cssStyleSizeHeightPxOnly","cssStyleElementButtonSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-btn.brz-btn-submit:hover":{standart:["cssStyleColor","cssStyleElementButtonBgColor","cssStyleElementButtonBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover:after":{standart:i||l?[]:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover > .brz-ed-box__resizer":{standart:["cssStyleDisplayFlex","cssStyleElementButtonIconPosition"]},".brz &&:hover .brz-btn--story-container":{standart:["cssStyleElementButtonBorderStory","cssStyleElementButtonIconPosition","cssStyleBorderRadiusType"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-btn--story-container:after":{standart:["cssStyleSizeHeightPercentOnly"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:s})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeFontSizeIcon","cssStyleElementButtonIconMargin","cssStyleElementButtonIconStrokeWidth"]}}})}},55319:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return y}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(64187),l=o(81405),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(24119),f=o(57582),m=o(81930),y=e=>{let{v:t,device:o,component:n}=e;const y=r.default.getAll(),g=y?.api?.collectionTypes?.loadCollectionTypes.handler,h=(0,c.isStory)(y),b=(0,c.isPopup)(y),v=Boolean(n.props.meta?.sectionPopup),S=Boolean(n.props.meta?.sectionPopup2),w=n.context,x=e=>(0,d.defaultValueValue)({v:t,key:e,device:o}),P=x("linkSource"),C=(0,m.getMaxBorderRadius)(t,o),{hex:T}=(0,u.getOptionColorHexByPalette)(x("bgColorHex"),x("bgColorPalette")),{hex:_}=(0,u.getOptionColorHexByPalette)(x("colorHex"),x("colorPalette")),k=(0,u.getDynamicContentOption)({options:w.dynamicContent.config,type:i.DCTypes.richText,config:{iconOnly:!0}}),M=x("type"),O=x("linkPopup"),E=x("fillType"),B=x("colorOpacity"),z=x("bgColorOpacity"),I="submit"===M,j="search"===M,L="custom"!==x("size"),F="custom"!==x("iconSize"),N="custom"!==x("borderRadiusType"),D=""===x("iconName")&&""===x("iconType"),R="default"===E;return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-button",title:(0,s.t)("Button")},position:20,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,s.t)("Button"),roles:["admin"],options:[{id:"sizeGroup",type:"group-dev",position:10,disabled:h,options:[{id:"size",label:(0,s.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"paddingRL",label:(0,s.t)("Width"),type:"slider-dev",disabled:I||L,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"paddingTB",label:(0,s.t)("Height"),type:"slider-dev",disabled:L,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"fillType",label:(0,s.t)("Fill"),devices:"desktop",type:"radioGroup-dev",position:20,choices:[{value:"filled",icon:"nc-circle"},{value:"outline",icon:"nc-outline"},{value:"default",icon:"nc-close"}]},{id:"borderRadiusTypeGroup",type:"group-dev",devices:"desktop",disabled:j||R,position:30,options:[{id:"borderRadiusType",label:(0,s.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"borderRadius",type:"slider-dev",disabled:N,config:{min:0,max:h?100:C,units:[{title:"px",value:"px"}]}}]}]},{id:"currentShortcodeIconTab",label:(0,s.t)("Icon"),options:[{id:"icon",label:(0,s.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},{id:"iconPosition",label:(0,s.t)("Position"),devices:"desktop",type:"radioGroup-dev",disabled:D,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"iconSizeGroup",type:"group-dev",devices:"desktop",disabled:D,options:[{id:"iconSize",label:(0,s.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:F,config:{min:1,max:100,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,s.t)("Spacing"),type:"slider-dev",devices:"desktop",roles:["admin"],disabled:D,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,s.t)("Typography")},position:70,options:[{id:"gridTypography",type:"grid-dev",className:"brz-typography-grid",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",className:"brz-typography-population",options:[{id:"text",type:"population-dev",disabled:void 0===k,config:k,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:"filled"===E?(0,l.hexToRgba)(T,z):(0,l.hexToRgba)(_,B)}}},roles:["admin"],position:80,options:[{id:"tabsColor",className:"",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,s.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[p.NORMAL,p.HOVER],disabled:"filled"!==E}]},{id:"tabText",label:(0,s.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[p.NORMAL,p.HOVER]}]},{id:"tabBorder",label:(0,s.t)("Border"),options:[{id:"border",type:"border-dev",states:[p.NORMAL,p.HOVER],disabled:R}]},{id:"tabBoxShadow",label:(0,s.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[p.NORMAL,p.HOVER],disabled:R}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,s.t)("Link")},devices:"desktop",disabled:I||j,position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"page",label:(0,s.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!g,label:(0,s.t)("Type"),devices:"desktop",choices:{load:()=>(0,a.getCollectionTypes)(y),emptyLoad:{title:(0,s.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,s.t)("Find Page"),devices:"desktop",disabled:!P,config:{postType:P}}]},{id:"external",label:(0,s.t)("URL"),options:[(0,f.toolbarLinkExternal)({v:t,config:w.dynamicContent.config}),{id:"linkExternalBlank",label:(0,s.t)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:(0,s.t)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:(0,s.t)("Block"),options:[(0,f.toolbarLinkAnchor)({v:t,disabled:b||h})]},{id:"popup",label:(0,s.t)("Popup"),options:[{id:"linkPopup",disabled:v||S||b||h,type:"promptAddPopup",label:(0,s.t)("Popup"),popupKey:`${n.getId()}_${O}`,value:{value:O,popups:x("popups")},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]},{id:"story",label:(0,s.t)("Slides"),options:[{id:"linkToSlide",type:"number-dev",label:(0,s.t)("Slide"),disabled:!h,config:{min:1,max:1e6}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:I||j,roles:["admin"],position:110,icon:"nc-cog",devices:"desktop",title:(0,s.t)("Settings")}]}},81930:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{hasSizing:function(){return c},getMaxBorderRadius:function(){return d}});const r=o(72833),n=o(78438),i=o(73904),a=o(98610),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(4645));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=(e,t,o)=>["width","height"].map((r=>(0,a.defaultValueValue)({v:e,key:r,device:t,state:o}))).map(i.read).every(n.isNumber),d=(e,t)=>{const o=o=>(0,a.defaultValueValue)({v:e,key:o,device:t}),n=l.read(o("paddingTop"))??14,i=l.read(o("iconCustomSize"))??16,s=l.read(o("tempBorderWidth"))??2,c=o("fontStyle"),{fontSize:d,lineHeight:u}=""===c?e:(0,r.getFontStyle)(c)||e,p=d*u>=i?d*u:i;return Math.round((p+2*n+2*s)/2)}},17607:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=g(o(60042)),n=o(42162),i=g(o(27378)),a=g(o(31440)),l=g(o(53125)),s=g(o(67439)),c=o(94220),d=g(o(63692)),u=o(86022),p=g(o(26718)),f=b(o(56648)),m=o(77150),y=b(o(86338));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const v=["centerLeft","centerRight","topCenter","bottomCenter"],S={width:{px:{min:320,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}};class w extends d.default{static get componentId(){return"Calendly"}static defaultValue=p.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{link:d}=e,p=(0,r.default)("brz-calendly",(0,c.css)(this.getComponentId(),this.getId(),(0,m.style)(e,t,o)));return i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(y,f),i.default.createElement(u.Wrapper,this.makeWrapperProps({className:p}),i.default.createElement(a.default,{points:v,restrictions:S,meta:this.props.meta,value:e,onChange:this.handleResizerChange},d?i.default.createElement(n.Calendly,{link:d}):i.default.createElement(l.default,{icon:"calendly"}))))}renderForView(e,t,o){const{link:n}=e,a=(0,r.default)("brz-calendly",(0,c.css)(this.getComponentId(),this.getId(),(0,m.style)(e,t,o)));return i.default.createElement(u.Wrapper,{...this.makeWrapperProps({className:a}),attributes:{"data-url":n}},!n&&i.default.createElement(l.default,{icon:"calendly"}))}}const x=w},56648:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",devices:"desktop",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",devices:"desktop",disabled:!0},{id:"calendlyPadding",type:"padding-dev",devices:"desktop",label:(0,r.t)("Padding"),position:50}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",devices:"responsive",disabled:!0},{id:"calendlyPadding",type:"padding-dev",devices:"responsive",label:(0,r.t)("Padding"),position:50}]}]}]}},77150:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleSizeHeightPxOnly"]},".brz &&:hover .calendly-inline-widget":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleBorder","cssStyleBoxShadow","cssStyleElementCalendlyPadding"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},86338:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81405),a=o(64985),l=o(16526),s=o(69321),c=o(24119);function d(e){let{v:t,device:o}=e;const n=e=>(0,s.defaultValueValue)({v:t,key:e,device:o});return[{id:"toolbarCalendly",type:"popover-dev",position:90,devices:"desktop",config:{icon:"nc-calendly",title:(0,a.t)("Calendly")},options:[{id:"link",type:"inputText-dev",label:(0,a.t)("Link"),placeholder:"https://calendly.com/user/event"}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(n("bgColorHex"),n("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,a.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabLine",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[c.NORMAL,c.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",position:110,config:{icon:"nc-cog",title:(0,a.t)("Settings")},options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===n("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,a.t)("Height"),type:"slider-dev",config:{min:150,max:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"sidebarTabsButton-dev",disabled:!(0,l.isStory)(r.default.getAll()),position:110}]}},14232:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n={getItems:()=>[{id:"main",type:"group",title:(0,r.t)("Carousel"),icon:"nc-carousel",disabled:(e,t)=>t.isInSubMenu,items:[]}]}},78365:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(67439),n=o(16957),i=o(64985),a="MacOS"===(0,n.detectOS)(),l=e=>a?e?"alt":"⌘":e?"alt":"ctrl",s=e=>({getItems:c(e)}),c=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),s=n&&"Row"!==n.type;return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + C"},onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + V"},inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + ⇧ + V"},inactive:!s,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + D"},onChange(){o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:e=>{let{isInSubMenu:t}=e;return(e=>a?e?"alt + delete":"⌘ + delete":e?"alt + delete":"ctrl + delete")(t)},onChange(){(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},9365:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=b(o(60042)),n=b(o(27378)),i=o(10301),a=b(o(39552)),l=b(o(36275)),s=b(o(63692)),c=o(94220),d=o(89787),u=b(o(14232)),p=b(o(29533)),f=b(o(86084)),m=S(o(92264)),y=o(48073),g=S(o(70142)),h=S(o(43359));function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class w extends s.default{static get componentId(){return"Carousel"}static defaultValue=p.default;static defaultProps={extendParentToolbar:i.noop};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(h,m,{allowExtend:!1});this.props.extendParentToolbar(e)}shouldComponentUpdate(e){return this.optionalSCU(e)}handleValueChange(e,t){0===e.items.length?this.selfDestruct():super.handleValueChange(e,t)}getMeta(e){const{meta:t}=this.props,{slidesToShow:o,sliderPaddingType:r,sliderPadding:n,sliderPaddingSuffix:i,sliderPaddingLeft:a,sliderPaddingLeftSuffix:l,sliderPaddingRight:s,sliderPaddingRightSuffix:c,tabletSlidesToShow:u,tabletSliderPaddingType:p,tabletSliderPadding:f,tabletSliderPaddingSuffix:m,tabletSliderPaddingLeft:y,tabletSliderPaddingLeftSuffix:g,tabletSliderPaddingRight:h,tabletSliderPaddingRightSuffix:b,mobileSliderPaddingType:v,mobileSliderPadding:S,mobileSliderPaddingSuffix:w,mobileSliderPaddingLeft:x,mobileSliderPaddingLeftSuffix:P,mobileSliderPaddingRight:C,mobileSliderPaddingRightSuffix:T}=e,_="grouped"===r?(0,d.percentageToPixels)(2*n,i,t.desktopW):(0,d.percentageToPixels)(a,l,t.desktopW)+(0,d.percentageToPixels)(s,c,t.desktopW),k="grouped"===p?(0,d.percentageToPixels)(2*f,m,t.tabletW):(0,d.percentageToPixels)(y,g,t.tabletW)+(0,d.percentageToPixels)(h,b,t.tabletW),M="grouped"===v?(0,d.percentageToPixels)(2*S,w,t.mobileW):(0,d.percentageToPixels)(x,P,t.mobileW)+(0,d.percentageToPixels)(C,T,t.mobileW),O=t.desktopW-_,E=t.tabletW-k,B=t.mobileW-M;return{...t,desktopW:Math.round(O/o),desktopWNoSpacing:Math.round(t.desktopWNoSpacing/o),tabletW:Math.round(E/u),tabletWNoSpacing:Math.round(t.tabletWNoSpacing/u),mobileW:Math.round(B),mobileWNoSpacing:t.mobileWNoSpacing,inCarousel:!0,inGrid:!1}}renderForEdit(e,t,o){const{slidesToShow:i,slidesToScroll:s,sliderArrows:d,sliderAutoPlay:p,sliderAutoPlaySpeed:m,sliderDots:h,swipe:b,dynamic:v,columns:S,taxonomy:w,taxonomyId:x,orderBy:P,order:C,tabletSlidesToShow:T,customCSS:_}=e,k=(0,r.default)("brz-carousel",(0,c.css)(this.getComponentId(),this.getId(),(0,y.style)(e,t,o))),M=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(g,null,{allowExtend:!1,allowExtendFromThirdParty:!0}),className:k,meta:this.getMeta(e),slidesToShow:i,slidesToScroll:s,sliderArrows:d,sliderAutoPlay:p,sliderAutoPlaySpeed:m,sliderDots:h,swipe:b,dynamic:v,columns:S,taxonomy:w,taxonomyId:x,orderBy:P,order:C,tabletSlidesToShow:T});return n.default.createElement(l.default,{selectorName:this.getId(),css:_},n.default.createElement(a.default,this.makeContextMenuProps(u.default),n.default.createElement(f.default,M)))}}const x=w},97575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),n=g(o(27378)),i=g(o(31542)),a=g(o(35301)),l=o(39552),s=g(o(24072)),c=g(o(49127)),d=o(73948),u=o(67439),p=g(o(10787)),f=o(64985),m=g(o(78365)),y=o(38311);function g(e){return e&&e.__esModule?e:{default:e}}const h=e=>{let{className:t,extraClassName:o,onClick:i,icon:a}=e;return n.default.createElement("div",{className:(0,r.default)(t,o),onClick:i},n.default.createElement(d.ThemeIcon,{name:a,type:"editor"}))};class b extends p.default{static get componentId(){return"Carousel.Items"}static defaultProps={containerClassName:"",dynamic:"off",taxonomy:"",taxonomyId:"",orderBy:"",order:"",slidesToShow:2,slidesToScroll:1,sliderArrows:"none",sliderDots:"none",meta:{}};slider=null;reopenOnIndex=null;toolbarRef=n.default.createRef();openSlideId=null;componentDidMount(){(0,y.setDataSortable)(this.slider)}componentDidUpdate(e){const{slidesToShow:t,slidesToScroll:o}=this.props;t===e.slidesToShow&&o===e.slidesToScroll||(0,y.setDataSortable)(this.slider),this.toolbarRef.current&&(this.openSlideId=setTimeout((()=>{this.toolbarRef.current.show(),this.reopenOnIndex=null,this.toolbarRef.current=null}),250))}componentWillUnmount(){clearTimeout(this.openSlideId)}handleRefSlider=e=>{this.slider=i.default.findDOMNode(e)};handleSliderAfterChange=()=>{(0,y.setDataSortable)(this.slider)};handleValueChange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{arrayOperation:o}=t,r="insert"===o||"remove"===o,n=r?(0,y.normalizeCarouselColumns)(e):e;r&&(0,y.setDataSortable)(this.slider),super.handleValueChange(n,t)}handleSortableAcceptElements=(e,t)=>{if("addable"===e.elementType&&"row"===e.elementNode.getAttribute("data-sortable-subtype"))return!1;const o=e.sortableNode===t.sortableNode,r=-1!==["column","shortcode","addable"].indexOf(e.elementType);return o||r};addColumn=e=>{const t=this.getValue(),o={...t[e-1],value:{...t[e-1].value,items:[]}};this.insertItem(e,o)};getParentRef=e=>{const t=e?.closest(".slick-active");if(t)return this.toolbarRef};getItemProps(e,t,o){let{meta:r,slidesToShow:n,dynamic:i,toolbarExtend:a}=this.props;if("off"===i){const e={getItemsForDesktop:()=>[{id:"emptyItem",type:"button",icon:"nc-add",title:(0,f.t)("Add New Column"),position:100,onChange:()=>{this.addColumn(t+1)}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,f.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"order",type:"order-dev",devices:"desktop",position:95,roles:["admin"],disabled:o.length<2,config:{disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reopenOnIndex=t-1,this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1),this.reopenOnIndex=t+1}}}},...o.length>n?[{id:"remove",type:"button",title:(0,f.t)("Delete"),icon:"nc-trash",position:250,onChange:()=>{(0,u.hideToolbar)(),this.removeItem(t)}}]:[]],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};a=this.makeToolbarPropsFromConfig(e)}return{meta:r,toolbarExtend:a,...this.reopenOnIndex===t&&{getParentRef:this.getParentRef}}}renderItemWrapper(e,t,o){const r=(0,m.default)(o);return n.default.createElement(l.ContextMenuExtend,{key:t,...this.makeContextMenuProps(r)},n.default.createElement(s.default,{keyNames:["ctrl+M","alt+N","ctrl+N","cmd+N","right_cmd+N","alt+D","alt+C","alt+V","alt+shift+V","shift+alt+V","alt+del","alt+up","alt+down"],shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","verticalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderSlider(e){const{slidesToShow:t,slidesToScroll:o,sliderArrows:r,sliderAutoPlay:i,sliderAutoPlaySpeed:l,sliderDots:s,swipe:c,tabletSlidesToShow:d}=this.props;return n.default.createElement(a.default,{ref:this.handleRefSlider,className:"brz-carousel__slider",slidesToShow:t,slidesToScroll:o,swipe:!1,draggable:!1,accessibility:!1,arrows:"none"!==r,useTransform:!1,speed:500,nextArrow:n.default.createElement(h,{icon:`right-arrow-${r}`,extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-next"}),prevArrow:n.default.createElement(h,{icon:`right-arrow-${r}`,extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-prev"}),dots:"none"!==s,dotsClass:`brz-slick-slider__dots brz-slick-slider__dots--${s}`,responsive:[{breakpoint:991,settings:{slidesToShow:d,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1}}],afterChange:this.handleSliderAfterChange},e)}renderForEdit(e){const{className:t,dynamic:o,columns:r}=this.props;let i="on"===o?Array(r).fill(super.renderForEdit(e.slice(0,1))):super.renderForEdit(e);return n.default.createElement(c.default,{path:this.getId(),type:"carousel",acceptElements:this.handleSortableAcceptElements},n.default.createElement("div",{className:t},this.renderSlider(i)))}}const v=b},86084:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=o(4922),i=o(9644),a=l(o(97575));function l(e){return e&&e.__esModule?e:{default:e}}class s extends a.default{renderForView(e){const{className:t,style:o,dynamic:a,taxonomy:l,taxonomyId:s,order:c,orderBy:d}=this.props;let u=("on"===a?e.slice(0,1):e).map(this.renderItem);const[p]=l.split("|");if("on"===a){const e=(0,n.stringifyAttributes)({query:{tax_query:{0:{taxonomy:p,field:"id",terms:s}},posts_per_page:-1,orderby:d,order:c}}),t=(0,i.makeStartPlaceholder)({content:"{{brizy_dc_post_loop}}",attrStr:e}),o=(0,i.makeEndPlaceholder)({content:"{{end_brizy_dc_post_loop}}"});u=r.default.createElement(r.default.Fragment,null,t,u,o)}return r.default.createElement("div",{className:t,style:o},this.renderSlider(u))}}},92264:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Carousel"),i=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",disabled:!0},{id:"sliderPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50},{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),position:10,options:[{id:"padding",type:"padding-dev",disabled:!0},{id:"sliderPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"desktop",position:50}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:'\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

'},placeholder:"element { CSS goes here }"}]}]}]}]}]},48073:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-carousel__slider":{standart:["cssStyleElementCarouselPaddingLeftRight"]},".brz && .brz-carousel__slider .slick-list":{standart:["cssStyleElementCarouselMarginPadding"]},".brz && .brz-carousel__slider .slick-list .slick-track .slick-slide":{standart:["cssStyleElementCarouselSpacing"]},".brz && .brz-carousel__slider .brz-slick-slider__dots":{standart:["cssStyleElementCarouselColorDots"]},".brz && .brz-carousel__slider .brz-slick-slider__arrow":{standart:["cssStyleElementCarouselColorArrow"]},".brz && .brz-carousel__slider .brz-slick-slider__arrow-prev":{standart:["cssStyleElementCarouselPrev"]},".brz && .brz-carousel__slider .brz-slick-slider__arrow-next":{standart:["cssStyleElementCarouselNext"]}}})}},70142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(67439),n=o(64985),i=o(69321);function a(e){let{v:t,device:o}=e;const a=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),l=a("columns"),s=a("slidesToShow");return[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,n.t)("Duplicate"),roles:["admin"],position:200,onChange:()=>({columns:++t.columns})},...l>s&&"desktop"===o?[{id:"remove",type:"button",devices:"desktop",title:(0,n.t)("Delete"),roles:["admin"],icon:"nc-trash",position:250,onChange:()=>((0,r.hideToolbar)(),{columns:--t.columns})}]:[]]}},43359:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81405),a=o(64985),l=o(69321),s=o(68256);function c(e){let{v:t,device:o}=e;const n=e=>(0,l.defaultValueValue)({key:e,v:t,device:o,state:"normal"}),{hex:c}=(0,s.getOptionColorHexByPalette)(n("sliderArrowsColorHex"),n("sliderArrowsColorPalette")),d=[{title:(0,a.t)("None"),icon:{name:"nc-none"},value:"none"},{title:(0,a.t)("Thin"),icon:{name:"nc-right-arrow-thin"},value:"thin"},{title:(0,a.t)("Heavy"),icon:{name:"nc-right-arrow-heavy"},value:"heavy"},{title:(0,a.t)("Tail"),icon:{name:"nc-right-arrow-tail"},value:"tail"},{title:(0,a.t)("Round"),icon:{name:"nc-right-arrow-filled"},value:"filled"},{title:(0,a.t)("Outline"),icon:{name:"nc-right-arrow-outline"},value:"outline"}],u=Boolean(r.default.get("wp"));return[{id:"toolbarCarousel",type:"popover-dev",config:{icon:"nc-carousel",title:(0,a.t)("Carousel")},position:70,options:[{id:"toolbarCarouselTabs",type:"tabs-dev",tabs:[{id:"carousel",label:(0,a.t)("Carousel"),options:[{id:"groupSettings",type:"group-dev",devices:"desktop",options:[{id:"sliderAutoPlay",label:(0,a.t)("Autoplay"),type:"switch-dev"},{id:"sliderAutoPlaySpeed",label:(0,a.t)("Speed"),type:"slider-dev",disabled:"on"!==n("sliderAutoPlay"),config:{min:1,max:6,units:[{value:"s",title:"s"}]}}]},{id:"slidesToShow",label:(0,a.t)("Columns"),type:"slider-dev",disabled:"mobile"===o,config:{min:1,max:6}},{id:"spacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"sliderArrowsSpacing",label:(0,a.t)("Arrows Spacing"),type:"slider-dev",disabled:"none"===n("sliderArrows"),devices:"responsive",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"navigation",label:(0,a.t)("Navigation"),options:[{id:"groupSettings",type:"group-dev",devices:"desktop",options:[{id:"sliderArrows",label:(0,a.t)("Arrows"),type:"select-dev",choices:d},{id:"sliderArrowsSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",disabled:"none"===n("sliderArrows"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"sliderDots",label:(0,a.t)("Dots"),type:"select-dev",devices:"desktop",choices:[{title:(0,a.t)("None"),icon:{name:"nc-none"},value:"none"},{title:(0,a.t)("Circle"),icon:{name:"nc-circle-outline"},value:"circle"},{title:(0,a.t)("Diamond"),icon:{name:"nc-diamond-outline"},value:"diamond"},{title:(0,a.t)("Square"),icon:{name:"nc-square-outline"},value:"square"}]}]}]}]},{id:"dynamicToolbarCarousel",type:"popover-dev",config:{icon:"nc-dynamic",title:(0,a.t)("Dynamic Content")},devices:"desktop",disabled:!u,position:80,options:[{id:"dynamic",label:(0,a.t)("Dynamic Content"),type:"switch-dev",devices:"desktop"},{id:"taxonomy",label:(0,a.t)("Categories"),disabled:"off"===n("dynamic"),devices:"desktop",type:"select-dev",choices:(0,s.getTaxonomies)().flatMap((e=>e.optgroup)),dependencies:e=>{let{taxonomy:t}=e;const[,o]=t.split("|");return{taxonomy:t,taxonomyId:o}}},{id:"orderBy",label:(0,a.t)("Filter By"),devices:"desktop",disabled:"off"===n("dynamic"),type:"select-dev",choices:[{title:(0,a.t)("ID"),value:"ID"},{title:(0,a.t)("Title"),value:"title"},{title:(0,a.t)("Date"),value:"date"},{title:(0,a.t)("Random"),value:"rand"},{title:(0,a.t)("Comment Count"),value:"comment_count"}]},{id:"order",label:(0,a.t)("Order"),type:"radioGroup-dev",devices:"desktop",disabled:"off"===n("dynamic"),choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(c,n("sliderArrowsColorOpacity"))}}},position:90,devices:"desktop",options:[{id:"colorTabs",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"arrows",label:(0,a.t)("Arrows"),options:[{id:"sliderArrowsColor",type:"colorPicker-dev"}]},{id:"dots",label:(0,a.t)("Dots"),options:[{id:"sliderDotsColor",type:"colorPicker-dev",disabled:"off"===n("slider")}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,a.t)("More Settings"),position:110,title:(0,a.t)("Settings"),devices:"desktop",icon:"nc-cog"}]}},38311:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{setDataSortable:function(){return n},normalizeCarouselColumns:function(){return i}});const r=o(70634),n=e=>{e&&e.querySelectorAll(".slick-slide").forEach((e=>{e.dataset.sortableDisabled=e.attributes["aria-hidden"].value}))},i=e=>e.map((e=>(0,r.setIn)(e,["value","width"],100)))},55120:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(95664))&&n.__esModule?n:{default:n};var n;const i=o(64985),a={Button:(0,i.t)("Button"),Icon:(0,i.t)("Icon")},l={getItems:function(e){const{essentials:t}=r.default.getShortcodes(),{icon:o=""}=t.find((t=>t.component.resolve.value.items?.type===e[0].type))||{};return[{id:"main",type:"group",title:a[e[0].type],icon:o,items:[]}]}}},62153:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),n=o(16957),i=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,n.detectOS)(),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a=n&&n.type===t[e].type;return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!a,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!a,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},33450:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return B}});const r=M(o(60042)),n=M(o(27378)),i=M(o(10301)),a=M(o(45771)),l=M(o(80544)),s=o(16874),c=M(o(63692)),d=o(5312),u=o(1621),p=o(97045),f=o(92213),m=o(94220),y=o(89787),g=o(98517),h=o(69321),b=E(o(71162)),v=o(94306),S=o(66559),w=E(o(24119)),x=o(48499),P=M(o(86114)),C=M(o(64654)),T=E(o(55083)),_=o(51386),k=E(o(47747));function M(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(O=function(e){return e?o:t})(e)}function E(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=O(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class B extends c.default{static get componentId(){return"Cloneable"}static defaultProps={className:"",customID:"",showBorder:!0,meta:{}};static defaultValue=P.default;static experimentalDynamicContent=!0;containerBorder=n.default.createRef();shouldComponentUpdate(e){return this.optionalSCU(e)}handleValueChange(e,t){0===e.items.length?this.selfDestruct():super.handleValueChange(e,t)}handleDraggable=e=>{let{x:t,y:o}=e;const r=this.getValue(),n=w.mRead(r.tabsState),i=(0,p.deviceModeSelector)((0,f.getStore)().getState()),a=(e,t)=>({[(0,h.defaultValueKey)({key:e,device:i,state:n})]:t});this.patchValue(b.setHOffset(a,t,b.setVOffset(a,o,{})))};handleSortableStart=()=>{this.containerBorder.current&&this.containerBorder.current.setActive(!0)};handleSortableEnd=()=>{this.containerBorder.current&&this.containerBorder.current.setActive(!1)};dvv=e=>{const t=this.getValue(),o=(0,p.deviceModeSelector)((0,f.getStore)().getState()),r=w.mRead(t.tabsState);return(0,h.defaultValueValue)({v:t,key:e,device:o,state:r})};getMeta(e){const{horizontalAlign:t,tabletHorizontalAlign:o,mobileHorizontalAlign:r}=e,{meta:n}=this.props,{w:a,wNoSpacing:l}=(0,y.getWrapperContainerW)({v:e,w:n.desktopW,wNoSpacing:n.desktopWNoSpacing,device:S.DESKTOP}),{w:s,wNoSpacing:c}=(0,y.getWrapperContainerW)({v:e,w:n.tabletW,wNoSpacing:n.tabletWNoSpacing,device:S.TABLET}),{w:d,wNoSpacing:u}=(0,y.getWrapperContainerW)({v:e,w:n.mobileW,wNoSpacing:n.mobileWNoSpacing,device:S.MOBILE});return i.default.extend({},n,{desktopW:a,desktopWNoSpacing:l,tabletW:s,tabletWNoSpacing:c,mobileW:d,mobileWNoSpacing:u,horizontalAlign:t,tabletHorizontalAlign:o,mobileHorizontalAlign:r,inCloneable:!0,cloneableAnimationId:this.getId()})}getAnimationClassName=(e,t,o)=>{if(!(0,h.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,m.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,_.styleAnimation)(e,t,o)))};renderContent(e,t,o){const{className:i,itemClassName:a}=e,l=(0,r.default)("brz-d-xs-flex brz-flex-xs-wrap",(0,m.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,_.styleContainer)(e,t,o)),i),c=(0,r.default)("brz-wrapper-clone__item",a),{minItems:d,maxItems:u,blockType:p}=e,f=(0,s.makeOptionValueToMotion)(e),y=this.makeSubcomponentProps({blockType:p,minItems:d,maxItems:u,motion:f,bindWithKey:"items",containerClassName:l,itemClassName:c,meta:this.getMeta(e),toolbarExtend:this.makeToolbarPropsFromConfig2(k,T),onSortableStart:this.handleSortableStart,onSortableEnd:this.handleSortableEnd});return n.default.createElement(C.default,y)}containerSize=()=>{const e=this.getValue(),t=(0,p.deviceModeSelector)((0,f.getStore)().getState()),o=this.getMeta(e),r=window.innerWidth,n=window.innerHeight;return(0,u.getContainerSizes)(e,t,o,r,n)};renderForEdit(e,t,o){const{showBorder:i,propsClassName:s}=this.props,{customClassName:c,cssClass:u,customAttributes:p}=e,f=(0,g.getCSSId)(e),y=this.getAnimationClassName(e,t,o),h=(0,r.default)("brz-wrapper-clone",(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,_.style)(e,t,o)),u||c,s),S="relative"===b.getPosition(this.dvv);return i?n.default.createElement(d.Draggable,{active:!S,onChange:this.handleDraggable,hAlign:b.getHAlign(this.dvv)??"left",vAlign:b.getVAlign(this.dvv)??"top",xSuffix:b.getHUnit(this.dvv)??"px",ySuffix:b.getVUnit(this.dvv)??"px",getValue:()=>({x:b.getHOffset(this.dvv)??0,y:b.getVOffset(this.dvv)??0}),getContainerSizes:this.containerSize},((i,s)=>n.default.createElement(l.default,{ref:this.containerBorder,type:"wrapper__clone",color:"grey",borderStyle:"dotted"},(l=>{let{ref:c,attr:d,border:u}=l;return n.default.createElement(a.default,{ref:e=>{(0,v.attachRef)(e,c),(0,v.attachRef)(e,i||null)},component:"div",componentProps:{...(0,x.parseCustomAttributes)(p),...d,...f&&{id:f},className:(0,r.default)(h,s)},animationId:this.getId(),animationClass:y},this.renderContent(e,t,o),u)})))):n.default.createElement(d.Draggable,{active:!S,onChange:this.handleDraggable,hAlign:b.getHAlign(this.dvv)??"left",vAlign:b.getVAlign(this.dvv)??"top",xSuffix:b.getHUnit(this.dvv)??"px",ySuffix:b.getVUnit(this.dvv)??"px",getValue:()=>({x:b.getHOffset(this.dvv)??0,y:b.getVOffset(this.dvv)??0})},((s,c)=>n.default.createElement(a.default,{ref:s,component:"div",componentProps:{...(0,x.parseCustomAttributes)(p),...f&&{id:f},className:(0,r.default)(h,c)},animationId:this.getId(),animationClass:y},i?n.default.createElement(l.default,{ref:this.containerBorder,color:"grey",borderStyle:"dotted"},this.renderContent(e,t,o)):this.renderContent(e,t,o))))}renderForView(e,t,o){const{customClassName:i,cssClass:l,customAttributes:s}=e,{propsClassName:c,meta:{sectionPopup:d,sectionPopup2:u}}=this.props,p=(0,g.getCSSId)(e),f=this.getAnimationClassName(e,t,o),y=(0,r.default)("brz-wrapper-clone",(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,_.style)(e,t,o)),l||i,c);return n.default.createElement(a.default,{iterationCount:d||u?1/0:1,component:"div",componentProps:{...(0,x.parseCustomAttributes)(s),...p&&{id:p},className:y},animationId:this.getId(),animationClass:f},this.renderContent(e,t,o))}}},64654:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(27378)),n=g(o(60042)),i=g(o(10787)),a=o(91435),l=g(o(24072)),s=g(o(49127)),c=o(76742),d=o(67439),u=o(94306),p=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(39552)),f=g(o(55120)),m=g(o(62153)),y=o(64985);function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}class b extends i.default{static get componentId(){return"Cloneable.Items"}static defaultProps={blockType:"div",containerClassName:"",itemClassName:"",minItems:0,maxItems:9999,toolbarExtend:null,meta:{},itemProps:{},motion:void 0};getItemProps(e,t,o){const r={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,y.t)("Duplicate"),devices:"desktop",position:200,roles:["admin"],onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,y.t)("Delete"),devices:"desktop",position:250,roles:["admin"],onChange:()=>{(0,d.hideToolbar)(),this.removeItem(t)}}]},n=this.makeToolbarPropsFromConfig2(r);return{...this.props.itemProps,meta:this.props.meta,toolbarExtend:n}}renderItemsContainerDiv(e,t,o){const{motion:i,containerClassName:l}=this.props;return r.default.createElement(a.ScrollMotion,{options:i},((i,a)=>r.default.createElement("div",{...o,...a?.options,ref:e=>{(0,u.attachRef)(e,t),(0,u.attachRef)(e,i)},className:(0,n.default)(l,a?.class)},e)))}renderItemsContainerList(e,t,o){const{motion:i,containerClassName:l}=this.props;return r.default.createElement(a.ScrollMotion,{options:i},((i,a)=>r.default.createElement("ul",{...o,...a?.options,ref:e=>{(0,u.attachRef)(e,t),(0,u.attachRef)(e,i)},className:(0,n.default)("brz-ul brz-list",l,a?.class)},e)))}renderItemsContainer(e){const{blockType:t,onSortableStart:o,onSortableEnd:n}=this.props;return r.default.createElement(s.default,{path:this.getId(),type:"cloneable",acceptElements:null,onStart:o,onEnd:n},((o,r)=>"div"===t?this.renderItemsContainerDiv(e,o,r):this.renderItemsContainerList(e,o,r)))}renderItemWrapperDiv(e,t,o){const{itemClassName:n,meta:{inIconText:i}}=this.props,a=(0,m.default)(o);let s=r.default.createElement(c.SortableElement,{key:t,type:"shortcode"},r.default.createElement("div",{className:n,id:t},e));if(!i){const e=["duplicate","copy","paste","pasteStyles","delete","showToolbar"];s=r.default.createElement(p.ContextMenuExtend,{key:t,...this.makeContextMenuProps(a)},r.default.createElement(p.default,this.makeContextMenuProps(f.default),r.default.createElement(l.default,{shortcutsTypes:e,id:t,onKeyDown:this.handleKeyDown},s)))}return s}renderItemWrapperList(e,t,o){const{itemClassName:i,meta:{inIconText:a}}=this.props,s=(0,n.default)("brz-li brz-list__item",i),d=(0,m.default)(o);let u=r.default.createElement(c.SortableElement,{type:"shortcode"},r.default.createElement("li",{key:t,className:s},e));if(!a){const e=["duplicate","copy","paste","pasteStyles","delete","showSidebarStyling","showSidebarAdvanced"];return r.default.createElement(p.ContextMenuExtend,{key:t,...this.makeContextMenuProps(d)},r.default.createElement(p.default,this.makeContextMenuProps(f.default),r.default.createElement(l.default,{shortcutsTypes:e,id:t,onKeyDown:this.handleKeyDown},u)))}return u}renderItemWrapper(e,t,o,r,n){return"div"===this.props.blockType?this.renderItemWrapperDiv(e,t,o,r,n):this.renderItemWrapperList(e,t,o,r,n)}}const v=b},55083:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81263),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,context:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),c="relative"===s("elementPosition"),d=(0,a.getDynamicContentOption)({options:l.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),icon:"nc-styling",position:10,options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"desktop",position:50},{id:"margin",label:(0,n.t)("Margin"),type:"margin-dev",devices:"desktop",position:60},{id:"groupPosition",type:"group-dev",options:[{id:"elementPosition",label:(0,n.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,n.t)("Width"),type:"slider-dev",disabled:c,config:{min:0,max:"px"===s("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,n.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:c,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:c,config:{min:"px"===s("offsetXSuffix")?-1200:-100,max:"px"===s("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,n.t)("Vertical Offset"),type:"radioGroup-dev",disabled:c,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:c,config:{min:"px"===s("offsetYSuffix")?-1200:-100,max:"px"===s("offsetYSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}}]}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,n.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"zIndex",type:"slider-dev",position:20,label:(0,n.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"customAttributes",label:(0,n.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:d}]}]},{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),devices:"responsive",position:50},{id:"margin",label:(0,n.t)("Margin"),type:"margin-dev",devices:"responsive",position:60},{id:"groupPosition",type:"group-dev",devices:"responsive",options:[{id:"elementPosition",label:(0,n.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,n.t)("Width"),type:"slider-dev",disabled:c,config:{min:0,max:"px"===s("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,n.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:c,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:c,config:{min:"px"===s("offsetXSuffix")?-1200:-100,max:"px"===s("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,n.t)("Vertical Offset"),type:"radioGroup-dev",disabled:c,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:c,config:{min:"px"===s("offsetYSuffix")?-1200:-100,max:"px"===s("offsetYSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}}]}]},{id:"effects",title:(0,n.t)("Effects"),label:(0,n.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",position:90,label:(0,n.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},51386:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleContainer:function(){return i},styleAnimation:function(){return a}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayFlex","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrFlex|||editor","cssStyleCustomPosition","cssStyleCustomWidth","cssStyleOffset"],standart:["cssStyleZIndex","cssStylePositionRelative","cssStyleMargin"]}}})}function i(e,t,o){const n={".brz &&:hover":{standart:["cssStyleFlexHorizontalAlign","cssStylePaddingFourFields","cssStyleElementCloneableGap"]}};return n[".brz &&:hover"].interval=["cssStyleVisibleMode|||editor"],(0,r.renderStyles)({v:e,vs:t,vd:o,styles:n})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},47747:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(57582);function i(e){let{v:t,device:o}=e;return[{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]},(0,n.toolbarShowOnResponsive)({v:t,device:o,state:"normal",devices:"responsive"}),{id:"toolbarCurrentShortcode",type:"popover-dev",options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",options:[{id:"itemPadding",type:"slider-dev",label:(0,r.t)("Spacing"),roles:["admin"],position:350,config:{min:0,max:100,units:[{title:"px",value:"px"}]},disabled:1===t.items.length}]}]}]}]}},8105:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=f(o(27378)),n=f(o(33979)),i=f(o(10787)),a=f(o(49127)),l=f(o(20013)),s=o(39552),c=f(o(24072)),d=f(o(8193)),u=o(67439),p=o(64985);function f(e){return e&&e.__esModule?e:{default:e}}class m extends i.default{static get componentId(){return"Column.Items"}static defaultProps={containerClassName:"",meta:{},itemProps:{}};handleSortableAcceptElements=e=>{const{row:t}=this.props.meta;if(t&&t.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t,o){const r=(0,n.default)(this.props.meta,{column:{item:{index:t,isFirst:0===t,isLast:t===o.length-1,isOnly:1===o.length}}}),i={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,p.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,p.t)("Delete"),position:250,onChange:()=>{(0,u.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},a=this.makeToolbarPropsFromConfig(i);return{...this.props.itemProps,meta:r,toolbarExtend:a}}getAlignments(){return["top","center","bottom","between"]}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const{containerClassName:t}=this.props;return 0===e.length?r.default.createElement(l.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements}):r.default.createElement(a.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:t},e))}}const y=m},27113:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=(i=o(60042))&&i.__esModule?i:{default:i};var i;const a=o(22730);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}class s extends r.Component{state={resize:!1};handleDragStart=()=>{const{position:e,onResizeStart:t}=this.props;t(e),this.setState({resize:!0})};handleDrag=e=>{let{deltaX:t}=e;const{position:o,onResize:r}=this.props;r(t,o)};handleDragEnd=()=>{const{position:e,onResizeEnd:t}=this.props;t(e),this.setState({resize:!1})};renderPopover=()=>{const e=this.props.popoverData().reduce(((e,t,o)=>(o>0&&e.push(r.default.createElement("span",{key:`${o}-divider`,className:"brz-ed-draggable__column-popover__divider"},"/")),e.push(r.default.createElement("span",{key:`${o}-value`,className:"brz-ed-draggable__column-popover__percent"},t.toFixed(1),"%")),e)),[]);return r.default.createElement("div",{className:"brz-ed-draggable__column-popover"},e)};render(){const{position:e,color:t}=this.props,o=(0,n.default)("brz-ed-draggable__column",`brz-ed-draggable__column--${e}`,`brz-ed-draggable__column--${t}`);return r.default.createElement(a.DraggableDiv,{className:o,draggingCursor:"col-resize",onDragStart:this.handleDragStart,onDrag:this.handleDrag,onDragEnd:this.handleDragEnd},r.default.createElement("div",{className:"brz-ed-draggable__column--item"}),this.state.resize&&this.renderPopover())}}const c=s},89888:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Column"),icon:"nc-column",items:[]}]}}},8193:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),n=o(16957),i=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,n.detectOS)(),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=n&&(a||t[e].type===n.type),c=s&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:e=>{let{isInSubMenu:t}=e;return(e=>l?e?"alt + delete":"⌘ + delete":e?"alt + delete":"ctrl + delete")(t)},onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},52048:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return $}});const r=V(o(60042)),n=V(o(27378)),i=V(o(10301)),a=V(o(45771)),l=V(o(25382)),s=V(o(80544)),c=V(o(39552)),d=V(o(36275)),u=o(62182),p=o(21407),f=V(o(1440)),m=o(10730),y=o(46338),g=o(91435),h=o(16874),b=o(76742),v=V(o(58566)),S=U(o(67439)),w=V(o(10787)),x=V(o(63692)),P=o(26989),C=o(97045),T=o(92213),_=o(94220),k=o(89787),M=o(98517),O=o(81842),E=o(69321),B=o(94306),z=U(o(24119)),I=o(48499),j=U(o(59638)),L=o(68934),F=V(o(8105)),N=V(o(27113)),D=V(o(89888)),R=V(o(77980)),A=U(o(26790)),H=o(48154),W=U(o(21581));function V(e){return e&&e.__esModule?e:{default:e}}function G(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(G=function(e){return e?o:t})(e)}function U(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=G(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class q extends x.default{static get componentId(){return"Column"}static defaultProps={meta:{},popoverData:[],onResizeStart:i.default.noop,onResize:i.default.noop,onResizeEnd:i.default.noop};static defaultValue=R.default;static experimentalDynamicContent=!0;containerBorderRef=n.default.createRef();toolbarRef=n.default.createRef();shouldComponentUpdate(e){const{meta:t,tabletReversed:o,mobileReversed:r}=this.props,n=e.mobileReversed!==r||e.tabletReversed!==o,{index:i}=this.props.meta.row?.item??{},{index:a}=e.meta.row?.item??{},l=i!==a;return t.posts||t.inCarousel||n||this.optionalSCU(e)||l}handleResizeStart=e=>{this.containerBorderRef.current&&this.containerBorderRef.current.setActive(!0),this.props.onResizeStart(e)};handleResize=(e,t)=>{this.props.onResize(e,t)};handleResizeEnd=e=>{this.containerBorderRef.current&&this.containerBorderRef.current.setActive(!1),this.props.onResizeEnd(e)};handleToolbarEscape=()=>{this.toolbarRef.current.show()};getMeta(e){const{verticalAlign:t,tabletVerticalAlign:o,mobileVerticalAlign:r}=e,{meta:n}=this.props,a=(0,L.styleSizeWidth)({v:e,device:"desktop"}),l=(0,L.styleSizeWidth)({v:e,device:"tablet"}),s=(0,L.styleSizeWidth)({v:e,device:"mobile"}),{w:c,wNoSpacing:d}=(0,k.getContainerW)({v:e,width:a,w:n.desktopW,wNoSpacing:n.desktopWNoSpacing,device:"desktop"}),{w:u,wNoSpacing:p}=(0,k.getContainerW)({v:e,w:n.tabletW,wNoSpacing:n.tabletWNoSpacing,width:l,device:"tablet"}),{w:f,wNoSpacing:m}=(0,k.getContainerW)({v:e,w:n.mobileW,wNoSpacing:n.mobileWNoSpacing,width:s,device:"mobile"});return i.default.extend({},n,{column:{width:a,tabletWidth:l,mobileWidth:s,verticalAlign:t,tabletVerticalAlign:o,mobileVerticalAlign:r},desktopW:c,desktopWNoSpacing:d,tabletW:u,tabletWNoSpacing:p,mobileW:f,mobileWNoSpacing:m})}isInnerRow(){const{meta:e}=this.props;return e.row&&e.row.isInner}dvv=e=>{const t=this.getValue(),o=(0,C.deviceModeSelector)(this.getReduxState()),r=z.mRead(t.tabsState);return(0,E.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,E.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,_.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,H.styleAnimation)(e,t,o)))};getRef=e=>this.props.getParentRef?this.props.getParentRef(e?.node)??this.toolbarRef:this.toolbarRef;renderToolbar=e=>n.default.createElement(S.default,{...this.makeToolbarPropsFromConfig2(W,A),ref:e=>{(0,B.attachRef)(e,this.getRef(e))}},n.default.createElement(v.default,null,n.default.createElement(e,null)));getHoverData=e=>{const t=j.read(this.dvv("hoverName"))??"none",o=(0,m.makeOptionValueToAnimation)(e);return{hoverName:t,options:(0,p.getHoverAnimationOptions)(o,t),animationId:this.getId(),isHidden:"none"===t}};renderResizer(e){const{meta:{row:t,inGrid:o},popoverData:r}=this.props;if(!o)return null;const{isFirst:i}=t.item,a=this.isInnerRow();return i&&"left"===e?null:n.default.createElement(N.default,{popoverData:r,position:e,color:a&&o?"red":"blue",onResizeStart:this.handleResizeStart,onResize:this.handleResize,onResizeEnd:this.handleResizeEnd})}renderContent(e,t,o){const i=(0,r.default)("brz-column__items",(0,_.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,H.styleItems)(e,t,o))),a=this.makeSubcomponentProps({bindWithKey:"items",containerClassName:i,meta:this.getMeta(e)});return n.default.createElement(l.default,{value:e,meta:this.getMeta(e)},n.default.createElement(F.default,a))}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,C.blocksDataSelector)((0,T.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return n.default.createElement(w.default,e)}renderForEdit(e,t,o){const{items:i,customClassName:l,cssClass:p,customAttributes:f}=e,{meta:{inGrid:m,posts:v}}=this.props,w=(0,M.getCSSId)(e),x=this.isInnerRow(),k=(0,r.default)("brz-columns",{"brz-columns__posts":v},{"brz-columns--empty":0===i.length},(0,_.css)(`${this.constructor.componentId}-column`,`${this.getId()}-column`,(0,H.styleColumn)(e,t,o)),p||l),O=this.getAnimationClassName(e,t,o),{animationId:E,hoverName:B,options:z,isHidden:j}=this.getHoverData(e),L=n.default.createElement(g.ScrollMotion,{options:(0,h.makeOptionValueToMotion)(e),className:"brz-columns__scroll-effect"},n.default.createElement(u.HoverAnimation,{animationId:E,cssKeyframe:B,options:z,target:"parent",isHidden:j},this.renderContent(e,t,o)));return n.default.createElement(n.default.Fragment,null,n.default.createElement(b.SortableElement,{type:"column",useHandle:!0},(t=>n.default.createElement(c.default,this.makeContextMenuProps(D.default),n.default.createElement(s.default,{type:v?"column__posts":"column",ref:this.containerBorderRef,color:x&&m?"red":"blue",borderStyle:"solid",activateOnContentClick:!1,buttonPosition:"topRight",renderButtonWrapper:this.renderToolbar},(o=>{let{ref:r,attr:i,button:l,border:s}=o;return n.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(a.default,{ref:r,component:"div",animationClass:O,componentProps:{...(0,I.parseCustomAttributes)(f),...t,...i,...w&&{id:w},className:k}},n.default.createElement(y.Roles,{allow:["admin"],fallbackRender:()=>L},this.renderResizer("left"),this.renderResizer("right"),n.default.createElement(S.ToolbarExtend,{onEscape:this.handleToolbarEscape},L),l,s)))}))))),(0,P.shouldRenderPopup)(e,(0,C.blocksDataSelector)((0,T.getStore)().getState()))&&this.renderPopups())}renderForView(e,t,o){const{tagName:i,customClassName:l,cssClass:s,customAttributes:c}=e,{sectionPopup:p,sectionPopup2:m}=this.props.meta,y=(0,O.getLinkData)(e),b=(0,M.getCSSId)(e),v=(0,r.default)("brz-columns",(0,_.css)(`${this.constructor.componentId}-column`,`${this.getId()}-column`,(0,H.styleColumn)(e,t,o)),s||l),S=this.getAnimationClassName(e,t,o),{animationId:w,hoverName:x,options:k,isHidden:E}=this.getHoverData(e);return n.default.createElement(n.default.Fragment,null,n.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(a.default,{iterationCount:p||m?1/0:1,component:i,componentProps:{...(0,I.parseCustomAttributes)(c),...b&&{id:b},className:v},animationClass:S},n.default.createElement(g.ScrollMotion,{options:(0,h.makeOptionValueToMotion)(e),className:"brz-columns__scroll-effect"},n.default.createElement(u.HoverAnimation,{animationId:w,cssKeyframe:x,options:k,target:"parent",isHidden:E},this.renderContent(e,t,o))),y.href&&n.default.createElement(f.default,{className:"brz-container-link",type:y.type,href:y.href,target:y.target,rel:y.rel}))),(0,P.shouldRenderPopup)(e,(0,C.blocksDataSelector)((0,T.getStore)().getState()))&&this.renderPopups())}}const $=q},26790:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return f},getItems:function(){return m}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(81263),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(59638),f=(0,s.t)("Column"),m=e=>{let{v:t,device:o,context:a}=e;const f=[{title:"Div",value:"div"},{title:(0,s.t)("Header"),value:"header"},{title:(0,s.t)("Footer"),value:"footer"},{title:(0,s.t)("Main"),value:"main"},{title:(0,s.t)("Article"),value:"article"},{title:(0,s.t)("Section"),value:"section"},{title:(0,s.t)("Aside"),value:"aside"},{title:(0,s.t)("Nav"),value:"nav"}],m=(0,u.getDynamicContentOption)({options:a.dynamicContent.config,type:l.DCTypes.richText}),y=(0,c.isStory)(i.default.getAll()),g=(0,p.read)(("hoverName",(0,d.defaultValueValue)({v:t,key:"hoverName",device:o})))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,s.t)("Styling"),label:(0,s.t)("Styling"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,s.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,s.t)("Padding"),devices:"desktop",position:50},{id:"margin",label:(0,s.t)("Margin"),type:"margin-dev",devices:"desktop",position:60},{id:"border",type:"corners-dev",label:(0,s.t)("Corner"),devices:"desktop",position:65},{id:"blendMode",label:(0,s.t)("Blending Mode"),type:"select-dev",devices:"desktop",position:80,choices:[{title:(0,s.t)("Normal"),value:"normal"},{title:(0,s.t)("Color"),value:"color"},{title:(0,s.t)("Color Burn"),value:"color-burn"},{title:(0,s.t)("Color Dodge"),value:"color-dodge"},{title:(0,s.t)("Darken"),value:"darken"},{title:(0,s.t)("Difference"),value:"difference"},{title:(0,s.t)("Exclusion"),value:"exclusion"},{title:(0,s.t)("Hue"),value:"hue"},{title:(0,s.t)("Lighten"),value:"lighten"},{title:(0,s.t)("Luminosity"),value:"luminosity"},{title:(0,s.t)("Multiply"),value:"multiply"},{title:(0,s.t)("Overlay"),value:"overlay"},{title:(0,s.t)("Saturation"),value:"saturation"},{title:(0,s.t)("Screen"),value:"screen"}]}]},{id:"moreSettingsAdvanced",label:(0,s.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,s.t)("Show on Desktop"),type:"switch-dev",devices:"desktop",closeTooltip:!0,position:10},{id:"zIndex",type:"slider-dev",position:20,label:(0,s.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"cssID",label:(0,s.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:m,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,s.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:m,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,s.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:m},{id:"hoverTransition",label:(0,s.t)("Hover Transition"),devices:"desktop",position:60,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,s.t)("HTML Tag"),type:"select-dev",choices:f}]}]},{id:"padding",type:"padding-dev",label:(0,s.t)("Padding"),devices:"responsive",position:50},{id:"margin",label:(0,s.t)("Margin"),type:"margin-dev",devices:"responsive",position:60},{id:"border",type:"corners-dev",label:(0,s.t)("Corner"),devices:"responsive",position:65}]},{id:"effects",title:(0,s.t)("Effects"),label:(0,s.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,s.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]},{id:"tabHover",label:(0,s.t)("Hover"),options:[{id:"hover",type:"animation-dev",disabled:y,devices:"desktop",config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(g),delay:!1}}]}]}]}]}]}},48154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleColumn:function(){return c},styleItems:function(){return d},styleAnimation:function(){return u}});const r=o(25095),n=o(76753),i=o(94220),a=o(69321),l=o(66559),s=o(24119);function c(e,t,o){const{maskShape:c="none",hoverName:d="none"}=e,u=(0,r.fromElementModel)((t=>l.types.some((o=>(0,a.defaultValueValue)({v:e,device:o,key:(0,n.createOptionId)("motion",t),state:s.NORMAL}))))),p=u.vertical||u.horizontal||u.transparency||u.blur||u.rotate||u.scale||u.mouseTrack||u.mouseTilt?"div > ":"",f="none"===d?"":".brz-hover-animation__container > ";let m={".brz &&:hover":{standart:["cssStyleZIndex|||preview","cssStyleFlexColumn","cssStyleSizeMaxWidth","cssStyleFlexColumnVerticalAlign"]},".brz && .brz-columns__scroll-effect":{standart:["cssStyleFlexColumnVerticalAlign"]},".brz &&:hover .brz-hover-animation__container":{standart:["cssStyleFlexColumnVerticalAlign"]},[`.brz &&:hover > ${p}${f}.brz-bg`]:{standart:["cssStyleBorder","cssStyleBorderRadius",..."none"===c?["cssStyleBoxShadow"]:["cssStyleMaskDropShadow"],"cssStyleMargin","cssStyleBlendMode"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-image`]:{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-image:after`]:{standart:["cssStyleBgImageHover"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-color`]:{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-map`]:{standart:["cssStyleFilter","cssStyleBgMediaMap"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-video`]:{standart:["cssStyleFilter","cssStyleBgMediaVideo"]},".brz &&:hover > *":{interval:["cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]}};return m[`.brz &&:hover > ${p}${f}.brz-bg`].interval.push("cssStyleVisible|||editor"),m[`.brz &&:hover > ${p}${f}.brz-column__items`]={interval:["cssStyleVisible|||editor"]},(0,i.renderStyles)({v:e,vs:t,vd:o,styles:m})}function d(e,t,o){return(0,i.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleZIndex|||editor","cssStyleMargin","cssStyleBorderTransparentColor","cssStylePaddingFourFields","cssStyleColumnHeight","cssStyleColumnVerticalAlignItems"],interval:["cssStyleDisplayFlex","cssStyleHoverTransition","cssStylePropertyHoverTransition"]}}})}function u(e,t,o){return(0,i.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},21581:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return h}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(64187),l=o(81405),s=o(46479),c=o(64985),d=o(29390),u=o(16526),p=o(69321),f=o(68256),m=o(24119),y=o(59638),g=o(57582);function h(e){let{v:t,device:o,component:n,context:h,state:b}=e;const v=r.default.getAll(),S=v?.api?.collectionTypes?.loadCollectionTypes.handler,w=(0,u.isPopup)(v),x=Boolean(n.props.meta.sectionPopup),P=Boolean(n.props.meta.sectionPopup2),C=e=>(0,p.defaultValueValue)({v:t,key:e,device:o,state:b}),{hex:T}=(0,f.getOptionColorHexByPalette)(C("bgColorHex"),C("bgColorPalette")),_=(0,f.getDynamicContentOption)({options:h.dynamicContent.config,type:i.DCTypes.image}),k=(0,y.read)(C("maskShape"))??"none",M=(0,y.read)(C("maskPosition"))??"center center",O=(0,y.read)(C("maskSize"))??"cover",E=(0,y.read)(C("maskScaleSuffix"))??"%",B=(0,y.read)(C("maskCustomUploadImageSrc")),z="image"!==C("media"),I="none"===k||"custom"===k&&!B||z,j=C("linkSource"),L=(0,s.isPro)(v)?[{title:(0,c.t)("Custom Video"),value:"bgVideoCustom"}]:[],F="video"!==C("media"),N=C("bgVideoType"),D="youtube"===N,R="vimeo"===N,A="bgVideoCustom"===N,H="url"===N;return[(0,g.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive"}),{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,c.t)("Background")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,c.t)("Background"),options:[{id:"media",label:(0,c.t)("Type"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}]},(0,g.toolbarElementContainerTypeImageMap)({v:t,device:o,devices:"responsive",state:b}),{label:(0,c.t)("Image"),id:"bg",type:"imageUpload-dev",devices:"desktop",states:[m.NORMAL,m.HOVER],population:_,disabled:"image"!==C("media")},{label:(0,c.t)("Image"),id:"bg",type:"imageUpload-dev",devices:"responsive",states:[m.NORMAL,m.HOVER],population:_,disabled:"image"!==C("media")&&"video"!==C("media")},{id:"bgVideoType",label:(0,c.t)("Video type"),type:"select-dev",devices:"desktop",disabled:F,choices:[{title:(0,c.t)("Youtube"),value:"youtube"},{title:(0,c.t)("Vimeo"),value:"vimeo"},...L,{title:(0,c.t)("URL"),value:"url"}]},{id:"bgVideo",label:(0,c.t)("Link"),type:"inputText-dev",devices:"desktop",disabled:F||A,placeholder:D?(0,c.t)("YouTube"):R?(0,c.t)("Vimeo"):(0,c.t)("https://"),helper:{content:H?(0,c.t)("This is .mp4 URL."):D?(0,c.t)("Use the regular video links generated by YouTube. The 'feature=share' parameter is not a valid or recognized parameter by the YouTube platform."):""}},{id:"bgVideoCustom",label:(0,c.t)("File"),type:"fileUpload-dev",config:{allowedExtensions:["video/*"]},devices:"desktop",disabled:F||!A},{id:"bgVideoLoop",label:(0,c.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:"video"!==C("media")},{id:"bgMapAddress",label:(0,c.t)("Address"),type:"inputText-dev",devices:"desktop",disabled:"map"!==C("media"),placeholder:(0,c.t)("Enter address"),config:{size:"large"}},{id:"bgMapZoom",label:(0,c.t)("Zoom"),type:"slider-dev",disabled:"map"!==C("media")||"desktop"!==o,config:{min:1,max:21}}]},{id:"tabMask",label:(0,c.t)("Mask"),position:110,options:[{id:"maskShape",label:(0,c.t)("Shape"),devices:"desktop",type:"select-dev",choices:d.MaskShapes,disabled:z},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,c.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{content:(0,c.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==k||z},{id:"groupSize",type:"group-dev",disabled:I,options:[{id:"maskSize",label:(0,c.t)("Size"),type:"select-dev",choices:d.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==O,config:{min:1,max:"px"===E?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:I,options:[{id:"maskPosition",type:"select-dev",label:(0,c.t)("Position"),choices:d.MaskPositions},{id:"maskPositionx",label:(0,c.t)("X"),type:"slider-dev",disabled:"custom"!==M,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,c.t)("Y"),type:"slider-dev",disabled:"custom"!==M,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,c.t)("Repeat"),type:"select-dev",disabled:I||"cover"===O,choices:d.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,c.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(T,C("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,c.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[m.NORMAL,m.HOVER]}]},{id:"tabBorder",label:(0,c.t)("Border"),options:[{id:"border",type:"border-dev",states:[m.NORMAL,m.HOVER]}]},{id:"tabBoxShadow",label:(0,c.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[m.NORMAL,m.HOVER],disabled:!I}]},{id:"tabDropShadow",label:(0,c.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[m.NORMAL,m.HOVER],disabled:I}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",title:(0,c.t)("Link"),size:"medium"},position:100,disabled:"desktop"===o?"on"===C("linkLightBox"):"popup"!==C("linkType")||""===C("linkPopup"),options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"page",label:(0,c.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!S,label:(0,c.t)("Type"),devices:"desktop",choices:{load:()=>(0,a.getCollectionTypes)(v),emptyLoad:{title:(0,c.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,c.t)("Find Page"),devices:"desktop",disabled:!j,config:{postType:j}}]},{id:"external",label:(0,c.t)("URL"),options:[(0,g.toolbarImageLinkExternal)({v:t,device:o,config:h.dynamicContent.config,state:"normal",devices:"desktop"}),{id:"linkExternalBlank",label:(0,c.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,c.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,c.t)("Block"),options:[(0,g.toolbarLinkAnchor)({v:t,device:o,state:"normal",devices:"desktop",disabled:w})]},{id:"popup",label:(0,c.t)("Popup"),options:[(0,g.toolbarLinkPopup)({v:t,component:n,state:"normal",device:"desktop",canDelete:"desktop"===o,disabled:"desktop"===o?x||P||w:"popup"!==C("linkType")||""===C("linkPopup")})]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,c.t)("Settings")},position:110,options:[{id:"groupHeight",type:"group-dev",position:110,options:[{id:"heightStyle",label:(0,c.t)("Height"),type:"select-dev",choices:[{title:(0,c.t)("Auto"),value:"auto"},{title:(0,c.t)("Custom"),value:"custom"}]},{id:"height",type:"slider-dev",disabled:"custom"!==C("heightStyle"),config:{min:20,max:999,units:[{value:"px",title:"px"}]}}]},{id:"verticalAlign",label:(0,c.t)("Content"),type:"radioGroup-dev",position:120,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"},{value:"between",icon:"nc-space-between"}]},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,c.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,c.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},60251:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(27378)),n=h(o(10301)),i=h(o(65311)),a=h(o(60042)),l=h(o(63692)),s=h(o(36275)),c=h(o(67439)),d=v(o(1032)),u=v(o(68977)),p=h(o(22644)),f=o(10221),m=o(94220),y=o(23906),g=h(o(31440));function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}o(76664);const S=["centerLeft","centerRight"];class w extends l.default{static get componentId(){return"Countdown"}static defaultValue=p.default;constructor(e){super(e);const t=this.getValue(),o=(0,y.getLanguage)(t.language);this.endDate=this.getEndDate(),this.state={days:{title:o.whichLabels(0)[3],amount:0},hours:{title:o.whichLabels(0)[4],amount:0},minutes:{title:o.whichLabels(0)[5],amount:0},seconds:{title:o.whichLabels(0)[6],amount:0}}}componentDidMount(){if(!this.getValue().date){const e=new Date,t=new Date(e.setDate(e.getDate()+30));this.patchValue({date:(0,y.formatDate)(t,"d/m/Y")})}this.initPlugin({onTick:e=>{this.setState(e)}})}componentDidUpdate(e){const t=["date","hours","minutes","timeZone","language"],o=n.default.pick(e.dbValue,...t),r=n.default.pick(this.props.dbValue,...t);n.default.isEqual(o,r)||(this.endDate=this.getEndDate(),this.initPlugin())}componentWillUnmount(){(0,i.default)(this.countdown).countdown("destroy")}getEndDate(){const{date:e,hours:t,minutes:o}=this.getValue(),r=e.split("/"),n=`${r[1]}/${r[0]}/${r[2]}`;return(0,y.getTime)((0,y.formatDate)(n,"m/d/Y"),t,o)}initPlugin(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const{timeZone:t,language:o}=this.getValue(),r=60*t*1e3,n=(0,y.getLanguage)(o);(0,i.default)(this.countdown).countdown({now:Date.now(),endDate:this.endDate,timeZoneOffset:r,tickInterval:1e3,language:n,...e})}renderPart(e){const t=(0,a.default)("brz-countdown__item",`brz-countdown__${e}`);return r.default.createElement("div",{className:t},r.default.createElement("div",{className:"brz-countdown__number"},this.state[e].amount),r.default.createElement("div",{className:"brz-countdown__label"},this.state[e].title))}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const n=(0,a.default)("brz-countdown",(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o))),{timeZone:i,language:l}=e;return r.default.createElement(c.default,this.makeToolbarPropsFromConfig2(d,u),r.default.createElement(s.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{ref:e=>{this.countdown=e},className:n,"data-end":this.endDate,"data-timezone":i,"data-language":l},r.default.createElement(g.default,{points:S,meta:this.props.meta,value:e,onChange:this.handleResizerChange},this.renderPart("days"),this.renderPart("hours"),this.renderPart("minutes"),this.renderPart("seconds")))))}}const x=w},3575:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Jahre","Monate","Wochen","Tage","Stunden","Minuten","Sekunden"],["Jahr","Monat","Woche","Tag","Stunde","Minute","Sekunde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},86214:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],["Year","Month","Week","Day","Hour","Minute","Second"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},18117:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Años","Meses","Semanas","Días","Horas","Minutos","Segundos"],["Año","Mes","Semana","Día","Hora","Minuto","Segundo"]],whichLabels:function(e){var t=0===e?0:1;return this.labels[t]}}},677:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Années","Mois","Semaines","Jours","Heures","Minutes","Secondes"],["Année","Mois","Semaine","Jour","Heure","Minute","Seconde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},36771:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{de:function(){return r.default},en:function(){return n.default},es:function(){return i.default},fr:function(){return a.default},it:function(){return l.default},nl:function(){return s.default},ru:function(){return c.default}});const r=d(o(3575)),n=d(o(86214)),i=d(o(18117)),a=d(o(677)),l=d(o(70767)),s=d(o(73607)),c=d(o(4007));function d(e){return e&&e.__esModule?e:{default:e}}},70767:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Anni","Mesi","Settimane","Giorni","Ore","Minuti","Secondi"],["Anno","Mese","Settimana","Giorno","Ora","Minuto","Secondo"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},73607:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Jaren","Maanden","Weken","Dagen","Uren","Minuten","Seconden"],["Jaar","Maand","Week","Dag","Uur","Minuut","Seconde"]],whichLabels:function(e){var t=Number(e>1?0:1);return this.labels[t]}}},4007:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});const o={labels:[["Лет","Месяцев","Недель","Дней","Часов","Минут","Секунд"],["Год","Месяц","Неделя","День","Час","Минута","Секунда"],["Года","Месяца","Недели","Дня","Часа","Минуты","Секунды"]],whichLabels:function(e){var t=e%10,o=Math.floor(e%100/10),r=1===e?1:t>=2&&t<=4&&1!==o?2:1===t&&1!==o?1:0;return this.labels[r]}}},68977:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Countdown");function n(){return[]}},10221:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleSizeWidth","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz &&:hover .brz-countdown__label":{standart:["cssStyleTypographyElementCountdownLabelFontSize"]}}})}},1032:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=o(81405),a=o(64985),l=o(69321),s=o(68256);function c(e){let{v:t,device:o,state:n}=e;const c=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:n}),{hex:d}=(0,s.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette")),u=[{value:"660",title:(0,a.t)("- 11:00 (Niue)")},{value:"600",title:(0,a.t)("- 10:00 (Honolulu, Papeete)")},{value:"540",title:(0,a.t)("- 9:00 (Anchorage)")},{value:"480",title:(0,a.t)("- 8:00 (Los Angeles)")},{value:"420",title:(0,a.t)("- 7:00 (Denver, Phoenix)")},{value:"360",title:(0,a.t)("- 6:00 (Chicago, Dallas)")},{value:"300",title:(0,a.t)("- 5:00 (New York, Miami)")},{value:"240",title:(0,a.t)("- 4:00 (Halifax, Manaus)")},{value:"180",title:(0,a.t)("- 3:00 (Brasilia, Santiago)")},{value:"120",title:(0,a.t)("- 2:00 (Noronha)")},{value:"60",title:(0,a.t)("- 1:00 (Cape Verde)")},{value:"0",title:(0,a.t)("00:00 (London, Dublin)")},{value:"-60",title:(0,a.t)("+ 1:00 (Berlin, Paris)")},{value:"-120",title:(0,a.t)("+ 2:00 (Athens, Istanbul)")},{value:"-180",title:(0,a.t)("+ 3:00 (Moscow, Baghdad)")},{value:"-240",title:(0,a.t)("+ 4:00 (Dubai, Baku)")},{value:"-300",title:(0,a.t)("+ 5:00 (Yekaterinburg)")},{value:"-360",title:(0,a.t)("+ 6:00 (Nur-Sultan)")},{value:"-420",title:(0,a.t)("+ 7:00 (Bangkok, Jakarta)")},{value:"-480",title:(0,a.t)("+ 8:00 (Singapore, Beijing)")},{value:"-540",title:(0,a.t)("+ 9:00 (Tokyo, Seoul)")},{value:"-600",title:(0,a.t)("+ 10:00 (Sydney, Melbourne)")},{value:"-660",title:(0,a.t)("+ 11:00 (Ponape)")},{value:"-720",title:(0,a.t)("+ 12:00 (Auckland)")}],p=[{title:(0,a.t)("German"),value:"de"},{title:(0,a.t)("English"),value:"en"},{title:(0,a.t)("Spanish"),value:"es"},{title:(0,a.t)("French"),value:"fr"},{title:(0,a.t)("Italian"),value:"it"},{title:(0,a.t)("Dutch"),value:"nl"},{title:(0,a.t)("Russian"),value:"ru"}];return[{id:"toolbarCountdown",type:"popover-dev",config:{icon:"nc-countdown",title:(0,a.t)("Countdown")},position:70,options:[{id:"date",label:(0,a.t)("Date"),type:"inputText-dev",config:{size:"medium",placeholder:"dd/mm/yyyy"},devices:"desktop"},{id:"hours",type:"select-dev",label:(0,a.t)("Hour"),devices:"desktop",choices:r.default.times(24,(e=>{const t=(e+12)%12||12,o=e>=12?"pm":"am";return{title:`${t} ${o}`,value:`${t} ${o}`}}))},{id:"minutes",type:"select-dev",devices:"desktop",label:(0,a.t)("Minutes"),choices:r.default.times(6,(e=>({title:`${e}0 m`,value:10*e})))},{id:"timeZone",label:(0,a.t)("Time Zone"),type:"select-dev",devices:"desktop",choices:u},{id:"language",label:(0,a.t)("Language"),type:"select-dev",devices:"desktop",choices:p}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(d,c("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"color",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},23906:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{formatDate:function(){return i},getTime:function(){return a},getLanguage:function(){return l}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(36771));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d/m/Y";if(e=new Date(e),isNaN(Date.parse(e)))return e;const o=e.getFullYear(),r=e.getMonth()+1,n=e.getDate(),i=e.getHours(),a=e.getMinutes(),l=e.getSeconds();return t.replace("Y",o).replace("m",r).replace("d",n).replace("H",i).replace("i",a).replace("s",l)};function a(e,t,o){const[r,n]=t.split(" "),i=60*(new Date).getTimezoneOffset()*1e3;return function(e){const t=/^(\d{1,2})[-\/](\d{1,2})[-\/](\d{4})$/.exec(e);if(null===t)return!1;const o=t[2],r=t[1]-1,n=t[3],i=new Date(n,r,o);return i.getDate()==o&&i.getMonth()==r&&i.getFullYear()==n}(e)?new Date(`${e} ${r}:${o} ${n}`).getTime()-i:new Date(0).getTime()}function l(){return r[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en"]}},15865:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=S(o(27378)),n=o(66848),i=S(o(10301)),a=S(o(65311)),l=S(o(60042)),s=S(o(63692)),c=S(o(36275)),d=S(o(67439)),u=x(o(35386)),p=x(o(51072)),f=S(o(6356)),m=o(91169),y=o(94220),g=o(79855),h=S(o(31440)),b=o(6085),v=o(86022);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}o(92260);const P=["centerLeft","centerRight"];class C extends s.default{static get componentId(){return"Countdown2"}static defaultValue=f.default;static experimentalDynamicContent=!0;handleTextChange=(e,t)=>{this.patchValue({[e]:t})};days=r.default.createRef();hours=r.default.createRef();minutes=r.default.createRef();seconds=r.default.createRef();componentDidMount(){const e=this.getValue();if(!e.date){const e=new Date,t=new Date(e.setDate(e.getDate()+30));this.patchValue({date:(0,g.formatDate)(t,"d/m/Y")})}const t=function(e){return("0"+e).slice(-2)};this.initPlugin(e,{onTick:e=>{let{days:o,hours:r,minutes:n,seconds:i}=e;const a=this.getValue();"on"===a.showDays&&(this.days.current.innerText=o),"on"===a.showHours&&(this.hours.current.innerText=t(r)),"on"===a.showMinutes&&(this.minutes.current.innerText=t(n)),"on"===a.showSeconds&&(this.seconds.current.innerText=t(i))}})}componentDidUpdate(e){const t=this.getValue(),o=["date","hours","minutes","timeZone"],r=i.default.pick(e.dbValue,...o),n=i.default.pick(this.props.dbValue,...o);i.default.isEqual(r,n)||(this.endDate=this.getEndDate(t),this.initPlugin(t))}componentWillUnmount(){(0,a.default)(this.countdown).countdown2("destroy")}getEndDate(e){const{date:t,hours:o,minutes:r}=e,n=t.split("/"),i=`${n[1]}/${n[0]}/${n[2]}`;return(0,g.getTime)((0,g.formatDate)(i,"m/d/Y"),o,r)}initPlugin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const o=60*e.timeZone*1e3;(0,a.default)(this.countdown).countdown2({now:Date.now(),endDate:this.getEndDate(e),timeZoneOffset:o,tickInterval:1e3,...t})}renderParts(e){const t=["days","hours","minutes","seconds"].filter((t=>{const o=`show${(0,b.capitalize)(t)}`;return"on"===e[o]})).map(((t,o,n)=>{const i="style3"===e.style&&o!==n.length-1?r.default.createElement("span",{key:"separator",className:"brz-countdown2-separator"},":"):null;return[this.renderPart(e,t),i]}));return r.default.createElement("div",{className:"brz-countdown2-parts"},t)}renderPart(e,t){const o=(0,l.default)("brz-countdown2__item",`brz-countdown2__${t}`,{"brz-countdown2_custom":0===e.bgColorOpacity&&0===e.borderColorOpacity}),i=`${t}Label`;return r.default.createElement("div",{key:t,className:o},r.default.createElement("div",{ref:this[t],className:"brz-countdown2__number"},"00"),r.default.createElement("div",{className:"brz-countdown2__label"},r.default.createElement(n.TextEditor,{value:e[i],onChange:this.handleTextChange.bind(null,i)})))}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const n=(0,l.default)("brz-countdown2",{"brz-countdown2-style1":"style1"===e.style},{"brz-countdown2-style2":"style2"===e.style},{"brz-countdown2-style3":"style3"===e.style},(0,y.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,m.style)(e,t,o))),i=(0,l.default)("brz-countdown2-message",(0,y.css)(`${this.constructor.componentId}-message`,`${this.getId()}-message`,(0,m.styleMessage)(e,t,o))),{messageText:a,actions:s}=e;return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(u,p),r.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:n,ref:e=>{this.countdown=e}}),r.default.createElement(h.default,{points:P,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},this.renderParts(e),"showMessage"===s&&r.default.createElement("div",{className:i},a)))))}renderForView(e,t,o){const n=(0,l.default)("brz-countdown2",`brz-countdown2-${e.style}`,(0,y.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,m.style)(e,t,o))),i=(0,l.default)("brz-countdown2-message",(0,y.css)(`${this.constructor.componentId}-message`,`${this.getId()}-message`,(0,m.styleMessage)(e,t,o))),{timeZone:a,linkType:s,messageText:d,messageRedirect:u,actions:p}=e;return r.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:n,attributes:{"data-end":e.date,"data-hours":e.hours,"data-minutes":e.minutes,"data-timezone":a,"data-link-type":s,"data-redirect":u,"data-message":d,"data-action":p}}),this.renderParts(e),"showMessage"===p&&r.default.createElement("div",{className:i},d)))}}const T=C},51072:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return l},getItems:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526),l=(0,i.t)("Countdown");function s(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50}]}]}]}},91169:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleMessage:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz && .brz-countdown2-parts":{standart:["cssStylePaddingBG"]},".brz &&:hover .brz-countdown2__item":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStyleSizeHeightPxOnly","cssStyleElementCountDown2SpacingRight","cssStyleElementCountDown2SpacingLeft"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover:after":{standart:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover:before":{standart:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover .brz-countdown2__number":{standart:["cssStyleElementCountDown2NumberColor","cssStyleNumberTypography2FontFamily","cssStyleNumberTypography2FontSize","cssStyleNumberTypography2LineHeight","cssStyleNumberTypography2FontWeight","cssStyleNumberTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-countdown2-separator":{standart:["cssStyleElementCountDown2NumberColor","cssStyleNumberTypography2FontFamily","cssStyleNumberTypography2FontSize","cssStyleNumberTypography2LineHeight","cssStyleNumberTypography2FontWeight","cssStyleNumberTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-countdown2__label":{standart:["cssStyleElementCountDown2TitleColor","cssStyleTitleTypography2FontFamily","cssStyleTitleTypography2FontSize","cssStyleTitleTypography2LineHeight","cssStyleTitleTypography2FontWeight","cssStyleTitleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCountDown2MessageColor","cssStyleMessageTypography2FontFamily","cssStyleMessageTypography2FontSize","cssStyleMessageTypography2LineHeight","cssStyleMessageTypography2FontWeight","cssStyleMessageTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},35386:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=p(o(10301)),n=p(o(22546)),i=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119);function p(e){return e&&e.__esModule?e:{default:e}}function f(e){let{v:t,device:o,state:p,context:f}=e;const m=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:p}),{hex:y}=(0,d.getOptionColorHexByPalette)(m("numberColorHex"),m("numberColorPalette")),g=0===m("bgColorOpacity")&&0===m("borderColorOpacity"),h=m("style"),b=m("actions"),v=(0,d.getDynamicContentOption)({options:f.dynamicContent.config,type:i.DCTypes.richText}),S=(0,d.getDynamicContentOption)({options:f.dynamicContent.config,type:i.DCTypes.link}),w=(0,s.isStory)(n.default.getAll());return[{id:"toolbarCountdown",type:"popover-dev",config:{icon:"nc-countdown",title:(0,l.t)("Countdown")},position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabTimerElementTimer",label:(0,l.t)("Timer"),options:[{id:"style",label:(0,l.t)("Styles"),type:"radioGroup-dev",position:20,devices:"desktop",choices:[{value:"style1",icon:"nc-countdown-style1"},{value:"style2",icon:"nc-countdown-style2"},{value:"style3",icon:"nc-countdown-style3"}]},{id:"date",label:(0,l.t)("Date"),type:"inputText-dev",devices:"desktop",placeholder:"dd/mm/yyyy",config:{size:"medium"},population:v},{id:"hours",label:(0,l.t)("Hour"),type:"select-dev",devices:"desktop",choices:r.default.times(24,(e=>{const t=(e+12)%12||12,o=e>=12?"pm":"am";return{title:`${t} ${o}`,value:`${t} ${o}`}})),population:v},{id:"minutes",label:(0,l.t)("Minutes"),type:"select-dev",devices:"desktop",choices:r.default.times(6,(e=>({title:`${e}0 m`,value:10*e}))),population:v},{id:"timeZone",label:(0,l.t)("Time Zone"),type:"select-dev",devices:"desktop",choices:[{value:720,title:(0,l.t)("- 12:00 (International Date Line West)")},{value:660,title:(0,l.t)("- 11:00 (Niue)")},{value:600,title:(0,l.t)("- 10:00 (Honolulu, Papeete, Hawaii)")},{value:580,title:(0,l.t)("- 9:30 (Marquesas)")},{value:540,title:(0,l.t)("- 9:00 (Anchorage, Alaska)")},{value:480,title:(0,l.t)("- 8:00 (Los Angeles)")},{value:420,title:(0,l.t)("- 7:00 (Denver, Phoenix)")},{value:360,title:(0,l.t)("- 6:00 (Chicago, Dallas)")},{value:300,title:(0,l.t)("- 5:00 (New York, Miami)")},{value:270,title:(0,l.t)("- 4:30 (Caracas)")},{value:240,title:(0,l.t)("- 4:00 (Halifax, Manaus, Santiago)")},{value:210,title:(0,l.t)("- 3:30 (Newfoundland)")},{value:180,title:(0,l.t)("- 3:00 (Brasilia, Santiago, Argentina)")},{value:150,title:(0,l.t)("- 2:30 (Newfoundland Daylight)")},{value:120,title:(0,l.t)("- 2:00 (Noronha)")},{value:60,title:(0,l.t)("- 1:00 (Cape Verde)")},{value:0,title:(0,l.t)("00:00 (London, Dublin)")},{value:-60,title:(0,l.t)("+ 1:00 (Berlin, Paris, Morocco, Netherlands)")},{value:-120,title:(0,l.t)("+ 2:00 (Athens, Istanbul, Romania)")},{value:-180,title:(0,l.t)("+ 3:00 (Moscow, Baghdad)")},{value:-210,title:(0,l.t)("+ 3:30 (Iran)")},{value:-240,title:(0,l.t)("+ 4:00 (Dubai, Baku)")},{value:-270,title:(0,l.t)("+ 4:30 (Afghanistan, Kabul, Tehran)")},{value:-300,title:(0,l.t)("+ 5:00 (Yekaterinburg, Baku, Karachi)")},{value:-330,title:(0,l.t)("+ 5:30 (India)")},{value:-345,title:(0,l.t)("+ 5:45 (Kathmandu, Nepal)")},{value:-360,title:(0,l.t)("+ 6:00 (Nur-Sultan, Kyrgyzstan)")},{value:-390,title:(0,l.t)("+ 6:30 (Yangon)")},{value:-420,title:(0,l.t)("+ 7:00 (Bangkok, Jakarta, Vietnam)")},{value:-480,title:(0,l.t)("+ 8:00 (Singapore, Beijing, Malaysia)")},{value:-510,title:(0,l.t)("+ 8:30 (Pyongyang)")},{value:-540,title:(0,l.t)("+ 9:00 (Tokyo, Seoul)")},{value:-570,title:(0,l.t)("+ 9:30 (Darwin, Adelaide)")},{value:-600,title:(0,l.t)("+ 10:00 (Sydney, Melbourne, Canberra)")},{value:-630,title:(0,l.t)("+ 10:30 (Lord Howe Island)")},{value:-660,title:(0,l.t)("+ 11:00 (Ponape)")},{value:-720,title:(0,l.t)("+ 12:00 (Auckland, Magadan)")},{value:-780,title:(0,l.t)("+ 13:00 (Tongatapu)")}]}]},{id:"tabCurrentElementAdvanced",label:(0,l.t)("Advanced"),options:[{id:"showDays",label:(0,l.t)("Days"),type:"switch-dev",devices:"desktop"},{id:"showHours",label:(0,l.t)("Hours"),type:"switch-dev",devices:"desktop"},{id:"showMinutes",label:(0,l.t)("Minutes"),type:"switch-dev",devices:"desktop"},{id:"showSeconds",label:(0,l.t)("Seconds"),type:"switch-dev",devices:"desktop"}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyNumber",label:(0,l.t)("Number"),options:[{id:"number",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyTitle",label:(0,l.t)("Title"),options:[{id:"title",disabled:"style3"===h,type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyMessage",label:(0,l.t)("Message"),options:[{id:"message",disabled:"showMessage"!==b,type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(y,m("numberColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabNumber",label:(0,l.t)("Nr."),options:[{id:"numberColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabTitle",label:(0,l.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:"style3"===h,states:[u.NORMAL,u.HOVER]}]},{id:"tabMessage",label:(0,l.t)("Message"),options:[{id:"messageColor",type:"colorPicker-dev",disabled:"showMessage"!==b,states:[u.NORMAL,u.HOVER]}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"popoverLink",type:"popover-dev",config:{icon:"nc-link",title:(0,l.t)("Link"),size:"medium"},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"linkAction",label:(0,l.t)("Action"),options:[{id:"actions",label:(0,l.t)("When Finished"),type:"select-dev",devices:"desktop",choices:[{title:(0,l.t)("None"),value:"none"},{title:(0,l.t)("Hide"),value:"hide"},{title:(0,l.t)("Show message"),value:"showMessage"}]},{id:"messageText",label:(0,l.t)("Message"),type:"inputText-dev",disabled:"showMessage"!=m("actions"),placeholder:(0,l.t)("Message sent"),population:v,devices:"desktop"}]},{id:"redirect",label:(0,l.t)("Redirect"),options:[{id:"messageRedirect",label:(0,l.t)("URL"),type:"inputText-dev",devices:"desktop",placeholder:"http://",population:S}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,l.t)("Settings")},position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",disabled:w,config:{min:1,max:"px"===m("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,l.t)("Height"),type:"slider-dev",disabled:g&&!w,config:{min:"%"===m("heightSuffix")?5:50,max:300,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"spacing",label:(0,l.t)("Spacing"),type:"slider-dev",disabled:g,config:{min:0,max:50,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},79855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{formatDate:function(){return o},getTime:function(){return r}});const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d/m/Y";if(e=new Date(e),isNaN(Date.parse(e)))return e;const o=e.getFullYear(),r=e.getMonth()+1,n=e.getDate(),i=e.getHours(),a=e.getMinutes(),l=e.getSeconds();return t.replace("Y",o).replace("m",r).replace("d",n).replace("H",i).replace("i",a).replace("s",l)};function r(e,t,o){const[r,n]=t.split(" "),i=60*(new Date).getTimezoneOffset()*1e3;return function(e){const t=/^(\d{1,2})[-\/](\d{1,2})[-\/](\d{4})$/.exec(e);if(null===t)return!1;const o=t[2],r=t[1]-1,n=t[3],i=new Date(n,r,o);return i.getDate()==o&&i.getMonth()==r&&i.getFullYear()==n}(e)?new Date(`${e} ${r}:${o} ${n}`).getTime()-i:new Date(0).getTime()}},26705:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Chart",{enumerable:!0,get:function(){return a}});const r=i(o(27378)),n=i(o(60042));function i(e){return e&&e.__esModule?e:{default:e}}const a=e=>{let{className:t,type:o,strokeW:i}=e;const a=(0,n.default)("brz-counter-chart",`brz-counter-chart-${o}`),l=(0,n.default)("brz-counter-pie-chart",t);return r.default.createElement("div",{className:a},r.default.createElement("svg",{className:"",viewBox:"0 0 32 32"},"radial"===o&&r.default.createElement("circle",{className:"brz-counter-radial-chart",r:16-(i>64?16:i/4),cx:"16",cy:"16"}),"empty"===o&&r.default.createElement("circle",{className:"brz-counter-radial-chart",r:16-(i>64?16:i/4),cx:"16",cy:"16"}),r.default.createElement("circle",{className:l,r:"16",cx:"16",cy:"16"})))}},77763:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=v(o(27378)),n=v(o(65311)),i=v(o(60042)),a=v(o(10301)),l=v(o(63692)),s=v(o(36275)),c=v(o(31440)),d=v(o(67439)),u=w(o(12379)),p=w(o(2667)),f=o(67477),m=o(78438),y=o(94220),g=o(86022),h=v(o(16987)),b=o(26705);function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const x=["topLeft","topRight","bottomLeft","bottomRight"],P=e=>{const{width:t,tabletWidth:o,mobileWidth:r,widthSuffix:n,tabletWidthSuffix:i,mobileWidthSuffix:a,...l}=e;return{size:t,tabletSize:o,mobileSize:r,sizeSuffix:n,tabletSizeSuffix:i,mobileSizeSuffix:a,...l}};class C extends l.default{static get componentId(){return"Counter"}static defaultValue=h.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);state={final:0};componentDidMount(){this.initCounter()}componentDidUpdate(e){e.dbValue.start===this.props.dbValue.start&&e.dbValue.startPopulation===this.props.dbValue.startPopulation&&e.dbValue.end===this.props.dbValue.end&&e.dbValue.endPopulation===this.props.dbValue.endPopulation&&e.dbValue.duration===this.props.dbValue.duration||this.initCounter()}initCounter=a.default.debounce((()=>{const{duration:e,start:t,end:o,type:r}=this.getValue(),i="simple"===r,a=Number(o),l=i?a:Math.max(0,Math.min(100,a)),s=e=>{this.state.final!==e&&this.setState({final:e})};this.lastAnimation&&this.lastAnimation.stop(!0,!0),this.lastAnimation=(0,n.default)({countNum:Number(t)}).animate({countNum:l},{duration:1e3*e,easing:"linear",step:function(){s((0,m.roundTo)(this.countNum,2))},complete:function(){s(l)}})}),1e3);renderForEdit(e,t,o){const{final:n}=this.state,{type:a,start:l,end:m,duration:h,separator:v}=e,S="simple"===a,w=S?e.prefixLabel:e.prefixLabelRadial,C=S?e.suffixLabel:e.suffixLabelRadial,T=(0,i.default)("brz-counter",`brz-counter-${a}`,(0,y.css)(`${this.constructor.componentId}-counter`,`${this.getId()}-counter`,(0,f.style)(e,t,o))),_=(0,i.default)("brz-counter-figures",(0,y.css)(`${this.constructor.componentId}-number`,`${this.getId()}-number`,(0,f.styleNumber)(e,t,o))),k=(0,i.default)(`brz-counter-chart-${a}`,(0,y.css)(`${this.constructor.componentId}-count`,`${this.getId()}-count`,(0,f.styleChart)({...e,end:n},t,o))),M=r.default.createElement("div",{className:_},w&&r.default.createElement("span",null,`${w} `),r.default.createElement("span",{className:"brz-counter-numbers"},((O=n.toFixed(0).split("."))[0]=O[0].replace(/\B(?=(\d{3})+(?!\d))/g,v),O.join("-"))),C&&r.default.createElement("span",null,` ${C}`));var O;return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(u,p),r.default.createElement(s.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(g.Wrapper,this.makeWrapperProps({className:T,attributes:{"data-start":l,"data-end":m,"data-duration":h,"data-separator":v,"data-type":a}}),"simple"!==a?r.default.createElement(c.default,{keepAspectRatio:!0,points:x,restrictions:{size:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletSize:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileSize:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:P(e),onChange:e=>this.handleResizerChange((e=>(e.size&&(e.width=e.size,delete e.size),e.tabletSize&&(e.tabletWidth=e.tabletSize,delete e.tabletSize),e.mobileSize&&(e.mobileWidth=e.mobileSize,delete e.mobileSize),e))(e))},r.default.createElement(b.Chart,{className:k,type:a,strokeW:e.strokeWidth}),M):M)))}}const T=C},2667:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return l},getItems:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526),l=(0,i.t)("Counter");function s(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),position:50}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50}]}]}]}},67477:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleChart:function(){return n},style:function(){return i},styleNumber:function(){return a}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementCounterChartEnd"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz && .brz-counter-chart":{standart:["cssStylePaddingBG"]},".brz &&:hover .brz-counter-figures":{standart:["cssStyleColor","cssStyleElementCounterTextShadow","cssStylePaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},".brz &&:hover .brz-counter-chart-radial > svg > .brz-counter-pie-chart":{standart:["cssStyleElementCounterChartWidth"]},".brz &&:hover .brz-counter-chart-empty > svg > .brz-counter-pie-chart":{standart:["cssStyleElementCounterChartWidth"]},".brz &&:hover .brz-counter-pie-chart":{standart:["cssStyleStroke"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},".brz &&:hover .brz-counter-radial-chart":{standart:["cssStyleFill"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},".brz &&:hover .brz-counter-chart-pie":{standart:["cssStyleFill"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}},12379:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119);function p(e){let{v:t,device:o,context:n}=e;const p=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),f=p("type"),m=(0,d.getDynamicContentOption)({options:n.dynamicContent.config,type:i.DCTypes.richText}),{hex:y}=(0,d.getOptionColorHexByPalette)(p("colorHex"),p("colorPalette")),g="radial"===f,h="simple"===f,b="empty"===f,v="pie"===f,S=(0,s.isStory)(r.default.getAll());return[{id:"toolbarCurrentElement",type:"popover-dev",devices:"desktop",config:{icon:"nc-counter-outline",title:(0,l.t)("Counter")},position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabCurrentElementCounter",label:(0,l.t)("Counter"),options:[{id:"type",label:(0,l.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"simple",icon:"nc-counter-style-1"},{value:"radial",icon:"nc-counter-style-2"},{value:"empty",icon:"nc-counter-style-3"},{value:"pie",icon:"nc-counter-style-4"}]},{id:"start",type:"number-dev",label:(0,l.t)("Start"),devices:"desktop",disabled:!h,config:{size:"short",min:-1e9,max:1e9,spinner:!1},population:m},{id:"end",type:"number-dev",label:(0,l.t)("End"),devices:"desktop",config:{size:"short",min:h?-1e9:0,max:h?1e9:100,spinner:!1},population:m},{id:"duration",label:(0,l.t)("Duration"),type:"slider-dev",devices:"desktop",config:{min:0,step:.2,max:10,units:[{value:"s",title:"s"}]}}]},{id:"tabCurrentElementAdvanced",label:(0,l.t)("Advanced"),options:[{id:"prefixLabelRadial",label:(0,l.t)("Prefix"),type:"inputText-dev",placeholder:"Prefix",disabled:!g,config:{size:"medium"},population:m},{id:"suffixLabelRadial",label:(0,l.t)("Suffix"),type:"inputText-dev",placeholder:"Suffix",disabled:!g,config:{size:"medium"},population:m},{id:"prefixLabel",label:(0,l.t)("Prefix"),type:"inputText-dev",placeholder:"Prefix",disabled:!h,config:{size:"medium"},population:m},{id:"suffixLabel",label:(0,l.t)("Suffix"),type:"inputText-dev",placeholder:"Suffix",disabled:!h,config:{size:"medium"},population:m},{id:"separator",label:(0,l.t)("Separator"),type:"inputText-dev",placeholder:",",disabled:b||v,config:{size:"medium"},population:m}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},disabled:b||v,position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(y,p("colorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,l.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:b||v}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"fillColor",type:"colorPicker-dev",disabled:h,states:[u.NORMAL,u.HOVER]}]},{id:"tabBgProgress",label:(0,l.t)("Progress"),options:[{id:"strokeColor",type:"colorPicker-dev",disabled:!v,states:[u.NORMAL,u.HOVER]},{id:"stroke",type:"border-dev",disabled:h||v,states:[u.NORMAL,u.HOVER],config:{width:["grouped"],styles:["solid"]}}]},{id:"tabTextShadow",label:(0,l.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",disabled:!h&&!g,states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,disabled:h||S,options:[{id:"width",label:(0,l.t)("Size"),type:"slider-dev",disabled:h,config:{min:1,max:"px"===p("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,l.t)("More Settings"),position:110,disabled:!h&&!S,title:(0,l.t)("Settings"),roles:["admin"],icon:"nc-cog",devices:"desktop"}]}},88017:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidCart",{enumerable:!0,get:function(){return K}});const r=Y(o(60042)),n=Z(o(27378)),i=o(10301),a=Y(o(36275)),l=Y(o(67439)),s=Y(o(63692)),c=o(86022),d=Y(o(22546)),u=o(62762),p=o(66080),f=o(10227),m=o(94220),y=o(9644),g=Y(o(55857)),h=Z(o(44659)),b=Z(o(85438)),v=Z(o(24543)),S=Z(o(47213)),w=Z(o(89586)),x=Z(o(18933)),P=o(68436),C=Z(o(14550)),T=Z(o(42549)),_=Z(o(53627)),k=Z(o(87733)),M=Z(o(10590)),O=Z(o(26181)),E=Z(o(52128)),B=Z(o(25741)),z=Z(o(44489)),I=Z(o(12726)),j=Z(o(74593)),L=Z(o(71212)),F=Z(o(23376)),N=Z(o(12373)),D=Z(o(2671)),R=Z(o(40719)),A=Z(o(31794)),H=Z(o(26742)),W=Z(o(19623)),V=Z(o(28873)),G=Z(o(40185)),U=Z(o(94417)),q=Z(o(18839)),$=o(42824);function Y(e){return e&&e.__esModule?e:{default:e}}function Q(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(Q=function(e){return e?o:t})(e)}function Z(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=Q(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class K extends s.default{static get componentId(){return"EcwidCart"}static defaultValue=g.default;ecwid;uniqueId=`${K.componentId}-${(0,i.uniqueId)()}`;containerRef=(0,n.createRef)();componentDidMount(){const e=this.makeToolbarPropsFromConfig2(C,h,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e);const t=d.default.getAll();if(this.containerRef.current&&(0,u.isCloud)(t)&&"ecwid"===t.modules?.shop?.type){const e=this.getDBValue(),o=(0,$.valueToEciwdConfig)(e);this.ecwid=p.EcwidService.init(t.modules.shop.storeId,o),this.ecwid.cart(this.containerRef.current)}}componentDidUpdate(){const e=(0,$.valueToEciwdConfig)(this.getDBValue()),t=this.ecwid?.getConfig();t&&(0,f.eq)(t,e)||this.ecwid?.updateConfig(e)}renderForEdit(e,t,o){const{customCSS:i}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-cart-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,P.style)(e,t,o)));return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(U,S),selector:".ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name, .ec-store .ec-store__content-wrapper .ec-page-title .page-title__name",selectorSearchStrategy:"dom-tree"},(e=>{let{open:t}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(q,S),selector:".ec-cart .ec-cart__body .ec-cart__body-inner .ec-page-title .page-title__name",selectorSearchStrategy:"dom-tree"},(e=>{let{open:o}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(T,S),selector:".ec-breadcrumbs",selectorSearchStrategy:"dom-tree"},(e=>{let{open:r}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(I,w,{allowExtend:!1}),selector:".ec-cart-item__image",selectorSearchStrategy:"dom-tree"},(e=>{let{open:d}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(D,S),selector:"a.ec-cart-item__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:u}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(R,S),selector:".ec-cart-item__options.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:p}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(M,v),selector:".ec-cart-item__control",selectorSearchStrategy:"dom-tree"},(e=>{let{open:f}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(H,S),selector:".ec-cart-item__sku.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:m}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(A,S),selector:".ec-cart-item__count",selectorSearchStrategy:"dom-tree"},(e=>{let{open:y}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(N,S),selector:".ec-cart-item__price-inner, .ec-cart-item-sum.ec-cart-item-sum--cta",selectorSearchStrategy:"dom-tree"},(e=>{let{open:g}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(G,S),selector:".ec-cart-summary__cell.ec-cart-summary__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:h}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(V,S),selector:".ec-cart-summary__total",selectorSearchStrategy:"dom-tree"},(e=>{let{open:v}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(O,S),selector:".ec-cart-shopping__wrap",selectorSearchStrategy:"dom-tree"},(e=>{let{open:w}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(B,S),selector:".ec-cart__message",selectorSearchStrategy:"dom-tree"},(e=>{let{open:P}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(E,S),selector:".ec-cart-email__text",selectorSearchStrategy:"dom-tree"},(e=>{let{open:C}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(k,S),selector:".form-control--checkbox.form-control",selectorSearchStrategy:"dom-tree"},(e=>{let{open:T}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(_,b,{allowExtend:!1}),selector:".form-control__button",selectorSearchStrategy:"dom-tree"},(e=>{let{open:b}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(W,S),selector:".ec-cart__cert.ec-text-muted, .ec-cart-next__text.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:_}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(j,x,{allowExtend:!1}),selector:".ec-cart-email__input",selectorSearchStrategy:"dom-tree"},(e=>{let{open:x}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(L,S),selector:".ec-cart-next__header.ec-header-h4",selectorSearchStrategy:"dom-tree"},(e=>{let{open:k}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(F,S),selector:".ec-cart-next__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:M}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(z,S),selector:".ec-footer",selectorSearchStrategy:"dom-tree"},(e=>{let{open:l}=e;return n.default.createElement(a.default,{selectorName:this.getId(),css:i},n.default.createElement(c.Wrapper,this.makeWrapperProps({className:s}),n.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name, .ec-store .ec-store__content-wrapper .ec-page-title .page-title__name")?t(e.nativeEvent):e.target?.closest(".ec-cart .ec-cart__body .ec-cart__body-inner .ec-page-title .page-title__name")?o(e.nativeEvent):e.target?.closest(".ec-breadcrumbs")?r(e.nativeEvent):e.target?.closest(".ec-cart-item__image")?d(e.nativeEvent):e.target?.closest("a.ec-cart-item__title")?u(e.nativeEvent):e.target?.closest(".ec-cart-item__options.ec-text-muted")?p(e.nativeEvent):e.target?.closest(".ec-cart-item__control")?f(e.nativeEvent):e.target?.closest(".ec-cart-item__sku.ec-text-muted")?m(e.nativeEvent):e.target?.closest(".ec-cart-item__count")?y(e.nativeEvent):e.target?.closest(".ec-cart-item__price-inner, .ec-cart-item-sum.ec-cart-item-sum--cta")?g(e.nativeEvent):e.target?.closest(".ec-cart-summary__cell.ec-cart-summary__title")?h(e.nativeEvent):e.target?.closest(".ec-cart-summary__total")?v(e.nativeEvent):e.target?.closest(".ec-cart-shopping__wrap")?w(e.nativeEvent):e.target?.closest(".ec-cart__message")?P(e.nativeEvent):e.target?.closest(".ec-cart-email__text")?C(e.nativeEvent):e.target?.closest(".form-control--checkbox.form-control")?T(e.nativeEvent):e.target?.closest(".form-control__button")?b(e.nativeEvent):e.target?.closest(".ec-cart__cert.ec-text-muted, .ec-cart-next__text.ec-text-muted")?_(e.nativeEvent):e.target?.closest(".ec-cart-email__input")?x(e.nativeEvent):e.target?.closest(".ec-cart-next__header.ec-header-h4")?k(e.nativeEvent):e.target?.closest(".ec-cart-next__title")?M(e.nativeEvent):e.target?.closest(".ec-footer")&&l(e.nativeEvent),!1),className:"brz-ecwid-cart",id:this.uniqueId,ref:this.containerRef})))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}renderForView(e,t,o){const i=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-cart-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,P.style)(e,t,o))),a=(0,y.makePlaceholder)({content:"{{ecwid_store_id}}"});return n.default.createElement(c.Wrapper,this.makeWrapperProps({className:i}),n.default.createElement("div",{className:"brz-ecwid-cart","data-store-id":a}))}}},44659:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic")},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},85438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},24543:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"closeBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},47213:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},89586:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"imageBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},18933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"inputBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},68436:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper":{standart:["cssStyleElementEcwidCartWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--my-account":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--track-order":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--shopping-cart":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.ec-link.ec-link--muted":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon":{standart:["cssStyleElementEcwidCartFooterIconSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon:hover svg":{standart:["cssStyleElementEcwidCartFooterIconSize","cssStyleElementEcwidCartFooterIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .breadcrumbs__delimiter":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .breadcrumbs__delimiter":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-page-title .page-title__name":{standart:["cssStyleElementEcwidCartTitle2Color","cssStyleElementEcwidCartTitle2TypographyFontFamily","cssStyleElementEcwidCartTitle2TypographyFontSize","cssStyleElementEcwidCartTitle2TypographyLineHeight","cssStyleElementEcwidCartTitle2TypographyFontWeight","cssStyleElementEcwidCartTitle2TypographyLetterSpacing","cssStyleElementEcwidCartTitle2Align"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name":{standart:["cssStyleElementEcwidCartTitle2Color","cssStyleElementEcwidCartTitle2TypographyFontFamily","cssStyleElementEcwidCartTitle2TypographyFontSize","cssStyleElementEcwidCartTitle2TypographyLineHeight","cssStyleElementEcwidCartTitle2TypographyFontWeight","cssStyleElementEcwidCartTitle2TypographyLetterSpacing","cssStyleElementEcwidCartTitle2Align"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-page-title .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidCartTitle2Color","cssStyleElementEcwidCartTitle2TypographyFontFamily","cssStyleElementEcwidCartTitle2TypographyFontSize","cssStyleElementEcwidCartTitle2TypographyLineHeight","cssStyleElementEcwidCartTitle2TypographyFontWeight","cssStyleElementEcwidCartTitle2TypographyLetterSpacing","cssStyleElementEcwidCartTitle2Align"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__cert":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--cartitems .ec-confirmation__wrap .ec-confirmation__title.ec-header-h5":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--contactinfo .ec-confirmation__wrap .ec-confirmation__title.ec-header-h5":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next .ec-cart-next__step.ec-cart-next__step--payment .ec-cart-next__text":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--orderinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next .ec-cart-next__step.ec-cart-next__step--order-confirmation .ec-cart-next__text":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__buttons":{standart:["cssStyleElementEcwidCartButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__buttons div .form-control":{standart:["cssStyleElementEcwidCartButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__buttons div .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonWidth","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__buttons div .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__button":{standart:["cssStyleElementEcwidCartButtonSpacing","cssStyleElementEcwidCartButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__button .form-control":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__button .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__button .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart-step__body .ec-form .ec-form__row .ec-form__cell":{standart:["cssStyleElementEcwidCartButtonSpacing","cssStyleElementEcwidCartButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart-step__body .ec-form .ec-form__row .ec-form__cell .form-control":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart-step__body .ec-form .ec-form__row .ec-form__cell .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart-step__body .ec-form .ec-form__row .ec-form__cell .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__continue":{standart:["cssStyleElementEcwidCartButtonSpacing","cssStyleElementEcwidCartButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__continue .form-control":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__continue .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__continue .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart-email .ec-cart-email__text":{standart:["cssStyleElementEcwidCartEmailColor","cssStyleElementEcwidCartEmailTypographyFontFamily","cssStyleElementEcwidCartEmailTypographyFontSize","cssStyleElementEcwidCartEmailTypographyLineHeight","cssStyleElementEcwidCartEmailTypographyFontWeight","cssStyleElementEcwidCartEmailTypographyLetterSpacing","cssStyleElementEcwidCartEmailAlign","cssStyleElementEcwidCartEmailSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__email":{standart:["cssStyleElementEcwidCartEmailColor","cssStyleElementEcwidCartEmailTypographyFontFamily","cssStyleElementEcwidCartEmailTypographyFontSize","cssStyleElementEcwidCartEmailTypographyLineHeight","cssStyleElementEcwidCartEmailTypographyFontWeight","cssStyleElementEcwidCartEmailTypographyLetterSpacing","cssStyleElementEcwidCartEmailAlign","cssStyleElementEcwidCartEmailSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__agreement":{standart:["cssStyleElementEcwidCartCheckboxSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__checkout .ec-cart__agreement .ec-cart__agreement.ec-cart__marketing-agreement .form-control--checkbox .form-control__inline-label":{standart:["cssStyleElementEcwidCartCheckboxColor","cssStyleElementEcwidCartCheckboxTypographyFontFamily","cssStyleElementEcwidCartCheckboxTypographyFontSize","cssStyleElementEcwidCartCheckboxTypographyLineHeight","cssStyleElementEcwidCartCheckboxTypographyFontWeight","cssStyleElementEcwidCartCheckboxTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next.ec-cart-next .ec-cart-next__header.ec-header-h4":{standart:["cssStyleElementEcwidCartNextColor","cssStyleElementEcwidCartNextTypographyFontFamily","cssStyleElementEcwidCartNextTypographyFontSize","cssStyleElementEcwidCartNextTypographyLineHeight","cssStyleElementEcwidCartNextTypographyFontWeight","cssStyleElementEcwidCartNextTypographyLetterSpacing","cssStyleElementEcwidCartNextAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next.ec-cart-next .ec-cart-next__header.ec-header-h4":{standart:["cssStyleElementEcwidCartNextColor","cssStyleElementEcwidCartNextTypographyFontFamily","cssStyleElementEcwidCartNextTypographyFontSize","cssStyleElementEcwidCartNextTypographyLineHeight","cssStyleElementEcwidCartNextTypographyFontWeight","cssStyleElementEcwidCartNextTypographyLetterSpacing","cssStyleElementEcwidCartNextAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--unpaidstatusinfo .ec-confirmation__wrap .ec-confirmation__title.ec-header-h5":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--orderinfo .ec-confirmation__wrap .ec-confirmation__title .ec-confirmation__number.ec-header-h5":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next .ec-cart-next__step.ec-cart-next__step--payment .ec-cart-next__title":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__next .ec-cart-next__step.ec-cart-next__step--order-confirmation .ec-cart-next__title":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__steps .ec-cart-step .ec-cart-step__wrap .ec-cart-step__title":{standart:["cssStyleElementEcwidCartPaymentColor","cssStyleElementEcwidCartPaymentTypographyFontFamily","cssStyleElementEcwidCartPaymentTypographyFontSize","cssStyleElementEcwidCartPaymentTypographyLineHeight","cssStyleElementEcwidCartPaymentTypographyFontWeight","cssStyleElementEcwidCartPaymentTypographyLetterSpacing","cssStyleElementEcwidCartPaymentAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input":{standart:["cssStyleElementEcwidCartInputSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input .form-control":{standart:["cssStyleElementEcwidCartInputAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input .form-control:hover .form-control__text:-webkit-autofill":{standart:["cssStyleElementEcwidCartInputColorAutofill"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input .form-control .form-control__text:hover":{standart:["cssStyleElementEcwidCartInputHeight","cssStyleElementEcwidCartInputWidth","cssStyleElementEcwidCartInputTypographyFontFamily","cssStyleElementEcwidCartInputTypographyFontSize","cssStyleElementEcwidCartInputTypographyLineHeight","cssStyleElementEcwidCartInputTypographyFontWeight","cssStyleElementEcwidCartInputTypographyLetterSpacing","cssStyleElementEcwidCartInputBorderRadius","cssStyleElementEcwidCartInputColor","cssStyleElementEcwidCartInputBgColor","cssStyleElementEcwidCartInputBgGradient","cssStyleElementEcwidCartInputBorderColor","cssStyleElementEcwidCartInputBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__email .ec-cart-email__input .form-control .form-control__placeholder .form-control__placeholder-inner:hover":{standart:["cssStyleElementEcwidCartInputWidth","cssStyleElementEcwidCartInputTypographyFontFamily","cssStyleElementEcwidCartInputTypographyFontSize","cssStyleElementEcwidCartInputTypographyLineHeight","cssStyleElementEcwidCartInputTypographyFontWeight","cssStyleElementEcwidCartInputTypographyLetterSpacing","cssStyleElementEcwidCartInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__title":{standart:["cssStyleElementEcwidCartProductNameColor","cssStyleElementEcwidCartProductNameTypographyFontFamily","cssStyleElementEcwidCartProductNameTypographyFontSize","cssStyleElementEcwidCartProductNameTypographyLineHeight","cssStyleElementEcwidCartProductNameTypographyFontWeight","cssStyleElementEcwidCartProductNameTypographyLetterSpacing","cssStyleElementEcwidCartProductNameAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__title":{standart:["cssStyleElementEcwidCartProductNameColor","cssStyleElementEcwidCartProductNameTypographyFontFamily","cssStyleElementEcwidCartProductNameTypographyFontSize","cssStyleElementEcwidCartProductNameTypographyLineHeight","cssStyleElementEcwidCartProductNameTypographyFontWeight","cssStyleElementEcwidCartProductNameTypographyLetterSpacing","cssStyleElementEcwidCartProductNameAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--cartitems .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__title":{standart:["cssStyleElementEcwidCartProductNameColor","cssStyleElementEcwidCartProductNameTypographyFontFamily","cssStyleElementEcwidCartProductNameTypographyFontSize","cssStyleElementEcwidCartProductNameTypographyLineHeight","cssStyleElementEcwidCartProductNameTypographyFontWeight","cssStyleElementEcwidCartProductNameTypographyLetterSpacing","cssStyleElementEcwidCartProductNameAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options":{standart:["cssStyleElementEcwidCartProductSizeAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options .ec-cart-item__option":{standart:["cssStyleElementEcwidCartProductSizeColor","cssStyleElementEcwidCartProductSizeTypographyFontFamily","cssStyleElementEcwidCartProductSizeTypographyFontSize","cssStyleElementEcwidCartProductSizeTypographyLineHeight","cssStyleElementEcwidCartProductSizeTypographyFontWeight","cssStyleElementEcwidCartProductSizeTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options":{standart:["cssStyleElementEcwidCartProductSizeAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options .ec-cart-item__option":{standart:["cssStyleElementEcwidCartProductSizeColor","cssStyleElementEcwidCartProductSizeTypographyFontFamily","cssStyleElementEcwidCartProductSizeTypographyFontSize","cssStyleElementEcwidCartProductSizeTypographyLineHeight","cssStyleElementEcwidCartProductSizeTypographyFontWeight","cssStyleElementEcwidCartProductSizeTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options":{standart:["cssStyleElementEcwidCartProductSizeAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart__item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__options .ec-cart-item__option":{standart:["cssStyleElementEcwidCartProductSizeColor","cssStyleElementEcwidCartProductSizeTypographyFontFamily","cssStyleElementEcwidCartProductSizeTypographyFontSize","cssStyleElementEcwidCartProductSizeTypographyLineHeight","cssStyleElementEcwidCartProductSizeTypographyFontWeight","cssStyleElementEcwidCartProductSizeTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart.ec-cart--empty .ec-cart__message":{standart:["cssStyleElementEcwidCartEmptyColor","cssStyleElementEcwidCartEmptyTypographyFontFamily","cssStyleElementEcwidCartEmptyTypographyFontSize","cssStyleElementEcwidCartEmptyTypographyLineHeight","cssStyleElementEcwidCartEmptyTypographyFontWeight","cssStyleElementEcwidCartEmptyTypographyLetterSpacing","cssStyleElementEcwidCartEmptyAlign","cssStyleElementEcwidCartEmptySpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image":{standart:["cssStyleElementEcwidCartImageSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image .ec-cart-item__picture:hover":{standart:["cssStyleElementEcwidCartImageWidth","cssStyleElementEcwidCartImageBorder","cssStyleElementEcwidCartImageBorderRadius","cssStyleElementEcwidCartImageBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image":{standart:["cssStyleElementEcwidCartImageSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image .ec-cart-item__picture:hover":{standart:["cssStyleElementEcwidCartImageWidth","cssStyleElementEcwidCartImageBorder","cssStyleElementEcwidCartImageBorderRadius","cssStyleElementEcwidCartImageBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--cartitems .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image":{standart:["cssStyleElementEcwidCartImageSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--cartitems .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image .ec-cart-item__picture:hover":{standart:["cssStyleElementEcwidCartImageWidth","cssStyleElementEcwidCartImageBorder","cssStyleElementEcwidCartImageBorderRadius","cssStyleElementEcwidCartImageBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__price .ec-cart-item__price-inner":{standart:["cssStyleElementEcwidProductPriceColor","cssStyleElementEcwidProductPriceTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__item.ec-cart-item.ec-cart-item--summary .ec-cart-item__sum .ec-cart-item-sum.ec-cart-item-sum--cta":{standart:["cssStyleElementEcwidProductPriceColor","cssStyleElementEcwidProductPriceTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__price .ec-cart-item__price-inner":{standart:["cssStyleElementEcwidProductPriceColor","cssStyleElementEcwidProductPriceTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__summary.ec-cart-summary .ec-cart-summary__body .ec-cart-summary__row.ec-cart-summary__row--total .ec-cart-summary__cell.ec-cart-summary__title":{standart:["cssStyleElementEcwidCartSummaryTitleColor","cssStyleElementEcwidCartSummaryTitleTypographyFontFamily","cssStyleElementEcwidCartSummaryTitleTypographyFontSize","cssStyleElementEcwidCartSummaryTitleTypographyLineHeight","cssStyleElementEcwidCartSummaryTitleTypographyFontWeight","cssStyleElementEcwidCartSummaryTitleTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__summary.ec-cart-summary .ec-cart-summary__body .ec-cart-summary__row.ec-cart-summary__row--total .ec-cart-summary__cell.ec-cart-summary__title":{standart:["cssStyleElementEcwidCartSummaryTitleColor","cssStyleElementEcwidCartSummaryTitleTypographyFontFamily","cssStyleElementEcwidCartSummaryTitleTypographyFontSize","cssStyleElementEcwidCartSummaryTitleTypographyLineHeight","cssStyleElementEcwidCartSummaryTitleTypographyFontWeight","cssStyleElementEcwidCartSummaryTitleTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--unpaidstatusinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section":{standart:["cssStyleElementEcwidCartSummaryTitleColor","cssStyleElementEcwidCartSummaryTitleTypographyFontFamily","cssStyleElementEcwidCartSummaryTitleTypographyFontSize","cssStyleElementEcwidCartSummaryTitleTypographyLineHeight","cssStyleElementEcwidCartSummaryTitleTypographyFontWeight","cssStyleElementEcwidCartSummaryTitleTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__summary.ec-cart-summary .ec-cart-summary__body .ec-cart-summary__row.ec-cart-summary__row--total .ec-cart-summary__cell.ec-cart-summary__price .ec-cart-summary__total":{standart:["cssStyleElementEcwidCartSummaryPriceColor","cssStyleElementEcwidCartSummaryPriceTypographyFontFamily","cssStyleElementEcwidCartSummaryPriceTypographyFontSize","cssStyleElementEcwidCartSummaryPriceTypographyLineHeight","cssStyleElementEcwidCartSummaryPriceTypographyFontWeight","cssStyleElementEcwidCartSummaryPriceTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__summary.ec-cart-summary .ec-cart-summary__body .ec-cart-summary__row.ec-cart-summary__row--total .ec-cart-summary__cell.ec-cart-summary__price .ec-cart-summary__total":{standart:["cssStyleElementEcwidCartSummaryPriceColor","cssStyleElementEcwidCartSummaryPriceTypographyFontFamily","cssStyleElementEcwidCartSummaryPriceTypographyFontSize","cssStyleElementEcwidCartSummaryPriceTypographyLineHeight","cssStyleElementEcwidCartSummaryPriceTypographyFontWeight","cssStyleElementEcwidCartSummaryPriceTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--unpaidstatusinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-confirmation__order-confirmation-total":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__shopping.ec-cart-shopping":{standart:["cssStyleElementEcwidMyAccountConnectLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__shopping.ec-cart-shopping .ec-cart-shopping__wrap":{standart:["cssStyleElementEcwidMyAccountConnectTypographyFontFamily","cssStyleElementEcwidMyAccountConnectTypographyFontSize","cssStyleElementEcwidMyAccountConnectTypographyLineHeight","cssStyleElementEcwidMyAccountConnectTypographyFontWeight","cssStyleElementEcwidMyAccountConnectTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__shopping.ec-cart-shopping .ec-cart-shopping__wrap .ec-link:hover":{standart:["cssStyleElementEcwidMyAccountConnectLinkTypographyFontFamily","cssStyleElementEcwidMyAccountConnectLinkTypographyFontSize","cssStyleElementEcwidMyAccountConnectLinkTypographyLineHeight","cssStyleElementEcwidMyAccountConnectLinkTypographyFontWeight","cssStyleElementEcwidMyAccountConnectLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__steps .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section":{standart:["cssStyleElementEcwidMyAccountConnectLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__steps .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__text":{standart:["cssStyleElementEcwidMyAccountConnectTypographyFontFamily","cssStyleElementEcwidMyAccountConnectTypographyFontSize","cssStyleElementEcwidMyAccountConnectTypographyLineHeight","cssStyleElementEcwidMyAccountConnectTypographyFontWeight","cssStyleElementEcwidMyAccountConnectTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-cart__steps .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__change:hover":{standart:["cssStyleElementEcwidMyAccountConnectLinkTypographyFontFamily","cssStyleElementEcwidMyAccountConnectLinkTypographyFontSize","cssStyleElementEcwidMyAccountConnectLinkTypographyLineHeight","cssStyleElementEcwidMyAccountConnectLinkTypographyFontWeight","cssStyleElementEcwidMyAccountConnectLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--contactinfo .ec-confirmation__wrap .ec-confirmation__body":{standart:["cssStyleElementEcwidMyAccountConnectLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--contactinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section":{standart:["cssStyleElementEcwidMyAccountConnectTypographyFontFamily","cssStyleElementEcwidMyAccountConnectTypographyFontSize","cssStyleElementEcwidMyAccountConnectTypographyLineHeight","cssStyleElementEcwidMyAccountConnectTypographyFontWeight","cssStyleElementEcwidMyAccountConnectTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step.ec-confirmation__step--contactinfo .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-link:hover":{standart:["cssStyleElementEcwidMyAccountConnectLinkTypographyFontFamily","cssStyleElementEcwidMyAccountConnectLinkTypographyFontSize","cssStyleElementEcwidMyAccountConnectLinkTypographyLineHeight","cssStyleElementEcwidMyAccountConnectLinkTypographyFontWeight","cssStyleElementEcwidMyAccountConnectLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count.ec-cart-item__count--select .ec-cart-item__count-inner:hover .form-control--select-inline.form-control.ec-link":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count.ec-cart-item__count--select .ec-cart-item__count-inner .form-control--select-inline.form-control.ec-link .form-control__select option:hover":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count .ec-cart-item__count-inner:hover":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-confirmation .ec-confirmation__steps .ec-confirmation__step .ec-confirmation__wrap .ec-confirmation__body .ec-confirmation__section .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count .ec-cart-item__count-inner:hover":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-secondary .ec-cart-item__count .ec-cart-item__count-inner .form-control .form-control__text:hover":{standart:["cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__control .ec-cart-item__control-inner:hover":{standart:["cssStyleElementEcwidCartClosePadding","cssStyleElementEcwidCartCloseIconColor","cssStyleElementEcwidCartCloseBgColor","cssStyleElementEcwidCartCloseBorderColor","cssStyleElementEcwidCartCloseBorderRadiusColor","cssStyleElementEcwidCartCloseBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__control .ec-cart-item__control-inner svg":{standart:["cssStyleElementEcwidCartCloseSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__wrap .ec-cart-item__wrap-primary .ec-cart-item__sku.ec-text-muted":{standart:["cssStyleElementEcwidProductSKUAlign","cssStyleElementEcwidProductSKUSpacing","cssStyleElementEcwidProductSKUColor","cssStyleElementEcwidProductSKUTypography"]}}})}},14550:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;const i=e=>(0,n.defaultValueValue)({v:t,key:e,device:o});return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,r.t)("Cart"),icon:"nc-woo-add-to-cart"},position:10,options:[{id:"collapseDesktop",label:(0,r.t)("Collapse"),type:"switch-dev",devices:"desktop",helper:{content:"Cart items list is shown in collapsed view on desktop when more than 4 products added."}},{id:"collapse",label:(0,r.t)("Collapse"),type:"switch-dev",devices:"responsive",helper:{content:"Cart items list is shown in collapsed view on mobile."}},{id:"breadcrumbsDisplay",label:(0,r.t)("Breadcrumbs"),devices:"desktop",type:"switch-dev"},{id:"qtyDisplay",label:(0,r.t)("Show QTY"),type:"switch-dev",devices:"desktop",disabled:"on"===i("collapse")},{id:"skuDisplay",label:(0,r.t)("SKU"),type:"switch-dev",devices:"desktop",disabled:"on"===i("collapse")},{id:"weightDisplay",label:(0,r.t)("Weight"),type:"switch-dev",devices:"desktop",disabled:"on"===i("collapse")},{id:"inputDisplay",label:(0,r.t)("Input"),devices:"desktop",type:"switch-dev"},{id:"addressDisplay",devices:"desktop",label:(0,r.t)("Address line"),type:"switch-dev"},{id:"footerDisplay",label:(0,r.t)("Footer"),devices:"desktop",type:"switch-dev"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,devices:"desktop",options:[{id:"cartWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},42549:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("breadcrumbsColorHex"),l("breadcrumbsColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"breadcrumbsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("breadcrumbsColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"breadcrumbsColor",type:"colorPicker-dev"}]},{id:"breadcrumbsHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"breadcrumbsSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},53627:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,n.t)("Button")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabButtonBg",label:(0,n.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"buttonSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},87733:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("checkboxColorHex"),s("checkboxColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"checkboxTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("checkboxColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"checkboxColor",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:30,options:[{id:"checkboxSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},10590:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("closeColorHex"),c("closeColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Icon")},position:10,options:[{id:"groupCloseSize",type:"group-dev",options:[{id:"closeSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"closeCustomSize",type:"slider-dev",disabled:"custom"!==c("closeSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"closePadding",label:(0,n.t)("Padding"),type:"slider-dev",config:{min:0,max:30,units:[{title:"px",value:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("closeColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,n.t)("Icon"),options:[{id:"closeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"closeBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"closeBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},26181:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("connectLinkColorHex"),c("connectLinkColorPalette"));return[{id:"toolbarTypographyConnectLink",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyConnect",label:(0,n.t)("Text"),options:[{id:"connectTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyConnectLink",label:(0,n.t)("Link"),options:[{id:"connectLinkTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("connectLinkColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabConnectColor",label:(0,n.t)("Color"),options:[{id:"connectColor",type:"colorPicker-dev"}]},{id:"tabConnectLinkColor",label:(0,n.t)("Link"),options:[{id:"connectLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"connectLinkHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},52128:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("emailColorHex"),s("emailColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"emailTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("emailColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"emailColor",type:"colorPicker-dev"}]},{id:"emailHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"emailSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},25741:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("emptyColorHex"),s("emptyColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"emptyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("emptyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"emptyColor",type:"colorPicker-dev"}]},{id:"emptyHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"emptySpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},44489:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("footerColorHex"),s("footerColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,n.t)("Icon"),icon:"nc-user"},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"footerIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"footerIconCustomSize",type:"slider-dev",disabled:"custom"!==s("footerIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"footerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("footerColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColorFooter",label:(0,n.t)("Text"),options:[{id:"footerColor",type:"colorPicker-dev"}]},{id:"tabColorFooterIcon",label:(0,n.t)("Icon"),options:[{id:"footerIconColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"footerSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}},12726:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("imageBorderColorHex"),c("imageBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",position:10,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("imageBorderColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"imageBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"imageBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:20,options:[{id:"imageWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"imageSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},74593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("inputColorHex"),c("inputColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-form-left",title:(0,n.t)("Advanced")},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"inputHeight",type:"slider-dev",label:(0,n.t)("Height"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"inputWidth",type:"slider-dev",label:(0,n.t)("Width"),config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"toolbarTypography",type:"popover-dev",disabled:"off"===c("placeholder"),config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"inputTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("inputColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabInputColor",label:(0,n.t)("Color"),options:[{id:"inputColor",type:"colorPicker-dev",disabled:"off"===c("placeholder"),states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Bg"),options:[{id:"input",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"inputBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"boxShadow",label:(0,n.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"inputHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"inputSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},71212:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("nextColorHex"),s("nextColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"nextTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("nextColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"nextColor",type:"colorPicker-dev"}]},{id:"nextHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},23376:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paymentColorHex"),s("paymentColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"paymentTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("paymentColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"paymentColor",type:"colorPicker-dev"}]},{id:"paymentHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},12373:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("priceColorHex"),s("priceColorPalette"));return[{id:"toolbarTypographyprice",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"priceTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorprice",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("priceColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"priceColor",type:"colorPicker-dev"}]}]}},2671:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("productNameColorHex"),s("productNameColorPalette"));return[{id:"toolbarTypographyTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"productNameTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorProductName",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("productNameColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"productNameColor",type:"colorPicker-dev"}]},{id:"productNameHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},40719:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("productSizeColorHex"),s("productSizeColorPalette"));return[{id:"toolbarTypographyProductSize",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"productSizeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorProductSize",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("productSizeColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"productSizeColor",type:"colorPicker-dev"}]},{id:"productSizeHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},31794:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("qtyColorHex"),c("qtyColorPalette"));return[{id:"toolbarTypographyqty",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"qtyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorqty",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("qtyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"qtyColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},26742:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("SKUColorHex"),l("SKUColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"SKUTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("SKUColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"SKUColor",type:"colorPicker-dev"}]},{id:"SKUHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"SKUSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},19623:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("subtitleColorHex"),s("subtitleColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"subtitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("subtitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"subtitleColor",type:"colorPicker-dev"}]},{id:"subtitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},28873:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("summaryPriceColorHex"),s("summaryPriceColorPalette"));return[{id:"toolbarTypographysummaryPrice",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"summaryPriceTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorsummaryPrice",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("summaryPriceColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"summaryPriceColor",type:"colorPicker-dev"}]}]}},40185:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("summaryTitleColorHex"),s("summaryTitleColorPalette"));return[{id:"toolbarTypographysummaryTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"summaryTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorsummaryTitle",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("summaryTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"summaryTitleColor",type:"colorPicker-dev"}]}]}},94417:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarTypographyTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("titleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"titleColor",type:"colorPicker-dev"}]},{id:"titleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"titleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},18839:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("title2ColorHex"),s("title2ColorPalette"));return[{id:"toolbarTypographyTitle2",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"title2Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("title2ColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"title2Color",type:"colorPicker-dev"}]},{id:"title2HorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},42824:(e,t)=>{"use strict";function o(e){switch(e){case"off":return!1;case"on":return!0}}function r(e){return{show_footer_menu:o(e.footerDisplay),shopping_cart_show_qty_inputs:o(e.qtyDisplay),shopping_cart_show_sku:o(e.skuDisplay),shopping_cart_show_weight:o(e.weightDisplay),checkout_show_state_input:o(e.inputDisplay),checkout_show_address_line_2:o(e.addressDisplay),shopping_cart_products_collapsed_on_mobile:o(e.collapse),shopping_cart_products_collapsed_on_desktop:o(e.collapseDesktop),show_breadcrumbs:o(e.breadcrumbsDisplay)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"valueToEciwdConfig",{enumerable:!0,get:function(){return r}})},71951:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidMyAccount",{enumerable:!0,get:function(){return V}});const r=A(o(60042)),n=W(o(27378)),i=o(10301),a=A(o(36275)),l=A(o(67439)),s=A(o(63692)),c=o(86022),d=A(o(22546)),u=o(62762),p=o(66080),f=o(10227),m=o(94220),y=o(9644),g=A(o(40638)),h=W(o(38018)),b=W(o(48486)),v=W(o(24772)),S=W(o(81743)),w=W(o(57377)),x=W(o(97624)),P=o(55207),C=W(o(99433)),T=W(o(19382)),_=W(o(5557)),k=W(o(25510)),M=W(o(63609)),O=W(o(67964)),E=W(o(47071)),B=W(o(33724)),z=W(o(60718)),I=W(o(78777)),j=W(o(1293)),L=W(o(37679)),F=W(o(68593)),N=W(o(80132)),D=W(o(50175)),R=o(43586);function A(e){return e&&e.__esModule?e:{default:e}}function H(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(H=function(e){return e?o:t})(e)}function W(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=H(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class V extends s.default{uniqueId=`${V.componentId}-${(0,i.uniqueId)()}`;containerRef=(0,n.createRef)();ecwid;static get componentId(){return"EcwidMyAccount"}static defaultValue=g.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(C,h,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e);const t=d.default.getAll();if(this.containerRef.current&&(0,u.isCloud)(t)&&"ecwid"===t.modules?.shop?.type){const e=this.getDBValue(),o=(0,R.valueToEciwdConfig)(e);this.ecwid=p.EcwidService.init(t.modules.shop.storeId,o),this.ecwid.myAccount(this.containerRef.current)}}componentDidUpdate(){const e=(0,R.valueToEciwdConfig)(this.getDBValue()),t=this.ecwid?.getConfig();t&&(0,f.eq)(t,e)||this.ecwid?.updateConfig(e)}renderForEdit(e,t,o){const{customCSS:i}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-my-account-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,P.style)(e,t,o)));return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(F,v),selector:".page-title__name.ec-header-h1",selectorSearchStrategy:"dom-tree"},(e=>{let{open:t}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(D,x,{allowExtend:!1}),selector:".ec-cart-step__icon.ec-cart-step__icon--custom",selectorSearchStrategy:"dom-tree"},(e=>{let{open:o}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(T,v),selector:".ec-cart-step__title.ec-header-h6",selectorSearchStrategy:"dom-tree"},(e=>{let{open:r}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(k,v),selector:".ec-breadcrumbs",selectorSearchStrategy:"dom-tree"},(e=>{let{open:d}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(O,v),selector:".ec-cart-step__text, .ec-cart-step__change.ec-link",selectorSearchStrategy:"dom-tree"},(e=>{let{open:u}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(L,v),selector:".ec-cart-step__title.ec-header-h4",selectorSearchStrategy:"dom-tree"},(e=>{let{open:p}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(j,S,{allowExtend:!1}),selector:".ec-cart__products",selectorSearchStrategy:"dom-tree"},(e=>{let{open:f}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(N,v),selector:"h3.page-title__name.ec-header-h4",selectorSearchStrategy:"dom-tree"},(e=>{let{open:m}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(E,v),selector:".ec-cart-email__text",selectorSearchStrategy:"dom-tree"},(e=>{let{open:y}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(I,w,{allowExtend:!1}),selector:".ec-cart-email__input",selectorSearchStrategy:"dom-tree"},(e=>{let{open:g}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(_,v),selector:".ec-cart__agreement",selectorSearchStrategy:"dom-tree"},(e=>{let{open:h}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(M,b,{allowExtend:!1}),selector:".form-control__button",selectorSearchStrategy:"dom-tree"},(e=>{let{open:b}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(z,v),selector:".ec-footer__row",selectorSearchStrategy:"dom-tree"},(e=>{let{open:S}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(B,v),selector:".ec-cart-step__body .ec-cart-step__section .ec-cart-step__text",selectorSearchStrategy:"dom-tree"},(e=>{let{open:l}=e;return n.default.createElement(a.default,{selectorName:this.getId(),css:i},n.default.createElement(c.Wrapper,this.makeWrapperProps({className:s}),n.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".page-title__name.ec-header-h1")?t(e.nativeEvent):e.target?.closest(".ec-cart-step__icon.ec-cart-step__icon--custom")?o(e.nativeEvent):e.target?.closest(".ec-cart-step__title.ec-header-h6")?r(e.nativeEvent):e.target?.closest(".ec-breadcrumbs")?d(e.nativeEvent):e.target?.closest(".ec-cart-step__text, .ec-cart-step__change.ec-link")?u(e.nativeEvent):e.target?.closest(".ec-cart-step__title.ec-header-h4")?p(e.nativeEvent):e.target?.closest(".ec-cart__products")?f(e.nativeEvent):e.target?.closest("h3.page-title__name.ec-header-h4")?m(e.nativeEvent):e.target?.closest(".ec-cart-email__text")?y(e.nativeEvent):e.target?.closest(".ec-cart-email__input")?g(e.nativeEvent):e.target?.closest(".ec-cart__agreement")?h(e.nativeEvent):e.target?.closest(".form-control__button")?b(e.nativeEvent):e.target?.closest(".ec-footer__row")?S(e.nativeEvent):e.target?.closest(".ec-cart-step__body .ec-cart-step__section .ec-cart-step__text")&&l(e.nativeEvent),!1),className:"brz-ecwid-my-account",id:this.uniqueId,ref:this.containerRef})))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}renderForView(e,t,o){const i=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-my-account-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,P.style)(e,t,o))),a=(0,y.makePlaceholder)({content:"{{ecwid_store_id}}"});return n.default.createElement(c.Wrapper,this.makeWrapperProps({className:i}),n.default.createElement("div",{className:"brz-ecwid-my-account","data-store-id":a}))}}},38018:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic")},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},48486:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},24772:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},81743:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"imageBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},57377:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"inputBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},97624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"userBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},55207:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{"#ecwid_html #ecwid_body && .ecwid":{standart:["cssStyleElementEcwidMyAccountParentBgColor","cssStyleElementEcwidMyAccountParentBgGradient"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--my-account":{standart:["cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing","cssStyleElementEcwidMyAccountFooterColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--track-order":{standart:["cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing","cssStyleElementEcwidMyAccountFooterColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--shopping-cart":{standart:["cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing","cssStyleElementEcwidMyAccountFooterColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.ec-link.ec-link--muted":{standart:["cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing","cssStyleElementEcwidMyAccountFooterColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon":{standart:["cssStyleElementEcwidMyAccountFooterIconSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon:hover svg":{standart:["cssStyleElementEcwidMyAccountFooterIconSize","cssStyleElementEcwidMyAccountFooterIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidMyAccountTitleTypographyFontFamily","cssStyleElementEcwidMyAccountTitleTypographyFontSize","cssStyleElementEcwidMyAccountTitleTypographyLineHeight","cssStyleElementEcwidMyAccountTitleTypographyFontWeight","cssStyleElementEcwidMyAccountTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountTitleColor","cssStyleElementEcwidMyAccountTitleAlign","cssStyleElementEcwidMyAccountTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-page-title .page-title__name.ec-header-h4":{standart:["cssStyleElementEcwidMyAccountTitle2TypographyFontFamily","cssStyleElementEcwidMyAccountTitle2TypographyFontSize","cssStyleElementEcwidMyAccountTitle2TypographyLineHeight","cssStyleElementEcwidMyAccountTitle2TypographyFontWeight","cssStyleElementEcwidMyAccountTitle2TypographyLetterSpacing","cssStyleElementEcwidMyAccountTitle2Color","cssStyleElementEcwidMyAccountTitle2Align","cssStyleElementEcwidMyAccountTitle2Spacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__text":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing","cssStyleElementEcwidMyAccountDescriptionColor","cssStyleElementEcwidMyAccountDescriptionAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__input":{standart:["cssStyleElementEcwidMyAccountInputSpacing","cssStyleElementEcwidMyAccountDescriptionSpacingTop"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__input .form-control:hover .form-control__text":{standart:["cssStyleElementEcwidMyAccountInputHeight","cssStyleElementEcwidMyAccountInputWidth","cssStyleElementEcwidMyAccountInputBgColor","cssStyleElementEcwidMyAccountInputBgGradient","cssStyleElementEcwidMyAccountInputBorderColor","cssStyleElementEcwidMyAccountInputBoxShadow","cssStyleElementEcwidMyAccountInputBorderRadius","cssStyleElementEcwidMyAccountInputTypographyFontFamily","cssStyleElementEcwidMyAccountInputTypographyFontSize","cssStyleElementEcwidMyAccountInputTypographyLineHeight","cssStyleElementEcwidMyAccountInputTypographyFontWeight","cssStyleElementEcwidMyAccountInputTypographyLetterSpacing","cssStyleElementEcwidMyAccountInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__input .form-control:hover .form-control__text:-webkit-autofill":{standart:["cssStyleElementEcwidCartInputColorAutofill"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart-email .ec-cart-email__input .form-control:hover .form-control__placeholder .form-control__placeholder-inner":{standart:["cssStyleElementEcwidMyAccountInputPlaceholderDisplay","cssStyleElementEcwidMyAccountInputTypographyFontFamily","cssStyleElementEcwidMyAccountInputTypographyFontSize","cssStyleElementEcwidMyAccountInputTypographyLineHeight","cssStyleElementEcwidMyAccountInputTypographyFontWeight","cssStyleElementEcwidMyAccountInputTypographyLetterSpacing","cssStyleElementEcwidMyAccountInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart__checkout .ec-cart__agreement":{standart:["cssStyleElementEcwidMyAccountAgreementTypographyFontFamily","cssStyleElementEcwidMyAccountAgreementTypographyFontSize","cssStyleElementEcwidMyAccountAgreementTypographyLineHeight","cssStyleElementEcwidMyAccountAgreementTypographyFontWeight","cssStyleElementEcwidMyAccountAgreementTypographyLetterSpacing","cssStyleElementEcwidMyAccountAgreementColor","cssStyleElementEcwidMyAccountAgreementAlign","cssStyleElementEcwidMyAccountAgreementSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart__checkout .ec-cart__buttons .form-control":{standart:["cssStyleElementEcwidMyAccountButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart__checkout .ec-cart__buttons .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidMyAccountButtonSize","cssStyleElementEcwidMyAccountButtonWidth","cssStyleElementEcwidMyAccountButtonColor","cssStyleElementEcwidMyAccountButtonBgColor","cssStyleElementEcwidMyAccountButtonBgGradient","cssStyleElementEcwidMyAccountButtonBorder","cssStyleElementEcwidMyAccountButtonBoxShadow","cssStyleElementEcwidMyAccountButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__body .ec-cart__body-inner .ec-signin-form .ec-cart__checkout .ec-cart__buttons .form-control .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidMyAccountButtonTypographyFontFamily","cssStyleElementEcwidMyAccountButtonTypographyFontSize","cssStyleElementEcwidMyAccountButtonTypographyLineHeight","cssStyleElementEcwidMyAccountButtonTypographyFontWeight","cssStyleElementEcwidMyAccountButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__title.ec-header-h6 ":{standart:["cssStyleElementEcwidMyAccountAccountTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__title.ec-header-h6":{standart:["cssStyleElementEcwidMyAccountAccountTitleTypographyFontFamily","cssStyleElementEcwidMyAccountAccountTitleTypographyFontSize","cssStyleElementEcwidMyAccountAccountTitleTypographyLineHeight","cssStyleElementEcwidMyAccountAccountTitleTypographyFontWeight","cssStyleElementEcwidMyAccountAccountTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountAccountTitleColor","cssStyleElementEcwidMyAccountAccountTitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section":{standart:["cssStyleElementEcwidMyAccountConnectLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__text":{standart:["cssStyleElementEcwidMyAccountConnectTypographyFontFamily","cssStyleElementEcwidMyAccountConnectTypographyFontSize","cssStyleElementEcwidMyAccountConnectTypographyLineHeight","cssStyleElementEcwidMyAccountConnectTypographyFontWeight","cssStyleElementEcwidMyAccountConnectTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart-step .ec-cart-step__block .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__change.ec-link:hover":{standart:["cssStyleElementEcwidMyAccountConnectLinkTypographyFontFamily","cssStyleElementEcwidMyAccountConnectLinkTypographyFontSize","cssStyleElementEcwidMyAccountConnectLinkTypographyLineHeight","cssStyleElementEcwidMyAccountConnectLinkTypographyFontWeight","cssStyleElementEcwidMyAccountConnectLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountConnectLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart__products .ec-cart-item .ec-cart-item__sum .ec-cart-item-sum.ec-cart-item-sum--items":{standart:["cssStyleElementEcwidMyAccountProductsTypographyFontFamily","cssStyleElementEcwidMyAccountProductsTypographyFontSize","cssStyleElementEcwidMyAccountProductsTypographyLineHeight","cssStyleElementEcwidMyAccountProductsTypographyFontWeight","cssStyleElementEcwidMyAccountProductsTypographyLetterSpacing","cssStyleElementEcwidMyAccountProductsColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart__products":{standart:["cssStyleElementEcwidMyAccountSummaryLinkAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart__products .ec-cart-item .ec-cart-item__sum .ec-cart-item-sum.ec-cart-item-sum--cta .ec-link:hover":{standart:["cssStyleElementEcwidMyAccountSummaryLinkTypographyFontFamily","cssStyleElementEcwidMyAccountSummaryLinkTypographyFontSize","cssStyleElementEcwidMyAccountSummaryLinkTypographyLineHeight","cssStyleElementEcwidMyAccountSummaryLinkTypographyFontWeight","cssStyleElementEcwidMyAccountSummaryLinkTypographyLetterSpacing","cssStyleElementEcwidMyAccountSummaryLinkColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart__step .ec-cart-step__block .ec-cart-step__icon.ec-cart-step__icon--custom":{standart:["cssStyleElementEcwidMyAccountUserSize","cssStyleElementEcwidMyAccountUserColor","cssStyleElementEcwidMyAccountUserBgColor","cssStyleElementEcwidMyAccountUserBgGradient","cssStyleElementEcwidMyAccountUserBorder","cssStyleElementEcwidMyAccountUserBoxShadow","cssStyleElementEcwidMyAccountUserBorderRadius","cssStyleElementEcwidMyAccountUserSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__account-info .ec-cart__step .ec-cart-step__block .ec-cart-step__icon.ec-cart-step__icon--custom svg":{standart:["cssStyleElementEcwidMyAccountUserSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart-step .ec-cart-step__wrap .ec-cart-step__title.ec-header-h4":{standart:["cssStyleElementEcwidMyAccountShopTitleTypographyFontFamily","cssStyleElementEcwidMyAccountShopTitleTypographyFontSize","cssStyleElementEcwidMyAccountShopTitleTypographyLineHeight","cssStyleElementEcwidMyAccountShopTitleTypographyFontWeight","cssStyleElementEcwidMyAccountShopTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountShopTitleSpacing","cssStyleElementEcwidMyAccountShopTitleColor","cssStyleElementEcwidMyAccountShopTitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section":{standart:["cssStyleElementEcwidMyAccountEmptyAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart-step__text.ec-text-muted":{standart:["cssStyleElementEcwidMyAccountEmptyTypographyFontFamily","cssStyleElementEcwidMyAccountEmptyTypographyFontSize","cssStyleElementEcwidMyAccountEmptyTypographyLineHeight","cssStyleElementEcwidMyAccountEmptyTypographyFontWeight","cssStyleElementEcwidMyAccountEmptyTypographyLetterSpacing","cssStyleElementEcwidMyAccountEmptyColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-cart__step .ec-cart-step__wrap .ec-cart-step__body .ec-cart-step__section .ec-cart__products .ec-cart__products-inner .ec-cart-item .ec-cart-item__image .ec-cart-item__picture:hover":{standart:["cssStyleElementEcwidCartImageWidth","cssStyleElementEcwidCartImageBorder","cssStyleElementEcwidCartImageBorderRadius","cssStyleElementEcwidCartImageBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs .breadcrumbs__link:hover":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-cart .ec-cart__sidebar .ec-cart__sidebar-inner .ec-page-title .ec-breadcrumbs .breadcrumbs__delimiter.ec-text-muted:hover":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]}}})}},99433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("parentBgColorHex"),s("parentBgColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,n.t)("My Account"),icon:"nc-user"},position:10,devices:"desktop",options:[{id:"footerDisplay",label:(0,n.t)("Footer"),type:"switch-dev"},{id:"signinLink",label:(0,n.t)("Sign in link"),type:"switch-dev",disabled:"off"===s("footerDisplay")},{id:"breadcrumbs",label:(0,n.t)("Breadcrumbs"),type:"switch-dev"}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("parentBgColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"parent",type:"backgroundColor-dev"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:30,icon:"nc-cog",title:(0,n.t)("Settings")},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]}},19382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("accountTitleColorHex"),s("accountTitleColorPalette"));return[{id:"toolbarTypographyAccountTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"accountTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("accountTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"accountTitleColor",type:"colorPicker-dev"}]},{id:"accountTitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"accountTitleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},5557:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("agreementColorHex"),s("agreementColorPalette"));return[{id:"toolbarTypographyAgreement",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"agreementTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("agreementColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"agreementColor",type:"colorPicker-dev"}]},{id:"agreementHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"agreementSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},25510:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("breadcrumbsColorHex"),l("breadcrumbsColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"breadcrumbsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("breadcrumbsColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"breadcrumbsColor",type:"colorPicker-dev"}]},{id:"breadcrumbsHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"breadcrumbsSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},63609:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,n.t)("Button")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabButtonBg",label:(0,n.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",position:50,icon:"nc-cog",devices:"desktop",title:(0,n.t)("Settings")}]}},67964:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("connectLinkColorHex"),c("connectLinkColorPalette"));return[{id:"toolbarTypographyConnectLink",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyConnect",label:(0,n.t)("Text"),options:[{id:"connectTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyConnectLink",label:(0,n.t)("Link"),options:[{id:"connectLinkTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("connectLinkColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabConnectColor",label:(0,n.t)("Color"),options:[{id:"connectColor",type:"colorPicker-dev"}]},{id:"tabConnectLinkColor",label:(0,n.t)("Link"),options:[{id:"connectLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"connectLinkHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},47071:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("descriptionColorHex"),s("descriptionColorPalette"));return[{id:"toolbarTypographyDescription",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"descriptionTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorDescription",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("descriptionColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"descriptionColor",type:"colorPicker-dev"}]},{id:"descriptionHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"descriptionSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},33724:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("emptyColorHex"),s("emptyColorPalette"));return[{id:"toolbarTypographyEmpty",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"emptyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("emptyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"emptyColor",type:"colorPicker-dev"}]},{id:"emptyHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},60718:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("footerColorHex"),s("footerColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,n.t)("Icon"),icon:"nc-user"},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"footerIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"footerIconCustomSize",type:"slider-dev",disabled:"custom"!==s("footerIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"footerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("footerColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColorFooter",label:(0,n.t)("Text"),options:[{id:"footerColor",type:"colorPicker-dev"}]},{id:"tabColorFooterIcon",label:(0,n.t)("Icon"),options:[{id:"footerIconColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"footerSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}},78777:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("inputColorHex"),c("inputColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-form-left",title:(0,n.t)("Advanced")},position:10,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementAdvanced",label:(0,n.t)("Advanced"),options:[{id:"placeholder",label:(0,n.t)("Placeholder"),type:"switch-dev"}]},{id:"tabCurrentElementBackground",label:(0,n.t)("Background"),options:[{id:"groupSize",type:"group-dev",options:[{id:"inputHeight",type:"slider-dev",label:(0,n.t)("Height"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"inputWidth",type:"slider-dev",label:(0,n.t)("Width"),config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"inputTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("inputColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabInputColor",label:(0,n.t)("Color"),options:[{id:"inputColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Bg"),options:[{id:"input",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"inputBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"boxShadow",label:(0,n.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"inputSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},1293:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("productsColorHex"),c("productsColorPalette"));return[{id:"toolbarTypographyProducts",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyProducts",label:(0,n.t)("Text"),options:[{id:"productsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographySummaryLink",label:(0,n.t)("Link"),options:[{id:"summaryLinkTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("productsColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabProductsColor",label:(0,n.t)("Color"),options:[{id:"productsColor",type:"colorPicker-dev"}]},{id:"tabSummaryLinkColor",label:(0,n.t)("Link"),options:[{id:"summaryLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"imageBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"imageBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"summaryLinkHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"imageWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},37679:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("shopTitleColorHex"),s("shopTitleColorPalette"));return[{id:"toolbarTypographyShopTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"shopTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("shopTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"shopTitleColor",type:"colorPicker-dev"}]},{id:"shopTitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"shopTitleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},68593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette"));return[{id:"toolbarTypographyTitle",type:"popover-dev",position:10,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("titleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"titleColor",type:"colorPicker-dev"}]},{id:"titleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"titleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},80132:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("title2ColorHex"),l("title2ColorPalette"));return[{id:"toolbarTypographyTitle2",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"title2Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("title2ColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"title2Color",type:"colorPicker-dev"}]},{id:"title2HorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"title2Spacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},50175:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("userColorHex"),s("userColorPalette"));return[{id:"toolbarUser",type:"popover-dev",position:10,config:{icon:"nc-user",title:(0,n.t)("User")},options:[{id:"groupSize",type:"group-dev",options:[{id:"userSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"userCustomSize",disabled:"custom"!==s("userSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]},{id:"toolbarColorUser",type:"popover-dev",position:20,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("userColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,n.t)("Color"),options:[{id:"userColor",type:"colorPicker-dev"}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"user",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"userBorder",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"userBoxShadow",type:"boxShadow-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:30,options:[{id:"userSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},43586:(e,t)=>{"use strict";function o(e){switch(e){case"off":return!1;case"on":return!0}}function r(e){return{show_footer_menu:o(e.footerDisplay),show_signin_link:o(e.signinLink),show_breadcrumbs:o(e.breadcrumbs)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"valueToEciwdConfig",{enumerable:!0,get:function(){return r}})},45220:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidProduct",{enumerable:!0,get:function(){return ke}});const r=Ce(o(60042)),n=_e(o(27378)),i=o(10301),a=Ce(o(36275)),l=Ce(o(67439)),s=o(75289),c=Ce(o(63692)),d=o(86022),u=Ce(o(22546)),p=o(13662),f=o(62762),m=o(66080),y=o(10227),g=o(97045),h=o(94220),b=o(9644),v=Ce(o(66207)),S=_e(o(65402)),w=_e(o(66900)),x=_e(o(762)),P=_e(o(22315)),C=_e(o(46262)),T=_e(o(54901)),_=_e(o(1455)),k=_e(o(96410)),M=_e(o(38868)),O=_e(o(58412)),E=_e(o(66662)),B=_e(o(36442)),z=_e(o(44748)),I=_e(o(39771)),j=_e(o(41466)),L=_e(o(38769)),F=_e(o(59292)),N=_e(o(65674)),D=o(2933),R=_e(o(38586)),A=_e(o(44369)),H=_e(o(46670)),W=_e(o(90945)),V=_e(o(82773)),G=_e(o(16242)),U=_e(o(28418)),q=_e(o(59315)),$=_e(o(11562)),Y=_e(o(5597)),Q=_e(o(60803)),Z=_e(o(73575)),K=_e(o(3003)),X=_e(o(29735)),J=_e(o(22757)),ee=_e(o(78475)),te=_e(o(59341)),oe=_e(o(58943)),re=_e(o(28494)),ne=_e(o(3933)),ie=_e(o(41347)),ae=_e(o(61530)),le=_e(o(18276)),se=_e(o(93097)),ce=_e(o(32923)),de=_e(o(15403)),ue=_e(o(82314)),pe=_e(o(62717)),fe=_e(o(23372)),me=_e(o(43080)),ye=_e(o(41028)),ge=_e(o(48768)),he=_e(o(71289)),be=_e(o(3117)),ve=_e(o(97882)),Se=_e(o(72898)),we=_e(o(91563)),xe=_e(o(82274)),Pe=_e(o(55791));function Ce(e){return e&&e.__esModule?e:{default:e}}function Te(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(Te=function(e){return e?o:t})(e)}function _e(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=Te(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class ke extends c.default{uniqueId=`${ke.componentId}-${(0,i.uniqueId)()}`;containerRef=(0,n.createRef)();static defaultValue=v.default;ecwid;static get componentId(){return"EcwidProduct"}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(R,S,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e);const t=u.default.getAll();if(this.containerRef.current&&(0,f.isCloud)(t)&&"ecwid"===t.modules?.shop?.type){const e=this.getValue(),o=(0,s.valueToEciwdConfig)(e),{productId:r}=(0,g.pageSelector)(this.getReduxState()),n=r??t.modules.shop.defaultProductId;this.ecwid=m.EcwidService.init(t.modules.shop.storeId,o),this.ecwid.product(n,this.containerRef.current)}}componentDidUpdate(){const e=(0,s.valueToEciwdConfig)(this.getDBValue()),t=this.ecwid?.getConfig();t&&(0,y.eq)(t,e)||this.ecwid?.updateConfig(e)}renderForEdit(e,t,o){const{customCSS:i}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-product-wrapper",(0,h.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,D.style)(e,t,o)));return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ge,_),selector:".product-details__product-title.ec-header-h3",selectorSearchStrategy:"dom-tree"},(e=>{let{open:t}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(W,_),selector:".breadcrumbs__link.ec-link.ec-link--muted.breadcrumbs__link--last",selectorSearchStrategy:"dom-tree"},(e=>{let{open:o}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ae,_),selector:".product-details__product-sku.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:r}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(re,_),selector:".details-product-price__value.ec-price-item",selectorSearchStrategy:"dom-tree"},(e=>{let{open:c}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ne,B,{allowExtend:!1}),selector:".details-product-purchase__qty",selectorSearchStrategy:"dom-tree"},(e=>{let{open:u}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ue,_),selector:".product-details-module__title.ec-header-h6.details-product-option__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:p}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ie,_),selector:".product-details-module.details-product-option.details-product-option--radio .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:f}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(U,_),selector:".product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:m}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(fe,j,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--textfield .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:y}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(me,L,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--textarea .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:g}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(le,z,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--select .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:h}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2($,T,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--date .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:b}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(X,O,{allowExtend:!1}),selector:".product-details-module.details-product-option.details-product-option--files .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:v}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(oe,_),selector:".product-details-module__title.ec-header-h6.details-product-purchase__place span",selectorSearchStrategy:"dom-tree"},(e=>{let{open:S}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Pe,_),selector:".product-details-module.product-details__product-price-wholesale .product-details-module__title.ec-header-h6.details-product-price-wholesale__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:T}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(xe,_),selector:"thead .details-product-wholesale__header",selectorSearchStrategy:"dom-tree"},(e=>{let{open:O}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(we,_),selector:"tbody .details-product-wholesale__row",selectorSearchStrategy:"dom-tree"},(e=>{let{open:B}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Q,_),selector:".product-details-module.product-details__general-info .product-details-module__title.ec-header-h6, .product-details__description div .product-details-module__title.ec-header-h6",selectorSearchStrategy:"dom-tree"},(e=>{let{open:z}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(H,_),selector:".details-product-attribute, .product-details__product-weight",selectorSearchStrategy:"dom-tree"},(e=>{let{open:j}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Y,_),selector:".product-details__product-description",selectorSearchStrategy:"dom-tree"},(e=>{let{open:L}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(de,_),selector:".product-details-module__btn-more",selectorSearchStrategy:"dom-tree"},(e=>{let{open:D}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(V,x,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--large.form-control--secondary.form-control--flexible.form-control--animated.details-product-purchase__add-more.form-control__button--icon-center.form-control--done",selectorSearchStrategy:"dom-tree"},(e=>{let{open:x}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(q,C,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout",selectorSearchStrategy:"dom-tree"},(e=>{let{open:C}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(A,w,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done",selectorSearchStrategy:"dom-tree"},(e=>{let{open:w}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(G,P,{allowExtend:!1}),selector:".form-control--checkbox-button.form-control",selectorSearchStrategy:"dom-tree"},(e=>{let{open:P}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Z,k,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add",selectorSearchStrategy:"dom-tree"},(e=>{let{open:k}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(K,M,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved",selectorSearchStrategy:"dom-tree"},(e=>{let{open:M}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(be,N,{allowExtend:!1}),selector:".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view",selectorSearchStrategy:"dom-tree"},(e=>{let{open:N}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ce,_),selector:".product-details__product-share.details-product-share .product-details-module .product-details-module__title.ec-header-h6.details-product-share__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:R}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(se,I,{allowExtend:!1}),selector:".ec-likely.details-product-share__buttons",selectorSearchStrategy:"dom-tree"},(e=>{let{open:I}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(te,E,{allowExtend:!1}),selector:".details-gallery__image:first-child",selectorSearchStrategy:"dom-tree"},(e=>{let{open:E}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ye,F,{allowExtend:!1}),selector:".details-gallery__thumbs, .details-gallery__image:not(:first-child)",selectorSearchStrategy:"dom-tree"},(e=>{let{open:F}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(Se,_),selector:".details-product-price-compare__container",selectorSearchStrategy:"dom-tree"},(e=>{let{open:A}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ve,_),selector:".product-details__product-price-wholesale-note",selectorSearchStrategy:"dom-tree"},(e=>{let{open:H}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(J,_),selector:".product-details__label-container .ec-label",selectorSearchStrategy:"dom-tree"},(e=>{let{open:W}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(pe,_),selector:".product-details-module.product-details__subtitle .product-details-module__content",selectorSearchStrategy:"dom-tree"},(e=>{let{open:V}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(he,_),selector:".product-details-module.product-details__product-like.favorite-product .product-details-module__title.ec-header-h6.favorite-product__title",selectorSearchStrategy:"dom-tree"},(e=>{let{open:G}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(ee,_),selector:".ec-footer",selectorSearchStrategy:"dom-tree"},(e=>{let{open:l}=e;return n.default.createElement(a.default,{selectorName:this.getId(),css:i},n.default.createElement(d.Wrapper,this.makeWrapperProps({className:s}),n.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".product-details__product-title.ec-header-h3")?t(e.nativeEvent):e.target?.closest(".breadcrumbs__link.ec-link.ec-link--muted.breadcrumbs__link--last")?o(e.nativeEvent):e.target?.closest(".product-details__product-sku.ec-text-muted")?r(e.nativeEvent):e.target?.closest(".details-product-price__value.ec-price-item")?c(e.nativeEvent):e.target?.closest(".details-product-purchase__qty")?u(e.nativeEvent):e.target?.closest(".product-details-module__title.ec-header-h6.details-product-option__title")?p(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--radio .product-details-module__content")?f(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content")?m(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--textfield .product-details-module__content")?y(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--textarea .product-details-module__content")?g(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--select .product-details-module__content")?h(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--date .product-details-module__content")?b(e.nativeEvent):e.target?.closest(".product-details-module.details-product-option.details-product-option--files .product-details-module__content")?v(e.nativeEvent):e.target?.closest(".product-details-module__title.ec-header-h6.details-product-purchase__place span")?S(e.nativeEvent):e.target?.closest(".product-details-module.product-details__product-price-wholesale .product-details-module__title.ec-header-h6.details-product-price-wholesale__title")?T(e.nativeEvent):e.target?.closest("thead .details-product-wholesale__header")?O(e.nativeEvent):e.target?.closest("tbody .details-product-wholesale__row")?B(e.nativeEvent):e.target?.closest(".product-details-module.product-details__general-info .product-details-module__title.ec-header-h6, .product-details__description div .product-details-module__title.ec-header-h6")?z(e.nativeEvent):e.target?.closest(".details-product-attribute, .product-details__product-weight")?j(e.nativeEvent):e.target?.closest(".product-details__product-description")?L(e.nativeEvent):e.target?.closest(".product-details-module__btn-more")?D(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--large.form-control--secondary.form-control--flexible.form-control--animated.details-product-purchase__add-more.form-control__button--icon-center.form-control--done")?x(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout")?C(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done")?w(e.nativeEvent):e.target?.closest(".form-control--checkbox-button.form-control")?P(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add")?k(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved")?M(e.nativeEvent):e.target?.closest(".form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view")?N(e.nativeEvent):e.target?.closest(".product-details__product-share.details-product-share .product-details-module .product-details-module__title.ec-header-h6.details-product-share__title")?R(e.nativeEvent):e.target?.closest(".ec-likely.details-product-share__buttons")?I(e.nativeEvent):e.target?.closest(".details-gallery__image:first-child")?E(e.nativeEvent):e.target?.closest(".details-gallery__thumbs, .details-gallery__image:not(:first-child)")?F(e.nativeEvent):e.target?.closest(".details-product-price-compare__container")?A(e.nativeEvent):e.target?.closest(".product-details__product-price-wholesale-note")?H(e.nativeEvent):e.target?.closest(".product-details__label-container .ec-label")?W(e.nativeEvent):e.target?.closest(".product-details-module.product-details__subtitle .product-details-module__content")?V(e.nativeEvent):e.target?.closest(".product-details-module.product-details__product-like.favorite-product .product-details-module__title.ec-header-h6.favorite-product__title")?G(e.nativeEvent):e.target?.closest(".ec-footer")&&l(e.nativeEvent),!1),className:"brz-ecwid-product",id:this.uniqueId,ref:this.containerRef})))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}))}renderForView(e,t,o){const i=u.default.getAll(),a=i.modules?.shop,l=(0,p.isEcwidShop)(a)?a.defaultProductId:"",c=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-product-wrapper",(0,h.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,D.style)(e,t,o))),f=(0,b.makePlaceholder)({content:"{{brizy_dc_post_id}}"}),m=(0,b.makePlaceholder)({content:"{{ecwid_store_id}}"});return n.default.createElement(d.Wrapper,this.makeWrapperProps({className:c}),n.default.createElement("div",{className:"brz-ecwid-product","data-product-id":f,"data-default-product-id":l,"data-store-id":m,"data-storefront":encodeURIComponent(JSON.stringify((0,s.valueToEciwdConfig)(e)))}))}}},65402:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic")},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},66900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"addToBagBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},762:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},22315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"checkboxBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},46262:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"checkoutBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},54901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"datepickerBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},1455:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},96410:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"favoriteBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},38868:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"favoritedBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},58412:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"filesBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},66662:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"galleryBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},36442:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"qtyBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},44748:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"selectBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},39771:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"shareButtonsBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},41466:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"textFieldBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},38769:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"textareaBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},59292:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"thumbnailBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},65674:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"viewFavoritesBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},2933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser:hover":{standart:["cssStyleElementEcwidProductBgColor","cssStyleElementEcwidProductBgGradient","cssStyleElementEcwidProductBorder","cssStyleElementEcwidProductBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar":{standart:["cssStyleElementEcwidProductPaddingSidebar"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery":{standart:["cssStyleElementEcwidProductPaddingGallery"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-title.ec-header-h3":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details__product-title.ec-header-h3":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__top .product-details__product-title.ec-header-h3":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body .ecwid-pswp #ecwid-pswp-template .pswp__scroll-wrap .pswp__ui .pswp__caption .pswp__caption__center":{standart:["cssStyleElementEcwidCartTitleColor","cssStyleElementEcwidCartTitleTypographyFontFamily","cssStyleElementEcwidCartTitleTypographyFontSize","cssStyleElementEcwidCartTitleTypographyLineHeight","cssStyleElementEcwidCartTitleTypographyFontWeight","cssStyleElementEcwidCartTitleTypographyLetterSpacing","cssStyleElementEcwidCartTitleAlign","cssStyleElementEcwidCartTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__top .ec-breadcrumbs":{standart:["cssStyleElementEcwidProductBreadcrumbsAlign","cssStyleElementEcwidProductBreadcrumbsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__top .ec-breadcrumbs .breadcrumbs__link":{standart:["cssStyleElementEcwidProductBreadcrumbsColor","cssStyleElementEcwidProductBreadcrumbsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__product-price.ec-price-item":{standart:["cssStyleElementEcwidProductPriceAlign","cssStyleElementEcwidProductPriceSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__product-price.ec-price-item .details-product-price__value.ec-price-item":{standart:["cssStyleElementEcwidProductPriceColor","cssStyleElementEcwidProductPriceTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__action-panel.details-product-purchase .product-details-module__title.ec-header-h6.details-product-purchase__place":{standart:["cssStyleElementEcwidProductInStockAlign","cssStyleElementEcwidProductInStockSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__action-panel.details-product-purchase .product-details-module__title.ec-header-h6.details-product-purchase__place span":{standart:["cssStyleElementEcwidProductInStockColor","cssStyleElementEcwidProductInStockTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content.product-details-module__content--indented .details-product-purchase__controls .details-product-purchase__bag-controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large":{standart:["cssStyleElementEcwidMyAccountButtonWidth","cssStyleElementEcwidMyAccountButtonAlign","cssStyleElementEcwidCartButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content.product-details-module__content--indented .details-product-purchase__controls .details-product-purchase__bag-controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large.form-control--secondary.form-control--flexible.form-control--animated.details-product-purchase__add-more":{standart:["cssStyleElementEcwidProductButtonRightSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content.product-details-module__content--indented .details-product-purchase__controls .details-product-purchase__bag-controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large .form-control__button":{standart:["cssStyleElementEcwidMyAccountButtonSize","cssStyleElementEcwidMyAccountButtonColor","cssStyleElementEcwidMyAccountButtonBgColor","cssStyleElementEcwidMyAccountButtonBgGradient","cssStyleElementEcwidMyAccountButtonBorder","cssStyleElementEcwidMyAccountButtonBoxShadow","cssStyleElementEcwidMyAccountButtonBorderRadius"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content.product-details-module__content--indented .details-product-purchase__controls .details-product-purchase__bag-controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidMyAccountButtonTypographyFontFamily","cssStyleElementEcwidMyAccountButtonTypographyFontSize","cssStyleElementEcwidMyAccountButtonTypographyLineHeight","cssStyleElementEcwidMyAccountButtonTypographyFontWeight","cssStyleElementEcwidMyAccountButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__checkout-controls":{standart:["cssStyleElementEcwidProductCheckoutSpacing","cssStyleElementEcwidMyAccountButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__checkout-controls .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout":{standart:["cssStyleElementEcwidProductCheckoutWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__checkout-controls .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout:hover .form-control__button":{standart:["cssStyleElementEcwidProductCheckoutSize","cssStyleElementEcwidProductCheckoutColor","cssStyleElementEcwidProductCheckoutBgColor","cssStyleElementEcwidProductCheckoutBgGradient","cssStyleElementEcwidProductCheckoutBorder","cssStyleElementEcwidProductCheckoutBoxShadow","cssStyleElementEcwidProductCheckoutBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__checkout-controls .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.details-product-purchase__checkout .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidProductCheckoutTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__add-buttons":{standart:["cssStyleElementEcwidMyAccountButtonAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done":{standart:["cssStyleElementEcwidProductAddToBagWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done:hover .form-control__button":{standart:["cssStyleElementEcwidProductAddToBagSize","cssStyleElementEcwidProductAddToBagColor","cssStyleElementEcwidProductAddToBagBgColor","cssStyleElementEcwidProductAddToBagBgGradient","cssStyleElementEcwidProductAddToBagBorder","cssStyleElementEcwidProductAddToBagBoxShadow","cssStyleElementEcwidProductAddToBagBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__controls .details-product-purchase__add-buttons .form-control.form-control--button.form-control--large.form-control--primary.form-control--flexible.form-control--animated.details-product-purchase__add-to-bag.form-control__button--icon-center.form-control--done .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidProductAddToBagTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__title.ec-header-h6":{standart:["cssStyleElementEcwidProductDetailsColor","cssStyleElementEcwidProductDetailsTypography","cssStyleElementEcwidProductDetailsAlign","cssStyleElementEcwidProductDetailsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details-module__title.ec-header-h6":{standart:["cssStyleElementEcwidProductDetailsColor","cssStyleElementEcwidProductDetailsTypography","cssStyleElementEcwidProductDetailsAlign","cssStyleElementEcwidProductDetailsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description div .product-details-module__title.ec-header-h6":{standart:["cssStyleElementEcwidProductDetailsColor","cssStyleElementEcwidProductDetailsTypography","cssStyleElementEcwidProductDetailsAlign","cssStyleElementEcwidProductDetailsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar div .product-details-module__title.ec-header-h6":{standart:["cssStyleElementEcwidProductDetailsColor","cssStyleElementEcwidProductDetailsTypography","cssStyleElementEcwidProductDetailsAlign","cssStyleElementEcwidProductDetailsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option .product-details-module__title":{standart:["cssStyleElementEcwidProductSizeColor","cssStyleElementEcwidProductSizeTypography","cssStyleElementEcwidProductSizeAlign","cssStyleElementEcwidProductSizeSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio":{standart:["cssStyleElementEcwidProductRadioSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .product-details-module__content .form-control--radio":{standart:["cssStyleElementEcwidProductRadioColumns"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .product-details-module__content .form-control--radio:hover .form-control__inline-label label":{standart:["cssStyleElementEcwidProductRadioColor","cssStyleElementEcwidProductRadioTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .product-details-module__content .form-control--radio .form-control__radio-wrap":{standart:["cssStyleElementEcwidProductRadioIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .product-details-module__content .form-control--radio:hover .form-control__radio-wrap .form-control__radio-view:after":{standart:["cssStyleElementEcwidProductRadioColorIcon","cssStyleElementEcwidProductRadioBorderColorIcon"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox":{standart:["cssStyleElementEcwidProductCheckbox2Spacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content .form-control--checkbox":{standart:["cssStyleElementEcwidProductCheckbox2Columns"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content .form-control--checkbox .form-control__checkbox-wrap .form-control__checkbox-view":{standart:["cssStyleElementEcwidProductCheckbox2IconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content .form-control--checkbox:hover .form-control__checkbox-wrap .form-control__checkbox-view:after":{standart:["cssStyleElementEcwidProductCheckbox2ColorIcon","cssStyleElementEcwidProductCheckbox2BorderColorIcon"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--checkbox .product-details-module__content .form-control--checkbox .form-control__inline-label label":{standart:["cssStyleElementEcwidProductCheckbox2Color","cssStyleElementEcwidProductCheckbox2Typography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control .form-control__text:-webkit-autofill":{standart:["cssStyleElementEcwidProductTextFieldColorFocus"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control .form-control__text":{standart:["cssStyleElementEcwidProductTextFieldPlaceholder","cssStyleElementEcwidProductTextFieldTypography","cssStyleElementEcwidProductTextFieldColor","cssStyleElementEcwidProductTextFieldPadding"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control .form-control__placeholder":{standart:["cssStyleElementEcwidProductTextFieldSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control .form-control__placeholder .form-control__placeholder-inner:hover":{standart:["cssStyleElementEcwidProductTextFieldPlaceholder","cssStyleElementEcwidProductTextFieldTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield":{standart:["cssStyleElementEcwidProductTextFieldSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content":{standart:["cssStyleElementEcwidProductTextFieldAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textfield .product-details-module__content .form-control:hover":{standart:["cssStyleElementEcwidProductTextFieldColor","cssStyleElementEcwidProductTextFieldBgColor","cssStyleElementEcwidProductTextFieldBgGradient","cssStyleElementEcwidProductTextFieldBorder","cssStyleElementEcwidProductTextFieldBorderRadius","cssStyleElementEcwidProductTextFieldBoxShadow","cssStyleElementEcwidProductTextFieldAlign","cssStyleElementEcwidProductTextFieldWidth","cssStyleElementEcwidProductTextFieldSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textarea":{standart:["cssStyleElementEcwidProductTextareaSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textarea .product-details-module__content .form-control--textarea .form-control__placeholder":{standart:["cssStyleElementEcwidProductTextareaSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textarea .product-details-module__content .form-control--textarea:hover .form-control__textarea":{standart:["cssStyleElementEcwidProductTextareaSize","cssStyleElementEcwidProductTextareaHeight","cssStyleElementEcwidProductTextareaWidth","cssStyleElementEcwidProductTextareaBgColor","cssStyleElementEcwidProductTextareaBgGradient","cssStyleElementEcwidProductTextareaBorder","cssStyleElementEcwidProductTextareaBorderRadius","cssStyleElementEcwidProductTextareaBoxShadow","cssStyleElementEcwidProductTextareaColor","cssStyleElementEcwidProductTextareaTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--textarea .product-details-module__content .form-control--textarea:hover .form-control__placeholder .form-control__placeholder-inner":{standart:["cssStyleElementEcwidProductTextareaPlaceholder","cssStyleElementEcwidProductTextareaColor","cssStyleElementEcwidProductTextareaTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select":{standart:["cssStyleElementEcwidProductSelectSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content":{standart:["cssStyleElementEcwidProductSelectAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content .form-control--select":{standart:["cssStyleElementEcwidProductSelectColor","cssStyleElementEcwidProductSelectBgColor","cssStyleElementEcwidProductSelectBgGradient","cssStyleElementEcwidProductSelectBorder","cssStyleElementEcwidProductSelectBorderRadius","cssStyleElementEcwidProductSelectBoxShadow","cssStyleElementEcwidProductSelectWidth","cssStyleElementEcwidProductSelectSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content .form-control--select .form-control__text":{standart:["cssStyleElementEcwidProductSelectPlaceholder","cssStyleElementEcwidProductSelectTypography","cssStyleElementEcwidProductSelectPadding"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content .form-control--select .form-control__arrow svg":{standart:["cssStyleElementEcwidProductSelectIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--select .product-details-module__content .form-control--select .form-control__select option":{standart:["cssStyleElementEcwidProductSelectColor","cssStyleElementEcwidProductSelectBgColor","cssStyleElementEcwidProductSelectBgGradient","cssStyleElementEcwidProductSelectBorder","cssStyleElementEcwidProductSelectBorderRadius","cssStyleElementEcwidProductSelectBoxShadow","cssStyleElementEcwidProductSelectWidth","cssStyleElementEcwidProductSelectSize","cssStyleElementEcwidProductSelectTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control .form-control__text:-webkit-autofill":{standart:["cssStyleElementEcwidProductDatepickerColorFocus"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control .form-control__text":{standart:["cssStyleElementEcwidProductDatepickerPlaceholder","cssStyleElementEcwidProductDatepickerTypography","cssStyleElementEcwidProductDatepickerColor","cssStyleElementEcwidProductDatepickerPadding"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control .form-control__placeholder":{standart:["cssStyleElementEcwidProductDatepickerSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control .form-control__placeholder .form-control__placeholder-inner:hover":{standart:["cssStyleElementEcwidProductDatepickerPlaceholder","cssStyleElementEcwidProductDatepickerTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content":{standart:["cssStyleElementEcwidProductDatepickerAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date":{standart:["cssStyleElementEcwidProductDatepickerSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--date .product-details-module__content .form-control:hover":{standart:["cssStyleElementEcwidProductDatepickerColor","cssStyleElementEcwidProductDatepickerBgColor","cssStyleElementEcwidProductDatepickerBgGradient","cssStyleElementEcwidProductDatepickerBorder","cssStyleElementEcwidProductDatepickerBorderRadius","cssStyleElementEcwidProductDatepickerBoxShadow","cssStyleElementEcwidProductDatepickerAlign","cssStyleElementEcwidProductDatepickerWidth","cssStyleElementEcwidProductDatepickerSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files":{standart:["cssStyleElementEcwidProductFilesSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files .product-details-module__content .form-control.form-control--file .form-control":{standart:["cssStyleElementEcwidProductFilesAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files .product-details-module__content .form-control.form-control--file .form-control .form-control__button:hover .form-control__button-text":{standart:["cssStyleElementEcwidProductFilesTypography","cssStyleElementEcwidProductFilesColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files .product-details-module__content .form-control.form-control--file .form-control .form-control__button:hover":{standart:["cssStyleElementEcwidProductFilesBgColor","cssStyleElementEcwidProductFilesBgGradient","cssStyleElementEcwidProductFilesBorder","cssStyleElementEcwidProductFilesBorderRadius","cssStyleElementEcwidProductFilesBoxShadow","cssStyleElementEcwidProductFilesSize","cssStyleElementEcwidProductFilesWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--files .product-details-module__content .form-control.form-control--file .form-control__add-more:hover":{standart:["cssStyleElementEcwidProductFilesBgColor","cssStyleElementEcwidProductFilesBgGradient","cssStyleElementEcwidProductFilesBorder","cssStyleElementEcwidProductFilesBorderRadius","cssStyleElementEcwidProductFilesBoxShadow","cssStyleElementEcwidProductFilesSize","cssStyleElementEcwidProductFilesWidth","cssStyleElementEcwidProductFilesTypography","cssStyleElementEcwidProductFilesColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__content .product-details__product-description":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing","cssStyleElementEcwidMyAccountDescriptionColor","cssStyleElementEcwidMyAccountDescriptionAlign","cssStyleElementEcwidMyAccountDescriptionSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details-module__content .product-details__product-description":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing","cssStyleElementEcwidMyAccountDescriptionColor","cssStyleElementEcwidMyAccountDescriptionAlign","cssStyleElementEcwidMyAccountDescriptionSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__content .product-details__product-description div p strong":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details__product-description":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing","cssStyleElementEcwidMyAccountDescriptionColor","cssStyleElementEcwidMyAccountDescriptionAlign","cssStyleElementEcwidMyAccountDescriptionSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details__product-description div p":{standart:["cssStyleElementEcwidMyAccountDescriptionTypographyFontFamily","cssStyleElementEcwidMyAccountDescriptionTypographyFontSize","cssStyleElementEcwidMyAccountDescriptionTypographyLineHeight","cssStyleElementEcwidMyAccountDescriptionTypographyFontWeight","cssStyleElementEcwidMyAccountDescriptionTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__title.ec-header-h6.favorite-product__title":{standart:["cssStyleElementEcwidMyAccountTitle2TypographyFontFamily","cssStyleElementEcwidMyAccountTitle2TypographyFontSize","cssStyleElementEcwidMyAccountTitle2TypographyLineHeight","cssStyleElementEcwidMyAccountTitle2TypographyFontWeight","cssStyleElementEcwidMyAccountTitle2TypographyLetterSpacing","cssStyleElementEcwidMyAccountTitle2Color","cssStyleElementEcwidMyAccountTitle2Align","cssStyleElementEcwidMyAccountTitle2Spacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content":{standart:["cssStyleElementEcwidProductCheckboxAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content .form-control--checkbox-button":{standart:["cssStyleElementEcwidProductCheckboxSpacingRight","cssStyleElementEcwidProductCheckboxSpacingBottom"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content .form-control--checkbox-button .form-control__inline-label label:hover":{standart:["cssStyleElementEcwidProductCheckboxTypography","cssStyleElementEcwidProductCheckboxSize","cssStyleElementEcwidProductCheckboxBorderRadius","cssStyleElementEcwidProductCheckboxBgColor","cssStyleElementEcwidProductCheckboxBgGradient","cssStyleElementEcwidProductCheckboxBorder","cssStyleElementEcwidProductCheckboxBoxShadow","cssStyleElementEcwidProductCheckboxColor","cssStyleElementEcwidProductCheckboxPadding"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content .form-control--checkbox-button .form-control__radio:checked~.form-control__inline-label label":{standart:["cssStyleElementEcwidProductCheckboxTypography","cssStyleElementEcwidProductCheckboxSize","cssStyleElementEcwidProductCheckboxBorderRadius","cssStyleElementEcwidProductCheckboxActiveBgColor","cssStyleElementEcwidProductCheckboxActiveBgGradient","cssStyleElementEcwidProductCheckboxActiveBorder","cssStyleElementEcwidProductCheckboxActiveBoxShadow","cssStyleElementEcwidProductCheckboxActiveColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--size .product-details-module__content .form-control--checkbox-button input":{standart:["cssStyleElementEcwidProductCheckboxSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__title.ec-header-h6.details-product-share__title":{standart:["cssStyleElementEcwidProductShareTitleColor","cssStyleElementEcwidProductShareTitleTypography","cssStyleElementEcwidProductShareTitleAlign","cssStyleElementEcwidProductShareTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--my-account":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--track-order":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--shopping-cart":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.ec-link.ec-link--muted":{standart:["cssStyleElementEcwidCartFooterColor","cssStyleElementEcwidCartFooterTypographyFontFamily","cssStyleElementEcwidCartFooterTypographyFontSize","cssStyleElementEcwidCartFooterTypographyLineHeight","cssStyleElementEcwidCartFooterTypographyFontWeight","cssStyleElementEcwidCartFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon":{standart:["cssStyleElementEcwidCartFooterIconSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon svg":{standart:["cssStyleElementEcwidCartFooterIconSize","cssStyleElementEcwidCartFooterIconColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product":{standart:["cssStyleElementEcwidProductFavoritesButtonsDisplay"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented":{standart:["cssStyleElementEcwidProductFavoriteAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add":{standart:["cssStyleElementEcwidProductFavoriteSpacing","cssStyleElementEcwidProductFavoriteWidth","cssStyleElementEcwidProductFavoriteButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add .form-control__button.form-control__button--icon-prepend:hover":{standart:["cssStyleElementEcwidProductFavoriteSize","cssStyleElementEcwidProductFavoriteColor","cssStyleElementEcwidProductFavoriteBgColor","cssStyleElementEcwidProductFavoriteBgGradient","cssStyleElementEcwidProductFavoriteBorder","cssStyleElementEcwidProductFavoriteBorderRadius","cssStyleElementEcwidProductFavoriteBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add .form-control__button.form-control__button--icon-prepend .form-control__button-text":{standart:["cssStyleElementEcwidProductFavoriteTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add .form-control__button.form-control__button--icon-prepend .form-control__button-svg":{standart:["cssStyleElementEcwidProductFavoriteSpacingRightIcon","cssStyleElementEcwidProductFavoriteIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-add .form-control__button.form-control__button--icon-prepend .form-control__button-svg .svg-icon":{standart:["cssStyleElementEcwidProductFavoriteIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved":{standart:["cssStyleElementEcwidProductFavoritedSpacing","cssStyleElementEcwidProductFavoritedWidth","cssStyleElementEcwidProductFavoritedButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved .form-control__button.form-control__button--icon-prepend:hover":{standart:["cssStyleElementEcwidProductFavoritedSize","cssStyleElementEcwidProductFavoritedColor","cssStyleElementEcwidProductFavoritedBgColor","cssStyleElementEcwidProductFavoritedBgGradient","cssStyleElementEcwidProductFavoritedBorder","cssStyleElementEcwidProductFavoritedBorderRadius","cssStyleElementEcwidProductFavoritedBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved .form-control__button.form-control__button--icon-prepend .form-control__button-text":{standart:["cssStyleElementEcwidProductFavoritedTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved .form-control__button.form-control__button--icon-prepend .form-control__button-svg":{standart:["cssStyleElementEcwidProductFavoritedSpacingRightIcon","cssStyleElementEcwidProductFavoritedIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-saved .form-control__button.form-control__button--icon-prepend .form-control__button-svg .svg-icon":{standart:["cssStyleElementEcwidProductFavoritedIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view":{standart:["cssStyleElementEcwidProductViewFavoritesSpacing","cssStyleElementEcwidProductViewFavoritesWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view .form-control__button:hover":{standart:["cssStyleElementEcwidProductViewFavoritesSize","cssStyleElementEcwidProductViewFavoritesColor","cssStyleElementEcwidProductViewFavoritesBgColor","cssStyleElementEcwidProductViewFavoritesBgGradient","cssStyleElementEcwidProductViewFavoritesBorder","cssStyleElementEcwidProductViewFavoritesBorderRadius","cssStyleElementEcwidProductViewFavoritesBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-like.favorite-product .product-details-module__content.product-details-module__content--indented .form-control.form-control--button.form-control--medium.form-control--secondary.form-control--done.favorite-product__button-view .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidProductViewFavoritesTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper .ec-likely__widget .ec-likely__button":{standart:["cssStyleElementEcwidProductShareButtonsTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper .ec-likely__widget .ec-likely__icon":{standart:["cssStyleElementEcwidProductShareButtonsSpacingRightIcon","cssStyleElementEcwidProductShareButtonsIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper .ec-likely__widget .ec-likely__icon svg":{standart:["cssStyleElementEcwidProductShareButtonsIconSize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper":{standart:["cssStyleElementEcwidProductShareButtonsAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-share.details-product-share .product-details-module .product-details-module__content.product-details-module__content--indented .ec-likely.details-product-share__buttons .ec-likely__wrapper .ec-likely__widget:hover":{standart:["cssStyleElementEcwidProductShareButtonsSize","cssStyleElementEcwidProductShareButtonsWidth","cssStyleElementEcwidProductShareButtonsColor","cssStyleElementEcwidProductShareButtonsBgColor","cssStyleElementEcwidProductShareButtonsBgGradient","cssStyleElementEcwidProductShareButtonsBorder","cssStyleElementEcwidProductShareButtonsBorderRadius","cssStyleElementEcwidProductShareButtonsBoxShadow","cssStyleElementEcwidProductShareButtonsSpacing","cssStyleElementEcwidProductShareButtonsSpacingRight"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap":{standart:["cssStyleElementEcwidProductGalleryWidth","cssStyleElementEcwidProductGalleryAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__images":{standart:["cssStyleElementEcwidProductThumbnailSpacingRightBottom"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__images .details-gallery__images-container .details-gallery__images-carousel .details-gallery__image":{standart:["cssStyleElementEcwidProductThumbnailSpacingStyleCenter"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__images .details-gallery__images-container .details-gallery__images-carousel .details-gallery__image:first-child .details-gallery__image-wrapper .details-gallery__image-wrapper-inner:hover":{standart:["cssStyleElementEcwidProductGalleryBorder","cssStyleElementEcwidProductGalleryBorderRadius","cssStyleElementEcwidProductGalleryBoxShadow"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__thumbs":{standart:["cssStyleElementEcwidProductThumbnailWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__thumbs .details-gallery__thumb:not(.details-gallery__thumb.details-gallery__thumb--active):hover":{standart:["cssStyleElementWOOGalleryBorderThumbnail","cssStyleElementWOOGalleryBorderRadiusThumbnail","cssStyleElementWOOGalleryBoxShadowThumbnail","cssStyleElementEcwidProductThumbnailBetween","cssStyleElementEcwidProductThumbnailWidthCenter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__images .details-gallery__images-container .details-gallery__images-carousel .details-gallery__image:not(:first-child) .details-gallery__image-wrapper .details-gallery__image-wrapper-inner:hover":{standart:["cssStyleElementWOOGalleryBorderThumbnail","cssStyleElementWOOGalleryBorderRadiusThumbnail","cssStyleElementWOOGalleryBoxShadowThumbnail","cssStyleElementEcwidProductThumbnailBetween"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__gallery .details-gallery__wrap .details-gallery__wrap-inner .details-gallery__thumbs .details-gallery__thumb.details-gallery__thumb--active":{standart:["cssStyleElementEcwidProductThumbnailActiveBorder","cssStyleElementEcwidProductThumbnailActiveBoxShadow","cssStyleElementWOOGalleryBorderRadiusThumbnail","cssStyleElementEcwidProductThumbnailBetween","cssStyleElementEcwidProductThumbnailWidthCenter"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container:hover .ec-label":{standart:["cssStyleElementEcwidProductFlagColorBg"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container:hover .ec-label:after":{standart:["cssStyleElementEcwidProductFlagColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container:hover .ec-label:before":{standart:["cssStyleElementEcwidProductFlagColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container:hover .ec-label .label__text":{standart:["cssStyleElementEcwidProductFlagLabelTypography","cssStyleElementEcwidProductFlagLabelColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block .product-details__label-container":{standart:["cssStyleElementEcwidProductFlagLabelAlign","cssStyleElementEcwidProductFlagSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-sku.ec-text-muted":{standart:["cssStyleElementEcwidProductSKUAlign","cssStyleElementEcwidProductSKUSpacing","cssStyleElementEcwidProductSKUColor","cssStyleElementEcwidProductSKUTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty":{standart:["cssStyleElementEcwidProductQtyAlign","cssStyleElementEcwidProductQtySpacingBottom"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty label .details-product-purchase__qty-label:hover":{standart:["cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing","cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidProductQtySpacingRight"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty .form-control:hover .form-control__placeholder":{standart:["cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing","cssStyleElementEcwidProductQtyColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty .form-control:hover .form-control__placeholder .form-control__placeholder-inner":{standart:["cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing","cssStyleElementEcwidProductQtyColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty .form-control:hover":{standart:["cssStyleElementEcwidProductQtyWidth","cssStyleElementEcwidProductQtyColor","cssStyleElementEcwidProductQtyBgColor","cssStyleElementEcwidProductQtyBgGradient","cssStyleElementEcwidProductQtyBorder","cssStyleElementEcwidProductQtyBorderRadius","cssStyleElementEcwidProductQtyBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__content .details-product-purchase__qty .form-control .form-control__text":{standart:["cssStyleElementEcwidProductQtyHeight","cssStyleElementEcwidCartQtyTypographyFontFamily","cssStyleElementEcwidCartQtyTypographyFontSize","cssStyleElementEcwidCartQtyTypographyLineHeight","cssStyleElementEcwidCartQtyTypographyFontWeight","cssStyleElementEcwidCartQtyTypographyLetterSpacing","cssStyleElementEcwidProductQtyColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details-module__content .product-details__product-attributes .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description .product-details-module.product-details__general-info .product-details-module__content .product-details__product-weight .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar div .product-details__product-attributes .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar div .product-details__product-weight .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description div .product-details__product-attributes .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__description div .product-details__product-weight .details-product-attribute":{standart:["cssStyleElementEcwidProductAttributeAlign","cssStyleElementEcwidProductAttributeColor","cssStyleElementEcwidProductAttributeSpacing","cssStyleElementEcwidProductAttributeTypography"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__btn-more":{standart:["cssStyleElementEcwidProductShowMoreAlign","cssStyleElementEcwidProductShowMoreSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__general-info .product-details-module__btn-more .ec-link:hover":{standart:["cssStyleElementEcwidProductShowMoreColor","cssStyleElementEcwidProductShowMoreTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__subtitle":{standart:["cssStyleElementEcwidCartSubtitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__subtitle .product-details-module__content":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing","cssStyleElementEcwidCartSubtitleAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block.product-details__product-on-sale .details-product-price-compare__container":{standart:["cssStyleElementEcwidProductWholesalePriceAlign","cssStyleElementEcwidProductWholesalePriceSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block.product-details__product-on-sale .details-product-price-compare__container .details-product-price-compare__value":{standart:["cssStyleElementEcwidProductWholesaleColor","cssStyleElementEcwidProductWholesaleTypography","cssStyleElementEcwidProductWholesalePriceRightSpacing","cssStyleElementEcwidProductWholesalePriceColumn"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__attraction-block.product-details__product-on-sale .details-product-price-compare__container .product-details__product-price-discount":{standart:["cssStyleElementEcwidProductWholesalePriceColor","cssStyleElementEcwidProductWholesalePriceTypography","cssStyleElementEcwidProductWholesalePriceColumn"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-row .product-details-module__content .product-details__product-price-wholesale-note":{standart:["cssStyleElementEcwidProductWholesaleNoteColor","cssStyleElementEcwidProductWholesaleNoteTypography","cssStyleElementEcwidProductWholesaleNoteAlign","cssStyleElementEcwidProductWholesaleNoteSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options.details-product-options .product-details-module.details-product-option.details-product-option--radio .form-control__inline-label label .option-surcharge":{standart:["cssStyleElementEcwidProductSurchargeTypography","cssStyleElementEcwidProductSurchargeColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options .product-details-module .product-details-module__content .form-control--checkbox-button .form-control__inline-label label .option-surcharge":{standart:["cssStyleElementEcwidProductSurchargeTypography","cssStyleElementEcwidProductSurchargeColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details__product-options .product-details-module .product-details-module__content .form-control--checkbox .form-control__inline-label label .option-surcharge":{standart:["cssStyleElementEcwidProductSurchargeTypography","cssStyleElementEcwidProductSurchargeColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module .product-details-module__title.ec-header-h6.details-product-price-wholesale__title":{standart:["cssStyleElementEcwidProductWholesaleTitleColor","cssStyleElementEcwidProductWholesaleTitleTypography","cssStyleElementEcwidProductWholesaleTitleAlign","cssStyleElementEcwidProductWholesaleTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-wholesale":{standart:["cssStyleElementEcwidProductWholesaleTableBodySpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-wholesale .product-details-module__content .details-product-price-wholesale__container .details-product-price-wholesale__table thead .details-product-wholesale__header .details-product-wholesale__column":{standart:["cssStyleElementEcwidProductWholesaleTableHeaderColor","cssStyleElementEcwidProductWholesaleTableHeaderTypography","cssStyleElementEcwidProductWholesaleTableHeaderAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-wholesale .product-details-module__content .details-product-price-wholesale__container .details-product-price-wholesale__table tbody .details-product-wholesale__row .details-product-wholesale__column":{standart:["cssStyleElementEcwidProductWholesaleTableBodyColor","cssStyleElementEcwidProductWholesaleTableBodyTypography","cssStyleElementEcwidProductWholesaleTableBodyAlign"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .product-details .product-details__sidebar .product-details-module.product-details__product-price-wholesale .product-details-module__content .details-product-price-wholesale__container .details-product-price-wholesale__table tbody .details-product-wholesale__row .details-product-wholesale__column .details-product__wholesale-off":{standart:["cssStyleElementEcwidProductWholesaleTableBodyColor","cssStyleElementEcwidProductWholesaleTableBodyTypography","cssStyleElementEcwidProductWholesaleTableBodyAlign"]}}})}},38586:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=o(88973);function c(e){let{v:t,device:o,state:c}=e;const d=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:c}),{hex:u}=(0,a.getOptionColorHexByPalette)(d("bgColorHex"),d("bgColorPalette")),p=d("columns"),f=p===s.EcwidProductColumns.ThreeRight,m=p===s.EcwidProductColumns.ThreeLeft,y=p!==s.EcwidProductColumns.TwoRight,g="off"===d("shareButtonsDisplay"),h="off"===d("descriptionDisplay"),b="besideImage"===d("descriptionPosition");return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,n.t)("Product"),icon:"nc-woo-related-products"},devices:"desktop",position:10,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Product"),options:[{id:"columns",label:(0,n.t)("Columns"),type:"select-dev",choices:[{title:"Two columns on the left",value:s.EcwidProductColumns.TwoLeft},{title:"Two columns on the right",value:s.EcwidProductColumns.TwoRight},{title:"Three columns on the right",value:s.EcwidProductColumns.ThreeRight},{title:"Three columns on the left",value:s.EcwidProductColumns.ThreeLeft}]},{id:"descriptionPosition",label:(0,n.t)("Description"),disabled:y,type:"select-dev",choices:[{title:"Below image",value:"belowImage"},{title:"Beside image",value:"besideImage"}]},{id:"between",label:(0,n.t)("Between"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementDisplay",label:(0,n.t)("Display"),options:[{id:"nameDisplay",label:(0,n.t)("Name"),type:"switch-dev"},{id:"nameFirstMobile",disabled:"off"===d("nameDisplay"),label:(0,n.t)("Name - First on Mobile"),type:"switch-dev",helper:{content:"The product name always shows on top on the mobile version."}},{id:"breadcrumbsDisplay",label:(0,n.t)("Breadcrumbs"),type:"switch-dev"},{id:"skuDisplay",label:(0,n.t)("SKU"),type:"switch-dev"},{id:"priceDisplay",label:(0,n.t)("Price"),type:"switch-dev"},{id:"subtitleDisplay",label:(0,n.t)("Subtitle"),type:"switch-dev"},{id:"optionsDisplay",label:(0,n.t)("Options"),type:"switch-dev"},{id:"stockLabelDisplay",label:(0,n.t)("Stock Availability labels"),type:"switch-dev"},{id:"numberInStockDisplay",label:(0,n.t)("Number of items in stock"),type:"switch-dev"},{id:"quantityDisplay",label:(0,n.t)("Quantity"),type:"switch-dev"},{id:"wholesalePricesDisplay",label:(0,n.t)("Wholesale Prices"),type:"switch-dev"},{id:"attributesDisplay",label:(0,n.t)("Attributes"),type:"switch-dev"},{id:"weightDisplay",label:(0,n.t)("Weight"),type:"switch-dev"},{id:"descriptionOptions",type:"group-dev",options:[{id:"descriptionDisplay",label:(0,n.t)("Description"),type:"switch-dev"},{id:"cutProductDescription",label:(0,n.t)("Cut description"),disabled:h||b||f||m,type:"switch-dev",helper:{content:'Cuts long product description and displays only one paragraph and "Show more" link to see full info.'}}]},{id:"footerDisplay",label:(0,n.t)("Footer"),type:"switch-dev"}]},{id:"tabCurrentElementShareButtons",label:(0,n.t)("Buttons"),options:[{id:"groupShareButtons",type:"group-dev",options:[{id:"shareButtonsDisplay",label:(0,n.t)("Share Buttons"),type:"switch-dev"},{id:"showFacebookShareBtn",label:(0,n.t)("Facebook"),type:"switch-dev",disabled:g},{id:"showPinterestShareBtn",label:(0,n.t)("Pinterest"),type:"switch-dev",disabled:g},{id:"showTwitterShareBtn",label:(0,n.t)("Twitter"),type:"switch-dev",disabled:g},{id:"showVkShareBtn",label:(0,n.t)("VK"),type:"switch-dev",disabled:g}]},{id:"favoritesButtonsDisplay",label:(0,n.t)("Favorites Buttons"),type:"switch-dev"}]}]}]},{id:"toolbarColor",type:"popover-dev",position:20,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,d("bgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"product",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"productBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"productBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",position:20,devices:"desktop",icon:"nc-cog",title:(0,n.t)("Settings")}]}},44369:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("addToBagBgColorHex"),c("addToBagBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,n.t)("Add To Bag")},options:[{id:"positionAddToBag",label:(0,n.t)("Position"),type:"slider-dev",devices:"desktop",config:{min:100,max:1e3,step:100}},{id:"groupSize",type:"group-dev",options:[{id:"addToBagSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"addToBagHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("addToBagSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"addToBagWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("addToBagSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"addToBagTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("addToBagBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"addToBagColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"addToBag",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"addToBagBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"addToBagBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"addToBagSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},46670:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("attributeColorHex"),l("attributeColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"attributeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("attributeColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"attributeColor",type:"colorPicker-dev"}]},{id:"attributeHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"attributeSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},90945:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(88973);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("breadcrumbsColorHex"),s("breadcrumbsColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,n.t)("Breadcrumbs")},devices:"desktop",options:[{id:"positionBreadcrumbs",label:(0,n.t)("Position"),type:"slider-dev",disabled:s("columns")===l.EcwidProductColumns.ThreeRight,config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"breadcrumbsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("breadcrumbsColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"breadcrumbsColor",type:"colorPicker-dev"}]},{id:"breadcrumbsHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:50,options:[{id:"breadcrumbsSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},82773:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-add",title:(0,n.t)("Add More")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"buttonRightSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabButtonBg",label:(0,n.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"buttonSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},16242:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("checkboxBgColorHex"),c("checkboxBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-check-square-on",title:(0,n.t)("Checkbox")},options:[{id:"groupSize",type:"group-dev",options:[{id:"checkboxSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"checkboxCustomSize",disabled:"custom"!==c("checkboxSize"),type:"slider-dev",config:{min:16,max:100,units:[{value:"px",title:"px"}]}}]},{id:"checkboxRightSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabCheckbox",label:(0,n.t)("Text"),options:[{id:"checkboxTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabSurcharge",label:(0,n.t)("Surcharge"),options:[{id:"surchargeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("checkboxBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"checkboxColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"checkbox",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"checkboxBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"checkboxBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"surchargeColor",label:(0,n.t)("Surcharge"),options:[{id:"surchargeColor",type:"colorPicker-dev"}]}]}]},{id:"checkboxHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"checkboxBottomSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},28418:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("checkbox2BgColorHex"),s("checkbox2BgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-check-square-on",title:(0,n.t)("Checkbox")},options:[{id:"columnGroup",type:"group-dev",options:[{id:"checkbox2ColumnSwitch",type:"switch-dev",label:(0,n.t)("Columns")},{id:"checkbox2Columns",label:(0,n.t)("Type"),disabled:"off"===s("checkbox2ColumnSwitch"),type:"select-dev",choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabCheckbox2",label:(0,n.t)("Text"),options:[{id:"checkbox2Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabSurcharge",label:(0,n.t)("Surcharge"),options:[{id:"surchargeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("checkbox2BgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"checkbox2Color",label:(0,n.t)("Text"),options:[{id:"checkbox2BgColor",type:"colorPicker-dev"}]},{id:"surchargeColor",label:(0,n.t)("Surcharge"),options:[{id:"surchargeColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"checkbox2Spacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},59315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("checkoutBgColorHex"),c("checkoutBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,n.t)("Go to Checkout")},options:[{id:"groupSize",type:"group-dev",options:[{id:"checkoutSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"checkoutHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("checkoutSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"checkoutWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("checkoutSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"checkoutTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("checkoutBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"checkoutColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"checkout",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"checkoutBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"checkoutBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"buttonHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"checkoutSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},11562:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("datepickerBgColorHex"),c("datepickerBgColorPalette"));return[{id:"toolbarCurrent",type:"popover-dev",position:10,config:{icon:"nc-grid-45",title:(0,n.t)("Date")},options:[{id:"datepickerPlaceholder",label:(0,n.t)("Placeholder"),type:"switch-dev"},{id:"datepickerSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"datepickerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("datepickerBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"datepickerColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"datepicker",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"datepickerBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"datepickerBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"datepickerHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"datepickerWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"datepickerSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},5597:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(88973);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("descriptionColorHex"),s("descriptionColorPalette")),d=s("columns");return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,n.t)("Description")},devices:"desktop",options:[{id:"positionDescription",label:(0,n.t)("Position"),type:"slider-dev",disabled:d===l.EcwidProductColumns.ThreeLeft||d===l.EcwidProductColumns.ThreeRight||"besideImage"===s("descriptionPosition"),config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"descriptionTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("descriptionColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"descriptionColor",type:"colorPicker-dev"}]},{id:"descriptionHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"descriptionSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},60803:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("detailsColorHex"),l("detailsColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"detailsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("detailsColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"detailsColor",type:"colorPicker-dev"}]},{id:"detailsHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"detailsSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},73575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("favoriteBgColorHex"),c("favoriteBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,n.t)("Button")},options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementButton",label:(0,n.t)("Button"),options:[{id:"groupSize",type:"group-dev",options:[{id:"favoriteSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"favoriteHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("favoriteSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"favoriteWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("favoriteSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"favoriteRightSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementIcon",label:(0,n.t)("Icon"),options:[{id:"groupSize",type:"group-dev",options:[{id:"groupSizeFavorite",type:"group-dev",options:[{id:"favoriteIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"favoriteIconCustomSize",type:"slider-dev",disabled:"custom"!==c("favoriteIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"favoriteRightIconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"favoriteTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("favoriteBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"favoriteColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"favorite",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"favoriteBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"favoriteBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"favoriteHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"favoriteSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},3003:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("favoritedColorHex"),c("favoritedColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,n.t)("Button")},options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementButton",label:(0,n.t)("Button"),options:[{id:"groupSize",type:"group-dev",options:[{id:"favoritedSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"favoritedHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("favoritedSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"favoritedWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("favoritedSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"favoritedRightSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementIcon",label:(0,n.t)("Icon"),options:[{id:"groupSize",type:"group-dev",options:[{id:"groupSizeFavorited",type:"group-dev",options:[{id:"favoritedIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"favoritedIconCustomSize",type:"slider-dev",disabled:"custom"!==c("favoritedIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"favoritedRightIconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"favoritedTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("favoritedColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"favoritedColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"favorited",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"favoritedBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"favoritedBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"favoriteHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"favoritedSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},29735:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("filesBgColorHex"),c("filesBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-update",title:(0,n.t)("Files")},options:[{id:"groupSize",type:"group-dev",options:[{id:"filesSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"filesHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("filesSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"filesWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("filesSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"filesTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("filesBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"filesColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"files",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"filesBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"filesBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"filesHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"filesSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},22757:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("flagLabelColorHex"),c("flagLabelColorPalette"));return[{id:"popoverTypography",type:"popover-dev",position:10,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"flagLabelTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:20,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("flagLabelColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"flagLabelColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"flagBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"flagLabelHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"flagLabelSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},78475:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("footerColorHex"),l("footerColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,n.t)("Icon"),icon:"nc-user"},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"footerIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"footerIconCustomSize",type:"slider-dev",disabled:"custom"!==l("footerIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"footerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("footerColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColorFooter",label:(0,n.t)("Text"),options:[{id:"footerColor",type:"colorPicker-dev"}]},{id:"tabColorFooterIcon",label:(0,n.t)("Icon"),options:[{id:"footerIconColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"footerSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}},59341:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("galleryBorderColorHex"),c("galleryBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("galleryBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"galleryBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"galleryBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"galleryHorizontalAlign",type:"toggle-dev",position:20,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:30,options:[{id:"galleryWidthSpacing",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},58943:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("inStockColorHex"),l("inStockColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"inStockTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("inStockColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"inStockColor",type:"colorPicker-dev"}]},{id:"inStockHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"inStockSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},28494:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("priceColorHex"),l("priceColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,n.t)("Price")},devices:"desktop",options:[{id:"positionPrice",label:(0,n.t)("Position"),type:"slider-dev",config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"priceTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("priceColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"priceColor",type:"colorPicker-dev"}]},{id:"priceHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:50,options:[{id:"priceSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},3933:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("qtyColorHex"),c("qtyColorPalette"));return[{id:"toolbarTypographyqty",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"qtyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorqty",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("qtyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"qtyColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"qty",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"qtyBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"qtyBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"qtyHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"qtyWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"qtyHeight",label:(0,n.t)("Height"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"qtySpacing",label:(0,n.t)("Right"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"qtyBottomSpacing",label:(0,n.t)("Bottom"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},41347:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("radioBgColorHex"),s("radioBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-check-circle-on",title:(0,n.t)("Radio")},options:[{id:"columnGroup",type:"group-dev",options:[{id:"radioColumnSwitch",type:"switch-dev",label:(0,n.t)("Columns")},{id:"radioColumns",label:(0,n.t)("Type"),disabled:"off"===s("radioColumnSwitch"),type:"select-dev",choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabRadio",label:(0,n.t)("Text"),options:[{id:"radioTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabSurcharge",label:(0,n.t)("Surcharge"),options:[{id:"surchargeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("radioBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"radioColor",label:(0,n.t)("Text"),options:[{id:"radioBgColor",type:"colorPicker-dev"}]},{id:"surchargeColor",label:(0,n.t)("Surcharge"),options:[{id:"surchargeColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"radioSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},61530:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("SKUColorHex"),l("SKUColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"SKUTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("SKUColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"SKUColor",type:"colorPicker-dev"}]},{id:"SKUHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"SKUSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},18276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("selectBgColorHex"),s("selectBgColorPalette"));return[{id:"toolbarCurrent",type:"popover-dev",position:10,config:{icon:"nc-form-left",title:(0,n.t)("Select")},options:[{id:"selectPlaceholder",label:(0,n.t)("Placeholder"),type:"switch-dev"},{id:"selectSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"selectTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("selectBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"selectColor",type:"colorPicker-dev"}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"select",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"selectBorder",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"selectBoxShadow",type:"boxShadow-dev"}]}]}]},{id:"selectHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"selectWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"selectSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},93097:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("shareButtonsBgColorHex"),c("shareButtonsBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-share-2",title:(0,n.t)("Button")},options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementButton",label:(0,n.t)("Button"),options:[{id:"groupSize",type:"group-dev",options:[{id:"shareButtonsSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"shareButtonsHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("shareButtonsSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"shareButtonsWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("shareButtonsSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"shareButtonsRightSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementIcon",label:(0,n.t)("Icon"),options:[{id:"groupSize",type:"group-dev",options:[{id:"groupSizeShareButtonsIcon",type:"group-dev",options:[{id:"shareButtonsIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"shareButtonsIconCustomSize",type:"slider-dev",disabled:"custom"!==c("shareButtonsIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"shareButtonsRightIconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"shareButtonsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("shareButtonsBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"shareButtonsColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"shareButtons",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"shareButtonsBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"shareButtonsBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"shareButtonsHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"shareButtonsSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},32923:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("shareTitleColorHex"),l("shareTitleColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,n.t)("Title")},devices:"desktop",options:[{id:"positionShareTitle",label:(0,n.t)("Position"),type:"slider-dev",config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"shareTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("shareTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"shareTitleColor",type:"colorPicker-dev"}]},{id:"shareTitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"shareTitleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},15403:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("showMoreColorHex"),s("showMoreColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"showMoreTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("showMoreColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"showMoreColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"showMoreHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"showMoreSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},82314:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("sizeColorHex"),l("sizeColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"sizeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("sizeColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"sizeColor",type:"colorPicker-dev"}]},{id:"sizeHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"sizeSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},62717:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("subtitleColorHex"),s("subtitleColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"subtitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("subtitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"subtitleColor",type:"colorPicker-dev"}]},{id:"subtitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"subtitleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},23372:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("textFieldBgColorHex"),c("textFieldBgColorPalette"));return[{id:"toolbarCurrent",type:"popover-dev",position:10,config:{icon:"nc-tp-capitalize",title:(0,n.t)("Text Field")},options:[{id:"textFieldPlaceholder",label:(0,n.t)("Placeholder"),type:"switch-dev"},{id:"textFieldSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},disabled:"off"===c("textFieldPlaceholder"),options:[{id:"textFieldTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("textFieldBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"textFieldColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER],disabled:"off"===c("textFieldPlaceholder")}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"textField",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"textFieldBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"textFieldBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"textFieldHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"textFieldWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"textFieldSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},43080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("textareaBgColorHex"),c("textareaBgColorPalette"));return[{id:"toolbarCurrent",type:"popover-dev",position:10,config:{icon:"nc-paragraph",title:(0,n.t)("Text Field")},options:[{id:"textareaPlaceholder",label:(0,n.t)("Placeholder"),type:"switch-dev"},{id:"textareaSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"textareaTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("textareaBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"textareaColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"textarea",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"textareaBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"textareaBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"textareaHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"textareaWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"textareaHeight",label:(0,n.t)("Height"),type:"slider-dev",config:{min:0,max:300,units:[{value:"px",title:"px"}]}},{id:"textareaSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},41028:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=o(88973);function c(e){let{v:t,device:o,state:c}=e;const d=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:c}),{hex:u}=(0,a.getOptionColorHexByPalette)(d("thumbnailBorderColorHex"),d("thumbnailBorderColorPalette")),p=d("thumbStyle"),f=p===s.EcwidProductThumb.ImgFeed,m=p===s.EcwidProductThumb.ImgThumbVertical,y=p===s.EcwidProductThumb.ImgThumbHorizontal||f?(0,n.t)("Top"):(0,n.t)("Right");return[{id:"toolbarGalleryThumbnail",type:"popover-dev",position:10,config:{title:(0,n.t)("Thumbnail"),icon:"nc-woo-gallery"},devices:"desktop",options:[{id:"galleryHoverZoom",label:(0,n.t)("Hover Zoom"),type:"switch-dev",helper:{content:"Enable or disable on hover zoom of a main product image in product details pages."}},{id:"carouselImage",label:(0,n.t)("Carousel Image"),type:"switch-dev",helper:{content:"Adds the ability to scroll product images without opening full-screen image viewer."}},{id:"previewAdditionalImages",label:(0,n.t)("Preview additional Images"),type:"switch-dev",helper:{content:"Shows the additional product image in the place of main product image when clicking on gallery thumbnail."}},{id:"thumbStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",choices:[{value:s.EcwidProductThumb.ImgFeed,icon:"nc-grid-45"},{value:s.EcwidProductThumb.ImgThumbHorizontal,icon:"nc-woo-gallery-bottom"},{value:s.EcwidProductThumb.ImgThumbVertical,icon:"nc-woo-gallery-left"}]},{id:"thumbnailAspectRatio",label:(0,n.t)("Ratio"),type:"select-dev",choices:[{value:"AUTO",title:"Auto"},{value:"PORTRAIT_0667",title:"2:3"},{value:"PORTRAIT_075",title:"3:4"},{value:"SQUARE_1",title:"1:1"},{value:"LANDSCAPE_1333",title:"4:3"},{value:"LANDSCAPE_15",title:"3:2"}]},{id:"thumbSpacing",label:y,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"betweenThumbnail",label:(0,n.t)("Between"),disabled:f,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,d("thumbnailBorderColorOpacity"))}}},position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"thumbnailBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"thumbnailBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",disabled:f||m,position:40,options:[{id:"thumbnailWidthSpacing",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]},{id:"advancedSettings",type:"advancedSettings",disabled:!f&&!m,position:40,icon:"nc-cog",devices:"desktop",title:(0,n.t)("Settings")}]}},48768:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(88973);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,n.t)("Name")},devices:"desktop",options:[{id:"positionName",label:(0,n.t)("Position"),type:"slider-dev",disabled:s("columns")===l.EcwidProductColumns.ThreeRight,config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypographyTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("titleColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"titleColor",type:"colorPicker-dev"}]},{id:"titleHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:50,options:[{id:"titleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},71289:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("title2ColorHex"),l("title2ColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-woo-related-products",title:(0,n.t)("Title")},devices:"desktop",options:[{id:"positionTitle2",label:(0,n.t)("Position"),type:"slider-dev",config:{min:100,max:1e3,step:100}}]},{id:"toolbarTypographyTitle2",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"title2Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("title2ColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"title2Color",type:"colorPicker-dev"}]},{id:"title2HorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"title2Spacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},3117:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("viewFavoritesBgColorHex"),c("viewFavoritesBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button-2",title:(0,n.t)("View Favorites")},options:[{id:"groupSize",type:"group-dev",options:[{id:"viewFavoritesSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"viewFavoritesHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("viewFavoritesSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"viewFavoritesWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("viewFavoritesSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"viewFavoritesTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("viewFavoritesBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"viewFavoritesColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"viewFavorites",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"viewFavoritesBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"viewFavoritesBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"favoriteHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"viewFavoritesSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},97882:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesaleNoteColorHex"),s("wholesaleNoteColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"wholesaleNoteTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesaleNoteColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"wholesaleNoteColor",type:"colorPicker-dev"}]},{id:"wholesaleNoteHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"wholesaleNoteSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},72898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesalePriceColorHex"),s("wholesalePriceColorPalette"));return[{id:"toolbarWholesalePrice",type:"popover-dev",config:{icon:"nc-woo-price",title:(0,n.t)("Wholesale Price")},position:10,devices:"desktop",options:[{id:"wholesalePriceColumn",label:(0,n.t)("Column"),type:"switch-dev",devices:"desktop"},{id:"wholesalePriceRightSpacing",label:(0,n.t)("Spacing"),disabled:"on"===s("wholesalePriceColumn"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabSale",label:(0,n.t)("Sale"),options:[{id:"wholesaleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabPrice",label:(0,n.t)("Price"),options:[{id:"wholesalePriceTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesalePriceColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"saleColor",label:(0,n.t)("Sale"),options:[{id:"wholesaleColor",type:"colorPicker-dev"}]},{id:"colorPrice",label:(0,n.t)("Price"),options:[{id:"wholesalePriceColor",type:"colorPicker-dev"}]}]}]},{id:"wholesalePriceHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:50,options:[{id:"wholesalePriceSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},91563:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesaleTableBodyColorHex"),s("wholesaleTableBodyColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"wholesaleTableBodyTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesaleTableBodyColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"wholesaleTableBodyColor",type:"colorPicker-dev"}]},{id:"wholesaleTableBodyHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"wholesaleTableBodySpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},82274:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesaleTableHeaderColorHex"),s("wholesaleTableHeaderColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"wholesaleTableHeaderTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesaleTableHeaderColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"wholesaleTableHeaderColor",type:"colorPicker-dev"}]},{id:"wholesaleTableHeaderHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},55791:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("wholesaleTitleColorHex"),s("wholesaleTitleColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"wholesaleTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("wholesaleTitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"wholesaleTitleColor",type:"colorPicker-dev"}]},{id:"wholesaleTitleHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},devices:"desktop",position:40,options:[{id:"wholesaleTitleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},88973:(e,t)=>{"use strict";var o,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EcwidProductThumb:function(){return o},EcwidProductColumns:function(){return r}}),function(e){e.ImgFeed="IMAGE_FEED",e.ImgThumbHorizontal="IMAGE_SINGLE_THUMBNAILS_HORIZONTAL",e.ImgThumbVertical="IMAGE_SINGLE_THUMBNAILS_VERTICAL"}(o||(o={})),function(e){e.TwoLeft="TWO_COLUMNS_SIDEBAR_ON_THE_LEFT",e.TwoRight="TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT",e.ThreeRight="THREE_COLUMNS_SIDEBAR_ON_THE_RIGHT",e.ThreeLeft="THREE_COLUMNS_SIDEBAR_ON_THE_LEFT"}(r||(r={}))},75289:(e,t)=>{"use strict";function o(e){switch(e){case"off":return!1;case"on":return!0}}function r(e){switch(e){case"besideImage":return!1;case"belowImage":return!0}}function n(e){return{product_details_show_product_name:o(e.nameDisplay),product_details_show_breadcrumbs:o(e.breadcrumbsDisplay),product_details_show_product_sku:o(e.skuDisplay),product_details_show_product_price:o(e.priceDisplay),product_details_show_subtitle:o(e.subtitleDisplay),product_details_show_product_options:o(e.optionsDisplay),product_details_show_in_stock_label:o(e.stockLabelDisplay),product_details_show_number_of_items_in_stock:o(e.numberInStockDisplay),product_details_show_qty:o(e.quantityDisplay),product_details_show_wholesale_prices:o(e.wholesalePricesDisplay),product_details_show_attributes:o(e.attributesDisplay),product_details_show_weight:o(e.weightDisplay),product_details_show_product_description:o(e.descriptionDisplay),product_details_show_share_buttons:o(e.shareButtonsDisplay),show_footer_menu:o(e.footerDisplay),product_details_two_columns_with_right_sidebar_show_product_description_on_sidebar:r(e.descriptionPosition),product_details_thumbnails_aspect_ratio:e.thumbnailAspectRatio,product_details_gallery_layout:e.thumbStyle,product_details_show_product_name_always_first_on_mobile:o(e.nameFirstMobile),product_details_show_product_photo_zoom:o(e.galleryHoverZoom),product_details_position_product_name:e.positionName,product_details_position_breadcrumbs:e.positionBreadcrumbs,product_details_position_product_price:e.positionPrice,product_details_position_buy_button:e.positionAddToBag,product_details_position_product_description:e.positionDescription,product_details_position_save_for_later:e.positionTitle2,product_details_position_share_buttons:e.positionShareTitle,product_details_layout:e.columns,product_details_show_facebook_share_button:o(e.showFacebookShareBtn),product_details_show_pinterest_share_button:o(e.showPinterestShareBtn),product_details_show_twitter_share_button:o(e.showTwitterShareBtn),product_details_show_vk_share_button:o(e.showVkShareBtn),product_details_image_carousel:o(e.carouselImage),product_details_cut_product_description_in_sidebar:o(e.cutProductDescription),product_details_additional_images_preview_on_click:o(e.previewAdditionalImages)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"valueToEciwdConfig",{enumerable:!0,get:function(){return n}})},33034:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidProducts",{enumerable:!0,get:function(){return A}});const r=N(o(60042)),n=R(o(27378)),i=o(10301),a=N(o(36275)),l=N(o(67439)),s=N(o(63692)),c=o(86022),d=N(o(22546)),u=o(62762),p=o(66080),f=o(10227),m=o(94220),y=o(9644),g=N(o(65537)),h=R(o(54424)),b=R(o(43347)),v=R(o(83967)),S=R(o(33382)),w=R(o(57183)),x=R(o(71836)),P=o(32907),C=R(o(30712)),T=R(o(1041)),_=R(o(52098)),k=R(o(23e3)),M=R(o(25624)),O=R(o(47158)),E=R(o(50970)),B=R(o(6069)),z=R(o(92337)),I=R(o(24718)),j=R(o(80975)),L=R(o(51549)),F=o(91356);function N(e){return e&&e.__esModule?e:{default:e}}function D(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(D=function(e){return e?o:t})(e)}function R(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=D(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class A extends s.default{uniqueId=`${A.componentId}-${(0,i.uniqueId)()}`;containerRef=(0,n.createRef)();ecwid;static get componentId(){return"EcwidProducts"}static defaultValue=g.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(C,h,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e);const t=d.default.getAll();if(this.containerRef.current&&(0,u.isCloud)(t)&&"ecwid"===t.modules?.shop?.type){const e=this.getDBValue(),o=(0,F.valueToEciwdConfigProducts)(e);this.ecwid=p.EcwidService.init(t.modules.shop.storeId,o),this.ecwid.products(this.containerRef.current)}}componentDidUpdate(){const e=(0,F.valueToEciwdConfigProducts)(this.getDBValue()),t=this.ecwid?.getConfig();t&&(0,f.eq)(t,e)||this.ecwid?.updateConfig(e)}renderForEdit(e,t,o){const{customCSS:i}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-products-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,P.style)(e,t,o)));return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(k,v),selector:".ec-page-title.ec-page-title__featured-products",selectorSearchStrategy:"dom-tree"},(e=>{let{open:t}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(L,v),selector:".grid-product__title-inner",selectorSearchStrategy:"dom-tree"},(e=>{let{open:o}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(z,v),selector:".grid-product__price-value.ec-price-item",selectorSearchStrategy:"dom-tree"},(e=>{let{open:r}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(B,v),selector:".grid-product__sku",selectorSearchStrategy:"dom-tree"},(e=>{let{open:d}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(T,b,{allowExtend:!1}),selector:".form-control.form-control--button",selectorSearchStrategy:"dom-tree"},(e=>{let{open:u}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(j,v),selector:".grid-product__subtitle-inner",selectorSearchStrategy:"dom-tree"},(e=>{let{open:p}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(O,S,{allowExtend:!1}),selector:".grid-product",selectorSearchStrategy:"dom-tree"},(e=>{let{open:f}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(I,x,{allowExtend:!1}),selector:".grid__sort.ec-text-muted",selectorSearchStrategy:"dom-tree"},(e=>{let{open:m}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(_,v),selector:".pager__count-pages",selectorSearchStrategy:"dom-tree"},(e=>{let{open:y}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(E,w,{allowExtend:!1}),selector:".pager__body.pager__body--has-next",selectorSearchStrategy:"dom-tree"},(e=>{let{open:g}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(M,v),selector:".ec-footer",selectorSearchStrategy:"dom-tree"},(e=>{let{open:l}=e;return n.default.createElement(a.default,{selectorName:this.getId(),css:i},n.default.createElement(c.Wrapper,this.makeWrapperProps({className:s}),n.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".ec-page-title.ec-page-title__featured-products")?t(e.nativeEvent):e.target?.closest(".grid-product__title-inner")?o(e.nativeEvent):e.target?.closest(".grid-product__price-value.ec-price-item")?r(e.nativeEvent):e.target?.closest(".grid-product__sku")?d(e.nativeEvent):e.target?.closest(".form-control.form-control--button")?u(e.nativeEvent):e.target?.closest(".grid-product__subtitle-inner")?p(e.nativeEvent):e.target?.closest(".grid-product")?f(e.nativeEvent):e.target?.closest(".grid__sort.ec-text-muted")?m(e.nativeEvent):e.target?.closest(".pager__count-pages")?y(e.nativeEvent):e.target?.closest(".pager__body.pager__body--has-next")?g(e.nativeEvent):e.target?.closest(".ec-footer")&&l(e.nativeEvent),!1),className:"brz-ecwid-products",id:this.uniqueId,ref:this.containerRef})))}))}))}))}))}))}))}))}))}))}))}))}renderForView(e,t,o){const i=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-products-wrapper",(0,m.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,P.style)(e,t,o))),a=(0,y.makePlaceholder)({content:"{{ecwid_store_id}}"});return n.default.createElement(c.Wrapper,this.makeWrapperProps({className:i}),n.default.createElement("div",{className:"brz-ecwid-products","data-store-id":a,"data-storefront":encodeURIComponent(JSON.stringify((0,F.valueToEciwdConfigProducts)(e)))}))}}},54424:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},43347:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},83967:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},33382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"labelBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},57183:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"paginationBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},71836:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"sortingBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},32907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser":{standart:["cssStyleElementEcwidProductsBgColor","cssStyleElementEcwidProductsBgGradient","cssStyleElementEcwidProductsBorder","cssStyleElementEcwidProductsBoxShadow"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--my-account":{standart:["cssStyleElementEcwidMyAccountFooterColor","cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--track-order":{standart:["cssStyleElementEcwidMyAccountFooterColor","cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.footer__link--shopping-cart":{standart:["cssStyleElementEcwidMyAccountFooterColor","cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link.ec-link.ec-link--muted":{standart:["cssStyleElementEcwidMyAccountFooterColor","cssStyleElementEcwidMyAccountFooterTypographyFontFamily","cssStyleElementEcwidMyAccountFooterTypographyFontSize","cssStyleElementEcwidMyAccountFooterTypographyLineHeight","cssStyleElementEcwidMyAccountFooterTypographyFontWeight","cssStyleElementEcwidMyAccountFooterTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon":{standart:["cssStyleElementEcwidMyAccountFooterIconSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-footer .ec-footer__row .ec-footer__cell a.ec-footer__link .svg-icon svg":{standart:["cssStyleElementEcwidMyAccountFooterIconSize","cssStyleElementEcwidMyAccountFooterIconColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__title .grid-product__title-inner":{standart:["cssStyleElementEcwidMyAccountTitleTypographyFontFamily","cssStyleElementEcwidMyAccountTitleTypographyFontSize","cssStyleElementEcwidMyAccountTitleTypographyLineHeight","cssStyleElementEcwidMyAccountTitleTypographyFontWeight","cssStyleElementEcwidMyAccountTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountTitleColor","cssStyleElementEcwidMyAccountTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__title-hover":{standart:["cssStyleElementEcwidMyAccountTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__title-hover .grid-product__title-inner":{standart:["cssStyleElementEcwidMyAccountTitleTypographyFontFamily","cssStyleElementEcwidMyAccountTitleTypographyFontSize","cssStyleElementEcwidMyAccountTitleTypographyLineHeight","cssStyleElementEcwidMyAccountTitleTypographyFontWeight","cssStyleElementEcwidMyAccountTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountTitleColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__price":{standart:["cssStyleElementEcwidMyAccountShopTitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__price-hover .grid-product__price-amount":{standart:["cssStyleElementEcwidMyAccountShopTitleSpacing","cssStyleElementEcwidMyAccountShopTitleTypographyFontFamily","cssStyleElementEcwidMyAccountShopTitleTypographyFontSize","cssStyleElementEcwidMyAccountShopTitleTypographyLineHeight","cssStyleElementEcwidMyAccountShopTitleTypographyFontWeight","cssStyleElementEcwidMyAccountShopTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountShopTitleColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__price .grid-product__price-amount":{standart:["cssStyleElementEcwidMyAccountShopTitleTypographyFontFamily","cssStyleElementEcwidMyAccountShopTitleTypographyFontSize","cssStyleElementEcwidMyAccountShopTitleTypographyLineHeight","cssStyleElementEcwidMyAccountShopTitleTypographyFontWeight","cssStyleElementEcwidMyAccountShopTitleTypographyLetterSpacing","cssStyleElementEcwidMyAccountShopTitleColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted":{standart:["cssStyleElementEcwidProductsSortingSpacing","cssStyleElementEcwidProductsSortingAlign","cssStyleElementEcwidProductsSortingDisplay"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted .form-control.form-control--select-inline.grid-sort__item.grid-sort__item--sortby:hover .form-control__select option":{standart:["cssStyleElementEcwidProductsSortingTypographyFontFamily","cssStyleElementEcwidProductsSortingTypographyFontSize","cssStyleElementEcwidProductsSortingTypographyLineHeight","cssStyleElementEcwidProductsSortingTypographyFontWeight","cssStyleElementEcwidProductsSortingTypographyLetterSpacing","cssStyleElementEcwidProductsSortingColor","cssStyleElementEcwidProductsSortingBgColor","cssStyleElementEcwidProductsSortingBgGradient","cssStyleElementEcwidProductsSortingBorder","cssStyleElementEcwidProductsSortingBorderRadius","cssStyleElementEcwidProductsSortingBoxShadow","cssStyleElementEcwidProductsSortingSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted .form-control.form-control--select-inline.grid-sort__item.grid-sort__item--sortby:hover label":{standart:["cssStyleElementEcwidProductsSortingSpacingRight","cssStyleElementEcwidProductsSortingColor","cssStyleElementEcwidProductsSortingTypographyFontFamily","cssStyleElementEcwidProductsSortingTypographyFontSize","cssStyleElementEcwidProductsSortingTypographyLineHeight","cssStyleElementEcwidProductsSortingTypographyFontWeight","cssStyleElementEcwidProductsSortingTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted .form-control.form-control--select-inline.grid-sort__item.grid-sort__item--sortby:hover .form-control__arrow:hover":{standart:["cssStyleElementEcwidProductsSortingColor","cssStyleElementEcwidProductsSortingTypographyFontFamily","cssStyleElementEcwidProductsSortingTypographyFontSize","cssStyleElementEcwidProductsSortingTypographyLineHeight","cssStyleElementEcwidProductsSortingTypographyFontWeight","cssStyleElementEcwidProductsSortingTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__sort.ec-text-muted .form-control.form-control--select-inline.grid-sort__item.grid-sort__item--sortby:hover":{standart:["cssStyleElementEcwidProductsSortingBgColor","cssStyleElementEcwidProductsSortingBgGradient","cssStyleElementEcwidProductsSortingBorder","cssStyleElementEcwidProductsSortingBorderRadius","cssStyleElementEcwidProductsSortingBoxShadow","cssStyleElementEcwidProductsSortingSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product":{standart:["cssStyleElementEcwidProductsGalleryBottomSpacing","cssStyleElementEcwidProductsGallerySize"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image:hover .grid-product__image-wrap .grid-product__label .ec-label":{standart:["cssStyleElementEcwidProductsGalleryLabelDisplay","cssStyleElementEcwidProductsLabelBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image:hover .grid-product__image-wrap .grid-product__label .ec-label .label__text":{standart:["cssStyleElementEcwidProductsLabelTypographyFontFamily","cssStyleElementEcwidProductsLabelTypographyFontSize","cssStyleElementEcwidProductsLabelTypographyLineHeight","cssStyleElementEcwidProductsLabelTypographyFontWeight","cssStyleElementEcwidProductsLabelTypographyLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__sku.ec-text-muted":{standart:["cssStyleElementEcwidProductsSKUTypographyFontFamily","cssStyleElementEcwidProductsSKUTypographyFontSize","cssStyleElementEcwidProductsSKUTypographyLineHeight","cssStyleElementEcwidProductsSKUTypographyFontWeight","cssStyleElementEcwidProductsSKUTypographyLetterSpacing","cssStyleElementEcwidProductsSKUColor","cssStyleElementEcwidProductsSKUSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__sku-hover":{standart:["cssStyleElementEcwidProductsSKUTypographyFontFamily","cssStyleElementEcwidProductsSKUTypographyFontSize","cssStyleElementEcwidProductsSKUTypographyLineHeight","cssStyleElementEcwidProductsSKUTypographyFontWeight","cssStyleElementEcwidProductsSKUTypographyLetterSpacing","cssStyleElementEcwidProductsSKUColor","cssStyleElementEcwidProductsSKUSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__button.grid-product__buy-now .form-control.form-control--button":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__button.grid-product__buy-now .form-control.form-control--button .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__button.grid-product__buy-now .form-control.form-control--button .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__button.grid-product__buy-now":{standart:["cssStyleElementEcwidCartButtonSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__button-hover.grid-product__buy-now .form-control.form-control--button":{standart:["cssStyleElementEcwidCartButtonWidth"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__button-hover.grid-product__buy-now .form-control.form-control--button .form-control__button:hover":{standart:["cssStyleElementEcwidCartButtonSize","cssStyleElementEcwidCartButtonColor","cssStyleElementEcwidCartButtonBgColor","cssStyleElementEcwidCartButtonBgGradient","cssStyleElementEcwidCartButtonBorder","cssStyleElementEcwidCartButtonBoxShadow","cssStyleElementEcwidCartButtonBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__image .grid-product__hover-wrap .grid-product__button-hover.grid-product__buy-now .form-control.form-control--button .form-control__button .form-control__button-text":{standart:["cssStyleElementEcwidCartButtonTypographyFontFamily","cssStyleElementEcwidCartButtonTypographyFontSize","cssStyleElementEcwidCartButtonTypographyLineHeight","cssStyleElementEcwidCartButtonTypographyFontWeight","cssStyleElementEcwidCartButtonTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__subtitle.ec-text-muted":{standart:["cssStyleElementEcwidProductsSubtitleSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .grid__wrap .grid__wrap-inner .grid__products .grid-product .grid-product__wrap .grid-product__wrap-inner .grid-product__subtitle.ec-text-muted .grid-product__subtitle-inner":{standart:["cssStyleElementEcwidCartSubtitleColor","cssStyleElementEcwidCartSubtitleTypographyFontFamily","cssStyleElementEcwidCartSubtitleTypographyFontSize","cssStyleElementEcwidCartSubtitleTypographyLineHeight","cssStyleElementEcwidCartSubtitleTypographyFontWeight","cssStyleElementEcwidCartSubtitleTypographyLetterSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__head.ec-text-muted":{standart:["cssStyleElementEcwidProductsCountPagesAlign","cssStyleElementEcwidProductsCountPagesSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__head.ec-text-muted .pager__count-pages":{standart:["cssStyleElementEcwidProductsCountPagesTypographyFontFamily","cssStyleElementEcwidProductsCountPagesTypographyFontSize","cssStyleElementEcwidProductsCountPagesTypographyLineHeight","cssStyleElementEcwidProductsCountPagesTypographyFontWeight","cssStyleElementEcwidProductsCountPagesTypographyLetterSpacing","cssStyleElementEcwidProductsCountPagesColor"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__body.pager__body--has-next":{standart:["cssStyleElementEcwidProductsPaginationSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__body.pager__body--has-next .pager__pages .ec-link.ec-link--muted.pager__number:hover":{standart:["cssStyleElementEcwidProductsPaginationTypographyFontFamily","cssStyleElementEcwidProductsPaginationTypographyFontSize","cssStyleElementEcwidProductsPaginationTypographyLineHeight","cssStyleElementEcwidProductsPaginationTypographyFontWeight","cssStyleElementEcwidProductsPaginationTypographyLetterSpacing","cssStyleElementPostsPaginationColor","cssStyleElementPostsPaginationBgColor","cssStyleElementPostsPaginationBorder","cssStyleElementPostsPaginationBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__body.pager__body--has-next .pager__pages .ec-link.ec-link--muted.pager__number.pager__number--current":{standart:["cssStyleElementPostsPaginationActiveColor","cssStyleElementPostsPaginationActiveBgColor","cssStyleElementPostsPaginationActiveBorder","cssStyleElementPostsPaginationBorderRadius"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-pager .pager__body.pager__body--has-next .ec-link:hover":{standart:["cssStyleElementEcwidProductsPaginationTypographyFontFamily","cssStyleElementEcwidProductsPaginationTypographyFontSize","cssStyleElementEcwidProductsPaginationTypographyLineHeight","cssStyleElementEcwidProductsPaginationTypographyFontWeight","cssStyleElementEcwidProductsPaginationTypographyLetterSpacing","cssStyleElementPostsPaginationColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionElementEcwid"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .ec-page-title.ec-page-title__featured-products":{standart:["cssStyleElementEcwidProductsFeaturedProductsAlign","cssStyleElementEcwidProductsFeaturedProductsSpacing"]},"#ecwid_html #ecwid_body && .ecwid .ec-loader-wrapper div .ecwid-productBrowser div div div .ec-wrapper .ec-store .ec-store__content-wrapper .ec-grid .ec-page-title.ec-page-title__featured-products .page-title__name.ec-header-h1":{standart:["cssStyleElementEcwidProductsFeaturedProductsTypographyFontFamily","cssStyleElementEcwidProductsFeaturedProductsTypographyFontSize","cssStyleElementEcwidProductsFeaturedProductsTypographyLineHeight","cssStyleElementEcwidProductsFeaturedProductsTypographyFontWeight","cssStyleElementEcwidProductsFeaturedProductsTypographyLetterSpacing","cssStyleElementEcwidProductsFeaturedProductsColor"]}}})}},30712:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("productsBgColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("productsBgColorHex"),l("productsBgColorPalette"));return[{id:"toolbarElementProducts",type:"popover-dev",config:{title:(0,n.t)("Products"),icon:"nc-woo-products"},devices:"desktop",position:10,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Products"),options:[{id:"productName",label:(0,n.t)("Name"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]},{id:"productSubtitle",label:(0,n.t)("Subtitle"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]},{id:"productPrice",label:(0,n.t)("Price"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]},{id:"productSKU",label:(0,n.t)("SKU"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]},{id:"buyNowButton",label:(0,n.t)("Buy now"),type:"select-dev",choices:[{value:"SHOW",title:"Show"},{value:"HIDE",title:"Hide"},{value:"SHOW_ON_HOVER",title:"Show On Hover"}]}]},{id:"tabCurrentElementDisplay",label:(0,n.t)("Display"),options:[{id:"productCardFrame",label:(0,n.t)("Card frame"),type:"switch-dev"},{id:"darkenImage",label:(0,n.t)("Darken image background"),type:"switch-dev"},{id:"additionalImage",label:(0,n.t)("Additional image on hover"),type:"switch-dev"},{id:"mainProductImage",label:(0,n.t)("Main product image"),type:"switch-dev"},{id:"sortingOptions",label:(0,n.t)("Sorting Options"),type:"switch-dev"},{id:"footerDisplay",label:(0,n.t)("Footer"),type:"switch-dev"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"products",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"productsBorder",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"productsBoxShadow",type:"boxShadow-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",position:110,icon:"nc-cog",title:(0,n.t)("Settings")}]}},1041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,n.t)("Buy now")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"CENTER"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"LEFT"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"RIGHT"},{icon:"nc-text-align-justify",title:(0,n.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"buttonSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},52098:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("countPagesColorHex"),s("countPagesColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"countPagesTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("countPagesColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"countPagesColor",type:"colorPicker-dev"}]},{id:"countPagesHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"countPagesSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},23e3:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("featuredProductsColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("featuredProductsColorHex"),l("featuredProductsColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"featuredProductsTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"featuredProductsColor",type:"colorPicker-dev"}]},{id:"featuredProductsHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"featuredProductsSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},25624:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("footerColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("footerColorHex"),l("footerColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,n.t)("Icon"),icon:"nc-user"},position:10,options:[{id:"groupSize",type:"group-dev",options:[{id:"footerIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"footerIconCustomSize",type:"slider-dev",disabled:"custom"!==l("footerIconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"footerTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColorFooter",label:(0,n.t)("Text"),options:[{id:"footerColor",type:"colorPicker-dev"}]},{id:"tabColorFooterIcon",label:(0,n.t)("Icon"),options:[{id:"footerIconColor",type:"colorPicker-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"footerSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}},47158:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o,state:i}=e;const a=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:i}),l="off"===a("editLabel");return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-woo-gallery",title:(0,r.t)("Gallery")},position:10,options:[{id:"editLabel",label:(0,r.t)("Label"),type:"switch-dev"},{id:"displayMode",label:(0,r.t)("Display Mode"),type:"select-dev",choices:[{value:"AUTO",title:"Auto"},{value:"COVER",title:"Cover"},{value:"FIT",title:"Fit"}]},{id:"ratio",label:(0,r.t)("Ratio"),type:"select-dev",choices:[{value:"PORTRAIT_0667",title:"2:3"},{value:"PORTRAIT_075",title:"3:4"},{value:"SQUARE",title:"1:1"},{value:"LANDSCAPE_1333",title:"4:3"},{value:"LANDSCAPE_15",title:"3:2"}]},{id:"groupSize",type:"group-dev",options:[{id:"galleryWidth",label:(0,r.t)("Size"),type:"radioGroup-dev",choices:[{value:"SMALL",icon:"nc-small"},{value:"MEDIUM",icon:"nc-medium"},{value:"LARGE",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"galleryCustomSize",disabled:"custom"!==a("galleryWidth"),type:"slider-dev",config:{min:1,max:6}}]}]},{id:"popoverTypography",type:"popover-dev",disabled:l,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:20,options:[{id:"labelTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},position:30,options:[{id:"galleryBottomSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",disabled:l,devices:"desktop",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},50970:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("paginationColorHex"),c("paginationColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"paginationTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("paginationColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"paginationBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"paginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"paginationBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:30,options:[{id:"paginationSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},6069:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("skuColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("skuColorHex"),l("skuColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"skuTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"skuColor",type:"colorPicker-dev"}]},{id:"horizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,n.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"skuSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},92337:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("shopTitleColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("shopTitleColorHex"),l("shopTitleColorPalette"));return[{id:"toolbarTypographyShopTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"shopTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"shopTitleColor",type:"colorPicker-dev"}]},{id:"horizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,n.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"shopTitleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},24718:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),d=c("sortingColorOpacity"),{hex:u}=(0,a.getOptionColorHexByPalette)(c("sortingColorHex"),c("sortingColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-form-left",title:(0,n.t)("Select")},options:[{id:"sortingSize",label:(0,n.t)("Size"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"sortingRightSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"sortingTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,d)}}},devices:"desktop",position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"sortingColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabButtonBg",label:(0,n.t)("Bg"),options:[{id:"sorting",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"sortingBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"sortingBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"sortingHorizontalAlign",type:"toggle-dev",position:40,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:50,options:[{id:"sortingSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},80975:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("subtitleColorHex"),s("subtitleColorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"subtitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("subtitleColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"subtitleColor",type:"colorPicker-dev"}]},{id:"horizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"CENTER"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"LEFT"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"RIGHT"},{icon:"nc-text-align-justify",title:(0,n.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"subtitleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},51549:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("titleColorOpacity"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette"));return[{id:"toolbarTypographyTitle",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s)}}},devices:"desktop",position:20,options:[{id:"titleColor",type:"colorPicker-dev"}]},{id:"horizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"CENTER"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"LEFT"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"RIGHT"},{icon:"nc-text-align-justify",title:(0,n.t)("Align"),value:"JUSTIFY"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"titleSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},91356:(e,t)=>{"use strict";function o(e){switch(e){case"off":return!1;case"on":return!0}}function r(e){return{product_list_image_aspect_ratio:e.ratio,product_list_title_behavior:e.productName,product_list_sku_behavior:e.productSKU,product_list_price_behavior:e.productPrice,product_list_subtitles_behavior:e.productSubtitle,product_list_buybutton_behavior:e.buyNowButton,product_list_show_frame:o(e.productCardFrame),product_list_product_info_layout:e.horizontalAlign,product_list_show_product_images:o(e.mainProductImage),product_list_image_size:e.galleryWidth,product_list_image_has_shadow:o(e.darkenImage),product_list_show_additional_image_on_hover:o(e.additionalImage),product_list_image_position:e.displayMode,show_footer_menu:o(e.footerDisplay)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"valueToEciwdConfigProducts",{enumerable:!0,get:function(){return r}})},22789:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidShoppingBag",{enumerable:!0,get:function(){return C}});const r=w(o(60042)),n=w(o(27378)),i=o(10301),a=w(o(36275)),l=w(o(67439)),s=w(o(63692)),c=o(86022),d=w(o(22546)),u=o(62762),p=o(66080),f=o(94220),m=o(9644),y=w(o(68268)),g=P(o(21926)),h=P(o(78694)),b=o(58881),v=P(o(7817)),S=P(o(20830));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class C extends s.default{static get componentId(){return"EcwidShoppingBag"}static defaultValue=y.default;uniqueId=`${C.componentId}-${(0,i.uniqueId)()}`;componentDidMount(){const e=d.default.getAll();(0,u.isCloud)(e)&&"ecwid"===e.modules?.shop?.type&&p.EcwidService.init(e.modules.shop.storeId,{}).shoppingCart()}renderForEdit(e,t,o){const{customCSS:i}=e,s=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-shopping-bag-wrapper",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,b.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(v,g),(e=>{let{open:t}=e;return n.default.createElement(l.default,{...this.makeToolbarPropsFromConfig2(S,h),selector:".brz-ecwid-shopping-bag-wrapper .ec-minicart__counter"},(e=>{let{open:o}=e;return n.default.createElement(a.default,{selectorName:this.getId(),css:i},n.default.createElement(c.Wrapper,this.makeWrapperProps({className:s}),n.default.createElement("div",{onClickCapture:e=>(e.stopPropagation(),e.preventDefault(),e.target?.closest(".brz-ecwid-shopping-bag-wrapper .ec-minicart__icon")?t(e.nativeEvent):e.target?.closest(".brz-ecwid-shopping-bag-wrapper .ec-minicart__counter")&&o(e.nativeEvent),!1),className:(0,r.default)("ec-cart-widget","brz-ecwid-shopping-bag"),id:this.uniqueId})))}))}))}renderForView(e,t,o){const i=(0,r.default)("brz-ecwid-wrapper","brz-ecwid-shopping-bag-wrapper",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,b.style)(e,t,o))),a=(0,m.makePlaceholder)({content:"{{ecwid_store_id}}"});return n.default.createElement(c.Wrapper,this.makeWrapperProps({className:i}),n.default.createElement("div",{className:(0,r.default)("ec-cart-widget","brz-ecwid-shopping-bag"),"data-store-id":a}))}}},21926:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},78694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabsIcon",type:"sidebarTabs-dev",tabs:[{id:"stylesIcon",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"iconBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop"}]}]},{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}},58881:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStylePaddingFourFields"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart .ec-minicart__body .ec-minicart__icon":{standart:["cssStyleSizeWidthHeight"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart .ec-minicart__body .ec-minicart__icon svg.icon-default g path":{standart:["cssStyleStroke"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart .ec-minicart__body .ec-minicart__wrap .ec-minicart__counter":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleElementEcwidShoppingBagIconDisplay","cssStyleElementEcwidShoppingBagIconPositionTop","cssStyleElementEcwidShoppingBagIconPositionLeft","cssStyleElementEcwidShoppingBagIconSpacingWidth","cssStyleElementEcwidShoppingBagIconSpacingHeight","cssStyleElementEcwidShoppingBagIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart .ec-minicart__body .ec-minicart__wrap .ec-minicart__counter:after":{standart:["cssStyleElementEcwidShoppingBagIconBorderRadius","cssStyleElementEcwidShoppingBagIconBgColor","cssStyleElementEcwidShoppingBagIconBgGradient","cssStyleElementEcwidShoppingBagIconBorder","cssStyleElementEcwidShoppingBagIconBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]},"#ecwid_html #ecwid_body &&:hover .ec-minicart:hover.ec-minicart--no-shape.ec-minicart--empty .ec-minicart__counter::after":{standart:["cssStyleElementEcwidShoppingBagIconBorderRadius","cssStyleElementEcwidShoppingBagIconBgColor","cssStyleElementEcwidShoppingBagIconBgGradient","cssStyleElementEcwidShoppingBagIconBorder","cssStyleElementEcwidShoppingBagIconBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionFill"]}}})}},7817:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("strokeColorHex"),c("strokeColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{title:(0,n.t)("Shopping Bag"),icon:"nc-woo-cart"},position:10,options:[{id:"iconDisplay",label:(0,n.t)("Cart Quantity"),type:"switch-dev"},{id:"groupSize",type:"group-dev",options:[{id:"size",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"customSize",type:"slider-dev",disabled:"custom"!==c("size"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"padding",type:"slider-dev",label:(0,n.t)("Size"),config:{min:0,max:180,units:[{title:"px",value:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("strokeColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,n.t)("Icon"),options:[{id:"strokeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:30,icon:"nc-cog",devices:"desktop",title:(0,n.t)("Settings")}]}},20830:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("iconColorHex"),c("iconColorPalette"));return[{id:"toolbarCurrentElementIcon",type:"popover-dev",config:{title:(0,n.t)("Icon Styles"),icon:"nc-star"},position:10,options:[{id:"iconPositionLeft",label:(0,n.t)("Lateral"),type:"slider-dev",config:{min:-50,max:50,units:[{title:"px",value:"px"}]}},{id:"iconPositionTop",label:(0,n.t)("Vertical"),type:"slider-dev",config:{min:-50,max:50,units:[{title:"px",value:"px"}]}},{id:"iconSpacing",label:(0,n.t)("Size"),type:"slider-dev",config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarIconColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("iconColorOpacity"))}}},devices:"desktop",position:30,options:[{id:"tabsColorIcon",type:"tabs-dev",tabs:[{id:"tabColorIcon",label:(0,n.t)("Text"),options:[{id:"iconColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"icon",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"iconBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"iconBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"duplicate",type:"button",disabled:!0},{id:"remove",type:"button",disabled:!0},{id:"advancedSettings",type:"advancedSettings",position:40,icon:"nc-cog",devices:"desktop",title:(0,n.t)("Settings")}]}},56188:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EcwidProducts:function(){return r.EcwidProducts},EcwidProduct:function(){return n.EcwidProduct},EcwidCart:function(){return i.EcwidCart},EcwidMyAccount:function(){return a.EcwidMyAccount},EcwidShoppingBag:function(){return l.EcwidShoppingBag}});const r=o(33034),n=o(45220),i=o(88017),a=o(71951),l=o(22789)},10787:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return M}});const r=C(o(33979)),n=o(13556),i=C(o(27378)),a=o(70634),l=C(o(79119)),s=o(55555),c=o(76753),d=o(72599),u=C(o(22546)),p=C(o(95664)),f=o(10744),m=o(74215),y=o(97045),g=o(92213),h=o(44576),b=o(34721),v=o(16526),S=o(4645),w=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(24119)),x=o(62467),P=C(o(63692));function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}const _=u.default.get("menuData");function k(e,t,o){const n=e.slice();return t.forEach((function(t,i){if(void 0===n[i]){const e=!1!==o.clone&&o.isMergeableObject(t);n[i]=e?((e,t)=>(0,r.default)((e=>Array.isArray(e)?[]:{})(e),e,t))(t,o):t}else o.isMergeableObject(t)?n[i]=(0,r.default)(e[i],t,o):-1===e.indexOf(t)&&n.push(t)})),n}class M extends P.default{static defaultProps={itemProps:{},sliceStartIndex:0,sliceEndIndex:1/0};insertItem(e,t){const o=(0,v.stripSystemKeys)(t),r=(0,v.setIds)(o),n=this.getDBValue()||[],i=(0,a.insert)(n,e,r);this.revalidateItemValueProcessedCache(e),this.handleValueChange(i,{arrayOperation:"insert"})}insertItemsBatch(e,t){const o=this.getDBValue()||[],r=t.reduce(((t,o,r)=>{const n=(0,v.stripSystemKeys)(o),i=(0,v.setIds)(n),l=e+r;return this.revalidateItemValueProcessedCache(l),(0,a.insert)(t,l,i)}),o);this.handleValueChange(r,{arrayOperation:"insert_bulk"})}updateItem(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getDBValue(),n=(0,a.setIn)(r,[e,"value"],t);this.handleValueChange(n,Object.assign(o,{arrayOperation:"itemChange"}))}removeItem(e){const t=this.getDBValue()||[],o=(0,a.removeAt)(t,e);this.revalidateItemValueProcessedCache(e),this.handleValueChange(o,{arrayOperation:"remove"})}replaceItem(e,t,o){const r=(0,v.stripSystemKeys)(t,{exclude:["_id"]}),n=(0,v.setIds)(r,o.idOptions),i=this.getDBValue()||[],l=(0,a.replaceAt)(i,e,n);this.revalidateItemValueProcessedCache(e),this.handleValueChange(l,{arrayOperation:"replace",itemIndex:e,oldValue:i})}cloneItem(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e+1;const o=this.getDBValue()||[];if(!o[e])throw new Error(`Can't clone invalid item at index ${e}`);this.revalidateItemValueProcessedCache(t),this.insertItem(t,o[e])}reorderItem(e,t){const o=this.getDBValue()||[];this.revalidateItemValueProcessedCache(e),this.revalidateItemValueProcessedCache(t),this.handleValueChange((0,h.move)(e,t,o),{arrayOperation:"moveItem"})}handleOpenRightSidebar(e){const t=this.getReduxState(),o=this.getReduxDispatch(),{rightSidebar:r,activeTab:n}=(0,y.uiSelector)(t);r.isOpen&&n===e||this.setState({isSidebarOpen:!0},(()=>{o((0,m.updateUI)("rightSidebar",{...r,isOpen:!0,activeTab:e}))}))}handleKeyDown=(e,t)=>{let{keyName:o,id:r}=t;e.preventDefault();const n=this.getValue(),i=n.findIndex((e=>{let{value:{_id:t}}=e;return t===r}));switch(o){case"alt+N":case"ctrl+N":case"cmd+N":case"right_cmd+N":return void this.addColumn(i+1);case"ctrl+M":case"cmd+M":case"right_cmd+M":return void this.handleOpenRightSidebar("styles");case"ctrl+K":case"cmd+K":case"right_cmd+K":return void this.handleOpenRightSidebar("effects");case"alt+D":case"ctrl+D":case"cmd+D":case"right_cmd+D":return void("StoryWrapper"===n[i].type?this.insertItem(i+1,(0,v.setOffsetsToElementFromWrapper)(n[i])):this.cloneItem(i));case"alt+C":case"ctrl+C":case"cmd+C":case"right_cmd+C":return void this.copy(i);case"alt+V":case"ctrl+V":case"cmd+V":case"right_cmd+V":return void("StoryWrapper"===n[i].type?this.paste(i,(e=>{const{offsetX:t=0,offsetY:o=0}=n[i].value.items[0].value;let r=(0,a.setIn)(e,["value","items",0,"value","offsetX"],t);return r=(0,a.setIn)(r,["value","items",0,"value","offsetY"],o),(0,v.setOffsetsToElementFromWrapper)(r)})):this.paste(i));case"alt+shift+V":case"ctrl+shift+V":case"cmd+shift+V":case"right_cmd+shift+V":case"shift+alt+V":case"shift+ctrl+V":case"shift+cmd+V":case"shift+right_cmd+V":return void this.pasteStyles(i);case"ctrl+right":case"cmd+right":case"right_cmd+right":return void this.changeHorizontalAlign(i,"increase");case"ctrl+left":case"cmd+left":case"right_cmd+left":return void this.changeHorizontalAlign(i,"decrease");case"ctrl+up":case"cmd+up":case"right_cmd+up":case"alt+up":return void this.changeVerticalAlign(i,"decrease");case"ctrl+down":case"cmd+down":case"right_cmd+down":case"alt+down":return void this.changeVerticalAlign(i,"increase");case"alt+del":case"ctrl+del":case"cmd+del":case"right_cmd+del":return void this.removeItem(i)}};getDefaultValue(){return this.props.defaultValue||[]}getValue(){return this.getDBValue()||this.getDefaultValue()}getValue2(){const e=this.getDefaultValue();return{v:this.getDBValue()||e}}revalidateItemValueProcessedCache(e){this._itemDefaultValueProcessedCache?.[e]&&delete this._itemDefaultValueProcessedCache[e]}getItemDefaultValue(e){if(this._itemDefaultValueProcessedCache?.[e])return this._itemDefaultValueProcessedCache[e];const t=this.getValue()[e],o=(0,x.getComponentDefaultValue)(t.type)||{},r=(0,c.flattenDefaultValue)(o);return this._itemDefaultValueProcessedCache=this._itemDefaultValueProcessedCache||{},this._itemDefaultValueProcessedCache[e]=r,r}getItemStylesValue(e){const t=this.getDBValue()[e].value,o=(0,y.rulesSelector)(this.getReduxState());return"_styles"in t&&t._styles&&o?t._styles.reduce(((e,t)=>{const r=o[t];return r?Object.assign(e,r):e}),{}):null}getItemValue(e){return{...this.getItemDefaultValue(e),...this.getItemStylesValue(e),...this.getDBValue()[e].value}}validateValue(){}getItemProps(e,t,o){const{itemProps:r}=M.defaultProps,{itemProps:n=r}=this.props;return"function"==typeof n?n(e,t,o):n}makeItemsToolbarPropsFromConfig2(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n=this;const{onToolbarOpen:i,onToolbarClose:a,onToolbarEnter:l,onToolbarLeave:d}=this.props,{itemIndex:u,allowExtendFromParent:p,parentItemsFilter:f,parentExtendProp:m="toolbarExtend",allowExtendFromChild:h,allowExtendFromThirdParty:v,thirdPartyExtendId:x=this.getComponentId(),allowSidebarExtendFromParent:P,allowSidebarExtendFromChild:C,allowSidebarExtendFromThirdParty:T,sidebarThirdPartyExtendId:_=x}=(0,c.makeToolbarPropsFromConfigDefaults)(r);if(void 0===(0,S.read)(u))throw new Error("Missing itemIndex in options");return{getItems:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,y.deviceModeSelector)((0,g.getStore)().getState());const o=n.getItemValue(u),r=w.mRead(o.tabsState);let i=n.bindToolbarItems(o,t,r,e?.getItems({v:o,component:n,device:t,state:r,context:n.context})??[]);if(p&&n.props[m]){const{getItems:e}=n.props[m];let o=e(t);"function"==typeof f&&(o=f(o)),i=(0,s.mergeOptions)(i,o)}if(h&&n.childToolbarExtend){const{getItems:e}=n.childToolbarExtend,o=e(t);i=(0,s.mergeOptions)(o,i)}if(v){const e=(0,b.applyFilter)(`toolbarItemsExtend_${x}`,null);if(e?.getItems){const a=n.bindToolbarItems(o,t,r,e.getItems({v:o,component:n,device:t,state:r,context:n.context}));i=(0,s.mergeOptions)(i,a)}}return i},getSidebarItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,y.deviceModeSelector)((0,g.getStore)().getState());const o=n.getItemValue(u),r=w.mRead(o.tabsState);let i=n.bindToolbarItems(o,e,r,t?.getItems?.({v:o,component:n,device:e,state:r,context:n.context})||[]);if(P&&n.props[m]?.getSidebarItems){const{getSidebarItems:t}=n.props[m],o=t(e);i=(0,s.mergeOptions)(i,o)}if(C&&n.childToolbarExtend){const{getSidebarItems:t}=n.childToolbarExtend,o=t(e);i=(0,s.mergeOptions)(o,i)}if(T){const t=(0,b.applyFilter)(`sidebarItemsExtend_${_}`,null);if(t?.getItems){const a=n.bindToolbarItems(o,e,r,t.getItems({v:o,component:n,device:e,state:r,context:n.context}));i=(0,s.mergeOptions)(i,a)}}return i},getSidebarTitle:()=>{let e=t?.title;if("function"==typeof e&&(e=e({v:this.getItemValue(u)})),P&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(C&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{o.g.Brizy.activeEditorComponent=this},onBeforeClose:()=>{o.g.Brizy.activeEditorComponent=null},onOpen:i,onClose:a,onMouseEnter:l,onMouseLeave:d}}renderItemData(e,t,o,r){var n=this;const{type:a,value:s}=e,c=p.default.getComponent(a),d=this.getDefaultValue(),u=this.getItemProps(e,o,r),f=d[o]&&d[o].value,m=s,y=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{intent:r}=t;switch(r){case"replace_all":n.replaceItem(o,e,t);break;case"remove_all":n.removeItem(o,t);break;default:n.updateItem(o,e,t)}};if(c)return i.default.createElement(l.default,{key:t,onRemove:()=>this.removeItem(o)},i.default.createElement(c,{...u,defaultValue:f,dbValue:m,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:y}));{const e=p.default.getNotFoundComponent();return i.default.createElement(e,{...u,key:t,defaultValue:f,dbValue:m,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:y,componentId:a})}}renderItemWrapper(e,t,o,r,n){return e}renderItem=(e,t,o)=>{const{sliceStartIndex:r,sliceEndIndex:n}=M.defaultProps,{sliceStartIndex:i=r,sliceEndIndex:a=n}=this.props;if(t>=i&&t{const{path:e,value:t}=(0,y.copiedElementNoRefsSelector)((0,g.getStore)().getState());return t&&e.length>0?(0,a.getIn)(O(t),e):null};changeVerticalAlign(e,t){const r=this.getValue(),n=(0,y.pageDataNoRefsSelector)((0,g.getStore)().getState()),i=o.g.Brizy.activeEditorComponent.getId(),l=(0,v.createFullModelPath)(n,[i]),{path:s,value:c}=(0,v.getParentWhichContainsStyleProperty)(l,n,"verticalAlign");if(c&&s){const{type:o,value:i}=c,l=this.getAlignments(),{defaultValue:{style:{verticalAlign:d}}}=p.default.getComponent(o),u=i.verticalAlign||d||"top",f=(0,v.getElementOfArrayLoop)(l,u,t),{id:m,bindKey:y}=this.getIdBindKey(),g=y?[m,y,`${e}`]:[m,`${e}`],h=(0,v.createFullModelPath)(n,g),b=s.reduce(((e,t,o)=>(void 0===h[o]&&e.push(s[o]),e)),[]);if(0===b.length){const t=(0,a.setIn)(r,[e,"value"],{...i,verticalAlign:f});this.updateItem(e,t[e].value)}else{const t=(0,a.setIn)(r,[...b,"value"],{...i,verticalAlign:f});this.updateItem(e,t[e].value)}}}changeHorizontalAlign(e,t){const r=this.getValue(),n=o.g.Brizy.activeEditorComponent.getId(),i=(0,g.getStore)().getState(),l=(0,y.pageDataNoRefsSelector)(i),s=(0,v.createFullModelPath)(l,[n]),{deviceMode:c}=i.ui,d="desktop"===c?"horizontalAlign":`${c}HorizontalAlign`,{path:u,value:f}=(0,v.getParentWhichContainsStyleProperty)(s,l,d);if(f&&u){const{type:o,value:n}=f,i=["left","center","right"],{defaultValue:{style:s}}=p.default.getComponent(o),c=n[d]||s[d]||"left",m=(0,v.getElementOfArrayLoop)(i,c,t),{id:y,bindKey:g}=this.getIdBindKey(),h=g?[y,g,`${e}`]:[y,`${e}`],b=(0,v.createFullModelPath)(l,h),S=u.reduce(((e,t,o)=>(void 0===b[o]&&e.push(u[o]),e)),[]);if(0===S.length){const t=(0,a.setIn)(r,[e,"value"],{...n,[d]:m});this.updateItem(e,t[e].value)}else{const t=(0,a.setIn)(r,[...S,"value"],{...n,[d]:m});this.updateItem(e,t[e].value)}}}copy(e){const t=this.getReduxDispatch(),o=(0,y.pageDataNoRefsSelector)(this.getReduxState()),{id:r,bindKey:n}=this.getIdBindKey(),i=n?[r,n,`${e}`]:[r,`${e}`],a=(0,v.createFullModelPath)(o,i),l=O(o);t((0,f.updateCopiedElement)({value:l,path:a}))}paste(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;const o=this.getValue()[e],{path:r,value:n}=(0,y.copiedElementNoRefsSelector)((0,g.getStore)().getState());if(!n)return;const{value:i}=(0,v.getClosestParent)(r,O(n),"Cloneable"===o.type||"Wrapper"===o.type?e=>{let{type:t}=e;return"Cloneable"===t||"Wrapper"===t}:e=>{let{type:t}=e;return t===o.type});i&&this.insertItem(e+1,t(i))}pasteStyles(e){const{path:t,value:o}=(0,y.copiedElementNoRefsSelector)((0,g.getStore)().getState());if(!o)return;const n=this.getValue()[e],i=this.getCurrentCopiedElement();let a=0;if(i&&("Wrapper"===i.type&&"Wrapper"===n.type||"StoryWrapper"===i.type&&"StoryWrapper"===n.type)){if(i.value.items[0].type!==n.value.items[0].type)return;a=1,"Form"===i.value.items[0].type||"IconText"===i.value.items[0].type?a=3:"ImageGallery"===i.value.items[0].type&&(a=2)}const{value:l}=(0,v.getClosestParent)(t,O(o),(e=>{let{type:t}=e;return t===n.type}));if(l){const t=(0,v.setStyles)(l,a),o=(0,r.default)(n,t,{arrayMerge:k});this.updateItem(e,o.value)}}}function O(e){return(0,v.mapModels)((e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:r={}}=o,i=t||_[0]?.id;if(i){const t=_.find((e=>e.id===i))||{};return(0,n.produce)(e,(e=>{e.value.items=(0,d.symbolsToItems)(t.items||[],r)}))}}return e}),e)}},42582:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{BatchFetcher:function(){return a},DCApiProxy:function(){return l},DCApiProxyInstance:function(){return s}});const r=(n=o(74926))&&n.__esModule?n:{default:n};var n;const i=o(64187);class a{fetcher;waitTime;promise;promiseResolve;timeoutId=0;count=0;requestMapper=new Map;buffer=new Map;constructor(e,t){const{waitTime:o=2e3}=t??{};this.fetcher=e,this.waitTime=o}getDC(e,t){this.promise||(this.promise=new Promise((e=>{this.promiseResolve=e})).then((()=>{const e={};for(const[t,o]of this.buffer.entries())e[t]=Array.from(o.keys());return this.buffer.clear(),this.promise=void 0,this.fetcher({placeholders:e})})));const o=t.postId,r=this.count,n=this.buffer.get(o)??new Map,i=this.requestMapper.get(r)??[];if(e.forEach((e=>{const t=n.get(e);if(void 0===t){const t=n.size;n.set(e,t),i.push(t)}else i.push(t)})),this.buffer.set(o,n),this.requestMapper.set(r,i),this.count++,clearTimeout(this.timeoutId),!this.promiseResolve)throw new Error("should not get here");return this.timeoutId=window.setTimeout(this.promiseResolve,this.waitTime),this.promise.then((e=>{const t=e[o],n=this.requestMapper.get(r);return this.requestMapper.delete(r),void 0===t||void 0===n?new Array(100).fill(""):n.map((e=>t[e]??""))}))}}class l{fetcher;cache;useCache;cacheMaxSize;constructor({fetcher:e,useCache:t=!0,cacheLvl1MaxSize:o=500}){this.fetcher=e,this.useCache=t,this.cacheMaxSize=o,this.cache=new r.default({maxSize:this.useCache?this.cacheMaxSize:1})}static makeCacheKey(e,t){return`${t.postId}-${e}`}getFromCache(e,t){return this.cache.get(l.makeCacheKey(e,t))}clearCache(){this.cache.clear()}setInCache(e,t,o){this.cache.set(l.makeCacheKey(e,o),t)}getDC(e,t){return 0===e.length?Promise.resolve([]):this.useCache&&e.every((e=>void 0!==this.getFromCache(e,t)))?Promise.resolve(e.map((e=>this.getFromCache(e,t)))):this.fetcher.getDC(e,t).then((o=>{if(this.useCache&&(t.cache??1)&&e.length===o.length)for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getDCObjPreview:function(){return a},getDCObjEditor_:function(){return l},getDCObjEditor:function(){return s}});const r=o(9644),n=o(42582),i=o(2610),a=e=>{const t={},o={};for(const n of e){const e=(0,i.placeholderObjFromECKeyDCInfo)(n);e&&(t[n.key]=(0,r.makePlaceholder)(e),o[n.key]={loaded:!0,staticValue:n.staticValue,dcValue:t[n.key]})}return{type:"complete",value:t,details:o}},l=e=>(t,o)=>{const n=[],a=[],l={},s={},c={postId:o.dynamicContent.itemId};for(const o of t){const t=(0,i.placeholderObjFromECKeyDCInfo)(o);if(!t)continue;const d=(0,r.makePlaceholder)(t),u=e.getFromCache(d,c);void 0===u?(n.push(o.key),a.push(d),s[o.key]={loaded:!1,staticValue:o.staticValue,dcValue:void 0}):(l[o.key]=u,s[o.key]={loaded:!0,staticValue:o.staticValue,dcValue:u})}return 0===n.length?{type:"complete",value:l,details:s}:{type:"incomplete",_getCompleteAborted:!1,partialValue:l,async getComplete(){const t=await e.getDC(a,c);if(this._getCompleteAborted)throw new Error("getComplete aborted");const o={...l},r={...s};for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useDC",{enumerable:!0,get:function(){return s}});const r=o(27378),n=o(55824),i=o(42582);function a(e,t){switch(e.status){case"initial":switch(t.type){case"wait_delay":return{status:"waiting_delay"};case"wait_fetch":return{status:"waiting_fetch"}}break;case"waiting_delay":switch(t.type){case"wait_fetch":return{status:"waiting_fetch"};case"fetch_success":return{status:"success",data:t.data};case"fetch_fail":return{status:"failed",error:t.error};case"reset":return{status:"initial"}}break;case"waiting_fetch":switch(t.type){case"fetch_success":return{status:"success",data:t.data};case"fetch_fail":return{status:"failed",error:t.error};case"reset":return{status:"initial"}}break;case"success":case"failed":if("reset"===t.type)return{status:"initial"}}return e}const l={status:"initial"};function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const[o,s]=(0,r.useReducer)(a,l),c=(0,r.useRef)(),d=(0,r.useRef)(),{dynamicContent:{itemId:u}}=(0,r.useContext)(n.EditorComponentContext),{status:p}=o,f=(0,r.useMemo)((()=>"initial"!==p),[p]);return(0,r.useEffect)((()=>{if(null!=e&&""!==e)return f&&s({type:"reset"}),()=>{c.current?.abort(),clearTimeout(d.current)}}),[e]),(0,r.useEffect)((()=>{if(null==e||""===e||f)return;t>0?(s({type:"wait_delay"}),d.current=window.setTimeout((()=>{s({type:"wait_fetch"})}),t)):s({type:"wait_fetch"});const o={postId:u},r=i.DCApiProxyInstance.getFromCache(e,o);if(void 0!==r)clearTimeout(d.current),s({type:"fetch_success",data:r});else{const t=new AbortController,r=t.signal;c.current=t,i.DCApiProxyInstance.getDC([e],o).then((e=>{!1===r.aborted&&s({type:"fetch_success",data:e[0]})})).catch((e=>{!1===r.aborted&&s({type:"fetch_fail",error:e})})).finally((()=>{window.clearTimeout(d.current)}))}}),[t,e,u,f]),null==e||""===e?{status:"empty"}:o}},2610:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDCKey:function(){return c},keyToDCKey:function(){return d},dcKeyToKey:function(){return u},keyToDCAttrKey:function(){return p},keyToDCFallback2Key:function(){return f},keyToDCEntityIdKey:function(){return m},keyToDCEntityTypeKey:function(){return y},hasDC:function(){return g},keyDCInfo:function(){return h},placeholderObjFromECKeyDCInfo:function(){return b},dcApiProxyTestFetcher:function(){return v}});const r=o(9644),n=s(o(48630)),i=s(o(63300)),a=o(6085);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const c=e=>e.endsWith("Population"),d=e=>(0,a.camelCase)([e,"population"]),u=e=>e.slice(0,-10),p=e=>(0,a.camelCase)([e,"populationAttr"]),f=e=>(0,a.camelCase)([e,"populationFallback2"]),m=e=>(0,a.camelCase)([e,"populationEntityId"]),y=e=>(0,a.camelCase)([e,"populationEntityType"]),g=(e,t)=>!!i.read(e[d(t)]),h=(e,t)=>{const o=e[t],r=i.read(e[d(t)])??"",a=i.read(e[m(t)]),l=i.read(e[y(t)]),s=e[f(t)],c=n.read(e[p(t)]);return{key:t,hasDC:""!==r,staticValue:o,dcValue:r,attr:c?Object.fromEntries(Object.entries(c).map((t=>{let[o,r]=t;return[o,e[r]]}))):{},fallback:s,...l&&{entityType:l},...a&&{entityId:a}}};function b(e){const t=e.dcValue;if(e.hasDC&&t){if(e.fallback||e.attr||e.entityId||e.entityType){const o=i.read(e.entityId),r=i.read(e.entityType);return{name:"placeholder",content:t,attr:{...e.attr,...e.fallback?{_fallback:e.fallback}:{},...o?{entityId:o}:{},...r?{entityType:r}:{}}}}return{name:"placeholder",content:t}}}const v=e=>{let{placeholders:t}=e;const o=Object.entries(t).map((e=>{let[t,o]=e;return void 0===o?[t,[""]]:[t,o.map((e=>{const o=(0,r.explodePlaceholder)(e);if(void 0===o||!(0,r.isPlaceholderStart)(o))return"";if(o.attr?._fallback&&o.attr?._useFallback)return[t,o.attr._fallback].join("_");delete o.attr?._fallback;const{content:n,attr:i}=o,a=Object.entries(i??{}).map((e=>{let[t,o]=e;return`${t}='${o}'`}));return[t,n,...a].join("_")}))]}));return Promise.resolve(Object.fromEntries(o))}},55824:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EditorComponentContext",{enumerable:!0,get:function(){return c}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=s(o(22546)),a=s(o(63300));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}function s(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const c=r.default.createContext({dynamicContent:{itemId:(d=i.default.getAll(),(0,i.isWp)(d)?a.read(d.wp.page)??"":a.read(d.page?.id)??""),config:(e=>e.dynamicContent?.groups)(i.default.getAll())}});var d},63692:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{EditorComponent:function(){return E},default:function(){return B}});const r=k(o(60042)),n=k(o(27378)),i=O(o(10301)),a=o(90020),l=o(26602),s=o(55555),c=k(o(22546)),d=O(o(93804)),u=o(97045),p=o(92213),f=o(46479),m=o(34721),y=o(98610),g=o(74187),h=o(94306),b=O(o(63300)),v=O(o(66559)),S=O(o(24119)),w=o(4708),x=o(6804),P=o(58364),C=o(2610),T=o(55824),_=o(76753);function k(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class E extends n.default.Component{static get componentId(){throw new Error(`${this.name} must implement \`static get componentId()\``)}static defaultProps={meta:{},onToolbarOpen:i.default.noop,onToolbarClose:i.default.noop,onToolbarEnter:i.default.noop,onToolbarLeave:i.default.noop};static defaultValue={};static experimentalDynamicContent=!1;static contextType=T.EditorComponentContext;_defaultValueProcessedCache;_dc={};childToolbarExtend;getComponentId(){return this.constructor.componentId}optionalSCU(e){const t=this.props;return t.dbValue!==e.dbValue||t.reduxState.fonts!==e.reduxState.fonts||t.reduxState.project.data.font!==e.reduxState.project.data.font}getId(){return this.props._id||b.read(this.getDBValue()._id)||(()=>{throw new Error("This should never happen. An initialized component must have a preset id")})()}getReduxState(){return this.props.reduxState}getReduxDispatch(){return this.props.reduxDispatch}getDefaultValue(){const e=this.getDefaultValueProcessed().defaultValueFlat;return this.props.defaultValue?{...e,...this.props.defaultValue}:e}getDefaultValueProcessed(){if(this._defaultValueProcessedCache)return this._defaultValueProcessedCache;const e=this.constructor.defaultValue,t=(0,_.flattenDefaultValue)(e),o=Object.keys(t).reduce(((e,t)=>((0,C.isDCKey)(t)&&e.push((0,C.dcKeyToKey)(t)),e)),[]);return this._defaultValueProcessedCache={defaultValueFlat:t,dynamicContentKeys:o},this._defaultValueProcessedCache}getDBValue(){return this.props.dbValue}getStylesValue(){const e=this.getDBValue(),t=(0,u.rulesSelector)(this.getReduxState());return"_styles"in e&&e._styles&&t?e._styles.reduce(((e,o)=>{const r=t[o];return r?Object.assign(e,r):e}),{}):null}getDCValue(e){const t=c.default.getAll(),o=this.getDefaultValueProcessed().dynamicContentKeys,r=[];for(const t of o){const o=(0,C.keyDCInfo)(e,t);o.hasDC&&r.push(o)}const n=this.getDCValueHook(r,e);if(!t.dynamicContent?.liveInBuilder)return(0,P.getDCObjPreview)(n).value;if(this._dc.pendingDCObjIncomplete?.abortGetComplete(),this._dc.pendingDCObjIncomplete=void 0,0===n.length)return this._dc.keys=void 0,this._dc.lastCache=void 0,{};{const e=(0,P.getDCObjEditor)(n,this.context);if("complete"===e.type)return this._dc.keys=e.details,this._dc.lastCache=e.value,e.value;{this._dc.pendingDCObjIncomplete=e,this._dc.keys=e.details,e.getComplete().then((()=>{this.forceUpdate()})).catch((()=>{}));const t={};let o=!1;if(this._dc.lastCache)for(const e of n)e.key in this._dc.lastCache&&(t[e.key]=this._dc.lastCache[e.key],o=!0);return o?{...e.partialValue,...t}:e.partialValue}}}getDCValueHook(e,t){return e}getValue(){return this.getValue2().v}getValue2(){const e=this.getDefaultValue(),t=this.getStylesValue(),o=this.getDBValue(),r={...e,...t,...o};return{v:this.constructor.experimentalDynamicContent?Object.assign(r,this.getDCValue(r)):r,vs:{...e,...t},vd:e}}patchValue(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o={...this.getDBValue(),...e};this.handleValueChange(o,{...t,patch:e})}validatePatch(e,t,o,r){const n=this.getDefaultValue(),i=Object.keys(e).filter((e=>{if(e in n)return!1;if("_"===e[0]||"tabsState"===e)return!1;if("tabsCurrentElement"===e)return!1;if(e.startsWith((0,y.defaultValueKey)({key:(0,_.createOptionId)("temp",t.id),state:o,device:r})))return!1;if(S.empty!==o||v.empty!==r){if(e.startsWith((0,y.defaultValueKey)({key:t.id,state:o,device:r})))return!1;if(e.startsWith((0,y.defaultValueKey)({key:(0,_.createOptionId)("temp",t.id),state:o,device:r})))return!1}return!e.startsWith("symbol_")}));if(i.length){const t=JSON.stringify(i,null,2),o=JSON.stringify(e,((e,t)=>Array.isArray(t)?"[...]":t),2);console.error(`${this.getComponentId()} element\n\nKeys not in defaultValue:\n${t}\nTried to update with:\n${o}`)}}handleValueChange(e,t){this.props.onChange(e,t)}selfDestruct(){this.props.onChange(null,{intent:"remove_all"})}bindPatchValue=e=>this.patchValue(e);makeWrapperProps=e=>{const t=this.props.wrapperExtend??{},o=(0,r.default)(t.className,e.className),n={...t.attributes||{},...e.attributes||{}};return{...t,...e,className:o,attributes:n,id:this.getId(),componentId:this.getComponentId(),meta:this.props.meta,...this.getValue2(),onChange:this.bindPatchValue,ref:o=>{(0,h.attachRef)(o,t.ref||null),(0,h.attachRef)(o,e.ref||null)}}};makeSubcomponentProps(e){let{bindWithKey:t,...o}=e;const r=this.getDefaultValue(),n=this.getDBValue();return{...o,_id:`${this.getId()}-${String(t)}`,defaultValue:r&&r[t],dbValue:n&&n[t],reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:(e,o)=>this.patchValue({[t]:e},o)}}makeContextMenuProps(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=this.getComponentId(),r=this.getValue();return{id:(0,x.uuid)(3),componentId:o,getItems:e.getItems.bind(null,r,this),...t}}makeToolbarPropsFromConfig(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n=this;const{onToolbarOpen:i,onToolbarClose:a,onToolbarEnter:l,onToolbarLeave:c}=this.props,{allowExtendFromParent:d,parentItemsFilter:f,allowExtendFromChild:y,allowExtendFromThirdParty:g,thirdPartyExtendId:h=this.getComponentId(),allowSidebarExtendFromParent:b,allowSidebarExtendFromChild:v,allowSidebarExtendFromThirdParty:w,sidebarThirdPartyExtendId:x=h}=(0,_.makeToolbarPropsFromConfigDefaults)(r);return{getItems:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.deviceModeSelector)((0,p.getStore)().getState());const o=`getItemsFor${function(e){let[t,...o]=e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.toUpperCase()+(r?o.join("").toLowerCase():o.join(""))}(t,!0)}`,r=e[o],i=n.getValue(),a=S.mRead(i.tabsState);let l=n.bindToolbarItems(i,t,a,r?.(i,n)??[]);if(d&&n.props.toolbarExtend){const{getItems:e}=n.props.toolbarExtend;let o=e(t);"function"==typeof f&&(o=f(o)),l=(0,s.mergeOptions)(l,o)}if(y&&n.childToolbarExtend){const{getItems:e}=n.childToolbarExtend,o=e(t);l=(0,s.mergeOptions)(o,l)}if(g){const e=(0,m.applyFilter)(`toolbarItemsExtend_${h}`,null);if(e?.[o]){const r=n.bindToolbarItems(i,t,a,e[o](i,n));l=(0,s.mergeOptions)(l,r)}}return l},getSidebarItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.deviceModeSelector)((0,p.getStore)().getState());const o=n.getValue(),r=S.mRead(o.tabsState);let i=n.bindToolbarItems(o,e,r,t?.getItems?.({v:o,component:n,device:e,state:r,context:n.context})||[]);if(b&&n.props.toolbarExtend?.getSidebarItems){const{getSidebarItems:t}=n.props.toolbarExtend,o=t(e);i=(0,s.mergeOptions)(i,o)}if(v&&n.childToolbarExtend){const{getSidebarItems:t}=n.childToolbarExtend,o=t(e);i=(0,s.mergeOptions)(o,i)}if(w){const t=(0,m.applyFilter)(`sidebarItemsExtend_${x}`,null);if(t?.getItems){const a=n.bindToolbarItems(o,e,r,t.getItems({v:o,component:n,device:e,state:r}));i=(0,s.mergeOptions)(i,a)}}return i},getSidebarTitle:()=>{let e=t?.title;if("function"==typeof e&&(e=e({v:this.getValue()})),b&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(v&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{o.g.Brizy.activeEditorComponent=this},onBeforeClose:()=>{o.g.Brizy.activeEditorComponent=null},onOpen:i,onClose:a,onMouseEnter:l,onMouseLeave:c}}bindToolbarItems(e,t,o,r){const n=(e,r,n)=>"tabsState"!==e&&n?(0,y.defaultValueKey)({key:(0,_.createOptionId)(e,r),device:t,state:o}):e;return(0,s.optionMap)((r=>{const{id:s,type:c,onChange:u}=r;r=(0,w.bindStateToOption)(d.states,r,t);const p=(0,_.inDevelopment)(c),m=r.dependencies||i.default.identity;p&&(r.value=(0,a.fromElementModel)(c)((r=>(0,y.defaultValueValue)({v:e,key:(0,_.createOptionId)(s,r),device:t,state:o}))));const g=(0,l.toElementModel)(c,(e=>n(s,e,p)));return r.onChange=!0!==r.isPro||f.IS_PRO?(e,t)=>{const o=n(r.id,"",p),i=p?m(g(e)):u?u(e,t):((e,t)=>void 0!==t?{[e]:t}:null)(o,e);i&&this.patchValue(i)}:i.noop,r}),(0,s.optionMap)(g.wrapOption,r))}makeToolbarPropsFromConfig2(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n=this;const{onToolbarOpen:i,onToolbarClose:a,onToolbarEnter:l,onToolbarLeave:c}=this.props,{allowExtendFromParent:d,parentItemsFilter:f,parentExtendProp:y="toolbarExtend",allowExtendFromChild:g,allowExtendFromThirdParty:h,thirdPartyExtendId:b=this.getComponentId(),allowSidebarExtendFromParent:v,allowSidebarExtendFromChild:w,allowSidebarExtendFromThirdParty:x,sidebarThirdPartyExtendId:P=b}=(0,_.makeToolbarPropsFromConfigDefaults)(r);return{getItems:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.deviceModeSelector)((0,p.getStore)().getState());const o=n.getValue(),r=S.mRead(o.tabsState);let i=n.bindToolbarItems(o,t,r,e?.getItems({v:o,component:n,device:t,state:r,context:n.context})??[]);if(d&&n.props[y]){const{getItems:e}=n.props[y];let o=e(t);"function"==typeof f&&(o=f(o)),i=(0,s.mergeOptions)(i,o)}if(g&&n.childToolbarExtend){const{getItems:e}=n.childToolbarExtend,o=e(t);i=(0,s.mergeOptions)(o,i)}if(h){const e=(0,m.applyFilter)(`toolbarItemsExtend_${b}`,null);if(e?.getItems){const a=n.bindToolbarItems(o,t,r,e.getItems({v:o,component:n,device:t,state:r,context:n.context}));i=(0,s.mergeOptions)(i,a)}}return i},getSidebarItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.deviceModeSelector)((0,p.getStore)().getState());const o=n.getValue(),r=S.mRead(o.tabsState);let i=n.bindToolbarItems(o,e,r,t?.getItems?.({v:o,component:n,device:e,state:r,context:n.context})||[]);if(v&&n.props[y]?.getSidebarItems){const{getSidebarItems:t}=n.props[y],o=t(e);i=(0,s.mergeOptions)(i,o)}if(w&&n.childToolbarExtend){const{getSidebarItems:t}=n.childToolbarExtend,o=t(e);i=(0,s.mergeOptions)(o,i)}if(x){const t=(0,m.applyFilter)(`sidebarItemsExtend_${P}`,null);if(t?.getItems){const a=n.bindToolbarItems(o,e,r,t.getItems({v:o,component:n,device:e,state:r,context:n.context}));i=(0,s.mergeOptions)(i,a)}}return i},getSidebarTitle:()=>{let e=t?.title;if("function"==typeof e&&(e=e({v:this.getValue()})),v&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(w&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{o.g.Brizy.activeEditorComponent=this},onBeforeClose:()=>{o.g.Brizy.activeEditorComponent=null},onOpen:i,onClose:a,onMouseEnter:l,onMouseLeave:c}}render(){const{v:e,vs:t,vd:o}=this.getValue2();return this.renderForEdit(e,t,o)}renderForEdit(e,t,o){throw new Error("renderForEdit: Not Implemented"+e+t+o)}renderForView(e,t,o){return this.renderForEdit(e,t,o)}applyRulesToValue(e,t){const o=t.filter(Boolean);if(0===o.length)return e;const r=this.getRulesValue(o);return i.default.defaults(r,e)}getRulesValue(e){const t=(0,u.rulesSelector)(this.getReduxState());if(t)return e.reduce(((e,o)=>{let r;switch(typeof o){case"object":{const{rule:e,mapper:n}=o;r=t[e]&&n(t[e]);break}case"string":r=t[o];break;default:throw new Error("Invalid rule type")}return r?Object.assign(e,r):e}),{})}}const B=E},76753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{createOptionId:function(){return m},setOptionPrefix:function(){return y},inDevelopment:function(){return g},optionMode:function(){return h},makeToolbarPropsFromConfigDefaults:function(){return b},flattenDefaultValue_:function(){return v},flattenDefaultValue:function(){return S},filterToolbarItems:function(){return w},getProTitle:function(){return x}});const r=o(70634),n=o(10301),i=(a=o(8738))&&a.__esModule?a:{default:a};var a;const l=f(o(48630)),s=o(6085),c=f(o(66559)),d=o(59831),u=o(46479);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const m=(e,t)=>{const o=t.startsWith("temp")?"temp":"",r=o.length?t.substr(4):t,n="value"===r||"Value"===r?"":r;return(0,s.camelCase)([o,e,n])},y=(e,t)=>t&&"object"==typeof t?Object.keys(t).reduce(((o,r)=>(o[m(e,r)]=t[r],o)),{}):t,g=e=>String(e).endsWith("-dev"),h=(e,t)=>(0,d.supportsMode)(e,(0,d.getDevice)(t))?e:c.empty,b=e=>{const t=e.allowExtend??!0,o=e.allowExtendFromParent??t,r=e.allowExtendFromChild??t,n=e.allowExtendFromThirdParty??t,i=e.allowSidebarExtend??t,a=e.allowSidebarExtendFromParent??e.allowSidebarExtend??o,l=e.allowSidebarExtendFromChild??e.allowSidebarExtend??r,s=e.allowSidebarExtendFromThirdParty??e.allowSidebarExtend??n;return{...e,allowExtend:t,allowExtendFromParent:o,allowExtendFromChild:r,allowExtendFromThirdParty:n,allowSidebarExtend:i,allowSidebarExtendFromParent:a,allowSidebarExtendFromChild:l,allowSidebarExtendFromThirdParty:s}},v=e=>{const t=e.reduce(((e,t)=>(e[t]=!0,e)),{});return function e(o){const r={};for(const[n,i]of Object.entries(o))t[n]&&l.isObject(i)?Object.assign(r,e(i)):r[n]=i;return r}},S=v(["animation","content","families","images","link","style","styles","symbols","toolbar"]),w=(e,t)=>o=>{const{type:r,disabled:n,devices:i,roles:a}=o;if(!r)return!1;if(!0===n)return!1;if(i&&"all"!==i){if("desktop"===i&&"desktop"!==e)return!1;if("responsive"===i&&"desktop"===e)return!1}return!(Array.isArray(a)&&!a.includes(t))},x=(e,t)=>{const o=Object.values(i.default).flat().filter((e=>e.pro)).map((e=>({title:e.component.title,type:(0,r.getIn)(e.component.resolve,["value","items",0,"type"])??""}))).filter((e=>"Image"!==e.type||Array.isArray(t._styles)&&(0,n.intersection)(t._styles,["image--dynamic"]).length>0)).find((t=>t.type===e));if(void 0!==o&&!u.IS_PRO)return o.title}},18497:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=S(o(60042)),n=o(42162),i=S(o(27378)),a=S(o(31440)),l=S(o(36275)),s=S(o(53125)),c=S(o(67439)),d=S(o(63692)),u=S(o(22546)),p=o(39191),f=o(94220),m=o(28617),y=o(86022),g=S(o(12404)),h=x(o(62778)),b=o(20244),v=x(o(21886));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const P=["centerLeft","centerRight"];class C extends d.default{static get componentId(){return"EmbedCode"}static defaultValue=g.default;handleValueChange(e,t){const o=u.default.getAll();if(t.patch.code&&(0,p.isWp)(o)&&!o.user.allowScripts){const o=(0,m.xss)(e.code,"discard");super.handleValueChange({...e,code:o},t)}else super.handleValueChange(e,t)}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{code:d}=e,u=(0,r.default)("brz-embed-code",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,b.style)(e,t,o)));return i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(v,h),i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(y.Wrapper,this.makeWrapperProps({className:u}),i.default.createElement(a.default,{points:P,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:e,onChange:this.handleResizerChange},d?i.default.createElement(n.EmbedCode,{code:d,className:"brz-blocked"}):i.default.createElement(s.default,{icon:"iframe"})))))}renderForView(e,t,o){const{code:a}=e,c=(0,r.default)("brz-embed-code",(0,f.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,b.style)(e,t,o)));return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(y.Wrapper,this.makeWrapperProps({className:c}),a?i.default.createElement(n.EmbedCode,{code:a,ssr:!0}):i.default.createElement(s.default,{icon:"iframe"})))}}},62778:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526);function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50}]}]}]}},20244:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .brz-embed-content":{standart:["cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient","cssStyleBorderRadius"]}}})}},21886:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81405),a=o(64985),l=o(16526),s=o(69321),c=o(68256),d=o(24119);function u(e){let{v:t,device:o}=e;const n=r.default.getAll(),u=e=>(0,s.defaultValueValue)({v:t,key:e,device:o}),{hex:p}=(0,c.getOptionColorHexByPalette)(u("borderColorHex"),u("borderColorPalette")),f=(0,l.isStory)(n);return[{id:"popoverCode",type:"popover-dev",config:{icon:"nc-iframe",size:"large",title:(0,a.t)("Embed")},devices:"desktop",position:90,options:[{id:"code",type:"codeMirror-dev",placeholder:(0,a.t)("Paste your HTML code here..."),config:{language:"html"}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(p,u("borderColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,a.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[d.NORMAL,d.HOVER]}]},{id:"tabBorder",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",states:[d.NORMAL,d.HOVER]}]},{id:"tabBoxShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[d.NORMAL,d.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},disabled:f,position:110,options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===u("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,disabled:!f,icon:"nc-cog",devices:"desktop"}]}},49370:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=v(o(60042)),n=v(o(27378)),i=v(o(36275)),a=v(o(42168)),l=v(o(67439)),s=v(o(63692)),c=o(97045),d=o(92213),u=o(94220),p=o(9644),f=o(69321),m=o(86022),y=v(o(90525)),g=w(o(69736)),h=o(68272),b=w(o(33832));function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}function w(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class x extends s.default{static get componentId(){return"Facebook"}static defaultValue=y.default;static experimentalDynamicContent=!0;dvv=e=>{const t=this.getValue(),o=(0,c.deviceModeSelector)((0,d.getStore)().getState());return(0,f.defaultValueValue)({v:t,key:e,device:o})};getAppData(){return{appId:0x67903d22b9a8,href:(0,p.makePlaceholder)({content:"{{ brizy_dc_current_page_unique_url }}"}),lang:(0,p.makePlaceholder)({content:"{{ brizy_dc_page_language }}"})}}tabs=e=>{const{pageTabs:t}=e;try{return JSON.parse(t)}catch{return t}};renderForEdit(e,t,o){const{className:s,facebookType:c,targetUrl:d,href:p,facebookButtonType:f,layout:y,size:v,share:S,showFriends:w,showCounter:x,facebookEmbedType:P,facebookEmbedPostHref:C,facebookEmbedVideoHref:T,postAndVideoShowText:_,facebookEmbedVideoAllowFullScreen:k,facebookEmbedVideoAutoPlay:M,facebookEmbedVideoCaptions:O,facebookPageHref:E,height:B,smallHeader:z,hideCover:I,showFacepile:j,facebookGroupHref:L,skin:F,showSocialContext:N,showMetaData:D,customCSS:R}=e,A=this.dvv("width"),H=this.dvv("pageWidth"),W=(0,r.default)("brz-fb",`brz-fb-${"button"===c?"like":c}`,{"brz-fb-styles":"button"!==c},{"brz-fb-styles-button":"button"===c},{[`brz-fb-styles-button--small-${y}`]:"button"===c&&"small"===v},s,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,h.style)(e,t,o))),V=this.getAppData(),G={button:"Like",embed:"post"===P?"EmbeddedPost":"EmbeddedVideo",page:"Page",group:"Group"},U={button:{href:"custom"===d&&""!==p?p:V.href,action:f,layout:"button"===y?"on"===w?"standard":"on"===x?"button_count":"button":"box_count",showFaces:"on"===w,size:v,share:"on"===S,lang:V.lang},embed:"post"===P?{width:"auto",href:C,showText:"on"===_,lang:V.lang}:{width:"auto",href:T,showText:"on"===_,allowFullScreen:"on"===k,autoPlay:"on"===M,showCaptions:"on"===O,lang:V.lang},page:{width:H,href:""===E?"https://www.facebook.com/techcrunch/":E,tabs:this.tabs(e),height:B,smallHeader:"on"===z,hideCover:"on"===I,showFacepile:"on"===j,adaptContainerWidth:!0,lang:V.lang},group:{width:A,href:""===L?"https://www.facebook.com/groups/669915249871846":L,skin:F,showSocialContext:"on"===N,showMetaData:"on"===D,lang:V.lang}};return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(b,g),n.default.createElement(i.default,{selectorName:this.getId(),css:R},n.default.createElement(m.Wrapper,this.makeWrapperProps({className:W}),n.default.createElement(a.default,{appId:V.appId,type:G[c],data:U[c]}))))}renderForView(e,t,o){const{className:l,facebookType:s,targetUrl:c,href:d,facebookButtonType:p,layout:f,size:m,share:y,showFriends:g,showCounter:b,facebookEmbedType:v,postAndVideoShowText:S,facebookEmbedPostHref:w,facebookEmbedVideoHref:x,facebookEmbedVideoAllowFullScreen:P,facebookEmbedVideoAutoPlay:C,facebookEmbedVideoCaptions:T,facebookPageHref:_,height:k,smallHeader:M,hideCover:O,showFacepile:E,facebookGroupHref:B,showSocialContext:z,showMetaData:I,skin:j,customCSS:L}=e,F=this.dvv("width"),N=this.dvv("pageWidth"),D=(0,r.default)("brz-fb",`brz-fb-${"button"===s?"like":s}`,{"brz-fb-styles":"button"!==s},{"brz-fb-styles-button":"button"===s},{[`brz-fb-styles-button--small-${f}`]:"button"===s&&"small"===m},l,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,h.style)(e,t,o))),R=this.getAppData(),A={button:{"data-href":"custom"===c&&""!==d?d:R.href,"data-action":p,"data-layout":"button"===f?"on"===g?"standard":"on"===b?"button_count":"button":"box_count","data-show-faces":g,"data-size":m,"data-share":y,"data-lang":R.lang,"data-colorscheme":"dark"},embed:"post"===v?{"data-width":"auto","data-show-text":"on"===S,"data-href":w,"data-lang":R.lang}:{"data-width":"auto","data-show-text":"on"===S,"data-allowFullScreen":"on"===P,"data-autoplay":"on"===C,"data-show-captions":"on"===T,"data-href":x,"data-lang":R.lang},page:{"data-width":N,"data-tabs":this.tabs(e),"data-height":k,"data-small-header":"on"===M,"data-hide-cover":"on"===O,"data-adapt-container-width":!0,"data-show-facepile":"on"===E,"data-href":""===_?"https://www.facebook.com/techcrunch/":_,"data-lang":R.lang},group:{"data-width":F,"data-href":""===B?"https://www.facebook.com/groups/669915249871846":B,"data-show-social-context":"on"===z,"data-show-metadata":"on"===I,"data-skin":j,"data-lang":R.lang}},H={button:"Like",embed:"post"===v?"post":"video",page:"Page",group:"Group"};return n.default.createElement(i.default,{selectorName:this.getId(),css:L},n.default.createElement("div",{className:D},n.default.createElement(a.default,{appId:R.appId,type:H[s],data:A[s]})))}}const P=x},69736:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Facebook"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},68272:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover.brz-fb-styles":{standart:["cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient","cssStyleBoxShadow","cssStyleBorder","cssStyleElementFacebookWidth","cssStyleElementFacebookAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-fb-styles-button":{standart:["cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient","cssStyleBoxShadow","cssStyleElementFacebookAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},33832:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),n=o(81405),i=o(64985),a=o(69321),l=o(68256),s=o(24119);function c(e){let{v:t,device:o,state:c,context:d}=e;const u=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:c}),p=u("facebookType"),f=u("facebookEmbedType"),m="embed"===p,y="button"===p,g="page"===p,h="group"===p,b="post"!==f,v="video"!==f,S="boxed"===u("layout"),{hex:w}=(0,l.getOptionColorHexByPalette)(u("borderColorHex"),u("borderColorPalette")),{hex:x}=(0,l.getOptionColorHexByPalette)(u("boxShadowColorHex"),u("boxShadowColorPalette")),P=(0,l.getDynamicContentOption)({options:d.dynamicContent.config,type:r.DCTypes.link});return[{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,i.t)("Facebook")},devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(e=>{switch(e){case"button":return(0,i.t)("Button");case"embed":return(0,i.t)("Embed");case"page":return(0,i.t)("Page");case"group":return(0,i.t)("Group")}})(p),options:[{id:"facebookType",label:(0,i.t)("Facebook"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("Button"),value:"button"},{title:(0,i.t)("Embed"),value:"embed"},{title:(0,i.t)("Page"),value:"page"},{title:(0,i.t)("Group"),value:"group"}]},{id:"facebookButtonType",type:"select-dev",label:(0,i.t)("Type"),disabled:!y,devices:"desktop",choices:[{title:(0,i.t)("Like"),value:"like"},{title:(0,i.t)("Recommend"),value:"recommend"}]},{id:"layout",label:(0,i.t)("Layout"),type:"select-dev",devices:"desktop",disabled:!y,choices:[{title:(0,i.t)("Button"),value:"button"},{title:(0,i.t)("Boxed"),value:"boxed"}]},{id:"facebookEmbedType",type:"select-dev",label:(0,i.t)("Type"),disabled:!m,devices:"desktop",choices:[{title:(0,i.t)("Post"),value:"post"},{title:(0,i.t)("Video"),value:"video"}]},{id:"facebookEmbedPostHref",label:(0,i.t)("Link"),type:"inputText-dev",devices:"desktop",disabled:!m||b,population:P},{id:"facebookEmbedVideoHref",label:(0,i.t)("Link"),type:"inputText-dev",disabled:!m||v,devices:"desktop",population:P},{id:"facebookPageHref",label:(0,i.t)("Link"),type:"inputText-dev",disabled:!g,devices:"desktop",population:P},{id:"pageTabs",label:(0,i.t)("Layout"),type:"multiSelect-dev",placeholder:(0,i.t)("0 Selected"),devices:"desktop",disabled:!g,choices:[{title:(0,i.t)("Timeline"),value:"timeline"},{title:(0,i.t)("Events"),value:"events"},{title:(0,i.t)("Messages"),value:"messages"}]},{id:"facebookGroupHref",label:(0,i.t)("Link"),type:"inputText-dev",disabled:!h,devices:"desktop",population:P},{id:"skin",label:(0,i.t)("Skin"),type:"select-dev",devices:"desktop",disabled:!h,choices:[{title:(0,i.t)("Light"),value:"light"},{title:(0,i.t)("Dark"),value:"dark"}]}]},{id:"tabAdvanced",label:(0,i.t)("Advanced"),options:[{id:"size",label:(0,i.t)("Size"),disabled:!y,devices:"desktop",type:"radioGroup-dev",choices:[{icon:"nc-small",value:"small"},{icon:"nc-large",value:"large"}]},{id:"share",disabled:!y,label:(0,i.t)("Include Share Button"),type:"switch-dev",devices:"desktop"},{id:"showCounter",label:(0,i.t)("Show Button Counter"),type:"switch-dev",disabled:!y||S,devices:"desktop"},{id:"showFriends",label:(0,i.t)("Show Friend's Faces"),type:"switch-dev",disabled:!y||S,devices:"desktop"},{id:"facebookEmbedVideoAllowFullScreen",label:(0,i.t)("Full Screen"),type:"switch-dev",disabled:!m||v,devices:"desktop"},{id:"facebookEmbedVideoAutoPlay",label:(0,i.t)("AutoPlay"),type:"switch-dev",disabled:!m||v,devices:"desktop"},{id:"facebookEmbedVideoCaptions",label:(0,i.t)("Captions"),type:"switch-dev",disabled:!m||v,devices:"desktop"},{id:"postAndVideoShowText",label:(0,i.t)("Include Full Post"),disabled:!m,type:"switch-dev",devices:"desktop"},{id:"smallHeader",label:(0,i.t)("Use Small Header"),type:"switch-dev",devices:"desktop",disabled:!g},{id:"hideCover",label:(0,i.t)("Hide Cover Photo"),type:"switch-dev",disabled:!g,devices:"desktop"},{id:"showFacepile",label:(0,i.t)("Show Friend's Faces"),type:"switch-dev",disabled:!g,devices:"desktop"},{id:"showSocialContext",label:(0,i.t)("Show Social Context"),type:"switch-dev",disabled:!h,devices:"desktop"},{id:"showMetaData",label:(0,i.t)("Show Meta Data"),type:"switch-dev",disabled:!h,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:y?(0,n.hexToRgba)(x,u("boxShadowColorOpacity")):(0,n.hexToRgba)(w,u("borderColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,i.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",disabled:y,type:"border-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",title:(0,i.t)("Link"),size:"medium"},position:90,options:[{id:"targetUrl",label:(0,i.t)("Target URL"),type:"select-dev",devices:"desktop",disabled:!y,choices:[{title:(0,i.t)("Current Page"),value:"current"},{title:(0,i.t)("Custom Page"),value:"custom"}]},{id:"href",type:"inputText-dev",label:(0,i.t)("Link"),disabled:!y||"current"===u("targetUrl"),devices:"desktop",placeholder:"http://",population:P}]},...h||g?[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"height",label:(0,i.t)("Height"),type:"slider-dev",disabled:!g,devices:"desktop",config:{min:70,max:800,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:g?"pageWidth":"width",label:(0,i.t)("Width"),type:"slider-dev",disabled:m||y,devices:"desktop",config:{min:180,max:500,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:"grid",type:"grid-dev",devices:"desktop",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]}]:[{id:"toolbarSettings",type:"popover-dev",disabled:!0}],...h||g?[{id:"advancedSettings",type:"advancedSettings",disabled:!0}]:[{id:"advancedSettings",type:"advancedSettings",position:110}],...m?[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]:g?[{id:"pageHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]:[{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]]}},80357:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),n=y(o(27378)),i=y(o(36275)),a=y(o(42168)),l=y(o(67439)),s=y(o(63692)),c=o(94220),d=o(9644),u=y(o(1911)),p=h(o(16671)),f=o(91214),m=h(o(1931));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class b extends s.default{static get componentId(){return"FacebookButton"}static defaultValue=u.default;getAppData(){return{appId:0x67903d22b9a8,href:(0,d.makePlaceholder)({content:"{{ brizy_dc_current_page_unique_url }}"}),lang:(0,d.makePlaceholder)({content:"{{ brizy_dc_page_language }}"})}}renderForEdit(e,t,o){const{type:s,layout:d,size:u,share:y,showCounter:g,showFriends:h,darkScheme:b,targetUrl:v,href:S}=e,w=this.getAppData(),x={action:s,layout:"button"===d?"on"===h?"standard":"on"===g?"button_count":"button":"box_count",size:u,share:"on"===y,showFaces:"on"===h,colorScheme:"on"===b?"dark":"light",href:"custom"===v&&""!==S?S:w.href,lang:w.lang},P=(0,r.default)("brz-fb-like",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(m,p),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:P},n.default.createElement(a.default,{appId:w.appId,type:"Like",data:x}))))}renderForView(e,t,o){const{type:l,layout:s,size:d,share:u,showCounter:p,showFriends:m,darkScheme:y,targetUrl:g,href:h}=e,b=this.getAppData(),v={"data-action":l,"data-layout":"button"===s?"on"===m?"standard":"on"===p?"button_count":"button":"box_count","data-size":d,"data-share":u,"data-show-faces":m,"data-colorscheme":"on"===y?"dark":"light","data-href":"custom"===g&&""!==h?h:b.href,"data-lang":b.lang},S=(0,r.default)("brz-fb-like",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:S},n.default.createElement(a.default,{appId:b.appId,type:"Like",data:v})))}}const v=b},16671:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Facebook Button"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},91214:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionBoxShadow"]}}})}},1931:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),d="boxed"===c("layout"),{hex:u}=(0,a.getOptionColorHexByPalette)(c("boxShadowColorHex"),c("boxShadowColorPalette"));return[{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,n.t)("Button")},devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Button"),options:[{id:"targetUrl",label:(0,n.t)("Target URL"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Current Page"),value:"current"},{title:(0,n.t)("Custom Page"),value:"custom"}]},{id:"href",label:(0,n.t)("Link"),type:"inputText-dev",devices:"desktop",disabled:"current"===c("targetUrl"),placeholder:"http://"},{id:"type",label:(0,n.t)("Type"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Like"),value:"like"},{title:(0,n.t)("Recommend"),value:"recommend"}]},{id:"layout",label:(0,n.t)("Layout"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Button"),value:"button"},{title:(0,n.t)("Boxed"),value:"boxed"}]},{id:"size",label:(0,n.t)("Size"),devices:"desktop",type:"radioGroup-dev",choices:[{icon:"nc-small",value:"small"},{icon:"nc-large",value:"large"}]},{id:"share",label:(0,n.t)("Include Share Button"),type:"switch-dev",devices:"desktop"}]},{id:"tabAdvanced",label:(0,n.t)("Advanced"),options:[{id:"showCounter",label:(0,n.t)("Show Button Counter"),type:"switch-dev",disabled:d,devices:"desktop"},{id:"showFriends",label:(0,n.t)("Show Friend's Faces"),type:"switch-dev",disabled:d,devices:"desktop"}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,c("boxShadowColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",hideHandlesWhenOne:!1,tabs:[{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog"}]}},41089:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const r=h(o(60042)),n=h(o(27378)),i=h(o(70907)),a=h(o(36275)),l=v(o(67439)),s=h(o(63692)),c=o(94220),d=o(9644),u=h(o(64690)),p=v(o(46741)),f=v(o(30176)),m=o(30711),y=v(o(59162)),g=v(o(7468));function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class S extends s.default{static get componentId(){return"FacebookComments"}static defaultValue=u.default;getAppDataEditor(){return{appId:0x67903d22b9a8,href:"http://brizy.io",lang:"en_US"}}getAppDataPreview(){return{appId:0x67903d22b9a8,href:(0,d.makePlaceholder)({content:"{{ brizy_dc_current_page_unique_url }}"}),lang:(0,d.makePlaceholder)({content:"{{ brizy_dc_page_language }}"})}}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(g,f,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleValueChange(e,t){super.handleValueChange(e,t),t.patch.type&&(0,l.hideToolbar)()}renderForEdit(e,t,o){const{type:s,numPosts:d,darkScheme:u,targetUrl:f,href:g,disqusShortname:h,skin:b,review:v}=e,S=this.getAppDataEditor(),w={facebook:{width:"100%",numPosts:d,colorScheme:"on"===u?"dark":"light",href:"custom"===f&&""!==g?g:S.href,lang:S.lang},disqus:{shortname:h,config:{url:"custom"===f&&""!==g?g:S.href,identifier:"custom"===f&&""!==g?g:S.href}},WPComments:{skin:b,review:v}},x=(0,r.default)("brz-comments",{"brz-fb-comments":"facebook"===s},(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(y,p),n.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:x},n.default.createElement(i.default,{appId:S.appId,type:s,data:w[s]}))))}renderForView(e,t,o){const{type:l,numPosts:s,darkScheme:d,targetUrl:u,href:p,disqusShortname:f,skin:y}=e,g=this.getAppDataPreview(),h={facebook:{"data-width":"100%","data-numposts":s,"data-colorscheme":"on"===d?"dark":"light","data-href":"custom"===u&&""!==p?p:g.href,"data-lang":g.lang},disqus:{"data-shortname":f,"data-url":"custom"===u&&""!==p?p:g.href,"data-identifier":"custom"===u&&""!==p?p:g.href},WPComments:{limit:s,skin:y,linkPage:"custom"===u&&""!==p?p:g.href}},b=(0,r.default)("brz-comments",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o)));return n.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:b},n.default.createElement(i.default,{appId:g.appId,type:l,data:h[l]})))}}const w=S},46741:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},30176:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=e=>{let{v:t}=e;return"true"===t.review?(0,r.t)("Review"):(0,r.t)("Comments")},i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65,devices:"responsive"}]}]}]}},30711:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleBoxShadow","cssStyleBgColor","cssStyleBorder","cssStylePaddingBG","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-comments__name:hover":{standart:["cssStyleElementCommentsNameColor","cssStyleElementCommentsNameFontFamily","cssStyleElementCommentsNameFontSize","cssStyleElementCommentsNameLineHeight","cssStyleElementCommentsNameFontWeight","cssStyleElementCommentsNameLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-comments__date":{standart:["cssStyleElementCommentsCommentsColor","cssStyleElementCommentsDateFontFamily","cssStyleElementCommentsDateFontSize","cssStyleElementCommentsDateLineHeight","cssStyleElementCommentsDateFontWeight","cssStyleElementCommentsDateLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-comments__reply":{standart:["cssStyleElementCommentsReplyFontFamily","cssStyleElementCommentsReplyFontSize","cssStyleElementCommentsReplyLineHeight","cssStyleElementCommentsReplyFontWeight","cssStyleElementCommentsReplyLetterSpacing"]},".brz && .brz-comment-awaiting-moderation:hover":{standart:["cssStyleElementCommentsCommentsColor","cssStyleElementCommentsCommentFontFamily","cssStyleElementCommentsCommentFontSize","cssStyleElementCommentsCommentLineHeight","cssStyleElementCommentsCommentFontWeight","cssStyleElementCommentsCommentLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-comments__text:hover":{standart:["cssStyleElementCommentsCommentsColor","cssStyleElementCommentsCommentFontFamily","cssStyleElementCommentsCommentFontSize","cssStyleElementCommentsCommentLineHeight","cssStyleElementCommentsCommentFontWeight","cssStyleElementCommentsCommentLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .comment-reply-link":{standart:["cssStyleElementCommentsReplyFontFamily","cssStyleElementCommentsReplyFontSize","cssStyleElementCommentsReplyLineHeight","cssStyleElementCommentsReplyFontWeight","cssStyleElementCommentsReplyLetterSpacing"]},".brz && .brz-comment-respond .brz-submit:hover":{standart:["cssStyleElementCommentsPostButtonColor","cssStyleElementCommentsPostButtonBg","cssStyleElementCommentsPostButtonFontFamily","cssStyleElementCommentsPostButtonFontSize","cssStyleElementCommentsPostButtonLineHeight","cssStyleElementCommentsPostButtonFontWeight","cssStyleElementCommentsPostButtonLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-comments__logo .brz-img":{standart:["cssStyleElementCommentsLogoSize"]},".brz &&:hover .brz-comments__right-date":{standart:["cssStyleElementCommentsWidthContainer"]},".brz && .brz-logged-in-as a, && .nav-links a, && .comment-reply-link, && #cancel-comment-reply-link":{standart:["cssStyleElementCommentsColorLink"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-comments.brz-parent .brz-comments":{standart:["cssStyleElementCommentsChildMargin"]},".brz && .brz-comment-reply-title, && .brz-comment-form-comment > label":{standart:["cssStyleElementCommentsNameFontFamily"]},".brz &&:hover .review .brz-comments__rating .star-rating":{standart:["cssStyleElementCommentsStarsSize","cssStyleElementCommentsStarsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .review .brz-comments__rating .star-rating:before":{standart:["cssStyleElementCommentsStarsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars a":{standart:["cssStyleElementCommentsStarsSize","cssStyleElementCommentsStarsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars:hover a::before":{standart:["cssStyleElementCommentsStarsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars a:hover":{standart:["cssStyleElementCommentsStarsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars a:hover ~ a::before":{standart:["cssStyleElementCommentsStarsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .stars a.active ~ a::before":{standart:["cssStyleElementCommentsStarsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .selected a::before":{standart:["cssStyleElementCommentsStarsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},59162:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81405),a=o(64985),l=o(69321),s=o(68256),c=o(24119),d=Boolean(r.default.get("wp"));function u(e){let{v:t,device:o,state:r}=e;const n=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:r}),u=n("type"),p="true"===n("review"),f="WPComments"!==u,{hex:m}=(0,s.getOptionColorHexByPalette)(n("borderColorHex"),n("borderColorPalette")),y=d?[{title:(0,a.t)("Facebook"),value:"facebook"},{title:(0,a.t)("Disqus"),value:"disqus"},{title:(0,a.t)("WordPress"),value:"WPComments"}]:[{title:(0,a.t)("Facebook"),value:"facebook"},{title:(0,a.t)("Disqus"),value:"disqus"}];return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:p?"nc-woo-review":"nc-comments",title:p?(0,a.t)("Review"):(0,a.t)("Comments")},position:70,options:[{id:"type",type:"select-dev",label:(0,a.t)("Comments"),devices:"desktop",disabled:p,choices:y},{id:"skin",label:(0,a.t)("Skin"),type:"select-dev",disabled:f,devices:"desktop",choices:[{title:(0,a.t)("Skin 1"),value:"skin1"},{title:(0,a.t)("Skin 2"),value:"skin2"},{title:(0,a.t)("Skin 3"),value:"skin3"},{title:(0,a.t)("Skin 4"),value:"skin4"}]},{id:"numPosts",label:(0,a.t)("Posts"),type:"slider-dev",disabled:"facebook"!==u&&f,devices:"desktop",config:{min:5,max:20,debounceUpdate:!0}},{id:"disqusShortname",type:"inputText-dev",label:(0,a.t)("Shortname"),disabled:"disqus"!==u,devices:"desktop",placeholder:"shortname"},{id:"logoSize",label:(0,a.t)("Avatar"),type:"slider-dev",disabled:f,config:{min:10,max:100,units:[{value:"px",title:"px"}]}},{id:"starsSize",label:(0,a.t)("Rating"),type:"slider-dev",disabled:f||!p,config:{min:5,max:50,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTypographyName",label:(0,a.t)("Name"),options:[{id:"name",type:"typography-dev",disabled:f,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyComment",label:(0,a.t)("Comment"),options:[{id:"comment",type:"typography-dev",disabled:f,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyDate",label:(0,a.t)("Date"),options:[{id:"date",type:"typography-dev",disabled:f,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyReply",label:(0,a.t)("Reply"),options:[{id:"reply",type:"typography-dev",disabled:f||p,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyPostButton",label:(0,a.t)("Button"),options:[{id:"postButton",type:"typography-dev",disabled:f,config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(m,n("borderColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabNameColor",label:(0,a.t)("Name"),options:[{id:"nameColor",disabled:f,type:"colorPicker-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabCommentsColor",label:(0,a.t)("Comments"),options:[{id:"commentsColor",disabled:f,type:"colorPicker-dev",states:[c.NORMAL,c.HOVER]}]},{id:"tabPostButtonColor",label:(0,a.t)("Btn Color"),options:[{id:"postButtonColor",type:"colorPicker-dev",disabled:f,states:[c.NORMAL,c.HOVER]}]},{id:"tabPostButtonBg",label:(0,a.t)("Btn Bg"),options:[{id:"postButtonBgColor",type:"colorPicker-dev",disabled:f,states:[c.NORMAL,c.HOVER]}]},{id:"tabReviewStarsColor",label:(0,a.t)("Stars"),options:[{id:"starsColor",type:"colorPicker-dev",disabled:f||!p,states:[c.NORMAL,c.HOVER]}]},{id:"tabReviewStarsBgColor",label:(0,a.t)("Stars Bg"),options:[{id:"starsBgColor",type:"colorPicker-dev",disabled:f||!p,states:[c.NORMAL,c.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",title:(0,a.t)("Link"),size:"medium"},position:90,options:[{id:"targetUrl",label:(0,a.t)("Target URL"),type:"select-dev",devices:"desktop",choices:[{title:(0,a.t)("Current Page"),value:"current"},{title:(0,a.t)("Custom Page"),value:"custom"}]},{id:"href",label:(0,a.t)("Link"),type:"inputText-dev",placeholder:"http://",disabled:"current"===n("targetUrl"),devices:"desktop"}]}]}},7468:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("borderColorOpacity"))}}},devices:"desktop",roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabBgColor",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},45370:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),n=y(o(27378)),i=y(o(36275)),a=y(o(42168)),l=y(o(67439)),s=y(o(63692)),c=o(94220),d=o(9644),u=y(o(78889)),p=h(o(50337)),f=o(68519),m=h(o(99012));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class b extends s.default{static get componentId(){return"FacebookEmbed"}static defaultValue=u.default;getAppData(){return{appId:0x67903d22b9a8,lang:(0,d.makePlaceholder)({content:"{{ brizy_dc_page_language }}"})}}renderForEdit(e,t,o){const{type:s,postAndVideoShowText:d,videoAllowFullScreen:u,videoAutoPlay:y,videoCaptions:g,postHref:h,videoHref:b}=e,v=this.getAppData(),S="post"===s?{width:"auto",showText:"on"===d,href:h,lang:v.lang}:{width:"auto",showText:"on"===d,allowFullScreen:"on"===u,autoPlay:"on"===y,showCaptions:"on"===g,href:b,lang:v.lang},w="post"===s?"EmbeddedPost":"EmbeddedVideo",x=(0,r.default)("brz-fb-embed",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(m,p),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:x},n.default.createElement(a.default,{appId:v.appId,type:w,data:S}))))}renderForView(e,t,o){const{type:l,postAndVideoShowText:s,videoAllowFullScreen:d,videoAutoPlay:u,videoCaptions:p,postHref:m,videoHref:y}=e,g=this.getAppData(),h="post"===l?{"data-show-text":"on"===s,"data-href":m,"data-lang":g.lang}:{"data-width":"auto","data-show-text":"on"===s,"data-allowFullScreen":"on"===d,"data-autoplay":"on"===u,"data-show-captions":"on"==p,"data-href":y,"data-lang":g.lang},b="post"===l?"post":"video",v=(0,r.default)("brz-fb-embed",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:v},n.default.createElement(a.default,{appId:g.appId,type:b,data:h})))}}const v=b},50337:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Facebook Embed"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},68519:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},99012:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,n.t)("Embed")},devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Embed"),options:[{id:"type",label:(0,n.t)("Embed"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Post"),value:"post"},{title:(0,n.t)("Video"),value:"video"}]},{label:(0,n.t)("Link"),id:"postHref",type:"inputText-dev",devices:"desktop",disabled:"post"!==c("type")},{label:(0,n.t)("Link"),id:"videoHref",type:"inputText-dev",devices:"desktop",disabled:"video"!==c("type")},{id:"postAndVideoShowText",label:(0,n.t)("Include Full Post"),type:"switch-dev",devices:"desktop"}]},{id:"advanced",label:(0,n.t)("Advanced"),options:[{id:"videoAllowFullScreen",label:(0,n.t)("Full Screen"),type:"switch-dev",devices:"desktop",disabled:"video"!==c("type")},{id:"videoAutoPlay",label:(0,n.t)("AutoPlay"),type:"switch-dev",devices:"desktop",disabled:"video"!==c("type")},{id:"videoCaptions",label:(0,n.t)("Captions"),type:"switch-dev",devices:"desktop",disabled:"video"!==c("type")}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("borderColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",roles:["admin"],icon:"nc-cog",position:110}]}},14129:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),n=y(o(27378)),i=y(o(36275)),a=y(o(42168)),l=y(o(67439)),s=y(o(63692)),c=o(94220),d=o(9644),u=y(o(83595)),p=h(o(32701)),f=o(71207),m=h(o(94361));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class b extends s.default{static get componentId(){return"FacebookGroup"}static defaultValue=u.default;getAppData(){return{appId:0x67903d22b9a8,lang:(0,d.makePlaceholder)({content:"{{ brizy_dc_page_language }}"})}}renderForEdit(e,t,o){const{width:s,href:d,showSocialContext:u,showMetaData:y,skin:g}=e,h=this.getAppData(),b={width:s,href:""===d?"https://www.facebook.com/groups/brizy/":d,showSocialContext:"on"===u,showMetaData:"on"===y,skin:g,lang:h.lang},v=(0,r.default)("brz-fb-group",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(m,p),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:v},n.default.createElement(a.default,{appId:h.appId,type:"Group",data:b}))))}renderForView(e,t,o){const{width:l,href:s,showSocialContext:d,showMetaData:u,skin:p}=e,m=this.getAppData(),y={"data-width":l,"data-href":""===s?"https://www.facebook.com/groups/brizy/":s,"data-show-social-context":"on"===d,"data-show-metadata":"on"===u,"data-skin":p,"data-lang":m.lang},g=(0,r.default)("brz-fb-group",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:g},n.default.createElement(a.default,{appId:m.appId,type:"Group",data:y})))}}const v=b},32701:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Facebook Group"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",devices:"desktop",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},71207:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionBoxShadow"]}}})}},94361:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,n.t)("Page")},devices:"desktop",position:70,options:[{id:"href",label:(0,n.t)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"https://www.facebook.com/groups/brizy/"},{id:"skin",label:(0,n.t)("Skin"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Light"),value:"light"},{title:(0,n.t)("Dark"),value:"dark"}]},{id:"showSocialContext",label:(0,n.t)("Show Social Context"),type:"switch-dev",devices:"desktop"},{id:"showMetaData",label:(0,n.t)("Show Meta Data"),type:"switch-dev",devices:"desktop"}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("borderColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",state:s,config:{showSingle:!0},tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",devices:"desktop",config:{min:180,max:500,units:[{value:"px",title:"px"}],debounceUpdate:!0}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},55589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),n=y(o(27378)),i=y(o(36275)),a=y(o(42168)),l=y(o(67439)),s=y(o(63692)),c=o(94220),d=o(9644),u=y(o(58191)),p=h(o(35445)),f=o(67130),m=h(o(24252));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class b extends s.default{static get componentId(){return"FacebookPage"}static defaultValue=u.default;getAppData(){return{appId:0x67903d22b9a8,lang:(0,d.makePlaceholder)({content:"{{ brizy_dc_page_language }}"})}}renderForEdit(e,t,o){const{pageTabs:s,height:d,smallHeader:u,hideCover:y,showFacepile:g,href:h}=e,b=this.getAppData(),v={width:"500",tabs:s,height:d,smallHeader:"on"===u,hideCover:"on"===y,adaptContainerWidth:!0,showFacepile:"on"===g,href:""===h?"https://facebook.com/brizy.io":h,lang:b.lang},S=(0,r.default)("brz-fb-page",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(m,p),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:S},n.default.createElement(a.default,{appId:b.appId,key:this.key,type:"Page",data:v}))))}renderForView(e,t,o){const{pageTabs:l,height:s,smallHeader:d,hideCover:u,showFacepile:p,href:m}=e,y=this.getAppData(),g={"data-width":"500","data-tabs":l,"data-height":s,"data-small-header":"on"===d,"data-hide-cover":"on"===u,"data-adapt-container-width":!0,"data-show-facepile":"on"===p,"data-href":""===m?"https://facebook.com/brizy.io":m,"data-lang":y.lang},h=(0,r.default)("brz-fb-page",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)));return n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:h},n.default.createElement(a.default,{appId:y.appId,type:"Page",data:g})))}}const v=b},35445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}},67130:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},24252:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-facebook",title:(0,n.t)("Page")},devices:"desktop",position:70,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Page"),options:[{id:"href",label:(0,n.t)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"https://facebook.com/brizy.io"},{id:"pageTabs",label:(0,n.t)("Tabs"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Timeline"),value:"timeline"},{title:(0,n.t)("Events"),value:"events"},{title:(0,n.t)("Messages"),value:"messages"}]},{id:"height",label:(0,n.t)("Height"),type:"slider-dev",devices:"desktop",config:{min:70,max:800,units:[{value:"px",title:"px"}],debounceUpdate:!0}}]},{id:"tabAdvanced",label:(0,n.t)("Advanced"),type:"tabs-dev",options:[{id:"smallHeader",label:(0,n.t)("Use Small Header"),type:"switch-dev",devices:"desktop"},{id:"hideCover",label:(0,n.t)("Hide Cover Photo"),type:"switch-dev",devices:"desktop"},{id:"showFacepile",label:(0,n.t)("Show Friend's Faces"),type:"switch-dev",devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("borderColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",sidebarLabel:(0,n.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},48453:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(63692)),i=u(o(67439)),a=f(o(92433)),l=f(o(76883)),s=f(o(25432)),c=u(o(75107)),d=o(29433);function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends n.default{static get componentId(){return"FormField"}static defaultValue=c.default;renderForEdit(e){const{type:t}=e,o=a[t];return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement("div",{className:(0,d.fieldStyleClassName)(e),style:(0,d.fieldStyleCSSVars)(e)},r.default.createElement(o,{...e,onChange:e=>this.patchValue(e)})))}}},25432:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Form Fields");function n(){return[]}},29433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fieldStyleClassName:function(){return l},fieldStyleCSSVars:function(){return s}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=o(44664),a=o(69321);function l(e){let t;t={".brz-ed--desktop &":{maxWidth:"var(--width)",flexBasis:"var(--width)","& .brz-textarea":{height:"var(--height)"}},".brz-ed--tablet &":{maxWidth:"var(--tabletWidth)",flexBasis:"var(--tabletWidth)","& .brz-textarea":{height:"var(--tabletHeight)"}},".brz-ed--mobile &":{maxWidth:"var(--mobileWidth)",flexBasis:"var(--mobileWidth)","& .brz-textarea":{height:"var(--mobileHeight)"}}};const o=String((0,i.css)(t));return(0,r.default)("brz-forms__item",o)}function s(e){const{type:t,width:o,height:r}=e;return{"--width":`${o}%`,"--height":"Paragraph"===t?`${r}px`:"auto","--tabletWidth":`${(0,a.tabletSyncOnChange)(e,"width")}%`,"--tabletHeight":"Paragraph"===t?`${(0,a.tabletSyncOnChange)(e,"height")}px`:"auto","--mobileWidth":`${(0,a.mobileSyncOnChange)(e,"width")}%`,"--mobileHeight":"Paragraph"===t?`${(0,a.mobileSyncOnChange)(e,"height")}px`:"auto"}}},76883:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(69321),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(92433));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}const c=r.default.map(l,(e=>({title:e.componentTitle,value:e.componentType})));function d(e){let{v:t,device:o}=e;return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{title:(0,i.t)("Field"),icon:"nc-form-left"},position:60,options:[{id:"type",label:(0,i.t)("Field Type"),type:"select-dev",position:10,devices:"desktop",choices:c},{id:"required",label:(0,i.t)("Required"),type:"switch-dev",position:20,devices:"desktop"},{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}},{id:"height",label:(0,i.t)("Height"),type:"slider-dev",disabled:"Paragraph"!==("type",(0,a.defaultValueValue)({v:t,key:"type",device:o})),config:{min:1,max:300,units:[{title:"px",value:"px"}]}}]}]}},87669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=o(64985),i=a(o(70612));function a(e){return e&&e.__esModule?e:{default:e}}class l extends i.default{static get componentTitle(){return(0,n.t)("Email")}static get componentType(){return"Email"}static pattern="^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$";renderForEdit=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",...e});renderForView=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",type:"email",maxLength:"255",...e})}},23083:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(70612)),i=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{static get componentTitle(){return(0,i.t)("Number")}static get componentType(){return"Number"}static pattern="^-?[0-9]\\d*(\\.\\d+)?$";renderForEdit=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",...e});renderForView=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",type:"number",...e})}},29777:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(70612)),i=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{static get componentTitle(){return(0,i.t)("Paragraph")}static get componentType(){return"Paragraph"}renderForEdit=e=>r.default.createElement("textarea",{className:"brz-textarea brz-forms__field",...e})}},84541:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=y(o(27378)),n=o(70634),i=y(o(10301)),a=y(o(17882)),l=y(o(97023)),s=y(o(65961)),c=y(o(33364)),d=o(81300),u=o(73948),p=o(92213),f=o(64985),m=y(o(70612));function y(e){return e&&e.__esModule?e:{default:e}}class g extends m.default{static get componentTitle(){return(0,f.t)("Select")}static get componentType(){return"Select"}constructor(e){super(e),this.state={isOpen:!1,newItemValue:""}}handleOptionsChange=(e,t)=>{const o=(0,n.replaceAt)(this.props.options,t,e);this.props.onChange({options:o})};handleOptionsAdd=()=>{const e=(0,n.addLast)(this.props.options,this.state.newItemValue);this.setState({newItemValue:""}),this.props.onChange({options:e})};handleOptionsRemove=e=>{const t=(0,n.removeAt)(this.props.options,e);this.props.onChange({options:t})};handleKeyUp=e=>{13===e.keyCode&&this.handleOptionsAdd()};handleClick=e=>{e.preventDefault(),this.selectInput.classList.add("brz-ed-dd-cancel")};handleBlur=()=>{this.selectInput.classList.remove("brz-ed-dd-cancel")};renderOptions=()=>{const e="desktop"===(0,p.getStore)().getState().ui.deviceMode;return i.default.map(this.props.options,((t,o)=>r.default.createElement("div",{key:o,className:"brz-forms__select-item"},r.default.createElement("div",{className:"brz-forms__select-item__input"},r.default.createElement("input",{className:"brz-input",value:t,onChange:e=>this.handleOptionsChange(e.target.value,o)})),e?r.default.createElement("div",{className:"brz-forms__select-item__icon",onClick:()=>this.handleOptionsRemove(o)},r.default.createElement(c.default,{icon:"nc-trash"})):null)))};renderForEdit=e=>{const t="desktop"===(0,p.getStore)().getState().ui.deviceMode,{isOpen:o,newItemValue:n}=this.state,i=52*(this.props.options.length+Number(t));return r.default.createElement(a.default,{onClickOutside:()=>this.setState({isOpen:!1})},r.default.createElement("div",{className:"brz-forms__select"},r.default.createElement("div",{className:"brz-forms__select-current brz-forms__field"},r.default.createElement("input",{...e,ref:e=>{this.selectInput=e},className:"brz-input",onClick:e=>{this.setState({isOpen:!o}),this.handleClick(e)},onBlur:this.handleBlur}),r.default.createElement(u.ThemeIcon,{name:"arrow-down",type:"editor",className:"brz-forms__select--arrow"})),o&&r.default.createElement("div",{className:"brz-forms__select-list brz-ed-dd-cancel"},r.default.createElement(d.Scrollbar,{autoHeightMax:i,theme:"light"},this.renderOptions(),t?r.default.createElement("div",{className:"brz-forms__select-item"},r.default.createElement("div",{className:"brz-forms__select-item__input"},r.default.createElement("input",{placeholder:(0,f.t)("Add new option"),className:"brz-input brz-input__select",value:n,onChange:e=>{let{target:{value:t}}=e;return this.setState({newItemValue:t})},onKeyUp:e=>this.handleKeyUp(e)})),r.default.createElement("div",{className:"brz-forms__select-item__icon",onClick:this.handleOptionsAdd},r.default.createElement(c.default,{icon:"nc-arrow-right"}))):null))))};renderForView=e=>{const{label:t,options:o}=this.props;return r.default.createElement("div",{"data-label":t},r.default.createElement(l.default,{inputAttributes:e,defaultValue:this.props.label,maxItems:o.length+1,itemHeight:52},r.default.createElement(s.default,{value:""},t),o.map(((e,t)=>r.default.createElement(s.default,{key:t,value:e},e)))))}}},44706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(70612)),i=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{static get componentTitle(){return(0,i.t)("Text")}static get componentType(){return"Text"}renderForEdit=e=>r.default.createElement("input",{className:"brz-input brz-forms__field",...e})}},70612:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}class i extends r.Component{static get componentTitle(){return"Text"}static get componentType(){return"Text"}static defaultProps={_id:null,label:"Default Label",required:"off",type:"Text"};content=r.default.createRef();handleTextChange=e=>{let{target:{value:t}}=e;this.props.onChange({label:t})};handleClick=e=>{e.preventDefault();const t=this.content.current;t&&t.classList.add("brz-ed-dd-cancel")};handleBlur=()=>{const e=this.content.current;e&&e.classList.remove("brz-ed-dd-cancel")};renderForEdit(e){return r.default.createElement("input",{className:"brz-input brz-forms__field",...e})}renderForView(e){return this.renderForEdit(e)}render(){const{_id:e,label:t,required:o,type:r}=this.props;let n;return n={ref:this.content,type:"text",value:t,onChange:this.handleTextChange,onClick:this.handleClick,onBlur:this.handleBlur},this.renderForEdit(n)}}},92433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Text:function(){return r.default},Email:function(){return n.default},Number:function(){return i.default},Paragraph:function(){return a.default},Select:function(){return l.default}});const r=s(o(44706)),n=s(o(87669)),i=s(o(23083)),a=s(o(29777)),l=s(o(84541));function s(e){return e&&e.__esModule?e:{default:e}}},52195:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(10787))&&n.__esModule?n:{default:n};var n;const i=o(67439),a=o(64985);class l extends r.default{static get componentId(){return"FormItem.Items"}static defaultProps={className:""};getItemProps(e,t,o){const r={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,a.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,a.t)("Delete"),position:250,disable:1===o.length,onChange:()=>{(0,i.hideToolbar)(),this.removeItem(t)}}]:[]]};return{toolbarExtend:this.makeToolbarPropsFromConfig2(r)}}}},66937:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),n=c(o(63692)),i=c(o(52195)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(17780)),l=c(o(32749)),s=o(20449);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends n.default{static get componentId(){return"FormFields"}static defaultValue=l.default;renderForEdit(e){const t=this.applyRulesToValue(e,[e.fontStyle&&`${e.fontStyle}__fsDesktop`,e.tabletFontStyle&&`${e.tabletFontStyle}__fsTablet`,e.mobileFontStyle&&`${e.mobileFontStyle}__fsMobile`]),o=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(a)});return r.default.createElement("div",{className:(0,s.styleClassName)(t),style:(0,s.styleCSSVars)(t)},r.default.createElement(i.default,o))}}},20449:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleClassName:function(){return c},styleCSSVars:function(){return d}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=o(44664),a=o(72833),l=o(69321),s=o(31715);function c(e){let t;t={".brz & .brz-forms__item":{fontFamily:"var(--fontFamily)",color:"var(--color)","& .brz-forms__field":{backgroundColor:"var(--backgroundColor)",borderColor:"var(--borderColor)",borderWidth:"var(--borderWidth)",borderStyle:"var(--borderStyle)"},"& .brz-forms__select-item__input":{color:"var(--color)"}},".brz & .form-alert":{fontFamily:"var(--fontFamily)"},".brz-ed--desktop &.brz-forms__fields":{marginRight:"var(--marginRight)",marginLeft:"var(--marginLeft)"},".brz-ed--desktop & .brz-forms__item":{fontSize:"var(--fontSize)",lineHeight:"var(--lineHeight)",fontWeight:"var(--fontWeight)",letterSpacing:"var(--letterSpacing)",paddingRight:"var(--paddingRight)",paddingBottom:"var(--paddingBottom)",paddingLeft:"var(--paddingLeft)"},".brz-ed--tablet &.brz-forms__fields":{marginRight:"var(--tabletMarginRight)",marginLeft:"var(--tabletMarginLeft)"},".brz-ed--tablet & .brz-forms__item":{fontSize:"var(--tabletFontSize)",lineHeight:"var(--tabletLineHeight)",fontWeight:"var(--tabletFontWeight)",letterSpacing:"var(--tabletLetterSpacing)",paddingRight:"var(--tabletPaddingRight)",paddingBottom:"var(--tabletPaddingBottom)",paddingLeft:"var(--tabletPaddingLeft)"},".brz-ed--mobile &.brz-forms__fields":{marginRight:"var(--mobileMarginRight)",marginLeft:"var(--mobileMarginLeft)"},".brz-ed--mobile & .brz-forms__item":{fontSize:"var(--mobileFontSize)",lineHeight:"var(--mobileLineHeight)",fontWeight:"var(--mobileFontWeight)",letterSpacing:"var(--mobileLetterSpacing)",paddingRight:"var(--mobilePaddingRight)",paddingBottom:"var(--mobilePaddingBottom)",paddingLeft:"var(--mobilePaddingLeft)"}};const o=String((0,i.css)(t));return(0,r.default)("brz-forms__fields",o)}function d(e){const{fontFamily:t,fontFamilyType:o,fontSize:r,fontWeight:n,lineHeight:i,letterSpacing:c,paddingTop:d,paddingRight:u,paddingBottom:p,paddingLeft:f,tabletFontSize:m,tabletLineHeight:y,tabletFontWeight:g,tabletLetterSpacing:h,mobileFontSize:b,mobileLineHeight:v,mobileFontWeight:S,mobileLetterSpacing:w}=e;return{"--paddingTop":`${d}px`,"--paddingRight":u/2+"px","--paddingBottom":`${p}px`,"--paddingLeft":f/2+"px","--marginRight":`-${u/2}px`,"--marginLeft":`-${f/2}px`,"--fontFamily":(0,a.getFontById)({family:t,type:o}).family,"--fontWeight":n,"--fontSize":`${r}px`,"--lineHeight":i,"--letterSpacing":`${c}px`,"--color":(0,s.styleColor)({v:e,device:"desktop",state:"normal"}),"--backgroundColor":(0,s.styleBgColor)({v:e,device:"desktop",state:"normal"}),"--borderColor":(0,s.styleBorderColor)({v:e,device:"desktop",state:"normal"}),"--borderWidth":(0,s.styleBorderWidth)({v:e,device:"desktop",state:"normal",current:"borderWidth"}),"--borderStyle":(0,s.styleBorderStyle)({v:e,device:"desktop"}),"--tabletFontSize":`${m}px`,"--tabletLineHeight":y,"--tabletFontWeight":g,"--tabletLetterSpacing":`${h}px`,"--tabletPaddingTop":`${(0,l.tabletSyncOnChange)(e,"paddingTop")}px`,"--tabletPaddingRight":(0,l.tabletSyncOnChange)(e,"paddingRight")/2+"px","--tabletPaddingBottom":`${(0,l.tabletSyncOnChange)(e,"paddingBottom")}px`,"--tabletPaddingLeft":(0,l.tabletSyncOnChange)(e,"paddingLeft")/2+"px","--tabletMarginRight":`-${(0,l.tabletSyncOnChange)(e,"paddingRight")/2}px`,"--tabletMarginLeft":`-${(0,l.tabletSyncOnChange)(e,"paddingLeft")/2}px`,"--mobileFontSize":`${b}px`,"--mobileLineHeight":v,"--mobileFontWeight":S,"--mobileLetterSpacing":`${w}px`,"--mobilePaddingTop":`${(0,l.mobileSyncOnChange)(e,"paddingTop")}px`,"--mobilePaddingRight":(0,l.mobileSyncOnChange)(e,"paddingRight")/2+"px","--mobilePaddingBottom":`${(0,l.mobileSyncOnChange)(e,"paddingBottom")}px`,"--mobilePaddingLeft":(0,l.mobileSyncOnChange)(e,"paddingLeft")/2+"px","--mobileMarginRight":`-${(0,l.mobileSyncOnChange)(e,"paddingRight")/2}px`,"--mobileMarginLeft":`-${(0,l.mobileSyncOnChange)(e,"paddingLeft")/2}px`}}},17780:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("bgColorHex"),l("bgColorPalette")),{hex:c}=(0,a.getOptionColorHexByPalette)(l("colorHex"),l("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-form-left",title:(0,n.t)("Field")},position:60,options:[{id:"padding",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",title:(0,n.t)("Typography"),size:"desktop"===o?"large":"auto"},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:l("bgColorOpacity")>0?(0,r.hexToRgba)(s,l("bgColorOpacity")):(0,r.hexToRgba)(c,l("colorOpacity"))}}},position:80,options:[{id:"color",type:"tabs-dev",tabs:[{id:"bgColor",label:(0,n.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",devices:"desktop"}]},{id:"labelColor",label:(0,n.t)("Label"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:"borderColor",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop"}]}]}]}]}},46667:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=y(o(27378)),n=o(10301),i=y(o(63692)),a=y(o(36275)),l=y(o(10787)),s=y(o(22546)),c=o(51401),d=y(o(46212)),u=h(o(17094)),p=h(o(96174)),f=h(o(38694)),m=h(o(93930));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class b extends i.default{static get componentId(){return"Form"}static defaultValue=d.default;static defaultProps={extendParentToolbar:n.noop};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(u,p,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleSubmit=e=>{e.preventDefault()};renderFields(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:this.props.meta}});return r.default.createElement(l.default,e)}renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(f,m,{allowExtend:!1})}});return r.default.createElement(l.default,e)}renderForEdit(e){return r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:(0,c.styleClassName)(e),style:(0,c.styleCSSVars)(e)},r.default.createElement("form",{className:"brz-form",noValidate:!0,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e))))}renderForView(e){const{_id:t,messageSuccess:o,messageError:n,messageRedirect:i,customCSS:l}=e,{submitUrl:d,recaptcha:u}=s.default.get("applications").form,p=s.default.get("project").id,f=u&&u.siteKey;return r.default.createElement(a.default,{selectorName:this.getId(),css:l},r.default.createElement("div",{className:(0,c.styleClassName)(e),style:(0,c.styleCSSVars)(e),"data-form-version":"1"},r.default.createElement("form",{className:"brz-form",action:d,noValidate:!0,"data-form-id":t,"data-project-id":p,"data-success":o,"data-error":n,"data-redirect":i,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e),f&&r.default.createElement("div",{className:"brz-g-recaptcha","data-sitekey":f,"data-size":"invisible","data-callback":"brzFormV1Captcha"}))))}}},93930:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Submit Form");function n(){return[]}},96174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Form");function n(){return[]}},51401:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleClassName:function(){return l},styleCSSVars:function(){return s}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=o(44664),a=o(69321);function l(e){let t;t={".brz &.brz-forms .brz-btn":{display:"inline-flex"},".brz-ed--desktop &":{textAlign:"var(--horizontalAlign)"},".brz-ed--tablet &":{textAlign:"var(--tabletHorizontalAlign)"},".brz-ed--mobile &":{textAlign:"var(--mobileHorizontalAlign)"}};const o=String((0,i.css)(t));return(0,r.default)("brz-forms",o)}function s(e){const{horizontalAlign:t}=e;return{"--horizontalAlign":t,"--tabletHorizontalAlign":(0,a.tabletSyncOnChange)(e,"horizontalAlign"),"--mobileHorizontalAlign":(0,a.mobileSyncOnChange)(e,"horizontalAlign")}}},38694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=o(64985);function a(e){let{v:t}=e;const o=r.default.pluck(t.items[0].value.items,"value");return[{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"toolbarFormLink",type:"popover-dev",config:{icon:"nc-link",title:(0,i.t)("Link"),size:"medium"},position:90,options:[{id:"formLink",type:"tabs-dev",tabs:[{id:"message",label:(0,i.t)("Message"),options:[{id:"messageSuccess",type:"inputText-dev",label:(0,i.t)("Success"),placeholder:(0,i.t)("Message sent"),devices:"desktop"},{id:"messageError",type:"inputText-dev",label:(0,i.t)("Error"),placeholder:(0,i.t)("Message not sent"),devices:"desktop"}]},{id:"redirect",label:(0,i.t)("Redirect"),options:[{id:"messageRedirect",type:"inputText-dev",label:(0,i.t)("Go to"),placeholder:"http://",devices:"desktop"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"apps",type:"formApps-dev",devices:"desktop",config:{id:t._id,fields:o,icon:"nc-extensions-2"}}]}},17094:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},94874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=m(o(60042)),n=m(o(27378)),i=m(o(67439)),a=m(o(63692)),l=o(94220),s=o(6804),c=m(o(55623)),d=g(o(13699)),u=o(57922),p=g(o(33415)),f=g(o(26402));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class h extends a.default{static get componentId(){return"Form2Field"}static defaultValue=c.default;getError(e){const{type:t,fileSizeErrorMessage:o,fileTypeErrorMessage:r,numberMinMessage:n,numberMaxMessage:i}=e;switch(t){case"FileUpload":return{fileMaxSizeError:o,fileTypeError:r};case"Number":return{minNumError:n,maxNumError:i};default:return{}}}renderForEdit(e,t,o){const{labelType:a,placeholder:s,className:c,selectClassName:m,toolbarExtendLabel:y,toolbarExtendSelect:g}=this.props,{type:h}=e,b=f[h],v=(0,r.default)("brz-forms2__item",c,(0,l.css)(`${this.constructor.componentId}-field`,`${this.getId()}-field`,(0,u.style)(e,t,o)));return n.default.createElement("div",{className:v},"outside"===a&&n.default.createElement(i.default,y,n.default.createElement(b.Label,{id:this.getId(),value:e,onChange:e=>this.patchValue(e)})),n.default.createElement(i.default,this.makeToolbarPropsFromConfig2(p,d),n.default.createElement("div",null,n.default.createElement(b,{...e,showPlaceholder:s,labelType:a,toolbarExtendSelect:g,selectClassName:m,onChange:e=>this.patchValue(e)}))))}renderForView(e,t,o){const i=(0,s.uuid)(),{labelType:a,placeholder:c,className:d,selectClassName:p}=this.props,{type:m}=e,y=f[m],g=(0,r.default)("brz-forms2__item",d,{"brz-d-none":"Hidden"===m},(0,l.css)(`${this.constructor.componentId}-field`,`${this.getId()}-field`,(0,u.style)(e,t,o)));return n.default.createElement("div",{className:g},"outside"===a&&n.default.createElement(y.Label,{id:i,value:e}),n.default.createElement(y,{...e,labelId:i,error:this.getError(e),showPlaceholder:c,selectClassName:p,labelType:a}))}}const b=h},13699:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},57922:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth","cssStyleElementForm2FlexBasisPercent"]},".brz &&:hover .brz-textarea":{standart:["cssStyleElementForm2InputHeight"]},".brz && .brz-forms2__checkbox-option":{standart:["cssStyleElementForm2FieldColumns"]},".brz && .brz-forms2__radio-option":{standart:["cssStyleElementForm2FieldColumns"]}}})}},33415:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=s(o(10301)),n=s(o(22546)),i=o(64985),a=o(69321),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(26402));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e){let{v:t,device:o}=e;const s=("type",(0,a.defaultValueValue)({v:t,key:"type",device:o}));const c="Date"===s,d="FileUpload"===s,u="Select"===s,p="Hidden"===s,f="Number"===s,m="Paragraph"===s,y="Checkbox"===s||"Radio"===s,g=c||"Time"===s,h=[];if(d){const{maxUploadFileSize:e}=n.default.getAll().server||{},t=Number(e);for(let e=1;e<=t;e++)h.push({title:`${e} MB`,value:`${e}mb`})}return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,i.t)("Field")},position:60,options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"field",label:(0,i.t)("Field"),options:[{id:"type",label:(0,i.t)("Type"),type:"select-dev",devices:"desktop",position:10,choices:r.default.map(l,(e=>({title:e.componentTitle,value:e.componentType})))},{id:"fileSizeErrorMessage",type:"inputText-dev",position:15,label:"File size error message",placeholder:"..type error message",devices:"desktop",disabled:!d},{id:"fileTypeErrorMessage",type:"inputText-dev",position:15,label:"File type error message",placeholder:"..type error message",devices:"desktop",disabled:!d},{id:"numberMinMessage",type:"inputText-dev",position:15,label:"Min number error message",placeholder:"..type error message",devices:"desktop",disabled:!f},{id:"numberMaxMessage",type:"inputText-dev",position:15,label:"Max number error message",placeholder:"..type error message",devices:"desktop",disabled:!f},...g?[{id:"min",type:"inputText-dev",position:20,label:c?(0,i.t)("Min Date"):(0,i.t)("Min Time"),placeholder:c?"YYYY-MM-DD":"HH:MM",devices:"desktop"},{id:"max",type:"inputText-dev",position:30,label:c?(0,i.t)("Max Date"):(0,i.t)("Max Time"),placeholder:c?"YYYY-MM-DD":"HH:MM",devices:"desktop"},{id:"nativeHtml",type:"switch-dev",position:40,label:(0,i.t)("Native HTML5"),devices:"desktop"}]:[],...y?[{id:"columns",label:(0,i.t)("Columns"),type:"select-dev",position:20,choices:[{title:"1",value:1},{title:"2",value:2},{title:"3",value:3},{title:"4",value:4},{title:"5",value:5},{title:"6",value:6}]}]:[],...d?[{id:"fileMaxSize",label:(0,i.t)("Max. File Size"),type:"select-dev",devices:"desktop",position:20,helper:{content:(0,i.t)("If you need to increase max upload size please contact your hosting.")},choices:h},{id:"fileTypes",label:(0,i.t)("Allowed File Types"),type:"inputText-dev",devices:"desktop",position:30,config:{size:"medium"},helper:{content:(0,i.t)("Enter the allowed file types, separated by a comma (jpg, gif, pdf, etc).")}}]:[],...u?[{id:"multipleSelection",label:(0,i.t)("Multiple Selection"),type:"switch-dev",position:20,disabled:!u,devices:"desktop"}]:[],...f?[{id:"min",type:"inputText-dev",position:20,label:(0,i.t)("Min"),placeholder:(0,i.t)("Min"),devices:"desktop"},{id:"max",type:"inputText-dev",position:30,label:(0,i.t)("Max"),placeholder:(0,i.t)("Max"),devices:"desktop"}]:[],...p?[]:[{id:"required",label:(0,i.t)("Required"),type:"switch-dev",position:100,disabled:p,devices:"desktop"}]]},{id:"advanced",label:(0,i.t)("Advanced"),options:[...y?[{id:"placeholder",type:"switch-dev",disabled:!0}]:[]]},{id:"background",label:(0,i.t)("Background"),options:[...y?[{id:"size",type:"radioGroup-dev",disabled:!0,choices:[]},{id:"borderRadius",type:"slider-dev",disabled:!0}]:[]]}]},...y?[{id:"size",type:"radioGroup-dev",disabled:!0,choices:[]}]:[]]},...y?[{id:"toolbarTypography",type:"popover-dev",disabled:!0},{id:"toolbarColor",type:"popover-dev",disabled:!0}]:[{id:"toolbarTypographyCheckbox",type:"popover-dev",disabled:!0},{id:"toolbarColorCheckbox",type:"popover-dev",disabled:!0}],{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"width",label:(0,i.t)("Width"),position:30,type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},...m?[{id:"height",label:(0,i.t)("Height"),type:"slider-dev",devices:"desktop",position:40,config:{min:1,max:300,units:[{value:"px",title:"px"}]}}]:[],{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},90108:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),n=o(70634),i=d(o(37490)),a=o(64985),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(31916)),s=d(o(33364)),c=o(73948);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends i.default{static get componentTitle(){return(0,a.t)("Checkbox")}static get componentType(){return"Checkbox"}state={value:"",active:{}};getClassName(){return"brz-forms2__field brz-forms2__checkbox"}handleActive=e=>{this.setState({active:e})};handleChangeOption(e,t){const{options:o,onChange:r}=this.props;r({options:(0,n.replaceAt)(o,t,e)})}handleChangeValue=e=>{this.setState({value:e.target.value})};handleKeyUp=e=>{13===e.keyCode&&this.handleAddOption()};handleAddOption=()=>{const{options:e,onChange:t}=this.props,{value:o}=this.state;o&&o.trim()&&(t({options:[...e,o]}),this.setState({value:""}))};handleRemoveOption(e){const{options:t,onChange:o}=this.props;this.setState({active:(0,n.omit)(this.state.active,t[e])}),o({options:(0,n.removeAt)(t,e)})}renderIconForEdit=e=>{let{active:t}=e;return r.default.createElement("div",{className:"brz-control__check-group-icon"},r.default.createElement(s.default,{className:"brz-d-block",icon:t?"nc-check-square-on":"nc-check-square-off"}))};renderIconForView=()=>r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},r.default.createElement(c.ThemeIcon,{className:"brz-d-block",name:"check-square-on",type:"editor"})),r.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},r.default.createElement(c.ThemeIcon,{className:"brz-d-block",name:"check-square-off",type:"editor"})));renderOptions(e){const{label:t,_id:o}=e,{active:n}=this.state;return r.default.createElement(l.default,{className:"brz-forms2__checkbox-options",name:t,defaultValue:n,onChange:this.handleActive},this.props.options.map(((e,t)=>r.default.createElement(l.CheckGroupItem,{key:t,className:"brz-forms2__checkbox-option",name:o,value:e,renderIcons:this.renderIconForEdit},r.default.createElement("div",{className:"brz-forms2__checkbox-option-name"},r.default.createElement("input",{type:"text",className:"brz-input",value:e,onChange:e=>this.handleChangeOption(e.target.value,t)}),r.default.createElement("span",{className:"brz-span brz-invisible"},e)),r.default.createElement("div",{className:"brz-forms2__checkbox-option-icon",onClick:()=>this.handleRemoveOption(t)},r.default.createElement(s.default,{icon:"nc-trash"}))))))}renderForEdit(e){return r.default.createElement("div",{className:this.getClassName()},this.renderOptions(e),r.default.createElement("div",{className:"brz-forms2__checkbox-option brz-forms2__checkbox-option-new"},r.default.createElement("span",{className:"brz-span"},r.default.createElement("input",{type:"text",className:"brz-input",placeholder:(0,a.t)("Add new option"),value:this.state.value,onChange:this.handleChangeValue,onKeyUp:this.handleKeyUp})),r.default.createElement("div",{className:"brz-forms2__checkbox-option-icon",onClick:this.handleAddOption},r.default.createElement(s.default,{icon:"nc-arrow-right"}))))}renderForView(e){const{attr:t}=e,o=e.options.filter((e=>e&&e.trim()));return o.length?r.default.createElement("div",{className:this.getClassName()},r.default.createElement(l.default,{className:"brz-forms2__checkbox-options"},o.filter((e=>e&&e.trim())).map(((e,o)=>r.default.createElement(l.CheckGroupItem,{...t,key:o,className:"brz-forms2__checkbox-option",value:e,renderIcons:this.renderIconForView},r.default.createElement("span",{className:"brz-span brz-forms2__checkbox-option-name"},e)))))):null}}},19045:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(n=o(37490))&&n.__esModule?n:{default:n};var n;const i=o(64985);class a extends r.default{static get componentTitle(){return(0,i.t)("Date")}static get componentType(){return"Date"}getAttributes(){const{min:e,max:t,nativeHtml:o}=this.props;return{"data-min":e,"data-max":t,"data-native":"on"===o}}}},15207:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=o(64985),i=a(o(37490));function a(e){return e&&e.__esModule?e:{default:e}}class l extends i.default{static get componentTitle(){return(0,n.t)("Email")}static get componentType(){return"Email"}static pattern='^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$';renderForView(e){const{attr:t}=e;return r.default.createElement("input",{...t,maxLength:"255",className:this.getClassName(e)})}}},86309:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=s(o(10301)),i=s(o(60042)),a=o(73948),l=o(66848);function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}class d extends r.Component{static defaultProps={id:"",className:"",name:"",value:null,placeholder:null,required:!1,accept:"",multiple:!1,fileText:"",onChange:n.default.noop,onChangeText:n.default.noop,onBlur:n.default.noop,onClick:n.default.noop};renderForEdit(){const{className:e,value:t,onChange:o,onChangeText:n,onBlur:a,onClick:s,fileText:c,showPlaceholder:d}=this.props,u=(0,i.default)("brz-input__upload",e),p=(0,i.default)("brz-input","brz-input__upload-placeholder",{"brz-p-events--none":!d});return r.default.createElement("div",{className:u,onClick:s,onBlur:a},r.default.createElement("label",{className:"brz-label"},r.default.createElement("input",{className:p,type:"text",value:t,onChange:o}),r.default.createElement("span",{className:"brz-button"},r.default.createElement(l.TextEditor,{value:c,onChange:n}))))}renderForView(){const{fileText:e,...t}=this.props,{id:o,className:n,placeholder:l}=t,s=(0,i.default)("brz-input__upload",n);return r.default.createElement("div",{className:s},r.default.createElement("input",{...t,type:"file",className:"brz-input"}),r.default.createElement("label",{htmlFor:o,className:"brz-label"},r.default.createElement("span",{className:"brz-span"},l),r.default.createElement(a.ThemeIcon,{className:"brz-input__upload-delete brz-hidden",name:"close",type:"editor"}),r.default.createElement("span",{className:"brz-button"},e)))}render(){return this.renderForEdit()}}const u=d},9032:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=c(o(27378)),n=c(o(60042)),i=c(o(37490)),a=o(64985),l=c(o(86309)),s=o(6085);function c(e){return e&&e.__esModule?e:{default:e}}class d extends i.default{static get componentTitle(){return(0,a.t)("File")}static get componentType(){return"FileUpload"}getClassName(){return(0,n.default)("brz-input brz-forms2__field brz-forms2__field-fileUpload")}getAttributes(){const{fileTypes:e,fileMaxSize:t,error:o}=this.props;return{accept:e,"data-file-max-size":t,"data-error":(0,s.encodeToString)(o)}}handleTextChange=e=>{this.handleChange({fileText:e})};handleValueChange=e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})};renderForEdit(e){const{labelType:t,attr:o,showPlaceholder:n}=e,{fileText:i}=this.props;return"outside"===t?r.default.createElement(l.default,{...o,fileText:i,className:this.getClassName(e),value:o.placeholder,onChange:this.handleValueChange,onChangeText:this.handleTextChange,showPlaceholder:n}):r.default.createElement(l.default,{...o,fileText:i,className:this.getClassName(e),onChange:this.handleValueChange,onChangeText:this.handleTextChange,showPlaceholder:n})}renderForView(e){const{fileText:t}=this.props;return r.default.createElement(l.default,{...e.attr,fileText:t,multiple:!1,className:this.getClassName(e)})}}},26038:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=a(o(37490)),i=o(64985);function a(e){return e&&e.__esModule?e:{default:e}}class l extends n.default{static get componentTitle(){return(0,i.t)("Hidden")}static get componentType(){return"Hidden"}static Label(){for(var e=arguments.length,t=new Array(e),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(37490))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(6085);class l extends r.default{static get componentTitle(){return(0,i.t)("Number")}static get componentType(){return"Number"}static pattern="^-?[0-9]\\d*(\\.\\d+)?$";getAttributes(){const{min:e,max:t,error:o}=this.props;return{"data-min":e,"data-max":t,"data-error":(0,a.encodeToString)(o)}}}},81332:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(60042)),i=l(o(37490)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}class s extends i.default{static get componentTitle(){return(0,a.t)("Paragraph")}static get componentType(){return"Paragraph"}getClassName(e){const{showPlaceholder:t}=e;return(0,n.default)("brz-textarea brz-forms2__field brz-forms2__field-paragraph",{"brz-p-events--none":!t})}renderForEdit(e){const{labelType:t,attr:o}=e;return"outside"===t?r.default.createElement("textarea",{...o,ref:this.input,className:this.getClassName(e),value:o.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})}}):r.default.createElement("textarea",{...o,ref:this.input,className:this.getClassName(e),onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})}})}renderForView(e){return r.default.createElement("textarea",{...e.attr,className:this.getClassName(e)})}}},26608:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(n=o(37490))&&n.__esModule?n:{default:n};var n;const i=o(64985);class a extends r.default{static get componentTitle(){return(0,i.t)("Password")}static get componentType(){return"Password"}}},45975:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=c(o(27378)),n=o(70634),i=c(o(37490)),a=o(64985),l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(80425)),s=c(o(33364));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}class u extends i.default{static get componentTitle(){return(0,a.t)("Radio")}static get componentType(){return"Radio"}state={value:""};getClassName(){return"brz-forms2__field brz-forms2__radio"}handleChangeOption(e,t){const{options:o,onChange:r}=this.props;r({options:(0,n.replaceAt)(o,t,e)})}handleChangeValue=e=>{this.setState({value:e.target.value})};handleKeyUp=e=>{13===e.keyCode&&this.handleAddOption()};handleAddOption=()=>{const{options:e,onChange:t}=this.props,{value:o}=this.state;o&&o.trim()&&(t({options:[...e,o]}),this.setState({value:""}))};handleRemoveOption(e){const{options:t,onChange:o}=this.props;o({options:(0,n.removeAt)(t,e)})}renderOptions(e){const{label:t,options:o}=e,n=o[0]||"";return r.default.createElement(l.default,{className:"brz-forms2__radio-options",name:t,defaultValue:n},o.map(((e,t)=>r.default.createElement(l.RadioItem,{key:t,className:"brz-forms2__radio-option",value:e,checkIcon:"check-circle-on",unCheckIcon:"check-circle-off"},r.default.createElement("div",{className:"brz-forms2__radio-option-name"},r.default.createElement("input",{type:"text",className:"brz-input",value:e,onChange:e=>this.handleChangeOption(e.target.value,t)}),r.default.createElement("span",{className:"brz-span brz-invisible"},e)),r.default.createElement("div",{className:"brz-forms2__radio-option-icon",onClick:()=>this.handleRemoveOption(t)},r.default.createElement(s.default,{icon:"nc-trash"}))))))}renderForEdit(e){return r.default.createElement("div",{className:this.getClassName()},this.renderOptions(e),r.default.createElement("div",{className:"brz-forms2__radio-option brz-forms2__radio-option-new"},r.default.createElement("span",{className:"brz-span"},r.default.createElement("input",{type:"text",className:"brz-input",placeholder:(0,a.t)("Add new option"),value:this.state.value,onChange:this.handleChangeValue,onKeyUp:this.handleKeyUp})),r.default.createElement("div",{className:"brz-forms2__radio-option-icon",onClick:this.handleAddOption},r.default.createElement(s.default,{icon:"nc-arrow-right"}))))}renderForView(e){const{attr:t}=e,o=e.options.filter((e=>e&&e.trim())),n=o[0]||"";return o.length?r.default.createElement("div",{className:this.getClassName()},r.default.createElement(l.default,{name:t.name,className:"brz-forms2__radio-options",defaultValue:n},o.map(((e,o)=>r.default.createElement(l.RadioItem,{...t,key:o,className:"brz-forms2__radio-option",value:e,checkIcon:"check-circle-on",unCheckIcon:"check-circle-off"},r.default.createElement("span",{className:"brz-span brz-forms2__radio-option-name"},e)))))):null}}},3329:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=g(o(60042)),n=g(o(27378)),i=g(o(27998)),a=o(70634),l=g(o(10301)),s=g(o(17882)),c=g(o(33364)),d=g(o(21107)),u=o(73948),p=g(o(67439)),f=o(92213),m=o(64985),y=g(o(37490));function g(e){return e&&e.__esModule?e:{default:e}}class h extends y.default{static get componentTitle(){return(0,m.t)("Select")}static get componentType(){return"Select"}content=n.default.createRef();dropdown=n.default.createRef();scrollbar=n.default.createRef();state={isOpen:!1,newItemValue:""};getClassName(){const{multipleSelection:e}=this.props;return(0,r.default)("brz-forms2__field brz-forms2__field-select",{"brz-forms2__field-select--multiple":"on"===e},this.props.selectClassName)}getAttributes(){const{multipleSelection:e}=this.props;return{multiple:"on"===e,"data-max-item-dropdown":5}}handleOutside=()=>{this.state.isOpen&&this.setState({isOpen:!1})};handleOptionsChange=(e,t)=>{const o=(0,a.replaceAt)(this.props.options,t,e);this.props.onChange({options:o})};handleOptionsAdd=()=>{const{newItemValue:e}=this.state,{options:t,onChange:o}=this.props;e&&e.trim()&&(o({options:(0,a.addLast)(t,e)}),this.setState({newItemValue:""},(()=>{this.scrollbar.current?.scrollToBottom()})))};handleOptionsRemove=e=>{const t=(0,a.removeAt)(this.props.options,e);this.props.onChange({options:t})};handleKeyUp=e=>{13===e.keyCode&&this.handleOptionsAdd()};handleClick=e=>{e.preventDefault();const t=this.input.current;t&&t.classList.add("brz-ed-dd-cancel")};handleBlur=()=>{const e=this.input.current;e&&e.classList.remove("brz-ed-dd-cancel")};handleOpen=e=>{this.setState((e=>{let{isOpen:t}=e;return{isOpen:!t}}),this.forceUpdate),this.handleClick(e)};getHeight=l.default.debounce((()=>this.dropdown.current?5*this.dropdown.current.querySelector(".brz-forms2__select-item").getBoundingClientRect().height:"100px"));renderOptions(e,t){let{options:o}=e;return o.map(((e,o)=>n.default.createElement("div",{key:o,className:"brz-forms2__select-item"},n.default.createElement("div",{className:"brz-forms2__select-item__input"},n.default.createElement("input",{className:"brz-input",value:e,onChange:e=>this.handleOptionsChange(e.target.value,o)})),t&&n.default.createElement("div",{className:"brz-forms2__select-item__icon",onClick:()=>this.handleOptionsRemove(o)},n.default.createElement(c.default,{icon:"nc-trash"})))))}renderDropdown(e){const t="desktop"===(0,f.getStore)().getState().ui.deviceMode,o=this.content.current,{top:a,left:l,height:s,width:u}=o.getBoundingClientRect(),{scrollLeft:y}=o.ownerDocument.documentElement,g={width:u,top:a+s+window.scrollY,left:l+y},h=(0,r.default)("brz-portal-forms__select brz-ed-dd-cancel",this.props.selectClassName);return n.default.createElement(d.default,{node:o.ownerDocument.body,className:h},n.default.createElement(p.default,this.props.toolbarExtendSelect,n.default.createElement("div",{ref:this.dropdown,className:"brz-forms2__select-list",style:g},n.default.createElement(i.default,{ref:this.scrollbar,autoHeight:!0,autoHeightMax:this.getHeight()},this.renderOptions(e,t),t&&n.default.createElement("div",{className:"brz-forms2__select-item"},n.default.createElement("div",{className:"brz-forms2__select-item__input"},n.default.createElement("input",{placeholder:(0,m.t)("Add new option"),className:"brz-input brz-input__select",value:this.state.newItemValue,onChange:e=>{let{target:{value:t}}=e;this.setState({newItemValue:t})},onKeyUp:e=>this.handleKeyUp(e)})),n.default.createElement("div",{className:"brz-forms2__select-item__icon",onClick:this.handleOptionsAdd},n.default.createElement(c.default,{icon:"nc-arrow-right"})))))))}renderForEdit(e){const{isOpen:t}=this.state,{labelType:o,attr:i,showPlaceholder:a}=e,l=(0,r.default)("brz-input",{"brz-p-events--none":!a});return n.default.createElement(s.default,{exceptions:[".brz-portal-forms__select",".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-ed-eyeDropper"],onClickOutside:this.handleOutside},n.default.createElement("div",{ref:this.content,className:this.getClassName(e)},n.default.createElement("div",{className:"brz-forms2__select-current",onClick:this.handleOpen},"outside"===o?n.default.createElement("input",{...i,ref:this.input,className:l,value:i.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})},onBlur:this.handleBlur}):n.default.createElement("input",{...i,ref:this.input,className:l,onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})},onBlur:this.handleBlur}),n.default.createElement(u.ThemeIcon,{name:"arrow-down",type:"editor",className:"brz-forms2__select--arrow"})),t&&this.renderDropdown(e)))}renderForView(e){const{label:t,attr:o}=e,r=e.options.filter((e=>e&&e.trim()));return r.length?n.default.createElement("div",{className:this.getClassName(e)},n.default.createElement("select",{...o,className:"brz-select"},n.default.createElement("option",{value:""},t),r.map(((e,t)=>n.default.createElement("option",{key:t,value:e},e))))):null}}},41069:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(n=o(37490))&&n.__esModule?n:{default:n};var n;const i=o(64985);class a extends r.default{static get componentTitle(){return(0,i.t)("Tel")}static get componentType(){return"Tel"}static pattern="[0-9()#&+*-=.]+"}},64205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(n=o(37490))&&n.__esModule?n:{default:n};var n;const i=o(64985);class a extends r.default{static get componentTitle(){return(0,i.t)("Text")}static get componentType(){return"Text"}}},2761:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=(n=o(37490))&&n.__esModule?n:{default:n};var n;const i=o(64985);class a extends r.default{static get componentTitle(){return(0,i.t)("Time")}static get componentType(){return"Time"}getAttributes(){const{min:e,max:t,nativeHtml:o}=this.props;return{"data-min":e,"data-max":t,"data-native":"on"===o}}}},33932:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(64985),n=(i=o(37490))&&i.__esModule?i:{default:i};var i;class a extends n.default{static get componentTitle(){return(0,r.t)("URL")}static get componentType(){return"Url"}static pattern="(http(s)?:\\/\\/.)?(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&\\/=]*)"}},37490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}class l extends i.Component{static get componentTitle(){return"Text"}static get componentType(){return"Text"}static defaultProps={_id:null,label:"Default Label",labelType:"inside",required:"off",type:"Text",selectToolbarItems:null};static Label(e){let{id:t,value:o,onChange:r}=e;const{label:n,placeholder:a}=o;return i.default.createElement("label",{className:"brz-label brz-forms2__field-label"},i.default.createElement("div",{className:"brz-p-relative"},i.default.createElement("input",{className:"brz-input brz-p-absolute",type:"text",value:n,placeholder:null===a?n:a,onChange:e=>{r({label:e.target.value})}}),i.default.createElement("span",{className:"brz-invisible"},n)))}input=i.default.createRef();getClassName(e){const{attr:t,showPlaceholder:o}=e;return(0,r.default)(`brz-input brz-forms2__field brz-forms2__field-${t.type}`,{"brz-p-events--none":!o})}getPlaceholder(){const{showPlaceholder:e,placeholder:t,label:o,labelType:r}=this.props;return e?null===t?o:t:""}getValue(){const{showPlaceholder:e,label:t}=this.props;return e?t:""}getAttributes(){return{}}handleChange=e=>{this.props.onChange(e)};handleClick=e=>{e.preventDefault();const t=this.input.current;t&&t.classList.add("brz-ed-dd-cancel")};handleBlur=()=>{const e=this.input.current;e&&e.classList.remove("brz-ed-dd-cancel")};renderForEdit(e){const{labelType:t,attr:o}=e;return"outside"===t?i.default.createElement("input",{...o,ref:this.input,className:this.getClassName(e),value:o.placeholder,onChange:e=>{this.handleChange({placeholder:e.target.value})}}):i.default.createElement("input",{...o,ref:this.input,className:this.getClassName(e),onChange:e=>{this.handleChange({label:e.target.value,placeholder:e.target.value})}})}renderForView(e){const{attr:t}=e;return i.default.createElement("input",{...t,className:this.getClassName(e)})}render(){const{_id:e,label:t,labelType:o,showPlaceholder:r,required:n,type:i,columns:a,options:l,tabletColumns:s,mobileColumns:c,labelId:d}=this.props;{const e={options:l,label:t,labelType:o,showPlaceholder:r,columns:a,tabletColumns:s,mobileColumns:c,attr:{type:"text",value:this.getValue(),placeholder:this.getPlaceholder(),onClick:this.handleClick,onBlur:this.handleBlur}};return this.renderForEdit(e)}}}},26402:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Text:function(){return r.default},Email:function(){return n.default},Number:function(){return i.default},Paragraph:function(){return a.default},Select:function(){return l.default},Radio:function(){return s.default},Checkbox:function(){return c.default},Date:function(){return d.default},Url:function(){return p.default},Time:function(){return u.default},FileUpload:function(){return f.default},Hidden:function(){return m.default},Tel:function(){return y.default},Password:function(){return g.default}});const r=h(o(64205)),n=h(o(15207)),i=h(o(77610)),a=h(o(81332)),l=h(o(3329)),s=h(o(45975)),c=h(o(90108)),d=h(o(19045)),u=h(o(2761)),p=h(o(33932)),f=h(o(9032)),m=h(o(26038)),y=h(o(41069)),g=h(o(26608));function h(e){return e&&e.__esModule?e:{default:e}}},26668:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=o(70634),n=o(67439),i=(a=o(10787))&&a.__esModule?a:{default:a};var a;const l=o(64985);class s extends i.default{static get componentId(){return"Form2Fields.Items"}static defaultProps={className:"",style:{}};getItemProps(e,t,o){const r={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"vertical",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,l.t)("Duplicate"),position:225,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,l.t)("Delete"),position:250,disable:1===o.length,onChange:()=>{(0,n.hideToolbar)(),this.removeItem(t)}}]:[]]};return{...super.getItemProps(e,t,o),toolbarExtend:this.makeToolbarPropsFromConfig2(r)}}cloneItem(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e+1;const o=this.getDBValue()||[];if(!o[e])throw new Error(`Can't clone invalid item at index ${e}`);const n=o[e],i=n.value.label.replace(/-[0-9]+/g,"");let a=o.reduce(((e,t)=>{const o=t.value.label;if(o.includes(i)){const t=o.match(/-([0-9]+)$/)||[];if(t.length&&e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(60042)),n=g(o(27378)),i=g(o(63692)),a=o(94220),l=g(o(26668)),s=g(o(46976)),c=b(o(13314)),d=b(o(16173)),u=b(o(54366)),p=o(54458),f=b(o(36787)),m=b(o(47442)),y=b(o(11400));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends i.default{static get componentId(){return"Form2Fields"}static defaultValue=s.default;renderForEdit(e,t,o){const{labelType:i,placeholder:s}=this.props,g=(0,r.default)((0,a.css)(`${this.getComponentId()}-fields`,`${this.getId()}-fields`,(0,p.styleFormFields)(e,t,o))),h=(0,r.default)((0,a.css)(`${this.getComponentId()}-field_select`,`${this.getId()}-field_select`,(0,p.styleFormSelect)(e,t,o))),b=this.makeSubcomponentProps({bindWithKey:"items",toolbarExtend:this.makeToolbarPropsFromConfig2(f,c),itemProps:{labelType:i,placeholder:s,className:g,selectClassName:h,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(m,d,{allowExtend:!1}),toolbarExtendSelect:this.makeToolbarPropsFromConfig2(y,u,{allowExtend:!1})}});return n.default.createElement(l.default,b)}}const S=v},13314:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},16173:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},54366:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},54458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleFormFields:function(){return n},styleFormSelect:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz &&:hover .brz-forms2__field-label":{standart:["cssStyleLabelColor","cssStyleElementForm2FieldsLabelFontFamily","cssStyleElementForm2FieldsLabelFontSize","cssStyleElementForm2FieldsLabelFontWeight","cssStyleElementForm2FieldsLabelLetterSpacing","cssStyleElementForm2FieldsLabelAlign","cssStyleElementForm2FieldsLabelLineHeight"]},".brz && .brz-forms2__field-label":{standart:["cssStyleElementForm2FieldsLabelPadding"]},".brz &&:hover .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox)":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementForm2FieldsLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&.brz-forms2__item--error .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox)":{standart:["cssStyleElementForm2FieldsBorderRequired"]},".brz && .brz-forms2__field:not(.brz-forms2__radio):not(.brz-forms2__checkbox):not(.brz-forms2__field-select)":{standart:["cssStylePaddingFourFields"]},".brz && .brz-forms2__field-paragraph":{standart:["cssStyleTypography2LineHeight"]},".brz &&:hover .brz-forms2__radio":{standart:["cssStyleElementForm2FieldsCheckboxColor","cssStyleElementForm2FieldsCheckboxFontFamily","cssStyleElementForm2FieldsCheckboxFontSize","cssStyleElementForm2FieldsCheckboxFontWeight","cssStyleElementForm2FieldsCheckboxLetterSpacing","cssStyleElementForm2FieldsCheckboxLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-forms2__checkbox":{standart:["cssStyleElementForm2FieldsCheckboxColor","cssStyleElementForm2FieldsCheckboxFontFamily","cssStyleElementForm2FieldsCheckboxFontSize","cssStyleElementForm2FieldsCheckboxFontWeight","cssStyleElementForm2FieldsCheckboxLetterSpacing","cssStyleElementForm2FieldsCheckboxLineHeight"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-forms2__select-item__input":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .form-alert":{standart:["cssStyleTypographyFontFamily"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-forms2__select-current":{standart:["cssStylePaddingFourFields"]},".brz &&:hover .brz-forms2__select-list":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementForm2FieldsSelectColor","cssStyleElementForm2FieldsSelectBgColor","cssStyleElementForm2FieldsSelectBorderRadius","cssStyleElementForm2FieldsSelectBoxShadow"]},".brz &&:hover .brz-forms2__select-item":{standart:["cssStyleElementForm2FieldsSelectBorder"]}}})}},36787:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=o(57582);function c(e){let{v:t,device:o}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("checkboxColorHex"),c("checkboxColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"background",options:[(0,s.toolbarElementForm2Size)({v:t,device:o,devices:"desktop"})]}]},(0,s.toolbarElementForm2Size)({v:t,device:o,devices:"responsive"})]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarTypographyCheckbox",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"checkbox",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarColorCheckbox",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,c("checkboxColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"checkboxColor",type:"colorPicker-dev"}]}]}},47442:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),n=o(81405),i=o(68256),a=o(69321);function l(e){let{v:t,device:o}=e;const l=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,i.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,r.t)("Field")},position:60,options:[{id:"labelPaddingBottom",label:(0,r.t)("Spacing"),position:60,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(s,l("labelColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"color",type:"tabs-dev",tabs:[{label:(0,r.t)("Label"),options:[{id:"labelColor",type:"colorPicker-dev"}]}]}]},{id:"labelHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},11400:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),n=o(81405),i=o(68256),a=o(69321);function l(e){let{v:t,device:o}=e;const l=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,i.getOptionColorHexByPalette)(l("selectColorHex"),l("selectColorPalette"));return[{id:"toolbarColorSelect",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(s,l("selectBgColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsSelectColor",type:"tabs-dev",tabs:[{id:"tabSelectText",label:(0,r.t)("Text"),options:[{id:"selectColor",type:"colorPicker-dev"}]},{id:"tabSelectBg",label:(0,r.t)("Bg"),options:[{id:"selectBgColor",type:"colorPicker-dev"}]},{id:"tabSelectBorder",label:(0,r.t)("Border"),options:[{id:"selectBorder",type:"border-dev",config:{width:["grouped"]}}]},{id:"tabSelectBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"selectBoxShadow",type:"boxShadow-dev"}]}]}]}]}},31850:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});const r=x(o(60042)),n=x(o(27378)),i=o(10301),a=x(o(31440)),l=x(o(36275)),s=(o(73948),x(o(10787))),c=x(o(63692)),d=o(86022),u=x(o(22546)),p=o(94220),f=o(16526),m=C(o(48499)),y=x(o(82725)),g=C(o(17330)),h=C(o(64220)),b=o(95068),v=C(o(44849)),S=C(o(59482)),w=C(o(85868));function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const T=["centerLeft","centerRight"];class _ extends c.default{static get componentId(){return"Form2"}static defaultValue=y.default;static defaultProps={extendParentToolbar:i.noop};handleResizerChange=e=>this.patchValue(e);componentDidMount(){const e=this.makeToolbarPropsFromConfig2(w,h,{allowExtend:!1});this.props.extendParentToolbar(e)}handleSubmit=e=>{e.preventDefault()};renderFields(e){const{label:t,placeholder:o}=e,r=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:this.props.meta,labelType:"off"===t?"inside":"outside",placeholder:"on"===o,toolbarExtend:this.makeToolbarPropsFromConfig2(S,null,{allowExtend:!1})}});return n.default.createElement(s.default,r)}renderButton(e){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(v,g,{allowExtend:!1})}}),o=(0,r.default)("brz-forms2","brz-forms2__item","brz-forms2__item-button",{"brz-forms2-story":(0,f.isStory)(u.default.getAll())}),i={...m.mRead(e.customAttributes),className:o};return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",i,n.default.createElement(s.default,t),!1))}renderForEdit(e,t,o){const i=(0,r.default)("brz-forms2",(0,p.css)(`${this.constructor.componentId}-form`,`${this.getId()}-form`,(0,b.styleForm)(e,t,o))),s=n.default.createElement("form",{className:"brz-form",noValidate:!0,onSubmit:this.handleSubmit},this.renderFields(e),this.renderButton(e));return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(d.Wrapper,this.makeWrapperProps({className:i}),(0,f.isStory)(u.default.getAll())?n.default.createElement(a.default,{points:T,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{"%":{min:5,max:100}}}},s):s))}renderForView(e,t,o){const i=(0,r.default)("brz-forms2",(0,p.css)(`${this.constructor.componentId}-form`,`${this.getId()}-form`,(0,b.styleForm)(e,t,o))),{_id:a,messageSuccess:s,messageError:c,messageRedirect:f,customCSS:m}=e,{submitUrl:y,recaptcha:g}=u.default.get("applications").form,h=u.default.get("project").id,v=g&&g.siteKey;return n.default.createElement(l.default,{selectorName:this.getId(),css:m},n.default.createElement(d.Wrapper,this.makeWrapperProps({className:i,attributes:{"data-form-version":"2"}}),n.default.createElement("form",{className:"brz-form brz-d-xs-flex brz-flex-xs-wrap",action:y,noValidate:!0,"data-form-id":a,"data-project-id":h,"data-success":s,"data-error":c,"data-redirect":f},this.renderFields(e),this.renderButton(e),v&&n.default.createElement("div",{className:"brz-g-recaptcha","data-sitekey":v,"data-size":"invisible","data-callback":"brzFormV2Captcha"}))))}}},17330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),n=o(64985),i=o(68256),a=e=>{let{context:t}=e;const o=(0,i.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",options:[{id:"customAttributes",label:(0,n.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:o},{id:"customCSS",label:(0,n.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:'\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

'},placeholder:"element { CSS goes here }"}]}]}]},{id:"effects",options:[{id:"tabs",type:"tabs-dev",tabs:[{id:"tabHover",options:[{id:"hover",type:"animation-dev",disabled:!0}]}]}]}]}]}},64220:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},95068:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styleForm",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthStoryOnly"]},".brz &&:hover .brz-form":{standart:["cssStyleElementForm2Margin"]},".brz &&:hover .brz-forms2__item":{standart:["cssStyleElementForm2Padding"]},".brz &&:hover .brz-forms2__item-button":{standart:["cssStyleMarginAlign","cssStyleElementForm2SubmitWidth"]},".brz &&:hover .brz-forms2-story .brz-btn:before":{standart:["cssStyleElementForm2StoryButtonHeight"]}}})}},44849:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526),l=o(57582);function s(e){let{v:t,device:o}=e;const n=(0,a.isStory)(r.default.getAll());return[{id:"popoverLink",type:"popover-dev",config:{icon:"nc-link",title:(0,i.t)("Link"),size:"medium"},position:90,options:[{id:"linkForm",type:"tabs-dev",tabs:[{id:"message",label:(0,i.t)("Message"),options:[{id:"messageSuccess",label:(0,i.t)("Success"),type:"inputText-dev",devices:"desktop",placeholder:(0,i.t)("Message sent")},{id:"messageError",label:(0,i.t)("Error"),type:"inputText-dev",devices:"desktop",placeholder:(0,i.t)("Message not sent")}]},{id:"redirect",label:(0,i.t)("Redirect"),options:[{id:"messageRedirect",label:(0,i.t)("Go to"),type:"inputText-dev",devices:"desktop",placeholder:"http://"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"submitWidth",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"submitHeight",label:(0,i.t)("Height"),type:"slider-dev",disabled:!n,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},(0,l.toolbarElementForm2Apps)({v:t,device:o,devices:"desktop",state:"normal"})]}},59482:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarCurrentElement",type:"popover-dev",options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"field",options:[{id:"padding",type:"slider-dev",label:(0,r.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"advanced",options:[{id:"label",label:(0,r.t)("Label"),type:"switch-dev",position:15,devices:"desktop"},{id:"placeholder",label:(0,r.t)("Placeholder"),type:"switch-dev",position:16,devices:"desktop"}]}]}]}]}},85868:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},32364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),n=o(23884),i=d(o(95664)),a=d(o(63692)),l=o(25663),s=o(97045),c=o(74215);function d(e){return e&&e.__esModule?e:{default:e}}class u extends a.default{static get componentId(){return"GlobalBlock"}static defaultProps={meta:{}};static defaultValue={};shouldComponentUpdate(e){const t=this.getId();return e.blocksData[t].value!==this.props.blocksData[t].value||this.optionalSCU(e)}handleComponentChange=(e,t)=>{if("replace_all"===t.intent)this.props.onChange(e,t);else{const{blocksData:o}=this.props,r=this.getId(),n={...o[r],value:e};this.props.reduxDispatch((0,c.updateGlobalBlock)({id:r,data:n,meta:{...t,sourceBlockId:this.getId()}}))}};renderForEdit(){const e=this.getId(),{blocksData:t,globalBlocks:o,page:n}=this.props;if(!o[e])return null;if(!(0,l.canUseCondition)(o[e],n))return null;const{type:a,value:s,...c}=t[e];if("GlobalBlock"===a)throw new Error(`Global block not found ${e}`);const d=i.default.getComponent(a),u={...this.props.meta,globalBlockId:e};if(d)return r.default.createElement(d,{...this.props,...c,_id:this.getId(),meta:u,dbValue:s,toolbarExtend:this.props.toolbarExtend,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:this.handleComponentChange});{const e=i.default.getNotFoundComponent();return r.default.createElement(e,{meta:u,dbValue:s,toolbarExtend:this.props.toolbarExtend,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:this.handleComponentChange,componentId:a})}}}const p=(0,n.connect)((e=>({blocksData:(0,s.blocksDataSelector)(e),globalBlocks:(0,s.globalBlocksSelector)(e),page:(0,s.pageSelector)(e)})))(u)},84010:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return A}});const r=B(o(60042)),n=I(o(27378)),i=B(o(31440)),a=B(o(36275)),l=o(62182),s=o(21407),c=B(o(1440)),d=o(10730),u=o(73948),p=B(o(67439)),f=B(o(10787)),m=B(o(63692)),y=o(26989),g=o(86022),h=B(o(22546)),b=o(97045),v=o(92213),S=o(94220),w=o(16526),x=o(98517),P=o(81842),C=o(69321),T=I(o(24119)),_=I(o(59638)),k=B(o(5183)),M=I(o(64020)),O=o(45408),E=I(o(67262));function B(e){return e&&e.__esModule?e:{default:e}}function z(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(z=function(e){return e?o:t})(e)}function I(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=z(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const j=["topLeft","topRight","bottomLeft","bottomRight"],L=e=>{const{customSize:t,tabletCustomSize:o,mobileCustomSize:r,customSizeSuffix:n,tabletCustomSizeSuffix:i,mobileCustomSizeSuffix:a,...l}=e;return{...l,size:t,tabletSize:o,mobileSize:r,sizeSuffix:n,tabletSizeSuffix:i,mobileSizeSuffix:a}},F=e=>{let t=e;if("size"in e){const{size:o,...r}=e;t={...r,customSize:o}}if("tabletSize"in e){const{tabletSize:o,...r}=e;t={...r,tabletCustomSize:o}}if("mobileSize"in e){const{mobileSize:o,...r}=e;t={...r,mobileCustomSize:o}}return t},N=h.default.getAll(),D=(0,w.isStory)(N);class R extends m.default{static get componentId(){return"Icon"}static defaultValue=k.default;static experimentalDynamicContent=!0;handleResizerChange=e=>{const t=(0,b.deviceModeSelector)((0,v.getStore)().getState()),o=(0,C.defaultValueKey)({key:"size",device:t,state:"normal"});this.patchValue({...F(e),[o]:"custom"})};renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,b.blocksDataSelector)((0,v.getStore)().getState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return n.default.createElement(f.default,e)}dvv=e=>{const t=this.getValue(),o=(0,b.deviceModeSelector)(this.getReduxState()),r=T.mRead(t.tabsState);return(0,C.defaultValueValue)({v:t,key:e,device:o,state:r})};renderForEdit(e,t,o){const{type:f,name:m,actionClosePopup:h,customClassName:w,customCSS:C,cssClass:T}=e,k=(0,P.getLinkData)(e),B=(0,r.default)("brz-icon","brz-span",w,(0,S.css)(`${this.getComponentId()}-icon`,`${this.getId()}-icon`,(0,O.style)(e,t,o))),z=(0,r.default)("brz-icon__container",(0,S.css)(`${this.getComponentId()}-icon-wrap`,`${this.getId()}-icon-wrap`,(0,O.styleWrapper)(e,t,o)));let I=n.default.createElement("span",{className:B},n.default.createElement(u.ThemeIcon,{name:m,type:f}));if(k.href){const e=(0,r.default)({"brz-popup2__action-close":"action"===k.type&&"on"===h});I=n.default.createElement(c.default,{type:k.type,href:k.href,target:k.target,rel:k.rel,className:e,slide:k.slide},I)}const F=(0,x.getCSSId)(e),N={...F&&{id:F},className:T||w},R=_.read(this.dvv("hoverName"))??"none",A=(0,d.makeOptionValueToAnimation)(e),{cloneableAnimationId:H}=this.props.meta,W=_.read(H)??this.getId(),V=D||"none"===R;return n.default.createElement(n.Fragment,null,n.default.createElement(p.default,this.makeToolbarPropsFromConfig2(E,M),n.default.createElement(a.default,{selectorName:this.getId(),css:C},n.default.createElement(g.Wrapper,this.makeWrapperProps({className:D?z:"brz-icon__container",attributes:{...N}}),n.default.createElement(i.default,{keepAspectRatio:!0,points:j,meta:this.props.meta,value:L(e),onChange:this.handleResizerChange},n.default.createElement(l.HoverAnimation,{animationId:W,cssKeyframe:R,options:(0,s.getHoverAnimationOptions)(A,R),isHidden:V},I))))),(0,y.shouldRenderPopup)(e,(0,b.blocksDataSelector)((0,v.getStore)().getState()))&&this.renderPopups())}}const A=R},64020:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return f},getItems:function(){return m}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(81263),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(59638),f=(0,s.t)("Icon"),m=e=>{let{v:t,device:o,context:a}=e;const f=e=>(0,d.defaultValueValue)({v:t,key:e,device:o}),m=(0,p.read)(f("hoverName"))??"none",y=(0,u.getDynamicContentOption)({options:a.dynamicContent.config,type:l.DCTypes.richText}),g=(0,c.isStory)(i.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,s.t)("Styling"),label:(0,s.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",disabled:"submit"===f("type")||"search"===f("type"),tabs:[{id:"settingsStyling",label:(0,s.t)("Basic")},{id:"moreSettingsAdvanced",label:(0,s.t)("Advanced"),options:[{id:"cssID",label:(0,s.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:y,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,s.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:y,option:{id:"customClassName",type:"inputText-dev"}},{id:"hoverTransition",label:(0,s.t)("Hover Transition"),disabled:g,position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]},{id:"effects",title:(0,s.t)("Effects"),label:(0,s.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"tabHover",label:(0,s.t)("Hover"),options:[{id:"hover",type:"animation-dev",disabled:g,devices:"desktop",config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(m),delay:!1}}]}]}]}]}]}},45408:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleWrapper:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleBorder","cssStyleBoxShadow","cssStyleFontSizeIconOldOption","cssStyleElementIconBgColor","cssStyleElementIconBgGradient","cssStyleElementIconPadding","cssStyleStrokeWidth","cssStyleBorderRadiusType"],interval:["cssStyleHoverTransition","cssStyleElementIconPropertyHoverTransition"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementIconSizeStory"]}}})}},67262:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=o(57582),f=o(59831);function m(e){let{v:t,device:o,component:n,context:m}=e;const y=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),{hex:g}=(0,d.getOptionColorHexByPalette)(y("colorHex"),y("colorPalette")),h=Boolean(n.props.meta.sectionPopup),b=Boolean(n.props.meta.sectionPopup2),v=r.default.getAll(),S=v?.api?.collectionTypes?.loadCollectionTypes.handler,w=(0,s.isStory)(v),x=(0,s.isPopup)(v),P=y("linkSource");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,l.t)("Icon")},position:70,options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,l.t)("Icon"),options:[{id:"",label:(0,l.t)("Icon"),type:"iconSetter-dev",devices:f.DESKTOP,position:40},{id:"sizeGroup",type:"group-dev",position:60,disabled:w,options:[{id:"size",label:(0,l.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"customSize",type:"slider-dev",disabled:"custom"!==y("size"),config:{min:14,max:180,units:[{title:"px",value:"px"}]}}]},{id:"padding",label:(0,l.t)("Bg Size"),type:"slider-dev",devices:"responsive",config:{min:0,max:180,units:[{title:"px",value:"px"}]},disabled:"default"===y("fillType")}]},{id:"iconBackground",label:(0,l.t)("Background"),options:[{id:"fillType",label:(0,l.t)("Fill"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"filled",icon:"nc-circle"},{value:"outline",icon:"nc-outline"},{value:"default",icon:"nc-close"}]},{id:"borderRadiusTypeGroup",type:"group-dev",disabled:"default"===y("fillType")||"none"===y("borderStyle")&&"none"===y("boxShadow"),devices:"desktop",options:[{id:"borderRadiusType",label:(0,l.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"borderRadius",type:"slider-dev",devices:"desktop",disabled:"custom"!==y("borderRadiusType"),config:{min:0,max:500,units:[{title:"px",value:"px"}]}}]},{id:"padding",label:(0,l.t)("Size"),devices:"desktop",disabled:"default"===y("fillType"),type:"slider-dev",config:{min:0,max:w?50:180,units:w?[{title:"%",value:"%"}]:[{title:"px",value:"px"}]}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(g,y("colorOpacity"))}}},roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,l.t)("Icon"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",devices:"desktop",states:[u.NORMAL,u.HOVER],disabled:"filled"!==y("fillType")}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",devices:"desktop",type:"border-dev",states:[u.NORMAL,u.HOVER],disabled:"default"===y("fillType")}]},{id:"tabShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",devices:"desktop",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER],disabled:"default"===y("fillType")}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,l.t)("Link")},devices:"desktop",position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"page",label:(0,l.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!S,label:(0,l.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(v),emptyLoad:{title:(0,l.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,l.t)("Find Page"),devices:"desktop",disabled:!P,config:{postType:P}}]},{id:"external",label:(0,l.t)("URL"),options:[(0,p.toolbarLinkExternal)({v:t,config:m.dynamicContent.config}),{id:"linkExternalBlank",label:(0,l.t)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:(0,l.t)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:(0,l.t)("Block"),options:[(0,p.toolbarLinkAnchor)({v:t,disabled:x||w})]},{id:"popup",label:(0,l.t)("Popup"),options:[{id:"linkPopup",type:"promptAddPopup",disabled:h||b||x||w,label:(0,l.t)("Popup"),popupKey:`${n.getId()}_${y("linkPopup")}`,value:{value:y("linkPopup"),popups:y("popups")},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]},{id:"story",label:(0,l.t)("Slides"),options:[(0,p.toolbarStoryAnchor)({disabled:!w})]}]}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog",title:(0,l.t)("Settings")}]}},9117:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=S(o(27378)),n=S(o(36275)),i=S(o(60042)),a=o(10301),l=S(o(63692)),s=S(o(10787)),c=o(94220),d=x(o(43734)),u=x(o(75103)),p=x(o(53041)),f=x(o(686)),m=x(o(30698)),y=x(o(72866)),g=x(o(10942)),h=x(o(95021)),b=S(o(30430)),v=o(53005);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class P extends l.default{static get componentId(){return"IconText"}static defaultValue=b.default;static defaultProps={extendParentToolbar:a.noop};componentDidMount(){const e=this.makeToolbarPropsFromConfig2(d,u,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a={...this.props.meta,inIconText:!0},l=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:a,toolbarExtend:this.makeToolbarPropsFromConfig2(p,f,{allowExtend:!1})}}),d=r.default.createElement(s.default,l),u=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:(e,t)=>{let o;switch(t){case 1:o={meta:a,toolbarExtend:this.makeToolbarPropsFromConfig2(m,y,{allowExtend:!1})};break;case 2:o={className:"brz-ed-dd-cancel",meta:a,toolbarExtend:this.makeToolbarPropsFromConfig2(g,h,{allowExtend:!1}),showBorder:!1};break;default:throw new Error(`IconText unexpected index ${t}`)}return o}}),b=r.default.createElement(s.default,u),S=(0,i.default)("brz-icon-text",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,v.style)(e,t,o)));return r.default.createElement(n.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:S},d,r.default.createElement("div",{className:"brz-text-btn"},b)))}}const C=P},95021:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(57582);function n(e){let{device:t,state:o}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0},(0,r.toolbarDisabledPadding)({device:t,state:o}),(0,r.toolbarDisabledMargin)({device:t,state:o})]}},686:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},75103:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Icon Box");function n(){return[]}},72866:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},53005:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementIconBoxFlexDirection"]},".brz &&:hover .brz-icon__container":{standart:["cssStyleElementIconBoxMargin","cssStyleFlexVerticalAlign"]}}})}},10942:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(57582);function n(e){let{device:t}=e;return[{id:"advancedSettings",type:"advancedSettings",disabled:!0},(0,r.toolbarDisabledShowOnResponsive)({device:t})]}},53041:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star"},position:70,options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,r.t)("Icon"),options:[{id:"iconSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",position:70,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},{id:"iconPosition",type:"toggle-dev",position:90,devices:"desktop",choices:[{icon:"nc-hrz-align-left",title:(0,r.t)("Horizontal Align"),value:"left"},{icon:"nc-hrz-align-right",title:(0,r.t)("Horizontal Align"),value:"right"}]},{id:"verticalAlign",type:"toggle-dev",position:90,devices:"desktop",choices:[{icon:"nc-ver-align-top",title:(0,r.t)("Vertical Align"),value:"top"},{icon:"nc-ver-align-middle",title:(0,r.t)("Vertical Align"),value:"center"},{icon:"nc-ver-align-bottom",title:(0,r.t)("Vertical Align"),value:"bottom"}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},43734:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},30698:(e,t)=>{"use strict";function o(){return[{id:"list",type:"toggle",devices:"desktop",disabled:!0},{id:"toolbarSettings",type:"popover-dev",options:[{id:"grid",type:"grid",disabled:!0}]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},73669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=(n=o(27378))&&n.__esModule?n:{default:n};var n;const i=e=>{let{attr:t,v:{imageSrc:o}}=e;return r.default.createElement("img",{...t,className:"dynamic-image",src:o,draggable:!1,loading:"lazy"})}},59533:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),a=o(81504),l=o(19057),s=o(94220),c=o(68914),d=o(69321),u=o(66559),p=o(3109),f=o(85742);function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}const y=e=>{const{sizeType:t,src:o,maxCw:r,fileName:n}=e;if(t===l.SizeType.custom)return`${(0,c.getImageUrl)({fileName:n,uid:o,sizeType:l.SizeType.custom,crop:{...l.defaultCrop,iW:r}})} 1x, ${(0,c.getImageUrl)({fileName:n,uid:o,sizeType:l.SizeType.custom,crop:{...l.defaultCrop,iW:2*r}})} 2x`;{const e=(0,c.getImageUrl)({fileName:n,sizeType:t,uid:o});return`${e} 1x, ${e} 2x`}},g=e=>{const{sizeType:t,src:o,maxCw:r,fileName:n}=e;return t===l.SizeType.custom?(0,c.getImageUrl)({fileName:n,sizeType:l.SizeType.custom,uid:o,crop:{...l.defaultCrop,iW:r,iH:"any"}})??"":(0,c.getImageUrl)({sizeType:t,uid:o,fileName:n})??""},h=e=>{const{v:t,vs:o,vd:n,_id:l,componentId:c,meta:m,extraAttributes:h={},getResponsiveUrls:b}=e,{desktopW:v,tabletW:S,mobileW:w,row:x}=m,{imageSrc:P,imageFileName:C,imageWidth:T,imageHeight:_,positionX:k,positionY:M,zoom:O,width:E,height:B,widthSuffix:z,heightSuffix:I,tabletWidth:j,tabletHeight:L,mobileWidth:F,mobileHeight:N,className:D}=t,R=(0,i.useRef)(!0),A=(0,i.useCallback)(((e,o)=>(0,d.defaultValueValue)({v:t,key:e,device:o})),[t]),H=(0,i.useMemo)((()=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;const o={imageWidth:T,imageHeight:_,positionX:k,positionY:M,zoom:O,width:E,height:B,widthSuffix:z,heightSuffix:I,size:A("size",u.DESKTOP)},r={imageWidth:T,imageHeight:_,positionX:(0,d.tabletSyncOnChange)(t,"positionX"),positionY:(0,d.tabletSyncOnChange)(t,"positionY"),zoom:(0,d.tabletSyncOnChange)(t,"zoom"),width:j||E,height:L||B,widthSuffix:(0,d.tabletSyncOnChange)(t,"widthSuffix"),heightSuffix:(0,d.tabletSyncOnChange)(t,"heightSuffix"),size:A("size",u.TABLET)},n={imageWidth:T,imageHeight:_,positionX:(0,d.mobileSyncOnChange)(t,"positionX"),positionY:(0,d.mobileSyncOnChange)(t,"positionY"),zoom:(0,d.mobileSyncOnChange)(t,"zoom"),width:F||E,height:N||B,widthSuffix:(0,d.mobileSyncOnChange)(t,"widthSuffix"),heightSuffix:(0,d.mobileSyncOnChange)(t,"heightSuffix"),size:A("size",u.MOBILE)};return{desktop:(0,f.calcImageSizes)(o,e),tablet:(0,f.calcImageSizes)(r,S),mobile:(0,f.calcImageSizes)(n,w)}}),[v,B,I,_,T,w,k,M,S,t,E,z,O,N,F,L,j,A]),W=(0,i.useMemo)((()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop";const o=H(e);let r,n;if(x?.itemsLength){const{itemsLength:e}=x;n=v-a.MIN_COL_WIDTH*(e-1),r=100*o[t].width/n}else n=e,r=100*o[t].width/e;const i=20*Math.ceil(r/20);return Math.round(Math.min(i*n/100,T))}),[v,H,x,T]),[V,G]=(0,i.useState)(W(v)),[U,q]=(0,i.useState)(W(S,"tablet")),[$,Y]=(0,i.useState)(W(w,"mobile"));(0,i.useEffect)((()=>{const e=W(v),t=W(S,"tablet"),o=W(w,"mobile");R.current||(e>V&&G(e),t>U&&q(t),o>$&&Y(o)),R.current=!1}),[v,S,w,V,$,U,W,G,q,Y]);const Q=H(),Z=A("sizeType",u.DESKTOP),K=A("sizeType",u.TABLET),X=A("sizeType",u.MOBILE),J=b&&b(Q),{desktopSrc:ee,tabletSrc:te,mobileSrc:oe,sourceSrc:re}=J||{desktopSrc:y({src:P,fileName:C,sizeType:Z,maxCw:V}),tabletSrc:y({src:P,fileName:C,sizeType:K,maxCw:U}),mobileSrc:y({src:P,fileName:C,sizeType:X,maxCw:$}),sourceSrc:g({src:P,fileName:C,sizeType:Z,maxCw:$})},ne=(0,r.default)("brz-img",D,(0,s.css)(`${c}-${l}-image`,`${l}-image`,(0,p.styleImage)(t,o,n,Q)));return i.default.createElement(i.default.Fragment,null,i.default.createElement("source",{srcSet:ee,media:"(min-width: 992px)"}),i.default.createElement("source",{srcSet:te,media:"(min-width: 768px)"}),i.default.createElement("img",{className:ne,srcSet:oe,src:re,...h,draggable:!1,loading:"lazy"}))}},25814:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=s(o(60042)),n=s(o(27378)),i=o(19057),a=o(68914),l=o(85742);function s(e){return e&&e.__esModule?e:{default:e}}const c=e=>{let{v:t,imageSrc:o,extraAttributes:s={}}=e;const c=(0,a.getImageUrl)({uid:o,sizeType:i.SizeType.original,fileName:t.imageFileName}),d=(0,r.default)("brz-img","brz-img-svg",{"brz-img__original":(0,l.showOriginalImage)(t)});return n.default.createElement("img",{className:d,src:c,...s,draggable:!1,loading:"lazy"})}},8207:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}}),d(o(60042));const r=d(o(27378)),n=d(o(53125)),i=(o(94220),o(10726)),a=(o(3109),o(85742)),l=d(o(73669)),s=d(o(59533)),c=d(o(25814));function d(e){return e&&e.__esModule?e:{default:e}}const u=(0,d(o(92986)).default)((e=>{const{v:t,vs:o,vd:d,_id:u,componentId:p,wrapperSizes:f,extraAttributes:m,meta:y}=e,{imageSrc:g,imageExtension:h,imagePopulation:b}=t,v="brz-picture";if(b)return y._dc?.lastCache?.imageSrc?r.default.createElement(l.default,{v:t,attr:m}):S();if(g||b){const n=(0,i.isSVGExtension)(h)||(0,i.isGIFExtension)(h)||(0,a.showOriginalImage)(t)?r.default.createElement(c.default,{v:t,vs:o,vd:d,_id:u,componentId:p,extraAttributes:m,imageSrc:g}):r.default.createElement(s.default,{...e,extraAttributes:m,gallery:e?.gallery});return r.default.createElement("picture",{className:v},n)}return S();function S(){return r.default.createElement("div",{className:v},r.default.createElement(n.default,{icon:"img"}))}}))},92986:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=l(o(60042)),n=l(o(27378)),i=l(o(1440)),a=o(81842);function l(e){return e&&e.__esModule?e:{default:e}}const s=function(e){return t=>{const{actionClosePopup:o}=t.v,l=(0,a.getLinkData)(t.v);if(l.href){const a=(0,r.default)({"brz-popup2__action-close":"action"===l.type&&"on"===o});return n.default.createElement(i.default,{className:a,type:l.type,href:l.href,target:l.target,rel:l.rel,slide:l.slide,draggable:!1},n.default.createElement(e,t))}return n.default.createElement(e,t)}}},45914:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=y(o(31440)),a=o(85742),l=o(94220),s=o(10726),c=o(78438),d=o(69321),u=o(66559),p=o(3109),f=o(85742),m=y(o(48593));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const h=e=>{const{v:t,vs:o,vd:y,_id:g,componentId:h,wrapperSizes:b,meta:v,context:S,onChange:w,onStart:x,onEnd:P}=e,{maskShape:C="none"}=t,{points:T,restrictions:_}=(0,m.default)({...e,context:S}),k=(0,r.default)("brz-ed-image__wrapper",{"brz-img__original":(0,f.showOriginalImage)(t)},(0,l.css)(`${h}-${g}-wrapper`,`${g}-wrapper`,(0,p.styleWrapper)(t,o,y,{...b,showOriginalImage:(0,f.showOriginalImage)(t)}))),M=(0,n.useCallback)((e=>{w(function(e,t){let o={};if("absolute"===t.elementPosition||"fixed"===t.elementPosition){const r=t.imageWidth/t.imageHeight;o={offsetY:e.offsetY||t.offsetY,height:e.height*r}}return{...e,...o}}(e,t))}),[w,t]),O=(0,r.default)("brz-ed-image__wrapper-container",(0,l.css)(`${h}-${g}-wrapper-container`,`${g}-wrapper-container`,(0,p.styleWrapperContainer)(t,o,y)));return n.default.createElement(i.default,{keepAspectRatio:!0,restrictions:_,points:T,meta:v,value:function(e,t){const{width:o,height:r,tabletWidth:n,mobileWidth:i,imageWidth:l,imageHeight:p,elementPosition:f,widthSuffix:m,imagePopulation:y,imageExtension:g}=e,{desktopW:h,tabletW:b,mobileW:v}=t,S="absolute"===f||"fixed"===f,w=(0,a.getSizeType)(e,u.DESKTOP),{size:x,...P}=e,C=((0,s.isSVGExtension)(g)||(0,s.isGIFExtension)(g))&&!y;return{...P,width:"px"===m?(0,c.clamp)(o||h,0,h):o,tabletWidth:"px"===(0,d.tabletSyncOnChange)(e,"widthSuffix")?(0,c.clamp)(n||o,0,b):n,mobileWidth:(0,d.mobileSyncOnChange)(e,"widthSuffix")?(0,c.clamp)(i||o,0,v):i,height:S?r/(l/p):r,..."custom"!==w&&!C&&{size:x}}}(t,v),onChange:M,onStart:x,onEnd:P},"none"!==C?n.default.createElement("div",{className:O},n.default.createElement("div",{className:k},e.children)):n.default.createElement("div",{className:k},e.children))}},48593:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(10726),n=o(85742),i=o(63586),a=["topLeft","topRight","bottomLeft","bottomRight"],l={default:["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"],gallery:["bottomCenter"],svg:a,originalImage:["topLeft","topRight","bottomLeft","bottomRight"],gif:a,sizeType:a,population:a},s=e=>{let{v:t,meta:o,gallery:a,context:s}=e;const{sizeType:c,imagePopulation:d}=t;if(d)return void 0===(0,n.getImageDCSize)(d,s)?{points:l.default,restrictions:(0,i.getWidthRestriction)(o,!1)}:{points:l.population,restrictions:(0,i.getSizeRestriction)()};if("custom"===c){const{imageExtension:e,elementPosition:s}=t,c="absolute"===s||"fixed"===s;let d=l.default;return a&&a.inGallery?d=a.layout&&"masonry"===a.layout?l.gallery:t?.clonedFromGallery?l.default:[]:(0,r.isSVGExtension)(e)?d=l.svg:(0,r.isGIFExtension)(e)?d=l.gif:(0,n.showOriginalImage)(t)&&(d=l.originalImage),{points:d,restrictions:(0,i.getWidthRestriction)(o,c)}}return"justified"===a?.layout?{points:[],restrictions:(0,i.getSizeRestriction)()}:{points:l.sizeType,restrictions:(0,i.getSizeRestriction)()}}},63586:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getSizeRestriction:function(){return o},getWidthRestriction:function(){return r}});const o=()=>({size:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletSize:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileSize:{px:{min:5,max:1e3},"%":{min:5,max:100}}}),r=(e,t)=>({height:{px:{min:5,max:1/0},"%":{min:5,max:1/0}},width:{px:{min:5,max:e.desktopW},"%":{min:5,max:t?1/0:100}},tabletWidth:{px:{min:5,max:e.tabletW},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:e.mobileW},"%":{min:5,max:100}}})},51160:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{elementModelToValue:function(){return y},patchOnImageChange:function(){return g},patchOnSizeTypeChange:function(){return h},patchOnDCChange:function(){return b},pathOnUnitChange:function(){return S}});const r=o(47885),n=m(o(78438)),i=m(o(73904)),a=o(55250),l=o(69321),s=o(77725),c=o(95945),d=m(o(59638)),u=o(63147),p=o(85742);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const y=(0,s.readWithParser)({height:(0,r.mPipe)((0,a.prop)("height"),i.read),width:(0,r.mPipe)((0,a.prop)("width"),i.read),heightSuffix:(0,r.mPipe)((0,a.prop)("heightSuffix"),(0,r.pass)(u.isUnit)),widthSuffix:(0,r.mPipe)((0,a.prop)("widthSuffix"),(0,r.pass)(u.isUnit)),sizeType:(0,r.mPipe)((0,a.prop)("sizeType"),d.read),size:(0,r.mPipe)((0,a.prop)("size"),i.read),imageExtension:(0,r.mPipe)((0,a.prop)("imageExtension"),d.read),imagePopulation:(0,r.optional)((0,r.mPipe)((0,a.prop)("imagePopulation"),d.read)),tabletWidth:(0,r.optional)((0,r.mPipe)((0,a.prop)("tabletWidth"),i.read)),tabletHeight:(0,r.optional)((0,r.mPipe)((0,a.prop)("tabletHeight"),i.read)),tabletWidthSuffix:(0,r.optional)((0,r.mPipe)((0,a.prop)("tabletWidthSuffix"),(0,r.pass)(u.isUnit))),tabletHeightSuffix:(0,r.optional)((0,r.mPipe)((0,a.prop)("tabletHeightSuffix"),(0,r.pass)(u.isUnit))),mobileWidth:(0,r.optional)((0,r.mPipe)((0,a.prop)("mobileWidth"),i.read)),mobileHeight:(0,r.optional)((0,r.mPipe)((0,a.prop)("mobileHeight"),i.read)),mobileWidthSuffix:(0,r.optional)((0,r.mPipe)((0,a.prop)("mobileWidthSuffix"),(0,r.pass)(u.isUnit))),mobileHeightSuffix:(0,r.optional)((0,r.mPipe)((0,a.prop)("mobileHeightSuffix"),(0,r.pass)(u.isUnit)))}),g=(e,t,o,r)=>{const i=r.imageWidth,a=r.imageHeight,l=r.imageExtension,s=r.imageSrc,c="svg"===l||"gif"===l,d=(0,p.calcWrapperSizes)({imageWidth:i,imageHeight:a,widthSuffix:t.widthSuffix,heightSuffix:t.heightSuffix,width:t.width,height:t.height,size:t.size},e);let u=o.width,f=o.height,m=t.widthSuffix,y=t.heightSuffix,g=t.tabletWidth??null,h=t.tabletHeight??null,b=t.tabletWidthSuffix??null,v=t.tabletHeightSuffix??null,S=t.mobileWidth??null,w=t.mobileHeight??null,x=t.mobileWidthSuffix??null,P=t.mobileHeightSuffix??null;if("%"===t.widthSuffix){const e=t.width||100;u=o.width*e/d.width}else if(c){const o=n.roundTo(t.width/e*100,2);u=n.clamp(o,0,100),m="%"}if(c)f=100,y="%",g=null,h=null,b=null,v=null,S=null,w=null,x=null,P=null;else if("%"===t.heightSuffix){const e=t.height||100;f=o.height*e/d.height}return{imageWidth:i,imageHeight:a,imageSrc:s,imageExtension:l,width:n.roundTo(u,2),height:n.roundTo(f,2),widthSuffix:m,heightSuffix:y,mobileHeight:w,mobileHeightSuffix:P,mobileWidth:S,mobileWidthSuffix:x,tabletHeight:h,tabletHeightSuffix:v,tabletWidth:g,tabletWidthSuffix:b}},h=(e,t)=>{const o=t.sizeType,r={sizeType:o},i=(0,p.getImageSize)(o);if((0,p.isPredefinedSize)(i)){const t=n.roundTo(i.width/e*100,2);r.size=n.clamp(t,0,100)}return(0,p.isOriginalSize)(i)&&(r.size=100),(0,p.isCustomSize)(i)&&(r.width=100,r.height=100,r.widthSuffix="%",r.heightSuffix="%"),r},b=(e,t,o,r)=>{if(!t.imagePopulation)return{width:100,height:100,widthSuffix:"%",heightSuffix:"%",sizeType:"custom"};const i=(0,p.getImageDCSize)(t.imagePopulation,r);if(void 0===i)return{sizeType:"custom",height:o.height,heightSuffix:"px"};const a=(0,p.getImageSize)(i);if((0,p.isPredefinedSize)(a)){const t=n.roundTo(a.width/e*100,2);return{sizeType:i,size:n.clamp(t,0,100)}}return{sizeType:(0,c.is)(i)?i:"custom",size:100}},v=(e,t,o)=>{switch(o){case"%":return n.roundTo(t/e*100,2);case"px":return n.roundTo(t/100*e,2)}},S=(e,t,o,r)=>{const n=t.imageExtension,a=t.imagePopulation,s="svg"===n||"gif"===n,c=e=>(0,l.defaultValueKey)({key:e,device:r,state:"normal"}),[d]=Object.keys(o).filter((e=>e===c("widthSuffix")||e===c("heightSuffix"))),p=e=>(0,l.defaultValueValue)({key:e,v:t,device:r});if(void 0===d)return o;const f=c("width"),m=i.read(p("width")),y=p(d),g=o[d];return(0,u.isUnit)(g)&&void 0!==m?!s||a||y===g?o:{[d]:g,[f]:v(e,m,g)}:{}}},46350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Image:function(){return q},default:function(){return $}});const r=V(o(60042)),n=U(o(27378)),i=V(o(36042)),a=V(o(10301)),l=V(o(36275)),s=o(62182),c=o(21407),d=o(83185),u=o(10730),p=V(o(67439)),f=V(o(10787)),m=V(o(63692)),y=o(2610),g=o(76753),h=o(26989),b=o(53002),v=V(o(22546)),S=o(97045),w=o(92213),x=o(94220),P=o(68914),C=o(10726),T=o(78438),_=o(16526),k=o(69321),M=o(86845),O=o(4645),E=o(66559),B=o(59638),z=o(86022),I=V(o(8207)),j=V(o(45914)),L=V(o(59195)),F=o(51160),N=o(44201),D=U(o(72058)),R=o(3109),A=V(o(10441)),H=U(o(93993)),W=o(85742);function V(e){return e&&e.__esModule?e:{default:e}}function G(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(G=function(e){return e?o:t})(e)}function U(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=G(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class q extends m.default{static get componentId(){return"Image"}static defaultProps={meta:{},onResize:a.default.noop};static defaultValue=L.default;static experimentalDynamicContent=!0;prevWrapperSizes={cW:0,cH:0};constructor(e){super(e);const{desktopW:t,mobileW:o,tabletW:r}=this.props.meta;this.state={containerWidth:t,tabletContainerWidth:r,mobileContainerWidth:o,isDragging:!1,sizePatch:null}}container=n.default.createRef();componentDidMount(){this.mounted=!0,this.handleResize()}componentWillUnmount(){this.mounted=!1}patchValue(e,t){const o=this.handleImageChange(e);super.patchValue({...e,...o},t)}handleImageChange(e){const t=(0,S.deviceModeSelector)((0,w.getStore)().getState()),{v:o}=this.getValue2(),r=(0,F.elementModelToValue)(o),n=H.fromImageElementModel(e),i=H.fromImageDCElementModel(e),a=H.patchImageSizeType(e),l=H.patchImageUnit(e,t);if(void 0===r)return{};if(void 0!==n){const e=this.getWrapperSizes(o)[t],i=this.getContainerSize()[t];return(0,F.patchOnImageChange)(i,r,e,n)}if(void 0!==i){const r=this.context,n=this.getWrapperSizes(o)[t],i=this.getContainerSize()[t];return(0,F.patchOnDCChange)(i,e,n,r)}if(void 0!==l){const e=this.getContainerSize()[t];return(0,F.pathOnUnitChange)(e,r,l,t)}const s=("sizeType",(0,k.defaultValueValue)({v:o,device:t,key:"sizeType"}));if(void 0!==a&&a.sizeType!==s){const e=this.getContainerSize()[t];return(0,F.patchOnSizeTypeChange)(e,a)}return{}}handleResize=()=>{(0,_.isStory)(v.default.getAll())||this.updateContainerWidth(),this.props.onResize()};handleChange=e=>{this.patchValue(e)};handleBoxResizerChange=e=>{this.state.isDragging?(this.dbValueMigrated=void 0,this.setState({sizePatch:e})):this.handleChange(e)};onDragStart=()=>{this.setState({isDragging:!0})};onDragEnd=()=>{const e=this.state.sizePatch;this.setState({isDragging:!1,sizePatch:null},(()=>this.handleBoxResizerChange(e)))};getWidth=()=>{let e=this.container?.current?.parentElement;e.classList.contains("brz-wrapper__scrollmotion")&&(e=e.parentElement);const t=e?.getBoundingClientRect().width;if(e&&(0,T.isNumber)(t)){const o=getComputedStyle(e);return t-(parseFloat(o.paddingLeft)+parseFloat(o.paddingRight))-(parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth))}};updateContainerWidth=()=>{if(!this.mounted)return;const e=(0,w.getStore)().getState().ui.deviceMode,t=this.getWidth();if(void 0!==t)switch(e){case"desktop":this.state.containerWidth!==t&&this.setState({containerWidth:t});break;case"tablet":this.state.tabletContainerWidth!==t&&this.setState({tabletContainerWidth:t});break;case"mobile":this.state.mobileContainerWidth!==t&&this.setState({mobileContainerWidth:t})}};getExtraImageProps(e){return{alt:e.alt}}getImageUrlsFor(e,t,o){const r=this.getValue();let{width:n,height:i}=e[o];if(n=Math.round(n),i=Math.round(i),r.imagePopulation){const e=r.imageSrc,t={cW:Math.round(n),cH:Math.round(i)},o=(0,W.multiplier)(t,2),a=(0,P.imagePopulationUrl)(e,{...t});return{source:a,url:`${a} 1x, ${(0,P.imagePopulationUrl)(e,{...o})} 2x`}}return(0,W.getCustomImageUrl)((0,d.fromElementModel)((e=>(0,k.defaultValueValue)({v:r,key:e,device:o}))),e[o],t[o])}getResponsiveUrls(e,t){return{desktopSrc:this.getImageUrlsFor(e,t,"desktop").url,tabletSrc:this.getImageUrlsFor(e,t,"tablet").url,mobileSrc:this.getImageUrlsFor(e,t,"mobile").url,sourceSrc:this.getImageUrlsFor(e,t,"desktop").source}}getWrapperSizes(e){const{containerWidth:t,tabletContainerWidth:o,mobileContainerWidth:r}=this.state,{imageExtension:n,imagePopulation:i,imageWidth:a,imageHeight:l,width:s,height:c,widthSuffix:d,heightSuffix:u}=e,p=((0,C.isSVGExtension)(n)||(0,C.isGIFExtension)(n))&&!i,f=(0,W.getSizeType)(e,E.DESKTOP),m=(0,W.getSizeType)(e,E.TABLET),y=(0,W.getSizeType)(e,E.MOBILE),g=(0,W.getImageSize)(f),h=(0,W.getImageSize)(m),b=(0,W.getImageSize)(y),{desktop:v,tablet:S,mobile:w}=this.getContainerSize();if((0,W.isPredefinedSize)(g)&&!p)return{desktop:(0,W.calcWrapperPredefinedSizes)(g,v),tablet:(0,W.calcWrapperPredefinedSizes)(h,S),mobile:(0,W.calcWrapperPredefinedSizes)(b,w)};const x=(t,o)=>(0,k.defaultValueValue)({v:e,device:o,key:t}),P=x("size",E.DESKTOP),T=x("size",E.TABLET),_=x("size",E.MOBILE),M={imageWidth:a,imageHeight:l,imageExtension:n,width:s,height:c,widthSuffix:d,heightSuffix:u,size:P},O={imageWidth:a,imageHeight:l,imageExtension:n,size:T,width:e.tabletWidth||s,height:e.tabletHeight||c,widthSuffix:(0,k.tabletSyncOnChange)(e,"widthSuffix"),heightSuffix:(0,k.tabletSyncOnChange)(e,"heightSuffix")},B={imageWidth:a,imageHeight:l,imageExtension:n,size:_,width:e.mobileWidth||s,height:e.mobileHeight||c,widthSuffix:(0,k.mobileSyncOnChange)(e,"widthSuffix"),heightSuffix:(0,k.mobileSyncOnChange)(e,"heightSuffix")};return(0,W.isOriginalSize)(g)&&!p?{desktop:(0,W.calcWrapperOriginalSizes)(M,t),tablet:(0,W.calcWrapperOriginalSizes)(O,o),mobile:(0,W.calcWrapperOriginalSizes)(B,r)}:{desktop:(0,W.calcWrapperSizes)(M,t),tablet:(0,W.calcWrapperSizes)(O,o),mobile:(0,W.calcWrapperSizes)(B,r)}}getContainerSize(){return{desktop:this.state.containerWidth,tablet:this.state.tabletContainerWidth,mobile:this.state.mobileContainerWidth}}getLightboxClassName(){const e=this.getValue(),t=Boolean(this.props.renderer?.gallery?.inGallery);return{"brz-image__lightbox":(e.imageSrc||e.imagePopulation)&&"on"===e.linkLightBox&&!t&&!((0,C.isSVGExtension)(e.imageExtension)||(0,C.isGIFExtension)(e.imageExtension))}}getDBValue(){const{resize:e,tabletResize:t,mobileResize:o,...r}=super.getDBValue();let n={};if(e&&(n={...n,width:e,widthSuffix:"%",heightSuffix:"%"}),t&&(n={...n,tabletWidth:t,tabletWidthSuffix:"%",tabletHeightSuffix:"%"}),o&&(n={...n,mobileWidth:o,mobileWidthSuffix:"%",mobileHeightSuffix:"%"}),r.height&&!r.heightSuffix&&(n={...n,heightSuffix:"%"}),r.tabletHeight&&!r.tabletHeightSuffix&&(n={...n,tabletHeightSuffix:"%"}),r.mobileHeight&&!r.mobileHeightSuffix&&(n={...n,mobileHeightSuffix:"%"}),!r.imagePopulation&&void 0!==r.sizeType&&"custom"!==r.sizeType){const{imageSizes:e}=v.default.getAll(),t=e?.find((e=>{let{name:t}=e;return t===r.sizeType}));void 0===t&&(r.sizeType="original")}const i=this.state.sizePatch??{};return{...r,...n,...i}}getDCValueHook(e,t){const o=this.getWrapperSizes(t),{deviceMode:r}=(0,w.getStore)().getState().ui,n=e=>(0,k.defaultValueValue)({v:t,key:e,device:r});return e.map((e=>{if("image"===e.key){let{width:i,height:a}=o[r],{cW:l,cH:s}=this.prevWrapperSizes;(i>l||a>s)&&(l=i,s=a,this.prevWrapperSizes={cW:i,cH:a});const c=(0,d.fromElementModel)((o=>t[(0,g.createOptionId)((0,y.keyToDCFallback2Key)(e.key),o)])),u=(0,W.getCustomImageUrl)(c,this.getWrapperSizes(t)[r],(0,W.calcImageSizes)({size:n("size"),width:n("width"),height:n("height"),widthSuffix:n("widthSuffix"),heightSuffix:n("heightSuffix"),imageHeight:c.height,imageWidth:c.width,positionX:c.x,positionY:c.y,zoom:n("zoom")},this.props.meta[`${r}W`],!1)).source;return{...e,key:"imageSrc",attr:{...e.attr,cW:Math.round(l),cH:Math.round(s),disableCrop:!0},...u?{fallback:u}:{}}}return e}))}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,S.blocksDataSelector)((0,w.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return n.default.createElement(f.default,e)}getHoverAnimationData(e){const{gallery:t={}}=this.props.renderer?this.props.renderer:{gallery:{}},{wrapperAnimationId:o}=this.props.meta,{hoverName:r,hoverDuration:n,hoverInfiniteAnimation:i,inGallery:a}=t,{clonedFromGallery:l=!1}=e,s=(0,_.isStory)(v.default.getAll()),d=(0,B.read)(o)??this.getId();if(a&&!l){const e=(0,B.read)(r)??"none",t=s||"none"===e,o={duration:(0,O.read)(n)??1e3,infiniteAnimation:i??!1};return{hoverName:e,animationId:d,options:(0,c.getHoverAnimationOptions)(o,e),isHidden:t}}const{hoverName:p}=e,f=(0,B.read)(p)??"none",m=s||"none"===f,y=(0,u.makeOptionValueToAnimation)(e);return{hoverName:f,animationId:d,options:(0,c.getHoverAnimationOptions)(y,f),isHidden:m}}renderForEdit(e,t,o){const{className:a}=e,c=(0,_.isStory)(v.default.getAll()),{gallery:d={}}=this.props.renderer?this.props.renderer:{gallery:{}},{containerWidth:u,tabletContainerWidth:f,mobileContainerWidth:m}=this.state,y=this.getWrapperSizes(e),g=(0,A.default)({desktopWrapperSizes:y.desktop,desktopContainerWidth:u,tabletWrapperSizes:y.tablet,tabletContainerWidth:f,mobileWrapperSizes:y.mobile,mobileContainerWidth:m,gallery:d}),b=""!==e.linkExternal||""!==e.linkPopulation,P=(0,r.default)("brz-image",c&&"brz-image--story",{"brz-story-linked":c&&b},this.getLightboxClassName(),a),C=(0,r.default)("brz-ed-image__content",(0,x.css)(`${this.constructor.componentId}-${this.getId()}-content`,`${this.getId()}-content`,(0,R.styleContent)(e,t,o,{...y,showOriginalImage:(0,W.showOriginalImage)(e)}))),T={...this.props.meta,desktopW:u,tabletW:f,mobileW:m,_dc:this._dc},{animationId:k,hoverName:O,options:E,isHidden:B}=this.getHoverAnimationData(e),{wrapperAnimationActive:L}=this.props.meta,F=(0,M.read)(L);return n.default.createElement(n.Fragment,null,n.default.createElement(p.default,this.makeToolbarPropsFromConfig2(g,D),n.default.createElement(z.Wrapper,this.makeWrapperProps({className:(0,r.default)(P,C),ref:this.container}),n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(s.HoverAnimation,{animationId:k,cssKeyframe:O,options:E,isDisabledHover:F,isHidden:B},n.default.createElement(j.default,{v:e,vs:t,vd:o,_id:this.getId(),componentId:this.constructor.componentId,wrapperSizes:y,meta:T,onChange:this.handleBoxResizerChange,onStart:this.onDragStart,onEnd:this.onDragEnd,gallery:d,context:this.context},n.default.createElement(I.default,{v:e,vs:t,vd:o,_id:this.getId(),componentId:this.constructor.componentId,wrapperSizes:y,meta:T,gallery:d})))))),n.default.createElement(i.default,{onResize:this.handleResize}),(0,h.shouldRenderPopup)(e,(0,S.blocksDataSelector)((0,w.getStore)().getState()))&&this.renderPopups())}renderForView(e,t,o){const{className:i}=e,a=(0,_.isStory)(v.default.getAll()),c="absolute"===e.elementPosition||"fixed"===e.elementPosition,{animationId:d,hoverName:u,options:p,isHidden:f}=this.getHoverAnimationData(e),m=this.getWrapperSizes(e),y=this.getExtraImageProps(e),g={wrapperSizes:m,context:this.context,props:this.props},b=""!==e.linkExternal||""!==e.linkPopulation,P=(0,r.default)("brz-image",{"brz-story-linked":a&&b},{"brz-image--hovered":"none"!==u},c&&"brz-image--story",this.getLightboxClassName(),i,(0,x.css)(`${this.getComponentId()}-${this.getId()}-parent`,`${this.getId()}-parent`,(0,R.style)(e,t,o,g))),C=(0,r.default)((0,x.css)(`${this.getComponentId()}-${this.getId()}-parent-hover`,`${this.getId()}-parent-hover`,(0,R.styleHover)(e,t,o,g)));return n.default.createElement(n.Fragment,null,n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(s.HoverAnimation,{animationId:d,className:C,cssKeyframe:u,options:p,isHidden:f},n.default.createElement(z.Wrapper,this.makeWrapperProps({className:P,ref:this.container}),n.default.createElement(I.default,{v:e,vs:t,vd:o,_id:this.getId(),componentId:this.constructor.componentId,wrapperSizes:m,meta:this.props.meta,extraAttributes:y,getResponsiveUrls:e=>this.getResponsiveUrls(m,e),onChange:this.handleChange})))),(0,h.shouldRenderPopup)(e,(0,S.blocksDataSelector)((0,w.getStore)().getState()))&&this.renderPopups())}}const $=(0,b.withMigrations)(q,N.migrations)},46380:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(53002),n=o(9644),i=o(46350),a=o(44201);class l extends i.Image{getExtraImageProps(e){const{alt:t,imageSrc:o,imagePopulation:r}=e;return t?{alt:t}:r?{alt:(0,n.makePlaceholder)({content:"{{ brizy_dc_image_alt }}",attr:{imagePlaceholder:r.replace(/"/g,'\\"')}})}:{alt:(0,n.makePlaceholder)({content:"{{ brizy_dc_image_alt }}",attr:{imageSrc:o}})}}}const s=(0,r.withMigrations)(l,a.migrations)},44201:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"migrations",{enumerable:!0,get:function(){return r}});const r=[o(40466).m2]},40466:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{placeholderObjFromStr:function(){return s},m2:function(){return c}});const r=o(47885),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(48630)),i=o(63300);function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=(0,r.mPipe)(i.read,unescape);function s(e){const t=/^{{\s*([\w-]+)(.*?)\s*}}$/.exec(e);if(!t)return;const[,o,r]=t;if(""===r)return{name:o};const n=/(\w+)=("|'|"|')(.*?)\2/g;let i,a;for(;a=n.exec(r.trim());)i=i??{},i[a[1]]=l(a[3]);return i?{name:o,attr:i}:{name:o}}const c={version:2,cb(e){if(!n.isObject(e))throw new Error(`Image migration failed ${e}`);return(e=>{const t=(0,i.read)(e.imagePopulation);if(!t)return{};const o=s(t);if(void 0!==o?.attr?.size){const e=(0,i.read)(o.attr.size)??"custom";return{sizeType:e.trim().length>0?e:"custom"}}return{sizeType:"custom"}})(e)}}},72058:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(39191),s=o(64985),c=o(10726),d=o(16526),u=o(69321),p=o(59638),f=e=>{let{v:t,device:o}=e;const a=e=>(0,u.defaultValueValue)({v:t,key:e,device:o}),f=a("imageExtension"),m=a("imageSrc"),y=(0,p.read)(a("hoverName"))??"none",g=(0,d.isStory)(i.default.getAll()),h=(0,l.isWp)(i.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,s.t)("Styling"),label:(0,s.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,s.t)("Basic"),icon:"nc-styling",options:[{id:"border",label:(0,s.t)("Corner"),type:"corners-dev"}]},{id:"moreSettingsAdvanced",label:(0,s.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,s.t)("Hover Transition"),position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"alt",type:"inputText-dev",label:(0,s.t)("Alt Title"),display:"block",helper:{content:"Specify an alternate text for the image, if it cannot be displayed."}},{id:"showOriginalImage",type:"switch-dev",label:(0,s.t)("Show Original image"),disabled:!h||(0,c.isSVGExtension)(f)||(0,c.isGIFExtension)(f)||!m}]}]}]},{id:"effects",title:(0,s.t)("Effects"),label:(0,s.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,s.t)("Entrance"),options:[]},{id:"tabHover",label:(0,s.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:g,config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(y),delay:!1}}]}]}]}]}]}},3109:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleHover:function(){return n},style:function(){return i},styleContent:function(){return a},styleWrapper:function(){return l},styleWrapperContainer:function(){return s},styleImage:function(){return c},stylePicture:function(){return d}});const r=o(94220);function n(e,t,o,n){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&.brz-hover-animation__container":{standart:["cssStyleElementImageMaxWidthPreview"]}},props:n})}function i(e,t,o,n){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover:not(.brz-image--hovered)":{standart:["cssStyleElementImageMaxWidthPreview"]},".brz &&:hover":{standart:["cssStyleElementImageHeightPreview","cssStyleElementImageBoxShadow|||preview","cssStyleBorder|||preview","cssStyleBorderRadius|||preview","cssStyleMaskDropShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .brz-picture:after":{standart:["cssStyleElementImageBoxShadow|||preview","cssStyleBgColor|||preview","cssStyleBgGradient|||preview","cssStyleBorderRadius|||preview"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .brz-picture":{standart:["cssStyleElementImageFilter|||preview","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}},props:n})}function a(e,t,o,n){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageMaxWidthEditor","cssStyleElementImageHeightEditor"]}},props:n})}function l(e,t,o,n){const{maskShape:i="none"}=e,a={".brz &&:hover":{standart:["cssStyleElementImageFilter|||editor","cssStyleElementImageWidthWrapper","cssStyleElementImageHeightWrapper|||editor","cssStyleElementImagePosition",..."none"===i?["cssStyleBorder|||editor","cssStyleBorderRadius|||editor","cssStyleElementImageBoxShadow|||editor"]:[],"cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover:after":{standart:["cssStyleElementImageBoxShadow|||editor","cssStyleBgColor|||editor","cssStyleBgGradient|||editor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:a,props:n})}function s(e,t,o,n){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderRadius|||editor","cssStyleBorder|||editor","cssStyleElementImageBoxShadow|||editor","cssStyleMaskDropShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}},props:n})}function c(e,t,o,n){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageWidthWrapper","cssStyleElementImageHeightWrapper","cssStyleElementImageMarginLeft","cssStyleElementImageMarginTop"]}},props:n})}function d(e,t,o,n){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImagePictureSizePreview"]},".brz &&:hover > .brz-img":{standart:["cssStyleElementImagePosition","cssStyleElementImageSizePreview"]}},props:n})}},10441:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return v},getItems:function(){return S}});const r=o(2610),n=(i=o(22546))&&i.__esModule?i:{default:i};var i;const a=o(81263),l=o(64187),s=o(81405),c=o(64985),d=o(10726),u=o(29390),p=o(16526),f=o(69321),m=o(68256),y=o(63300),g=o(24119),h=o(57582),b=o(85742),v=e=>{let{desktopContainerWidth:t,tabletContainerWidth:o,mobileContainerWidth:r,gallery:n}=e;return{getItems:S({property:{desktop:{cW:t,gallery:n},tablet:{cW:o,gallery:n},mobile:{cW:r,gallery:n}}})}},S=e=>{let{property:t}=e;return e=>{let{v:o,device:i,component:v,context:S}=e;const w=n.default.getAll(),x=Boolean(v.props.meta.sectionPopup),P=Boolean(v.props.meta.sectionPopup2),{cW:C,gallery:T}=t[i],_=Boolean(o?.clonedFromGallery),{inGallery:k=!1,withBigImage:M=!1,enableTags:O}=T||{},E=e=>(0,f.defaultValueValue)({v:o,key:e,device:i}),{hex:B}=(0,m.getOptionColorHexByPalette)(E("borderColorHex"),E("borderColorPalette")),z=O&&!_,I=w?.api?.collectionTypes?.loadCollectionTypes.handler,j=E("borderColorOpacity"),L=(0,y.read)(E("maskShape"))??"none",F=(0,y.read)(E("maskPosition"))??"center center",N=(0,y.read)(E("maskSize"))??"cover",D=(0,y.read)(E("maskScaleSuffix"))??"%",R=(0,y.read)(E("maskCustomUploadImageSrc")),A="none"===L||"custom"===L&&!R,H=E("widthSuffix"),W=E("heightSuffix"),V=E("sizeType"),G=(0,m.getDynamicContentOption)({options:S.dynamicContent.config,type:a.DCTypes.image}),U=E("linkSource"),q=E("imageExtension"),$=E("imagePopulation"),Y=E("linkPopup"),Q=(0,b.getImageDCSize)($,S),Z="custom"===V,K=((0,d.isSVGExtension)(q)||(0,d.isGIFExtension)(q))&&!Q;return[{id:"toolbarImage",type:"popover-dev",config:{icon:"nc-img",title:(0,c.t)("Image")},position:80,options:[{id:"media",type:"tabs-dev",tabs:[{id:"tabImage",label:(0,c.t)("Image"),options:[{id:"image",type:"population-dev",label:(0,c.t)("Image"),disabled:((0,d.isSVGExtension)(q)||(0,d.isGIFExtension)(q)||$)&&"desktop"!==i||_,config:"desktop"===i&&!T.inGallery&&G?G:void 0,fallback:{id:(0,r.keyToDCFallback2Key)("image"),type:"imageUpload-dev"},option:{id:"",type:"imageUpload-dev",config:{edit:"desktop"===i}}},{id:"zoom",label:(0,c.t)("Zoom"),type:"slider-dev",disabled:Boolean($)||(0,d.isSVGExtension)(q)||(0,d.isGIFExtension)(q)||"custom"!==V||_,config:{min:100,max:200,inputMin:100,units:[{value:"%",title:"%"}]}},{id:"linkLightBox",label:(0,c.t)("Open in Lightbox"),type:"switch-dev",disabled:k||(0,d.isSVGExtension)(q)||(0,d.isGIFExtension)(q)||_||(0,p.isStory)(w),devices:"desktop"}]},{id:"tabMask",label:(0,c.t)("Mask"),position:110,options:[...k&&!_?[]:[{id:"maskShape",label:(0,c.t)("Shape"),devices:"desktop",type:"select-dev",choices:u.MaskShapes},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,c.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{enabled:!0,content:(0,c.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==L},{id:"groupSize",type:"group-dev",disabled:A,options:[{id:"maskSize",label:(0,c.t)("Size"),type:"select-dev",choices:u.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==N,config:{min:1,max:"px"===D?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:A,options:[{id:"maskPosition",type:"select-dev",label:(0,c.t)("Position"),choices:u.MaskPositions},{id:"maskPositionx",label:(0,c.t)("X"),type:"slider-dev",disabled:"custom"!==F,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,c.t)("Y"),type:"slider-dev",disabled:"custom"!==F,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,c.t)("Repeat"),type:"select-dev",disabled:A||"cover"===N,choices:u.MaskRepeat}]]},{id:"tabTags",label:(0,c.t)("Tags"),options:[(0,h.toolbarImageTags)({devices:"desktop",gallery:T,enableTags:z})]}]}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,c.t)("Colors"),icon:{style:{backgroundColor:(0,s.hexToRgba)(B,j)}}},roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,c.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[g.NORMAL,g.HOVER]}]},{id:"tabBorder",label:(0,c.t)("Border"),options:[{id:"border",type:"border-dev",states:[g.NORMAL,g.HOVER]}]},{id:"tabBoxShadow",label:(0,c.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[g.NORMAL,g.HOVER],disabled:!A}]},{id:"tabDropShadow",label:(0,c.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[g.NORMAL,g.HOVER],disabled:A}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,c.t)("Link")},position:90,disabled:k&&"on"===E("linkLightBox")||M,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,c.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!I,label:(0,c.t)("Type"),devices:"desktop",choices:{load:()=>(0,l.getCollectionTypes)(w),emptyLoad:{title:(0,c.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,c.t)("Find Page"),devices:"desktop",disabled:!U,config:{postType:U}}]},{id:"external",label:(0,c.t)("URL"),options:[(0,h.toolbarImageLinkExternal)({v:o,inGallery:k,config:S.dynamicContent.config,devices:"desktop"}),{id:"linkExternalBlank",label:(0,c.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,c.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,c.t)("Block"),options:[(0,h.toolbarLinkAnchor)({v:o,devices:"desktop",disabled:(0,p.isStory)(w)})]},{id:"popup",label:(0,c.t)("Popup"),options:[{id:"linkPopup",type:"promptAddPopup",disabled:(0,p.isStory)(w)||("desktop"===i?x||P||(0,p.isPopup)(w):"popup"!==E("linkType")||""===Y),label:(0,c.t)("Popup"),canDelete:"desktop"===i,popupKey:`${v.getId()}_${Y}`,value:{value:Y,popups:E("popups")},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]},{id:"story",label:(0,c.t)("Slides"),options:[(0,h.toolbarStoryAnchor)({disabled:!(0,p.isStory)(w)})]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,c.t)("Settings")},roles:["admin"],position:110,disabled:k&&!_||(0,p.isStory)(w),options:[{id:"width",label:K?(0,c.t)("Size"):(0,c.t)("Width"),type:"slider-dev",disabled:!Z&&!K,config:{min:5,max:"px"===H?C:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}],inputMax:K?100:void 0}},{id:"height",label:(0,c.t)("Height"),type:"slider-dev",disabled:!Z||K,config:{min:5,max:"px"===W?Math.round(2*C):100,units:$?[{value:"px",title:"px"}]:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"size",label:(0,c.t)("Size"),type:"slider-dev",disabled:Z||K,config:{min:5,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,c.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,c.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",disabled:!(0,p.isStory)(w),position:110}]}}},63147:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isUnit",{enumerable:!0,get:function(){return n}}),(r=o(27378))&&r.__esModule;const n=e=>["px","%"].includes(e)},93993:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{fromImageElementModel:function(){return u},fromImageDCElementModel:function(){return p},patchImageSizeType:function(){return f},patchImageUnit:function(){return m}});const r=o(47885),n=d(o(73904)),i=o(55250),a=o(69321),l=o(77725),s=d(o(59638));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(c=function(e){return e?o:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=c(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const u=(0,l.readWithParser)({imageSrc:(0,r.mPipe)((0,i.prop)("imageSrc"),s.read),imageExtension:(0,r.mPipe)((0,i.prop)("imageExtension"),s.read),imageHeight:(0,r.mPipe)((0,i.prop)("imageHeight"),n.read),imageWidth:(0,r.mPipe)((0,i.prop)("imageWidth"),n.read)}),p=(0,l.readWithParser)({imagePopulation:(0,r.mPipe)((0,i.prop)("imagePopulation"),s.read)}),f=(0,l.readWithParser)({sizeType:(0,r.mPipe)((0,i.prop)("sizeType"),s.read)}),m=(e,t)=>{if(e){const o=e=>(0,a.defaultValueKey)({key:e,device:t,state:"normal"}),[r]=Object.keys(e).filter((e=>e===o("widthSuffix")||e===o("heightSuffix")));return r?e:void 0}}},85742:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{calcWrapperSizes:function(){return h},calcWrapperPredefinedSizes:function(){return b},calcWrapperOriginalSizes:function(){return v},calcImageSizes:function(){return S},isPredefinedSize:function(){return w},isOriginalSize:function(){return x},isCustomSize:function(){return P},getImageSize:function(){return C},getSizeType:function(){return T},showOriginalImage:function(){return _},getCustomImageUrl:function(){return k},multiplier:function(){return M},readUnit:function(){return O},readSizeType:function(){return E},getImageDCSize:function(){return B}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(19057),l=o(44576),s=o(68914),c=o(10726),d=o(78438),u=o(69321),p=o(68256),f=o(95945),m=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(59638)),y=o(22741);function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const h=(e,t)=>{const o=e.imageWidth||1440,r=e.imageHeight||960,n=t/(o/r);let i=(0,d.clamp)(e.width||t,0,t),a=e.height||n;if("%"===e.widthSuffix&&(i=e.width*t/100),"%"===e.heightSuffix){const t=i/(o/r);a=e.height*t/100}return{width:(0,d.roundTo)(i,2),height:(0,d.roundTo)(a,2)}},b=(e,t)=>{if(e.width>t){const o=t/e.width;return{width:(0,d.clamp)(e.width,0,t),height:(0,d.roundTo)(e.height*o,2)}}return{width:e.width,height:e.height}},v=(e,t)=>{const o=e.imageWidth||1440,r=e.imageHeight||960,n=e.size*t/100,i=n/(o/r),a=e.size*i/100;return{width:(0,d.roundTo)(n,2),height:(0,d.roundTo)(a,2)}},S=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=h(e,t);let n=1,i=1;e.imageWidth/r.width{let o,r;const n=e.imgWidth-e.wrapperWidth,i=e.imgHeight-e.wrapperHeight;return o=e.positionX*e.imgWidth/100-e.wrapperWidth/2,r=e.positionY*e.imgHeight/100-e.wrapperHeight/2,e.imgWidth>e.wrapperWidth?(o<0&&(o=0),o>n&&(o=n)):o=t?0:n/2,e.imgHeight>e.wrapperHeight?(r<0&&(r=0),r>i&&(r=i)):r=t?0:i/2,{left:-o,top:-r}})(s,o);return{width:(0,d.roundTo)(s.imgWidth,2),height:(0,d.roundTo)(s.imgHeight,2),marginLeft:(0,d.roundTo)(c.left,2),marginTop:(0,d.roundTo)(c.top,2)}},w=e=>"object"==typeof e&&"width"in e&&"height"in e,x=e=>"original"===e,P=e=>"custom"===e,C=e=>{if("custom"===e)return a.SizeType.custom;const t=r.default.getAll(),{imageSizes:o}=t,n=o?.find((t=>{let{name:o}=t;return o===e}));if(void 0!==n&&!(0,y.isNullish)(n.height)&&!(0,y.isNullish)(n.width)){const{width:e,height:t}=n;return{width:e,height:t,widthSuffix:"px",heightSuffix:"px"}}return a.SizeType.original},T=(e,t)=>(0,u.defaultValueValue)({v:e,device:t,key:"sizeType"}),_=e=>Boolean(!(0,c.isSVGExtension)(e.imageExtension)&&!(0,c.isGIFExtension)(e.imageExtension)&&e.imageSrc&&"on"===e.showOriginalImage);function k(e,t,o){const r=Math.round(t.width),n=Math.round(t.height),i=e.src??"",l=e.sizeType??"",c=e.fileName??"",d=C(l);if(w(d)||x(d)){const e=(0,s.getImageUrl)({uid:i,fileName:c,sizeType:l});return{source:`${e}`,url:`${e} 1x, ${e} 2x`}}const{width:u,height:p}=o,f=Math.abs(o.marginLeft),m=Math.abs(o.marginTop),y={iW:Math.round(u),iH:Math.round(p),oX:Math.round(f),oY:Math.round(m),cW:Math.round(r),cH:Math.round(n)},g=(0,s.getImageUrl)({uid:i,crop:y,fileName:c,sizeType:a.SizeType.custom});return{source:`${g??""}`,url:`${g??""} 1x, ${(0,s.getImageUrl)({uid:i,crop:M(y,2),fileName:c,sizeType:a.SizeType.custom})??""} 2x`}}function M(e,t){return Object.entries(e).reduce(((e,o)=>{let[r,n]=o;return e[r]="number"==typeof n?Math.min(n*t,9e3):n,e}),{})}const O=e=>{if("px"===e||"%"===e)return e},E=e=>{switch(e){case a.SizeType.custom:case a.SizeType.original:return e}},B=(e,t)=>{const o=t.dynamicContent.config;if(!o||!(0,f.is)(e))return;const r=(0,p.getDynamicContentChoices)(o,i.DCTypes.image);if(0===r.length)return;const n=(0,l.flatMap)(r,(e=>"optgroup"in e?e.optgroup:e));return m.read(n.find((t=>t.value===e))?.attr?.size)}},57977:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Image"),disabled:!0,items:[]}]}}},96618:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"patchOnColumnChange",{enumerable:!0,get:function(){return l}});const r=(n=o(13556))&&n.__esModule?n:{default:n};var n;const i=o(70634),a=o(16526),l=(e,t,o)=>{const{layout:n}=t,{items:l}=o,s=l.length,c="bigImage"===n?s-1:s;if(c{e.imageSrc&&delete e.imageSrc,e.imageFileName&&delete e.imageFileName})),n=[...l,(0,a.setIds)({type:"Image",value:o})];return(0,i.mergeIn)(t,["items"],n)}}return t}},4127:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return $}});const r=W(o(60042)),n=o(47885),i=G(o(27378)),a=W(o(36042)),l=o(70634),s=G(o(10301)),c=o(66848),d=W(o(36275)),u=W(o(67439)),p=W(o(63692)),f=o(19057),m=o(97045),y=o(92213),g=o(63425),h=o(94220),b=o(34721),v=o(68914),S=o(16526),w=o(69321),x=G(o(4645)),P=G(o(63300)),C=o(66559),T=G(o(24119)),_=o(6085),k=W(o(10787)),M=o(85742),O=o(86022),E=W(o(60919)),B=o(96618),z=W(o(96583)),I=G(o(13104)),j=G(o(7490)),L=G(o(31619)),F=o(33205),N=G(o(92874)),D=G(o(85129)),R=G(o(39985)),A=o(57016),H=o(24236);function W(e){return e&&e.__esModule?e:{default:e}}function V(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(V=function(e){return e?o:t})(e)}function G(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=V(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const U=[{title:"desktop",value:g.DeviceMode2.Desktop,enabled:!0,breakpoint:1500,content:1500},{title:"tablet",value:g.DeviceMode2.Tablet,enabled:!0,breakpoint:991,content:991},{title:"mobile",value:g.DeviceMode2.Mobile,enabled:!0,breakpoint:767,content:767}];class q extends p.default{static get componentId(){return"ImageGallery"}static defaultValue=E.default;handleAllTagChange=e=>{this.patchValue({allTag:e})};static defaultProps={meta:{},onToolbarOpen:s.default.noop,onToolbarClose:s.default.noop,onToolbarEnter:s.default.noop,onToolbarLeave:s.default.noop,extendParentToolbar:s.default.noop};state={visibleTag:""};node=null;gallery=null;isotope=null;handleResize=()=>{const{layout:e}=this.getValue();"justified"===e&&(0,(0,b.applyFilter)("getLibs",{}).ImagesLoaded)(this.node,(()=>{this.gallery&&this.gallery.arrange()}))};handleFilterClick(e){e!==this.state.visibleTag&&this.setState({visibleTag:e})}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(D,j,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}_parent`});this.props.extendParentToolbar(e),this.initGallery()}componentDidUpdate(e){const{items:t}=e.dbValue,{items:o}=this.props.dbValue,{layout:r}=this.getValue(),n="masonry"===r,i="justified"===r;(t.some(((e,t)=>{const r=e.value,n=o[t]?.value;return r._id!==n?._id}))||t.length!==o.length)&&(n&&(this.destroyIsotope(),this.initIsotope()),i&&this.gallery&&this.gallery.arrange());const a=(0,A.getSpacing)(this.props.dbValue),l=(0,A.getSpacing)(e.dbValue);n&&!s.default.isEqual(a,l)&&this.reinitIsotopes()}initGallery(){const e=this.getValue();switch(e.layout){case"masonry":this.initIsotope();break;case"justified":(0,(0,b.applyFilter)("getLibs",{}).ImagesLoaded)(this.node,(()=>{this.initJustifiedGallery(e)}))}}getDefaultGridItems(e){let{gridAspectRatio:t,gridColumn:o,items:r,lightBox:n}=e;const{gridAspectRatio:i,gridColumn:a}=this.getValue();if(this.node){const{items:e}=this.getValue(),{width:s}=this.node.getBoundingClientRect();return(r??e).map((e=>{const r=e.value,[c,d]=(t??i).split("/"),u=x.read(c)??4,p=x.read(d)??3,f=s/(u/p)/(o??a),m=(0,M.calcWrapperSizes)({imageWidth:x.read(r.imageWidth)??600,imageHeight:x.read(r.imageHeight)??450,width:100,widthSuffix:"%",height:100,heightSuffix:"%",size:x.read(r.size)??100},s/(o??a)),y=(0,M.calcWrapperSizes)({imageWidth:x.read(r.hoverImageWidth)??600,imageHeight:x.read(r.hoverImageHeight)??450,widthSuffix:"%",heightSuffix:"%",width:100,height:100,size:x.read(r.size)??100},s/(o??a));return(0,l.mergeIn)(e,["value"],{height:100*f/m.height,hoverHeight:100*f/y.height,heightSuffix:"%",tabletHeight:null,tabletHeightSuffix:null,mobileHeight:null,mobileHeightSuffix:null,sizeType:"custom",tabletSizeType:null,mobileSizeType:null,...n&&(0,A.mergeLinkType)(n)})}))}return r??[]}adjustImagesByHeight(e){let{height:t,heightKey:o,heightSuffix:r="px",width:n,widthKey:i,items:a,isChanged:s}=e;if(this.node){const{gridColumn:e}=this.getValue(),{width:c}=this.node.getBoundingClientRect(),d=t??c/e;let u=d;return{items:a.map((e=>{const t=e.value;if(t.clonedFromGallery)return e;const a=(0,M.calcWrapperSizes)({imageWidth:x.read(t.imageWidth)??600,imageHeight:x.read(t.imageHeight)??450,width:100,widthSuffix:"%",height:d,heightSuffix:r,size:x.read(t.size)??100},c/this.dvv("gridColumn"));return u=a.height,(0,l.mergeIn)(e,["value"],{hoverHeight:a.height,heightSuffix:"px",tabletHeight:t.tabletHeight??t.height,tabletHeightSuffix:"px",mobileHeight:t.mobileHeight??t.height,mobileHeightSuffix:"px",[o??"height"]:"height"===s?a.height:t.height,..."width"===s?{widthSuffix:"px",tabletWidth:t.tabletWidth??n??t.width,tabletWidthSuffix:"px",mobileWidth:t.mobileWidth??n??t.width,mobileWidthSuffix:"px",[i??"width"]:n}:{}})})),height:u}}return{items:a,height:t??100}}patchValue(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.itemsOption){const{layout:o,bigImageImagesHeight:r,tabletBigImageImagesHeight:i,mobileBigImageImagesHeight:a}=this.getValue(),c="justified"===o?"original":"custom",d=this.getValue().items,u=e.itemsOption.map((e=>{const t=d.find((t=>t.value._id===e.id));if(t){const o=t.value,{uid:r,width:n,height:i}=e,{imageSrc:a,imageWidth:l,imageHeight:s,imageFileName:c}=o;return a!==r||l!==n||s!==i?{...t,value:{...t.value,imageSrc:r,imageWidth:n,imageHeight:i,imageFileName:c}}:t}{const t="bigImage"===o?{height:r,heightSuffix:"px",tabletHeight:i,tabletHeightSuffix:"px",mobileHeight:a,mobileHeightSuffix:"px"}:{};return(0,S.setIds)({type:"Image",value:{imageSrc:e.uid,imageFileName:e.fileName,imageWidth:e.width,imageHeight:e.height,imageExtension:(0,s.last)((P.read(e.uid)??"").split(".")),...t,_styles:["image"],sizeType:c}})}})).filter(n.isT),{imageSrc:p,imageFileName:f,imageExtension:m}=u[0].value,y="bigImage"===o?(0,S.setIds)({type:"Image",value:{...d[0].value,imageSrc:p,imageFileName:f,imageExtension:m,sizeType:"custom",tabletSizeType:null,mobileSizeType:null,clonedFromGallery:!0}}):null,{itemsOption:g,...h}=e;super.patchValue({...h,items:y?(0,l.insert)(u,0,y):u},t)}else super.patchValue(e,t)}getIsotope=()=>this.isotope;getGallery=()=>this.gallery;handleRef=e=>{e&&(this.node=e)};handleResizeImage=()=>{this.node&&this.isotope&&this.isotope.layout()};dvv=e=>{const t=this.getValue(),o=T.mRead(t.tabsState),r=(0,m.deviceModeSelector)((0,y.getStore)().getState());return(0,w.defaultValueValue)({v:t,key:e,device:r,state:o})};handleValueChange(e,t){const o=(0,m.deviceModeSelector)((0,y.getStore)().getState()),r=this.getValue(),n=(0,l.merge)(r,e),{items:i}=this.getValue(),a=e=>(0,w.defaultValueKey)({key:e,device:o,state:"normal"});if(t.patch.lightBox){const{lightBox:t,layout:o}=e,r=e.items.map((e=>(0,l.mergeIn)(e,["value"],{linkType:"on"===t&&"bigImage"!==o?"lightBox":"external",linkLightBox:"bigImage"!==o&&t})));e=(0,l.mergeIn)(e,["items"],r)}if(t.patch.items){if(t.patch.items.length!==i.length)if("grid"===n.layout){const o=this.getDefaultGridItems({items:t.patch.items});e=(0,l.mergeIn)(e,["items"],o)}else this.destroyJustifiedGallery(),this.destroyIsotope(),this.initGallery();if("bigImage"===n.layout&&n.items[1]!==i[1]){const{imageSrc:t,imageFileName:o,imageExtension:r,imageWidth:i,imageHeight:a,size:s}=n.items[1].value;e=(0,l.mergeIn)(e,["items",0,"value"],{imageSrc:t,imageFileName:o,imageExtension:r,imageWidth:i,imageHeight:a,size:s})}}switch(t.patch.layout){case"justified":{this.destroyIsotope();const{lightBox:t}=e,r=n.items.map((e=>(0,l.mergeIn)(e,["value"],{sizeType:"original",...(0,A.mergeLinkType)(t),tabletSizeType:null,mobileSizeType:null,[a("height")]:("rowHeight",(0,w.defaultValueValue)({key:"rowHeight",device:o,v:n})),[a("heightSuffix")]:"px"})));e=(0,l.mergeIn)(e,["items"],r),this.destroyJustifiedGallery(),this.initJustifiedGallery(n);break}case"grid":{const{lightBox:t}=e;this.destroyJustifiedGallery(),this.destroyIsotope();const o=this.getDefaultGridItems({lightBox:t});e=(0,l.mergeIn)(e,["items"],o);break}case"masonry":{const{lightBox:t}=e;this.destroyJustifiedGallery(),this.destroyIsotope(),this.initIsotope();const o=e.items.map((e=>(0,l.mergeIn)(e,["value"],{...e.value,sizeType:"custom",...(0,A.mergeLinkType)(t),tabletSizeType:null,mobileSizeType:null})));e=(0,l.mergeIn)(e,["items"],o);break}case"bigImage":{this.destroyJustifiedGallery(),this.destroyIsotope();const t=e.items.map((e=>(0,l.mergeIn)(e,["value"],{...e.value,linkType:"external",linkLightBox:"off",sizeType:"custom",tabletSizeType:null,mobileSizeType:null}))),{items:o,height:r}=this.adjustImagesByHeight({height:x.read(n.bigImageImagesHeight),heightSuffix:(0,M.readUnit)(n.bigImageImagesHeightSuffix),items:t,isChanged:"height"});if("left"===n[a("thumbStyle")]||"right"===n[a("thumbStyle")]){e=(0,l.mergeIn)(e,["items"],(0,A.addHorizontalThumbStyleData)(n,o));break}const i=Object.assign({},e);i.bigImageImagesHeight=r,e=(0,l.merge)(e,i),e=(0,l.mergeIn)(e,["items"],o);break}}if(t.patch[a("bigImageImagesHeight")]||t.patch[a("thumbWidth")]){const o=(0,A.changeImagesData)(e.items,{sizeType:"custom",tabletSizeType:null,mobileSizeType:null}),{items:r,height:i}=this.adjustImagesByHeight({height:x.read(t.patch[a("bigImageImagesHeight")]??n[a("bigImageImagesHeight")]),heightSuffix:(0,M.readUnit)(n[a("bigImageImagesHeightSuffix")]),heightKey:a("height"),width:x.read(t.patch[a("thumbWidth")]??n[a("thumbWidth")]),widthKey:a("width"),items:o,isChanged:t.patch[a("bigImageImagesHeight")]?"height":"width"}),s=Object.assign({},e);s[a("bigImageImagesHeight")]=i,e=(0,l.merge)(e,s),e=(0,l.mergeIn)(e,["items"],r)}if(t.patch[a("thumbStyle")])switch(t.patch[a("thumbStyle")]){case"top":case"bottom":e=(0,l.mergeIn)(e,["items"],(0,A.removeHorizontalThumbStyleData)(n.items));break;case"left":case"right":e=(0,l.mergeIn)(e,["items"],(0,A.addHorizontalThumbStyleData)(n))}if(t.patch.layout){const{layout:t}=r,{layout:o}=n;if("bigImage"===t){const t=Object.assign({},e),o=(0,l.removeAt)(e.items,0);t.items=(0,A.removeHorizontalThumbStyleData)(o),e=(0,l.merge)(e,t)}if("bigImage"===o){const t=(0,l.getIn)(e,["items",0]).value,{imageSrc:o,imageFileName:r,imageWidth:n,imageHeight:i,size:a,imageExtension:s}=t,c=(0,S.setIds)({type:"Image",value:{imageSrc:o,imageFileName:r,imageExtension:s,imageWidth:n,imageHeight:i,size:a,sizeType:"custom",tabletSizeType:null,mobileSizeType:null,clonedFromGallery:!0}}),d=(0,l.insert)(e.items,0,c);e=(0,l.mergeIn)(e,["items"],d)}}if(t.patch[a("rowHeight")]){const{layout:e}=this.getValue();"justified"===e&&(this.destroyJustifiedGallery(),this.initJustifiedGallery(n))}if((t.patch.gridAspectRatio||t.patch[a("gridColumn")])&&"grid"===e.layout){const o=this.getDefaultGridItems({gridAspectRatio:t.patch.gridAspectRatio,gridColumn:x.read(t.patch[a("gridColumn")])});e=(0,l.mergeIn)(e,["items"],o)}t.patch.gridColumn&&r.gridColumn0&&void 0!==arguments[0]?arguments[0]:"";return e?e.split(",").reduce(((e,t)=>{const o=t.trim();return o?[...e,o]:e}),[]):[]}renderTags(e,t,o){const{filterStyle:n,items:a,layout:l,allTag:s,sortTags:d}=e;if("bigImage"===l)return;const p=(0,r.default)("brz-image__gallery-filter",`brz-image__gallery-filter--${n}`,(0,h.css)(`${this.getComponentId()}-filter`,`${this.getId()}-filter`,(0,F.styleForFilter)(e,t,o))),f=(0,r.default)("brz-li brz-image__gallery-filter__item",`brz-image__gallery-filter__item--${n}`),m=a.reduce(((e,t)=>{const o=t.value,r=this.getTags(o.tags).filter((t=>!e.includes(t)));return e.concat(r)}),[]),y=[s].concat("on"===d?m.sort(((e,t)=>e.localeCompare(t))):m).map(((t,o)=>{const r=t.replace(/\s/g,"-"),n=t===s?"*":r;return i.default.createElement(u.default,{...this.makeToolbarPropsFromConfig2(R,L,{allowExtend:!1}),key:o},i.default.createElement("li",{className:f+""+(this.state.visibleTag===t?" brz-image__gallery-filter__item--active":""),"data-filter":n,onClick:()=>{const e=this.getIsotope(),o=this.getGallery();if(this.handleFilterClick(t),"justified"===l&&o)o.arrange({filter:n});else if("grid"===l){const e=[...this.node?.querySelectorAll(".brz-image__gallery-item")??[]];(0,H.arrangeGridByTags)(n,e)}else e&&e.arrange({filter:t===s?"*":`.${r}`})}},t===e.allTag?i.default.createElement(c.TextEditor,{value:s,onChange:this.handleAllTagChange}):t))}));return i.default.createElement("div",{className:"brz-image__gallery--filter-wrapper"},i.default.createElement("ul",{className:`brz-ul ${p}`},y))}getImagesSrc=()=>{const{items:e}=this.getValue();return e.map((e=>{const t=e.value;return(0,v.getImageUrl)({uid:P.read(t.imageSrc)??"",sizeType:(0,M.readSizeType)(t.sizeType)??f.SizeType.custom,fileName:t.imageFileName??""})})).filter(Boolean)};renderFirstImage(){const e=this.getValue(),{layout:t,thumbStyle:o,enableTags:r,hoverName:n,hoverDuration:a,hoverInfiniteAnimation:l}=e,s=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:this.getMeta(e,!0),onResize:this.handleResizeImage,layout:t,thumbStyle:o,renderer:{gallery:{inGallery:!0,enableTags:"on"===r,layout:t,withBigImage:"bigImage"===t,hoverName:n,hoverDuration:a,hoverInfiniteAnimation:l}}}});return i.default.createElement(k.default,s)}renderBigImage=(e,t,o)=>{const{lightBox:n}=e,a=this.getImagesSrc(),l=(0,r.default)({"brz-image__gallery-big-image":a.length,"brz-image__gallery-placeholder":!a.length,"brz-image__gallery-lightbox brz-cursor-pointer":"on"===n},(0,h.css)(`${this.getComponentId()}-bigImage`,`${this.getId()}-bigImage`,(0,F.styleBigImage)(e,t,o))),s="on"===n&&!1;return i.default.createElement("div",{className:l,"data-images":(0,_.encodeToString)(a.slice(1)),"data-lightbox":n},i.default.createElement("div",{className:"brz-image__gallery-big-image-content"},this.renderFirstImage(),s))};renderForEdit(e,t,o){const{lightBox:n,enableTags:l,layout:s,thumbStyle:c,imagesMaskShape:u,hoverName:p,hoverDuration:f,hoverInfiniteAnimation:m}=e,y=(0,r.default)("brz-image__gallery-wrapper","brz-d-xs-flex brz-flex-xs-wrap",`brz-image__gallery-${s}`,{"brz-image__gallery-lightbox":"on"===n},{"brz-image__gallery-with-thumb":"bigImage"===s},(0,h.css)(`${this.getComponentId()}-gallery`,`${this.getId()}-gallery`,(0,F.style)(e,t,o))),g=Boolean(e.items[0].value?.clonedFromGallery),b=this.makeSubcomponentProps({bindWithKey:"items",...g?{sliceStartIndex:1}:{},itemProps:{meta:this.getMeta(e),onResize:this.handleResizeImage,layout:s,thumbStyle:c,renderer:{gallery:{inGallery:!0,enableTags:"on"===e.enableTags,layout:s,withBigImage:"bigImage"===s,imagesMaskShape:u,hoverName:p,hoverDuration:f,hoverInfiniteAnimation:m}}},toolbarExtend:this.makeToolbarPropsFromConfig2(N,I)}),v=e.items.reduce(((e,t)=>{const o=t.value,r=this.getTags(o.tags).filter((t=>!e.includes(t)));return e.concat(r)}),[]),S=(0,r.default)("brz-image__gallery",{[`brz-image__gallery-${c}`]:"bigImage"===s},(0,h.css)(`${this.getComponentId()}-galleryWrapper`,`${this.getId()}-galleryWrapper`,(0,F.styleWrapper)(e,t,o)));return i.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(i.Fragment,null,i.default.createElement(O.Wrapper,this.makeWrapperProps({className:S}),"on"===l&&v.length>0&&this.renderTags(e,t,o),i.default.createElement("div",{className:"brz-image__gallery-container"},"bigImage"===s&&this.renderBigImage(e,t,o),i.default.createElement("div",{className:y,ref:this.handleRef},i.default.createElement(z.default,b)))),i.default.createElement(a.default,{onResize:this.handleResize})))}getGalleryLib(){return(0,b.applyFilter)("getLibs",{}).Gallery}getIsotopeLib(){return(0,b.applyFilter)("getLibs",{}).Isotope}initIsotope(){const e=this.getIsotopeLib();e&&this.node&&(this.isotope=new e(this.node,{itemSelector:".brz-image__gallery-item",masonry:{columnWidth:".brz-image__gallery-item"}}))}reinitIsotopes=s.default.debounce((()=>{this.destroyIsotope(),this.initIsotope()}),500);initJustifiedGallery(e){const t=this.getGalleryLib();if(t&&this.node){const{settings:o}=(0,A.makeOptionValueToSettings)(e,U);this.gallery=new t(this.node,o)}}destroyIsotope(){this.isotope&&this.isotope.destroy()}destroyJustifiedGallery(){this.gallery&&(this.gallery.destroy(),this.gallery=null)}}const $=q},96583:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(60042)),n=d(o(27378)),i=d(o(39552)),a=o(67439),l=d(o(10787)),s=o(64985),c=d(o(57977));function d(e){return e&&e.__esModule?e:{default:e}}class u extends l.default{static get componentId(){return"ImageGallery.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t,o){const{layout:r,thumbStyle:n}=this.props.itemProps,i="bigImage"!==r||"left"!==n&&"right"!==n?"horizontal":"vertical",l={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:i,disable:0===t||1===t&&"bigImage"===r?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,s.t)("Duplicate"),position:200,roles:["admin"],devices:"desktop",onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,s.t)("Delete"),position:250,roles:["admin"],devices:"desktop",disabled:o.length<=1,onChange:()=>{(0,a.hideToolbar)(),this.removeItem(t)}}]},c=this.makeToolbarPropsFromConfig2(l,{allowExtend:!1});return{...super.getItemProps(e,t,o),toolbarExtend:c}}getTags(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?e.split(",").reduce(((e,t)=>{const o=t.trim();return o?[...e,o.replace(/\s/g,"-")]:e}),[]):[]}renderItemWrapper(e,t,o,a){const l=this.getTags(a.value.tags),{renderer:s}=this.props.itemProps,{imageSrc:d}=a.value,{layout:u}=s.gallery,p="masonry"===u,f="justified"===u,m=(0,r.default)("brz-image__gallery-item",{"brz-cursor-pointer":"bigImage"===u&&!1},{"brz-image__gallery-item-empty":(p||f)&&!d},l);return n.default.createElement(i.default,{key:t,...this.makeContextMenuProps(c.default,{id:t})},n.default.createElement("div",{className:m},e))}}const p=u},13104:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"border",type:"corners-dev",disabled:!0},{id:"thumbnailBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:70}]},{id:"moreSettingsAdvanced",options:[{id:"hoverTransition",type:"slider-dev",disabled:!0},{id:"customCSS",type:"codeMirror-dev",disabled:!0}]},{id:"moreSettingsTransform",options:[{id:"transform",type:"transform-dev",disabled:!0}]}]},{id:"settingsTabsResponsive",type:"tabs-dev",config:{align:"start"},devices:"responsive",disabled:!0,tabs:[]}]},{id:"effects",title:(0,r.t)("Effects"),label:(0,r.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",disabled:!0,tabs:[{id:"entrance",label:(0,r.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]},7490:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return u},getItems:function(){return p}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985),s=o(16526),c=o(69321),d=o(59638),u=(0,l.t)("Gallery"),p=e=>{let{v:t,device:o,state:a}=e;const u=(0,d.read)(("hoverName",(0,c.defaultValueValue)({v:t,key:"hoverName",device:o,state:a})))??"none";const p=(0,s.isStory)(i.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,l.t)("Styling"),label:(0,l.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,l.t)("Basic"),options:[]},{id:"moreSettingsAdvanced",label:(0,l.t)("Advanced"),options:[{id:"customCSS",label:(0,l.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:'\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

'},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,l.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]},{id:"effects",title:(0,l.t)("Effects"),label:(0,l.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,l.t)("Entrance"),options:[]},{id:"tabHover",label:(0,l.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:p,config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(u),delay:!1}}]}]}]}]}]}},31619:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Gallery Tags");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"filterPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}},{id:"filterBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},33205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleForFilter:function(){return i},styleBigImage:function(){return a},styleWrapper:function(){return l}});const r=o(94220);function n(e,t,o){const n={".brz &&:hover":{standart:["cssStyleElementImageGalleryWidth","cssStyleElementImageGalleryMargin","cssStyleElementImageGalleryGridItemsSpacing"]},".brz &&:hover .brz-image__gallery-item":{standart:["cssStyleElementImageGalleryItemWidth","cssStyleElementImageGalleryItemPadding"]},".brz &&.brz-image__gallery-grid .brz-image__gallery-item":{standart:["cssStyleElementImageGalleryGridAspectRatio"]},".brz &&.brz-image__gallery-with-thumb .brz-image__gallery-item:hover .brz-image":{standart:["cssStyleElementImageGalleryBorderRadiusThumbnail"]},".brz && .brz-image__gallery-item:hover .brz-image":{standart:["cssStyleElementImageGalleryImagesBoxShadow",..."none"!==e.imagesMaskShape?["cssStyleElementImageGalleryImagesBorder"]:[]]},".brz && .brz-image__gallery-item:hover .brz-ed-image__wrapper-container":{standart:["cssStyleElementImageGalleryImagesBorder"]},".brz && .brz-image__gallery-item:hover .brz-picture":{standart:[]},".brz &&.brz-image__gallery-with-thumb .brz-image__gallery-item:hover .brz-picture:after":{standart:["cssStyleElementImageGalleryBorderRadiusThumbnail"]},".brz && .brz-image__gallery-item:hover .brz-ed-image__wrapper::after":{standart:["cssStyleElementImageGalleryImagesOverlay","cssStyleElementImageGalleryImagesGradient"]},".brz && .brz-image__gallery-item:hover .brz-picture::after":{standart:[]},".brz &&.brz-image__gallery-with-thumb .brz-image__gallery-item:hover .brz-ed-image__wrapper":{standart:["cssStyleElementImageGalleryBorderRadiusThumbnail"]},".brz && .brz-image__gallery-item:hover .brz-ed-image__wrapper":{standart:["cssStyleElementImageGalleryBigImageImagesMaskShape","cssStyleElementImageGalleryBigImageImagesMaskSize","cssStyleElementImageGalleryBigImageImagesMaskPosition","cssStyleElementImageGalleryBigImageImagesMaskRepeat","cssStyleElementImageGalleryBigImageImagesCustomMask",..."none"===e.imagesMaskShape?["cssStyleElementImageGalleryImagesBorder"]:[]]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:n})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageGalleryFilterAfterSpacing","cssStyleElementImageGalleryFilterHorizontalAlign"]},".brz && .brz-image__gallery-filter__item":{standart:["cssStyleElementImageGalleryFilterSpacing","cssStyleElementImageGallery3FontFamily","cssStyleElementImageGallery3FontSize","cssStyleElementImageGallery3LineHeight","cssStyleElementImageGallery3FontWeight","cssStyleElementImageGallery3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-image__gallery-filter__item:not(.brz-image__gallery-filter__item--active):hover":{standart:["cssStyleElementImageGalleryFilterColor"]},".brz && .brz-image__gallery-filter__item--style-1":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementImageGalleryBorderRadius"]},".brz && .brz-image__gallery-filter__item--style-1:not(.brz-image__gallery-filter__item--active):hover":{standart:["cssStyleElementImageGalleryFilterBgColor","cssStyleElementImageGalleryFilterBorder","cssStyleElementImageGalleryFilterBoxShadow","cssStyleElementImageGalleryBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-image__gallery-filter__item--style-1.brz-image__gallery-filter__item--active":{standart:["cssStyleElementImageGalleryFilterActiveColor","cssStyleElementImageGalleryFilterActiveBgColor","cssStyleElementImageGalleryFilterActiveBorder","cssStyleElementImageGalleryFilterActiveShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-image__gallery-filter--style-2:hover":{standart:["cssStyleElementAccordionFilterPaddingFourFields","cssStyleElementImageGalleryFilterBgColor","cssStyleElementImageGalleryFilterBorder","cssStyleElementImageGalleryFilterBoxShadow","cssStyleDisplayInlineFlex","cssStyleElementImageGalleryBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-image__gallery-filter__item--style-2.brz-image__gallery-filter__item--active":{standart:["cssStyleElementImageGalleryFilterActiveColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementImageGalleryBigImageSpacing","cssStyleElementImageGalleryBigImageWidth"]}}})}function l(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-image__gallery-container":{standart:["cssStyleElementImageGalleryBigImageStyle"]}}})}},92874:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),n=o(64985),i=o(29390),a=o(69321),l=o(68256),s=o(24119),c=e=>{let{v:t,device:o}=e;const c=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:d}=(0,l.getOptionColorHexByPalette)(c("galleryImageBorderColorHex"),c("galleryImageBorderColorPallete")),u=c("layout"),p=c("imagesMaskShape"),f=c("imagesMaskPosition"),m=c("imagesMaskSize"),y=c("imagesMaskScaleSuffix"),g=c("imagesMaskCustomUploadImageSrc"),h="none"===p||"custom"===p&&!g;return[{id:"toolbarImage",type:"popover-dev",config:{icon:"nc-img",title:(0,n.t)("Image")},position:80,options:[{id:"media",type:"tabs-dev",tabs:[{id:"tabImage",label:(0,n.t)("Image"),options:[{id:"thumbStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",disabled:"bigImage"!==u,devices:"desktop",position:10,choices:[{value:"bottom",icon:"nc-woo-gallery-bottom"},{value:"left",icon:"nc-woo-gallery-left"},{value:"top",icon:"nc-woo-gallery-top"},{value:"right",icon:"nc-woo-gallery-right"}]}]},{id:"tabMask",label:(0,n.t)("Mask"),position:110,options:[{id:"imagesMaskShape",label:(0,n.t)("Shape"),devices:"desktop",type:"select-dev",choices:i.MaskShapes},{id:"imagesMaskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,n.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{enabled:!0,content:(0,n.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==p},{id:"groupSize",type:"group-dev",disabled:h,options:[{id:"imagesMaskSize",label:(0,n.t)("Size"),type:"select-dev",choices:i.MaskSizes},{id:"imagesMaskScale",type:"slider-dev",disabled:"custom"!==m,config:{min:1,max:"px"===y?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:h,options:[{id:"imagesMaskPosition",type:"select-dev",label:(0,n.t)("Position"),choices:i.MaskPositions},{id:"imagesMaskPositionx",label:(0,n.t)("X"),type:"slider-dev",disabled:"custom"!==f,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"imagesMaskPositiony",label:(0,n.t)("Y"),type:"slider-dev",disabled:"custom"!==f,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"imagesMaskRepeat",label:(0,n.t)("Repeat"),type:"select-dev",disabled:h||"cover"===m,choices:i.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",disabled:!0},{id:"toolbarGalleryImageColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("galleryImageBorderColorOpacity"))}}},position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlayImages",label:(0,n.t)("Overlay"),options:[{id:"galleryImageOverlay",type:"backgroundColor-dev",devices:"desktop",states:[s.NORMAL,s.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"galleryImageBorder",type:"border-dev",devices:"desktop",states:[s.NORMAL,s.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"galleryImageBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"toolbarGallerySettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},disabled:"bigImage"!==u,position:110,options:[{id:"thumbWidth",label:(0,n.t)("Width"),type:"slider-dev",disabled:"left"!==t.thumbStyle&&"right"!==t.thumbStyle,config:{min:0,max:300,units:[{value:"px",title:"px"}]}},{id:"bigImageImagesHeight",type:"slider-dev",label:(0,n.t)("Height"),disabled:"bigImage"!==u,config:{units:[{value:"px",title:"px"}],min:100,max:1e3}},{id:"spacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:20,units:[{value:"px",title:"px"}]}},{id:"bigImageSpacing",type:"slider-dev",label:(0,n.t)("Indent"),disabled:"bigImage"!==u,config:{units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},85129:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t,device:o,state:i}=e;const a=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:i}),l=a("layout"),s=a("thumbStyle"),c="left"===s||"right"===s;return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"toolbarGallery",type:"popover-dev",config:{icon:"nc-gallery",title:(0,r.t)("Gallery")},position:80,options:[{id:"galleryTabs",type:"tabs-dev",tabs:[{id:"tabGallery",label:(0,r.t)("Gallery"),options:[{id:"items",type:"gallery-for-gallery-dev",label:(0,r.t)("Images"),devices:"desktop",config:{canDeleteLast:!1}},{id:"groupLayout",type:"group-dev",options:[{id:"layout",type:"select-dev",label:(0,r.t)("Layout"),devices:"desktop",choices:[{title:"Grid",value:"grid"},{title:"Justified",value:"justified"},{title:"Masonry",value:"masonry"},{title:"Big Image",value:"bigImage"}]},{id:"gridAspectRatio",type:"select-dev",label:(0,r.t)("Aspect Ratio"),devices:"desktop",disabled:"grid"!==l,choices:[{title:"1:1",value:"1/1"},{title:"3:2",value:"3/2"},{title:"4:3",value:"4/3"},{title:"9:16",value:"9/16"},{title:"16:9",value:"16/9"},{title:"21:9",value:"21/9"}]},{id:"rowHeight",type:"slider-dev",label:(0,r.t)("Height"),disabled:"justified"!==l,config:{min:50,max:500,units:[{value:"px",title:"px"}]}}]},{id:"enableTags",label:(0,r.t)("Enable Tags"),type:"switch-dev",devices:"desktop",disabled:"bigImage"===l}]},{id:"tabItems",label:(0,r.t)("Items"),options:[{id:"gridColumn",type:"slider-dev",label:(0,r.t)("Columns"),disabled:"justified"===l||"bigImage"===l&&c,config:{min:1,max:6}},{id:"spacing",type:"slider-dev",label:(0,r.t)("Spacing"),disabled:"bigImage"===l,config:{min:0,max:20,units:[{value:"px",title:"px"}]}}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,r.t)("Link")},position:90,options:[{id:"lightBox",label:(0,r.t)("Open in Lightbox"),type:"switch-dev",devices:"desktop"}]}]}},39985:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarGallery",type:"popover-dev",config:{icon:"nc-tags",title:(0,n.t)("Tags")},position:80,options:[{id:"sortTags",label:(0,n.t)("Sort alphabetically"),type:"switch-dev",devices:"desktop"},{id:"filterStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"style-1",icon:"nc-tags-style-2"},{value:"style-2",icon:"nc-tags-style-1"}]},{id:"filterSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"afterFilterSpacing",type:"slider-dev",label:(0,n.t)("Content Gap"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"filter",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",className:"",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"filterBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"filterColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"filterBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"filterBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"filterHorizontalAlign",type:"toggle-dev",devices:"desktop",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"advancedSettings",devices:"desktop",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog",title:(0,n.t)("Settings")},{id:"toolbarSettings",type:"popover-dev",disabled:!0}]}},24236:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isJustified:function(){return o},removeUselessInfo:function(){return r},arrangeGridByTags:function(){return n}});const o=e=>"justified"===e,r=e=>{const t=e.querySelectorAll("picture > source"),o=e.querySelector("img");o?.removeAttribute("srcset"),t.forEach((e=>{e.remove()}))},n=(e,t)=>{e&&"*"!==e?(t.forEach((e=>{e.style.display="block"})),t.forEach((t=>{t.classList.contains(e)||(t.style.display="none")}))):t.forEach((e=>{e.style.display="block"}))}},57016:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeOptionValueToSettings:function(){return l},getSpacing:function(){return s},changeImagesData:function(){return c},removeHorizontalThumbStyleData:function(){return d},addHorizontalThumbStyleData:function(){return u},mergeLinkType:function(){return p}});const r=o(70634),n=o(69321),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=a(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(4645));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(a=function(e){return e?o:t})(e)}const l=(e,t)=>{const o=i.read(e.rowHeight)??0;switch(e.layout){case"bigImage":return{type:"bigImage"};case"masonry":return{type:"masonry",settings:{itemSelector:".brz-image__gallery-item",masonry:{columnWidth:".brz-image__gallery-item"}}};case"grid":return{type:"grid"};case"justified":return{type:"justified",settings:{rowHeight:o,itemSelector:".brz-image__gallery-item",responsive:t.map((t=>{const o=t.value,r=(0,n.defaultValueValue)({v:e,device:o,key:"rowHeight"});return{breakpoint:t.breakpoint,settings:{rowHeight:r}}}))}}}},s=e=>({spacing:e.spacing,tabletSpacing:e.tabletSpacing,mobileSPacing:e.mobileSpacing}),c=(e,t)=>e.map((e=>(0,r.mergeIn)(e,["value"],{...e.value,...t??{}}))),d=e=>e.map((e=>{let{type:t,value:o}=e;const{width:r,tabletWidth:n,mobileWidth:i,widthSuffix:a,tabletWidthSuffix:l,mobileWidthSuffix:s,...c}=o;return{type:t,value:c}})),u=(e,t)=>{const{items:o,bigImageImagesHeight:r,tabletBigImageImagesHeight:n,mobilebigImageImagesHeight:i,bigImageImagesHeightSuffix:a,tabletBigImageImagesHeightSuffix:l,mobileBigImageImagesHeightSuffix:s,thumbWidth:c,thumbWidthSuffix:d,tabletThumbWidth:u,tabletThumbWidthSuffix:p,mobileThumbWidth:f,mobileThumbWidthSuffix:m}=e;return(t??o).map((e=>{let{type:t,value:o}=e;return o.clonedFromGallery?{type:t,value:o}:{type:t,value:{...o,height:r,heightSuffix:a,tabletHeight:n,tabletHeightSuffix:l,mobileHeight:i,mobileHeightSuffix:s,width:c,widthSuffix:d,tabletWidth:u,tabletWidthSuffix:p,mobileWidth:f,mobileWidthSuffix:m}}}))},p=e=>({linkType:"on"===e?"lightBox":"external",linkLightBox:e})},37842:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=w(o(60042)),n=w(o(27378)),i=w(o(36275)),a=w(o(1440)),l=w(o(67439)),s=w(o(63692)),c=o(26989),d=o(97045),u=o(94220),p=o(9644),f=o(81842),m=w(o(10787)),y=o(8704),g=o(86022),h=w(o(79893)),b=P(o(49554)),v=o(51701),S=P(o(90469));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class C extends s.default{static get componentId(){return"Leadific"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,void 0,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{value:{popupId:t}}=e;const{blockId:o}=e;return"GlobalBlock"===e.type&&(t=(0,d.blocksDataSelector)(this.getReduxState())[e.value._id].value.popupId),{blockId:o,instanceKey:`${this.getId()}_${t}`}}});return n.default.createElement(m.default,e)}renderForEdit(e,t,o){const{leadificCustomFields:s=""}=e,m=(0,f.getLinkData)(e),h=(0,r.default)("brz-leadific",(0,u.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o))),w=n.default.createElement(y.DynamicContentHelper,{placeholder:(0,p.makePlaceholder)({content:"{{brizy_leadific_field}}",attr:{key:s}}),props:{className:"brz-leadific__content"},blocked:!1,tagName:"div",placeholderIcon:"leadific"});return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(S,b),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(g.Wrapper,this.makeWrapperProps({className:h}),m.href?n.default.createElement(a.default,{href:m.href,type:m.type,target:m.target,rel:m.rel},w):w))),(0,c.shouldRenderPopup)(e,(0,d.blocksDataSelector)(this.getReduxState()))&&this.renderPopups())}}const T=C},49554:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},51701:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleFlexHorizontalAlign"]},".brz &&:hover .brz-leadific__content":{standart:["getAllCssStyleTypography","cssStyleColor","cssStyleStrokeText","cssStyleTextShadow2"],interval:["cssStyleHoverTransition"]}}})}},90469:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return g}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(64187),l=o(81405),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(24119),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(59638)),m=o(57582);function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}const g=e=>{let{v:t,device:o,context:n,component:y,state:g}=e;const h=r.default.getAll(),b=(0,c.isStory)(h),v=(0,c.isPopup)(h),S=Boolean(y.props.meta?.sectionPopup),w=Boolean(y.props.meta?.sectionPopup2),x=e=>(0,d.defaultValueValue)({v:t,key:e,device:o,state:g}),{hex:P}=(0,u.getOptionColorHexByPalette)(x("colorHex"),x("colorPalette")),C=f.read(x("linkPopup")),T=x("popups"),_=Array.isArray(T)?T:[],k=(0,u.getDynamicContentOption)({options:n.dynamicContent.config,type:i.DCTypes.link});return[{id:"toolbarLeadific",type:"popover-dev",config:{icon:"nc-leadific",title:(0,s.t)("Leadific")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,s.t)("Settings"),options:[{id:"leadificCustomFields",devices:"desktop",label:(0,s.t)("Custom Fields"),type:"select-dev",choices:{load:()=>(0,a.getLeadificCustomFields)(h),emptyLoad:{title:(0,s.t)("No custom fields found!")}}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,s.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(P,x("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,s.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[p.NORMAL,p.HOVER]}]},{id:"tabTextStroke",label:(0,s.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[p.NORMAL,p.HOVER]}]},{id:"tabTextShadow",label:(0,s.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[p.NORMAL,p.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,s.t)("Link")},devices:"desktop",position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"external",label:(0,s.t)("URL"),options:[{id:"linkExternal",type:"inputText-dev",label:(0,s.t)("Link to"),placeholder:"https://",devices:"desktop",population:k},{id:"linkExternalBlank",label:(0,s.t)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:(0,s.t)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:(0,s.t)("Block"),options:[(0,m.toolbarLinkAnchor)({v:t,device:o,state:g,disabled:v||b})]},{id:"popup",label:(0,s.t)("Popup"),options:[{id:"linkPopup",disabled:S||w||v||b,type:"promptAddPopup",label:(0,s.t)("Popup"),popupKey:`${y.getId()}_${C}`,value:{value:C,popups:_},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,s.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,s.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,s.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,s.t)("More Settings"),position:110,title:(0,s.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},17878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=b(o(60042)),n=b(o(27378)),i=b(o(31440)),a=o(54668),l=b(o(36275)),s=o(73948),c=b(o(67439)),d=b(o(63692)),u=o(94220),p=o(86022),f=b(o(86134)),m=S(o(93830)),y=o(23802),g=S(o(5753)),h=o(51453);function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const w=["centerLeft","centerRight"],x={width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}};class P extends d.default{static get componentId(){return"Line"}static defaultValue=f.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>{this.patchValue(e)};renderLine(e){const{iconName:t,iconType:o,style:r,lineStyle:i,tagName:l}=e;switch(r){case"text":return n.default.createElement("span",{className:"brz-line-container"},n.default.createElement(a.Text,{className:"brz-line-content",id:"text",v:e,onChange:this.handleTextChange,tagName:l}));case"icon":return n.default.createElement("span",{className:"brz-line-container"},n.default.createElement("span",{className:"brz-line-icon-wrapper"},n.default.createElement(s.ThemeIcon,{className:"brz-line-content",name:t,type:o})));case"default":return(0,h.isDefaultLineType)(i)?n.default.createElement("hr",{className:"brz-hr"}):n.default.createElement("span",{className:"brz-line-container"})}}renderForEdit(e,t,o){const{customCSS:a}=e,s=(0,r.default)("brz-line",`brz-line-${e.style}`,(0,u.css)(this.getComponentId(),this.getId(),(0,y.style)(e,t,o)));return n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(g,m),n.default.createElement(l.default,{selectorName:this.getId(),css:a},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:s}),n.default.createElement(i.default,{points:w,restrictions:x,meta:this.props.meta,value:e,onChange:this.handleResizerChange},this.renderLine(e)))))}}const C=P},93830:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop"}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,r.t)("HTML Tag"),disabled:"text"!==("style",(0,n.defaultValueValue)({v:t,key:"style",device:o})),devices:"desktop",type:"select-dev",choices:[{title:"Span",value:"span"},{title:"Div",value:"div"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}]}]}]},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65,devices:"responsive"}]}]}]}},23802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover .brz-hr":{standart:["cssStyleElementLineBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-line-container:before":{standart:["cssStyleElementLineContentAlignBefore","cssStyleCustomLineBgColor","cssStyleCustomLineSize","cssStyleCustomLineAmount","cssStyleElementLineBorder","cssStyleElementLineStyledLineType","cssStyleBorderRadius"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-line-container:after":{standart:["cssStyleElementLineDisableAfter","cssStyleElementLineContentAlignAfter","cssStyleCustomLineBgColor","cssStyleCustomLineSize","cssStyleCustomLineAmount","cssStyleElementLineBorder","cssStyleElementLineStyledLineType","cssStyleBorderRadius"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-line-content":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz &&:hover.brz-line-text .brz-line-content":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementLineSpacing","cssStyleTextShadow"]},".brz &&:hover.brz-line-icon .brz-line-content":{standart:["cssStyleElementLineIconSize","cssStyleElementLineIconRotate"]},".brz &&:hover .brz-line-icon-wrapper":{standart:["cssStyleBoxShadow","cssStyleBorderRadius","cssStyleElementLineSpacing","cssStyleElementLineIconBgColor","cssStyleElementLineIconBorder","cssStyleElementLineIconPadding"],interval:["cssStyleHoverTransition"]}}})}},5753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=o(51453),f=e=>{switch(e){case"text":return(0,l.t)("Text");case"icon":return(0,l.t)("Icon");case"default":return""}};function m(e){let{v:t,device:o,context:n}=e;const m=(0,s.isStory)(r.default.getAll()),y=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),g=y("lineStyle"),h=y("style"),b="icon"===h,v="text"===h,S="default"===h,{hex:w}=(0,d.getOptionColorHexByPalette)(y("borderColorHex"),y("borderColorPalette")),x=(0,d.getDynamicContentOption)({options:n.dynamicContent.config,type:i.DCTypes.richText,config:{iconOnly:!0}});return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-divider",title:(0,l.t)("Style")},position:60,options:[{id:"lineTabs",type:"tabs-dev",position:10,tabs:[{id:"lineTab",label:(0,l.t)("Line"),options:[{id:"style",label:(0,l.t)("Style"),type:"radioGroup-dev",devices:"desktop",position:20,choices:[{value:"default",icon:"nc-line-solid"},{value:"text",icon:"nc-line-text"},{value:"icon",icon:"nc-line-icon"}]},{id:"lineStyle",label:(0,l.t)("Type"),type:"select-dev",position:30,devices:"desktop",choices:[{value:"solid",icon:{name:"nc-solid"},title:""},{value:"dashed",icon:{name:"nc-dashed"},title:""},{value:"dotted",icon:{name:"nc-dotted"},title:""},{value:"double",icon:{name:"nc-double"},title:""},{value:"groove",icon:{name:"nc-groove"},title:""},{value:"ridge",icon:{name:"nc-ridge"},title:""},{value:"inset",icon:{name:"nc-inset"},title:""},{value:"outset",icon:{name:"nc-outset"},title:""},{title:"",value:"diagonal-dash",icon:{name:"nc-diagonal-dash"}},{title:"",value:"fence",icon:{name:"nc-fence"}},{title:"",value:"fence2",icon:{name:"nc-fence2"}},{title:"",value:"hand-dashes",icon:{name:"nc-hand-dashes"}},{title:"",value:"hand-dots",icon:{name:"nc-hand-dots"}},{title:"",value:"hand-flows",icon:{name:"nc-hand-flows"}},{title:"",value:"hand-leaves",icon:{name:"nc-hand-leaves"}},{title:"",value:"line-dot",icon:{name:"nc-line-dot"}},{title:"",value:"stars",icon:{name:"nc-stars"}},{title:"",value:"waves",icon:{name:"nc-waves"}}]},{id:"weight",type:"slider-dev",label:(0,l.t)("Weight"),position:60,disabled:(0,p.isDefaultLineType)(g)||(0,p.isTypeWithoutWeight)(g),config:{min:1,max:5,units:[{value:"px",title:"px"}],step:.1}},{id:"borderWidth",label:(0,l.t)("Height"),type:"slider-dev",position:70,disabled:!(0,p.isDefaultLineType)(g),config:{min:1,max:50,units:[{value:"px",title:"px"}]}},{id:"amount",label:(0,l.t)("Amount"),type:"slider-dev",disabled:(0,p.isDefaultLineType)(g),config:{min:1,max:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"lineSize",label:(0,l.t)("Height"),type:"slider-dev",disabled:(0,p.isDefaultLineType)(g),config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]},{id:"secondTab",label:f(h),options:[{id:"icon",label:(0,l.t)("Icon"),type:"iconSetter-dev",devices:"desktop",disabled:!b},{id:"horizontalAlign",label:(0,l.t)("Align"),type:"radioGroup-dev",devices:"desktop",disabled:S,choices:[{value:"left",icon:"nc-line-align-left"},{value:"center",icon:"nc-line-align-center"},{value:"right",icon:"nc-line-align-right"}]},{id:"groupIconSize",type:"group-dev",options:[{id:"iconSizeBtns",label:(0,l.t)("Size"),type:"radioGroup-dev",disabled:!b,choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconSize",type:"slider-dev",disabled:!b||"custom"!==y("iconSizeBtns"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"spacing",type:"slider-dev",label:(0,l.t)("Spacing"),disabled:S,config:{units:[{value:"px",title:"px"}]}},{id:"iconPadding",type:"slider-dev",label:(0,l.t)("Padding"),devices:"desktop",disabled:!b,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"iconRotate",type:"slider-dev",label:(0,l.t)("Rotate"),devices:"desktop",disabled:!b,config:{min:0,max:360,units:[{title:"deg",value:"deg"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,l.t)("Typography")},disabled:!v,position:70,options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",devices:"desktop",type:"population-dev",config:x}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(w,y("borderColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:f(h),options:[{id:"color",type:"colorPicker-dev",disabled:S,states:[u.NORMAL,u.HOVER]}]},{id:"tabLine",label:(0,l.t)("Line"),options:[{id:"borderColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"iconBgColor",type:"colorPicker-dev",disabled:!b,states:[u.NORMAL,u.HOVER]}]},{id:"tabIconBorder",label:(0,l.t)("Border"),options:[{id:"iconBorder",type:"border-dev",states:[u.NORMAL,u.HOVER],disabled:!b}]},{id:"tabShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER],disabled:!b},{id:"textShadow",type:"textShadow-dev",states:[u.NORMAL,u.HOVER],disabled:!v}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},disabled:m,position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===y("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",disabled:!m,position:110}]}},51453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isDefaultLineType:function(){return o},isTypeWithoutWeight:function(){return r},getStyledLines:function(){return n}});const o=e=>{switch(e){case"solid":case"dashed":case"dotted":case"double":case"groove":case"ridge":case"inset":case"outset":return!0;default:return!1}},r=e=>["line-dot","stars"].some((t=>t===e)),n=e=>({"diagonal-dash":`\n \x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\n Diagonal-dash\n Created with Sketch.\n \n \n \n`,fence:`\n \x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\n Fence\n Created with Sketch.\n \n \n \n`,fence2:`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nFence2\nCreated with Sketch.\n\n \n\n`,"hand-dashes":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nHand Dashes\nCreated with Sketch.\n\n \n\n`,"hand-dots":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nHand-dots\nCreated with Sketch.\n\n \n\n`,"hand-flows":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nHand-flows\nCreated with Sketch.\n\n \n\n`,"hand-leaves":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nHand-leaves\nCreated with Sketch.\n\n \n\n`,"line-dot":`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nLine & Dot\nCreated with Sketch.\n\n \n\n`,stars:`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nStars\nCreated with Sketch.\n\n \n\n`,waves:`\n\x3c!-- Generator: Sketch 63.1 (92452) - https://sketch.com --\x3e\nWaves\nCreated with Sketch.\n\n \n\n`})},73006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=f(o(60042)),n=f(o(27378)),i=o(66848),a=f(o(67439)),l=f(o(63692)),s=o(92161),c=o(94220),d=o(46479),u=f(o(76134)),p=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(4167));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends l.default{static get componentId(){return"ForgotPasswordField"}static defaultValue=u.default;handleLabelChange=e=>{this.patchValue({label:e})};getLabel(e){const{label:t}=e;return null===t?"":t}getPlaceholder(e){const{placeholder:t,label:o}=e,{showPlaceholder:r,showLabel:n}=this.props;return"off"===r?"":null===t?o:t}renderForEdit(e,t,o){const{showLabel:l,toolbarExtendLabel:d}=this.props,u=(0,r.default)("brz-login-form__field",`brz-login-form__field-${e.type}`,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,s.style)(e,t,o))),f={height:""===e.label?0:"auto"};return n.default.createElement("div",{className:u},"ResetEmail"===e.type&&n.default.createElement("div",{className:"brz-login__item"},"on"===l&&n.default.createElement(a.default,d,n.default.createElement("div",{className:"brz-login__field-label",style:f},n.default.createElement("label",{className:"brz-label"},n.default.createElement(i.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(p),n.default.createElement("div",{className:"brz-login__field"},"on"===l?n.default.createElement("input",{className:"brz-input",type:"email",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({placeholder:e.target.value})}}):n.default.createElement("input",{className:"brz-input",type:"email",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({label:e.target.value,placeholder:e.target.value})}})))))}renderForView(e,t,o){const{showLabel:i}=this.props,a=(0,r.default)("brz-login-form__field",`brz-login-form__field-${e.type}`,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,s.style)(e,t,o))),l={height:""===e.label?0:"auto"};return n.default.createElement("div",{className:a},"ResetEmail"===e.type&&n.default.createElement("div",{className:"brz-login__item"},"on"===i&&n.default.createElement("div",{className:"brz-login__field-label",style:l},n.default.createElement("label",{className:"brz-label"},this.getLabel(e))),n.default.createElement("div",{className:"brz-login__field"},n.default.createElement("input",{type:"email",maxLength:"255",name:d.IS_WP?"user_login":"email",className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:!0}))))}}const g=y},4167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]}]}},54376:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=g(o(60042)),n=g(o(27378)),i=b(o(31916)),a=o(66848),l=g(o(33364)),s=o(73948),c=g(o(67439)),d=g(o(63692)),u=o(92161),p=o(94220),f=o(46479),m=g(o(21914)),y=b(o(2255));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const v=e=>{switch(e){case"Email":case"Password":case"Remember":return e;default:return}},S=e=>{switch(e){case"Email":return"text";case"Password":return"password"}},w=e=>{switch(e){case"Email":return f.IS_WP?"log":"email";case"Password":return f.IS_WP?"pwd":"password"}};class x extends d.default{static get componentId(){return"LoginField"}static defaultValue=m.default;state={value:"",active:{}};handleActive=e=>{this.setState({active:e})};handleLabelChange=e=>{this.patchValue({label:e})};handleLabelRememberChange=e=>{this.patchValue({label:e})};getLabel(e){const{label:t}=e;return null===t?"":t}getPlaceholder(e){const{placeholder:t,label:o}=e,{showPlaceholder:r,showLabel:n}=this.props;return"off"===r?"":null===t?o:t}renderIconForEdit=e=>{let{active:t}=e;return n.default.createElement("div",{className:"brz-control__check-group-icon"},n.default.createElement(l.default,{className:"brz-d-block",icon:t?"nc-check-square-on":"nc-check-square-off"}))};renderIconForView=()=>n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},n.default.createElement(s.ThemeIcon,{className:"brz-d-block",name:"check-square-on",type:"editor"})),n.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},n.default.createElement(s.ThemeIcon,{className:"brz-d-block",name:"check-square-off",type:"editor"})));renderForEdit(e,t,o){const{active:l}=this.state,{remember:s,showLabel:d,toolbarExtendLabel:m,toolbarExtendCheckbox:g}=this.props,{type:h}=e,b=(0,r.default)("brz-login-form__field",`brz-login-form__field-${h}`,`brz-login-form__field-remember-${s}`,(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),S={height:""===e.label?0:"auto"};return v(h)?n.default.createElement("div",{className:b},("Email"===h||"Password"===h)&&n.default.createElement("div",{className:"brz-login__item"},"on"===d&&n.default.createElement(c.default,m,n.default.createElement("div",{className:"brz-login__field-label",style:S},n.default.createElement("label",{className:"brz-label"},n.default.createElement(a.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),n.default.createElement(c.default,this.makeToolbarPropsFromConfig2(y),n.default.createElement("div",{className:"brz-login__field"},n.default.createElement("input",{name:f.IS_WP?"log":"email",className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),required:!0,onChange:e=>{"on"===d?this.patchValue({placeholder:e.target.value}):this.patchValue({label:e.target.value,placeholder:e.target.value})}})))),"Remember"===h&&"on"===s&&n.default.createElement("div",{className:"brz-login__item"},n.default.createElement(c.default,g,n.default.createElement(i.default,{defaultValue:l,onChange:this.handleActive},n.default.createElement(i.CheckGroupItem,{name:"rememberme",value:"forever",renderIcons:this.renderIconForEdit},n.default.createElement(a.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelRememberChange})))))):null}renderForView(e,t,o){const{remember:a,showLabel:l}=this.props,{type:s}=e,c=(0,r.default)("brz-login-form__field",`brz-login-form__field-${s}`,`brz-login-form__field-remember-${a}`,(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),d={height:""===e.label?0:"auto"},f=v(s),m="Email"===s;return f?n.default.createElement("div",{className:c},("Email"===s||"Password"===s)&&n.default.createElement("div",{className:"brz-login__item"},"on"===l&&n.default.createElement("div",{className:"brz-login__field-label",style:d},n.default.createElement("label",{className:"brz-label"},this.getLabel(e))),n.default.createElement("div",{className:"brz-login__field"},n.default.createElement("input",{type:S(f),maxLength:m?255:void 0,name:w(f),className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:!0}))),"Remember"===f&&"on"===a&&n.default.createElement("div",{className:"brz-login__item"},n.default.createElement(i.default,null,n.default.createElement(i.CheckGroupItem,{name:"rememberme",value:"forever",renderIcons:this.renderIconForView},this.getLabel(e))))):null}}const P=x},92161:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth","cssStyleElementForm2FlexBasisPercent"]}}})}},2255:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]}]}},7557:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=y(o(60042)),n=y(o(27378)),i=o(66848),a=y(o(33364)),l=o(73948),s=y(o(67439)),c=y(o(63692)),d=o(92161),u=o(94220),p=o(46479),f=y(o(81329)),m=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(44668));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const h=e=>{switch(e){case"Name":case"RegisterEmail":return e;default:return}},b=e=>{switch(e){case"FirstName":case"LastName":case"Username":case"RegisterEmail":case"Password":case"PasswordConfirm":case"Phone":return e;default:return}};class v extends c.default{static get componentId(){return"RegisterField"}static defaultValue=f.default;handleLabelChange=e=>{this.patchValue({label:e})};getLabel(e){const{label:t}=e;return null===t?"":t}getPlaceholder(e){const{placeholder:t,label:o}=e,{showPlaceholder:r,showLabel:n}=this.props;return"off"===r?"":null===t?o:t}getWpFieldType(e){switch(h(e)){case"Name":return"text";case"RegisterEmail":return"email";case void 0:return""}}getWpFieldName(e){switch(h(e)){case"Name":return"user_login";case"RegisterEmail":return"user_email";case void 0:return""}}getCloudFieldType(e){switch(b(e)){case"FirstName":case"LastName":case"Username":case"Phone":return"text";case"RegisterEmail":return"email";case"Password":case"PasswordConfirm":return"password";case void 0:return""}}getCloudFieldName(e){switch(b(e)){case"FirstName":return"firstName";case"LastName":return"lastName";case"Username":return"userName";case"RegisterEmail":return"email";case"Password":return"password";case"PasswordConfirm":return"passwordConfirm";case"Phone":return"phone";case void 0:return""}}renderIconForEdit=e=>{let{active:t}=e;return n.default.createElement("div",{className:"brz-control__check-group-icon"},n.default.createElement(a.default,{className:"brz-d-block",icon:t?"nc-check-square-on":"nc-check-square-off"}))};renderIconForView=()=>n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},n.default.createElement(l.ThemeIcon,{className:"brz-d-block",name:"check-square-on",type:"editor"})),n.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},n.default.createElement(l.ThemeIcon,{className:"brz-d-block",name:"check-square-off",type:"editor"})));renderRegisterInfoForEdit(e,t,o){const{type:r}=e;return"RegisterInfo"===r&&"on"===t&&n.default.createElement("div",{className:"brz-login__item"},n.default.createElement(s.default,o,n.default.createElement("div",{className:"brz-login__register-info"},n.default.createElement(i.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange}))))}renderRegisterInfoForView(e,t){const{type:o}=e;return"RegisterInfo"===o&&"on"===t&&n.default.createElement("div",{className:"brz-login__item"},n.default.createElement("div",{className:"brz-login__register-info"},this.getLabel(e)))}renderForEdit(e,t,o){const{showLabel:a,toolbarExtendLabel:l,toolbarRegisterInfo:c,showRegisterInfo:f,showFirstName:y,showLastName:g,showUsername:h,showPhoneNumber:b}=this.props,{type:v}=e,S=(0,r.default)("brz-login-form__field",`brz-login-form__field-${v}`,{"brz-login-form__field-registerInfo-off":"off"===f&&"RegisterInfo"===v},(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.style)(e,t,o))),w={height:""===e.label?0:"auto"};return p.IS_WP?n.default.createElement("div",{className:S},("Name"===v||"RegisterEmail"===v)&&n.default.createElement("div",{className:"brz-login__item"},"on"===a&&n.default.createElement(s.default,l,n.default.createElement("div",{className:"brz-login__field-label",style:w},n.default.createElement("label",{className:"brz-label"},n.default.createElement(i.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(m),n.default.createElement("div",{className:"brz-login__field"},"on"===a?n.default.createElement("input",{className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({placeholder:e.target.value})}}):n.default.createElement("input",{className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({label:e.target.value,placeholder:e.target.value})}})))),this.renderRegisterInfoForEdit(e,f,c)):("FirstName"===v&&"on"===y||"LastName"===v&&"on"===g||"Username"===v&&"on"===h||"RegisterEmail"===v||"Password"===v||"PasswordConfirm"===v||"Phone"===v&&"on"===b)&&n.default.createElement("div",{className:S},n.default.createElement("div",{className:"brz-login__item"},"on"===a&&n.default.createElement(s.default,l,n.default.createElement("div",{className:"brz-login__field-label",style:w},n.default.createElement("label",{className:"brz-label"},n.default.createElement(i.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(m),n.default.createElement("div",{className:"brz-login__field"},"on"===a?n.default.createElement("input",{className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({placeholder:e.target.value})}}):n.default.createElement("input",{className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),onChange:e=>{this.patchValue({label:e.target.value,placeholder:e.target.value})}})))))}renderForView(e,t,o){const{showLabel:i,showRegisterInfo:a,showFirstName:l,showLastName:s,showUsername:c,showPhoneNumber:f}=this.props,{type:m}=e,y=(0,r.default)("brz-login-form__field",`brz-login-form__field-${m}`,{"brz-login-form__field-registerInfo-off":"off"===a&&"RegisterInfo"===m},(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.style)(e,t,o))),g={height:""===e.label?0:"auto"};return p.IS_WP?n.default.createElement("div",{className:y},("Name"===m||"RegisterEmail"===m)&&n.default.createElement("div",{className:"brz-login__item"},"on"===i&&n.default.createElement("div",{className:"brz-login__field-label",style:g},n.default.createElement("label",{className:"brz-label"},this.getLabel(e))),n.default.createElement("div",{className:"brz-login__field"},n.default.createElement("input",{type:this.getWpFieldType(m),name:this.getWpFieldName(m),maxLength:"email"===this.getWpFieldType(m)?255:void 0,className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:!0}))),this.renderRegisterInfoForView(e,a)):("FirstName"===m&&"on"===l||"LastName"===m&&"on"===s||"Username"===m&&"on"===c||"RegisterEmail"===m||"Password"===m||"PasswordConfirm"===m||"Phone"===m&&"on"===f)&&n.default.createElement("div",{className:y},n.default.createElement("div",{className:"brz-login__item"},"on"===i&&n.default.createElement("div",{className:"brz-login__field-label",style:g},n.default.createElement("label",{className:"brz-label"},this.getLabel(e))),n.default.createElement("div",{className:"brz-login__field"},n.default.createElement("input",{type:this.getCloudFieldType(m),name:this.getCloudFieldName(m),maxLength:"email"===this.getCloudFieldType(m)?255:void 0,className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:"RegisterEmail"===m||"Password"===m||"PasswordConfirm"===m}))))}}const S=v},44668:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]}]}},12105:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return R}});const r=L(o(60042)),n=L(o(27378)),i=o(10301),a=o(66848),l=L(o(36275)),s=L(o(67439)),c=L(o(10787)),d=L(o(63692)),u=N(o(64053)),p=N(o(83237)),f=N(o(8750)),m=N(o(83315)),y=N(o(86049)),g=N(o(11319)),h=o(8704),b=L(o(22546)),v=o(94220),S=o(9644),w=o(46479),x=o(86022),P=L(o(48442)),C=N(o(26786)),T=N(o(23078)),_=N(o(6980)),k=N(o(74803)),M=N(o(48649)),O=o(40247),E=N(o(87732)),B=N(o(9246)),z=N(o(22802)),I=N(o(39783)),j=L(o(5840));function L(e){return e&&e.__esModule?e:{default:e}}function F(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(F=function(e){return e?o:t})(e)}function N(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=F(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class D extends d.default{static get componentId(){return"Login"}static defaultValue=P.default;static defaultProps={extendParentToolbar:i.noop};canRegister=()=>!w.IS_WP||"1"===b.default.get("wp").usersCanRegister;componentDidMount(){const e=this.makeToolbarPropsFromConfig2((0,j.default)(this.canRegister()),k,{allowExtend:!1});this.props.extendParentToolbar(e)}handleResizerChange=e=>this.patchValue(e);handleLinkChange=e=>{this.patchValue({lostPassword:e})};handleRegisterLinkChange=e=>{this.patchValue({registerLink:e})};handleLoginLinkChange=e=>{this.patchValue({loginLink:e})};handleSubmit=e=>{e.preventDefault()};getRegisterSlices(){return w.IS_WP?{startIndex:3,endIndex:6}:{startIndex:11,endIndex:18}}getButtonSlices(e,t){if(e<9)return{startIndex:7,endIndex:8};switch(t){case"login":return{startIndex:8,endIndex:9};case"register":return{startIndex:9,endIndex:10};case"forgot":return{startIndex:10,endIndex:11}}}getDefaultRoles(e){try{return JSON.stringify(JSON.parse(e)?.map((e=>({id:e}))))}catch{return[]}}renderLink(e){if(w.IS_WP){const{logoutRedirectType:t,logoutRedirect:o}=e,r=(0,S.makePlaceholder)({content:"{{editor_logout_url}}",attr:{redirect:"samePage"===t?"samePage":o}});return n.default.createElement("a",{className:"brz-login__authorized-link",href:r}," ","Logout")}return n.default.createElement("span",{className:"brz-login__authorized-link"}," Logout")}renderLoginFields(e){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:3,itemProps:{meta:this.props.meta,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(z,_,{allowExtend:!1}),toolbarExtendCheckbox:this.makeToolbarPropsFromConfig2(B,null,{allowExtend:!1}),toolbarExtend:this.makeToolbarPropsFromConfig2(E,T,{allowExtend:!1}),showLabel:e.showLabel,showPlaceholder:e.showPlaceholder,remember:e.remember}});return n.default.createElement(c.default,t)}renderRegisterFields(e){const t=this.getRegisterSlices(),o=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:t.startIndex,sliceEndIndex:t.endIndex,itemProps:{meta:this.props.meta,toolbarRegisterInfo:this.makeToolbarPropsFromConfig2(y,null,{allowExtend:!1}),toolbarExtendLabel:this.makeToolbarPropsFromConfig2(z,_,{allowExtend:!1}),toolbarExtendCheckbox:this.makeToolbarPropsFromConfig2(B,null,{allowExtend:!1}),toolbarExtend:this.makeToolbarPropsFromConfig2(E,T,{allowExtend:!1}),showLabel:e.showLabel,showPlaceholder:e.showPlaceholder,remember:e.remember,showRegisterInfo:e.showRegisterInfo,showFirstName:e.showFirstName,showLastName:e.showLastName,showUsername:e.showUsername,showPhoneNumber:e.showPhoneNumber}});return n.default.createElement(c.default,o)}renderForgotPasswordFields(e){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:6,sliceEndIndex:7,itemProps:{meta:this.props.meta,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(z,_,{allowExtend:!1}),toolbarExtendCheckbox:this.makeToolbarPropsFromConfig2(B,null,{allowExtend:!1}),toolbarExtend:this.makeToolbarPropsFromConfig2(E,T,{allowExtend:!1}),showLabel:e.showLabel,showPlaceholder:e.showPlaceholder,remember:e.remember}});return n.default.createElement(c.default,t)}renderButton(e,t){const o=this.getButtonSlices(e,t),r=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:o.startIndex,sliceEndIndex:o.endIndex,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(f,u,{allowExtend:!1}),attributes:{}}});return n.default.createElement("div",{className:"brz-login-form__field brz-login__item-button"},n.default.createElement("div",{className:"brz-login__item brz-align-self-xs-end"},n.default.createElement(c.default,r)))}renderLostYourPasswordLink(e){return n.default.createElement(s.default,{...this.makeToolbarPropsFromConfig2(I,C),key:"forgot"},n.default.createElement("div",{className:"brz-login-form__field brz-login-form__field-lost-password"},n.default.createElement(a.TextEditor,{value:e,onChange:this.handleLinkChange})))}renderRegisterLink(e){return n.default.createElement(s.default,{...this.makeToolbarPropsFromConfig2(g),key:"register"},n.default.createElement("div",{className:"brz-login-form__field brz-login-form__field-register-link"},n.default.createElement(a.TextEditor,{value:e,onChange:this.handleRegisterLinkChange})))}renderLoginLink(e){return n.default.createElement(s.default,{...this.makeToolbarPropsFromConfig2(m,M),key:"login"},n.default.createElement("div",{className:"brz-login-form__field brz-login-form__field-login-link"},n.default.createElement(a.TextEditor,{value:e,onChange:this.handleLoginLinkChange})))}renderLoginForm(e){const{showLostPassword:t,showRegisterLink:o,registerLink:r,lostPassword:i}=e;return n.default.createElement(n.default.Fragment,null,this.renderLoginFields(e),this.renderButton(e.items.length,"login"),"on"===t&&this.renderLostYourPasswordLink(i),"on"===o&&this.canRegister()&&this.renderRegisterLink(r))}renderRegisterForm(e){const{showLostPassword:t,loginLink:o,showLoginLink:r,lostPassword:i}=e;return n.default.createElement(n.default.Fragment,null,this.renderRegisterFields(e),this.renderButton(e.items.length,"register"),"on"===r&&this.renderLoginLink(o),"on"===t&&this.renderLostYourPasswordLink(i))}renderForgotForm(e){const{showRegisterLink:t,loginLink:o,showLoginLink:r,registerLink:i}=e;return n.default.createElement(n.default.Fragment,null,this.renderForgotPasswordFields(e),this.renderButton(e.items.length,"forgot"),"on"===r&&this.renderLoginLink(o),"on"===t&&this.canRegister()&&this.renderRegisterLink(i))}renderAuthorizedForm(e){const t=n.default.createElement("p",null,"John Doe"),o=(0,S.makePlaceholder)({content:"{{editor_user_display_name}}"});return n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(p,C),n.default.createElement("div",{className:"brz-login__authorized"},"on"===e.showName&&n.default.createElement(h.DynamicContentHelper,{placeholder:o,tagName:"p",fallbackComponent:t}),this.renderLink(e)))}getActions(e){switch(e){case"register":return(0,S.makePlaceholder)({content:"{{editor_registration_url}}"});case"forgot":return(0,S.makePlaceholder)({content:"{{editor_lostpassword_url}}"});default:return(0,S.makePlaceholder)({content:"{{editor_login_url}}"})}}renderFormForView(e){const{defaultRoles:t}=e;return n.default.createElement(n.default.Fragment,null,this.renderAuthorizedForm(e),n.default.createElement("form",{className:"brz-login-form brz-login-form__login",noValidate:!0},this.renderLoginForm(e)),n.default.createElement("form",{className:"brz-login-form brz-login-form__register",noValidate:!0,"data-defaultrole":this.getDefaultRoles(t)},this.renderRegisterForm(e)),n.default.createElement("form",{className:"brz-login-form brz-login-form__forgot",noValidate:!0},this.renderForgotForm(e)))}renderForEdit(e,t,o){const{type:i}=e,a=(0,r.default)("brz-login",(0,v.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,O.style)(e,t,o))),s="login"===i?this.renderLoginForm(e):"register"===i?this.renderRegisterForm(e):"forgot"===i?this.renderForgotForm(e):void 0;return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(x.Wrapper,this.makeWrapperProps({className:a}),"authorized"===i?this.renderAuthorizedForm(e):n.default.createElement("form",{className:"brz-login-form"},s)))}renderForView(e,t,o){const{type:i}=e,a=(0,r.default)("brz-login",(0,v.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,O.style)(e,t,o)));return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(x.Wrapper,this.makeWrapperProps({className:a,attributes:{"data-islogged":(0,S.makePlaceholder)({content:"{{editor_is_user_logged_in}}"}),"data-redirect":e.redirectType,"data-redirect-value":e.messageRedirect,"data-error-empty":e.emptyFieldsError,"data-error-passlength":e.passLengthError,"data-error-passmatch":e.passMatchError,type:i}}),this.renderFormForView(e)))}}const R=D},48179:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=a(o(27378)),n=o(9644),i=a(o(12105));function a(e){return e&&e.__esModule?e:{default:e}}class l extends i.default{getActions(e){const t=(0,n.makePlaceholder)({content:"{{brizy_dc_ajax_url}}"}),o=(0,n.makePlaceholder)({content:"{{editor_nonce}}",attr:{action:"brizy-login"}});switch(e){case"register":return`${t}?action=editor_signup&hash=${o}`;case"forgot":return`${t}?action=editor_lostpassword&hash=${o}`;default:return`${t}?action=editor_login&hash=${o}`}}renderFormForView(e){return r.default.createElement(r.default.Fragment,null,this.renderAuthorizedForm(e),r.default.createElement("form",{className:"brz-login-form brz-login-form__login",noValidate:!0,action:this.getActions("login")},this.renderLoginForm(e)),this.canRegister()&&r.default.createElement("form",{className:"brz-login-form brz-login-form__register",noValidate:!0,action:this.getActions("register"),method:"post"},this.renderRegisterForm(e)),r.default.createElement("form",{className:"brz-login-form brz-login-form__forgot",noValidate:!0,action:this.getActions("forgot"),method:"post"},this.renderForgotForm(e)))}}},26786:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},23078:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},64053:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},6980:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},74803:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},48649:(e,t)=>{"use strict";function o(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0,tabs:[]}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},40247:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-login-form":{standart:["cssStyleDisplayFlex","cssStyleElementLoginFormMargin"]},".brz &&:hover .brz-login__item-button":{standart:["cssStyleDisplayFlex","cssStyleMarginAlign","cssStyleElementForm2SubmitWidth"]},".brz && .brz-login__authorized":{standart:["cssStyleElementLoginAutorizedAlign"]},".brz && .brz-login__authorized p,.brz && .brz-login__authorized a,.brz && .brz-login__authorized span":{standart:["cssStyleElementLoginTextTypography2FontFamily","cssStyleElementLoginTextTypography2FontSize","cssStyleElementLoginTextTypography2LineHeight","cssStyleElementLoginTextTypography2FontWeight","cssStyleElementLoginTextTypography2LetterSpacing"]},".brz && .brz-login__authorized p:hover":{standart:["cssStyleElementLoginTextColor"]},".brz && .brz-login__authorized a:hover":{standart:["cssStyleElementLoginLinkColor"]},".brz && .brz-login__authorized span:hover":{standart:["cssStyleElementLoginLinkColor"]},".brz && .brz-login-form .brz-input:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStylePaddingFourFields","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && .brz-login-form .brz-login-form__field":{standart:["cssStyleElementLoginFieldPadding"]},".brz && .brz-login-form .brz-login__field-label":{standart:["cssStyleElementForm2FieldsLabelPadding"]},".brz &&:hover .brz-login-form .brz-login__field-label":{standart:["cssStyleLabelColor","cssStyleElementForm2FieldsLabelAlign"]},".brz &&:hover .brz-login-form .brz-login__field-label .brz-label":{standart:["cssStyleElementForm2FieldsLabelFontFamily","cssStyleElementForm2FieldsLabelFontSize","cssStyleElementForm2FieldsLabelFontWeight","cssStyleElementForm2FieldsLabelLetterSpacing","cssStyleElementForm2FieldsLabelLineHeight"]},".brz && .brz-login-form .brz-login-form__field-lost-password:hover":{standart:["cssStyleElementLoginLostPasswordColor","cssStyleElementLoginLostPasswordTypography2FontFamily","cssStyleElementLoginLostPasswordTypography2FontSize","cssStyleElementLoginLostPasswordTypography2FontWeight","cssStyleElementLoginLostPasswordTypography2LetterSpacing","cssStyleElementLoginLostPasswordTypography2LineHeight","cssStyleElementLoginLostPasswordAlign"]},".brz && .brz-login-form .brz-control__check-group-option:hover":{standart:["cssStyleElementForm2FieldsCheckboxColor","cssStyleElementForm2FieldsCheckboxFontFamily","cssStyleElementForm2FieldsCheckboxFontSize","cssStyleElementForm2FieldsCheckboxFontWeight","cssStyleElementForm2FieldsCheckboxLetterSpacing","cssStyleElementForm2FieldsCheckboxLineHeight","cssStyleElementLoginRememberMeAlign"]},".brz && .brz-login-form .brz-login__register-info:hover":{standart:["cssStyleElementLoginRegisterInfoTypography2FontFamily","cssStyleElementLoginRegisterInfoTypography2FontSize","cssStyleElementLoginRegisterInfoTypography2LineHeight","cssStyleElementLoginRegisterInfoTypography2FontWeight","cssStyleElementLoginRegisterInfoTypography2LetterSpacing","cssStyleElementRegisterInfoColor","cssStyleElementRegisterInfoAlign"]},".brz && .brz-login-form .brz-login-form__field-register-link:hover":{standart:["cssStyleElementLoginRegisterLinkTypography2FontFamily","cssStyleElementLoginRegisterLinkTypography2FontSize","cssStyleElementLoginRegisterLinkTypography2LineHeight","cssStyleElementLoginRegisterLinkTypography2FontWeight","cssStyleElementLoginRegisterLinkTypography2LetterSpacing","cssStyleElementLoginRegisterLinkColor","cssStyleElementLoginRegisterLinkAlign"]},".brz && .brz-login-form .brz-login-form__field-login-link:hover":{standart:["cssStyleElementLoginLoginLinkTypography2FontFamily","cssStyleElementLoginLoginLinkTypography2FontSize","cssStyleElementLoginLoginLinkTypography2LineHeight","cssStyleElementLoginLoginLinkTypography2FontWeight","cssStyleElementLoginLoginLinkTypography2LetterSpacing","cssStyleElementLoginLoginLinkColor","cssStyleElementLoginLoginLinkAlign"]}}})}},83237:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette"));return[{id:"popoverLogout",type:"popover-dev",config:{icon:"nc-link",title:(0,n.t)("Logout"),size:"medium"},position:60,options:[{id:"redirectGroup",type:"group-dev",options:[{id:"logoutRedirectType",type:"select-dev",label:(0,n.t)("Redirect After Logout"),devices:"desktop",choices:[{title:(0,n.t)("Same Page"),value:"samePage"},{title:(0,n.t)("Custom"),value:"custom"}]},{id:"logoutRedirect",label:(0,n.t)("URL"),type:"inputText-dev",disabled:"custom"!==s("logoutRedirectType"),devices:"desktop",placeholder:"http://"}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"text",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabLink",label:(0,n.t)("Link"),options:[{id:"linkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"autorizedHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},87732:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=o(57582);function c(e){let{v:t,device:o}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,n.t)("Field")},position:60,options:[{id:"tabsCurrentElementFields",type:"tabs-dev",tabs:[{id:"tabsCurrentElementField",label:(0,n.t)("Field"),options:[(0,s.toolbarElementForm2Size)({v:t,device:o}),{id:"fieldPadding",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"tabsCurrentElementAdvanced",label:(0,n.t)("Advanced"),options:[{id:"showLabel",label:(0,n.t)("Label"),devices:"desktop",type:"switch-dev"},{id:"showPlaceholder",label:(0,n.t)("Placeholder"),devices:"desktop",type:"switch-dev"}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:c("bgColorOpacity")>0?(0,r.hexToRgba)(u,c("borderColorOpacity")):(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabInput",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},8750:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;return[{id:"popoverLink",type:"popover-dev",config:{icon:"nc-link",title:(0,r.t)("Link"),size:"medium"},position:90,options:[{id:"redirectGroup",type:"group-dev",options:[{id:"redirectType",type:"select-dev",label:(0,r.t)("Redirect After Login"),devices:"desktop",choices:[{title:(0,r.t)("Same Page"),value:"samePage"},{title:(0,r.t)("Custom"),value:"custom"}]},{id:"messageRedirect",label:(0,r.t)("URL"),type:"inputText-dev",disabled:"custom"!==("redirectType",(0,n.defaultValueValue)({v:t,key:"redirectType",device:o})),devices:"desktop",placeholder:"http://"}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},position:110,options:[{id:"submitWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},9246:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(81405),i=o(68256),a=o(69321),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,i.getOptionColorHexByPalette)(s("checkboxColorHex"),s("checkboxColorPalette"));return[{id:"toolbarTypographyCheckbox",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"checkbox",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorCheckbox",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(c,s("checkboxColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"checkboxColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"rememberMeHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},22802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,n.t)("Field")},position:60,options:[{id:"labelPaddingBottom",label:(0,n.t)("Spacing"),position:60,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("labelColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"labelColor",type:"colorPicker-dev"}]},{id:"labelHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},39783:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("lostColorHex"),s("lostColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"lost",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("lostColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"lostColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"lostHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},5840:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return c},getItems:function(){return u}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(46479),a=o(64985),l=o(14052),s=o(69321),c=e=>({getItems:u(e)}),d=e=>{switch(e){case"forgot":case"register":return(0,a.t)("Back to Login");case"login":case"authorized":return(0,a.t)("Login")}},u=e=>t=>{let{v:o,device:n}=t;const c=r.default.getAll(),u=[{value:"login",title:"Login"},{value:"authorized",title:"Authorized"},...e?[{value:"register",title:"Register"}]:[],{value:"forgot",title:"Forgot Password"}],p=("type",(0,s.defaultValueValue)({v:o,key:"type",device:n}));const f="register"===p,m="login"===p,y="forgot"===p,g="authorized"===p;return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,a.t)("Forms")},position:60,options:[{id:"tabsCurrentElementFields",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabsCurrentElementField",label:(0,a.t)("Type"),options:[{id:"type",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:u},{id:"defaultRoles",type:"multiSelect-dev",label:(0,a.t)("Default Roles"),devices:"desktop",placeholder:"none",disabled:!f||i.IS_WP,choices:(0,l.getMembershipChoices)(c)}]},{id:"tabsCurrentElementAdvanced",label:(0,a.t)("Advanced"),options:[{id:"remember",label:(0,a.t)("Remember me"),devices:"desktop",disabled:!m,type:"switch-dev"},{id:"showName",type:"switch-dev",label:(0,a.t)("Full name"),devices:"desktop",disabled:!g},{id:"showFirstName",label:(0,a.t)("First Name"),devices:"desktop",disabled:!f||i.IS_WP,type:"switch-dev"},{id:"showLastName",label:(0,a.t)("Last Name"),devices:"desktop",disabled:!f||i.IS_WP,type:"switch-dev"},{id:"showUsername",label:(0,a.t)("Username"),devices:"desktop",disabled:!f||i.IS_WP,type:"switch-dev"},{id:"showPhoneNumber",label:(0,a.t)("Phone Number"),devices:"desktop",disabled:!f||i.IS_WP,type:"switch-dev"},{id:"showRegisterInfo",label:(0,a.t)("Register Info"),devices:"desktop",disabled:!f||i.IS_CLOUD,type:"switch-dev"},{id:"showLoginLink",label:d(p),devices:"desktop",disabled:!f&&!y,type:"switch-dev"},{id:"showLostPassword",label:(0,a.t)("Lost Password"),devices:"desktop",disabled:!f&&!m,type:"switch-dev"},{id:"showRegisterLink",label:(0,a.t)("Register"),devices:"desktop",disabled:!y&&!m||!e,type:"switch-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},83315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("loginLinkColorHex"),s("loginLinkColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"loginLink",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("loginLinkColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"loginLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"loginLinkHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},86049:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("registerInfoColorHex"),s("registerInfoColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"registerInfo",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("registerInfoColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"registerInfoColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"registerInfoHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},11319:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("registerLinkColorHex"),s("registerLinkColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"registerLink",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("registerLinkColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"registerLinkColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"registerLinkHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},84157:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=o(42162),n=C(o(60042)),i=C(o(27378)),a=C(o(31440)),l=C(o(1440)),s=o(62948),c=C(o(67439)),d=C(o(10787)),u=C(o(63692)),p=o(26989),f=o(97045),m=o(92213),y=o(94220),g=o(59209),h=o(64985),b=o(81842),v=o(86022),S=C(o(65349)),w=_(o(89281)),x=o(92538),P=_(o(48885));function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const k=["topLeft","topRight","bottomLeft","bottomRight"];class M extends u.default{static get componentId(){return"Lottie"}static defaultValue=S.default;state={animation:null};getAnimation=(()=>{var e=this;return function(){fetch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"https://assets6.lottiefiles.com/private_files/lf30_1KyL2Q.json").then((e=>e.json())).then((t=>{e.setState({animation:t})}),(()=>{s.ToastNotification.error((0,h.t)("Your link is not correct"))}))}})();componentDidMount(){const{animationFile:e,animationLink:t}=this.getValue();this.getAnimation(e?(0,g.customFileUrl)(e):t)}handleValueChange(e,t){super.handleValueChange(e,t);const{animationFile:o,animationLink:r}=t.patch||{};if(void 0===o&&void 0===r)return;const n=(0,g.customFileUrl)(o)||r;if(n)this.getAnimation(n);else{const{animationFile:e,animationLink:t}=this.getValue(),o=t||(0,g.customFileUrl)(e);this.getAnimation(o)}}handleResizerChange=e=>this.patchValue(e);renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,f.blocksDataSelector)((0,m.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return i.default.createElement(d.default,e)}renderForEdit(e,t,o){const{speed:l,loop:s,autoplay:d,direction:u,renderer:g}=e,{animation:h}=this.state,b={animationData:h,speed:l,direction:Number(u),isLoop:"on"===s,isAutoplay:"on"===d,renderer:g},S=(0,n.default)("brz-lottie",(0,y.css)(this.constructor.componentId,this.getId(),(0,x.style)(e,t,o)));return i.default.createElement(i.default.Fragment,null,i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(P,w),i.default.createElement(v.Wrapper,this.makeWrapperProps({className:S}),i.default.createElement(a.default,{points:k,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},i.default.createElement(r.LottieEditor,{...b,key:`renderer-${g}`})))),(0,p.shouldRenderPopup)(e,(0,f.blocksDataSelector)((0,m.getStore)().getState()))&&this.renderPopups())}renderForView(e,t,o){const{speed:a,loop:s,autoplay:c,direction:d,renderer:u,animationLink:h,animationFile:S}=e,w=(0,b.getLinkData)(e),P=(0,n.default)("brz-lottie",(0,y.css)(this.constructor.componentId,this.getId(),(0,x.style)(e,t,o))),C=S?(0,g.customFileUrl)(S):h;return i.default.createElement(i.default.Fragment,null,i.default.createElement(v.Wrapper,this.makeWrapperProps({className:P}),w.href?i.default.createElement(l.default,{href:w.href,type:w.type,target:w.target,rel:w.rel,slide:w.slide},i.default.createElement(r.LottieView,{animationData:C,speed:a,isLoop:s,isAutoplay:c,direction:d,renderer:u})):i.default.createElement(r.LottieView,{animationData:C,speed:a,isLoop:s,isAutoplay:c,direction:d,renderer:u})),(0,p.shouldRenderPopup)(e,(0,f.blocksDataSelector)((0,m.getStore)().getState()))&&this.renderPopups())}}const O=M},89281:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Lottie");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},92538:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover.brz-lottie":{standart:["cssStyleSizeWidth","cssStyleBgColor","cssStyleBgGradient","cssStyleBorder","cssStyleBoxShadow"]},".brz &&:hover.brz-lottie .brz-ed-box__resizer div svg, .brz-lottie .brz-ed-box__resizer div canvas, &&.brz-lottie .brz-lottie-anim svg, &&.brz-lottie .brz-lottie__canvas canvas":{standart:["cssStylePaddingBG"]}}})}},48885:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=o(57582);function f(e){let{v:t,device:o,component:n}=e;const f=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),m=Boolean(n.props.meta.sectionPopup),y=Boolean(n.props.meta.sectionPopup2),{hex:g}=(0,d.getOptionColorHexByPalette)(f("bgColorHex"),f("bgColorPalette")),h=r.default.getAll(),b=h?.api?.collectionTypes?.loadCollectionTypes.handler,v=(0,s.isStory)(h),S=(0,s.isPopup)(h),w=f("linkSource");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-lottie",title:(0,l.t)("Lottie")},devices:"desktop",position:70,options:[{id:"animationLink",label:(0,l.t)("Lottie Link"),type:"inputText-dev",devices:"desktop",placeholder:"lottie link",disabled:""!==f("animationFile"),config:{size:"medium"},helper:{content:(0,l.t)("This is Lottie .json URL. Get more from LottieFiles.com.")}},{id:"animationFile",label:(0,l.t)("Lottie File"),type:"fileUpload-dev",config:{allowedExtensions:[".json"]},devices:"desktop"},{id:"renderer",type:"select-dev",label:(0,l.t)("Renderer"),choices:[{title:"SVG",value:"svg"},{title:"Canvas",value:"canvas"}]},{id:"autoplay",label:(0,l.t)("Autoplay"),type:"switch-dev"},{id:"direction",label:(0,l.t)("Reverse"),type:"switch-dev",disabled:"off"===f("autoplay"),config:{on:"-1",off:"1"}},{id:"loop",label:(0,l.t)("Loop"),type:"switch-dev",disabled:"off"===f("autoplay")},{id:"speed",type:"slider-dev",label:(0,l.t)("Speed"),devices:"desktop",config:{min:.1,max:5,step:.1}}]},{id:"toolbarColor",type:"popover-dev",position:80,config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(g,f("bgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,l.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,l.t)("Link")},position:90,devices:"desktop",options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"page",label:(0,l.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!b,label:(0,l.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(h),emptyLoad:{title:(0,l.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,l.t)("Find Page"),devices:"desktop",disabled:!w,config:{postType:w}}]},{id:"external",label:(0,l.t)("URL"),options:[(0,p.toolbarLinkExternal)({v:t,config:n.context.dynamicContent.config}),{id:"linkExternalBlank",label:(0,l.t)("Open In New Tab"),type:"switch-dev"},{id:"linkExternalRel",label:(0,l.t)("Make it Nofollow"),type:"switch-dev"}]},{id:"anchor",label:(0,l.t)("Block"),options:[(0,p.toolbarLinkAnchor)({v:t,disabled:S||v})]},{id:"popup",label:(0,l.t)("Popup"),options:[{id:"linkPopup",type:"promptAddPopup",disabled:m||y||S||v,label:(0,l.t)("Popup"),popupKey:`${n.getId()}_${f("linkPopup")}`,value:{value:f("linkPopup"),popups:f("popups")},onChange:e=>{let{value:t,popups:o}=e;return{linkPopup:t,popups:o}}}]},{id:"story",label:(0,l.t)("Slides"),options:[(0,p.toolbarStoryAnchor)({disabled:!v})]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,l.t)("Settings"),icon:"nc-cog"},position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===f("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},96363:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return I}});const r=o(42162),n=k(o(60042)),i=k(o(27378)),a=k(o(31440)),l=k(o(36275)),s=o(62182),c=o(21407),d=o(10730),u=k(o(67439)),p=k(o(63692)),f=k(o(22546)),m=o(97045),y=o(94220),g=o(46479),h=o(16526),b=o(69321),v=o(86845),S=O(o(24119)),w=o(59638),x=o(86022),P=k(o(77504)),C=O(o(68960)),T=o(16359),_=O(o(70233));function k(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const E=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"],B=e=>{const{size:t,tabletSize:o,mobileSize:r,sizeSuffix:n,tabletSizeSuffix:i,mobileSizeSuffix:a,...l}=e;return{width:t,tabletWidth:o,mobileWidth:r,widthSuffix:n,tabletWidthSuffix:i,mobileWidthSuffix:a,...l}};class z extends p.default{static get componentId(){return"Map"}static defaultValue=P.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue((e=>(e.width&&(e.size=e.width,delete e.width),e.tabletWidth&&(e.tabletSize=e.tabletWidth,delete e.tabletWidth),e.mobileWidth&&(e.mobileSize=e.mobileWidth,delete e.mobileWidth),e))(e));dvv=e=>{const t=this.getValue(),o=(0,m.deviceModeSelector)(this.getReduxState()),r=S.mRead(t.tabsState);return(0,b.defaultValueValue)({v:t,key:e,device:o,state:r})};getHoverData=e=>{const{wrapperAnimationId:t,wrapperAnimationActive:o="false"}=this.props.meta,r=(0,w.read)(this.dvv("hoverName"))??"none",n=(0,d.makeOptionValueToAnimation)(e),i=(0,w.read)(t)??this.getId(),a=(0,v.read)(o);return{animationId:i,hoverName:r,options:(0,c.getHoverAnimationOptions)(n,r),isDisabledHover:a,isHidden:"none"===r}};renderForEdit(e,t,o){const c=(0,h.isStory)(f.default.getAll()),{address:d,zoom:p}=e,{animationId:m,hoverName:b,options:v,isDisabledHover:S,isHidden:w}=this.getHoverData(e),P=(0,n.default)("brz-map",{"brz-map_styles":w},(0,y.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,T.style)(e,t,o)));return i.default.createElement(u.default,this.makeToolbarPropsFromConfig2(_,C),i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(x.Wrapper,this.makeWrapperProps({className:P}),i.default.createElement(s.HoverAnimation,{animationId:m,cssKeyframe:b,options:v,isDisabledHover:S,isHidden:w||c},i.default.createElement(a.default,{points:E,restrictions:{height:{px:{min:25,max:1/0},"%":{min:5,max:1/0}},width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletHeight:{px:{min:25,max:1/0},"%":{min:5,max:1/0}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileHeight:{px:{min:25,max:1/0},"%":{min:5,max:1/0}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:B(e),onChange:this.handleResizerChange},i.default.createElement(r.MapEditor,{address:d,zoom:p,platform:g.IS_WP?"WP":"CLOUD"}))))))}renderForView(e,t,o){const{address:a,zoom:c}=e,d=(0,h.isStory)(f.default.getAll()),{animationId:u,options:p,isHidden:m,hoverName:b}=this.getHoverData(e),v=(0,n.default)("brz-map",{"brz-map_styles":m},(0,y.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,T.style)(e,t,o)));return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(x.Wrapper,this.makeWrapperProps({className:v}),i.default.createElement(s.HoverAnimation,{animationId:u,cssKeyframe:b,options:p,isHidden:m||d},i.default.createElement(r.MapPreview,{address:a,zoom:c,platform:g.IS_WP?"WP":"CLOUD"}))))}}const I=z},68960:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return u},getItems:function(){return p}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985),s=o(16526),c=o(69321),d=o(59638),u=(0,l.t)("Map"),p=e=>{let{v:t,device:o,state:a}=e;const u=(0,s.isStory)(i.default.getAll()),p=(0,d.read)(("hoverName",(0,c.defaultValueValue)({v:t,key:"hoverName",device:o,state:a})))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,l.t)("Styling"),label:(0,l.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,l.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,l.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,l.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,l.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,l.t)("Advanced"),options:[{id:"hoverTransition",label:(0,l.t)("Hover Transition"),disabled:u,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,l.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,l.t)("Padding"),devices:"responsive",position:50}]},{id:"effects",title:(0,l.t)("Effects"),label:(0,l.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,l.t)("Entrance"),options:[]},{id:"tabHover",label:(0,l.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:u,config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(p),delay:!1}}]}]}]}]}]}},16359:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){const{hoverName:n="none"}=e,i={".brz &&:hover.brz-map":{standart:["cssStyleSizeSize","cssStyleSizeHeightPxOnly"]},[`.brz &&:hover${"none"===n?".brz-map_styles":" .brz-map-content"}:before`]:{standart:["cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover:after":{standart:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover > .brz-ed-box__resizer":{standart:["cssStyleElementMapPropertyPositionFixed"]},".brz &&:hover .brz-map-content":{standart:["cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .brz-iframe":{standart:["cssStyleFilter","cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}},70233:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119);function p(e){let{v:t,device:o,context:n}=e;const p=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:f}=(0,d.getOptionColorHexByPalette)(p("borderColorHex"),p("borderColorPalette")),m=(0,d.getDynamicContentOption)({options:n.dynamicContent.config,type:i.DCTypes.richText}),y=(0,s.isStory)(r.default.getAll());return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-pin",title:(0,l.t)("Map")},devices:"desktop",position:90,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,l.t)("Map"),options:[{id:"address",label:(0,l.t)("Address"),type:"inputText-dev",placeholder:(0,l.t)("Enter address"),population:m},{id:"zoom",label:(0,l.t)("Zoom"),type:"slider-dev",config:{min:1,max:21}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(f,p("borderColorOpacity"))}}},position:90,devices:"desktop",disabled:""===p("coverImageSrc"),options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,l.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,disabled:y,options:[{id:"size",label:(0,l.t)("Width"),type:"slider-dev",position:80,config:{min:1,max:"px"===p("sizeSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,l.t)("Height"),type:"slider-dev",config:{min:5,max:"%"===p("heightSuffix")?100:500,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:110,disabled:!y}]}},3968:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return I},getOpenedMegaMenu:function(){return L}});const r=O(o(60042)),n=O(o(27378)),i=o(84989),a=o(10301),l=O(o(17882)),s=o(91899),c=O(o(1440)),d=O(o(21107)),u=o(26667),p=o(73948),f=O(o(67439)),m=O(o(63692)),y=O(o(22546)),g=o(92213),h=o(94220),b=(o(9644),o(46479),o(94306)),v=o(66559),S=o(68934),w=(o(6804),o(36953)),x=O(o(34791)),P=O(o(51533)),C=o(65525),T=O(o(92505)),_=o(85325),k=O(o(78191)),M=O(o(34501));function O(e){return e&&e.__esModule?e:{default:e}}const E=y.default.get("pro");let B=null;class z extends m.default{static get componentId(){return"MenuItem"}static defaultProps={defaultValue:{},level:0,mMenu:!1,menuSelected:void 0,mods:{desktop:"vertical",tablet:"vertical",mobile:"vertical"},getParentWidth:a.noop};static defaultValue=x.default;state={isOpen:!1};menuItem=n.default.createRef();megaMenuRef=n.default.createRef();componentDidUpdate(e){this.props.defaultValue.megaMenu!==e.defaultValue.megaMenu&&"on"===e.defaultValue.megaMenu&&this.open()}getMeta(e){const{meta:t,mods:o,mMenu:r}=this.props,{desktopW:n,desktopWNoSpacing:i,tabletW:a,tabletWNoSpacing:l,mobileW:s,mobileWNoSpacing:c}=(0,C.calculateMeta)({v:e,meta:t,mods:o,isMMenu:Boolean(r)});return{...t,desktopW:n,desktopWNoSpacing:i,tabletW:a,tabletWNoSpacing:l,mobileW:s,mobileWNoSpacing:c}}getMegaMenuWidth(e,t,o){const r=this.menuItem.current?.ownerDocument;if(!r)return`${e}${t}`;const{clientWidth:n}=r.body,i=this.menuItem.current.getBoundingClientRect(),a=i.left,l=n-i.right;let s;if("%"===t){const t=this.props.getParent(),o=t?.getBoundingClientRect().width;s=o*(e/100)}else s="vw"===t?e>=100?n:n*(e/100):e;if("vertical"===o&&a{this.setState({isOpen:!1}),B=null};open=()=>{const e=this.getValue();this.setState({isOpen:!0}),"on"===e.megaMenu&&(B=this)};handleClick=()=>{this.state.isOpen||this.open()};handleClickOutside=()=>{this.state.isOpen&&this.close()};insideMegaMenu=e=>{const t=this.megaMenuRef.current;if(this.state.isOpen&&t){if(t.contains(e))return!0;const o=(0,w.getParentMegaMenuUid)(e);if(o)return!!t.querySelector(`[data-menu-item-id=${o}]`)}return!1};renderIcon(e){const{iconName:t,iconType:o}=e,{level:i,mMenu:a}=this.props,l=(0,r.default)({"brz-menu__item__icon":0===i&&!a},{"brz-menu__sub-item__icon":i>=1},{"brz-mm-menu__item__icon":a});return n.default.createElement(p.ThemeIcon,{key:"icon",className:l,name:t,type:o})}renderLink(e,t,o,r){const{url:i,target:a,classes:l,attrTitle:s}=e;i.trim();let d={href:"",type:"",target:"_blank"===a?"on":"off",className:l,attr:{title:s},onDragStart:e=>(e.preventDefault(),!1),draggable:"false"};return n.default.createElement(c.default,d,r)}renderMegaMenu(e,t,o){return E?this.renderMegaMenuForEdit(e,t,o):null}renderMegaMenuForEdit(e,t,o){const{mMenu:a,level:l,getParent:c,mods:p}=this.props,{deviceMode:f}=(0,g.getStore)().getState().ui,m=j(p,f),y=(0,S.styleElementMegaMenuPlacement)({v:e,device:f}),w=(0,M.default)(m,Boolean(a)),x=this.makeSubcomponentProps({level:l,meta:this.getMeta(e),bindWithKey:"megaMenuItems",megaMenu:!0,toolbarExtend:this.makeToolbarPropsFromConfig2(w,null,{allowExtend:!1}),itemProps:{rerender:{placement:y}}});if(a)return n.default.createElement("div",{className:"brz-mega-menu__mmenu"},n.default.createElement(P.default,x));if(!this.state.isOpen)return;const C=(0,r.default)((0,h.css)(this.constructor.componentId,this.getId(),(0,_.styleMegaMenu)(e,t,o)));if(f===v.MOBILE&&"vertical"===m){const e=(0,r.default)("brz-mega-menu__dropdown",C);return n.default.createElement("div",{className:e},n.default.createElement(P.default,x))}const T=c(),k=(0,r.default)("brz-mega-menu__portal","brz-mega-menu__portal--opened",`brz-mega-menu__portal--${f}`,C),O=(0,S.styleElementMegaMenuWidth)({v:e,device:f}),E=(0,S.styleElementMegaMenuWidthSuffix)({v:e,device:f}),B=this.getMegaMenuWidth(O,E,m),z="vertical"===m?{placement:"left-start",referenceElement:T.querySelector(".brz-menu__ul")}:{placement:y,referenceElement:T};return n.default.createElement(i.Popper,z,(e=>{let{ref:t,style:o,placement:r}=e;return n.default.createElement(d.default,{node:document.body},n.default.createElement(u.SortableZIndex,{zIndex:2},n.default.createElement("div",{className:k,ref:e=>{(0,b.attachRef)(e,this.megaMenuRef),(0,b.attachRef)(e,t)},style:{...o,maxWidth:B,width:"100%"},"data-mega-menu-uid":this.getId(),"data-popper-placement":r},n.default.createElement(P.default,x))),n.default.createElement(s.DraggableOverlay,null))}))}renderMegaMenuForView(e,t,o){const{mMenu:i,level:a,mods:l}=this.props,s=this.makeSubcomponentProps({level:a,meta:this.getMeta(e),bindWithKey:"megaMenuItems",megaMenu:!0});if(i)return n.default.createElement("div",{className:"brz-mega-menu__mmenu"},n.default.createElement(P.default,s));const c=(0,r.default)("brz brz-mega-menu__portal",(0,h.css)(this.constructor.componentId,this.getId(),(0,_.styleMegaMenu)(e,t,o))),d=(0,S.styleElementMegaMenuWidth)({v:e,device:v.DESKTOP}),u=(0,S.styleElementMegaMenuWidthSuffix)({v:e,device:v.DESKTOP}),p=(0,S.styleElementMegaMenuWidth)({v:e,device:v.TABLET}),f=(0,S.styleElementMegaMenuWidthSuffix)({v:e,device:v.TABLET}),m=(0,S.styleElementMegaMenuWidth)({v:e,device:v.MOBILE}),y=(0,S.styleElementMegaMenuWidthSuffix)({v:e,device:v.MOBILE}),g=(0,S.styleElementMegaMenuPlacement)({v:e,device:v.DESKTOP}),b=(0,S.styleElementMegaMenuPlacement)({v:e,device:v.TABLET}),w=(0,S.styleElementMegaMenuPlacement)({v:e,device:v.MOBILE}),x={mods:l,placement:{desktop:"horizontal"===l[v.DESKTOP]?g:"left-start",tablet:"horizontal"===l[v.TABLET]?b:"left-start",mobile:"horizontal"===l[v.MOBILE]?w:"left-start"},widths:{desktop:`${d}${u}`,tablet:`${p}${f}`,mobile:`${m}${y}`}};return n.default.createElement("div",{className:c,"data-settings":encodeURIComponent(JSON.stringify(x))},n.default.createElement(P.default,s))}renderDropDown(){if(!E)return null;const{level:e,toolbarExtend:t,mMenu:o,meta:r,menuSelected:i,mods:a}=this.props,l=this.makeSubcomponentProps({toolbarExtend:t,level:e,mMenu:o,meta:r,mods:a,menuSelected:i,bindWithKey:"items",megaMenu:!1});return n.default.createElement(P.default,l)}renderSimple(e,t,o,r){const{level:a,mMenu:s,mods:c,menuSelected:d}=this.props,u=(0,_.styleClassName)(e,this.state),{deviceMode:p}=(0,g.getStore)().getState().ui,m=j(c,p),y=(0,k.default)(a,s),h=(0,T.default)(a,s),b=[".brz-ed-sidebar",".brz-ed-toolbar",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-fixed",".brz-portal-forms__select",".brz-mm-menu_opened",".brz-ed-eyeDropper",this.insideMegaMenu,".react-contexify",".media-modal",".media-modal-backdrop"];return p===v.MOBILE&&"vertical"===m?n.default.createElement(l.default,{exceptions:b,onClickOutside:this.handleClickOutside},n.default.createElement("li",{className:u,onClick:this.handleClick},n.default.createElement(f.default,this.makeToolbarPropsFromConfig2(y,h),this.renderLink(e,t,o,r)),"off"===e.megaMenu?this.renderDropDown(e,t,o):this.renderMegaMenu(e,t,o))):n.default.createElement(l.default,{exceptions:b,onClickOutside:this.handleClickOutside},n.default.createElement(i.Manager,null,n.default.createElement(i.Reference,null,(()=>n.default.createElement("li",{"data-menu-item-id":this.getId(),ref:this.menuItem,className:u,onClick:this.handleClick},n.default.createElement(f.default,this.makeToolbarPropsFromConfig2(y,h),this.renderLink(e,t,o,r)),"off"===e.megaMenu&&this.renderDropDown()))),"on"===e.megaMenu&&this.renderMegaMenu(e,t,o)))}renderMMenu(e,t,o,r){const{level:i,mMenu:a,menuSelected:l}=this.props,s=(0,k.default)(i,a),c=(0,T.default)(i,a),d="off"===e.megaMenu;return n.default.createElement("li",{ref:this.menuItem,className:(0,_.styleMmMenuClassName)(e,this.menuItem.current)},n.default.createElement(f.default,this.makeToolbarPropsFromConfig2(s,c),this.renderLink(e,t,o,r)),d?n.default.createElement("div",null,this.renderDropDown(e,t,o)):n.default.createElement("div",null,this.renderMegaMenu(e,t,o)))}renderForEdit(e,t,o){const{title:r,iconName:i,iconType:a}=e,l=i&&a,s=n.default.createElement(n.default.Fragment,null,l&&this.renderIcon(e),n.default.createElement("span",{className:"brz-span",dangerouslySetInnerHTML:{__html:r}}));return this.props.mMenu?this.renderMMenu(e,t,o,s):this.renderSimple(e,t,o,s)}}const I=z,j=(e,t)=>e[t],L=()=>B},51533:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(60042)),i=l(o(10787)),a=l(o(13741));function l(e){return e&&e.__esModule?e:{default:e}}o(66559);class s extends i.default{static get componentId(){return"MenuItem.Items"}static defaultProps={megaMenu:!1,mMenu:!1,toolbarExtend:null,level:0,getParent:()=>{},meta:{},placement:null};getItemProps(e,t,o){const r=super.getItemProps(e,t,o);let{level:n,toolbarExtend:i,mMenu:a,meta:l,getParent:s,mods:c,menuSelected:d}=this.props;return{...r,menuSelected:d,mMenu:a,toolbarExtend:i,meta:l,getParent:s,mods:c,level:++n}}renderItemWrapper(e,t,o,r){const n="MenuItem"===r.type,i="SectionMegaMenu"===r.type,{megaMenu:a}=this.props;return a&&!n?e:a||i?null:e}renderItemsContainer(e){const{level:t,megaMenu:o,mMenu:i,mods:l}=this.props,s=e.filter((e=>e));return 0===s.length?null:o?s:((e,t,o,i)=>{const l=(0,n.default)("brz-mm-menu__sub-menu",{"brz-menu__ul--has-dropdown":0===o});return t?r.default.createElement("ul",{className:l},e):r.default.createElement(a.default,{placement:void 0,mods:void 0,className:"brz-menu__sub-menu"},e)})(s,i,t)}}const c=s},65525:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateMeta",{enumerable:!0,get:function(){return l}});const r=o(66559),n=o(81504),i=o(68934),a=e=>{const{W:t,mode:o,device:r,isMMenu:a,v:l}=e;if(a)return"mobile"===r?380:440;if("horizontal"===o)return t;const s=(0,i.styleElementMegaMenuWidth)({v:l,device:r,state:"normal"});switch((0,i.styleElementMegaMenuWidthSuffix)({v:l,device:r,state:"normal"})){case"px":return s;case"vw":{const e="mobile"===r?t:(e=>{switch(e){case"desktop":return n.wInFullPage;case"tablet":return n.wInTabletPage;default:return n.wInMobilePage}})(r),o=s>=100?e:e*(s/100);return Math.round(10*o)/10}case"%":{const e=t*(s/100);return Math.round(10*e)/10}}},l=e=>{const{meta:t,mods:o,isMMenu:n,v:i}=e,{desktopW:l,desktopWNoSpacing:s,tabletW:c,tabletWNoSpacing:d,mobileW:u,mobileWNoSpacing:p}=t;return{desktopW:a({v:i,isMMenu:n,W:l,mode:o[r.DESKTOP],device:r.DESKTOP}),desktopWNoSpacing:a({v:i,isMMenu:n,W:s,mode:o[r.DESKTOP],device:r.DESKTOP}),tabletW:a({v:i,isMMenu:n,W:c,mode:o[r.TABLET],device:r.TABLET}),tabletWNoSpacing:a({v:i,isMMenu:n,W:d,mode:o[r.TABLET],device:r.TABLET}),mobileW:a({v:i,isMMenu:n,W:u,mode:o[r.MOBILE],device:r.MOBILE}),mobileWNoSpacing:a({v:i,isMMenu:n,W:p,mode:o[r.MOBILE],device:r.MOBILE})}}},92505:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return i},title:function(){return a},getItemsSimple:function(){return l},getItemsMMenu:function(){return s}});const r=o(64985),n=o(57582),i=(e,t)=>({title:a,getItems:t?s(e):l(e)}),a=(0,r.t)("Menu Items"),l=e=>t=>{let{device:o,state:r}=t;return[...e<1?[{id:"borderRadiusPicker",type:"group-dev",devices:"desktop",disabled:!0}]:[],...e>=1?[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:!0},(0,n.toolbarDisabledPadding)({device:o,state:r,prefix:"menu"})]:[]]},s=e=>e=>{let{device:t,state:o}=e;return[{id:"borderRadiusPicker",type:"group-dev",devices:"desktop",disabled:!0},(0,n.toolbarDisabledPadding)({device:t,state:o,prefix:"menu"})]}},85325:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleClassName:function(){return s},styleMmMenuClassName:function(){return c},styleMegaMenu:function(){return d}});const r=(n=o(60042))&&n.__esModule?n:{default:n};var n;const i=o(94220),a=e=>"on"!==e.megaMenu&&(e=>{let{items:t=[]}=e;return t.some((e=>"MenuItem"===e.type))})(e),l=e=>{if(!e)return"";let t=[];return e.classList.forEach((e=>{/brz-mm-(?!menu__item).*$/.test(e)&&t.push(e)})),t};function s(e,t){const{className:o,megaMenu:n,current:i}=e;return(0,r.default)("brz-menu__item",o,{"brz-menu__item--current":i,"brz-menu__item-mega-menu":"on"===n,"brz-menu__item-dropdown":a(e),"brz-menu__item--opened":t.isOpen})}function c(e,t){const{className:o,megaMenu:n,current:i}=e,s="on"===n,c=a(e),d=l(t);return(0,r.default)("brz-mm-menu__item",o,d,{"brz-mm-menu__item-empty":!s&&!c,"brz-mm-menu__item--current":i,"brz-mm-menu__item-mega-menu":s,"brz-mm-menu__item-dropdown":c})}function d(e,t,o){return(0,i.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementMegaMenuWidth"],interval:["cssStyleElementMegaMenuOffsetTop"]}}})}},78191:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=(e,t)=>({getItems:t?l(e):a(e)}),a=e=>t=>{let{v:o,device:i}=t;const a=("iconName",(0,n.defaultValueValue)({v:o,key:"iconName",device:i}));return[{id:"toolbarMenuSettings",type:"popover-dev",config:{icon:"nc-menu-3",title:(0,r.t)("Menu")},position:10,disabled:e>=1,options:[{id:"megaMenu",type:"switch-dev",devices:"desktop",label:(0,r.t)("Mega Menu")}]},{id:"toolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,r.t)("Icon")},position:20,disabled:e>=1,options:[{id:"icon",type:"iconSetter-dev",devices:"desktop",label:(0,r.t)("Icon"),config:{canDelete:!0},position:10},...""===a?[{id:"iconPosition",type:"radioGroup-dev",disabled:!0},{id:"iconSize",type:"slider-dev",disabled:!0},{id:"iconSpacing",type:"slider-dev",disabled:!0}]:[]]},{id:"subMenuToolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,r.t)("Icon")},position:20,disabled:e<1,options:[{id:"icon",type:"iconSetter-dev",devices:"desktop",label:(0,r.t)("Icon"),position:10,config:{canDelete:!0}},...""===a?[{id:"subMenuIconPosition",type:"radioGroup-dev",disabled:!0},{id:"subMenuIconSize",type:"slider-dev",disabled:!0},{id:"subMenuIconSpacing",type:"slider-dev",disabled:!0}]:[]]},...e<1?[{id:"subMenuToolbarTypography",type:"popover-dev",disabled:!0,options:[]},{id:"subMenuToolbarColor",type:"popover-dev",disabled:!0,options:[]}]:[],...e>=1?[{id:"advancedSettings",type:"advancedSettings",devices:"desktop"},{id:"toolbarTypography",type:"popover-dev",disabled:!0,options:[]},{id:"toolbarColor",type:"popover-dev",disabled:!0,options:[]}]:[]]},l=()=>e=>{let{v:t,device:o}=e;const i=("iconName",(0,n.defaultValueValue)({v:t,key:"iconName",device:o}));return[{id:"mMenuToolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,r.t)("Icon")},position:20,options:[{id:"icon",type:"iconSetter-dev",devices:"desktop",label:(0,r.t)("Icon"),config:{canDelete:!0}},...""===i?[{id:"mMenuIconPosition",type:"radioGroup-dev",disabled:!0},{id:"mMenuIconSize",type:"slider-dev",disabled:!0},{id:"mMenuIconSpacing",type:"slider-dev",disabled:!0}]:[]]}]}},34501:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(64985),n=o(69321),i=o(66559),a=(e,t)=>o=>{let{v:a,device:l}=o;const s=t||"vertical"===e&&l===i.MOBILE;return[{id:"megaMenuPlacement",type:"toggle-dev",position:100,disabled:t||"vertical"===e,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"bottom-start"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"bottom"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"bottom-end"}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,options:[{id:"megaMenuWidth",position:10,label:(0,r.t)("Width"),type:"slider-dev",disabled:t,config:{min:35,max:"px"===("megaMenuWidthSuffix",(0,n.defaultValueValue)({v:a,key:"megaMenuWidthSuffix",device:l,state:"normal"}))?1170:100,inputMin:35,units:[{title:"%",value:"%"},{title:"px",value:"px"},{title:"vw",value:"vw"}]}},{id:"megaMenuOffsetTop",position:30,label:(0,r.t)("Offset"),type:"slider-dev",disabled:s,config:{min:0,max:100,inputMin:0,inputMax:100,units:[{title:"px",value:"px"}]}}]}]},l=function(){for(var e=arguments.length,t=new Array(e),o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),n=o(16957),i=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,n.detectOS)(),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=n&&(a||t[e].type===n.type),c=s&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},74956:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});const r=x(o(60042)),n=x(o(27378)),i=x(o(10301)),a=x(o(25382)),l=x(o(80544)),s=x(o(36275)),c=o(84733),d=o(46338),u=C(o(67439)),p=x(o(63692)),f=o(94220),m=o(89787),y=o(66559),g=o(48499),h=x(o(89896)),b=x(o(91032)),v=C(o(6678)),S=o(60650),w=C(o(49142));function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class T extends p.default{static get componentId(){return"SectionMegaMenu"}static defaultProps={meta:{},rerender:{}};static defaultValue=h.default;static experimentalDynamicContent=!0;mounted=!1;toolbarRef=n.default.createRef();componentDidMount(){this.mounted=!0}shouldUpdateBecauseOfParent(e){return!i.default.isEqual(this.props.rerender,e.rerender)}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)}componentWillUnmount(){this.mounted=!1}handleToolbarEscape=()=>{this.toolbarRef.current.show()};getMeta(e){const{meta:t}=this.props,{w:o,wNoSpacing:r}=(0,m.getContainerW)({v:e,w:t.desktopW,wNoSpacing:t.desktopWNoSpacing,device:y.DESKTOP}),{w:n,wNoSpacing:i}=(0,m.getContainerW)({v:e,w:t.tabletW,wNoSpacing:t.tabletWNoSpacing,device:y.TABLET}),{w:a,wNoSpacing:l}=(0,m.getContainerW)({v:e,w:t.mobileW,wNoSpacing:t.mobileWNoSpacing,device:y.TABLET});return{...t,desktopW:o,desktopWNoSpacing:r,tabletW:n,tabletWNoSpacing:i,mobileW:a,mobileWNoSpacing:l}}renderToolbar=e=>n.default.createElement(u.default,{...this.makeToolbarPropsFromConfig2(w,v),ref:this.toolbarRef},n.default.createElement(e,{className:"brz-ed-border__button--row"}));renderItems(e,t,o){const i=this.getMeta(e),l=(0,r.default)("brz-container",e.containerClassName,(0,f.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,S.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({className:l,meta:i,bindWithKey:"items"});return n.default.createElement(a.default,{value:e,meta:i},n.default.createElement(b.default,s))}renderForEdit(e,t,o){const{className:i,customClassName:a,cssClass:c,customAttributes:p}=e,m=(0,r.default)("brz-mega-menu",i,c||a,(0,f.css)(`${this.constructor.componentId}-section`,`${this.getId()}-section`,(0,S.styleSection)(e,t,o)));return n.default.createElement(l.default,{type:"mega__menu",color:"grey",activeBorderStyle:"dotted",activateOnContentClick:!1,buttonPosition:"topLeft",renderButtonWrapper:this.renderToolbar},(r=>{let{ref:i,attr:a,button:l,border:c}=r;return n.default.createElement(s.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{ref:i,id:this.getId(),className:m,"data-block-id":this.props.blockId,...(0,g.parseCustomAttributes)(p),...a},n.default.createElement(d.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},n.default.createElement(u.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)),l,c)))}))}renderForView(e,t,o){const{className:i,tagName:a,customClassName:l,cssID:d,cssClass:u,customAttributes:p,customCSS:m}=e,y=(0,r.default)("brz-mega-menu",i,u||l,(0,f.css)(`${this.constructor.componentId}-section`,`${this.getId()}-section`,(0,S.styleSection)(e,t,o)));return n.default.createElement(s.default,{selectorName:this.getId(),css:m},n.default.createElement(c.CustomTag,{tagName:a,id:""===d?this.getId():d,className:y,"data-uid":this.getId(),...(0,g.parseCustomAttributes)(p)},this.renderItems(e,t,o)))}}const _=T},91032:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=p(o(49127)),a=p(o(24072)),l=p(o(20013)),s=o(67439),c=o(64985),d=o(39552),u=p(o(96116));function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"SectionMegaMenu.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItems:()=>[{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,c.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,c.t)("Delete"),position:250,onChange:()=>{(0,s.hideToolbar)(),this.removeItem(t)}}]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(o)}}renderItemWrapper(e,t,o){const n=(0,u.default)(o);return r.default.createElement(d.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(a.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const{className:t}=this.props;return e.length?r.default.createElement(i.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:t},e)):r.default.createElement("div",{className:t},r.default.createElement(l.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]}))}}const m=f},6678:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return a},getItems:function(){return l}});const r=o(81263),n=o(64985),i=o(68256),a=(0,n.t)("Mega Menu");function l(e){let{context:t}=e;const o=[{title:"Div",value:"div"},{title:(0,n.t)("Header"),value:"header"},{title:(0,n.t)("Footer"),value:"footer"},{title:(0,n.t)("Main"),value:"main"},{title:(0,n.t)("Article"),value:"article"},{title:(0,n.t)("Section"),value:"section"},{title:(0,n.t)("Aside"),value:"aside"},{title:(0,n.t)("Nav"),value:"nav"}],a=(0,i.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),position:50,config:{units:["px"]}},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",devices:"desktop",options:[{id:"showOnDesktop",label:(0,n.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"cssID",label:(0,n.t)("Block Name"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom block name, example: my-block"},config:a,option:{id:"anchorName",type:"inputText-dev"}},{id:"cssClass",label:(0,n.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:a,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,n.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:a},{id:"hoverTransition",label:(0,n.t)("Hover Transition"),devices:"desktop",position:60,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,n.t)("HTML Tag"),type:"select-dev",devices:"desktop",choices:o}]}]}]}]}]}},60650:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return n},styleContainer:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg-content":{standart:["cssStylePaddingFourFields","cssStylePaddingRightLeftForEditor"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleVisibleMode|||editor"],standart:["cssStylePaddingFourFields","cssStylePaddingRightLeftForEditor","cssStyleElementMegaMenuHeight","cssStyleFlexColumnVerticalAlign","cssStyleBorderTransparentColor"]}}})}},49142:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(81263),n=o(81405),i=o(64985),a=o(69321),l=o(68256),s=o(24119),c=o(57582);function d(e){let{v:t,device:o,context:d}=e;const u=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:p}=(0,l.getOptionColorHexByPalette)(u("bgColorHex"),u("bgColorPalette")),f=(0,l.getDynamicContentOption)({options:d.dynamicContent.config,type:r.DCTypes.image});return[(0,c.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive",closeTooltip:!0}),{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,i.t)("Background")},position:80,options:[{label:(0,i.t)("Image"),id:"bg",type:"imageUpload-dev",states:[s.NORMAL,s.HOVER],population:f}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,i.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,n.hexToRgba)(p,u("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,i.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev",states:[s.NORMAL,s.HOVER]}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,i.t)("Settings")},position:110,options:[{id:"groupToolbarContainerTypeAndHeight",type:"group-dev",position:100,options:[{id:"sectionHeightStyle",label:(0,i.t)("Height"),type:"select-dev",choices:[{title:(0,i.t)("Auto"),value:"auto"},{title:(0,i.t)("Custom"),value:"custom"}]},{id:"sectionHeight",type:"slider-dev",disabled:"custom"!==u("sectionHeightStyle"),config:{min:20,max:"px"===u("sectionHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]},{id:"verticalAlign",label:(0,i.t)("Content"),type:"radioGroup-dev",devices:"desktop",disabled:"auto"===u("sectionHeightStyle"),position:110,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},3086:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Menu"),icon:"nc-tabs",disabled:(e,t)=>t.isInSubMenu,items:[]}]}}},5085:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return R}});const r=L(o(60042)),n=N(o(27378)),i=o(70634),a=L(o(10301)),l=L(o(17882)),s=L(o(39552)),c=o(66848),d=L(o(36275)),u=L(o(21107)),p=(o(95994),o(73948)),f=o(81504),m=L(o(10787)),y=L(o(63692)),g=L(o(22546)),h=L(o(47075)),b=(o(97045),o(92213)),v=o(94220),S=(o(9644),o(34721)),w=o(64985),x=o(69321),P=o(66559),C=o(68934),T=o(86022),_=L(o(3086)),k=L(o(13642)),M=N(o(81981)),O=N(o(40513)),E=o(96835),B=N(o(94452)),z=N(o(32296)),I=o(72599),j=o(36953);function L(e){return e&&e.__esModule?e:{default:e}}function F(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(F=function(e){return e?o:t})(e)}function N(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=F(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const D=g.default.get("pro");class R extends y.default{static get componentId(){return"Menu"}static defaultValue=k.default;static experimentalDynamicContent=!0;static defaultProps={extendParentToolbar:a.default.noop,meta:{}};nodeRef=n.default.createRef();mMenu=null;getMeta(e){const{meta:t}=this.props,o=(0,C.styleElementMMenu)({v:e,device:P.DESKTOP}),r=(0,C.styleElementMMenu)({v:e,device:P.TABLET}),n=(0,C.styleElementMMenu)({v:e,device:P.MOBILE}),i="on"===o?f.wInMMenu:t.desktopW,a="on"===o?f.wInMMenu:t.desktopWNoSpacing,l="on"===r?f.wInMMenu:t.tabletW,s="on"===r?f.wInMMenu:t.tabletWNoSpacing,c="on"===n?f.wInMMenu:t.mobileW,d="on"===n?f.wInMMenu:t.mobileWNoSpacing;return{...t,desktopW:i,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d}}getDeviceMode(){return(0,b.getStore)().getState().ui.deviceMode}hasMMenu(){const e=this.getValue(),t=this.getDeviceMode();return"on"===(0,C.styleElementMMenu)({v:e,device:t})}componentDidMount(){h.default.on("deviceMode.change",this.handleChange);const e=this.makeToolbarPropsFromConfig2(z,O,{allowExtend:!1,allowExtendFromThirdParty:!0});this.props.extendParentToolbar(e),this.hasMMenu()&&this.initMMenu()}componentWillUpdate(e){let{dbValue:t}=e;const{mMenuPosition:o,menuSelected:r}=this.getValue();(t.menuSelected&&t.menuSelected!==r||t.mMenuPosition&&t.mMenuPosition!==o)&&this.destroyMMenu()}componentDidUpdate(){this.hasMMenu()?this.initMMenu():this.destroyMMenu()}componentWillUnmount(){this.hasMMenu()&&this.destroyMMenu(),h.default.off("deviceMode.change",this.handleChange)}handleChange=()=>{this.forceUpdate()};getNode=()=>this.nodeRef.current;getDefaultValue(){return{...super.getDefaultValue(),symbols:{}}}getDBValue(){const e=g.default.get("menuData");if(0===e.length)return{...this.props.dbValue,items:[]};const{menuSelected:t=null,symbols:o={}}=this.props.dbValue||{},r=t||e[0].id,n=e.find((e=>e.id===r));return n&&0!==n.items.length?(void 0===this.menuItemsCache&&(this.menuItemsCache={}),void 0===this.menuItemsCache[r]&&(this.menuItemsCache[r]=(0,I.normalizeMenuItems)(n.items)),{...this.props.dbValue,menuSelected:r,items:(0,I.symbolsToItems)(this.menuItemsCache[r],o)}):{...this.props.dbValue,items:[]}}handleValueChange(e,t){const{items:o}=e;let{...r}=e;t.patch.items&&(r.symbols={...e.symbols,...(0,I.itemsToSymbols)(o)});const n=this.getDeviceMode(),a=("mMenuPosition",(0,x.defaultValueKey)({key:"mMenuPosition",device:n,state:"normal"}));const l=(t=>(0,x.defaultValueValue)({key:t,device:n,v:e}))(a);if(t.patch[a]){const e={...r,mMenuPosition:l};r=(0,i.merge)(r,e)}super.handleValueChange(r,t)}handleTextChange=e=>{this.patchValue({mMenuTitle:e})};renderMMenuTitle(e){const{mMenuTitle:t,stickyTitle:o}=e,i=(0,r.default)("brz-mm-navbar",{"brz-mm-navbar-sticky":"on"===o});return n.default.createElement("li",{className:i},n.default.createElement("a",{className:"brz-a brz-mm-navbar__title"},n.default.createElement(c.TextEditor,{value:t,onChange:this.handleTextChange})))}renderMenu(e,t,o,i){const{className:a,items:l,menuSelected:s}=e,c=this.hasMMenu()&&!!i,d=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{menuSelected:s,mMenu:c,meta:this.getMeta(e),mods:{[P.DESKTOP]:(0,C.styleElementMenuMode)({v:e,device:P.DESKTOP}),[P.TABLET]:(0,C.styleElementMenuMode)({v:e,device:P.TABLET}),[P.MOBILE]:(0,C.styleElementMenuMode)({v:e,device:P.MOBILE})},getParent:this.getNode,toolbarExtend:this.makeToolbarPropsFromConfig2(B,M,{allowExtend:!1})}}),u=(0,r.default)("brz-menu",{"brz-menu__mmenu":c,"brz-menu--has-dropdown":c&&l.some((e=>{let{value:{items:t}}=e;return t.length}))},"brz-menu__editor",a,(0,v.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,E.styleMenu)(e,t,o)),c&&this.getMMenuClassNames());return n.default.createElement("nav",{id:i,className:u},n.default.createElement("ul",{className:"brz-menu__ul"},c&&this.renderMMenuTitle(e),n.default.createElement(m.default,d)))}renderMMenu(e,t,o){const{menuSelected:r,mMenuPosition:i}=e;return n.default.createElement(n.default.Fragment,null,n.default.createElement(u.default,{key:`${r}-${i}`,node:document.body,className:"brz-ed-mmenu-portal"},n.default.createElement("div",{className:"brz-ed-mmenu-portal__menu brz-d-none"},this.renderMenu(e,t,o,this.getId()))),n.default.createElement("div",{className:"brz-mm-menu__icon",onClick:this.openMMenu},n.default.createElement(p.ThemeIcon,{name:"menu-3",type:"editor"})))}renderErrors(e){const t=g.default.get("menuData");let o;if(0===t.length){const e=g.default.get("urls").dashboardNavMenu;o=n.default.createElement(n.default.Fragment,null,n.default.createElement("a",{className:"brz-a",href:e,target:"_blank",rel:"noopener noreferrer"},(0,w.t)("Create a menu")),(0,w.t)("in your WordPress admin"))}return o||t.find((t=>t.id===e.menuSelected))||(o=(0,w.t)("Select a menu from the element options")),o&&n.default.createElement("div",{className:"brz-menu__error"},o)}renderForEdit(e,t,o){const i=this.renderErrors(e);if(i)return i;const a=(0,r.default)("brz-menu__container",(0,v.css)(`${this.constructor.componentId}-menu`,`${this.getId()}-menu`,(0,E.styleMenuContainer)(e,t,o)));return n.default.createElement(l.default,{exceptions:[".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-ed-sidebar__right",".brz-menu",".brz-menu__container",".brz-ed-fixed",".media-modal",".brz-ed-eyeDropper"],onClickOutside:this.closeMMenu},n.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(s.default,this.makeContextMenuProps(_.default),n.default.createElement(T.Wrapper,this.makeWrapperProps({className:a,ref:this.nodeRef}),this.hasMMenu()?this.renderMMenu(e,t,o):this.renderMenu(e,t,o)))))}renderForView(e,t,o){if(this.renderErrors(e))return null;const{mMenuTitle:i,mMenuPosition:a,stickyTitle:l}=e,s=this.props.meta?.section?.isSlider,c=this.hasMMenu(),u=c?{"data-mmenu-id":`#${this.getId()}`,"data-mmenu-position":`position-${a}`,"data-mmenu-title":i,"data-mmenu-stickytitle":l,"data-mmenu-isslider":s}:{},f=(0,r.default)("brz-menu__container",(0,v.css)(`${this.constructor.componentId}-menu`,`${this.getId()}-menu`,(0,E.styleMenuContainer)(e,t,o)));return n.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:f,...u},this.renderMenu(e,t,o),c&&n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:"brz-mm-menu__icon"},n.default.createElement(p.ThemeIcon,{name:"menu-3",type:"editor"})),D&&this.renderMenu(e,t,o,this.getId()))))}getMMenu(){return(0,S.applyFilter)("getLibs",{}).MMenu}initMMenu(){const e=this.getMMenu(),{items:t=[],mMenuPosition:o,stickyTitle:r}=this.getValue(),n=this.props.meta?.section?.isSlider;if(n&&(0,j.isClonedSlide)(this.getNode()))return;if(this.mMenu||!e||0===t.length)return;const i={navbar:{add:!1,sticky:"on"===r},extensions:["theme-dark","pagedim-black","border-full","position-front",`position-${o}`],slidingSubmenus:!1};this.mMenu=new e(`#${this.getId()}`,i,{offCanvas:{menu:{insertSelector:"#brz-ed-root"},page:{wrapIfNeeded:!1,selector:"#brz-ed-root"}}})}destroyMMenu(){this.mMenu&&(this.mMenu.node.menu.remove(),this.mMenu=null)}openMMenu=()=>{const e=this.getMMenu();!this.mMenu&&e&&this.initMMenu();const t=this.mMenu?.API;t&&t.open()};closeMMenu=()=>{const e=this.mMenu?.API;e&&e.close()};getMMenuClassNames(){if(!this.mMenu?.node)return"";let e=[];return this.mMenu.node.menu.classList.forEach((t=>{/brz-mm-menu/.test(t)&&e.push(t)})),e}}},81981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getItems:function(){return i},getItemsSimple:function(){return a},getItemsMMenu:function(){return l}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o,state:r}=e;return"on"===(0,n.defaultValueValue)({v:t,device:o,state:r,key:"mMenu"})?l():a()}function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]},{id:"borderRadiusPicker",type:"group-dev",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"menuPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}},{id:"menuBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}]}]}function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"mMenuPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}}]}]}]}},40513:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Menu"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",devices:"desktop",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},96835:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleMenuContainer:function(){return n},styleMenu:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-mm-menu__icon":{interval:["cssStyleElementMenuShowIcon","cssStyleElementMMenuSize","cssStyleElementMMenuIconColor","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu":{interval:["cssStyleElementMenuShow"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-menu__ul":{interval:["cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"],standart:["cssStyleTypography2FontFamily","cssStyleColor"]},".brz && .brz-menu__ul:not(.brz-mm-listview)":{standart:["cssStyleElementMenuMode","cssStyleElementMenuSize","cssStyleElementMMenuListViewMargin"]},".brz && .brz-menu__ul > .brz-menu__item > .brz-a":{standart:["cssStyleElementMenuIconPosition"]},".brz && .brz-menu__ul > .brz-menu__item > .brz-a:hover":{standart:["cssStyleColor","cssStyleElementMenuLinkBgColor","cssStyleElementMenuPadding"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item.brz-menu__item--opened > .brz-a:hover":{standart:["cssStyleElementMenuColor","cssStyleElementMenuLinkBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item.brz-menu__item--opened:hover":{standart:["cssStyleElementMenuColor","cssStyleElementMenuBgColor","cssStyleElementMenuBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item.brz-menu__item--current:not(.brz-menu__item.brz-menu__item--current:active):hover":{standart:["cssStyleElementMenuCurrentColor","cssStyleElementMenuCurrentBgColor","cssStyleElementMenuCurrentBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item.brz-menu__item--current > .brz-a:not(.brz-a:active):hover":{standart:["cssStyleElementMenuCurrentColor","cssStyleElementMenuCurrentLinkBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover > .brz-ed-border":{interval:["cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]},".brz &&:hover .brz-menu__item__icon":{interval:["cssStyleElementMenuIconSize"],standart:["cssStyleElementMenuIconSpacing"]},".brz && .brz-menu__ul > .brz-menu__item:hover":{standart:["cssStyleElementMenuColor","cssStyleElementMenuBgColor","cssStyleElementMenuBorder","cssStyleElementMenuBorderRadius"],interval:["cssStyleElementMMenuItemPadding","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__ul > .brz-menu__item > a":{standart:["cssStyleElementMenuBorderRadius"]},".brz && .brz-menu__ul > .brz-menu__item:first-child":{interval:["cssStyleElementMMenuItemPaddingTopZero"]},".brz && .brz-menu__ul > .brz-menu__item:last-child":{interval:["cssStyleElementMMenuItemPaddingBottomZero"]},".brz && .brz-mm-menu__item:hover":{interval:["cssStyleElementMMenuFontSize","cssStyleElementMMenuFontWeight","cssStyleElementMMenuLineHeight","cssStyleElementMMenuLetterSpacing","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"],standart:["cssStyleElementMMenuFontFamily","cssStyleElementMMenuColor","cssStyleElementMMenuBorderColor"]},".brz nav.brz-mm-menu&&":{standart:["cssStyleElementMMenuBackgroundColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-mm-menu .brz-mm-menu__item .brz-mm-listitem__text":{standart:["cssStyleElementMMenuPadding","cssStyleElementMMenuIconPosition"]},".brz &&:hover .brz-mm-menu__item:hover > .brz-mm-listitem__text":{standart:["cssStyleElementMMenuColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-mm-menu__item .brz-a":{interval:["cssStyleElementMMenuItemHorizontalAlign"]},".brz &&:hover .brz-mm-menu__item__icon":{interval:["cssStyleElementMMenuIconSpacing","cssStyleElementMMenuIconSize"]},".brz && .brz-mm-navbar":{interval:["cssStyleElementMMenuFontFamily","cssStyleElementMMenuFontSize","cssStyleElementMMenuFontWeight","cssStyleElementMMenuLineHeight","cssStyleElementMMenuLetterSpacing","cssStyleElementMMenuBorderColor","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"],standart:["cssStyleElementMMenuTitleColor"]},".brz &&:hover .brz-mm-menu__item.brz-mm-listitem_opened":{standart:["cssStyleElementMMenuColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-mm-menu .brz-mm-listitem_vertical .brz-mm-btn_next":{interval:["cssStyleElementMMenuBtnNext"]},".brz &&.brz-mm-menu.brz-mm-menu_theme-dark .brz-mm-panels, .brz &&:hover .brz-mm-panels > .brz-mm-panel:before":{standart:["cssStyleElementMMenuGradientBgColor","cssStyleElementMMenuBackgroundColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-mm-menu.brz-mm-menu_theme-dark .brz-mm-panels, .brz &&:hover .brz-mm-panels > .brz-mm-panel":{standart:["cssStyleElementMMenuBackgroundColor","cssStyleElementMMenuImageFilter","cssStyleBgImagePosition"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-mm-panels > .brz-mm-panel":{standart:["cssStyleElementMenuHamburgerBgImage"]},".brz &&.brz-mm-menu.brz-mm-menu_theme-dark .brz-mm-navbar.brz-mm-listitem .brz-mm-listitem_opened > .brz-mm-listitem__text:after":{standart:["cssStyleElementMMenuBorderColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-mm-listitem":{standart:["cssStyleElementMMenuBorderColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-mm-menu__item.brz-mm-menu__item--current:not(.brz-mm-menu__item.brz-mm-menu__item--current:active):hover":{standart:["cssStyleElementMMenuActiveColor"]},".brz:hover && .brz-mm-menu__item.brz-mm-menu__item--current:not(brz-mm-menu__item.brz-mm-menu__item--current:active):hover > .brz-mm-listitem__text":{standart:["cssStyleElementMMenuActiveColor"]},".brz && .brz-menu__sub-menu:hover":{interval:["cssStyleElementMenuSubMenuFontSize","cssStyleElementMenuSubMenuFontWeight","cssStyleElementMenuSubMenuLineHeight","cssStyleElementMenuSubMenuLetterSpacing","cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"],standart:["cssStyleElementMenuSubMenuFontFamily","cssStyleElementMenuSubMenuColor","cssStyleElementMenuSubMenuBgColor","cssStyleBoxShadow","cssStyleBorderRadius"]},".brz &&:hover .brz-menu__sub-menu .brz-a":{standart:["cssStyleElementMenuSubMenuIconPosition"]},".brz &&:hover .brz-menu__sub-menu .brz-a:hover":{standart:["cssStyleElementMenuSubMenuColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__sub-item__icon":{standart:["cssStyleElementMenuSubMenuIconSpacing","cssStyleElementMenuSubMenuIconSize"]},".brz &&:hover .brz-menu__dropdown > .brz-menu__item.brz-menu__item--current > .brz-a":{standart:["cssStyleElementMenuSubMenuCurrentColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__dropdown > .brz-menu__item.brz-menu__item--current":{standart:["cssStyleElementMenuSubMenuCurrentBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__dropdown > .brz-menu__item.brz-menu__item--current:hover":{standart:["cssStyleElementMenuSubMenuCurrentBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__item--current .brz-menu__sub-menu":{standart:["cssStyleElementMenuSubMenuCurrentBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__item-dropdown .brz-menu__item:hover":{standart:["cssStyleElementMenuSubMenuBgColor","cssStyleElementMenuSubMenuColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-menu__dropdown .brz-menu__item-dropdown:hover .brz-a:hover:after":{standart:["cssStyleElementMenuSubMenuBorderColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-menu__dropdown > .brz-menu__item":{standart:["cssStyleElementMenuSubMenuBorderBottom"]},".brz && .brz-menu__dropdown":{interval:["cssStyleMenuDropdownPosition"]},".brz && [data-popper-placement='left-start']":{interval:["cssStyleMenuDropdownPositionLeft"]},".brz && [data-popper-placement='right-start']":{interval:["cssStyleMenuDropdownPositionRight"]},".brz &&:hover > .brz-menu__ul > .brz-menu__item-dropdown > .brz-menu__dropdown":{interval:["cssStyleMenuFirstDropdownPosition"]},".brz &&:hover > .brz-menu__ul > .brz-menu__item-dropdown > [data-popper-placement='left-start']":{interval:["cssStyleMenuFirstDropdownPositionLeft"]},".brz &&:hover > .brz-menu__ul > .brz-menu__item-dropdown > [data-popper-placement='right-start']":{interval:["cssStyleMenuFirstDropdownPositionRight"]},".brz &&:hover .brz-menu__item-dropdown .brz-menu__dropdown":{interval:["cssStyleElementMenuDropdown"]},".brz &&:hover .brz-menu__item.brz-menu__item--opened > .brz-menu__dropdown":{interval:["cssStyleElementMenuDropdownOpened"]},".brz &&.brz-menu__preview:hover .brz-menu__item:hover > .brz-menu__sub-menu":{interval:["cssStyleElementMenuDropdownOpened"]},".brz &&:hover .brz-menu__dropdown .brz-menu__item-dropdown > .brz-a:after":{interval:["cssStyleElementMenuDropdownArrow"]},".brz &&:hover .brz-menu__dropdown .brz-menu__item-dropdown .brz-menu__dropdown":{interval:["cssStyleElementMenuInnerDropdown"]},".brz &&:hover .brz-menu__dropdown .brz-menu__item--opened > .brz-menu__dropdown":{interval:["cssStyleElementMenuDropdownInnerOpened"]},".brz &&.brz-menu__preview:hover .brz-menu__dropdown .brz-menu__item:hover > .brz-menu__sub-menu":{interval:["cssStyleElementMenuDropdownInnerOpened"]},".brz && .brz-mega-menu__dropdown":{interval:["cssStyleElementMegaMenuOpened"]},".brz &&.brz-menu__preview:hover .brz-menu__item:hover > .brz-mega-menu__portal":{interval:["cssStyleElementMenuDropdownOpened"]},".brz &&:hover .brz-menu__item-mega-menu .brz-mega-menu__portal":{interval:["cssStyleElementMenuDropdown"]}}})}},94452:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getItems:function(){return d},getItemsSimple:function(){return u},getItemsMMenu:function(){return p}});const r=o(81263),n=o(81405),i=o(64985),a=o(69321),l=o(68256),s=o(66559),c=o(24119);function d(e){let{v:t,device:o,state:r,context:n}=e;return"on"===(0,a.defaultValueValue)({v:t,device:o,state:r,key:"mMenu"})?p({v:t,device:o,state:r,context:n}):u({v:t,device:o,state:r})}function u(e){let{v:t,device:o,state:r}=e;const d=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:r}),{hex:u}=(0,l.getOptionColorHexByPalette)(d("colorHex"),d("colorPalette")),{hex:p}=(0,l.getOptionColorHexByPalette)(d("subMenuColorHex"),d("subMenuColorPalette"));return[{id:"toolbarMenuSettings",type:"popover-dev",config:{icon:"nc-menu-3",title:(0,i.t)("Menu")},position:10,options:[{id:"menuSize",type:"slider-dev",label:(0,i.t)("Size"),position:20,disabled:"horizontal"===d("verticalMode"),config:{min:10,max:100,units:[{title:"%",value:"%"}]}}]},{id:"toolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Icon")},position:20,options:[{id:"iconPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",position:10,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"iconSize",type:"slider-dev",label:(0,i.t)("Size"),position:20,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"iconSpacing",type:"slider-dev",devices:"desktop",label:(0,i.t)("Spacing"),roles:["admin"],position:30,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"subMenuToolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Icon")},position:20,options:[{id:"subMenuIconPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",position:10,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"subMenuIconSize",type:"slider-dev",label:(0,i.t)("Size"),position:20,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"subMenuIconSpacing",type:"slider-dev",devices:"desktop",label:(0,i.t)("Spacing"),roles:["admin"],position:30,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:o===s.DESKTOP?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:o===s.DESKTOP}}]},{id:"subMenuToolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:o===s.DESKTOP?"large":"auto",title:(0,i.t)("Typography")},roles:["admin"],position:70,options:[{id:"subMenu",type:"typography-dev",config:{fontFamily:o===s.DESKTOP}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(u,d("colorOpacity"))}}},devices:"desktop",position:80,roles:["admin"],options:[{id:"color",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"bg",label:(0,i.t)("Bg"),options:[{id:"menuBgColor",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"border",label:(0,i.t)("Border"),options:[{id:"menuBorder",type:"border-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]}]}]},{id:"subMenuToolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(p,d("subMenuColorOpacity"))}}},devices:"desktop",position:80,roles:["admin"],options:[{id:"subMenuColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"subMenuColor",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"tabBackground",label:(0,i.t)("Bg"),options:[{id:"subMenuBgColor",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"subMenuBorder",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",roles:["admin"],position:110,icon:"nc-cog",title:(0,i.t)("Settings")}]}function p(e){let{v:t,device:o,state:d,context:u}=e;const p=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:d}),{hex:f}=(0,l.getOptionColorHexByPalette)(p("mMenuColorHex"),p("mMenuColorPalette")),m=(0,l.getDynamicContentOption)({options:u.dynamicContent.config,type:r.DCTypes.image});return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,i.t)("Background")},position:10,options:[{id:"toolbarbackgroundTab",type:"tabs-dev",tabs:[{id:"imageFilter",label:(0,i.t)("Image"),options:[{label:(0,i.t)("Image"),id:"bg",type:"imageUpload-dev",population:m}]},{id:"filters",label:(0,i.t)("Filters"),options:[{id:"",type:"filters-dev",states:[c.NORMAL,c.HOVER]}]}]}]},{id:"mMenuToolbarMenuItem",type:"popover-dev",config:{icon:"nc-star",title:(0,i.t)("Icon")},position:20,options:[{id:"mMenuIconPosition",label:(0,i.t)("Position"),type:"radioGroup-dev",position:10,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"mMenuIconSize",type:"slider-dev",label:(0,i.t)("Size"),roles:["admin"],position:20,config:{min:0,max:100,units:[{title:"px",value:"px"}]}},{id:"mMenuIconSpacing",type:"slider-dev",label:(0,i.t)("Spacing"),roles:["admin"],position:30,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"mMenuToolbarTypography",type:"popover-dev",config:{icon:"nc-font",title:(0,i.t)("Typography"),size:o===s.DESKTOP?"large":"auto"},roles:["admin"],position:70,options:[{id:"mMenu",type:"typography-dev",config:{fontFamily:o===s.DESKTOP}}]},{id:"mMenuToolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(f,p("mMenuColorOpacity"))}}},position:80,roles:["admin"],options:[{id:"mMenuColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"mMenuColor",type:"colorPicker-dev",states:[c.NORMAL,c.HOVER,c.ACTIVE]}]},{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"mMenu",type:"backgroundColor-dev"}]},{id:"border",label:(0,i.t)("Border"),options:[{id:"mMenuBorder",type:"border-dev"}]}]}]},{id:"mMenuItemHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]},{id:"mMenuAdvancedSettings",type:"advancedSettings",devices:"desktop",roles:["admin"],position:110,icon:"nc-cog",title:(0,i.t)("Settings")}]}},32296:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81405),a=o(64985),l=o(69321),s=o(68256),c=e=>{const{menuData:t}=r.default.getAll();if(0===t.length)return[{title:(0,a.t)("Missing Menus"),value:""}];const o=t.map((e=>{let{id:t,name:o}=e;return{title:o,value:t}}));return o.some((t=>{let{value:o}=t;return o===e}))?o:[{title:(0,a.t)("Select a Menu"),value:""},...o]};function d(e){let{v:t,device:o}=e;const r=e=>(0,l.defaultValueValue)({v:t,key:e,device:o}),n=r("menuSelected"),{hex:d}=(0,s.getOptionColorHexByPalette)(r("mMenuIconColorHex"),r("mMenuIconColorPalette")),u=(0,i.hexToRgba)(d,"desktop"===o?r("mMenuIconColorOpacity"):"tablet"===o?(0,l.tabletSyncOnChange)(t,"mMenuIconColorOpacity"):(0,l.mobileSyncOnChange)(t,"mMenuIconColorOpacity"));return[{id:"toolbarMenu",type:"popover-dev",config:{icon:"nc-menu-3",title:(0,a.t)("Menu")},roles:["admin"],position:10,options:[{id:"menuSelected",type:"select-dev",devices:"desktop",position:10,label:(0,a.t)("Menu"),choices:c(n)},{id:"groupSettings",type:"group-dev",position:20,options:[{id:"mMenu",type:"switch-dev",label:(0,a.t)("Make it Hamburger")},{id:"mMenuSize",type:"slider-dev",label:(0,a.t)("Size"),disabled:"on"!==r("mMenu"),config:{min:8,max:64,units:[{title:"px",value:"px"}]}}]},{id:"verticalMode",label:(0,a.t)("Orientation"),type:"radioGroup-dev",position:30,disabled:"on"===r("mMenu"),choices:[{value:"vertical",icon:"nc-vertical-items"},{value:"horizontal",icon:"nc-horizontal-items"}]},{id:"mMenuPosition",label:(0,a.t)("Drawer Position"),type:"radioGroup-dev",disabled:"off"===r("mMenu"),position:40,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"itemPadding",type:"slider-dev",label:(0,a.t)("Spacing"),roles:["admin"],position:50,disabled:1===t.items.length||"on"===r("mMenu"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"mMenuColors",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Color"),icon:{style:{backgroundColor:u}}},position:20,disabled:"off"===r("mMenu"),options:[{id:"mMenuIconColor",type:"colorPicker-dev"}]}]}},36953:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getParentMegaMenuUid:function(){return o},isClonedSlide:function(){return r}});const o=e=>e.closest(".brz-mega-menu__portal")?.getAttribute("data-mega-menu-uid")??void 0,r=e=>{const t=e?.closest(".slick-slide");return!!t?.classList.contains("slick-cloned")}},72599:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{normalizeMenuItems:function(){return s},symbolsToItems:function(){return c},itemsToSymbols:function(){return d}});const r=a(o(13556)),n=a(o(10301)),i=o(16526);function a(e){return e&&e.__esModule?e:{default:e}}const l=["id","itemId","title","url","target","items","megaMenuItems","attrTitle","classes","current"];function s(e){return(0,i.setIds)((0,i.mapModels)((e=>{let{type:t,value:o}=e;return{type:t,value:n.default.pick(o,l)}}),e))}function c(e,t){return e.map((e=>(0,r.default)(e,(o=>{if(Object.assign(o.value,t[e.value.id]),!o.value.megaMenuItems){const e=(0,i.setIds)({type:"SectionMegaMenu",value:{items:[]}});o.value.megaMenuItems=[e]}o.value.items=c(e.value.items,t)}))))}function d(e){return e.reduce(((e,t)=>({...e,[t.value.id]:n.default.omit(t.value,[...l.filter((e=>"megaMenuItems"!==e)),"_id"]),...t.value.items.length>0?d(t.value.items):{}})),{})}},20647:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(60042)),n=y(o(27378)),i=y(o(67439)),a=y(o(63692)),l=o(8704),s=o(64187),c=o(94220),d=o(9644),u=y(o(73244)),p=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(88112)),f=o(10834),m=y(o(90604));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}class h extends a.default{static get componentId(){return"WPNavigation"}static defaultValue=u.default;state={menus:[]};componentDidMount(){(0,s.getMenus)().then((e=>{this.setState({menus:e}),""===this.getValue().menuName&&e.length>0&&this.patchValue({menuName:e[0].slug})}))}renderForEdit(e,t,o){const a=(0,r.default)("brz-menu-simple",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o))),{tabletToggleMenu:s,mobileToggleMenu:u}=e,y=(0,m.default)(this.state.menus),g=(0,d.makePlaceholder)({content:"{{ editor_navigation }}",attr:{menuId:e.menuName}});let h=n.default.createElement(l.DynamicContentHelper,{placeholder:g,tagName:"div"});if("on"===s||"on"===u){const e=(0,r.default)("brz-menu-simple__toggle",{"brz-menu-simple__toggle--tablet":"on"===s,"brz-menu-simple__toggle--mobile":"on"===u}),t=`brz-menu-simple__btn-${this.getId().slice(0,5)}`;h=n.default.createElement("div",{className:e},n.default.createElement("input",{className:"brz-input",id:t,type:"checkbox"}),n.default.createElement("label",{className:"brz-menu-simple__icon",htmlFor:t},n.default.createElement("span",{className:"brz-menu-simple__icon--bars"})),h)}return n.default.createElement(i.default,this.makeToolbarPropsFromConfig2(y,p),n.default.createElement("div",{className:a},h))}}},88112:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Menu");function n(){return[]}},10834:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementMenuSimpleWidth"]},".brz &&:hover .menu":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && .menu .menu-item a:hover":{standart:["cssStyleColor"]},".brz &&:hover .menu .menu-item.current-menu-item > a":{standart:["cssStyleElementMenuSimpleActiveColor"]},".brz &&:hover .menu .menu-item:first-child > a":{standart:["cssStyleElementMenuSimpleActiveColor"]},".brz &&:hover .menu > .menu-item:not(:last-child)":{standart:["cssStyleElementMenuSimpleItemPadding"]},".brz &&:hover .brz-menu-simple__icon--bars":{standart:["cssStyleElementMenuSimpleColorBars","cssStyleColor"]}}})}},90604:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{const t=e.map((e=>({title:e.name,value:e.slug})));return{getItems:c(t)}},c=e=>t=>{let{v:o,device:s}=t;const c=e=>(0,i.defaultValueValue)({v:o,key:e,device:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",position:60,config:{icon:"nc-menu-3"},options:[{id:"toggleMenu",type:"switch-dev",label:(0,n.t)("Toggle Menu"),devices:"responsive"},{id:"menuName",label:(0,n.t)("Menu"),devices:"desktop",type:"select-dev",choices:e},{id:"itemPadding",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===s?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===s}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("colorOpacity"))}}},roles:["admin"],position:80,devices:"desktop",options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,n.t)("More Settings"),devices:"desktop",icon:"nc-cog",position:150}]}},11185:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventCalendar",{enumerable:!0,get:function(){return N}});const r=j(o(60042)),n=j(o(27378)),i=j(o(67439)),a=j(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=j(o(21223)),u=F(o(36638)),p=F(o(74266)),f=o(36841),m=F(o(21364)),y=F(o(90269)),g=F(o(72642)),h=F(o(35129)),b=F(o(40473)),v=F(o(23261)),S=F(o(55778)),w=F(o(88857)),x=F(o(90082)),P=F(o(22511)),C=F(o(94275)),T=F(o(52555)),_=F(o(49170)),k=F(o(94270)),M=F(o(48337)),O=F(o(94312)),E=F(o(1830)),B=F(o(72474)),z=F(o(21831)),I=o(53141);function j(e){return e&&e.__esModule?e:{default:e}}function L(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(L=function(e){return e?o:t})(e)}function F(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=L(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class N extends a.default{static get componentId(){return"MinistryBrandsEventCalendar"}static defaultValue=d.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(b,u,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventCalendar__wrapper",(0,c.css)(this.getComponentId(),this.getId(),(0,f.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(E,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-pagination"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month1 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(v,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month2 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(S,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month3 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(w,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month4 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(x,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month5 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(P,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month6 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(C,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month7 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(T,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month8 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(_,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month9 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(k,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month10 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(M,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month11 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(O,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-month12 .brz-eventCalendar-day"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(z,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-row-weekdays"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,p),selector:".brz-eventCalendar-day-number span"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-day-np"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(B,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-links"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-eventCalendar-links .brz-eventCalendar__event-start-time"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,I.getPlaceholder)(e),props:{className:"brz-ministryBrands brz-eventCalendar"},blocked:!1,tagName:"div"}))))))))))))))))))))}}},36638:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526),l=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50}]}]}]},74266:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",disabled:!0},{id:"dayBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]},36841:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){const{visibleMonth:n=1}=e,i={".brz &&:hover .brz-ministryBrands.brz-eventCalendar":{standart:["cssStylePaddingBG","cssStyleBorderRadius","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleElementMinistryEventCalendarTableSpacing"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-eventCalendar-table":{standart:["cssStyleElementMinistryEventCalendarTableSpacing"],interval:["cssStyleHoverTransition"]},[`.brz && .brz-eventCalendar .brz-eventCalendar_wrap .brz-eventCalendar-layout .brz-eventCalendar-month.brz-eventCalendar-month${n}`]:{standart:["cssStyleDisplayBlock"]},".brz && .brz-eventCalendar-month1 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarEvenBgColor","cssStyleElementMinistryEventCalendarEvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month1 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarOddBgColor","cssStyleElementMinistryEventCalendarOddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month2 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth2EvenBgColor","cssStyleElementMinistryEventCalendarMonth2EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month2 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth2OddBgColor","cssStyleElementMinistryEventCalendarMonth2OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month3 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth3EvenBgColor","cssStyleElementMinistryEventCalendarMonth3EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month3 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth3OddBgColor","cssStyleElementMinistryEventCalendarMonth3OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month4 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth4EvenBgColor","cssStyleElementMinistryEventCalendarMonth4EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month4 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth4OddBgColor","cssStyleElementMinistryEventCalendarMonth4OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month5 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth5EvenBgColor","cssStyleElementMinistryEventCalendarMonth5EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month5 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth5OddBgColor","cssStyleElementMinistryEventCalendarMonth5OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month6 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth6EvenBgColor","cssStyleElementMinistryEventCalendarMonth6EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month6 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth6OddBgColor","cssStyleElementMinistryEventCalendarMonth6OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month7 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth7EvenBgColor","cssStyleElementMinistryEventCalendarMonth7EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month7 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth7OddBgColor","cssStyleElementMinistryEventCalendarMonth7OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month8 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth8EvenBgColor","cssStyleElementMinistryEventCalendarMonth8EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month8 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth8OddBgColor","cssStyleElementMinistryEventCalendarMonth8OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month9 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth9EvenBgColor","cssStyleElementMinistryEventCalendarMonth9EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month9 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth9OddBgColor","cssStyleElementMinistryEventCalendarMonth9OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month10 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth10EvenBgColor","cssStyleElementMinistryEventCalendarMonth10EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month10 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth10OddBgColor","cssStyleElementMinistryEventCalendarMonth10OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month11 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth11EvenBgColor","cssStyleElementMinistryEventCalendarMonth11EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month11 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth11OddBgColor","cssStyleElementMinistryEventCalendarMonth11OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month12 .brz-eventCalendar-row:nth-child(even) td:not(.brz-eventCalendar-day-np):hover":{standart:["cssStyleElementMinistryEventCalendarMonth12EvenBgColor","cssStyleElementMinistryEventCalendarMonth12EvenBgGradient"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-month12 .brz-eventCalendar-row:nth-child(odd):hover":{standart:["cssStyleElementMinistryEventCalendarMonth12OddBgColor","cssStyleElementMinistryEventCalendarMonth12OddBgGradient"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-eventCalendar-row-weekdays th":{standart:["cssStyleElementMinistryEventCalendarWeekdaysAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-row-weekdays tr:not(:first-child) th:hover":{standart:["cssStyleElementMinistryEventCalendarTableBorder"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-row td:hover":{standart:["cssStyleElementMinistryEventCalendarTableBorder"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-pagination:hover":{standart:["cssStyleElementOfMinistryBrandsPaginationTypography","cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementMinistryEventCalendarPaginationAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-pagination .brz-eventCalendar-heading":{standart:["cssStyleElementMinistryEventCalendarPaginationRight","cssStyleElementMinistryEventCalendarPaginationLeft"]},".brz && tr.brz-eventCalendar-row-weekdays th span:hover":{standart:["cssStyleElementMinistryEventCalendarWeekdaysTypography","cssStyleElementMinistryEventCalendarWeekdaysColor","cssStyleElementMinistryEventCalendarWeekdaysAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-day:hover .brz-eventCalendar-day-number":{standart:["cssStyleElementMinistryEventCalendarDayAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-day:hover .brz-eventCalendar-day-number span":{standart:["cssStyleElementMinistryEventCalendarDayTypography","cssStyleElementMinistryEventCalendarDayColor","cssStyleElementMinistryEventCalendarDayWidth","cssStyleElementMinistryEventCalendarDayHeight","cssStyleElementMinistryEventCalendarDayBgColor","cssStyleElementMinistryEventCalendarDayBgGradient","cssStyleElementMinistryEventCalendarDayBorder","cssStyleElementMinistryEventCalendarDayBorderRadius","cssStyleElementMinistryEventCalendarDayBoxShadow"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-links":{standart:["cssStyleElementMinistryEventCalendarTitleAlign"]},".brz && .brz-eventCalendar-links li .brz-eventCalendar-title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleTypography","cssStyleElementOfMinistryBrandsTitleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventCalendar-links .brz-eventCalendar__event-start-time:hover":{standart:["cssStyleElementMinistryEventCalendarEventStartTimeTypography","cssStyleElementMinistryEventCalendarEventStartTimeColor"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-eventCalendar-day-np":{standart:["cssStyleElementMinistryEventCalendarTableBorder","cssStyleElementMinistryEventCalendarEmptyBgColor","cssStyleElementMinistryEventCalendarEmptyBgGradient"],interval:["cssStyleHoverTransition"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}},21364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},90269:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("dayColorHex"),s("dayColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"dayTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("dayColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"dayColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"day",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"dayBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"dayBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"dayHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"dayWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"dayHeight",label:(0,n.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},72642:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("emptyBgColorHex"),s("emptyBgColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("emptyBgColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"empty",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]}]}},35129:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("dayColorHex"),s("dayColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"eventStartTimeTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("dayColorOpacity"))}}},devices:"desktop",position:20,options:[{id:"eventStartTimeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},40473:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,state:n,context:c,component:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{};return[{id:"toolbarEventDetail",type:"popover-dev",config:{icon:"t2-event-calendar",title:(0,a.t)("Event Calendar")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",devices:"desktop",tabs:[{id:"tabSettings",label:(0,a.t)("Settings"),options:[{id:"category",label:(0,a.t)("Category"),type:"select-dev",choices:(0,s.getEkklesiaChoiches)({key:"event",url:p})},{id:"group",label:(0,a.t)("Group"),type:"select-dev",choices:(0,s.getEkklesiaChoiches)({key:"groups",url:p})},{id:"numberOfMonths",label:(0,a.t)("Number of months"),type:"number-dev",config:{min:1,max:12,spinner:!0}},{id:"visibleMonth",label:(0,a.t)("Visible Month"),type:"number-dev",config:{min:1,max:12,spinner:!0}}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(u),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)("URL of event detail page. If used will add a link to the calendar titles to take the user to the event detail page. Requires the 'Event Detail' widget to be placed on a page and that page url/slug placed in this field.")}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}}]},{id:"tabEventCalendarDisplay",label:(0,a.t)("Display"),options:[{id:"features",type:"switch-dev",label:(0,a.t)("Features"),helper:{content:(0,a.t)("If this is selected the No featured option does not apply.")}},{id:"nonfeatures",type:"switch-dev",label:(0,a.t)("No featured"),helper:{content:(0,a.t)("If this is selected the Features option does not apply.")}},{id:"showEventTime",type:"switch-dev",label:(0,a.t)("Event Start Time"),devices:"desktop"}]},{id:"tabEventSpacing",label:(0,a.t)("Between"),options:[{id:"borderSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:n,context:c,component:d}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]}},94270:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month10Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month10Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},48337:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month11Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month11Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},94312:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month12Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month12Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},23261:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month2Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month2Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},55778:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month3Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month3Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},88857:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month4Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month4Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},90082:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month5Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month5Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},22511:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month6Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month6Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},94275:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month7Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month7Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},52555:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month8Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month8Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},49170:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("tableBorderColorHex"),s("tableBorderColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("tableBorderColorOpacity"))}}},devices:"desktop",position:10,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabEvenBg",label:(0,n.t)("Even Bg"),options:[{id:"month9Even",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabOddBg",label:(0,n.t)("Odd Bg"),options:[{id:"month9Odd",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},1830:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paginationColorHex"),s("paginationColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"paginationTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("paginationColorOpacity"))}}},position:20,options:[{id:"paginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"paginationHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"paginationSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]}]}},72474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("titleColorOpacity"))}}},position:20,options:[{id:"titleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"titleHorizontalAlign",type:"toggle-dev",devices:"desktop",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},21831:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("weekdaysColorHex"),s("weekdaysColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"weekdaysTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("weekdaysColorOpacity"))}}},position:20,options:[{id:"weekdaysColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"weekdaysHorizontalAlign",type:"toggle-dev",position:30,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},53141:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{category:t,group:o,showEventTime:i,numberOfMonths:a,features:l,nonfeatures:s,detailPage:c}=e,d=[`category='${t}'`,`group='${o}'`,(0,n.getFeatures)(l,"features"),(0,n.getFeatures)(s,"nonfeatures"),`howmanymonths='${a}'`,`detail_page='${(0,n.getDetail)(c)}'`,(0,n.getAttr)(i,"time")];return(0,r.makePlaceholder)({content:"{{ekk_event_calendar}}",attrStr:d.join(" ")})}},40866:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventDetail",{enumerable:!0,get:function(){return T}});const r=x(o(60042)),n=x(o(27378)),i=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=C(o(65918)),u=C(o(63786)),p=C(o(89330)),f=C(o(42938)),m=C(o(74765)),y=C(o(8981)),g=C(o(75545)),h=C(o(58306)),b=x(o(95763)),v=o(97137),S=C(o(31099)),w=o(18615);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsEventDetail"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventDetail__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item--meta--date"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item :not(.brz-eventDetail__item--meta--preview, .brz-ministryBrands__item--meta--button) a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--links--previous"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-eventDetail__item--meta--preview *:not(:is(:has(a),a))"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-eventDetail"},blocked:!1,tagName:"div"})))))))))}}},97137:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-eventDetail:hover":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-eventDetail__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && :is(.brz-eventDetail__item--meta,.brz-eventDetail__item--meta--container):hover":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-eventDetail__item--meta, .brz-eventDetail__item--meta > *:not(a)):hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventDetail__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventDetail__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateTypography","cssStyleElementOfMinistryBrandsDateColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button a:hover":{standart:["cssStyleElementMinistryBrandsButtonsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--links--previous:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover :is(.brz-eventDetail__item, .brz-eventDetail__item--meta--preview) > *:not(:last-child)":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz &&:hover .brz-eventDetail__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-eventDetail__item--meta--preview *:not(a):hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventDetail__item :not(.brz-eventDetail__item--meta--preview, .brz-ministryBrands__item--meta--button) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]}}})}},31099:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,state:n,component:s,context:c}=e;const{apiUrl:d}=r.default.getAll()?.modules?.ekklesia??{};return[{id:"toolbarEventDetail",type:"popover-dev",config:{icon:"t2-event-detail",title:(0,i.t)("Event Detail")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,i.t)("Settings"),options:[{id:"recentEvents",devices:"desktop",label:(0,i.t)("Recent Events"),type:"select-dev",choices:(0,l.getEkklesiaChoiches)({key:"events",url:d}),helper:{content:(0,i.t)("Select a recent event as an example to style/setup. Since this is the events detail landing page this event will be replaced with the linked event.")}}]},{id:"tabEventDetail",label:(0,i.t)("Display"),options:[{id:"showImage",type:"switch-dev",devices:"desktop",label:(0,i.t)("Image")},{id:"showTitle",type:"switch-dev",devices:"desktop",label:(0,i.t)("Title")},{id:"showDate",type:"switch-dev",devices:"desktop",label:(0,i.t)("Date")},{id:"showCategory",type:"switch-dev",devices:"desktop",label:(0,i.t)("Category")},{id:"showGroup",type:"switch-dev",devices:"desktop",label:(0,i.t)("Group")},{id:"showMetaHeadings",type:"switch-dev",devices:"desktop",label:(0,i.t)("Meta Headings")},{id:"showLocation",type:"switch-dev",devices:"desktop",label:(0,i.t)("Location")},{id:"showRoom",type:"switch-dev",devices:"desktop",label:(0,i.t)("Room")},{id:"showCoordinator",type:"switch-dev",devices:"desktop",label:(0,i.t)("Coordinator")},{id:"showCoordinatorEmail",type:"switch-dev",devices:"desktop",label:(0,i.t)("Coordinator Email")},{id:"showCoordinatorPhone",type:"switch-dev",devices:"desktop",label:(0,i.t)("Coordinator Phone")},{id:"showCost",type:"switch-dev",devices:"desktop",label:(0,i.t)("Cost")},{id:"showWebsite",type:"switch-dev",devices:"desktop",label:(0,i.t)("Website")},{id:"showRegistration",type:"switch-dev",devices:"desktop",label:(0,i.t)("Registration")},{id:"showDescription",type:"switch-dev",devices:"desktop",label:(0,i.t)("Description")},{id:"showPreviousPage",type:"switch-dev",devices:"desktop",label:(0,i.t)("Previous Page")}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:n,component:s,context:c}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},18615:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showImage:t,showTitle:o,showDate:i,showCategory:a,showGroup:l,showMetaHeadings:s,showLocation:c,showRoom:d,showCoordinator:u,showCoordinatorEmail:p,showCoordinatorPhone:f,showCost:m,showWebsite:y,showRegistration:g,showDescription:h,recentEvents:b,showPreviousPage:v}=e,S=[(0,n.getAttr)(t,"show_image"),(0,n.getAttr)(o,"show_title"),(0,n.getAttr)(i,"show_date"),(0,n.getAttr)(a,"show_category"),(0,n.getAttr)(l,"show_group"),(0,n.getAttr)(s,"show_meta_headings"),(0,n.getAttr)(c,"show_location"),(0,n.getAttr)(d,"show_room"),(0,n.getAttr)(u,"show_coordinator"),(0,n.getAttr)(p,"show_coordinator_email"),(0,n.getAttr)(f,"show_coordinator_phone"),(0,n.getAttr)(m,"show_cost"),(0,n.getAttr)(y,"show_website"),(0,n.getAttr)(g,"show_registration"),(0,n.getAttr)(h,"show_description"),(0,n.getAttr)(v,"previous_page"),`events_recent='${b}'`];return(0,r.makePlaceholder)({content:"{{ekk_event_detail}}",attrStr:S.join(" ")})}},84621:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventFeatured",{enumerable:!0,get:function(){return T}});const r=x(o(60042)),n=x(o(27378)),i=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=C(o(65918)),u=C(o(63786)),p=C(o(89330)),f=C(o(42938)),m=C(o(8981)),y=C(o(75545)),g=C(o(8382)),h=C(o(58306)),b=x(o(56715)),v=o(20682),S=C(o(79501)),w=o(74313);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsEventFeatured"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventFeatured__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-eventFeatured__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-eventFeatured__item--meta--date"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:":is(.brz-eventFeatured__item--meta--link, .brz-eventFeatured__item--meta--preview) a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-eventFeatured__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--register-button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-eventFeatured__item--meta--preview *:not(:is(:has(a),a))"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-eventFeatured"},blocked:!1,tagName:"div"})))))))))}}},20682:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-eventFeatured":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-eventFeatured__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-eventFeatured__item--meta:hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-eventFeatured__item--meta, .brz-eventFeatured__item--meta--link):hover":{standart:["getAllCssStyleTypography"]},".brz && .brz-eventFeatured__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-eventFeatured__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateTypography","cssStyleElementOfMinistryBrandsDateColor"],interval:["cssStyleHoverTransition"]},".brz &&:hover :is(.brz-eventFeatured__item, .brz-eventFeatured__item--meta--preview) > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz &&:hover .brz-eventFeatured__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && :is(.brz-eventFeatured__item--meta--preview, .brz-eventFeatured__item--meta--preview *):hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-eventFeatured__item--meta--preview, .brz-eventFeatured__item--meta--preview *:not(a)):hover":{standart:["cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-eventFeatured__item--meta--link,.brz-eventFeatured__item--meta--preview) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--register-button:hover":{standart:["cssStyleElementMinistryBrandsRegisterButtonBgColor","cssStyleElementMinistryBrandsRegisterButtonBgGradient","cssStyleElementMinistryBrandsRegisterButtonBoxShadow","cssStyleElementMinistryBrandsRegisterButtonBorder","cssStyleElementMinistryBrandsRegisterButtonColor","cssStyleElementMinistryBrandsRegisterButtonTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},79501:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(69321),s=o(41493),c=o(78407),d=e=>{let{v:t,state:o,component:n,context:d,device:u}=e;const p=r.default.getAll(),{apiUrl:f}=p.modules?.ekklesia??{},m=e=>(0,l.defaultValueValue)({v:t,key:e,device:u}),y="on"===m("showLatestEvents");return[{id:"toolbarEventFeatured",type:"popover-dev",config:{icon:"t2-event-featured",title:(0,a.t)("Event Featured")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,a.t)("Settings"),options:[{id:"showLatestEvents",type:"switch-dev",devices:"desktop",label:(0,a.t)("Show Latest"),helper:{content:(0,a.t)("This option automatically shows the latest event and overrides the 'Recent Events' and 'Event Slug' options.")}},{id:"category",devices:"desktop",label:(0,a.t)("Category"),type:"select-dev",disabled:!y,choices:(0,c.getEkklesiaChoiches)({key:"event",url:f}),helper:{content:(0,a.t)("This option only applies to 'Show Latest'.")}},{id:"group",devices:"desktop",label:(0,a.t)("Group"),type:"select-dev",disabled:!y,choices:(0,c.getEkklesiaChoiches)({key:"groups",url:f}),helper:{content:(0,a.t)("This option only applies to 'Show Latest'.")}},{id:"recentEvents",devices:"desktop",label:(0,a.t)("Recent Events"),type:"select-dev",disabled:y||""!==m("eventSlug"),choices:(0,c.getEkklesiaChoiches)({key:"events",url:f}),helper:{content:(0,a.t)('Select a recent event. Use only if you are not using "Event Slug" below and "Show Latest" is set to "Off".')}},{id:"features",type:"switch-dev",devices:"desktop",label:(0,a.t)("Features"),disabled:!y||"on"===m("nonfeatures"),helper:{content:(0,a.t)("This option only applies to 'Show Latest' and if this is selected the 'No featured' option does not apply.")}},{id:"nonfeatures",type:"switch-dev",devices:"desktop",label:(0,a.t)("No featured"),disabled:!y||"on"===m("features"),helper:{content:(0,a.t)("This option only applies to 'Show Latest' and if this is selected the 'Featured' option does not apply.")}},{id:"eventSlug",type:"inputText-dev",devices:"desktop",placeholder:(0,a.t)("Slug..."),disabled:y,label:(0,a.t)("Slug"),helper:{content:(0,a.t)('Slug of event (my-event-name). Use only if you are not selecting from the "Recent Events" above and "Show Latest" is set to "Off".')}}]},{id:"tabEventFeatured",label:(0,a.t)("Display"),options:[{id:"showImage",type:"switch-dev",devices:"desktop",label:(0,a.t)("Image")},{id:"showTitle",type:"switch-dev",devices:"desktop",label:(0,a.t)("Title")},{id:"showDate",type:"switch-dev",devices:"desktop",label:(0,a.t)("Date")},{id:"showCategory",type:"switch-dev",devices:"desktop",label:(0,a.t)("Category")},{id:"showGroup",type:"switch-dev",devices:"desktop",label:(0,a.t)("Group")},{id:"showMetaHeadings",type:"switch-dev",devices:"desktop",label:(0,a.t)("Meta Headings")},{id:"showLocation",type:"switch-dev",devices:"desktop",label:(0,a.t)("Location")},{id:"showRoom",type:"switch-dev",devices:"desktop",label:(0,a.t)("Room")},{id:"showCoordinator",type:"switch-dev",devices:"desktop",label:(0,a.t)("Coordinator")},{id:"showCoordinatorEmail",type:"switch-dev",devices:"desktop",label:(0,a.t)("Coordinator Email")},{id:"showCoordinatorPhone",type:"switch-dev",devices:"desktop",label:(0,a.t)("Coordinator Phone")},{id:"showCost",type:"switch-dev",devices:"desktop",label:(0,a.t)("Cost")},{id:"showWebsite",type:"switch-dev",devices:"desktop",label:(0,a.t)("Website")},{id:"showRegistration",type:"switch-dev",devices:"desktop",label:(0,a.t)("Registration")},{id:"showDescription",type:"switch-dev",devices:"desktop",label:(0,a.t)("Description")},{id:"showPreview",type:"switch-dev",devices:"desktop",label:(0,a.t)("Preview")}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(p),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)('URL of event detail page. If used a link to the heading and an image will be added to take the user to the event detail page. Requires the "Event Detail" widget to be placed on a page and that page url/slug placed in this field .')}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",devices:"desktop",placeholder:(0,a.t)("Button Text..."),label:(0,a.t)("Button"),disabled:!m("detailPage"),helper:{content:(0,a.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,s.toolbarParentColors)({v:t,device:u,state:o,component:n,context:d}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]}]}},74313:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showImage:t,showTitle:o,showDate:i,showCategory:a,showGroup:l,showMetaHeadings:s,showLocation:c,showRoom:d,showCoordinator:u,showCoordinatorEmail:p,showCoordinatorPhone:f,showCost:m,showWebsite:y,showRegistration:g,showDescription:h,showLatestEvents:b,recentEvents:v,eventSlug:S,category:w,group:x,features:P,nonfeatures:C,showPreview:T,detailPageButtonText:_,detailPage:k}=e,M=[`category='${w}'`,`group='${x}'`,`recentEvents='${v}'`,(0,n.getAttr)(b,"show_latest_events"),`event_slug='${S}'`,(0,n.getFeatures)(P,"features"),(0,n.getFeatures)(C,"nonfeatures"),(0,n.getAttr)(t,"show_image"),(0,n.getAttr)(o,"show_title"),(0,n.getAttr)(i,"show_date"),(0,n.getAttr)(a,"show_category"),(0,n.getAttr)(l,"show_group"),(0,n.getAttr)(s,"show_meta_headings"),(0,n.getAttr)(c,"show_location"),(0,n.getAttr)(d,"show_room"),(0,n.getAttr)(u,"show_coordinator"),(0,n.getAttr)(p,"show_coordinator_email"),(0,n.getAttr)(f,"show_coordinator_phone"),(0,n.getAttr)(m,"show_cost"),(0,n.getAttr)(y,"show_website"),(0,n.getAttr)(g,"show_registration"),(0,n.getAttr)(h,"show_description"),(0,n.getAttr)(T,"show_preview"),`detail_page_button_text='${_}'`,`detail_page='${(0,n.getDetail)(k)}'`];return(0,r.makePlaceholder)({content:"{{ekk_event_featured}}",attrStr:M.join(" ")})}},63530:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("calendarDaysColorHex"),s("calendarDaysColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"calendarDaysTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("calendarDaysColorOpacity"))}}},position:80,options:[{id:"colorTabs",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,n.t)("Text"),options:[{id:"calendarDaysColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"calendarDays",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"calendarDaysBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},40878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("calendarHeadingColorHex"),s("calendarHeadingColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"calendarHeadingTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("calendarHeadingColorOpacity"))}}},position:80,options:[{id:"calendarHeadingColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},54370:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventLayout",{enumerable:!0,get:function(){return B}});const r=M(o(60042)),n=M(o(27378)),i=M(o(67439)),a=M(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=E(o(65918)),u=E(o(86404)),p=E(o(63786)),f=E(o(95663)),m=E(o(75545)),y=E(o(58306)),g=E(o(63530)),h=E(o(40878)),b=M(o(51818)),v=E(o(72249)),S=E(o(48134)),w=E(o(21582)),x=E(o(33517)),P=E(o(511)),C=o(21158),T=E(o(80919)),_=E(o(38522)),k=o(16384);function M(e){return e&&e.__esModule?e:{default:e}}function O(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(O=function(e){return e?o:t})(e)}function E(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=O(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class B extends a.default{static get componentId(){return"MinistryBrandsEventLayout"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(_,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventLayout__wrapper",(0,c.css)(this.getComponentId(),this.getId(),(0,C.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(T,void 0,{allowExtend:!1}),selector:".brz-eventLayout--view"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,u,{allowExtend:!1}),selector:".brz-eventLayout--filters"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-eventLayout--featured__item-title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-eventLayout--featured__item p"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-eventLayout--featured__preview"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(x,void 0,{allowExtend:!1}),selector:".brz-eventLayout__pagination"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(P,void 0,{allowExtend:!1}),selector:".brz-eventLayout--list-item__title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(w,void 0,{allowExtend:!1}),selector:".brz-eventLayout--list-item__content-date"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(S,void 0,{allowExtend:!1}),selector:".brz-eventLayout--list-item__content__heading"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(v,void 0,{allowExtend:!1}),selector:".brz-eventLayout--list-item__content__meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-eventLayout--calendar-heading th"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-eventLayout--calendar-day"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,k.getPlaceholder)(e),props:{className:"brz-ministryBrands brz-eventLayout"},blocked:!1,tagName:"div"}))))))))))))))}}},72249:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listItemMetaColorHex"),s("listItemMetaColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"listItemMetaTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listItemMetaColorOpacity"))}}},position:80,options:[{id:"listItemMetaColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},48134:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listItemTitleColorHex"),s("listItemTitleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"listItemTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listItemTitleColorOpacity"))}}},position:80,options:[{id:"listItemTitleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},21582:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listItemDateColorHex"),s("listItemDateColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"listItemDateTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listItemDateColorOpacity"))}}},position:80,options:[{id:"colorTabs",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,n.t)("Text"),options:[{id:"listItemDateColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Background"),options:[{id:"listItemDate",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},33517:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listPaginationColorHex"),s("listPaginationColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"listPaginationTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listPaginationColorOpacity"))}}},position:80,options:[{id:"listPaginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"listPaginationSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},511:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listTitleColorHex"),s("listTitleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"listTitleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listTitleColorOpacity"))}}},position:80,options:[{id:"colorTabs",type:"tabs-dev",tabs:[{id:"tabColor",label:(0,n.t)("Text"),options:[{id:"listTitleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"listBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},21158:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-eventLayout":{standart:["cssStylePaddingBG","cssStyleBorderRadius","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout iframe, .brz && .brz-eventLayout video, .brz && .brz-eventLayout img, .brz && .brz-eventLayout--featured__preview":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-eventLayout--featured":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz && .brz-eventLayout--featured__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-eventLayout--view li:hover:not(.brz-eventLayout--view-active)":{standart:["cssStyleElementEventLayoutViewTypography","cssStyleElementEventLayoutViewBgColor","cssStyleElementEventLayoutViewBgGradient","cssStyleElementEventLayoutViewColor","cssStyleElementEventLayoutViewBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && li.brz-eventLayout--view-active:hover":{standart:["cssStyleElementEventLayoutViewTypography","cssStyleElementEventLayoutViewColorActive","cssStyleElementEventLayoutViewBgColorActive","cssStyleElementEventLayoutViewBgGradientActive","cssStyleElementEventLayoutViewBorderActive"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters:hover":{standart:["cssStyleMinistryElementFiltersBgColor","cssStyleMinistryElementFiltersBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters .brz-eventLayout--filters-form-selectWrapper:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters .brz-eventLayout--filters-form-selectWrapper:hover::after":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters .brz-eventLayout--filters-form-selectWrapper:hover select option":{standart:["cssStyleMinistryElementFiltersInputBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters input:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters fieldset:hover ":{standart:["cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters fieldset:hover input::placeholder":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--filters fieldset:hover button":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--featured__item-title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--featured__item-title a:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--featured__item p:hover":{standart:["cssStyleElementOfMinistryBrandsDateTypography","cssStyleElementOfMinistryBrandsDateColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--featured__preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout__pagination:hover":{standart:["cssStyleElementEventLayoutListPaginationTypography","cssStyleElementEventLayoutListPaginationColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout__pagination span":{standart:["cssStyleElementEventLayoutListPaginationSpacing"]},".brz && .brz-eventLayout--list-item__title:hover":{standart:["cssStyleElementEventLayoutListTitleTypography","cssStyleElementEventLayoutListTitleColor","cssStyleElementEventLayoutListTitleBorderBottom"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--list-item__content-date:hover":{standart:["cssStyleElementEventLayoutListItemDateTypography","cssStyleElementEventLayoutListItemDateColor","cssStyleElementEventLayoutListItemDateBackgroundColor","cssStyleElementEventLayoutListItemDateBackgroundGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--list-item__content__heading:hover":{standart:["cssStyleElementEventLayoutListItemTitleTypography","cssStyleElementEventLayoutListItemTitleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--list-item__content__meta:hover":{standart:["cssStyleElementEventLayoutListItemMetaTypography","cssStyleElementEventLayoutListItemMetaColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--calendar-heading:hover":{standart:["cssStyleElementEventLayoutCalendarHeadingTypography","cssStyleElementEventLayoutCalendarHeadingColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--calendar-day:hover":{standart:["cssStyleElementEventLayoutCalendarDaysTypography","cssStyleElementEventLayoutCalendarDaysColor","cssStyleElementEventLayoutCalendarDaysBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--calendar-day__number span:hover":{standart:["cssStyleElementEventLayoutCalendarDaysBgColor","cssStyleElementEventLayoutCalendarDaysBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventLayout--calendar-day-np:hover":{standart:["cssStyleElementEventLayoutCalendarDaysBgColor","cssStyleElementEventLayoutCalendarDaysBgGradient","cssStyleElementEventLayoutCalendarDaysBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},80919:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("viewBgColorHex"),s("viewBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"layoutViewTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("viewBgColorOpacity"))}}},options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabViewBg",label:(0,n.t)("Background"),options:[{id:"view",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabViewText",label:(0,n.t)("Text"),options:[{id:"viewColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabViewBorder",label:(0,n.t)("Border"),options:[{id:"viewBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]}]}},38522:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,state:n,component:c,context:d}=e;const u="off"===t.showFeaturedView,p="off"===t.showListView,f="off"===t.showCalendarView,m="off"===t.showCategoryFilter,y="off"===t.addCategoryFilter,g="off"===t.addCategoryFilter2,h="off"===t.addCategoryFilter3,b=r.default.getAll(),{apiUrl:v}=b.modules?.ekklesia??{};return[{id:"toolbarEventLayout",type:"popover-dev",config:{icon:"t2-event-layout",title:(0,a.t)("Event Layout")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabColumns",label:(0,a.t)("Columns"),options:[{id:"howManyFeatured",label:(0,a.t)("Items"),type:"number-dev",disabled:u,devices:"desktop",config:{min:1,max:24,spinner:!0}},{id:"columnNumber",label:(0,a.t)("Columns"),type:"number-dev",disabled:u,config:{min:1,max:6,spinner:!0}}]},{id:"tabEventLayout",label:(0,a.t)("Display"),options:[{id:"featuredViewGroup",type:"group-dev",devices:"desktop",options:[{id:"showFeaturedView",label:(0,a.t)("Featured View"),type:"switch-dev",devices:"desktop"},{id:"featuredViewOrder",label:(0,a.t)("Order"),type:"number-dev",disabled:u,config:{min:1,max:3,spinner:!0},helper:{content:(0,a.t)("The featured view default is the first position. If you change the order make sure the other view positions are updated to be unique.")}},{id:"featuredViewHeading",label:(0,a.t)("Heading"),type:"inputText-dev",disabled:u},{id:"showFeaturedImages",label:(0,a.t)("Images"),type:"switch-dev",disabled:u},{id:"showFeaturedPreview",label:(0,a.t)("Preview"),type:"switch-dev",disabled:u},{id:"showFeaturedTitle",label:(0,a.t)("Title"),type:"switch-dev",disabled:u},{id:"showFeaturedDate",label:(0,a.t)("Date"),type:"switch-dev",disabled:u}]},{id:"listViewGroup",type:"group-dev",devices:"desktop",options:[{id:"showListView",label:(0,a.t)("List View"),type:"switch-dev",devices:"desktop"},{id:"listViewOrder",label:(0,a.t)("Order"),type:"number-dev",disabled:p,config:{min:1,max:3,spinner:!0},helper:{content:(0,a.t)("The list view default is the second position. If you change the order make sure the other view positions are updated to be unique.")}},{id:"listViewHeading",label:(0,a.t)("Heading"),type:"inputText-dev",disabled:p}]},{id:"calendarViewGroup",type:"group-dev",devices:"desktop",options:[{id:"showCalendarView",label:(0,a.t)("Calendar View"),type:"switch-dev",devices:"desktop"},{id:"calendarViewOrder",label:(0,a.t)("Order"),type:"number-dev",disabled:f,config:{min:1,max:3,spinner:!0},helper:{content:(0,a.t)("The calendar view default is the third position. If you change the order make sure the other view positions are updated to be unique.")}},{id:"calendarViewHeading",label:(0,a.t)("Heading"),type:"inputText-dev",disabled:f}]},{id:"howmanymonths",type:"number-dev",label:(0,a.t)("Months"),devices:"desktop"}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(b),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)('URL of event detail page. If used a link to the heading and an image will be added to take the user to the event detail page. Requires the "Event Detail" widget to be placed on a page and that page url/slug placed in this field.')}},{id:"eventDetailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}}]},{id:"tabFilterSettings",label:(0,a.t)("Filter"),options:[{id:"parentCategory",label:(0,a.t)("Parent Category"),type:"select-dev",devices:"desktop",choices:(0,s.getEkklesiaChoiches)({key:"eventsLvl",subKey:"parents",url:v}),helper:{content:(0,a.t)("Defines which level 1 category to use as a base for the layout.")}},{id:"categoryGroup",type:"group-dev",devices:"desktop",options:[{id:"showCategoryFilter",type:"switch-dev",label:(0,a.t)("Category"),devices:"desktop"},{id:"categoryFilterParent",type:"select-dev",label:(0,a.t)("Parent"),devices:"desktop",disabled:m,choices:(0,s.getEkklesiaChoiches)({key:"eventsLvl",subKey:"childs",url:v}),helper:{content:(0,a.t)("Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"categoryFilterList",type:"inputText-dev",label:(0,a.t)("List"),devices:"desktop",disabled:m,helper:{content:(0,a.t)("This should be a comma separate list of category slugs without spaces eg. if you wanted to use the categories 'Category Example 1' and 'Category Example 2' the list would be 'category-example-1,category-example-2'. This option removes the parent filter options.")}},{id:"categoryFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:m}]},{id:"showGroupGroup",type:"group-dev",devices:"desktop",options:[{id:"showGroupFilter",type:"switch-dev",label:(0,a.t)("Group"),devices:"desktop"},{id:"groupFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:"off"===t.showGroupFilter}]},{id:"showGroupSearch",type:"group-dev",devices:"desktop",options:[{id:"showSearch",type:"switch-dev",label:(0,a.t)("Search"),devices:"desktop"},{id:"searchPlaceholder",type:"inputText-dev",label:(0,a.t)("Placeholder"),devices:"desktop",disabled:"off"===t.showSearch}]}]},{id:"tabAdvanced",label:(0,a.t)("Advanced"),options:[{id:"addCategoryGroup",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter",type:"switch-dev",label:(0,a.t)("Add Category Filter"),devices:"desktop"},{id:"addCategoryFilterParent",type:"select-dev",label:(0,a.t)("Parent"),devices:"desktop",disabled:y,choices:(0,s.getEkklesiaChoiches)({key:"eventsLvl",subKey:"childs",url:v}),helper:{content:(0,a.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterList",type:"inputText-dev",label:(0,a.t)("List"),devices:"desktop",disabled:y,helper:{content:(0,a.t)('This should be a comma separate list of category slugs without spaces eg. if you wanted to use the categories "Category Example 1" and "Category Example 2" the list would be "category-example-1,category-example-2". This option removes the parent filter options.')}},{id:"addCategoryFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:y}]},{id:"addCategoryGroup2",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter2",type:"switch-dev",label:(0,a.t)("Add Category Filter 2"),devices:"desktop"},{id:"addCategoryFilterParent2",type:"select-dev",label:(0,a.t)("Parent"),devices:"desktop",disabled:g,choices:(0,s.getEkklesiaChoiches)({key:"eventsLvl",subKey:"childs",url:v}),helper:{content:(0,a.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterList2",type:"inputText-dev",label:(0,a.t)("List"),devices:"desktop",disabled:g,helper:{content:(0,a.t)('This should be a comma separate list of category slugs without spaces eg. if you wanted to use the categories "Category Example 1" and "Category Example 2" the list would be "category-example-1,category-example-2". This option removes the parent filter options.')}},{id:"addCategoryFilterHeading2",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:g}]},{id:"addCategoryGroup3",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter3",type:"switch-dev",label:(0,a.t)("Add Category Filter 3"),devices:"desktop"},{id:"addCategoryFilterParent3",type:"select-dev",label:(0,a.t)("Parent"),devices:"desktop",disabled:h,choices:(0,s.getEkklesiaChoiches)({key:"eventsLvl",subKey:"childs",url:v}),helper:{content:(0,a.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterList3",type:"inputText-dev",label:(0,a.t)("List"),devices:"desktop",disabled:h,helper:{content:(0,a.t)('This should be a comma separate list of category slugs without spaces eg. if you wanted to use the categories "Category Example 1" and "Category Example 2" the list would be "category-example-1,category-example-2". This option removes the parent filter options.')}},{id:"addCategoryFilterHeading3",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:h}]}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:n,component:c,context:d}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,disabled:u,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,disabled:u,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,disabled:!u}]}},16384:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showFeaturedView:t,featuredViewOrder:o,featuredViewHeading:i,howManyFeatured:a,showFeaturedImages:l,showFeaturedPreview:s,showFeaturedTitle:c,showFeaturedDate:d,showListView:u,listViewOrder:p,listViewHeading:f,showCalendarView:m,calendarViewOrder:y,calendarViewHeading:g,howmanymonths:h,eventDetailPage:b,parentCategory:v,categoryFilterList:S,showCategoryFilter:w,categoryFilterParent:x,categoryFilterHeading:P,addCategoryFilterList:C,addCategoryFilterList2:T,addCategoryFilterList3:_,addCategoryFilter:k,addCategoryFilterParent:M,addCategoryFilterHeading:O,addCategoryFilter2:E,addCategoryFilter3:B,addCategoryFilterParent2:z,addCategoryFilterHeading2:I,addCategoryFilterParent3:j,addCategoryFilterHeading3:L,showGroupFilter:F,groupFilterHeading:N,showSearch:D,searchPlaceholder:R}=e,A=[(0,n.getAttr)(t,"show_featured_view"),`view_order_featured='${o}'`,`view_featured_heading='${i}'`,`howmanyfeatured='${a}'`,(0,n.getAttr)(l,"show_images_featured"),(0,n.getAttr)(s,"show_preview_featured"),(0,n.getAttr)(c,"show_title_featured"),(0,n.getAttr)(d,"show_date_featured"),(0,n.getAttr)(u,"show_list_view"),`view_order_list='${p}'`,`view_list_heading='${f}'`,(0,n.getAttr)(m,"show_calendar_view"),`view_order_calendar='${y}'`,`view_calendar_heading='${g}'`,`howmanymonths='${h}'`,`detail_page='${(0,n.getDetail)(b)}'`,`parent_category='${v}'`,`category_filter_list='${S}'`,(0,n.getAttr)(w,"show_category_filter"),`category_filter_parent='${x}'`,`category_filter_heading='${P}'`,`category_filter_list_add1='${C}'`,`category_filter_list_add2='${T}'`,`category_filter_list_add3='${_}'`,(0,n.getAttr)(k,"show_category_filter_add1"),`category_filter_parent_add1='${M}'`,`category_filter_heading_add1='${O}'`,(0,n.getAttr)(E,"show_category_filter_add2"),(0,n.getAttr)(B,"show_category_filter_add3"),`category_filter_parent_add2='${z}'`,`category_filter_heading_add2='${I}'`,`category_filter_parent_add3='${j}'`,`category_filter_heading_add3='${L}'`,(0,n.getAttr)(F,"show_group_filter"),`group_filter_heading='${N}'`,(0,n.getAttr)(D,"show_search"),`search_placeholder='${R}'`];return(0,r.makePlaceholder)({content:"{{ekk_event_layout}}",attrStr:A.join(" ")})}},69443:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsEventList",{enumerable:!0,get:function(){return _}});const r=P(o(60042)),n=P(o(27378)),i=P(o(67439)),a=P(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=T(o(65918)),u=T(o(63786)),p=T(o(89330)),f=T(o(42938)),m=T(o(8981)),y=T(o(51179)),g=T(o(75545)),h=T(o(8382)),b=T(o(58306)),v=P(o(11457)),S=o(62332),w=T(o(20988)),x=o(62288);function P(e){return e&&e.__esModule?e:{default:e}}function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(C=function(e){return e?o:t})(e)}function T(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=C(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class _ extends a.default{static get componentId(){return"MinistryBrandsEventList"}static defaultValue=v.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(w,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-eventList__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,S.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta--date"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--register-button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta--preview"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta--link a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-eventList__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination a"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,x.getPlaceholder)(e),props:{className:"brz-eventList"},blocked:!1,tagName:"div"}))))))))))}}},62332:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-eventList":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-eventList__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz && :is(.brz-eventList__item--meta, .brz-eventList__item--meta--link a):hover":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item--meta:not(a):hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationColorActive","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateTypography","cssStyleElementOfMinistryBrandsDateColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && :is(.brz-eventList__item--meta--link,.brz-eventList__item--meta--preview) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--register-button:hover":{standart:["cssStyleElementMinistryBrandsRegisterButtonTypography","cssStyleElementMinistryBrandsRegisterButtonBgColor","cssStyleElementMinistryBrandsRegisterButtonBgGradient","cssStyleElementMinistryBrandsRegisterButtonColor","cssStyleElementMinistryBrandsRegisterButtonBoxShadow","cssStyleElementMinistryBrandsRegisterButtonBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-eventList__item:hover":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-eventList__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-ministryBrands__pagination a:hover":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},20988:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(69321),s=o(41493),c=o(78407),d=e=>{let{v:t,device:o,state:n,component:d,context:u}=e;const p=r.default.getAll(),{apiUrl:f}=p.modules?.ekklesia??{};return[{id:"toolbarEventList",type:"popover-dev",config:{icon:"t2-event-list",title:(0,a.t)("Event List")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,a.t)("Settings"),options:[{id:"category",devices:"desktop",label:(0,a.t)("Category"),type:"select-dev",choices:(0,c.getEkklesiaChoiches)({key:"event",url:f})},{id:"group",devices:"desktop",label:(0,a.t)("Group"),type:"select-dev",choices:(0,c.getEkklesiaChoiches)({key:"groups",url:f})}]},{id:"tabColumns",label:(0,a.t)("Columns"),options:[{id:"itemsNumber",label:(0,a.t)("Items"),type:"number-dev",devices:"desktop",config:{min:1,max:20,spinner:!0}},{id:"columnNumber",label:(0,a.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}}]},{id:"tabEventList",label:(0,a.t)("Display"),options:[{id:"showImage",label:(0,a.t)("Image"),type:"switch-dev",devices:"desktop"},{id:"showMeta",label:(0,a.t)("Meta"),type:"switch-dev",devices:"desktop"},{id:"showTitle",label:(0,a.t)("Title"),type:"switch-dev",devices:"desktop"},{id:"showDate",label:(0,a.t)("Date"),type:"switch-dev",devices:"desktop"},{id:"showCategory",label:(0,a.t)("Category"),type:"switch-dev",devices:"desktop"},{id:"showGroup",label:(0,a.t)("Group"),type:"switch-dev",devices:"desktop"},{id:"showLocation",label:(0,a.t)("Location"),type:"switch-dev",devices:"desktop"},{id:"showRegistration",label:(0,a.t)("Registration"),type:"switch-dev",devices:"desktop"},{id:"showPreview",label:(0,a.t)("Preview"),type:"switch-dev",devices:"desktop"},{id:"showPagination",label:(0,a.t)("Pagination"),type:"switch-dev",devices:"desktop"},{id:"features",type:"switch-dev",label:(0,a.t)("Features"),devices:"desktop",helper:{content:(0,a.t)("If this is selected the Non featured Only option does not apply.")}},{id:"nonfeatures",type:"switch-dev",label:(0,a.t)("No featured"),devices:"desktop",helper:{content:(0,a.t)("If this is selected the Featured Only option does not apply.")}}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(p),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)('URL of event detail page. If used a link to the heading and an image will be added to take the user to the event detail page. Requires the "Event Detail" widget to be placed on a page and that page url/slug placed in this field .')}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",devices:"desktop",label:(0,a.t)("Button"),placeholder:(0,a.t)("Button text..."),disabled:("detailPage",!(0,l.defaultValueValue)({v:t,key:"detailPage",device:o,state:n})),helper:{content:(0,a.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,s.toolbarParentColors)({v:t,device:o,state:n,component:d,context:u}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]}]}},62288:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{itemsNumber:t,showImage:o,showDate:i,showCategory:a,showGroup:l,showPreview:s,showTitle:c,showPagination:d,showMeta:u,group:p,category:f,detailPage:m,detailPageButtonText:y,features:g,nonfeatures:h,showLocation:b,showRegistration:v}=e,S=[`howmany='${t}'`,(0,n.getAttr)(o,"show_images"),(0,n.getAttr)(c,"show_title"),(0,n.getAttr)(i,"show_date"),(0,n.getAttr)(a,"show_category"),(0,n.getAttr)(l,"show_group"),(0,n.getAttr)(u,"show_meta_headings"),(0,n.getAttr)(s,"show_preview"),(0,n.getAttr)(d,"show_pagination"),(0,n.getAttr)(b,"show_location"),(0,n.getAttr)(v,"show_registration"),`category='${f}'`,(0,n.getFeatures)(g,"features"),(0,n.getFeatures)(h,"nonfeatures"),`group='${p}'`,`detail_page='${(0,n.getDetail)(m)}'`,`detail_page_button_text='${y}'`];return(0,r.makePlaceholder)({content:"{{ekk_event_list}}",attrStr:S.join(" ")})}},34743:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsFormWidget",{enumerable:!0,get:function(){return f}});const r=u(o(27378)),n=u(o(67439)),i=u(o(63692)),a=o(8704),l=o(86022),s=o(9644),c=u(o(12985)),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(72266));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}class f extends i.default{static get componentId(){return"MinistryBrandsFormWidget"}static defaultValue=c.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(d,void 0,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e){const{form:t}=e,o=(0,s.makePlaceholder)({content:"{{ekk_form}}",attr:{form:t}});return r.default.createElement(n.default,this.makeToolbarPropsFromConfig2(d,void 0,{allowExtend:!1}),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-formWidget__container brz-ministryBrands"}),r.default.createElement(a.DynamicContentHelper,{placeholder:o,blocked:!1,props:{className:"brz-formWidget"},tagName:"div"})))}}},72266:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(78407),l=()=>{const{apiUrl:e}=r.default.getAll()?.modules?.ekklesia??{};return[{id:"toolbarGroupDetail",type:"popover-dev",config:{icon:"t2-group-detail",title:(0,i.t)("Form Widget")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",devices:"desktop",tabs:[{id:"tabSettings",label:(0,i.t)("Settings"),options:[{id:"form",label:(0,i.t)("Forms"),type:"select-dev",choices:(0,a.getEkklesiaChoiches)({key:"forms",url:e})}]}]}]}]}},94643:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupDetail",{enumerable:!0,get:function(){return T}});const r=x(o(60042)),n=x(o(27378)),i=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=C(o(65918)),u=C(o(63786)),p=C(o(41488)),f=C(o(93495)),m=C(o(74765)),y=C(o(8981)),g=C(o(59511)),h=C(o(58306)),b=x(o(10676)),v=o(53776),S=C(o(98625)),w=o(22744);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsGroupDetail"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupDetail__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--date"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:":is(.brz-groupDetail__item a, .brz-ministryBrands__item--meta--links)"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--preview p"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--preview h4"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-groupDetail__item--meta--preview ul"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-groupDetail"},blocked:!1,tagName:"div"})))))))))}}},53776:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-groupDetail":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-groupDetail__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumber"]},".brz && .brz-groupDetail__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupDetail__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateColor","cssStyleElementOfMinistryBrandsDateTypography"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-groupDetail__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-groupDetail__item > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz &&:hover .brz-groupDetail__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-groupDetail__item--meta:hover":{standart:["getAllCssStyleTypography","cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__pagination a:hover":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-groupDetail__item a, .brz-ministryBrands__item--meta--links):hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupDetail__item--meta--preview p:hover":{standart:["cssStyleElementOfMinistryBrandsParagraphTypography","cssStyleElementOfMinistryBrandsParagraphColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupDetail__item--meta--preview h4:hover":{standart:["cssStyleElementOfMinistryBrandsH4Typography","cssStyleElementOfMinistryBrandsH4Color"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupDetail__item--meta--preview ul":{standart:["cssStyleElementOfMinistryBrandsListPaddingLeft","cssStyleElementOfMinistryBrandsListTypes"]},".brz && .brz-groupDetail__item--meta--preview ul:hover li":{standart:["cssStyleElementOfMinistryBrandsListTypography","cssStyleElementOfMinistryBrandsListColor"],interval:["cssStyleHoverTransition"]}}})}},98625:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,component:n,context:s,state:c}=e;const{apiUrl:d}=r.default.getAll()?.modules?.ekklesia??{};return[{id:"toolbarGroupDetail",type:"popover-dev",config:{icon:"t2-group-detail",title:(0,i.t)("Sermon Detail")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",devices:"desktop",tabs:[{id:"tabSettings",label:(0,i.t)("Settings"),options:[{id:"groupsRecent",label:(0,i.t)("Recent Groups"),type:"select-dev",choices:(0,l.getEkklesiaChoiches)({key:"smallgroups",url:d})}]},{id:"tabGroupDetail",label:(0,i.t)("Display"),options:[{id:"showImage",type:"switch-dev",label:(0,i.t)("Image")},{id:"showTitle",type:"switch-dev",label:(0,i.t)("Title")},{id:"showCategory",type:"switch-dev",label:(0,i.t)("Category")},{id:"showGroup",type:"switch-dev",label:(0,i.t)("Group")},{id:"showMetaHeadings",type:"switch-dev",label:(0,i.t)("Meta Headings")},{id:"showDay",type:"switch-dev",label:(0,i.t)("Day")},{id:"showTimes",type:"switch-dev",label:(0,i.t)("Times")},{id:"showStatus",type:"switch-dev",label:(0,i.t)("Status")},{id:"showChildcare",type:"switch-dev",label:(0,i.t)("Childcare")},{id:"showResourceLink",type:"switch-dev",label:(0,i.t)("Resource Link")},{id:"showContent",type:"switch-dev",label:(0,i.t)("Content")},{id:"showPreviousPage",type:"switch-dev",label:(0,i.t)("Previous Page")}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:c,component:n,context:s}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},22744:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showImage:t,showTitle:o,showCategory:i,showGroup:a,showMetaHeadings:l,showDay:s,showTimes:c,showStatus:d,showChildcare:u,showResourceLink:p,showContent:f,groupsRecent:m,showPreviousPage:y}=e,g=[(0,n.getAttr)(t,"show_image"),(0,n.getAttr)(o,"show_title"),(0,n.getAttr)(i,"show_category"),(0,n.getAttr)(a,"show_group"),(0,n.getAttr)(l,"show_meta_headings"),(0,n.getAttr)(s,"show_day"),(0,n.getAttr)(c,"show_times"),(0,n.getAttr)(d,"show_status"),(0,n.getAttr)(u,"show_childcare"),(0,n.getAttr)(p,"show_resourcelink"),(0,n.getAttr)(f,"show_content"),(0,n.getAttr)(y,"previous_page"),`groups_recent='${m}'`];return(0,r.makePlaceholder)({content:"{{ekk_group_detail}}",attrStr:g.join(" ")})}},21519:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupFeatured",{enumerable:!0,get:function(){return T}});const r=x(o(60042)),n=x(o(27378)),i=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=C(o(65918)),u=C(o(63786)),p=C(o(89330)),f=C(o(74765)),m=C(o(8981)),y=C(o(51179)),g=C(o(75545)),h=C(o(58306)),b=x(o(62547)),v=o(9290),S=C(o(44254)),w=o(46419);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsGroupFeatured"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupFeatured__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-groupFeatured__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-groupFeatured__item--meta--date"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--links"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-groupFeatured__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-groupFeatured__item--meta--preview *"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-groupFeatured"},blocked:!1,tagName:"div"})))))))))}}},9290:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-groupFeatured":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-groupFeatured__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumber"]},".brz && .brz-groupFeatured__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupFeatured__item--meta--date:hover":{standart:["cssStyleElementOfMinistryBrandsDateColor","cssStyleElementOfMinistryBrandsDateTypography"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-groupFeatured__item img":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-groupFeatured__item > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz &&:hover .brz-groupFeatured__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-groupFeatured__item--meta:hover":{standart:["getAllCssStyleTypography","cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--links:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button a:hover":{standart:["cssStyleElementMinistryBrandsButtonsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupFeatured__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]}}})}},44254:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(69321),s=o(41493),c=o(78407),d=e=>{let{v:t,device:o,state:n,component:d,context:u}=e;const p=r.default.getAll(),{apiUrl:f}=p.modules?.ekklesia??{},m=e=>(0,l.defaultValueValue)({v:t,key:e,device:o}),y="on"===m("groupLatest");return[{id:"toolbarGroupFeatured",type:"popover-dev",config:{icon:"t2-sermon-featured",title:(0,a.t)("Sermon Featured")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,a.t)("Settings"),options:[{id:"groupLatest",type:"switch-dev",devices:"desktop",label:(0,a.t)("Show Latest"),helper:{content:(0,a.t)("This option automatically shows the latest group and overrides the 'Recent Groups' and 'Group Slug' options.")}},{id:"category",devices:"desktop",label:(0,a.t)("Category"),type:"select-dev",disabled:!y,choices:(0,c.getEkklesiaChoiches)({key:"smallgroup",url:f}),helper:{content:(0,a.t)("This option only applies to 'Show Latest'.")}},{id:"group",devices:"desktop",label:(0,a.t)("Group"),type:"select-dev",disabled:!y,choices:(0,c.getEkklesiaChoiches)({key:"groups",url:f}),helper:{content:(0,a.t)("This option only applies to 'Show Latest'.")}},{id:"groupRecentList",devices:"desktop",label:(0,a.t)("Recent Groups"),type:"select-dev",disabled:y||""!==m("groupSlug"),choices:(0,c.getEkklesiaChoiches)({key:"smallgroups",url:f}),helper:{content:(0,a.t)("Select a recent group. Use only if you are not using 'Group Slug' below and 'Show Latest' is set to 'Off'.")}}]},{id:"tabGroupFeatured",label:(0,a.t)("Display"),options:[{id:"showImage",type:"switch-dev",label:(0,a.t)("Image"),devices:"desktop"},{id:"showCategory",type:"switch-dev",label:(0,a.t)("Category"),devices:"desktop"},{id:"showGroup",type:"switch-dev",label:(0,a.t)("Group"),devices:"desktop"},{id:"showDay",type:"switch-dev",label:(0,a.t)("Day"),devices:"desktop"},{id:"showTimes",type:"switch-dev",label:(0,a.t)("Times"),devices:"desktop"},{id:"showStatus",type:"switch-dev",label:(0,a.t)("Status"),devices:"desktop"},{id:"showChildcare",type:"switch-dev",label:(0,a.t)("Childcare"),devices:"desktop"},{id:"showResourceLink",type:"switch-dev",label:(0,a.t)("Resource Link"),devices:"desktop"},{id:"showPreview",type:"switch-dev",label:(0,a.t)("Preview"),devices:"desktop"}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(p),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)("URL of group detail page. If used will add a link to the heading to take the user to the group detail page. Requires the 'Group Detail' widget to be placed on a page and that page url/slug placed in this field .")}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",devices:"desktop",label:(0,a.t)("Button"),placeholder:(0,a.t)("Button Text..."),disabled:!m("detailPage"),helper:{content:(0,a.t)("Button will display if text is entered and a detail page selected.")}},{id:"groupSlug",type:"inputText-dev",devices:"desktop",label:(0,a.t)("Slug"),disabled:y||""!==m("groupRecentList"),placeholder:(0,a.t)("Slug..."),helper:{content:(0,a.t)("Slug of group. Use only if you are not selecting from the 'Recent Groups' above and 'Show Latest' is set to 'Off'.")}}]}]}]},...(0,s.toolbarParentColors)({v:t,device:o,state:n,component:d,context:u}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]}]}},46419:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showImage:t,showCategory:o,showGroup:i,showDay:a,showTimes:l,showStatus:s,showChildcare:c,showResourceLink:d,showPreview:u,groupLatest:p,groupRecentList:f,groupSlug:m,category:y,group:g,detailPageButtonText:h,detailPage:b,slug:v}=e,S=[(0,n.getAttr)(t,"show_image"),(0,n.getAttr)(o,"show_category"),(0,n.getAttr)(i,"show_group"),(0,n.getAttr)(a,"show_day"),(0,n.getAttr)(l,"show_times"),(0,n.getAttr)(s,"show_status"),(0,n.getAttr)(c,"show_childcare"),(0,n.getAttr)(d,"show_resourcelink"),(0,n.getAttr)(u,"show_preview"),(0,n.getAttr)(p,"group_latest"),`group_recent_list='${f}'`,`group_slug='${m}'`,`category='${y}'`,`group='${g}'`,`detail_page_button_text='${h}'`,`detail_page='${(0,n.getDetail)(b)}'`,`slug='${v}'`];return(0,r.makePlaceholder)({content:"{{ekk_group_featured}}",attrStr:S.join(" ")})}},61798:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupLayout",{enumerable:!0,get:function(){return T}});const r=x(o(60042)),n=x(o(27378)),i=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=C(o(65918)),u=C(o(86404)),p=C(o(89330)),f=C(o(95663)),m=C(o(8981)),y=C(o(51179)),g=C(o(75545)),h=C(o(58306)),b=x(o(82366)),v=o(99924),S=C(o(9039)),w=o(88419);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsGroupLayout"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupLayout__wrapper",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,u,{allowExtend:!1}),selector:".brz-groupLayout__filters"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-groupLayout--item__content-heading"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-groupLayout--item__content-meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-groupLayout--item__content-preview"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-groupLayout__pagination"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-groupLayout--item__content-detailButton"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-ministryBrands brz-groupLayout"},blocked:!1,tagName:"div"}))))))))}}},99924:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-groupLayout":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__content":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz && .brz-groupLayout--item__content":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-groupLayout__filters:hover":{standart:["cssStyleMinistryElementFiltersBgColor","cssStyleMinistryElementFiltersBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters .brz-groupLayout__filters--form-selectWrapper:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters .brz-groupLayout__filters--form-selectWrapper:hover select option":{standart:["cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters input:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters fieldset:hover":{standart:["cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters fieldset:hover input::placeholder":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__filters fieldset:hover button":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-heading:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-heading a:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-meta:hover":{standart:["getAllCssStyleTypography","cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item__content-preview--more:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout--item iframe,.brz && .brz-groupLayout--item video, .brz && .brz-groupLayout--item img":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-groupLayout__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-groupLayout__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationTypography","cssStyleElementOfMinistryBrandsPaginationColorActive"]},".brz && .brz-groupLayout--item__content-detailButton a:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},9039:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(41493),s=o(78407),c=e=>{let{v:t,device:o,state:n,component:c,context:d}=e;const u=r.default.getAll(),{apiUrl:p}=u.modules?.ekklesia??{},f="off"===t.showCategoryFilter,m="off"===t.addCategoryFilter,y="off"===t.addCategoryFilter2,g="off"===t.addCategoryFilter3;return[{id:"toolbarGroupLayout",type:"popover-dev",config:{icon:"t2-group-layout",title:(0,a.t)("Group Layout")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabColumns",label:(0,a.t)("Columns"),options:[{id:"columnNumber",label:(0,a.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}},{id:"countPerPage",label:(0,a.t)("Items"),type:"number-dev",devices:"desktop",config:{min:1,max:24,spinner:!0}}]},{id:"tabGroupLayoutDisplay",label:(0,a.t)("Display"),options:[{id:"showImages",type:"switch-dev",devices:"desktop",label:(0,a.t)("Images")},{id:"showMeetingDay",type:"switch-dev",devices:"desktop",label:(0,a.t)("Meeting Day")},{id:"showMeetingTime",type:"switch-dev",devices:"desktop",label:(0,a.t)("Meeting Time")},{id:"showCategory",type:"switch-dev",devices:"desktop",label:(0,a.t)("Category")},{id:"showGroup",type:"switch-dev",devices:"desktop",label:(0,a.t)("Group")},{id:"showStatus",type:"switch-dev",devices:"desktop",label:(0,a.t)("Status")},{id:"showChildcare",type:"switch-dev",devices:"desktop",label:(0,a.t)("Childcare")},{id:"showResourceLink",type:"switch-dev",devices:"desktop",label:(0,a.t)("Resource Link")},{id:"showPreview",type:"switch-dev",devices:"desktop",label:(0,a.t)("Preview")},{id:"showPagination",type:"switch-dev",label:(0,a.t)("Pagination"),devices:"desktop"}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(u),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)('URL of group detail page. If used will add a link to the heading to take the user to the group detail page. Requires the "Group Detail" widget to be placed on a page and that page url/slug placed in this field.')}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailButtonText",type:"inputText-dev",label:(0,a.t)("Detail Button"),placeholder:(0,a.t)("Button name..."),devices:"desktop",disabled:!t.detailPage,helper:{content:(0,a.t)("Button will display if text is entered and a detail page selected.")}}]},{id:"tabFilterSettings",label:(0,a.t)("Filter"),options:[{id:"parentCategory",label:(0,a.t)("Parent Category"),type:"select-dev",devices:"desktop",choices:(0,s.getEkklesiaChoiches)({key:"smallgroupsLvl",url:p,subKey:"parents"}),helper:{content:(0,a.t)("Defines which level 1 category to use as a base for the layout.")}},{id:"categoryGroup",type:"group-dev",devices:"desktop",options:[{id:"showCategoryFilter",type:"switch-dev",label:(0,a.t)("Category"),devices:"desktop"},{id:"categoryFilterParent",type:"select-dev",label:(0,a.t)("Parent"),devices:"desktop",disabled:f,choices:(0,s.getEkklesiaChoiches)({key:"eventsLvl",url:p,subKey:"childs"}),helper:{content:(0,a.t)("Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"categoryFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:f}]},{id:"showGroupGroup",type:"group-dev",devices:"desktop",options:[{id:"showGroupFilter",type:"switch-dev",label:(0,a.t)("Group"),devices:"desktop"},{id:"groupFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:"off"===t.showGroupFilter}]},{id:"showGroupSearch",type:"group-dev",devices:"desktop",options:[{id:"showSearch",type:"switch-dev",label:(0,a.t)("Search"),devices:"desktop"},{id:"searchPlaceholder",type:"inputText-dev",label:(0,a.t)("Placeholder"),devices:"desktop",disabled:"off"===t.showSearch}]}]},{id:"tabAdvanced",label:(0,a.t)("Advanced"),options:[{id:"addCategoryGroup",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter",type:"switch-dev",label:(0,a.t)("Add Category Filter"),devices:"desktop"},{id:"addCategoryFilterParent",type:"select-dev",label:(0,a.t)("Parent"),devices:"desktop",disabled:m,choices:(0,s.getEkklesiaChoiches)({key:"smallgroupsLvl",url:p,subKey:"childs"}),helper:{content:(0,a.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:m}]},{id:"addCategoryGroup2",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter2",type:"switch-dev",label:(0,a.t)("Add Category Filter"),devices:"desktop"},{id:"addCategoryFilterParent2",type:"select-dev",label:(0,a.t)("Parent"),devices:"desktop",disabled:y,choices:(0,s.getEkklesiaChoiches)({key:"smallgroupsLvl",subKey:"childs",url:p}),helper:{content:(0,a.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterHeading2",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:y}]},{id:"addCategoryGroup3",type:"group-dev",devices:"desktop",options:[{id:"addCategoryFilter3",type:"switch-dev",label:(0,a.t)("Add Category Filter"),devices:"desktop"},{id:"addCategoryFilterParent3",type:"select-dev",label:(0,a.t)("Parent"),devices:"desktop",disabled:g,choices:(0,s.getEkklesiaChoiches)({key:"smallgroupsLvl",subKey:"childs",url:p}),helper:{content:(0,a.t)("Additional category filters require this selection. Defines which level 2 category for this specific filter. If selected will show the next level of categories as select options. If a Parent Category is selected above make sure to select a child category of that parent.")}},{id:"addCategoryFilterHeading3",type:"inputText-dev",label:(0,a.t)("Heading"),devices:"desktop",disabled:g}]}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:n,component:c,context:d}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},88419:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showImages:t,showMeetingDay:o,showCategory:i,showGroup:a,showStatus:l,showChildcare:s,showResourceLink:c,showPreview:d,detailPage:u,detailButtonText:p,countPerPage:f,showCategoryFilter:m,parentCategory:y,categoryFilterParent:g,categoryFilterHeading:h,showGroupFilter:b,groupFilterHeading:v,showSearch:S,searchPlaceholder:w,showPagination:x,addCategoryFilter:P,addCategoryFilterParent:C,addCategoryFilterHeading:T,addCategoryFilter2:_,addCategoryFilterParent2:k,addCategoryFilterHeading2:M,addCategoryFilter3:O,addCategoryFilterParent3:E,addCategoryFilterHeading3:B}=e,z=[(0,n.getAttr)(t,"show_images"),(0,n.getAttr)(o,"show_day"),(0,n.getAttr)(i,"show_category"),(0,n.getAttr)(a,"show_group"),(0,n.getAttr)(l,"show_status"),(0,n.getAttr)(s,"show_childcare"),(0,n.getAttr)(c,"show_resourcelink"),(0,n.getAttr)(d,"show_preview"),`detail_page='${(0,n.getDetail)(u)}'`,`detail_page_button_text='${p}'`,`howmany='${f}'`,(0,n.getAttr)(m,"show_category_filter"),`parent_category='${y}'`,`category_filter_parent='${g}'`,`category_filter_heading='${h}'`,(0,n.getAttr)(b,"show_group_filter"),`group_filter_heading='${v}'`,(0,n.getAttr)(S,"show_search"),`search_placeholder='${w}'`,(0,n.getAttr)(x,"show_pagination"),(0,n.getAttr)(P,"show_category_filter_add1"),`category_filter_parent_add1='${C}'`,`category_filter_heading_add1='${T}'`,(0,n.getAttr)(_,"show_category_filter_add2"),`category_filter_parent_add2='${k}'`,`category_filter_heading_add2='${M}'`,(0,n.getAttr)(O,"show_category_filter_add3"),`category_filter_parent_add3='${E}'`,`category_filter_heading_add3='${B}'`];return(0,r.makePlaceholder)({content:"{{ekk_group_layout}}",attrStr:z.join(" ")})}},53021:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupList",{enumerable:!0,get:function(){return C}});const r=w(o(60042)),n=w(o(27378)),i=w(o(67439)),a=w(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=P(o(65918)),u=P(o(89330)),p=P(o(42938)),f=P(o(8981)),m=P(o(51179)),y=P(o(75545)),g=P(o(58306)),h=w(o(85953)),b=o(84237),v=P(o(90689)),S=o(68780);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class C extends a.default{static get componentId(){return"MinistryBrandsGroupList"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupList__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,b.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-groupList__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-groupList__item :not(.brz-groupList__item--meta--title) a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-groupList__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-groupList__item--meta--preview *:not(a)"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination a"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,S.getPlaceholder)(e),props:{className:"brz-groupList"},blocked:!1,tagName:"div"}))))))))}}},84237:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-groupList":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-groupList__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz && .brz-groupList__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-groupList__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-groupList__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-groupList__item--meta--preview *:not(a):hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupList__item--meta:hover":{standart:["getAllCssStyleTypography","cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationTypography","cssStyleElementOfMinistryBrandsPaginationColorActive"]},".brz && .brz-groupList__item :not(.brz-groupList__item--meta--title, .brz-ministryBrands__item--meta--button) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--button a:hover":{standart:["cssStyleElementMinistryBrandsButtonsColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},90689:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(69321),s=o(41493),c=o(78407),d=e=>{let{v:t,device:o,state:n,component:d,context:u}=e;const p=r.default.getAll(),{apiUrl:f}=p.modules?.ekklesia??{};return[{id:"toolbarGroupList",type:"popover-dev",config:{icon:"t2-group-list",title:(0,a.t)("Group List")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,a.t)("Settings"),options:[{id:"category",devices:"desktop",label:(0,a.t)("Category"),type:"select-dev",choices:(0,c.getEkklesiaChoiches)({key:"smallgroup",url:f})},{id:"group",devices:"desktop",label:(0,a.t)("Group"),type:"select-dev",choices:(0,c.getEkklesiaChoiches)({key:"groups",url:f})}]},{id:"tabColumns",label:(0,a.t)("Columns"),options:[{id:"itemsNumber",label:(0,a.t)("Items"),type:"number-dev",devices:"desktop",config:{min:1,max:20,spinner:!0}},{id:"columnNumber",label:(0,a.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}}]},{id:"tabGroupList",label:(0,a.t)("Display"),options:[{id:"showImages",label:(0,a.t)("Images"),type:"switch-dev",devices:"desktop"},{id:"showCategory",type:"switch-dev",label:(0,a.t)("Category"),devices:"desktop"},{id:"showGroup",type:"switch-dev",label:(0,a.t)("Group"),devices:"desktop"},{id:"showCoordinator",type:"switch-dev",label:(0,a.t)("Coordinator"),devices:"desktop"},{id:"showPreview",type:"switch-dev",label:(0,a.t)("Preview"),devices:"desktop"},{id:"showPagination",type:"switch-dev",label:(0,a.t)("Pagination"),devices:"desktop"},{id:"showDay",type:"switch-dev",label:(0,a.t)("Day"),devices:"desktop"},{id:"showTimes",type:"switch-dev",label:(0,a.t)("Times"),devices:"desktop"},{id:"showStatus",type:"switch-dev",label:(0,a.t)("Status"),devices:"desktop"},{id:"showChildcare",type:"switch-dev",label:(0,a.t)("Childcare"),devices:"desktop"},{id:"showResourceLink",type:"switch-dev",label:(0,a.t)("Resource Link"),devices:"desktop"}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(p),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)("URL of group detail page. If used will add a link to the heading to take the user to the group detail page. Requires the 'Group Detail' widget to be placed on a page and that page url/slug placed in this field .")}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",devices:"desktop",label:(0,a.t)("Button Text"),disabled:("detailPage",!(0,l.defaultValueValue)({v:t,key:"detailPage",device:o})),placeholder:(0,a.t)("Button Text..."),helper:{content:(0,a.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,s.toolbarParentColors)({v:t,device:o,state:n,component:d,context:u}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]}]}},68780:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showCategory:t,showGroup:o,showCoordinator:i,category:a,group:l,showPreview:s,detailPageButtonText:c,detailPage:d,itemsNumber:u,showPagination:p,showImages:f,showDay:m,showTimes:y,showStatus:g,showChildcare:h,showResourceLink:b}=e,v=[`howmany='${u}'`,(0,n.getAttr)(t,"show_category"),(0,n.getAttr)(o,"show_group"),(0,n.getAttr)(i,"show_coordinator"),`category='${a}'`,`group='${l}'`,(0,n.getAttr)(s,"show_preview"),(0,n.getAttr)(p,"show_pagination"),(0,n.getAttr)(f,"show_images"),(0,n.getAttr)(m,"show_day"),(0,n.getAttr)(y,"show_times"),(0,n.getAttr)(g,"show_status"),(0,n.getAttr)(h,"show_childcare"),(0,n.getAttr)(b,"show_resourcelink"),`detail_page='${(0,n.getDetail)(d)}'`,`detail_page_button_text='${c}'`];return(0,r.makePlaceholder)({content:"{{ekk_group_list}}",attrStr:v.join(" ")})}},77640:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsGroupSlider",{enumerable:!0,get:function(){return C}});const r=w(o(60042)),n=w(o(27378)),i=w(o(67439)),a=w(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=P(o(65918)),u=P(o(58306)),p=w(o(79337)),f=P(o(15562)),m=o(9013),y=P(o(95656)),g=P(o(81426)),h=P(o(85364)),b=P(o(77532)),v=P(o(32342)),S=o(67576);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class C extends a.default{static get componentId(){return"MinistryBrandsGroupSlider"}static defaultValue=p.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(h,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-groupSlider__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,m.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-swiper-arrow"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,f,{allowExtend:!1}),selector:".brz-groupSlider_detail_button .brz-button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-groupSlider_meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(v,void 0,{allowExtend:!1}),selector:".brz-slick-slider__dots li"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-groupSlider_heading"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,S.getPlaceholder)(e),props:{className:"brz-ministryBrands brz-groupSlider"},blocked:!1,tagName:"div"})))))))}}},15562:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]},9013:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-ministryBrands.brz-groupSlider":{standart:["cssStylePaddingBG"]},".brz && .brz-groupSlider-swiper-slide":{standart:["cssStyleElementMinistryGroupSliderItemsBetween","cssStyleElementMinistryGroupSliderSlidesToShow"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info:hover":{standart:["cssStyleBorderRadius","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleElementMinistryGroupSliderItemsAlign"],interval:["cssStyleHoverTransition"]},".brz && .brz-slick-slider__dots li.slick-active":{standart:["cssStyleElementMinistryGroupSliderDotsColorColorActive"],interval:["cssStyleHoverTransition"]},".brz && .brz-slick-slider__dots li:not(.slick-active):hover":{standart:["cssStyleElementMinistryGroupSliderDotsColorColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info .brz-groupSlider_heading:hover":{standart:["cssStyleElementMinistryGroupSliderTitleSpacing","cssStyleElementOfMinistryBrandsTitleTypography","cssStyleElementOfMinistryBrandsTitleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info .brz-groupSlider_meta:hover":{standart:["cssStyleElementMinistryGroupSliderMetaTypography","cssStyleElementOfMinistryBrandsMetaColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info > *:not(:last-child)":{standart:["cssStyleElementMinistryGroupSliderMetaSpacing"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info p:hover":{standart:["cssStyleElementMinistryGroupSliderMetaTypography","cssStyleElementOfMinistryBrandsMetaColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-image img":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-swiper-arrow_prev:hover":{standart:["cssStyleElementMinistryGroupSliderArrowSize","cssStyleElementMinistryGroupSliderArrowColor","cssStyleElementMinistryGroupSliderArrowSpacingLeft"],interval:["cssStyleHoverTransition"]},".brz && .brz-swiper-arrow_next:hover":{standart:["cssStyleElementMinistryGroupSliderArrowSize","cssStyleElementMinistryGroupSliderArrowColor","cssStyleElementMinistryGroupSliderArrowSpacingRight"],interval:["cssStyleHoverTransition"]},".brz && .brz-groupSlider-swiper-slide .brz-groupSlider-info .brz-groupSlider_detail_button .brz-button:hover":{standart:["cssStyleElementMinistryGroupSliderButtonSize","cssStyleElementMinistryGroupSliderButtonWidth","cssStyleElementMinistryGroupSliderButtonTypography","cssStyleElementMinistryGroupSliderButtonColor","cssStyleElementMinistryGroupSliderButtonBgColor","cssStyleElementMinistryGroupSliderButtonBgGradient","cssStyleElementMinistryGroupSliderButtonBorder","cssStyleElementMinistryGroupSliderButtonBorderRadius","cssStyleElementMinistryGroupSliderButtonBoxShadow"],interval:["cssStyleHoverTransition"]}}})}},95656:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("arrowColorHex"),s("arrowColorPalette"));return[{id:"toolbarArrow",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Arrow")},position:10,options:[{id:"sizeGroup",type:"group-dev",options:[{id:"arrowIconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"arrowIconCustomSize",type:"slider-dev",disabled:"custom"!==s("arrowIconSize"),config:{min:1,max:100,units:[{title:"px",value:"px"}]}}]},{id:"arrowPosition",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("arrowColorOpacity"))}}},position:20,options:[{id:"arrowColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},81426:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("buttonBgColorHex"),c("buttonBgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",position:10,config:{icon:"nc-button",title:(0,n.t)("Button")},options:[{id:"groupSize",type:"group-dev",options:[{id:"buttonSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"},{value:"custom",icon:"nc-more"}]},{id:"buttonHeight",label:(0,n.t)("Height"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"buttonWidth",label:(0,n.t)("Width"),disabled:"custom"!==c("buttonSize"),type:"slider-dev",config:{min:0,max:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]}]},{id:"popoverTypography",type:"popover-dev",position:20,config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},options:[{id:"buttonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",position:30,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("buttonBgColorOpacity"))}}},devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabButtonBg",label:(0,n.t)("Bg"),options:[{id:"button",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"buttonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110,icon:"nc-cog"}]}},85364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(69321),s=o(41493),c=o(78407),d=e=>{let{v:t,device:o,state:n,context:d,component:u}=e;const p=r.default.getAll(),{apiUrl:f}=p.modules?.ekklesia??{};return[{id:"toolbarGroupSlider",type:"popover-dev",config:{icon:"t2-group-slider",title:(0,a.t)("Group Slider")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",devices:"desktop",tabs:[{id:"tabSettings",label:(0,a.t)("Settings"),options:[{id:"category",label:(0,a.t)("Category"),type:"select-dev",choices:(0,c.getEkklesiaChoiches)({key:"smallgroup",url:f})},{id:"group",label:(0,a.t)("Group"),type:"select-dev",choices:(0,c.getEkklesiaChoiches)({key:"groups",url:f})},{id:"howmany",label:(0,a.t)("Items"),type:"number-dev",config:{min:1,max:24,spinner:!0}},{id:"slidesToShow",label:(0,a.t)("Columns"),type:"number-dev",config:{min:1,max:4,spinner:!0}}]},{id:"tabDisplay",label:(0,a.t)("Display"),options:[{id:"showArrows",type:"switch-dev",label:(0,a.t)("Arrows")},{id:"showPagination",type:"switch-dev",label:(0,a.t)("Pagination")},{id:"showImages",type:"switch-dev",label:(0,a.t)("Images")},{id:"showMeetingDay",type:"switch-dev",label:(0,a.t)("Meeting day")},{id:"showMeetingTimes",type:"switch-dev",label:(0,a.t)("Meeting times")},{id:"showCategory",type:"switch-dev",label:(0,a.t)("Category")},{id:"showGroup",type:"switch-dev",label:(0,a.t)("Group")},{id:"showStatus",type:"switch-dev",label:(0,a.t)("Status")},{id:"showChildcare",type:"switch-dev",label:(0,a.t)("Childcare")},{id:"showResourceLink",type:"switch-dev",label:(0,a.t)("Resource link")},{id:"showPreview",type:"switch-dev",label:(0,a.t)("Preview")}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(p),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)('URL of group detail page. If used will add a link to the heading to take the user to the group detail page. Requires the "Group Detail" widget to be placed on a page and that page url/slug placed in this field.')}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButton",type:"inputText-dev",label:(0,a.t)("Button text"),disabled:("detailPage",!(0,l.defaultValueValue)({v:t,key:"detailPage",device:o})),placeholder:(0,a.t)("Button text..."),helper:{content:(0,a.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,s.toolbarParentColors)({v:t,device:o,state:n,context:d,component:u}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"itemsHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,a.t)("Align"),value:"justify"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:90,options:[{id:"itemsBetween",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},77532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("metaColorHex"),s("metaColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"metaTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("metaColorOpacity"))}}},position:20,options:[{id:"metaColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:30,options:[{id:"metaSpacing",label:(0,n.t)("Bottom"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}}]}]}},32342:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("dotsBgColorHex"),s("dotsBgColorPalette"));return[{id:"toolbarBgColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Bg"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("dotsBgColorOpacity"))}}},position:80,options:[{id:"dots",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}},67576:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{category:t,group:o,howmany:i,slidesToShow:a,showArrows:l,showPagination:s,showImages:c,showMeetingDay:d,showMeetingTimes:u,showCategory:p,showGroup:f,showStatus:m,showChildcare:y,showResourceLink:g,showPreview:h,detailPageButton:b,detailPage:v}=e,S=[`category='${t}'`,`group='${o}'`,`howmany='${i}'`,`column_count='${a}'`,(0,n.getAttr)(l,"show_arrows"),(0,n.getAttr)(s,"show_pagination"),(0,n.getAttr)(c,"show_images"),(0,n.getAttr)(p,"show_category"),(0,n.getAttr)(f,"show_group"),(0,n.getAttr)(m,"show_status"),(0,n.getAttr)(y,"show_childcare"),(0,n.getAttr)(g,"show_resourcelink"),(0,n.getAttr)(h,"show_preview"),(0,n.getAttr)(d,"show_day"),(0,n.getAttr)(u,"show_times"),`detail_page='${(0,n.getDetail)(v)}'`,`detail_page_button_text='${b}'`];return(0,r.makePlaceholder)({content:"{{ekk_group_slider}}",attrStr:S.join(" ")})}},63439:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsSermonDetail",{enumerable:!0,get:function(){return C}});const r=w(o(60042)),n=w(o(27378)),i=w(o(67439)),a=w(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=P(o(65918)),u=P(o(89330)),p=P(o(42938)),f=P(o(74765)),m=P(o(8981)),y=P(o(75545)),g=P(o(58306)),h=w(o(1558)),b=o(70432),v=P(o(22310)),S=o(34191);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class C extends a.default{static get componentId(){return"MinistryBrandsSermonDetail"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-sermonDetail__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,b.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--links--previous"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--meta--links a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--media a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-sermonDetail__item--meta--preview p"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,S.getPlaceholder)(e),props:{className:"brz-sermonDetail"},blocked:!1,tagName:"div"}))))))))}}},70432:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-sermonDetail":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && :is(.brz-sermonDetail__item--meta, .brz-sermonDetail__item--meta--links)":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonDetail__item--meta:not(a):hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonDetail__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-sermonDetail__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz &&:hover .brz-sermonDetail__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-sermonDetail__item > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz && .brz-sermonDetail__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonDetail__item--media:hover":{standart:["cssStyleElementOfMinistryBrandsButtonsHorizontalAlign"]},".brz && .brz-sermonDetail__item--media li:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonDetail__item--meta--links a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__item--meta--links--previous:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},22310:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(41493),l=o(78407),s=e=>{let{v:t,device:o,state:n,component:s,context:c}=e;const{apiUrl:d}=r.default.getAll()?.modules?.ekklesia??{};return[{id:"toolbarSermonDetail",type:"popover-dev",config:{icon:"t2-sermon-detail",title:(0,i.t)("Sermon Detail")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,i.t)("Settings"),options:[{id:"recentSermons",label:(0,i.t)("Recent Sermons"),type:"select-dev",devices:"desktop",choices:(0,l.getEkklesiaChoiches)({key:"recentSermons",url:d}),helper:{content:(0,i.t)("Select a recent sermon as an example to style/setup. Since this is the sermon detail landing page this sermon will be replaced with the linked sermon.")}}]},{id:"tabButtons",label:(0,i.t)("Buttons"),options:[{id:"showMediaLinksVideo",type:"switch-dev",label:(0,i.t)("Video"),devices:"desktop"},{id:"showMediaLinksAudio",type:"switch-dev",label:(0,i.t)("Audio"),devices:"desktop"},{id:"showMediaLinksDownload",type:"switch-dev",label:(0,i.t)("Download"),devices:"desktop"},{id:"showMediaLinksNotes",type:"switch-dev",label:(0,i.t)("Notes"),devices:"desktop"}]},{id:"tabSermonDetail",label:(0,i.t)("Display"),options:[{id:"showImage",type:"switch-dev",label:(0,i.t)("Image"),devices:"desktop",helper:{content:(0,i.t)("Only select if 'Display Video' is not selected.")}},{id:"showVideo",type:"switch-dev",label:(0,i.t)("Video"),devices:"desktop",helper:{content:(0,i.t)("If this is selected and you would like the image to be a fallback when no video is available make sure to select 'Display Images'.")}},{id:"showAudio",type:"switch-dev",label:(0,i.t)("Audio"),devices:"desktop"},{id:"showTitle",type:"switch-dev",label:(0,i.t)("Title"),devices:"desktop"},{id:"showDate",type:"switch-dev",label:(0,i.t)("Date"),devices:"desktop"},{id:"showCategory",type:"switch-dev",label:(0,i.t)("Category"),devices:"desktop"},{id:"showGroup",type:"switch-dev",label:(0,i.t)("Group"),devices:"desktop"},{id:"showSeries",type:"switch-dev",label:(0,i.t)("Series"),devices:"desktop"},{id:"showPreacher",type:"switch-dev",label:(0,i.t)("Preacher"),devices:"desktop"},{id:"showPassage",type:"switch-dev",label:(0,i.t)("Passage"),devices:"desktop"},{id:"showMetaHeadings",type:"switch-dev",label:(0,i.t)("Meta Headings"),devices:"desktop"},{id:"showPreview",type:"switch-dev",label:(0,i.t)("Preview"),devices:"desktop"},{id:"showPreviousPage",type:"switch-dev",devices:"desktop",label:(0,i.t)("Previous Page")}]}]}]},...(0,a.toolbarParentColors)({v:t,device:o,state:n,component:s,context:c}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,i.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,i.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,i.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,i.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,i.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,i.t)("Align"),value:"right"}]}]}},34191:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showImage:t,showVideo:o,showAudio:i,showMediaLinksVideo:a,showMediaLinksAudio:l,showMediaLinksDownload:s,showMediaLinksNotes:c,showTitle:d,showDate:u,showCategory:p,showGroup:f,showSeries:m,showPreacher:y,showPassage:g,showMetaHeadings:h,showPreview:b,recentSermons:v,showPreviousPage:S}=e,w=[`sermons_recent='${v}'`,(0,n.getAttr)(t,"show_image"),(0,n.getAttr)(o,"show_video"),(0,n.getAttr)(i,"show_audio"),(0,n.getAttr)(a,"show_media_links_video"),(0,n.getAttr)(l,"show_media_links_audio"),(0,n.getAttr)(s,"show_media_links_download"),(0,n.getAttr)(c,"show_media_links_notes"),(0,n.getAttr)(d,"show_title"),(0,n.getAttr)(u,"show_date"),(0,n.getAttr)(p,"show_category"),(0,n.getAttr)(f,"show_group"),(0,n.getAttr)(m,"show_series"),(0,n.getAttr)(y,"show_preacher"),(0,n.getAttr)(g,"show_passage"),(0,n.getAttr)(h,"show_meta_headings"),(0,n.getAttr)(b,"show_preview"),(0,n.getAttr)(S,"previous_page")];return(0,r.makePlaceholder)({content:"{{ekk_sermon_detail}}",attrStr:w.join(" ")})}},60436:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsSermonFeatured",{enumerable:!0,get:function(){return C}});const r=w(o(60042)),n=w(o(27378)),i=w(o(67439)),a=w(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=P(o(65918)),u=P(o(89330)),p=P(o(42938)),f=P(o(56777)),m=P(o(8981)),y=P(o(75545)),g=P(o(58306)),h=w(o(9796)),b=o(8644),v=P(o(63938)),S=o(5526);function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class C extends a.default{static get componentId(){return"MinistryBrandsSermonFeatured"}static defaultValue=h.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-sermonFeatured__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,b.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--media--links a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--meta ~ a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-sermonFeatured__item--meta--preview"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,S.getPlaceholder)(e),props:{className:"brz-sermonFeatured"},blocked:!1,tagName:"div"}))))))))}}},8644:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-sermonFeatured":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonFeatured__item--meta:hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && :is(.brz-sermonFeatured__item--meta, .brz-sermonFeatured__item--meta ~ a):hover":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonFeatured__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-sermonFeatured__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz &&:hover .brz-sermonFeatured__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz &&:hover .brz-sermonFeatured__item > *":{standart:["cssStyleElementOfMinistryBrandsSpacing"]},".brz && .brz-sermonFeatured__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonFeatured__item--meta ~ a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonFeatured__item--media--links a:hover":{standart:["cssStyleElementOfMinistryBrandsMediaTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition"]}}})}},63938:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(69321),s=o(41493),c=o(78407),d=e=>{let{v:t,device:o,component:n,context:d,state:u}=e;const p=r.default.getAll(),{apiUrl:f}=p.modules?.ekklesia??{},m=e=>(0,l.defaultValueValue)({v:t,key:e,device:o}),y="on"===m("sermonLatest");return[{id:"toolbarSermonFeatured",type:"popover-dev",config:{icon:"t2-sermon-featured",title:(0,a.t)("Sermon Featured")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,a.t)("Settings"),options:[{id:"sermonLatest",type:"switch-dev",devices:"desktop",label:(0,a.t)("Show Latest"),helper:{content:(0,a.t)("This option automatically shows the latest sermon and overrides the 'Recent Sermons' and 'Sermon Slug' options.")}},{id:"category",devices:"desktop",label:(0,a.t)("Category"),type:"select-dev",disabled:!y,choices:(0,c.getEkklesiaChoiches)({key:"sermon",url:f}),helper:{content:(0,a.t)("This option only applies to 'Show Latest'.")}},{id:"group",devices:"desktop",label:(0,a.t)("Group"),type:"select-dev",disabled:!y,choices:(0,c.getEkklesiaChoiches)({key:"groups",url:f}),helper:{content:(0,a.t)("This option only applies to 'Show Latest'.")}},{id:"series",devices:"desktop",label:(0,a.t)("Series"),type:"select-dev",disabled:!y,choices:(0,c.getEkklesiaChoiches)({key:"series",url:f}),helper:{content:(0,a.t)("This option only applies to 'Show Latest'.")}},{id:"sermonRecentList",label:(0,a.t)("Recent Sermons"),type:"select-dev",devices:"desktop",disabled:y,choices:(0,c.getEkklesiaChoiches)({key:"recentSermons",url:f}),helper:{content:(0,a.t)("Select a recent sermon. Use only if you are not using 'Sermon Slug' below and 'Show Latest' is set to 'Off'.")}},{id:"sermonSlug",type:"inputText-dev",devices:"desktop",disabled:y,label:(0,a.t)("Slug"),placeholder:(0,a.t)("Sermon Slug..."),helper:{content:(0,a.t)("Slug of sermon (my-sermon-name). Use only if you are not selecting from the 'Recent Sermons' above and 'Show Latest' is set to 'Off'.")}},{id:"features",type:"switch-dev",devices:"desktop",label:(0,a.t)("Featured"),disabled:!y||"on"===m("nonfeatures"),helper:{content:(0,a.t)("This option only applies to 'Show Latest' and if this is selected the 'Non featured' option does not apply.")}},{id:"nonfeatures",type:"switch-dev",devices:"desktop",label:(0,a.t)("No featured"),disabled:!y||"on"===m("features"),helper:{content:(0,a.t)("This option only applies to 'Show Latest' and if this is selected the 'Featured' option does not apply.")}}]},{id:"tabSermonDisplay",label:(0,a.t)("Display"),options:[{id:"showImage",type:"switch-dev",devices:"desktop",label:(0,a.t)("Image"),helper:{content:(0,a.t)("Only select if 'Display Video' is not selected.")}},{id:"showVideo",type:"switch-dev",devices:"desktop",label:(0,a.t)("Video"),helper:{content:(0,a.t)("If this is selected and you would like the image to be a fallback when no video is available make sure to select 'Display Images'.")}},{id:"showAudio",type:"switch-dev",devices:"desktop",label:(0,a.t)("Audio")},{id:"showTitle",type:"switch-dev",devices:"desktop",label:(0,a.t)("Title")},{id:"showDate",type:"switch-dev",devices:"desktop",label:(0,a.t)("Date")},{id:"showCategory",type:"switch-dev",devices:"desktop",label:(0,a.t)("Category")},{id:"showGroup",type:"switch-dev",devices:"desktop",label:(0,a.t)("Group")},{id:"showSeries",type:"switch-dev",devices:"desktop",label:(0,a.t)("Series")},{id:"showPreacher",type:"switch-dev",devices:"desktop",label:(0,a.t)("Preacher")},{id:"showPassage",type:"switch-dev",devices:"desktop",label:(0,a.t)("Passage")},{id:"showMetaHeadings",type:"switch-dev",devices:"desktop",label:(0,a.t)("Meta Headings")},{id:"showContent",type:"switch-dev",devices:"desktop",label:(0,a.t)("Content")},{id:"showMediaLinks",type:"switch-dev",devices:"desktop",label:(0,a.t)("Media Links")},{id:"showPreview",type:"switch-dev",devices:"desktop",label:(0,a.t)("Preview")}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(p),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)("URL of sermon detail page. If used will add a link to the heading to take the user to the sermon detail page. Requires the 'Sermon Detail' widget to be placed on a page and that page url/slug placed in this field .")}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",label:(0,a.t)("Button"),devices:"desktop",placeholder:(0,a.t)("Button Text..."),disabled:!m("detailPage")}]}]}]},...(0,s.toolbarParentColors)({v:t,device:o,state:u,component:n,context:d}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]}]}},5526:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showImage:t,showVideo:o,showAudio:i,showTitle:a,showDate:l,showCategory:s,showGroup:c,showSeries:d,showPreacher:u,showPassage:p,showMetaHeadings:f,showContent:m,sermonLatest:y,sermonRecentList:g,sermonSlug:h,category:b,group:v,series:S,features:w,nonfeatures:x,showMediaLinks:P,showPreview:C,detailPageButtonText:T,detailPage:_}=e,k=[`sermon_recent_list='${g}'`,`sermon_slug='${h}'`,(0,n.getAttr)(t,"show_image"),(0,n.getAttr)(o,"show_video"),(0,n.getAttr)(i,"show_audio"),(0,n.getAttr)(a,"show_title"),(0,n.getAttr)(l,"show_date"),(0,n.getAttr)(s,"show_category"),(0,n.getAttr)(c,"show_group"),(0,n.getAttr)(d,"show_series"),(0,n.getAttr)(u,"show_preacher"),(0,n.getAttr)(p,"show_passage"),(0,n.getAttr)(f,"show_meta_headings"),(0,n.getAttr)(m,"show_content"),(0,n.getAttr)(y,"sermon_latest"),`category='${b}'`,`group='${v}'`,`series='${S}'`,(0,n.getFeatures)(w,"features"),(0,n.getFeatures)(x,"nonfeatures"),(0,n.getAttr)(P,"show_media_links"),(0,n.getAttr)(C,"show_preview"),`detail_page_button_text='${T}'`,`detail_page='${(0,n.getDetail)(_)}'`];return(0,r.makePlaceholder)({content:"{{ekk_sermon_featured}}",attrStr:k.join(" ")})}},49391:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsSermonLayout",{enumerable:!0,get:function(){return k}});const r=C(o(60042)),n=C(o(27378)),i=C(o(67439)),a=C(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=_(o(65918)),u=_(o(86404)),p=_(o(95663)),f=_(o(42938)),m=_(o(56777)),y=_(o(8981)),g=_(o(51179)),h=_(o(75545)),b=_(o(58306)),v=C(o(69077)),S=o(87661),w=_(o(41317)),x=_(o(39722)),P=o(573);function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class k extends a.default{static get componentId(){return"MinistryBrandsSermonLayout"}static defaultValue=v.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(x,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-ministryBrands","brz-sermonLayout",(0,c.css)(this.getComponentId(),this.getId(),(0,S.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(b,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item :not(.brz-sermonLayout__item--meta--title, .brz-sermonLayout__item--detail-button, .brz-sermonLayout__item--media) a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--media a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--preview"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,u,{allowExtend:!1}),selector:".brz-sermonLayout__filter"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(w,void 0,{allowExtend:!1}),selector:".brz-sermonLayout__item--detail-button"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-sermonLayout__wrapper"}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,P.getPlaceholder)(e),props:{className:a},blocked:!1,tagName:"div"}))))))))))}}},87661:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-sermonLayout__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz &&:hover .brz-sermonLayout__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"]},".brz && .brz-sermonLayout__item :is(.brz-sermonLayout__item--meta, .brz-sermonLayout__item--meta ~ a)":{standart:["getAllCssStyleTypography"]},".brz && .brz-sermonLayout__item--meta:hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item .brz-sermonLayout__item--media a:hover":{standart:["cssStyleElementOfMinistryBrandsMediaTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz &&:hover .brz-sermonLayout__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-sermonLayout__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item--meta--title:hover a":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationColorActive","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item :not(.brz-sermonLayout__item--meta--title, .brz-sermonLayout__item--detail-button, .brz-sermonLayout__item--media) a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter:hover":{standart:["cssStyleMinistryElementFiltersBgColor","cssStyleMinistryElementFiltersBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter :is(.brz-sermonLayout__filter--form-selectWrapper, fieldset):hover":{standart:["cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor","cssStyleMinistryElementFiltersInputColor","cssStyleMinistryElementFiltersBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter .brz-sermonLayout__filter--form-selectWrapper:hover select option":{standart:["cssStyleMinistryElementFiltersInputBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter .brz-sermonLayout__filter--form-selectWrapper:hover::after":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter input:hover":{standart:["cssStyleMinistryElementFiltersTypography","cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter fieldset:hover":{standart:["cssStyleMinistryElementFiltersInputBgColor","cssStyleMinistryElementFiltersInputGradientColor","cssStyleMinistryElementFiltersBorder","cssStyleMinistryElementFiltersBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter fieldset:hover input::placeholder":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__filter fieldset:hover button":{standart:["cssStyleMinistryElementFiltersInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonLayout__item--detail-button a:hover":{standart:["cssStyleElementSermonLayoutButtonsTypography","cssStyleElementSermonLayoutButtonsBgColor","cssStyleElementSermonLayoutButtonsBgGradient","cssStyleElementSermonLayoutButtonsColor","cssStyleElementSermonLayoutButtonsBoxShadow","cssStyleElementSermonLayoutButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},41317:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("detailButtonBgColorHex"),s("detailButtonBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"detailButtonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("detailButtonBgColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgColor",label:(0,n.t)("Bg"),options:[{id:"detailButton",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabColor",label:(0,n.t)("Text"),options:[{id:"detailButtonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"detailButtonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"detailButtonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},39722:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(41493),s=e=>{let{v:t,device:o,state:n,component:s,context:c}=e;const d=r.default.getAll();return[{id:"toolbarSermonLayout",type:"popover-dev",config:{icon:"t2-sermon-layout",title:(0,a.t)("Sermon Layout")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabColumns",label:(0,a.t)("Columns"),options:[{id:"howmany",type:"number-dev",label:(0,a.t)("Items"),devices:"desktop",config:{min:1,max:24,spinner:!0}},{id:"columnNumber",label:(0,a.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}}]},{id:"tabSermonLayout",label:(0,a.t)("Display"),options:[{id:"showPagination",label:(0,a.t)("Pagination"),type:"switch-dev",devices:"desktop"},{id:"showImages",label:(0,a.t)("Images"),type:"switch-dev",devices:"desktop"},{id:"showVideo",label:(0,a.t)("Video"),type:"switch-dev",devices:"desktop",helper:{content:(0,a.t)('If this is selected and you would like the image to be a fallback when no video is available make sure to select "Images".')}},{id:"showAudio",label:(0,a.t)("Audio"),type:"switch-dev",devices:"desktop"},{id:"showMediaLinks",label:(0,a.t)("Media Links"),type:"switch-dev",devices:"desktop"},{id:"showTitle",label:(0,a.t)("Title"),type:"switch-dev",devices:"desktop"},{id:"showDate",label:(0,a.t)("Date"),type:"switch-dev",devices:"desktop"},{id:"showCategory",label:(0,a.t)("Category"),type:"switch-dev",devices:"desktop"},{id:"showGroup",label:(0,a.t)("Group"),type:"switch-dev",devices:"desktop"},{id:"showSeries",label:(0,a.t)("Series"),type:"switch-dev",devices:"desktop"},{id:"showPreacher",label:(0,a.t)("Preacher"),type:"switch-dev",devices:"desktop"},{id:"showPassage",label:(0,a.t)("Passage"),type:"switch-dev",devices:"desktop"},{id:"showMeta",label:(0,a.t)("Meta"),type:"switch-dev",devices:"desktop"},{id:"showPreview",label:(0,a.t)("Preview"),type:"switch-dev",devices:"desktop"}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(d),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)('URL of sermon detail page. If used will add a link to the heading to take the user to the sermon detail page. Requires the "Sermon Detail" widget to be placed on a page and that page url/slug placed in this field.')}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButtonText",type:"inputText-dev",label:(0,a.t)("Button Text"),devices:"desktop",placeholder:(0,a.t)("Button Text..."),disabled:!t.detailPage,helper:{content:(0,a.t)("Button will display if text is entered and a detail page selected.")}}]},{id:"tabSermonLayoutFilter",label:(0,a.t)("Filter"),options:[{id:"groupGroupFilter",type:"group-dev",devices:"desktop",options:[{id:"showGroupFilter",type:"switch-dev",label:(0,a.t)("Group Filter")},{id:"groupFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),disabled:"off"===t.showGroupFilter}]},{id:"groupCategoryFilter",type:"group-dev",devices:"desktop",options:[{id:"showCategoryFilter",type:"switch-dev",label:(0,a.t)("Category Filter")},{id:"categoryFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),disabled:"off"===t.showCategoryFilter}]},{id:"groupSeriesFilter",type:"group-dev",devices:"desktop",options:[{id:"showSeriesFilter",type:"switch-dev",label:(0,a.t)("Series Filter")},{id:"seriesFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),disabled:"off"===t.showSeriesFilter}]},{id:"groupSpeakerFilter",type:"group-dev",devices:"desktop",options:[{id:"showSpeakerFilter",type:"switch-dev",label:(0,a.t)("Speaker Filter")},{id:"speakerFilterHeading",type:"inputText-dev",label:(0,a.t)("Heading"),disabled:"off"===t.showSpeakerFilter}]},{id:"groupSearchFilter",type:"group-dev",devices:"desktop",options:[{id:"showSearchFilter",type:"switch-dev",label:(0,a.t)("Search Filter")},{id:"searchFilterPlacehoder",type:"inputText-dev",label:(0,a.t)("Placeholder"),disabled:"off"===t.showSearchFilter}]}]}]}]},...(0,l.toolbarParentColors)({v:t,device:o,state:n,component:s,context:c}),{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},573:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{showImages:t,showPagination:o,showVideo:i,showAudio:a,showMediaLinks:l,showTitle:s,showDate:c,showCategory:d,showGroup:u,showSeries:p,showPreacher:f,showPassage:m,showMeta:y,showPreview:g,showGroupFilter:h,showCategoryFilter:b,showSeriesFilter:v,showSpeakerFilter:S,showSearchFilter:w,detailPage:x,detailPageButtonText:P,howmany:C,groupFilterHeading:T,categoryFilterHeading:_,seriesFilterHeading:k,speakerFilterHeading:M,searchFilterPlacehoder:O}=e,E=[(0,n.getAttr)(t,"show_images"),(0,n.getAttr)(o,"show_pagination"),(0,n.getAttr)(i,"show_video"),(0,n.getAttr)(a,"show_audio"),(0,n.getAttr)(l,"show_media_links"),(0,n.getAttr)(s,"show_title"),(0,n.getAttr)(c,"show_date"),(0,n.getAttr)(d,"show_category"),(0,n.getAttr)(u,"show_group"),(0,n.getAttr)(p,"show_series"),(0,n.getAttr)(f,"show_preacher"),(0,n.getAttr)(m,"show_passage"),(0,n.getAttr)(y,"show_meta_headings"),(0,n.getAttr)(g,"show_preview"),(0,n.getAttr)(h,"show_group_filter"),(0,n.getAttr)(b,"show_category_filter"),(0,n.getAttr)(v,"show_series_filter"),(0,n.getAttr)(S,"show_speaker_filter"),(0,n.getAttr)(w,"show_search"),`detail_page='${(0,n.getDetail)(x)}'`,`detail_page_button_text='${P}'`,`group_filter_heading='${T}'`,`category_filter_heading='${_}'`,`series_filter_heading='${k}'`,`speaker_filter_heading='${M}'`,`search_placeholder='${O}'`,`howmany='${C}'`];return(0,r.makePlaceholder)({content:"{{ekk_sermon_layout}}",attrStr:E.join(" ")})}},167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MinistryBrandsSermonList",{enumerable:!0,get:function(){return T}});const r=x(o(60042)),n=x(o(27378)),i=x(o(67439)),a=x(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=C(o(65918)),u=C(o(89330)),p=C(o(42938)),f=C(o(56777)),m=C(o(8981)),y=C(o(51179)),g=C(o(75545)),h=C(o(58306)),b=x(o(58846)),v=o(70510),S=C(o(41726)),w=o(33456);function x(e){return e&&e.__esModule?e:{default:e}}function P(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(P=function(e){return e?o:t})(e)}function C(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=P(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class T extends a.default{static get componentId(){return"MinistryBrandsSermonList"}static defaultValue=b.default;static experimentalDynamicContent=!0;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(S,d,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const a=(0,r.default)("brz-sermonList__wrapper","brz-ministryBrands",(0,c.css)(this.getComponentId(),this.getId(),(0,v.style)(e,t,o)));return n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(h,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--meta--title"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(p,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--meta--link a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(u,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__item--meta--button"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(f,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--media a"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(m,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--meta"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(g,void 0,{allowExtend:!1}),selector:".brz-sermonList__item--meta--preview"},n.default.createElement(i.default,{...this.makeToolbarPropsFromConfig2(y,void 0,{allowExtend:!1}),selector:".brz-ministryBrands__pagination a"},n.default.createElement(s.Wrapper,this.makeWrapperProps({className:a}),n.default.createElement(l.DynamicContentHelper,{placeholder:(0,w.getPlaceholder)(e),props:{className:"brz-sermonList"},blocked:!1,tagName:"div"})))))))))}}},70510:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-sermonList":{standart:["cssStylePaddingBG","cssStylementOfMinistryBrandsParentBgColor","cssStylementOfMinistryBrandsParentBgGradient","cssStylementOfMinistryBrandsParentBorder","cssStylementOfMinistryBrandsParentBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-sermonList__container":{standart:["cssStyleElementOfMinistryBrandsColumnsNumberWithSpacing"]},".brz &&:hover .brz-sermonList__item":{standart:["cssStyleElementOfMinistryBrandsHorizontalAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && :is(.brz-sermonList__item--meta, .brz-sermonList__item--meta--link):hover":{standart:["getAllCssStyleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonList__item--meta:not(a):hover":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__pagination a:hover:not(#current)":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-ministryBrands__pagination a#current":{standart:["cssStyleElementOfMinistryBrandsPaginationColorActive","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-sermonList__item :is(iframe,video,img)":{standart:["cssStyleMinistryElementMediaBorderRadius"]},".brz && .brz-sermonList__item--meta--title:hover":{standart:["cssStyleElementOfMinistryBrandsTitleColor","cssStyleElementOfMinistryBrandsTitleTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonList__item--meta--preview:hover":{standart:["cssStyleElementOfMinistryBrandsPreviewTypography","cssStyleElementOfMinistryBrandsPreviewColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__pagination a:hover":{standart:["cssStyleElementOfMinistryBrandsPaginationColor","cssStyleElementOfMinistryBrandsPaginationTypography"],interval:["cssStyleHoverTransition"]},".brz && .brz-ministryBrands__item--meta--button:hover":{standart:["cssStyleElementMinistryBrandsButtonsTypography","cssStyleElementMinistryBrandsButtonsBgColor","cssStyleElementMinistryBrandsButtonsBgGradient","cssStyleElementMinistryBrandsButtonsColor","cssStyleElementMinistryBrandsButtonsBoxShadow","cssStyleElementMinistryBrandsButtonsBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-sermonList__item--media a:hover":{standart:["cssStyleElementOfMinistryBrandsMediaTypography","cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]},".brz && .brz-sermonList__item--meta--link a:hover":{standart:["cssStyleElementOfMinistryBrandsMetaLinksColor"],interval:["cssStyleHoverTransition"]}}})}},41726:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(64985),l=o(69321),s=o(41493),c=o(78407),d=e=>{let{v:t,device:o,state:n,component:d,context:u}=e;const p=r.default.getAll(),{apiUrl:f}=p.modules?.ekklesia??{};return[{id:"toolbarSermonList",type:"popover-dev",config:{icon:"t2-sermon-list",title:(0,a.t)("Sermon List")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabSettings",label:(0,a.t)("Settings"),options:[{id:"category",label:(0,a.t)("Category"),type:"select-dev",devices:"desktop",choices:(0,c.getEkklesiaChoiches)({key:"sermon",url:f})},{id:"group",label:(0,a.t)("Group"),type:"select-dev",devices:"desktop",choices:(0,c.getEkklesiaChoiches)({key:"groups",url:f})},{id:"series",label:(0,a.t)("Series"),type:"select-dev",devices:"desktop",choices:(0,c.getEkklesiaChoiches)({key:"series",url:f})}]},{id:"tabColumns",label:(0,a.t)("Columns"),options:[{id:"itemsNumber",label:(0,a.t)("Items"),devices:"desktop",type:"number-dev",config:{min:1,max:20,spinner:!0}},{id:"columnNumber",label:(0,a.t)("Columns"),type:"number-dev",config:{min:1,max:6,spinner:!0}}]},{id:"tabSermonList",label:(0,a.t)("Display"),options:[{id:"showTitle",label:(0,a.t)("Title"),type:"switch-dev",devices:"desktop"},{id:"showVideo",label:(0,a.t)("Video"),type:"switch-dev",devices:"desktop",helper:{content:(0,a.t)("If this is selected and you would like the image to be a fallback when no video is available make sure to select 'Display Image'.")}},{id:"showImages",label:(0,a.t)("Images"),type:"switch-dev",devices:"desktop"},{id:"showAudio",label:(0,a.t)("Audio"),type:"switch-dev",devices:"desktop"},{id:"showMeta",label:(0,a.t)("Meta"),type:"switch-dev",devices:"desktop"},{id:"showDate",label:(0,a.t)("Date"),type:"switch-dev",devices:"desktop"},{id:"showCategory",label:(0,a.t)("Category"),type:"switch-dev",devices:"desktop"},{id:"showGroup",label:(0,a.t)("Group"),type:"switch-dev",devices:"desktop"},{id:"showPreacher",label:(0,a.t)("Preacher"),type:"switch-dev",devices:"desktop"},{id:"showPassages",label:(0,a.t)("Passages"),type:"switch-dev",devices:"desktop"},{id:"showSeries",label:(0,a.t)("Series"),type:"switch-dev",devices:"desktop"},{id:"showMedia",label:(0,a.t)("Media"),type:"switch-dev",devices:"desktop"},{id:"showPreview",label:(0,a.t)("Preview"),type:"switch-dev",devices:"desktop"},{id:"showPagination",label:(0,a.t)("Pagination"),type:"switch-dev",devices:"desktop"},{id:"features",label:(0,a.t)("Featured"),type:"switch-dev",devices:"desktop",helper:{content:(0,a.t)("If this is selected the Non featured Only option does not apply.")}},{id:"nonfeatures",label:(0,a.t)("No featured"),type:"switch-dev",devices:"desktop",helper:{content:(0,a.t)("If this is selected the Featured Only option does not apply.")}}]},{id:"page",label:(0,a.t)("Page"),options:[{id:"source",type:"select-dev",label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(p),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"},helper:{content:(0,a.t)("URL of sermon detail page. If used will add a link to the heading to take the user to the sermon detail page. Requires the 'Sermon Detail' widget to be placed on a page and that page url/slug placed in this field .")}},{id:"detailPage",type:"internalLink-dev",label:(0,a.t)("Item"),devices:"desktop",disabled:!t.source,config:{postType:t.source}},{id:"detailPageButton",devices:"desktop",type:"inputText-dev",placeholder:(0,a.t)("Button text..."),label:(0,a.t)("Button"),disabled:("detailUrl",!(0,l.defaultValueValue)({v:t,key:"detailUrl",device:o})),helper:{content:(0,a.t)("Button will display if text is entered and a detail page selected.")}}]}]}]},...(0,s.toolbarParentColors)({v:t,device:o,state:n,component:d,context:u}),{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,a.t)("Settings")},position:110,options:[{id:"itemSpacing",label:(0,a.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"itemHorizontalAlign",type:"toggle-dev",position:80,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"}]}]}},33456:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPlaceholder",{enumerable:!0,get:function(){return i}});const r=o(9644),n=o(78407),i=e=>{const{itemsNumber:t,showTitle:o,showImages:i,showDate:a,showCategory:l,showGroup:s,showPreacher:c,showPassages:d,showMedia:u,showPreview:p,showVideo:f,showAudio:m,showSeries:y,showPagination:g,showMeta:h,group:b,category:v,series:S,detailPageButton:w,features:x,nonfeatures:P,detailPage:C}=e,T=[`howmany='${t}'`,`group='${b}'`,`category='${v}'`,`series='${S}'`,(0,n.getAttr)(o,"show_title"),(0,n.getAttr)(g,"show_pagination"),(0,n.getAttr)(s,"show_group"),(0,n.getAttr)(c,"show_preacher"),(0,n.getAttr)(d,"show_passage"),(0,n.getAttr)(p,"show_preview"),(0,n.getAttr)(f,"show_inline_video"),(0,n.getAttr)(m,"show_inline_audio"),(0,n.getAttr)(a,"show_date"),(0,n.getAttr)(i,"show_images"),(0,n.getAttr)(y,"show_series"),(0,n.getAttr)(l,"show_category"),(0,n.getAttr)(u,"show_media_links"),(0,n.getAttr)(h,"show_meta_headings"),(0,n.getFeatures)(x,"features"),(0,n.getFeatures)(P,"nonfeatures"),`detail_url='${(0,n.getDetail)(C)}'`,`detail_page_button_text='${w}'`,"sticky_space='0'"];return(0,r.makePlaceholder)({content:"{{ekk_sermon_list}}",attrStr:T.join(" ")})}},55394:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{MinistryBrandsGroupLayout:function(){return r.MinistryBrandsGroupLayout},MinistryBrandsGroupSlider:function(){return n.MinistryBrandsGroupSlider},MinistryBrandsEventLayout:function(){return i.MinistryBrandsEventLayout},MinistryBrandsEventCalendar:function(){return a.MinistryBrandsEventCalendar},MinistryBrandsSermonLayout:function(){return l.MinistryBrandsSermonLayout},MinistryBrandsSermonList:function(){return s.MinistryBrandsSermonList},MinistryBrandsSermonFeatured:function(){return c.MinistryBrandsSermonFeatured},MinistryBrandsSermonDetail:function(){return d.MinistryBrandsSermonDetail},MinistryBrandsGroupList:function(){return u.MinistryBrandsGroupList},MinistryBrandsGroupDetail:function(){return p.MinistryBrandsGroupDetail},MinistryBrandsEventFeatured:function(){return f.MinistryBrandsEventFeatured},MinistryBrandsGroupFeatured:function(){return m.MinistryBrandsGroupFeatured},MinistryBrandsEventList:function(){return y.MinistryBrandsEventList},MinistryBrandsFormWidget:function(){return g.MinistryBrandsFormWidget},MinistryBrandsEventDetail:function(){return h.MinistryBrandsEventDetail}});const r=o(61798),n=o(77640),i=o(54370),a=o(11185),l=o(49391),s=o(167),c=o(60436),d=o(63439),u=o(53021),p=o(94643),f=o(84621),m=o(21519),y=o(69443),g=o(34743),h=o(40866)},65918:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526);function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),position:50},{id:"mediaBorder",type:"corners-dev",label:(0,i.t)("Media Corner"),position:65},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,i.t)("Padding"),devices:"responsive",position:50},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"responsive",position:65}]}]}]}},86404:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Filter");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"filterBorder",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}]}]}},63786:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("dateColorHex"),s("dateColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"dateTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("dateColorOpacity"))}}},position:80,options:[{id:"dateColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},89330:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("detailButtonBgColorHex"),s("detailButtonBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"detailButtonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("detailButtonBgColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgColor",label:(0,n.t)("Bg"),options:[{id:"detailButton",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabColor",label:(0,n.t)("Text"),options:[{id:"detailButtonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"detailButtonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"detailButtonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},95663:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("filterBgColorHex"),s("filterBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"filterTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("filterBgColorOpacity"))}}},position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabFilterBg",label:(0,n.t)("Bg"),options:[{id:"filter",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabInputBg",label:(0,n.t)("Input"),options:[{id:"input",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabInputColor",label:(0,n.t)("Text"),options:[{id:"input",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"inputBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop"}]}},41488:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("h4ColorHex"),s("h4ColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"h4Typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("h4ColorOpacity"))}}},position:80,options:[{id:"h4Color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},42938:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("metaLinksColorHex"),s("metaLinksColorPalette"));return[{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("metaLinksColorOpacity"))}}},position:80,options:[{id:"metaLinksColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},93495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("listColorHex"),s("listColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:10,options:[{id:"listTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("listColorOpacity"))}}},position:20,options:[{id:"listColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"listType",type:"toggle-dev",position:30,choices:[{icon:"nc-list-numbers",title:(0,n.t)("List"),value:"ordered"},{icon:"nc-list-bullet",title:(0,n.t)("List"),value:"bullet"},{icon:"nc-list-default",title:(0,n.t)("List"),value:"default"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:40,options:[{id:"listPadding",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},56777:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("metaLinksColorHex"),s("metaLinksColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"mediaLinksTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("metaLinksColorOpacity"))}}},position:80,options:[{id:"metaLinksColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},74765:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("metaLinksColorHex"),s("metaLinksColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"metaLinksTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("metaLinksColorOpacity"))}}},position:80,options:[{id:"metaLinksColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},8981:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},position:80,options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},51179:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paginationColorHex"),s("paginationColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"paginationTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("paginationColorOpacity"))}}},position:80,options:[{id:"paginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}},59511:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paragraphColorHex"),s("paragraphColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"paragraphTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("paragraphColorOpacity"))}}},position:80,options:[{id:"paragraphColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},41493:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"toolbarParentColors",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("parentBgColorHex"),s("parentBgColorPalette"));return[{id:"toolbarParentColors",type:"popover-dev",devices:"desktop",position:70,config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("parentBgColorOpacity"))}}},options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabParentBg",label:(0,n.t)("Background"),options:[{id:"parent",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabParentBorder",label:(0,n.t)("Border"),options:[{id:"parentBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabParentBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"parentBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},75545:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("previewColorHex"),s("previewColorPalette"));return[{id:"toolbarTypographyContent",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"previewTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorContent",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("previewColorOpacity"))}}},position:80,options:[{id:"previewColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},8382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("registerButtonBgColorHex"),s("registerButtonBgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"registerButtonTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("registerButtonBgColorOpacity"))}}},devices:"desktop",position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgColor",label:(0,n.t)("Bg"),options:[{id:"registerButton",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabColor",label:(0,n.t)("Text"),options:[{id:"registerButtonColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"registerButtonBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"registerButtonBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},58306:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("titleColorOpacity"))}}},position:80,options:[{id:"titleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]}]}},78407:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getOption:function(){return n},getAttr:function(){return i},getFeatures:function(){return a},getDetail:function(){return l},changeContentVisibility:function(){return s},getEkklesiaFields:function(){return d},getEkklesiaChoiches:function(){return u}});const r=o(64985),n=e=>e?[{title:"None",value:""},...Object.entries(e).map((e=>{let[t,o]=e;return{title:String(o),value:t}}))]:[],i=(e,t)=>"on"===e?`${t}='1'`:`${t}='0'`,a=(e,t)=>"on"===e?`${t}='${t}'`:"",l=e=>encodeURI(e);function s(e){let{items:t,activeClassName:o,direction:r}=e,n=0;t.forEach(((e,t)=>{if(e.classList.contains(o)){switch(r){case"next":n=t+1;break;case"prev":n=t-1}e.classList.remove(o)}})),t[n].classList.add(o)}const c=e=>"subKey"in e,d=async e=>{try{const{url:t,key:o}=e,r=(await(e=>fetch(e).then((e=>e.json())))(t.concat("?module=",o))).data[o];if(!r||!(e=>"childs"in e&&"parents"in e)(r))return n(r);if(c(e))return n(r[e.subKey])}catch(e){}return[]},u=e=>{const{url:t,key:o}=e;return t?c(e)?{load:()=>d({key:o,subKey:e.subKey,url:t}),emptyLoad:{title:(0,r.t)("There are no choices")}}:{load:()=>d({key:o,url:t}),emptyLoad:{title:(0,r.t)("There are no choices")}}:[]}},25739:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NotFound",{enumerable:!0,get:function(){return d}});const r=l(o(27378)),n=l(o(63692)),i=l(o(67439)),a=o(64985);function l(e){return e&&e.__esModule?e:{default:e}}const s={getItemsForDesktop:()=>[],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},c=e=>e.filter((e=>"remove"===e.id));class d extends n.default{static get componentId(){return"NotFound"}static defaultProps={message:(0,a.t)("Missing Element")};static defaultValue={};renderForEdit(){const{componentId:e}=this.props;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig(s,null,{parentItemsFilter:c}),r.default.createElement("div",{style:{height:"50px",lineHeight:"50px",padding:"0 10px",backgroundColor:"lightgrey"}},(0,a.t)("Could not find")," ",r.default.createElement("b",null,e)," ",(0,a.t)("component")))}renderForView(){return null}}},67673:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(27378)),n=o(23884),i=y(o(10787)),a=o(78660),l=y(o(92823)),s=y(o(24072)),c=o(67439),d=o(74215),u=o(97045),p=o(92213),f=o(64985),m=o(16526);function y(e){return e&&e.__esModule?e:{default:e}}class g extends i.default{static get componentId(){return"Page.Items"}blockAdderRef=r.default.createRef();handleAddTemplate=(e,t)=>{const o={insertIndex:t},{blocks:r,...n}=e,i=(0,m.stripSystemKeys)(r),a=(0,m.setIds)(i);this.props.dispatch((0,d.importTemplate)({blocks:a,...n},o))};handleAddBlock=(e,t)=>{const{dispatch:o}=this.props,r={insertIndex:t},{block:n,...i}=e;if("GlobalBlock"===n.type)return void o((0,d.addGlobalBlock)(e,r));const a=(0,m.stripSystemKeys)(n),l=(0,m.setIds)(a);o((0,d.addBlock)({block:l,...i},r))};handleKeyDown=()=>{const e=this.getValue().length,t=t=>this.handleAddBlock(t,e),o=t=>this.handleAddTemplate(t,e);l.default.open({prompt:"blocks",mode:"single",props:{type:"normal",onChangeBlocks:t,onChangeGlobal:t,onChangeSaved:o,onChangeTemplate:o}})};getItemProps(e,t){const{blockId:o}=e;let r=!1;if("GlobalBlock"===e.type){const t=(0,u.blocksDataSelector)((0,p.getStore)().getState()),o=t[e.value._id]?.value?.slider;r=!o||"off"===o}const n={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,f.t)("Duplicate"),position:200,disabled:r,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,f.t)("Delete"),position:250,onChange:()=>{const{dispatch:o}=this.props;(0,c.hideToolbar)(),o((0,d.removeBlock)({index:t,id:e.value._id}))}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{blockId:o,toolbarExtend:this.makeToolbarPropsFromConfig(n)}}renderItemWrapper(e,t,o,n,i){const l=o+1,s="unlisted"!==n.value._blockVisibility&&i.slice(o+1).some((e=>"unlisted"!==e.value._blockVisibility));return r.default.createElement("div",{key:t,className:"brz-ed-wrap-block-item"},e,s&&r.default.createElement(a.MiddleBlockAdder,{onAddBlock:e=>this.handleAddBlock(e,l),onAddTemplate:e=>this.handleAddTemplate(e,l)}))}renderItemsContainer(e,t){const o=t.every((e=>"unlisted"===e.value._blockVisibility));return 0===e.length||o?r.default.createElement(r.default.Fragment,null,r.default.createElement(a.FirstBlockAdder,{ref:this.blockAdderRef,onAddBlock:e=>this.handleAddBlock(e,0),onAddTemplate:e=>this.handleAddTemplate(e,0)}),r.default.createElement(s.default,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handleKeyDown})):r.default.createElement("div",{className:"brz-ed-wrap-block-wrap"},r.default.createElement("div",{id:"brz-ed-page__blocks"},e),r.default.createElement(a.LastBlockAdder,{ref:this.blockAdderRef,onAddBlock:t=>this.handleAddBlock(t,e.length),onAddTemplate:t=>this.handleAddTemplate(t,e.length)}),r.default.createElement(s.default,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handleKeyDown}))}}const h=(0,n.connect)()(g)},74890:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=u(o(27378)),n=u(o(63692)),i=u(o(47075)),a=o(91899),l=u(o(67673)),s=o(6804),c=o(82689),d=u(o(13925));function u(e){return e&&e.__esModule?e:{default:e}}class p extends n.default{static get componentId(){return"Page"}static defaultValue=d.default;getDBValue(){const e=super.getDBValue();return e._id?e:(this._id||(this._id=(0,s.uuid)()),{...e,_id:this._id})}componentDidMount(){i.default.on("dnd.sort",this.handleDNDSort)}componentWillUnmount(){i.default.off("dnd.sort",this.handleDNDSort)}handleDNDSort=e=>{const{dbValue:t}=this.props,o=(0,c.changeValueAfterDND)(t,e);this.props.onChange(o)};renderForEdit(){const e=this.makeSubcomponentProps({bindWithKey:"items"});return r.default.createElement("div",{className:"brz-root__container brz-reset-all"},r.default.createElement(l.default,e),r.default.createElement(a.DraggableOverlay,null))}renderForView(){const e=this.makeSubcomponentProps({bindWithKey:"items"});return r.default.createElement("div",{className:"brz-root__container brz-reset-all"},r.default.createElement(l.default,e))}}const f=p},60920:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=o(70634),n=m(o(10301)),i=m(o(22546)),a=o(97045),l=o(92213),s=o(16526),c=o(53536),d=o(52818),u=o(70377),p=o(88988),f=o(71411);function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t){const o=i.default.getAll(),{getState:m,dispatch:y}=(0,l.getStore)(),g=(0,a.globalBlocksAssembledSelector)(m()),h=(0,u.attachMenu)({config:o,model:(0,u.gbTransform)(e,g),omitSymbols:!0}),b=(0,p.normalizeFromTo)(h,t);let v=(0,u.attachGlobalBlocks)(e,b.from,g);v=(0,u.attachGlobalBlocks)(v,b.to,g),v=(0,u.attachMenu)({model:v,config:o});const S=function(e,t){let o=e;if((0,f.isShortcode)(t)){const{from:e,to:i}=t;let a=(0,r.getIn)(o,e.itemPath);if(void 0===a)return;if("cloneable"===e.containerType){const t=(0,r.getIn)(o,e.itemPath.slice(0,-3));if(void 0===t)return;void 0!==i.itemIndex&&t.value.items.length<=1&&(e.containerPath=e.itemPath.slice(0,-4),e.itemPath=e.itemPath.slice(0,-3),e.itemIndex=Number(e.itemPath[e.itemPath.length-1]),n.default.isEqual(e.containerPath,i.containerPath)&&e.itemIndex{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{addIn:function(){return a},removeIn:function(){return l}});const r=o(70634),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(73904));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a=(e,t,o)=>{let[...i]=t;const a=n.read(i.pop()),l=(0,r.getIn)(e,i);if(l&&void 0!==a){const t=(0,r.insert)(l,a,o);return(0,r.setIn)(e,i,t)}},l=(e,t)=>{let[...o]=t;const i=n.read(o.pop()),a=(0,r.getIn)(e,o);if(a&&void 0!==i){const t=(0,r.removeAt)(a,i);return(0,r.setIn)(e,o,t)}}},52818:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{normalizeColumnsWidths:function(){return s},simpleMove:function(){return p},moveAddableToSection:function(){return f},moveAddableToRow:function(){return m},moveAddableToColumn:function(){return y},moveColumnToSection:function(){return g},moveColumnToAnotherRow:function(){return h},moveShortcodeToSection:function(){return b},moveShortcodeToRow:function(){return v}});const r=o(70634),n=o(10301),i=o(23875),a=o(16526),l=o(53536),s=(e,t,o)=>{const a=(0,r.getIn)(e,t),{containerType:l,containerPath:s}=o??{},c="carousel"===l&&(0,n.isEqual)(s,t);return a&&(0,n.every)(a,(e=>{let{type:t}=e;return"Column"===t}))&&!c?(0,r.setIn)(e,t,(0,i.normalizeRowColumns)(a)):e},c=(e,t,o,r)=>{let i;var a,c;if(a=t.itemPath,c=o.itemPath,(0,n.some)(a,((e,t)=>e{const i=t.containerPath,a=(0,r.getIn)(e,i);if(a&&a.length<=1){let i=t.itemPath.slice(0,-3),a=t.itemPath.slice(0,-4);const l=(0,r.getIn)(e,i);"Carousel"===l?.type&&(i=i.slice(0,-3),a=a.slice(0,-4));const s={...t,itemPath:i,containerPath:a};return c(e,s,o,n)}return c(e,t,o,n)},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,a.setIds)({type:e,value:t})},p=function(e,t,o){let n,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,r.getIn)(e,t.itemPath);if(i)return t.itemPath.length(0,l.addIn)(e,o.itemPath,t.itemData),m=(e,t,o)=>{const{itemData:r}=t,n="Row"!==r.type?[r]:[],i=u("Column",{_styles:["column"],items:n}),a=(0,l.addIn)(e,o.itemPath,i);if(a)return s(a,o.containerPath)},y=(e,t,o)=>(0,l.addIn)(e,o.itemPath,t.itemData),g=(e,t,o)=>{const n=(0,r.getIn)(e,t.itemPath),a=u("Row",{_styles:["row","hide-row-borders","padding-0"],items:(0,i.normalizeRowColumns)([n])}),l={...o,containerPath:[...o.itemPath,"value","items"]};return d(e,t,l,a)},h=(e,t,o)=>{const n=(0,r.getIn)(e,t.itemPath);if(n)return d(e,t,o,n)},b=(e,t,o,r)=>{const n=(0,l.removeIn)(e,t.itemPath);return n?(0,l.addIn)(n,o.itemPath,r):void 0},v=(e,t,o,r)=>{const n=u("Column",{_styles:["column"],items:[r]});let i;if(t.itemPath.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{attachGlobalBlocks:function(){return c},detachGlobalBlocks:function(){return d},gbTransform:function(){return u},attachMenu:function(){return p},detachMenu:function(){return f}});const r=(n=o(13556))&&n.__esModule?n:{default:n};var n;const i=o(72599),a=o(74215),l=o(16526),s=o(92636);function c(e,t,o){if("itemPath"in t){const{itemPath:n=[]}=t;return(0,r.default)(e,(e=>{let t=e,r=0;do{if(!t)break;if(t.type&&"GlobalBlock"===t.type&&t.value){const{_id:e}=t.value;o[e]&&Object.assign(t,o[e].data,{__tmp_global_original__:JSON.stringify(t)})}t=t[n[r++]]}while(r{(0,s.objectTraverse2)(e,(e=>{if(e.__tmp_global_original__){const t=JSON.parse(e.__tmp_global_original__);delete e.__tmp_global_original__,o.push([t.value._id,JSON.stringify(e)]),Object.assign(e,t)}}))}));if(o.length)for(const[e,r]of o)t((0,a.updateGlobalBlock)({id:e,data:JSON.parse(r)}));return n}function u(e,t){return(0,l.mapModels)((e=>{if("GlobalBlock"===e.type){const{_id:o}=e.value;if(t[o]&&t[o].data)return t[o].data}return e}),e)}function p(e){const{config:t,model:o,omitSymbols:n=!1}=e,a=t.menuData;return void 0===a?o:(0,l.mapModels)((e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:l={}}=o,s=t||a[0]?.id,c=a.find((e=>e.id===s))||{items:[]},d=(0,i.normalizeMenuItems)(c.items);return(0,r.default)(e,(e=>{e.value.items=(0,i.symbolsToItems)(d,l),n&&"symbols"in e.value&&delete e.value.symbols}))}return e}),o)}function f(e){return(0,l.mapModels)((e=>{const{type:t,value:o}=e;return"Menu"===t&&o.items?(0,r.default)(e,(e=>{Object.assign(e.value.symbols||{},(0,i.itemsToSymbols)(e.value.items)),delete e.value.items})):e}),e)}},88988:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeFromTo",{enumerable:!0,get:function(){return a}});const r=(n=o(13556))&&n.__esModule?n:{default:n};var n;const i=o(16526),a=(e,t)=>(0,r.default)(t,(t=>{"itemPath"in t.from&&(t.from.itemPath=(0,i.createFullModelPath)(e,t.from.itemPath)),"containerPath"in t.from&&(t.from.containerPath=(0,i.createFullModelPath)(e,t.from.containerPath)),"itemPath"in t.to&&(t.to.itemPath=(0,i.createFullModelPath)(e,t.to.itemPath)),"containerPath"in t.to&&(t.to.containerPath=(0,i.createFullModelPath)(e,t.to.containerPath))}))},82689:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"changeValueAfterDND",{enumerable:!0,get:function(){return r.default}});const r=(n=o(60920))&&n.__esModule?n:{default:n};var n},71411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isAddable:function(){return o},isRow:function(){return r},isColumn:function(){return n},isShortcode:function(){return i}});const o=e=>"addable"===e.from.itemType,r=e=>"row"===e.from.itemType,n=e=>"column"===e.from.itemType,i=e=>"shortcode"===e.from.itemType},28172:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=b(o(27378)),n=b(o(92823)),i=b(o(63692)),a=b(o(10787)),l=o(78660),s=b(o(24072)),c=b(o(47075)),d=o(92213),u=o(97045),p=o(10744),f=o(74215),m=o(82689),y=b(o(77604)),g=o(6804),h=o(16526);function b(e){return e&&e.__esModule?e:{default:e}}class v extends i.default{static get componentId(){return"PagePopup"}static defaultValue=y.default;getDBValue(){const e=super.getDBValue();return e._id?e:(this._id||(this._id=(0,g.uuid)()),{...e,_id:this._id})}componentDidMount(){if(null===(0,u.triggersAmountSelector)((0,d.getStore)().getState())){const e=[{id:"pageLoad",active:!0,value:"1"}];(0,d.getStore)().dispatch((0,p.updateTriggers)(e))}c.default.on("dnd.sort",this.handleDNDSort)}componentWillUnmount(){c.default.off("dnd.sort",this.handleDNDSort)}handleClose=()=>{this.patchValue({items:[]})};handleDNDSort=e=>{const{dbValue:t}=this.props,o=(0,m.changeValueAfterDND)(t,e);this.props.onChange(o)};handleBlocksAdd=e=>{const{dispatch:t}=(0,d.getStore)(),o={insertIndex:0},{block:r,...n}=e;if("GlobalBlock"===r.type)t((0,f.addGlobalBlock)(e,o));else{const e=(0,h.stripSystemKeys)(r),i=(0,h.setIds)(e);t((0,f.addBlock)({block:i,...n},o))}};handlePromptOpen=()=>{const e={prompt:"blocks",mode:"single",props:{type:"popup",showTemplate:!1,blocksType:!1,globalSearch:!1,onChangeBlocks:this.handleBlocksAdd,onChangeGlobal:this.handleBlocksAdd,onChangeSaved:this.handleAddSavedBlock}};n.default.open(e)};renderItems(){const e=this.makeSubcomponentProps({bindWithKey:"items",itemProps:()=>({isOpened:!0,onClose:this.handleClose})});return r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default,e),r.default.createElement("div",{className:"brz-root__container-after"}))}renderForEdit(e){return 0===e.items.length?r.default.createElement(r.default.Fragment,null,r.default.createElement(l.FirstPopupBlockAdder,{insertIndex:0,onAddBlock:this.handleBlocksAdd}),r.default.createElement(s.default,{keyNames:["ctrl+shift+A","cmd+shift+A","right_cmd+shift+A","shift+ctrl+A","shift+cmd+A","shift+right_cmd+A"],id:"key-helper-blocks",onKeyDown:this.handlePromptOpen})):this.renderItems()}renderForView(){return this.renderItems()}}const S=v},60954:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const r=d(o(27378)),n=d(o(63692)),i=d(o(10787)),a=d(o(47075)),l=o(82689),s=d(o(40054)),c=o(6804);function d(e){return e&&e.__esModule?e:{default:e}}class u extends n.default{static get componentId(){return"PageStory"}static defaultValue=s.default;getDBValue(){const e=super.getDBValue();return e._id?e:(this._id||(this._id=(0,c.uuid)()),{...e,_id:this._id})}componentDidMount(){a.default.on("dnd.sort",this.handleDNDSort)}componentWillUnmount(){a.default.off("dnd.sort",this.handleDNDSort)}blocksFilter(e){return e.filter((e=>{let[t,o]=e;return"StoryItem"===o.type}))}handleClose=()=>{this.patchValue({items:[]})};handleDNDSort=e=>{const{dbValue:t}=this.props,o=(0,l.changeValueAfterDND)(t,e);this.props.onChange(o)};renderForEdit(e){const t=this.makeSubcomponentProps({bindWithKey:"items",itemProps:()=>({isOpened:!0,onClose:this.handleClose})});return r.default.createElement("div",{className:"brz-root__container brz-root__container-story brz-reset-all"},r.default.createElement(i.default,t))}}const p=u},70662:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=h(o(60042)),n=h(o(27378)),i=h(o(36275)),a=h(o(67439)),l=h(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(5726),p=o(86022),f=h(o(32118)),m=v(o(660)),y=o(16485),g=v(o(68958));function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class S extends l.default{static get componentId(){return"WPPostContent"}static defaultValue=f.default;renderForEdit(e,t,o){const{textPopulation:l,textPopulationEntityId:f,textPopulationEntityType:h,className:b}=e,v=(0,u.getPopulatedEntityValues)(f,h),S=(0,d.makePlaceholder)({content:l,attr:v}),w=(0,r.default)("brz-wp-post-content",b,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,y.style)(e,t,o)));return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(g,m),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:w}),n.default.createElement(s.DynamicContentHelper,{placeholder:S,placeholderIcon:"wp-content",tagName:"div"}))))}}},660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=e=>{let{v:t}=e;return"wp"===t.type?(0,r.t)("Post Content"):(0,r.t)("Product Content")},i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},16485:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleContentAlign","cssStyleSizeSizePercent"]},".brz &&:hover h1":{standart:["cssStyleElementWPPostContentH1Color","cssStyleElementWPPostContentTypography2H1FontFamily","cssStyleElementWPPostContentTypography2H1FontSize","cssStyleElementWPPostContentTypography2H1LineHeight","cssStyleElementWPPostContentTypography2H1FontWeight","cssStyleElementWPPostContentTypography2H1LetterSpacing"]},".brz &&:hover h2":{standart:["cssStyleElementWPPostContentH2Color","cssStyleElementWPPostContentTypography2H2FontFamily","cssStyleElementWPPostContentTypography2H2FontSize","cssStyleElementWPPostContentTypography2H2LineHeight","cssStyleElementWPPostContentTypography2H2FontWeight","cssStyleElementWPPostContentTypography2H2LetterSpacing"]},".brz &&:hover h3":{standart:["cssStyleElementWPPostContentH3Color","cssStyleElementWPPostContentTypography2H3FontFamily","cssStyleElementWPPostContentTypography2H3FontSize","cssStyleElementWPPostContentTypography2H3LineHeight","cssStyleElementWPPostContentTypography2H3FontWeight","cssStyleElementWPPostContentTypography2H3LetterSpacing"]},".brz &&:hover h4":{standart:["cssStyleElementWPPostContentH4Color","cssStyleElementWPPostContentTypography2H4FontFamily","cssStyleElementWPPostContentTypography2H4FontSize","cssStyleElementWPPostContentTypography2H4LineHeight","cssStyleElementWPPostContentTypography2H4FontWeight","cssStyleElementWPPostContentTypography2H4LetterSpacing"]},".brz &&:hover h5":{standart:["cssStyleElementWPPostContentH5Color","cssStyleElementWPPostContentTypography2H5FontFamily","cssStyleElementWPPostContentTypography2H5FontSize","cssStyleElementWPPostContentTypography2H5LineHeight","cssStyleElementWPPostContentTypography2H5FontWeight","cssStyleElementWPPostContentTypography2H5LetterSpacing"]},".brz &&:hover h6":{standart:["cssStyleElementWPPostContentH6Color","cssStyleElementWPPostContentTypography2H6FontFamily","cssStyleElementWPPostContentTypography2H6FontSize","cssStyleElementWPPostContentTypography2H6LineHeight","cssStyleElementWPPostContentTypography2H6FontWeight","cssStyleElementWPPostContentTypography2H6LetterSpacing"]},".brz && *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(b):not(strong):not(i):not(span):hover":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphFontWeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"]},".brz &&:hover strong *:not(strong):not(b), .brz &&:hover b *:not(strong):not(b)":{standart:["cssStyleElementWPPostContentFontWeightInherit"]},".brz &&:hover strong, .brz &&:hover b":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"]}}})}},68958:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(64985),s=o(69321),c=o(68256);function d(e){let{v:t,device:o,context:n}=e;const d=r.default.getAll(),u=d.contentDefaults.PostContent.textPopulation,p=!1===d.elements?.postContent?.predefinedPopulation,f=(0,c.getDynamicContentChoices)(n.dynamicContent.config,i.DCTypes.richText),m=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:y}=(0,c.getOptionColorHexByPalette)(m("paragraphColorHex"),m("paragraphColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,l.t)("Typography")},roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTypographyParagraph",label:"P",options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"paragraph",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",disabled:p||!u,type:"predefinedPopulation-dev",config:{activeChoice:u,choices:f}}]}]}]},{id:"tabTypographyH1",label:"H1",options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"h1",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",type:"predefinedPopulation-dev",disabled:p||!u,config:{activeChoice:u,choices:f}}]}]}]},{id:"tabTypographyH2",label:"H2",options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"h2",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",type:"predefinedPopulation-dev",disabled:p||!u,config:{activeChoice:u,choices:f}}]}]}]},{id:"tabTypographyH3",label:"H3",options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"h3",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",type:"predefinedPopulation-dev",disabled:p||!u,config:{activeChoice:u,choices:f}}]}]}]},{id:"tabTypographyH4",label:"H4",options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"h4",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",type:"predefinedPopulation-dev",disabled:p||!u,config:{activeChoice:u,choices:f}}]}]}]},{id:"tabTypographyH5",label:"H5",options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"h5",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",type:"predefinedPopulation-dev",disabled:p||!u,config:{activeChoice:u,choices:f}}]}]}]},{id:"tabTypographyH6",label:"H6",options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"h6",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",type:"predefinedPopulation-dev",disabled:p||!u,config:{activeChoice:u,choices:f}}]}]}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(y,m("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabParagraph",label:"P",options:[{id:"paragraphColor",type:"colorPicker-dev"}]},{id:"tabH1",label:"H1",options:[{id:"h1Color",type:"colorPicker-dev"}]},{id:"tabH2",label:"H2",options:[{id:"h2Color",type:"colorPicker-dev"}]},{id:"tabH3",label:"H3",options:[{id:"h3Color",type:"colorPicker-dev"}]},{id:"tabH4",label:"H4",options:[{id:"h4Color",type:"colorPicker-dev"}]},{id:"tabH5",label:"H5",options:[{id:"h5Color",type:"colorPicker-dev"}]},{id:"tabH6",label:"H6",options:[{id:"h6Color",type:"colorPicker-dev"}]}]}]},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,l.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,l.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,l.t)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"advancedSettings",type:"advancedSettings",position:110,title:(0,l.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},69521:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=C(o(60042)),n=_(o(27378)),i=C(o(36275)),a=C(o(1440)),l=C(o(67439)),s=C(o(10787)),c=C(o(63692)),d=o(8704),u=o(66005),p=o(26989),f=o(97045),m=o(92213),y=o(94220),g=o(5726),h=o(81842),b=o(86022),v=C(o(58233)),S=_(o(97076)),w=o(98764),x=_(o(3382)),P=o(89820);function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class k extends c.default{static get componentId(){return"WPPostExcerpt"}static defaultValue=v.default;patchValue(e,t){const{fontStyle:o}=e;super.patchValue({...e,...o?(0,u.getTagNameFromFontStyle)(o):{}},t)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,f.blocksDataSelector)((0,m.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return n.default.createElement(s.default,e)}renderForEdit(e,t,o){const{type:s,tagName:c,customCSS:u,className:v,sourceType:C,textPopulation:T,textPopulationEntityId:_,textPopulationEntityType:k}=e,M=(0,r.default)("brz-wp-post-excerpt",(0,y.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,w.style)(e,t,o)),v),O=(0,h.getLinkData)(e),E=(0,g.getPopulatedEntityValues)(_,k),B=n.default.createElement(d.DynamicContentHelper,{placeholder:(0,P.getPlaceholder)(s,C,T,E),placeholderIcon:(0,P.getPlaceholderIcon)(s),placeholderHeight:0,tagName:c,props:{className:"brz-wp-post-excerpt-content"}});return n.default.createElement(n.Fragment,null,n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(x,S),n.default.createElement(i.default,{selectorName:this.getId(),css:u},n.default.createElement(b.Wrapper,this.makeWrapperProps({className:M}),O.href?n.default.createElement(a.default,{href:O.href,type:O.type,target:O.target,rel:O.rel},B):B))),(0,p.shouldRenderPopup)(e,(0,f.blocksDataSelector)((0,m.getStore)().getState()))&&this.renderPopups())}}},97076:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Excerpt"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"tagName",label:(0,r.t)("HTML Tag"),type:"select-dev",choices:[{title:"Span",value:"span"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}]}]}]}]}]}]}},98764:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleContentAlign"]},".brz &&:hover *":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && > .brz-a.brz-a:not(.brz-btn):hover":{standart:["cssStyleColor"]}}})}},3382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(64187),l=o(81405),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(24119),f=o(57582),m=e=>{let{v:t,device:o,component:n,context:m}=e;const y=e=>(0,d.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:g}=(0,u.getOptionColorHexByPalette)(y("colorHex"),y("colorPalette")),h=Boolean(n.props.meta.sectionPopup),b=Boolean(n.props.meta.sectionPopup2),v=r.default.getAll(),S=v?.api?.collectionTypes?.loadCollectionTypes.handler,w=(0,c.isPopup)(v),x=y("linkSource"),P=v?.contentDefaults?.PostExcerpt?.textPopulation,C=!1===v.elements?.postExcerpt?.predefinedPopulation,T=!1===v?.elements?.postExcerpt?.sourceTypeOption,_=m.dynamicContent.config??[],k=(0,u.getDynamicContentChoices)(_,i.DCTypes.richText);return[{id:"posts",type:"popover-dev",config:{icon:"nc-wp-post-excerpt",size:"auto",title:(0,s.t)("Context")},position:70,disabled:"wp"===y("type")||T,options:[{id:"sourceType",type:"select-dev",label:(0,s.t)("Context Type"),devices:"desktop",choices:[{value:"auto",title:"Auto"},{value:"profile",title:"Profile"}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,s.t)("Typography")},roles:["admin"],position:70,options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",type:"predefinedPopulation-dev",disabled:C||!P,config:{activeChoice:P,choices:k}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(g,y("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"color",type:"colorPicker-dev",states:[p.NORMAL,p.HOVER]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,s.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,s.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!S,label:(0,s.t)("Type"),devices:"desktop",choices:{load:()=>(0,a.getCollectionTypes)(v),emptyLoad:{title:(0,s.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,s.t)("Find Page"),devices:"desktop",disabled:!x,config:{postType:x}}]},{id:"external",label:(0,s.t)("URL"),options:[(0,f.toolbarLinkExternal)({v:t,config:n.context.dynamicContent.config,devices:"desktop"}),{id:"linkExternalBlank",label:(0,s.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,s.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,s.t)("Block"),options:[(0,f.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal",disabled:w})]},{id:"popup",label:(0,s.t)("Popup"),options:[(0,f.toolbarLinkPopup)({v:t,device:o,component:n,state:"normal",canDelete:"desktop"===o,disabled:"desktop"===o?h||b||w:"popup"!==y("linkType")||""===y("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",choices:[],disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,s.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,s.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,s.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,s.t)("Align"),value:"justify"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,s.t)("More Settings"),position:110,title:(0,s.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},89820:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getPlaceholder:function(){return n},getPlaceholderIcon:function(){return i}});const r=o(9644),n=(e,t,o,n)=>{switch(e){case"userEmail":return(0,r.makePlaceholder)({content:"{{ brizy_customer_email }}",attr:{context:t}});case"userFirstName":return(0,r.makePlaceholder)({content:"{{ brizy_customer_fname }}",attr:{context:t}});case"userLastName":return(0,r.makePlaceholder)({content:"{{ brizy_customer_lname }}",attr:{context:t}});case"userUsername":return(0,r.makePlaceholder)({content:"{{ brizy_customer_username }}",attr:{context:t}});case"userPhoneNumber":return(0,r.makePlaceholder)({content:"{{ brizy_customer_phone }}",attr:{context:t}});case"userRoles":return(0,r.makePlaceholder)({content:"{{ brizy_customer_roles }}",attr:{context:t}});case"blogPostExcerpt":case"wp":return(0,r.makePlaceholder)({content:o,attr:n})}},i=e=>{switch(e){case"userEmail":return"user-email";case"userFirstName":case"userLastName":case"userUsername":return"user-details";case"userPhoneNumber":return"user-phone-number";case"userRoles":return"user-roles";case"blogPostExcerpt":case"wp":return"wp-excerpt"}}},24284:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});const r=_(o(60042)),n=_(o(27378)),i=_(o(36275)),a=_(o(1440)),l=_(o(67439)),s=_(o(10787)),c=_(o(63692)),d=o(8704),u=o(66005),p=o(26989),f=o(53002),m=o(97045),y=o(92213),g=o(94220),h=o(9644),b=o(5726),v=o(81842),S=o(86022),w=_(o(35259)),x=o(25502),P=M(o(53329)),C=o(45293),T=M(o(62311));function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class O extends c.default{static get componentId(){return"WPPostsTitle"}static defaultValue=w.default;patchValue(e,t){const{fontStyle:o}=e;super.patchValue({...e,...o?(0,u.getTagNameFromFontStyle)(o):{}},t)}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,m.blocksDataSelector)((0,y.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return n.default.createElement(s.default,e)}renderForEdit(e,t,o){const{className:s,tagName:c,textPopulation:u,textPopulationEntityId:f,textPopulationEntityType:w}=e,x=(0,b.getPopulatedEntityValues)(f,w),_=(0,h.makePlaceholder)({content:u,attr:x}),k=(0,v.getLinkData)(e),M=(0,r.default)("brz-wp-title",s,(0,g.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,C.style)(e,t,o))),O=n.default.createElement(d.DynamicContentHelper,{placeholder:_,placeholderIcon:"wp-title",tagName:c,props:{className:"brz-wp-title-content"}});return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(T,P),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(S.Wrapper,this.makeWrapperProps({className:M}),k.href?n.default.createElement(a.default,{href:k.href,type:k.type,target:k.target,rel:k.rel},O):O))),(0,p.shouldRenderPopup)(e,(0,m.blocksDataSelector)((0,y.getStore)().getState()))&&this.renderPopups())}}const E=(0,f.withMigrations)(O,x.migrations)},41784:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"m2",{enumerable:!0,get:function(){return l}});const r=a(o(48630)),n=a(o(63300));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}const l={version:2,cb(e){if(!r.isObject(e))throw new Error(`PostTitle sourceType && sourceID migration failed ${e}`);const t=(e=>{if(r.hasKey("sourceType",e))return n.read(e.sourceType)})(e)??e.textPopulationEntityType??"",o=(e=>{if(r.hasKey("sourceID",e))return n.read(e.sourceID)})(e)??e.textPopulationEntityId??"";return{...e,textPopulationEntityType:t,textPopulationEntityId:o}}}},25502:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"migrations",{enumerable:!0,get:function(){return r}});const r=[o(41784).m2]},53329:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return l}});const r=o(64985),n=e=>{let{v:t}=e;return"woo"===t.type?(0,r.t)("Product Title"):(0,r.t)("Title")},i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

',a=[{title:"Span",value:"span"},{title:"Div",value:"div"},{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}];function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"tagName",label:(0,r.t)("HTML Tag"),type:"select-dev",devices:"desktop",position:100,choices:a},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:110,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},45293:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleContentAlign"]},".brz &&:hover *":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementTitleTextShadow"],interval:["cssStyleHoverTransition"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor"]},".brz &&:hover .brz-wp-title-content":{standart:["cssStyleStrokeText"]}}})}},62311:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(64187),l=o(81405),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(24119),f=o(57582);function m(e){let{v:t,device:o,component:n,context:m}=e;const y=r.default.getAll(),g=y?.api?.collectionTypes?.loadCollectionTypes.handler,h=(0,c.isPopup)(y),b=e=>(0,d.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),v=Boolean(n.props.meta.sectionPopup),S=Boolean(n.props.meta.sectionPopup2),{hex:w}=(0,u.getOptionColorHexByPalette)(b("colorHex"),b("colorPalette")),x=y.contentDefaults.PostTitle.textPopulation,P=!1===y.elements?.postTitle?.predefinedPopulation,C=(0,u.getDynamicContentChoices)(m.dynamicContent.config,i.DCTypes.richText),T=b("linkSource");return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,s.t)("Typography")},roles:["admin"],position:70,options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"1",align:"center",options:[{id:"text",devices:"desktop",disabled:P||!x,type:"predefinedPopulation-dev",config:{activeChoice:x,choices:C}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(w,b("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,s.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[p.NORMAL,p.HOVER]}]},{id:"tabTextStroke",label:(0,s.t)("Stroke"),options:[{id:"textStrokeBorder",type:"border-dev",config:{width:["grouped"],styles:["none","solid"]},states:[p.NORMAL,p.HOVER]}]},{id:"tabTextShadow",label:(0,s.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",states:[p.NORMAL,p.HOVER]}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,s.t)("Link")},position:90,options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0,showSingle:!0},tabs:[{id:"page",label:(0,s.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!g,label:(0,s.t)("Type"),devices:"desktop",choices:{load:()=>(0,a.getCollectionTypes)(y),emptyLoad:{title:(0,s.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,s.t)("Find Page"),devices:"desktop",disabled:!T,config:{postType:T}}]},{id:"external",label:(0,s.t)("URL"),options:[(0,f.toolbarLinkExternal)({v:t,device:o,config:n.context.dynamicContent.config,devices:"desktop",state:"normal"}),{id:"linkExternalBlank",label:(0,s.t)("Open In New Tab"),type:"switch-dev",devices:"desktop"},{id:"linkExternalRel",label:(0,s.t)("Make it Nofollow"),type:"switch-dev",devices:"desktop"}]},{id:"anchor",label:(0,s.t)("Block"),options:[(0,f.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal",disabled:h})]},{id:"popup",label:(0,s.t)("Popup"),options:[(0,f.toolbarLinkPopup)({v:t,component:n,state:"normal",device:"desktop",canDelete:"desktop"===o,disabled:"desktop"===o?v||S||h:"popup"!==b("linkType")||""===b("linkPopup")})]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,s.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,s.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,s.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,s.t)("Align"),value:"justify"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,s.t)("More Settings"),position:110,title:(0,s.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},37913:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=g(o(60042)),n=g(o(27378)),i=o(39552),a=o(66848),l=g(o(24072)),s=g(o(49127)),c=g(o(67439)),d=g(o(10787)),u=o(55824),p=o(9644),f=o(46479),m=g(o(78934)),y=o(4922);function g(e){return e&&e.__esModule?e:{default:e}}class h extends d.default{static get componentId(){return"Posts.Items"}static defaultProps={className:"",showPagination:!1,toolbarExtendPagination:{},showFilter:!1,filterStyle:"",toolbarExtendFilter:{},loopAttributes:{},meta:{}};getItemProps(){return{meta:this.props.meta}}getLoopAttributesString(){return(0,y.stringifyAttributes)(this.props.loopAttributes)}getLoopTagsAttributesString(){return(0,y.stringifyAttributes)(this.props.loopTagsAttributes)}getLoopItemFilter(){const{loopTagsAttributes:e,showFilter:t}=this.props;if(e&&t)return(0,p.makePlaceholder)({content:"{{brizy_dc_post_terms}}",attr:{taxonomy:e.tax}})}handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};renderItemWrapper(e,t,o){const r=(0,m.default)(o);return n.default.createElement(i.ContextMenuExtend,{key:t,...this.makeContextMenuProps(r)},n.default.createElement(l.default,{keyNames:["alt+C","alt+shift+V","shift+alt+V"],shortcutsTypes:["copy","pasteStyles"],id:t,onKeyDown:this.handleKeyDown},n.default.createElement("div",{className:"brz-posts__item","data-filter":this.getLoopItemFilter()},e)))}renderTagsForEdit(){const{toolbarExtendFilter:e,filterStyle:t,allTag:o,data:i,handleAllTagChange:l}=this.props,{tags:s=[]}=i,d=[{name:o},...s],u=(0,r.default)("brz-ul brz-posts__filter",`brz-posts__filter--${t}`);return d.length>1&&n.default.createElement("div",{className:"brz-posts__filter-wrapper"},n.default.createElement("ul",{className:u},d.map(((i,s)=>{const d=(0,r.default)("brz-li brz-posts__filter__item",`brz-posts__filter__item--${t}`,{"brz-posts-filter__item--active":0===s});return n.default.createElement(c.default,{key:s,...e},n.default.createElement("li",{className:d},i.name===o?n.default.createElement(a.TextEditor,{value:o,onChange:l}):i.name))}))))}renderPaginationForEdit(){return n.default.createElement(c.default,this.props.toolbarExtendPagination,n.default.createElement("div",{className:"brz-posts__pagination"},n.default.createElement("ul",{className:"page-numbers"},n.default.createElement("li",null,n.default.createElement("span",{className:"page-numbers current"},"1")),n.default.createElement("li",null,n.default.createElement("a",{className:"page-numbers",href:"#"},"2")),n.default.createElement("li",null,n.default.createElement("a",{className:"page-numbers",href:"#"},"3")),n.default.createElement("li",null,n.default.createElement("a",{className:"page-numbers",href:"#"},"...")),n.default.createElement("li",null,n.default.createElement("a",{className:"page-numbers",href:"#"},"10")),n.default.createElement("li",null,n.default.createElement("a",{className:"page-numbers",href:"#"},"11")))))}renderForEdit(e){const{className:t,showFilter:o,showPagination:r,data:i}=this.props,a=super.renderForEdit(e),l=i?.context.map((e=>n.default.createElement(u.EditorComponentContext.Provider,{key:e.dynamicContent.itemId,value:e},a)));return n.default.createElement(s.default,{path:this.getId(),type:"posts",acceptElements:this.handleSortableAcceptElements},n.default.createElement("div",{className:t},o&&this.renderTagsForEdit(),n.default.createElement("div",{className:"brz-posts__wrapper"},l),r&&this.renderPaginationForEdit()))}renderForView(e){return f.IS_WP?this.renderForViewWP(e):this.renderForViewCloud(e)}renderForViewWP(e){const{type:t,className:o,style:r,showPagination:i,showFilter:a}=this.props,l=e.map(this.renderItem),s=(0,y.getLoopName)(t),c=this.getLoopAttributesString(),d=(0,p.makeStartPlaceholder)({content:`{{${s}}}`,attrStr:c}),u=(0,p.makeEndPlaceholder)({content:`{{end_${s}}}`}),f=a?(0,p.makePlaceholder)({content:"{{brizy_dc_post_loop_tags}}",attrStr:this.getLoopTagsAttributesString()}):void 0,m=i?(0,p.makePlaceholder)({content:"{{brizy_dc_post_loop_pagination}}",attrStr:c}):void 0;return n.default.createElement("div",{className:o,style:r},f,n.default.createElement("div",{className:"brz-posts__wrapper"},d,super.renderItemsContainer(l),u),m)}renderForViewCloud(e){const{className:t,style:o,showPagination:r}=this.props,i=e.map(this.renderItem),a=this.getLoopAttributesString(),l=(0,p.makeStartPlaceholder)({content:"{{brizy_dc_post_loop}}",attrStr:a}),s=(0,p.makeEndPlaceholder)({content:"{{end_brizy_dc_post_loop}}"}),c=r?(0,p.makePlaceholder)({content:"{{brizy_dc_post_loop_pagination}}",attrStr:a}):void 0;return n.default.createElement("div",{className:t,style:o},n.default.createElement("div",{className:"brz-posts__wrapper"},l,super.renderItemsContainer(i),s),c)}}},66979:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Posts"),icon:"nc-posts",disabled:(e,t)=>t.isInSubMenu,items:[]}]}}},78934:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(16957),n=o(64985),i="MacOS"===(0,r.detectOS)(),a=e=>i?e?"alt":"⌘":e?"alt":"ctrl",l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const r=o.getCurrentCopiedElement(),i=r&&"Row"!==r.type;return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,n.t)("Copy"),helperText:e=>{let{isInSubMenu:t}=e;return a(t)+" + C"},onChange:()=>o.copy(e)},{id:"pasteStyles",type:"button",title:(0,n.t)("Paste Styles"),helperText:e=>{let{isInSubMenu:t}=e;return a(t)+" + ⇧ + V"},inactive:!i,onChange:()=>o.pasteStyles(e)}]}]}},49953:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Posts:function(){return V},default:function(){return G}});const r=A(o(60042)),n=A(o(27378)),i=o(34143),a=o(11717),l=o(10301),s=o(61898),c=A(o(39552)),d=A(o(36275)),u=A(o(33364)),p=A(o(53125)),f=A(o(63692)),m=o(42582),y=o(53002),g=A(o(22546)),h=o(13662),b=o(62762),v=o(39191),S=o(97045),w=o(64187),x=o(94220),P=o(9644),C=o(69321),T=W(o(13992)),_=A(o(37913)),k=A(o(66979)),M=A(o(98267)),O=o(94682),E=W(o(10407)),B=W(o(53158)),z=W(o(89612)),I=o(63572),j=W(o(84855)),L=W(o(80606)),F=A(o(62901)),N=o(43050),D=o(53169),R=o(4922);function A(e){return e&&e.__esModule?e:{default:e}}function H(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(H=function(e){return e?o:t})(e)}function W(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=H(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class V extends f.default{static get componentId(){return"Posts"}static defaultValue=M.default;handleAllTagChange=e=>{this.patchValue({allTag:e})};static defaultProps={extendParentToolbar:l.noop};state={dataLoading:!1,data:void 0};unmounted=!1;subject$;constructor(e){super(e),this.subject$=(new i.Subject).pipe((0,a.debounceTime)(1e3),(0,a.distinctUntilChanged)(),(0,a.tap)((()=>this.setState({dataLoading:!0}))),(0,a.switchMap)((e=>{const{loop:t,loopTags:o}=JSON.parse(e),r=[],n=this.getValue(),a=(0,R.getLoopName)(n.type);if(t){const e=(0,P.makePlaceholder)({content:`{{${a}}}`,attrStr:t}),o=(0,P.makePlaceholder)({content:"{{brizy_dc_post_loop_pagination}}",attrStr:t});r.push(e,o)}if(o){const e=(0,P.makePlaceholder)({content:"{{brizy_dc_post_loop_tags}}",attrStr:o});r.push(e)}return(0,i.from)(m.DCApiProxyInstance.getDC(r,{postId:(0,s.getCurrentPageId)(),cache:!1}).then((e=>{const[t,o,r]=e||[];return{loop:T.read(t),pagination:T.read(o),tags:T.read(r)}})))}))),this.subject$.subscribe((e=>{let{loop:t,pagination:o,tags:r}=e;if(!this.unmounted){const{collection:e=[],config:n={}}=t||{},i=e.map((e=>({dynamicContent:{itemId:e,config:(n[e]||n["*"])?.dynamicContent?.groups||{image:[],link:[],richText:[]}}})));this.setState({dataLoading:!1,data:{context:i,tags:r??[],paginationInfo:o??{itemsPerPage:0,totalCount:0}}})}}))}async componentDidMount(){this.reloadData();const e=g.default.getAll(),t=await(async()=>{try{const t=this.getReduxState(),o=(0,S.pageSelector)(t);return(0,b.isCollectionPage)(o)?{collectionTypesInfo:await(0,w.getPostsSourceRefs)(o.collectionType.id)}:(0,b.isCloud)(e)&&((0,h.isCustomerPage)(e.page)||(0,b.isShopifyPage)(o))?{collectionTypesInfo:await(0,w.getPostsSourceRefs)(o.id)}:{collectionTypesInfo:{collectionTypes:[],refsById:{}}}}catch(e){return void console.error(e)}})(),o=(0,F.default)(t),r=this.makeToolbarPropsFromConfig2(o,z,{allowExtend:!1});this.props.extendParentToolbar(r);const n=t?.collectionTypesInfo?.collectionTypes[0]?.id;n&&!this.getValue2().v.source&&this.patchValue({source:n})}componentDidUpdate(){this.reloadData()}componentWillUnmount(){this.unmounted=!0,this.subject$?.complete(),this.subject$=void 0}reloadData(){const e=this.getValue(),t={loop:(0,R.stringifyAttributes)(Object.assign({content_type:"json"},(0,D.getLoopAttributes)(e)))};if((0,v.isWp)(g.default.getAll())){const o=(0,D.getLoopTagsAttributes)(e);o&&(t.loopTags=(0,R.stringifyAttributes)(Object.assign({content_type:"json"},o)))}this.subject$?.next(JSON.stringify(t))}handleValueChange(e,t){void 0!==t.patch.source?super.handleValueChange((0,R.encodeSymbols)({...e,tagsSource:""}),t):super.handleValueChange((0,R.encodeSymbols)(e),t)}getValue2(){const e=super.getValue2(),t=(0,R.decodeSymbols)(e.v);return t===e.v?e:Object.assign(e,{v:t})}getMeta(e){const{meta:t}=this.props,{gridColumn:o,padding:r,tabletGridColumn:n}=e,i=t.desktopW/o,a=t.desktopWNoSpacing/o,l=t.tabletW/n,s=t.tabletWNoSpacing/n,c=(0,C.tabletSyncOnChange)(e,"padding");return{...t,desktopW:Math.round(10*(i-r))/10,desktopWNoSpacing:a,tabletW:Math.round(10*(l-c))/10,tabletWNoSpacing:s,inGrid:!1,posts:!0}}renderForEdit(e,t,o){const{data:i,dataLoading:a}=this.state;if(void 0===i)return n.default.createElement(p.default,{icon:"posts",style:{height:"300px"}});const{type:l,pagination:s,filter:f,filterStyle:m,allTag:y,masonryFilter:g}=e,h=(0,r.default)("brz-posts",{"brz-posts--masonry":"on"===f&&"on"===g},(0,x.css)(this.getComponentId(),this.getId(),(0,I.style)(e,t,o))),b=this.makeSubcomponentProps({allTag:y,handleAllTagChange:this.handleAllTagChange,bindWithKey:"items",className:h,type:l,data:i,filterStyle:m,meta:this.getMeta(e),showPagination:"on"===s,showFilter:"on"===f,toolbarExtendPagination:this.makeToolbarPropsFromConfig2(L,B,{allowExtend:!1}),toolbarExtendFilter:this.makeToolbarPropsFromConfig2(j,E,{allowExtend:!1})});return n.default.createElement(n.default.Fragment,null,n.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(c.default,this.makeContextMenuProps(k.default),n.default.createElement(_.default,b))),a&&n.default.createElement("div",{className:"brz-ed-portal__loading"},n.default.createElement(u.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}renderForView(e,t,o){const{type:i,pagination:a,filter:l,masonryFilter:s}=e,u=(0,r.default)("brz-posts",{"brz-posts--masonry":"on"===l&&"on"===s},(0,x.css)(this.getComponentId(),this.getId(),(0,I.style)(e,t,o))),p=(0,D.getLoopTagsAttributes)(e),f=this.makeSubcomponentProps({type:i,className:u,handleAllTagChange:this.handleAllTagChange,bindWithKey:"items",meta:this.getMeta(e),showPagination:"on"===a,showFilter:"on"===l&&p,loopAttributes:(0,D.getLoopAttributes)(e),loopTagsAttributes:p});return n.default.createElement(d.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(c.default,this.makeContextMenuProps(k.default),n.default.createElement(_.default,f)))}}const G=(0,y.withMigrations)(V,O.migrations,{getValue:async()=>(0,b.isCloud)(g.default.getAll())?await(0,N.getCollectionTypesInfo)():Promise.resolve(void 0)})},76755:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"m2",{enumerable:!0,get:function(){return y}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=o(92636),a=u(o(31786)),l=u(o(48630)),s=u(o(63300)),c=u(o(55538));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}function p(e,t){if(l.hasKey("taxonomy",e)&&l.hasKey("taxonomyId",e)){const o=s.read(e.taxonomy),r=s.read(e.taxonomyId);if(o&&r)return{[`${t}_incBy`]:'["term"]',[`${t}_inc_term`]:`["${o}:${r}"]`}}}function f(e){if(l.hasKey("orderBy",e)){const t=s.read(e.orderBy)||"id";return"ID"===t?"id":t}}function m(e){if(l.hasKey("order",e))return(c.readWithChoices(["ASC","asc","DESC","desc"])(e.order)??"ASC").toUpperCase()}const y={version:2,cb(e){if(!l.isObject(e))throw new Error(`Posts migration 2 input failed ${e}`);const t=function(e){let t="posts";if(l.hasKey("type",e)){const o=c.readWithChoices(["posts","archives","products","archives-product","upsell"])(e.type);o&&(t=o)}else if(l.hasKey("_styles",e)){const o=a.readWithItemReader(s.read)(e._styles)??[];o.includes("posts--archives")||o.includes("posts--archive")||o.includes("posts-archives")||o.includes("posts-archive")?t="archives":o.includes("posts--archives-product")&&(t="archives-product")}return t}(e);let o;switch(t){case"posts":{const r="post";o={type:t,source:r,_styles:["posts","posts-posts"],orderBy:f(e),order:m(e),symbols:p(e,r)};break}case"archives":o={type:t,source:void 0,_styles:["posts","posts-archive"],orderBy:"id",order:"DESC",symbols:void 0};break;case"products":{const r="product";o={type:t,source:r,_styles:["posts","posts-products"],orderBy:f(e),order:m(e),symbols:p(e,r)};break}case"archives-product":o={type:t,source:void 0,_styles:["posts","posts-productArchive"],orderBy:"id",order:"DESC",symbols:void 0};break;case"upsell":o={type:t,source:void 0,_styles:["posts","posts-upsell"],orderBy:"id",order:"DESC",symbols:void 0};break;default:!function(e){throw new Error("Didn't expect to get here")}()}return function(e){const t=Object.entries(e).filter((e=>{let[t,o]=e;return void 0!==o}));return(0,i.objectFromEntries)(t)}({...r.default.omit(e,"taxonomy","taxonomyId","orderBy","order"),...o})}}},87299:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"m3",{enumerable:!0,get:function(){return f}});const r=(n=o(13556))&&n.__esModule?n:{default:n};var n;const i=o(92636),a=u(o(48630)),l=u(o(63300)),s=u(o(95945)),c=o(43050);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(d=function(e){return e?o:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=d(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}function p(e,t,o){const n=e.symbols;if(a.isObject(n)){const e=n[`${t}_incBy`];if(l.is(e)){let i=n;try{const s=[];JSON.parse(e).forEach((e=>{const d=`${t}_inc_${e}`,u=n[d],p=o.refsById[t]?.find((t=>t.id===e));if(p?.fieldId?s.push((0,c.createFieldCollectionId)(e,p.fieldId)):s.push(e),l.is(u)&&p?.fieldId)try{const o=JSON.parse(u).map((e=>(0,c.createFieldCollectionId)(e,p.fieldId)));i=(0,r.default)(i,(r=>{a.isObject(r)&&(delete r[d],r[`${t}_inc_${(0,c.createFieldCollectionId)(e,p.fieldId)}`]=JSON.stringify(o))}))}catch(e){}})),s.length&&(i=(0,r.default)(i,(e=>{a.isObject(e)&&(e[`${t}_incBy`]=JSON.stringify(s))})))}catch(e){}return i}}}const f={version:3,cb(e,t){if(!a.isObject(e))throw new Error(`Posts migration 3 input failed ${e}`);let o;return t&&l.is(e.source)&&s.is(e.source)&&(o={symbols:p(e,e.source,t)}),function(e){const t=Object.entries(e).filter((e=>{let[t,o]=e;return void 0!==o}));return(0,i.objectFromEntries)(t)}({...e,...o})}}},94682:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"migrations",{enumerable:!0,get:function(){return i}});const r=o(76755),n=o(87299),i=[r.m2,n.m3]},10407:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),n=o(69321),i=e=>{let{v:t,device:o}=e;switch("type",(0,n.defaultValueValue)({v:t,key:"type",device:o})){case"posts":default:return(0,r.t)("Posts Tags");case"relatedProducts":return(0,r.t)("Related Products Tags");case"upsell":return(0,r.t)("Upsell Tags");case"products":return(0,r.t)("Products Tags");case"categories":return(0,r.t)("Categories Tags")}};function a(){return[{id:"filterPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}},{id:"filterBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}},53158:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),n=o(69321),i=e=>{let{v:t,device:o}=e;switch("type",(0,n.defaultValueValue)({v:t,key:"type",device:o})){case"posts":default:return(0,r.t)("Posts Pagination");case"relatedProducts":return(0,r.t)("Related Products Pagination");case"upsell":return(0,r.t)("Upsell Pagination");case"products":return(0,r.t)("Products Pagination");case"categories":return(0,r.t)("Categories Pagination")}};function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"paginationBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]}]}]}]}]}},89612:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return l}});const r=o(64985),n=o(69321),i=e=>{let{v:t,device:o}=e;const i=("type",(0,n.defaultValueValue)({v:t,key:"type",device:o}));switch(i){case"posts":return(0,r.t)("Posts");case"archives":case"archives-product":return(0,r.t)("Archive");case"products":return(0,r.t)("Products");case"upsell":return(0,r.t)("Upsell");default:throw new Error(`unknown Posts type ${i}`)}},a='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function l(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling"},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:a},placeholder:"element { CSS goes here }"}]}]}]}]}]}},63572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-posts__wrapper > .brz-posts__item":{standart:["cssStyleElementPostsItemWidth","cssStyleElementPostsItemSpacing"]},".brz && .brz-posts__filter-wrapper":{standart:["cssStyleElementPostsFilterDisplay","cssStyleElementPostsFilterHorizontalAlign","cssStyleElementPostsFilterAfterSpacing"]},".brz && .brz-posts__filter__item":{standart:["cssStyleElementPostsFilterSpacing","cssStyleElementPostsFilterFontFamily","cssStyleElementPostsFilterFontSize","cssStyleElementPostsFilterLineHeight","cssStyleElementPostsFilterFontWeight","cssStyleElementPostsFilterLetterSpacing"]},".brz && .brz-posts__filter__item--style-1:hover":{standart:["cssStyleElementPostsFilterPaddingFourFields"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-posts__filter__item--style-1.brz-posts-filter__item--active":{standart:["cssStyleElementPostsFilterActiveColor","cssStyleElementPostsFilterActiveBgColor","cssStyleElementPostsFilterActiveBorder","cssStyleElementPostsFilterActiveShadow"]},".brz && .brz-posts__filter__item--style-1:not(.brz-posts-filter__item--active):hover":{standart:["cssStyleElementPostsFilterBgColor","cssStyleElementPostsFilterBorder","cssStyleElementPostsFilterShadow","cssStyleElementPostsFilterColor","cssStyleElementPostsFilterBorderRadius"]},".brz && .brz-posts__filter--style-2:hover":{standart:["cssStyleElementPostsFilterPaddingFourFields"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-posts__filter__item--style-2.brz-posts-filter__item--active":{standart:["cssStyleElementPostsFilterActiveColor"]},".brz && .brz-posts__filter__item--style-2:not(.brz-posts-filter__item--active):hover":{standart:["cssStyleElementPostsFilterColor"]},".brz && .brz-posts__filter--style-2:not(.brz-posts-filter__item--active):hover":{standart:["cssStyleElementPostsFilterBgColor","cssStyleElementPostsFilterBorder","cssStyleElementPostsFilterBorderRadius","cssStyleElementPostsFilterShadow","cssStyleDisplayInlineFlex"]},".brz && .brz-posts__pagination ul.page-numbers":{standart:["cssStyleElementPostsPaginationSpacing"]},".brz && .brz-posts__pagination ul.page-numbers .page-numbers:hover":{standart:["cssStyleElementPostsPaginationFontFamily","cssStyleElementPostsPaginationFontSize","cssStyleElementPostsPaginationLineHeight","cssStyleElementPostsPaginationFontWeight","cssStyleElementPostsPaginationLetterSpacing","cssStyleElementPostsPaginationBorderRadius"]},".brz && .brz-posts__pagination ul.page-numbers li:hover .page-numbers:not(.current)":{standart:["cssStyleElementPostsPaginationBgColor","cssStyleElementPostsPaginationBorder","cssStyleElementPostsPaginationColor"]},".brz && .brz-posts__pagination ul.page-numbers .page-numbers.current:hover":{standart:["cssStyleElementPostsPaginationActiveColor","cssStyleElementPostsPaginationActiveBgColor","cssStyleElementPostsPaginationActiveBorder"]}}})}},84855:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarFilter",type:"popover-dev",config:{icon:"nc-tags",title:(0,n.t)("Tags")},roles:["admin"],position:60,options:[{id:"filterStyle",type:"radioGroup-dev",label:(0,n.t)("Style"),devices:"desktop",choices:[{value:"style-1",icon:"nc-tags-style-2"},{value:"style-2",icon:"nc-tags-style-1"}]},{id:"filterSpacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"afterFilterSpacing",type:"slider-dev",label:(0,n.t)("Content Gap"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",title:(0,n.t)("Typography"),size:"desktop"===o?"large":"auto"},roles:["admin"],position:70,options:[{id:"filter",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,n.t)("Colors"),size:"auto",icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},devices:"desktop",roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"filterBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"filterColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"filterBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"filterBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"filterHorizontalAlign",type:"toggle-dev",devices:"desktop",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",roles:["admin"],position:110,devices:"desktop",title:(0,n.t)("Settings")}]}},80606:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(81405),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("paginationColorHex"),s("paginationColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",position:70,roles:["admin"],config:{title:(0,r.t)("Typography"),size:"desktop"===o?"large":"auto",icon:"nc-font"},options:[{id:"pagination",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{title:(0,r.t)("Colors"),size:"auto",icon:{style:{backgroundColor:(0,n.hexToRgba)(c,s("paginationColorOpacity"))}}},devices:"desktop",roles:["admin"],position:80,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,r.t)("Background"),options:[{id:"paginationBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,r.t)("Text"),options:[{id:"paginationColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,r.t)("Border"),options:[{id:"paginationBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",position:110,roles:["admin"],devices:"desktop",title:(0,r.t)("Settings")}]}},62901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});const r=o(64985),n=o(69321),i=o(73014),a=o(65249),l=o(9622),s=e=>t=>{let{v:o,device:n}=t;const{icon:s,title:u}=c(o),p=d(o,n),f=(0,i.tabFilter)(o,e),m=function(e){if(!["posts","products","archives","archives-product"].includes(e.type))return;const t=(0,a.tagsFilter)(e);return{id:"navigation",label:(0,r.t)("Navigation"),options:[...t,{id:"groupPagination",type:"group-dev",devices:"desktop",options:[{id:"pagination",label:(0,r.t)("Pagination"),type:"switch-dev",disabled:(0,l.disableNavigation)(e)},{id:"paginationSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",disabled:"on"!==e.pagination,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}}(o);return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"popoverCurrentElement",type:"popover-dev",config:{icon:s,title:u},roles:["admin"],position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[...p?[p]:[],...f?[f]:[],...m?[m]:[]]}]}]},c=e=>{switch(e.type){case"posts":return{title:(0,r.t)("Posts"),icon:"nc-wp-posts"};case"archives":case"archives-product":return{title:(0,r.t)("Archive"),icon:"nc-archives"};case"products":return{title:(0,r.t)("Products"),icon:"nc-woo-products"};case"upsell":return{title:(0,r.t)("Upsell"),icon:"nc-woo-upsell"};default:throw new Error(`unknown Posts type: ${e.type}`)}},d=(e,t)=>{const{title:o}=c(e),i=o=>(0,n.defaultValueValue)({key:o,v:e,device:t}),a="desktop"===t?6:Math.min(i("gridColumn")*i("gridRow"),6);return{id:"posts",label:o,options:[{id:"gridColumn",type:"slider-dev",label:(0,r.t)("Columns"),devices:"desktop",config:{min:1,max:a,inputMin:1,inputMax:a,step:1}},{id:"gridRow",type:"slider-dev",label:(0,r.t)("Rows"),devices:"desktop",config:{min:1,max:15,step:1,inputMin:1,inputMax:50}},{id:"padding",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}},u=e=>({getItems:s(e)})},73014:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"tabFilter",{enumerable:!0,get:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(4922),l=o(43050);function s(e){const t="posts"===e.type,o="archives"===e.type,n="products"===e.type,l="archives-product"===e.type;if(!(t||o||n||l))return;const s=(0,a.decodeV)(e),d=s.source===a.CURRENT_CONTEXT_TYPE,u=function(e){const t=r.default.getAll(),o="posts"===e.type;let n=[];return o&&(n=(t.wp.postLoopSources??[]).map((e=>{let{label:t,name:o}=e;return{title:t,value:o}}))),{id:"source",type:"select-dev",label:(0,i.t)("Source"),devices:"desktop",choices:n,disabled:!o}}(s);return{id:"filter",label:"Filter",options:[u,c("include",s,!t&&!n||d),c("exclude",s,!t&&!n||d),{id:"offset",label:(0,i.t)("Offset"),type:"number-dev",devices:"desktop"},{id:"orderBy",type:"select-dev",label:(0,i.t)("Order By"),devices:"desktop",choices:[{title:(0,i.t)("ID"),value:"id"},{title:(0,i.t)("Title"),value:"title"},{title:(0,i.t)("Date"),value:"date"},{title:(0,i.t)("Random"),value:"rand"},{title:(0,i.t)("Comment Count"),value:"comment_count"}]},{id:"order",type:"radioGroup-dev",label:(0,i.t)("Order"),devices:"desktop",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]}}function c(e,t,o){const r="include"===e,n=r?"inc":"exc",a=t.source,s=[{id:"term",title:(0,i.t)("Category"),load:l.termsLoad,search:l.termsSearch},{id:"author",title:(0,i.t)("Author"),load:l.authorsLoad,search:l.authorsSearch},{id:"manual",title:(0,i.t)("Manual"),load:(0,l.manualLoad)([a],[]),search:(0,l.manualSearch)([a],[])}],c=r?(0,i.t)("All"):(0,i.t)("None"),d={id:`symbol_${a}_${n}By`,type:"multiSelect-dev",label:r?(0,i.t)("Include by"):(0,i.t)("Exclude by"),devices:"desktop",placeholder:c,choices:s.map((e=>({value:e.id,title:e.title})))},u=s.filter((e=>t.symbols[`${a}_${n}By`]?.includes(e.id))).map((e=>({id:`symbol_${a}_${n}_${e.id}`,label:e.title,type:"multiSelect-dev",devices:"desktop",placeholder:c,choices:{load:e.load,search:e.search}})));return{id:`${n}By-group`,type:"group-dev",options:[d,...u],disabled:o}}},65249:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"tagsFilter",{enumerable:!0,get:function(){return a}});const r=o(64985),n=o(4922),i=o(43050);function a(e){const t=(0,n.decodeV)(e),o=t.source,a="off"===e.filter;return[{id:"filter-group",type:"group-dev",disabled:!["posts","products"].includes(t.type),options:[{id:"filter",type:"switch-dev",label:(0,r.t)("Tags"),devices:"desktop"},{id:"tagsSource",type:"select-dev",label:(0,r.t)("Source"),devices:"desktop",disabled:a,placeholder:(0,r.t)("Select tags"),choices:{load:(0,i.tagsFilterLoad)(o),emptyLoad:{title:(0,r.t)("Don't have tags")}}},{id:"masonryFilter",type:"switch-dev",label:(0,r.t)("Masonry Arrangement"),devices:"desktop",disabled:a}]}]}},9622:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"disableNavigation",{enumerable:!0,get:function(){return i}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=n(t);if(o&&o.has(e))return o.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=i?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(63300));function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(n=function(e){return e?o:t})(e)}const i=e=>{const{source:t}=e,o=`symbol_${t}_incBy`,n=r.read(e[o])??"{}";let i;try{const e=JSON.parse(n);Array.isArray(e)&&(i=e[0])}catch(e){}if(void 0===i||Array.isArray(i)&&0===i.length)switch(t){case"shopify-collection":case"shopify-blog":return!0}switch(t){case"shopify-product":switch(i){case"related":case"shopify-collection":return!1;case"manual":return!0}return!1;case"shopify-article":return!1;case"shopify-collection":case"shopify-page":case"shopify-blog":return!0}return!1}},43050:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{authorsLoad:function(){return n},authorsSearch:function(){return i},termsLoad:function(){return a},termsSearch:function(){return l},manualLoad:function(){return s},manualSearch:function(){return c},postsManualLoad:function(){return d},postsManualSearch:function(){return u},productsManualLoad:function(){return p},productsManualSearch:function(){return f},tagsFilterLoad:function(){return m},createFieldCollectionId:function(){return y}});const r=o(64187);async function n(e,t){try{const o=e.map((e=>`${e}`));return(await(0,r.getAuthors)({include:o,abortSignal:t})).map((e=>{let{ID:t,display_name:o}=e;return{title:o,value:String(t)}}))}catch(e){return[]}}async function i(e,t){try{return(await(0,r.getAuthors)({search:e,abortSignal:t})).map((e=>{let{ID:t,display_name:o}=e;return{title:o,value:String(t)}}))}catch(e){return[]}}async function a(e,t){const o=e.map((e=>(":",`${e}`.split(":").map((e=>e.trim())))));try{return(await(0,r.getTermsBy)({include:o,abortSignal:t})).map((e=>{let{term_id:t,name:o,taxonomy:r,taxonomy_name:n}=e;return{title:`${o} (${n})`,value:r+":"+t}}))}catch(e){return[]}}async function l(e,t){try{return(await(0,r.getTermsBy)({search:e,abortSignal:t})).map((e=>{let{term_id:t,name:o,taxonomy:r,taxonomy_name:n}=e;return{title:`${o} (${n})`,value:r+":"+t}}))}catch(e){return[]}}const s=(e,t)=>async(o,n)=>{try{const i=o.map((e=>`${e}`));return(await(0,r.getPosts)({include:i,abortSignal:n,postType:e,excludePostType:t})).map((e=>{let{ID:t,title:o}=e;return{title:o,value:String(t)}}))}catch(e){return[]}},c=(e,t)=>async(o,n)=>{try{return(await(0,r.getPosts)({search:o,abortSignal:n,postType:e,excludePostType:t})).map((e=>{let{ID:t,title:o}=e;return{title:o,value:String(t)}}))}catch(e){return[]}},d=s([],["product"]),u=c([],["product"]),p=s(["product"],[]),f=c(["product"],[]),m=e=>async t=>{try{return(await(0,r.getPostTaxonomies)({taxonomy:e,abortSignal:t})).filter((e=>e.public&&"post_format"!==e.name)).map((e=>{let{name:t,labels:o}=e;return{title:`${o.name}`,value:t}}))}catch(e){return[]}},y=()=>""},4922:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{stringifyAttributes:function(){return y},decodeV:function(){return v},decodeSymbols:function(){return S},encodeSymbols:function(){return w},CURRENT_CONTEXT_TYPE:function(){return x},getLoopName:function(){return P}});const r=(n=o(13556))&&n.__esModule?n:{default:n};var n;const i=o(78650),a=o(92636),l=m(o(31786)),s=m(o(13992)),c=m(o(4645)),d=m(o(48630)),u=m(o(63300)),p=o(22741);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}function y(e){return Object.entries(e).map(g).filter(p.isT).join(" ")}function g(e){let[t,o]=e;if(null!=o){if("string"==typeof o||"number"==typeof o)return`${t}='${o}'`;if(Array.isArray(o)&&o.length>0)return`${t}='${o.join(",")}'`;{const e=Object.entries(o).map(h).filter((e=>e.length>0)).join("&");return e.length>0?`${t}='${e}'`:void 0}}}function h(e){let[t,o]=e;if(null==o)return"";if("string"==typeof o||"number"==typeof o)return`${t}=${o}`;if(Array.isArray(o)||"object"==typeof o)return Object.entries(o).map((e=>{let[o,r]=e;return h([`${t}[${o}]`,r])})).filter((e=>e.length>0)).join("&");throw new Error("can't stringify v: "+o)}const b=(0,i.mPipe)(s.read,l.readWithItemReader(u.read));function v(e){const{type:t,gridRow:o,gridColumn:r,source:n,querySource:i,offset:a,orderBy:l,order:s,symbols:p,excludeCurrentProduct:f,excludeCurrentProductOption:m}=e;return{type:u.read(t)??"",gridRow:c.read(o)??1,gridColumn:c.read(r)??1,source:u.read(n)??"",querySource:u.read(i)??"",offset:c.read(a)??0,orderBy:u.read(l)??"",order:u.read(s)??"",symbols:d.readWithValueReader(b)(p)??{},..."on"===f?{excludeCurrentProduct:f}:{},...m?{excludeCurrentProductOption:m}:{}}}function S(e){const t=e.symbols;return t&&Object.keys(t).length>0?{...e,...(0,a.objectFromEntries)(Object.entries(t).map((e=>{let[t,o]=e;return[`symbol_${t}`,o]})))}:e}function w(e){return(0,r.default)(e,(e=>{for(const[t,o]of Object.entries(e))t.startsWith("symbol_")&&(e.symbols=e.symbols||{},e.symbols[t.replace("symbol_","")]=u.read(o),delete e[t])}))}const x="brz_current_context";function P(e){switch(e){case"upsell":return"editor_product_upsells";case"archives":case"archives-product":case"products":case"posts":return"brizy_dc_post_loop"}}},53169:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getLoopAttributes:function(){return m},getLoopTagsAttributes:function(){return y}});const r=o(10301),n=c(o(55538)),i=c(o(6085)),a=o(22741),l=o(4922);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}function d(e){return e.map((e=>{const[t,o]=e.split(":");return void 0!==t&&""!==t&&void 0!==o&&""!==o?[t,o]:void 0})).filter(a.isT)}function u(e){return"id"===e?"ID":e}function p(e){const{gridRow:t,gridColumn:o,type:n,source:i,offset:a,orderBy:s,order:c,symbols:p}=(0,l.decodeV)(e),f={post_status:"publish",post_type:"products"===n?"product":i,posts_per_page:0!==t&&0!==o?t*o:-1,ignore_sticky_posts:1},m=p[`${i}_excBy`]??[],y=p[`${i}_exc_manual`]??[],g=p[`${i}_exc_author`]??[],h=p[`${i}_exc_term`]??[],b=p[`${i}_incBy`]??[],v=p[`${i}_inc_manual`]??[],S=m.includes("manual")?(0,r.difference)(v,y):v,w=p[`${i}_inc_author`]??[],x=m.includes("author")?(0,r.difference)(w,g):w,P=p[`${i}_inc_term`]??[],C=m.includes("term")?(0,r.difference)(P,h):P;b.includes("manual")&&S.length>0&&(f.post__in=S),m.includes("manual")&&y.length>0&&(f.post__not_in=y),b.includes("author")&&x.length>0&&(f.author__in=x),m.includes("author")&&g.length>0&&(f.author__not_in=g);const T=b.includes("term")&&C.length>0,_=m.includes("term")&&h.length>0;if(T||_){let e,t;if(T){e={relation:"OR"};let t=0;for(const[o,r]of d(C))e[t++]={taxonomy:o,field:"term_id",terms:r}}if(_){t={relation:"AND"};let e=0;for(const[o,r]of d(h))t[e++]={taxonomy:o,field:"term_id",terms:r,operator:"NOT IN"}}e&&t?f.tax_query={relation:"AND",0:e,1:t}:e&&!t?f.tax_query=[e]:!e&&t&&(f.tax_query=[t])}s&&(f.orderby=u(s)),c&&(f.order=c);const k={query:f};return a>0&&(k.offset=a),k}function f(e){const{gridRow:t,gridColumn:o,orderBy:r,order:i,offset:a}=(0,l.decodeV)(e),s={count:0!==t&&0!==o?t*o:-1,orderby:u(r||"id"),order:n.readWithChoices(["ASC","DESC"])(i)??"DESC"};return a>0&&(s.offset=a),s}function m(e){if(e.source===l.CURRENT_CONTEXT_TYPE)return f(e);switch(e.type){case"archives":case"archives-product":case"upsell":return f(e);default:return p(e)}}function y(e){const{tagsSource:t,filterStyle:o,type:r,allTag:n}=e,a=i.toString(t),l=i.toString(n)??"";if(a&&("posts"===r||"products"===r))return{tax:a,allTag:l,ulClassName:`brz-posts__filter--${o}`,liClassName:`brz-posts__filter__item--${o}`,...p(e)}}},64068:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=h(o(60042)),n=o(42162),i=h(o(27378)),a=h(o(31440)),l=o(54668),s=h(o(36275)),c=h(o(67439)),d=h(o(63692)),u=o(94220),p=o(86022),f=h(o(72192)),m=v(o(46454)),y=o(60979),g=v(o(44548));function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const S=["centerLeft","centerRight"],w={width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}};class x extends d.default{static get componentId(){return"ProgressBar"}static defaultValue=f.default;static experimentalDynamicContent=!0;handleChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{className:d,customCSS:f,showText:h,percentage:b,showPercentage:v,progressBarStyle:x}=e,P="on"===v,C=(0,r.default)((0,u.css)(`${this.constructor.componentId}-bar`,`${this.getId()}-bar`,(0,y.styleBar)(e,t,o))),T=(0,r.default)(d,"brz-progress-bar",`brz-progress-bar-${x}`,{"brz-without-percent":"off"===v,"brz-without-text":"style1"===x&&"off"===h},(0,u.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,y.styleBg)(e,t,o))),_=i.default.createElement(l.Text,{id:"text",v:e,className:"brz-progress-bar__text",onChange:this.handleChange});return i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(g,m),i.default.createElement(s.default,{selectorName:this.getId(),css:f},i.default.createElement(p.Wrapper,this.makeWrapperProps({className:T,attributes:{"data-type":x}}),i.default.createElement(a.default,{points:S,restrictions:w,meta:this.props.meta,value:e,onChange:this.handleChange},"style1"===x?i.default.createElement(n.ProgressBar1,{text:_,className:C,showText:"on"===h,showPercentage:P,percentage:b}):i.default.createElement(n.ProgressBar2,{className:C,showPercentage:P,percentage:b})))))}renderForView(e,t,o){const{className:a,customCSS:c,showText:d,percentage:f,showPercentage:m,progressBarStyle:g}=e,h="on"===m,b=(0,r.default)((0,u.css)(`${this.constructor.componentId}-bar`,`${this.getId()}-bar`,(0,y.styleBar)(e,t,o))),v=(0,r.default)(a,"brz-progress-bar",`brz-progress-bar-${g}`,{"brz-without-percent":"off"===m,"brz-without-text":"style1"===g&&"off"===d},(0,u.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,y.styleBg)(e,t,o))),S=i.default.createElement(l.Text,{id:"text",v:e,className:"brz-progress-bar__text"});return i.default.createElement(s.default,{selectorName:this.getId(),css:c},i.default.createElement(p.Wrapper,this.makeWrapperProps({className:v,attributes:{"data-type":g}}),"style1"===g?i.default.createElement(n.ProgressBar1,{text:S,className:b,showText:"on"===d,showPercentage:h,percentage:f}):i.default.createElement(n.ProgressBar2,{className:b,showPercentage:h,percentage:f})))}}},46454:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return l},getItems:function(){return s}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526),l=(0,i.t)("Progress");function s(){const e=(0,a.isStory)(r.default.getAll());return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:e,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},60979:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleBg:function(){return n},styleBar:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style1":{standart:["cssStyleBg2Color","cssStyleBorderRadius","cssStyleSizeProgressBarStyle1Height"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style1::after":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style2 .brz-progress-bar-overlay":{standart:["cssStyleBg2Color","cssStyleBorderRadius","cssStyleSizeProgressBarStyle2Height"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style2 .brz-progress-bar-overlay::after":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-progress-bar__wrapper":{standart:["cssStyleBgColor","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover.brz-progress-bar-style2 .brz-progress-bar__percent":{standart:["cssStyleBgColor","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-progress-bar__text":{standart:["cssStyleLabelColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-progress-bar__percent":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeProgressBarMaxWidthPercent","cssStyleElementProgressBarPadding"]}}})}},44548:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=e=>{let{v:t,device:o,context:n}=e;const p=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),{hex:f}=(0,d.getOptionColorHexByPalette)(p("bgColorHex"),p("bgColorPalette")),m=p("progressBarStyle"),y=p("showText"),g="style2"===m,h="off"===p("showPercentage"),b="off"===y,v=(0,d.getDynamicContentOption)({options:n.dynamicContent.config,type:i.DCTypes.richText}),S=(0,s.isStory)(r.default.getAll());return[{id:"toolbarProgressBar",type:"popover-dev",config:{title:(0,l.t)("Progress"),icon:"nc-progress-bar"},devices:"desktop",position:70,options:[{id:"progressBarStyle",label:(0,l.t)("Style"),type:"radioGroup-dev",choices:[{value:"style1",icon:"nc-progress-bar-style-1"},{value:"style2",icon:"nc-progress-bar-style-2"}]},{id:"percentage",label:(0,l.t)("Fill"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]},population:v},{id:"showText",type:"switch-dev",label:(0,l.t)("Title"),disabled:g},{id:"showPercentage",type:"switch-dev",label:(0,l.t)("Percentage")}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,l.t)("Typography")},roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabText",label:(0,l.t)("Title"),options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o},disabled:b||g}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",config:{...v,iconOnly:!0},devices:"desktop",disabled:b||g||void 0===v}]}]}]},{id:"tabPercent",label:(0,l.t)("Percent"),options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},disabled:h,columns:[{id:"col-1",size:1,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"col-2",size:"auto",align:"center",options:[{id:"percentage",type:"population-dev",config:{...v,iconOnly:!0},disabled:void 0===v,devices:"desktop"}]}]}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(f,p("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,l.t)("Title"),options:[{id:"labelColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:b||g}]},{id:"tabPercent",label:(0,l.t)("Percent"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:h}]},{id:"tabBar",label:(0,l.t)("Bar"),options:[{id:"bgColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"bg2Color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},roles:["admin"],disabled:S,position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",position:100,config:{min:1,max:"px"===p("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"style1Height",label:(0,l.t)("Height"),type:"slider-dev",disabled:g,config:{min:10,max:200,units:[{value:"px",title:"px"}]}},{id:"style2Height",label:(0,l.t)("Height"),type:"slider-dev",disabled:"style1"===m,config:{min:10,max:200,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!S,position:110,devices:"desktop",icon:"nc-cog"}]}},51589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=S(o(60042)),n=S(o(27378)),i=S(o(31440)),a=o(66848),l=S(o(36275)),s=S(o(67439)),c=S(o(10787)),d=S(o(63692)),u=o(94220),p=o(6085),f=o(86022),m=S(o(491)),y=x(o(39415)),g=x(o(63172)),h=o(33421),b=x(o(31754)),v=x(o(18750));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const P=["centerLeft","centerRight"];class C extends d.default{static get componentId(){return"ProtectedPage"}static defaultValue=m.default;handleResizerChange=e=>this.patchValue(e);componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,g,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}handleLabelChange=e=>{this.patchValue({label:e})};renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta}});return n.default.createElement(c.default,e)}renderForEdit(e,t,o){const{customCSS:c,label:d,className:p}=e,m=(0,r.default)("brz-protected",p,(0,u.css)(this.getComponentId(),this.getId(),(0,h.styles)(e,t,o)));return n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(b,y),n.default.createElement(l.default,{selectorName:this.getId(),css:c},n.default.createElement(f.Wrapper,this.makeWrapperProps({className:m}),n.default.createElement(i.default,{points:P,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:e,onChange:this.handleResizerChange},n.default.createElement("form",{className:"brz-form brz-protected-form"},n.default.createElement("div",{className:"brz-protected-form__input"},n.default.createElement(a.TextEditor,{className:"brz-input",value:d,onChange:this.handleLabelChange})),n.default.createElement("div",{className:"brz-protected-form__button"},this.renderButton()))))))}renderForView(e,t,o){const{customCSS:i,label:a,className:s,emptyMessage:c,invalidMessage:d,failMessage:m}=e,y=(0,r.default)("brz-protected",s,(0,u.css)(this.getComponentId(),this.getId(),(0,h.styles)(e,t,o))),g=(0,p.encodeToString)({empty:c,fail:m,invalid:d});return n.default.createElement(l.default,{selectorName:this.getId(),css:i},n.default.createElement(f.Wrapper,this.makeWrapperProps({className:y}),n.default.createElement("form",{className:"brz-form brz-protected-form","data-action":"/","data-messages":g},n.default.createElement("div",{className:"brz-protected-form__input"},n.default.createElement("input",{name:"protected",className:"brz-input",placeholder:a})),n.default.createElement("div",{className:"brz-protected-form__button"},this.renderButton()))))}}},39415:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function i(){return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}},63172:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},33421:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleSizeWidth"]},".brz && .brz-protected-form":{standart:["cssStyleElementProtectedPageInputSpacing"]},".brz &&:hover .brz-protected-form__input":{standart:["cssStyleBorderRadius","cssStyleBorder","cssStyleBoxShadow","cssStyleElementProtectedPageInputWidth","cssStyleElementProtectedPageInputHeight","cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-input":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-input::placeholder":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-input:-webkit-autofill":{standart:["cssStyleElementProtectedPageAutocompleteColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},31754:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,n.t)("Settings")},position:110,options:[{id:"inputWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"inputHeight",label:(0,n.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"inputSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}},18750:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-lock",title:(0,r.t)("Protected Page")},position:60,options:[{id:"emptyMessage",type:"inputText-dev",label:"Empty message",placeholder:"..type error message",devices:"desktop"},{id:"invalidMessage",type:"inputText-dev",label:"Invalid message",placeholder:"..type error message",devices:"desktop"},{id:"failMessage",type:"inputText-dev",label:"Fail message",placeholder:"..type error message",devices:"desktop"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:10,max:100,units:[{value:"%",title:"%"}]}},{id:"advancedSettings",type:"advancedSettings",label:(0,r.t)("More Settings")}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0}]}},16921:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=m(o(27378)),n=m(o(63692)),i=o(66848),a=m(o(13293)),l=m(o(67439)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(35889)),c=m(o(60042)),d=o(94220),u=o(30755),p=m(o(33364)),f=o(73948);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}const g=e=>{switch(e){case"Password":case"PasswordConfirm":return e;default:return}};class h extends n.default{static get componentId(){return"ResetPasswordField"}static defaultValue=a.default;state={value:"",active:{}};handleActive=e=>{this.setState({active:e})};handleLabelChange=e=>{this.patchValue({label:e})};getLabel(e){const{label:t}=e;return null===t?"":t}getPlaceholder(e){const{placeholder:t,label:o}=e,{showPlaceholder:r,showLabel:n}=this.props;return"off"===r?"":null===t?o:t}getFieldType(e){switch(g(e)){case"Password":case"PasswordConfirm":return"password";case void 0:return""}}getFieldName(e){switch(g(e)){case"Password":return"password";case"PasswordConfirm":return"passwordConfirm";case void 0:return""}}renderIconForEdit=e=>{let{active:t}=e;return r.default.createElement("div",{className:"brz-control__check-group-icon"},r.default.createElement(p.default,{className:"brz-d-block",icon:t?"nc-check-square-on":"nc-check-square-off"}))};renderIconForView=()=>r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--check"},r.default.createElement(f.ThemeIcon,{className:"brz-d-block",name:"check-square-on",type:"editor"})),r.default.createElement("div",{className:"brz-control__check-group-icon brz-control__check-group--uncheck"},r.default.createElement(f.ThemeIcon,{className:"brz-d-block",name:"check-square-off",type:"editor"})));renderForEdit(e,t,o){const{showLabel:n,toolbarExtendLabel:a}=this.props,{type:p}=e,f=(0,c.default)("brz-reset-psw-form__field",`brz-reset-psw-form__field-${p}`,(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),m={height:""===e.label?0:"auto"};return r.default.createElement("div",{className:f},("Password"===p||"PasswordConfirm"===p)&&r.default.createElement("div",{className:"brz-reset-psw__item"},"on"===n&&r.default.createElement(l.default,a,r.default.createElement("div",{className:"brz-reset-psw__field-label",style:m},r.default.createElement("label",{className:"brz-label"},r.default.createElement(i.TextEditor,{value:this.getLabel(e),onChange:this.handleLabelChange})))),r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s),r.default.createElement("div",{className:"brz-reset-psw__field"},r.default.createElement("input",{name:"password",className:"brz-input",type:"text",placeholder:this.getPlaceholder(e),value:this.getPlaceholder(e),required:!0,onChange:e=>{"on"===n?this.patchValue({placeholder:e.target.value}):this.patchValue({label:e.target.value,placeholder:e.target.value})}})))))}renderForView(e,t,o){const{showLabel:n}=this.props,{type:i}=e,a=(0,c.default)("brz-reset-psw-form__field",`brz-reset-psw-form__field-${i}`,(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o))),l={height:""===e.label?0:"auto"};return r.default.createElement("div",{className:a},("Password"===i||"PasswordConfirm"===i)&&r.default.createElement("div",{className:"brz-reset-psw__item"},"on"===n&&r.default.createElement("div",{className:"brz-reset-psw__field-label",style:l},r.default.createElement("label",{className:"brz-label"},this.getLabel(e))),r.default.createElement("div",{className:"brz-reset-psw__field"},r.default.createElement("input",{type:this.getFieldType(i),name:this.getFieldName(i),className:"brz-input",placeholder:this.getPlaceholder(e),defaultValue:"",required:!0}))))}}const b=h},30755:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth","cssStyleElementForm2FlexBasisPercent"]}}})}},35889:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]}]}},36148:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=S(o(60042)),n=S(o(27378)),i=S(o(36275)),a=S(o(10787)),l=S(o(63692)),s=o(94220),c=o(86022),d=S(o(82432)),u=x(o(62646)),p=x(o(48674)),f=x(o(26350)),m=x(o(41001)),y=o(95308),g=x(o(6153)),h=x(o(11682)),b=x(o(82108)),v=x(o(65023));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class P extends l.default{static get componentId(){return"ResetPassword"}static defaultValue=d.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(v,m,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleResizerChange=e=>this.patchValue(e);handleSubmit=e=>{e.preventDefault()};renderResetPasswordFields(e){const t=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:2,itemProps:{meta:this.props.meta,toolbarExtendLabel:this.makeToolbarPropsFromConfig2(b,f,{allowExtend:!1}),toolbarExtend:this.makeToolbarPropsFromConfig2(g,u,{allowExtend:!1}),showLabel:e.showLabel,showPlaceholder:e.showPlaceholder}});return n.default.createElement(a.default,t)}renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:2,sliceEndIndex:3,itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(h,p,{allowExtend:!1}),attributes:{type:"submit"}}});return n.default.createElement("div",{className:"brz-reset-psw-form__field brz-reset-psw__item-button"},n.default.createElement("div",{className:"brz-reset-psw__item brz-align-self-xs-end"},n.default.createElement(a.default,e)))}renderResetPasswordForm(e){return n.default.createElement(n.default.Fragment,null,this.renderResetPasswordFields(e),this.renderButton())}renderForm(e){return n.default.createElement("form",{className:"brz-reset-psw-form"},this.renderResetPasswordForm(e))}renderForEdit(e,t,o){const a=(0,r.default)("brz-reset-psw",(0,s.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,y.style)(e,t,o)));return n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(c.Wrapper,this.makeWrapperProps({className:a,attributes:{"data-redirect":e.redirectType,"data-redirect-value":e.messageRedirect,"data-error-empty":e.emptyFieldsError,"data-error-url":e.submitUrlError,"data-error-passlength":e.passLengthError,"data-error-passmatch":e.passMatchError}}),this.renderForm(e)))}}const C=P},62646:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner")}]}]}]}},48674:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Reset Password");function n(){return[]}},26350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Reset Password");function n(){return[]}},41001:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Reset Password");function n(){return[]}},95308:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-reset-psw-form":{standart:["cssStyleDisplayFlex","cssStyleElementLoginFormMargin"]},".brz &&:hover .brz-reset-psw__item-button":{standart:["cssStyleDisplayFlex","cssStyleMarginAlign","cssStyleElementForm2SubmitWidth"]},".brz && .brz-reset-psw-form .brz-input:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStylePaddingFourFields","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz && .brz-reset-psw-form .brz-reset-psw-form__field":{standart:["cssStyleElementLoginFieldPadding"]},".brz && .brz-reset-psw-form .brz-reset-psw__field-label":{standart:["cssStyleElementForm2FieldsLabelPadding"]},".brz &&:hover .brz-reset-psw-form .brz-reset-psw__field-label":{standart:["cssStyleLabelColor","cssStyleElementForm2FieldsLabelAlign"]},".brz &&:hover .brz-reset-psw-form .brz-reset-psw__field-label .brz-label":{standart:["cssStyleElementForm2FieldsLabelFontFamily","cssStyleElementForm2FieldsLabelFontSize","cssStyleElementForm2FieldsLabelFontWeight","cssStyleElementForm2FieldsLabelLetterSpacing","cssStyleElementForm2FieldsLabelLineHeight"]}}})}},6153:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=o(57582);function c(e){let{v:t,device:o}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("borderColorHex"),c("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,n.t)("Field")},position:60,options:[{id:"tabsCurrentElementFields",type:"tabs-dev",tabs:[{id:"tabsCurrentElementField",label:(0,n.t)("Field"),options:[(0,s.toolbarElementForm2Size)({v:t,device:o}),{id:"fieldPadding",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]},{id:"tabsCurrentElementAdvanced",label:(0,n.t)("Advanced"),options:[{id:"showLabel",label:(0,n.t)("Label"),devices:"desktop",type:"switch-dev"},{id:"showPlaceholder",label:(0,n.t)("Placeholder"),devices:"desktop",type:"switch-dev"}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:c("bgColorOpacity")>0?(0,r.hexToRgba)(u,c("borderColorOpacity")):(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabInput",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]}]}},11682:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;return[{id:"popoverLink",type:"popover-dev",config:{icon:"nc-link",title:(0,r.t)("Link"),size:"medium"},position:90,options:[{id:"redirectGroup",type:"group-dev",options:[{id:"redirectType",type:"select-dev",label:(0,r.t)("Redirect After Login"),devices:"desktop",choices:[{title:(0,r.t)("Same Page"),value:"samePage"},{title:(0,r.t)("Custom"),value:"custom"}]},{id:"messageRedirect",label:(0,r.t)("URL"),type:"inputText-dev",disabled:"custom"!==("redirectType",(0,n.defaultValueValue)({v:t,key:"redirectType",device:o})),devices:"desktop",placeholder:"http://"}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,r.t)("Settings")},position:110,options:[{id:"submitWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},82108:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-form-left",title:(0,n.t)("Field")},position:60,options:[{id:"labelPaddingBottom",label:(0,n.t)("Spacing"),position:60,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("labelColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"labelColor",type:"colorPicker-dev"}]},{id:"labelHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]}]}},65023:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},12594:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{triggerCodes:function(){return S},default:function(){return P}});const r=b(o(65311)),n=b(o(27378)),i=o(23884),a=b(o(10301)),l=b(o(22546)),s=o(97045),c=o(94220),d=o(9644),u=o(16526),p=o(6804),f=o(63580),m=o(42412),y=b(o(23749)),g=b(o(30317)),h=o(44643);function b(e){return e&&e.__esModule?e:{default:e}}const v=[],S=["#","@"],w=["brz-ed-content-editable-focus","brz-ed-dd-cancel"];class x extends n.default.Component{isUnmounted=!1;content=n.default.createRef();contentEditable=n.default.createRef();quill=null;currentSelection=null;lastUpdatedValue="";componentDidMount(){const{initDelay:e}=this.props;this.lastUpdatedValue=this.props.value,e>0?setTimeout((()=>{this.isUnmounted||this.initPlugin()}),e):this.initPlugin()}componentDidUpdate(e){const{fonts:t}=e,{value:o,forceUpdate:r,onSelectionChange:n,isToolbarOpen:i}=this.props,s=!a.default.isEqual(t,this.props.fonts),c=o!==this.lastUpdatedValue||r;(c||s)&&this.quill&&(this.reinitPluginWithValue(o),c&&!(0,u.isStory)(l.default.getAll())&&i()&&n(this.getSelectionFormat(),this.getCoords(this.quill.getSelection(!0))))}shouldComponentUpdate(e){const{fonts:t,value:o}=e;return!a.default.isEqual(t,this.props.fonts)||o!==this.lastUpdatedValue}componentWillUnmount(){this.isUnmounted=!0,this.destroyPlugin()}getCoords(e){if(!e)return{bottom:0,height:0,left:0,right:0,top:0,width:0};const t=this.content.current,{top:o,left:r}=t.getBoundingClientRect(),n=this.quill.getBounds(e.index,e.length);return{...n,top:n.top+o+window.scrollY,left:n.left+r}}reinitPluginWithValue(e,t){this.destroyPlugin(),this.contentEditable.current&&(this.lastUpdatedValue=e,this.contentEditable.current.innerHTML=this.changeRichTextFonts(e)),this.initPlugin(),t?.restoreSelectionIndex&&this.quill.setSelection(t.restoreSelectionIndex,0)}initPlugin=()=>{const e=new g.default(this.contentEditable.current,{placeholder:"Enter text here...",modules:{toolbar:!1,history:{maxStack:0},keyboard:{bindings:y.default},clipboard:{matchVisual:!1}}});e.on("selection-change",((t,o)=>{if(this.currentSelection=t,e.hasFocus()&&t&&!a.default.isEqual(t,o)){const e=this.getSelectionFormat();this.props.onSelectionChange(e,this.getCoords(t))}})),e.on("text-change",(()=>{const t=e.getSelection(!0),o=this.getSelectionFormat();this.props.onSelectionChange(o,this.getCoords(t)),this.save(e.root.innerHTML)})),this.quill=e,0===v.length&&document.addEventListener("mousedown",this.onBlurAll,!1),v.push(this)};destroyPlugin(){this.quill=null,v.splice(v.indexOf(this),1),0===v.length&&document.removeEventListener("mousedown",this.onBlurAll,!1)}restoreSelection(e){let{index:t,length:o}=e;const r=this.quill,n=r.getLines(t,o),i=r.getLine(t),a=i&&i[0].domNode.textContent.length;1===n.length&&a{this.lastUpdatedValue=e,this.props.onTextChange(e)}),500);handleClick=()=>{const e=this.content.current;e&&e.classList.add(...w)};handleKeyPress=e=>{S.includes(e.key)&&this.quill.format("prepopulation","visible")};handlePaste=e=>{const t=e.clipboardData.getData("Text"),o=this.currentSelection?.index??0;setTimeout((()=>{this.contentEditable?.current?.innerHTML&&this.reinitPluginWithValue(this.contentEditable.current.innerHTML,{restoreSelectionIndex:o+t.length+1})}),1)};onBlurAll=e=>{v.forEach((t=>{const o=t.content.current;o&&!o.contains(e.target)&&o.classList.remove(...w)}))};changeRichTextFonts(e){return(0,m.mapBlockElements)(e,(e=>{const t=(0,p.uuid)(5),o=this.getClassName(e.attr("class")?.split(" ")??[],t);e.attr("data-generated-css",o),e.attr("data-uniq-id",t)}))}render(){const{value:e}=this.props,t=this.changeRichTextFonts(e);return n.default.createElement("div",{ref:this.content,className:"brz-ed-content-editable-wrap",onPaste:this.handlePaste},n.default.createElement("div",{className:"brz-ed-content-editable-child"}),n.default.createElement("div",{ref:this.contentEditable,dangerouslySetInnerHTML:{__html:t},onClick:this.handleClick,onKeyPress:this.handleKeyPress}))}getExtraClassNames(e){const t=[];return e.is("*[class*='brz-tp__dc-block']")&&t.push("brz-tp__dc-block"),e.is("*[class*='brz-tp__dc-block-st1']")&&t.push("brz-tp__dc-block-st1"),t}getClassName(e,t){const{v:o,vs:r,vd:n}=(0,h.classNamesToV2)(e),i=(0,f.styleHeading)(o,r,n),{className:a}=(0,c.css1)(t,i[2],((e,t)=>e.replace(/&&/gm,`[data-generated-css=${t}]`)));return a}setGeneratedCss(){const e=this.quill.getLines(),t=[];e.forEach((e=>{const o=e.domNode;let r=o.getAttribute("data-uniq-id");t.includes(r)&&(r=(0,p.uuid)(5),o.setAttribute("data-uniq-id",r));const n=this.getClassName(Array.from(o.classList),r);e.format("generated-css",n),t.push(r)}))}formatPopulation=e=>{const t=l.default.getAll(),o=t?.dynamicContent?.groups?.richText,{label:r,display:n,placeholder:i}=e;let a=(0,m.createLabel)(r);!Array.isArray(o)&&o?.handler&&(a=r);const s=this.quill,c=s.getSelection(!0),[u,p]=s.getLeaf(c.index),f=s.getLine(c.index)[0],y=s.getFormat();let{index:g,length:h}=c;(y.prepopulation||y.population)&&(g=c.index-p,h=u.length()),s.deleteText(g,h);const b=(0,d.makePlaceholder)({content:i}),v={...y,population:b,dcBlock:!1,populationColor:!1};if("inline"===n)s.insertText(g,a,v),s.format("dcBlock",!1),s.format("populationColor",!1);else{v.dcBlock=!0;const e=f.domNode.innerText;e.trim().length?f.offset()+e.length===g?(s.insertText(g,"\n"),g+=1,s.insertText(g,a,v),s.format("dcBlock",!0)):(f.offset()===g||(s.insertText(g,"\n"),g+=1),s.insertText(g,`${a}\n`,v)):(s.insertText(g,a,v),s.format("dcBlock",!0))}s.insertText(g+a.length," ",{population:null}),s.setSelection(g+a.length+1,0)};format=(e,t)=>{const o=this.quill,r=o.getSelection(!0),n=o.getLine(r.index)[0];if(!r.length){if("link"===e){const[n]=o.getLeaf(r.index);return void o.formatText(o.getIndex(n.parent),n.parent.length(),e,t)}const i=t||!1;let a=n.offset();return"li"===n.domNode.tagName.toLowerCase()&&(a=n.parent.offset()+n.offset()),void o.formatText(a,n.length(),e,i)}o.format(e,t)};formatMultiple(e){const t=Object.values(h.currentBlockValues).map((e=>Object.keys(e))).flat();for(let[o,r]of Object.entries(e))"popups"!==o&&(t.includes(o)&&(r=(0,h.formatVToQuilValue)(r)),this.format(o,r));this.setGeneratedCss()}}const P=(0,i.connect)((e=>({defaultFont:(0,s.defaultFontSelector)(e),fonts:(0,s.unDeletedFontsSelector)(e)})),null,null,{forwardRef:!0})(x)},16926:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(55418),i={getItems:(e,t)=>{const o=(0,n.getInnerElement)(),i=t.getComponentId()===o?.type;return[{id:"main",type:"group",title:(0,r.t)("Text"),items:[{id:"copy",type:"button",title:(0,r.t)("Copy"),helperText:(0,n.handleRenderText)(["C"])},{id:"paste",type:"button",title:(0,r.t)("Paste"),helperText:(0,n.handleRenderText)(["V"]),inactive:!o},{id:"pasteStyles",type:"button",title:(0,r.t)("Paste Styles"),inactive:!i,helperText:(0,n.handleRenderText)(["⇧","V"]),onChange:()=>{if(!o?.value)return;const e=(0,n.getStyles)(o.value,["typography","color"]);e&&t.handleChange(e)}},{id:"duplicate",type:"button",title:(0,r.t)("Duplicate"),helperText:(0,n.handleRenderText)(["D"])},{id:"remove",type:"button",title:(0,r.t)("Delete"),helperText:(0,n.handleRenderText)(["delete"])}]}]}}},60546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return K}});const r=q(o(60042)),n=Y(o(27378)),i=q(o(31542)),a=q(o(31440)),l=q(o(17882)),s=q(o(39552)),c=q(o(7098)),d=o(1424),u=q(o(36275)),p=q(o(24072)),f=q(o(1440)),m=o(62948),y=q(o(53125)),g=q(o(67439)),h=q(o(10787)),b=q(o(63692)),v=o(76753),S=q(o(22546)),w=o(54639),x=o(81263),P=o(97045),C=o(92213),T=o(94220),_=o(64985),k=o(16526),M=o(81842),O=o(98610),E=o(68256),B=Y(o(66559)),z=o(86022),I=o(53002),j=Y(o(12594)),L=q(o(16926)),F=q(o(30277)),N=o(74121),D=Y(o(41651)),R=o(63580),A=q(o(65168)),H=o(20825),W=o(42412),V=o(55418),G=o(39030),U=o(44643);function q(e){return e&&e.__esModule?e:{default:e}}function $(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return($=function(e){return e?o:t})(e)}function Y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=$(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const Q=["centerLeft","centerRight"];class Z extends b.default{static get componentId(){return"RichText"}static defaultValue=F.default;static experimentalDynamicContent=!0;handleResizerChange=e=>this.patchValue(e);prepopulation=null;state={formats:{},prepopulation:null,population:null,selectionCoords:null};quillRef=n.default.createRef();toolbarRef=n.default.createRef();toolbarOpen=!1;renderDC=!S.default.getAll().dynamicContent?.liveInBuilder||!1;componentDidMount(){const e=i.default.findDOMNode(this);e.addEventListener("click",(e=>e.toolbarHandled=!0),!1);const t=this.context.dynamicContent.itemId;t&&e.setAttribute("data-item_id",t);const o=e.querySelectorAll("[data-image_population]");o.length>0&&this.renderDC&&o.forEach((async e=>{const o=e.getAttribute("data-image_population");if(o){const r=await(0,G.getImagePopulation)(o,t);r&&(e.classList.add("brz-population-mask__style"),e.style.backgroundImage=`url("${r}")`)}}))}handleToolbarOpen=()=>{this.toolbarOpen=!0};handleToolbarClose=()=>{this.toolbarOpen=!1};handleSelectionChange=(e,t)=>{const o={formats:e},r=S.default.getAll(),n=r.dynamicContent?.groups;if(Array.isArray(n)||"function"!=typeof n?.richText?.handler)(this.state.prepopulation!==e.prepopulation||t&&this.state.selectionCoords!==t||e.population)&&Object.assign(o,{prepopulation:e.prepopulation||null,population:e.population||null,selectionCoords:t}),this.setState(o,(()=>this.toolbarRef.current.show()));else if(t&&this.state.selectionCoords!==t){Object.assign(o,{selectionCoords:t});const r=e.prepopulation?.trim();if(r&&this.prepopulation!==r){const t=e=>{try{const t=(0,W.dcItemOptionParser)(e);this.prepopulation=t.label,this.quillRef.current.formatPopulation({label:t.label,display:t.display,placeholder:t.placeholder}),this.quillRef.current.format("prepopulation",null),this.prepopulation=null}catch(e){m.ToastNotification.error((0,_.t)("Invalid Dynamic Option"))}},o=e=>{m.ToastNotification.error(e)},r=e.prepopulation?.at(-1);r&&j.triggerCodes.some((e=>e===r))&&n.richText.handler(t,o,{keyCode:r})}this.setState(o,(()=>this.toolbarRef.current.show()))}};handleTextChange=e=>{let t;this.tmpPopups&&(t=this.tmpPopups,this.tmpPopups=null),this.patchValue({text:e,...t?{popups:t}:{}})};handlePopulationSet=e=>{const t=(0,E.getDynamicContentByPlaceholder)(this.context.dynamicContent.config,e);t&&this.quillRef.current.formatPopulation({label:t.label,display:t.display??"inline",placeholder:e}),this.quillRef.current.format("prepopulation",null)};handlePopulationClickOutside=()=>{this.setState({prepopulation:null,population:null})};handleBlockTag=e=>{switch(e){case"paragraph":return{pre:!1,header:null};case"heading1":return{pre:!1,header:"h1"};case"heading2":return{pre:!1,header:"h2"};case"heading3":return{pre:!1,header:"h3"};case"heading4":return{pre:!1,header:"h4"};case"heading5":return{pre:!1,header:"h5"};case"heading6":return{pre:!1,header:"h6"}}};handleChange=e=>{const t=document.activeElement;switch(e.popups&&(this.tmpPopups=e.popups),this.patchValue(e),i.default.findDOMNode(this).contains(t)||t.focus&&t.focus(),e.typographyFontStyle){case"paragraph":case"heading1":case"heading2":case"heading3":case"heading4":case"heading5":case"heading6":this.quillRef.current.formatMultiple(this.handleBlockTag(e.typographyFontStyle))}this.quillRef.current.formatMultiple(e)};handleKeyDown=(e,t)=>{let{keyName:o}=t;e.preventDefault();const r=()=>{const e=(0,V.getInnerElement)();if(!e)return;const t=(0,V.getStyles)(e.value,["typography","color"]);t&&this.handleChange(t)};switch(o){case"alt+shift+V":case"ctrl+shift+V":case"cmd+shift+V":case"right_cmd+shift+V":case"shift+alt+V":case"shift+ctrl+V":case"shift+cmd+V":case"shift+right_cmd+V":return void r()}};handleKeyUp=()=>{};getClassName(e,t,o){const n=e.textPopulation&&(0,T.css)("dc"+this.getComponentId(),"dc"+this.getId(),(0,R.styleDC)(e,t,o));return(0,r.default)("brz-rich-text",{notranslate:!0,"brz-rich-text__custom":!e.textPopulation,"brz-rich-text__population-cloud":e.textPopulation&&(0,w.isCloud)(S.default.getAll())},e.className,(0,T.css)(this.getComponentId(),this.getId(),(0,R.style)(e,t,o)),n)}getToolbarOpen=()=>this.toolbarOpen;patchValue(e,t){let o=e;if("textPopulation"in e&&""===e.textPopulation)this.toolbarRef.current.hide();else if("textPopulation"in e&&e.textPopulation){if(this.getValue2().v.textPopulation)return super.patchValue(e,t);const r=["FontFamily","FontFamilyType","FontSize","FontSizeSuffix","FontStyle","FontWeight","LetterSpacing","LineHeight"],n=Array.from(this.quillRef.current?.quill?.root?.children??[]).filter((e=>!!H.TypographyTags[e.tagName])).reverse().reduce(((e,t)=>(e.push([t.tagName,[...t.classList]]),e)),[]).map((e=>{let[t,o]=e;return[t,(0,U.classNamesToV)(o)]})).map((e=>{let[t,o]=e;return B.types.map((e=>{const n=t=>{const r=(0,O.defaultValueKey2)({key:(0,v.createOptionId)("typography",t),device:e});return o[r]};return r.reduce(((o,r)=>{var i;return o[(i=r,(0,O.defaultValueKey2)({key:(0,v.createOptionId)((0,H.tagId)(t),i),device:e,state:"normal"}))]=n(r),o[(t=>(0,O.defaultValueKey2)({key:(0,v.createOptionId)("typography",t),device:e,state:"normal"}))(r)]=n(r),o}),{})}))})).flat().reduce(((e,t)=>({...e,...t})),{}),i=this.quillRef.current.quill.getFormat(0);o={...o,...n,...(0,W.parseShadow)(i.shadow),bgColorHex:i.color??null,bgColorPalette:i.colorPalette??null}}super.patchValue(o,t)}getValue2(){const{v:e,vs:t,vd:o}=super.getValue2();return e.textPopulation?{v:e,vs:t,vd:o}:{v:{...e,...this.state.formats,tag:this.state.formats?.tagName},vs:t,vd:o}}renderPopulationHelper(){const{prepopulation:e,population:t,selectionCoords:{left:o,top:r,height:a}}=this.state;let s=t?t.label:e;const d={left:o,width:"130px",top:r+a},u=(0,E.getDynamicContentChoices)(this.context.dynamicContent.config,x.DCTypes.richText)||[],p=new RegExp(s.substr(1).replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),f=u.filter((e=>{let{title:t}=e;return p.test(t)})),m=n.default.createElement(l.default,{onClickOutside:this.handlePopulationClickOutside},n.default.createElement(c.default,{style:d,choices:f,onChange:this.handlePopulationSet}));return i.default.createPortal(m,document.body)}renderPopups(e){const{popups:t}=e;if(0===t.reduce(((e,t)=>{let o=t;return"GlobalBlock"===o.type&&(o=(0,P.blocksDataSelector)((0,C.getStore)().getState())[o.value._id]),o?[...e,o]:e}),[]).length)return null;const o=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,P.blocksDataSelector)((0,C.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return n.default.createElement(h.default,o)}renderLink(e){const{text:t}=e,o=(0,M.getLinkData)(e);let r=n.default.createElement("div",{className:"placeholder-is-empty"},n.default.createElement(y.default,{icon:"wp-title"}));return(this._dc?.lastCache?.text||this.renderDC)&&(r=n.default.createElement("span",{className:"brz-blocked",dangerouslySetInnerHTML:{__html:t}})),o.href?n.default.createElement(f.default,{className:"brz-ed-content-dc-link !text-inherit",type:o.type,href:o.href,target:o.target,rel:o.rel,slide:o.slide},r):r}renderForEdit(e,t,o){const{prepopulation:r,population:i}=this.state,{meta:l={}}=this.props,c=Boolean(l.sectionPopup),f=Boolean(l.sectionPopup2),m=S.default.getAll(),y={...e,popups:this.tmpPopups||e.popups},h=(0,A.default)(y,this.handleChange),b=!(0,d.getCurrentTooltip)()&&(r||i);let v=n.default.createElement(j.default,{ref:this.quillRef,componentId:this.getId(),value:e.text,onSelectionChange:this.handleSelectionChange,onTextChange:this.handleTextChange,isToolbarOpen:this.getToolbarOpen,initDelay:c||f||(0,k.isPopup)(m)?1e3:0}),w={manualControl:!0,repositionOnUpdates:!0,onOpen:this.handleToolbarOpen,onClose:this.handleToolbarClose};return e.textPopulation&&(w={},v=this.renderLink(e)),n.default.createElement(n.default.Fragment,null,n.default.createElement(p.default,{shortcutsTypes:["copy","paste","pasteStyles","delete"],id:this.getId(),onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp},n.default.createElement(u.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(g.default,{...this.makeToolbarPropsFromConfig2(h,D),ref:this.toolbarRef,...w},n.default.createElement(z.Wrapper,this.makeWrapperProps({className:this.getClassName(e,t,o)}),n.default.createElement(s.default,this.makeContextMenuProps(L.default),(0,k.isStory)(m)?n.default.createElement(a.default,{points:Q,meta:{...l,horizontalAlign:"left"},value:e,onChange:this.handleResizerChange,restrictions:{width:{"%":{min:5,max:100}}}},v):v))))),b&&this.renderPopulationHelper(),this.renderPopups(e))}getExtraClassNames(e){const t=[];return e.is("*[class*='brz-tp__dc-block']")&&t.push("brz-tp__dc-block"),e.is("*[class*='brz-tp__dc-block-st1']")&&t.push("brz-tp__dc-block-st1"),t}renderForView(e,t,o){let r=n.default.createElement(j.default,{value:e.text});return e.textPopulation&&(r=this.renderLink(e)),n.default.createElement(n.Fragment,null,n.default.createElement(u.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(z.Wrapper,this.makeWrapperProps({className:this.getClassName(e,t,o)}),r)),this.renderPopups(e))}}const K=(0,I.withMigrations)(Z,N.migrations)},74121:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"migrations",{enumerable:!0,get:function(){return r}});const r=[o(47115).m2]},47115:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"m2",{enumerable:!0,get:function(){return c}});const r=o(9644),n=o(49863),i=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=l(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(48630)),a=o(63300);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(l=function(e){return e?o:t})(e)}const s=(0,n.mPipe)((e=>{let t=(0,a.read)(e.text);return t?([...t.matchAll(/data-population=(["'])(\S.*?)\1/g)].forEach((e=>{const[o,,n]=e;let i="";i=/^{{.*}}$/.test(n)?(0,r.makePlaceholder)({content:n}):(0,r.makePlaceholder)({content:`{{${n}}}`}),t&&(t=t.replace(o,`data-population="${i}"`))})),{...e,text:t}):e}),(e=>{let t=(0,a.read)(e.text);return t?([...t.matchAll(/data-image_population=(["'])(\S.*?)\1/g)].forEach((e=>{const[o,,n]=e,i=(0,r.makePlaceholder)({content:n});t&&(t=t.replace(o,`data-image_population="${i}"`))})),{...e,text:t}):e})),c={version:2,cb(e){const t=i.read(e);if(!t)throw new Error(`RichText text migration failed ${e}`);const o=s(t);return{...e,...o}}}},41651:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Text");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"blendMode",label:(0,r.t)("Blending Mode"),type:"select-dev",devices:"desktop",position:80,choices:[{title:(0,r.t)("Normal"),value:"normal"},{title:(0,r.t)("Color"),value:"color"},{title:(0,r.t)("Color Burn"),value:"color-burn"},{title:(0,r.t)("Color Dodge"),value:"color-dodge"},{title:(0,r.t)("Darken"),value:"darken"},{title:(0,r.t)("Difference"),value:"difference"},{title:(0,r.t)("Exclusion"),value:"exclusion"},{title:(0,r.t)("Hue"),value:"hue"},{title:(0,r.t)("Lighten"),value:"lighten"},{title:(0,r.t)("Luminosity"),value:"luminosity"},{title:(0,r.t)("Multiply"),value:"multiply"},{title:(0,r.t)("Overlay"),value:"overlay"},{title:(0,r.t)("Saturation"),value:"saturation"},{title:(0,r.t)("Screen"),value:"screen"}]}]}]}]}]}]}},63580:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleDC:function(){return i},styleHeading:function(){return a}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleBlendMode"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementRichTextAlign","cssStyleElementRichTextFontFamily","cssStyleElementRichTextFontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleElementRichTextDCUppercase"]},".brz &&:hover span":{standart:["cssStyleElementRichTextDCColor","cssStyleElementRichTextDCGradient","cssStyleElementTitleTextShadow","cssStyleElementRichTextBgImage"]},".brz &&:hover *":{standart:["cssStyleElementRichTextDCUppercase"]},".brz &&:hover > .brz-a.brz-a:not(.brz-btn)":{standart:["cssStyleColor","cssStyleElementRichTextGradient","cssStyleTextShadow"]},".brz && h1":{standart:["cssStyleElementRichTextH1FontFamily","cssStyleElementRichTextH1FontSize","cssStyleElementRichTextH1LineHeight","cssStyleElementRichTextH1FontWeight","cssStyleElementRichTextH1LetterSpacing"]},".brz && h2":{standart:["cssStyleElementRichTextH2FontFamily","cssStyleElementRichTextH2FontSize","cssStyleElementRichTextH2LineHeight","cssStyleElementRichTextH2FontWeight","cssStyleElementRichTextH2LetterSpacing"]},".brz && h3":{standart:["cssStyleElementRichTextH3FontFamily","cssStyleElementRichTextH3FontSize","cssStyleElementRichTextH3LineHeight","cssStyleElementRichTextH3FontWeight","cssStyleElementRichTextH3LetterSpacing"]},".brz && h4":{standart:["cssStyleElementRichTextH4FontFamily","cssStyleElementRichTextH4FontSize","cssStyleElementRichTextH4LineHeight","cssStyleElementRichTextH4FontWeight","cssStyleElementRichTextH4LetterSpacing"]},".brz && h5":{standart:["cssStyleElementRichTextH5FontFamily","cssStyleElementRichTextH5FontSize","cssStyleElementRichTextH5LineHeight","cssStyleElementRichTextH5FontWeight","cssStyleElementRichTextH5LetterSpacing"]},".brz && h6":{standart:["cssStyleElementRichTextH6FontFamily","cssStyleElementRichTextH6FontSize","cssStyleElementRichTextH6LineHeight","cssStyleElementRichTextH6FontWeight","cssStyleElementRichTextH6LetterSpacing"]},".brz && *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(b):not(strong):not(i):not(span)":{standart:["cssStyleElementRichTextFontFamily","cssStyleElementRichTextFontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]},".brz && strong, .brz && b":{standart:["cssStyleElementRichTextFontFamily","cssStyleElementRichTextFontSize","cssStyleTypography3LineHeight","cssStyleTypography3LetterSpacing"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleElementRichTextMarginTop","cssStyleElementRichTextMarginBottom","cssStyleElementRichTextAlign","cssStyleElementRichTextFontFamily","cssStyleElementRichTextFontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]}}})}},32615:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=o(70634),n=o(2610),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(81263),s=o(81405),c=o(9644),d=o(64985),u=o(69321),p=o(68256),f=o(24119),m=o(6085),y=e=>{let{hex:t,opacity:o}=e;return(0,s.hexToRgba)(t,o)},g=(e,t)=>{if(e.palette){const{palette:o,opacity:r,horizontal:n,vertical:i,blur:a}=e;return`rgba(var(${(0,s.makeStylePaletteCSSVar)(o,t)}),${r}) ${n}px ${i}px ${a}px`}return`${y({hex:e.hex,opacity:e.opacity})} ${e.horizontal}px ${e.vertical}px ${e.blur}px`},h=(e,t,o)=>{if("hex"===o.isChanged){const n=(0,r.setIn)(e,[t,"hex"],o.hex);return(0,m.encodeToString)((0,r.setIn)(n,[t,"colorPalette"],null))}if("opacity"===o.isChanged)return(0,m.encodeToString)((0,r.setIn)(e,[t,"opacity"],o.opacity));const n=(0,r.setIn)(e,[t,"colorPalette"],o.palette);return(0,m.encodeToString)((0,r.setIn)(n,[t,"hex"],null))};function b(e,t){let{populationColor:o}=e;const r={p:"P",h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6"};return Object.entries(o).reduce(((e,n)=>{let[i,a]=n;const{hex:l}=(0,s.getColorPaletteColor)(a.colorPalette)||{};return e.push({id:r[i],label:r[i],options:[{id:"paragraphColor",type:"colorPicker2",select:{show:!1},value:{hex:l||a.hex,opacity:a.opacity,palette:a.colorPalette},onChange:e=>t({populationColor:h(o,i,e)})},{type:"grid-dev",className:"brz-ed-grid__color-fileds",columns:[{size:"auto",options:[{id:"paragraphColorFields",type:"colorFields",position:30,value:{hex:l||a.hex,opacity:a.opacity},onChange:e=>t(h(o,i,e))}]}]}]}),e}),[])}function v(e,t){let{populationColor:o}=e;return[{id:"colorTabs",type:"tabs-dev",tabs:b({populationColor:o},t)}]}function S(e,t){const{imageSrc:o=e.imageSrc,imageExtension:r=e.imageExtension,imageFileName:n=e.imageFileName,imageHeight:i=e.imageHeight,imageWidth:a=e.imageWidth,positionX:l=e.imagePositionX,positionY:s=e.imagePositionY}=t;return{imageSrc:o,imageFileName:n,imageExtension:r,imageWidth:a,imageHeight:i,imagePositionX:l||50,imagePositionY:s||50}}function w(e,t){const{imagePopulation:o,imagePopulationEntityId:r,imagePopulationEntityType:n}=t,i={imageSrc:e.imageSrc,imageFileName:e.imageFileName,imageExtension:e.imageExtension,imageWidth:e.imageWidth,imageHeight:e.imageHeight,imagePositionX:e.imagePositionX,imagePositionY:e.imagePositionY},a={};return r&&(a.entityId=r),n&&(a.entityType=n),{...i,imagePopulation:o?(0,c.makePlaceholder)({content:o,attr:a}):void 0}}function x(e,t,o){let{context:r,device:a}=t;const c=i.default.getAll(),u=(0,p.getDynamicContentOption)({options:r.dynamicContent.config,type:l.DCTypes.image,config:{show:!0}});return[{id:"colorTabs",type:"tabs-dev",tabs:[{id:"tabText",label:(0,d.t)("Color"),options:[{id:"",type:"backgroundColor-dev",states:[f.NORMAL],config:{withNone:!1},dependencies:t=>{const r=t.bgColorPalette!==e.bgColorPalette?t.bgColorPalette:"",n=t.bgColorPalette!==e.bgColorPalette&&(0,s.getColorPaletteColor)(t.bgColorPalette)?(0,s.getColorPaletteColor)(t.bgColorPalette).hex:t.bgColorHex,i=t.gradientColorPalette?(0,s.getColorPaletteColor)(t.gradientColorPalette).hex:t.gradientColorHex;o((e=>"gradient"===("none"===e.bgColorType?e.tempBgColorType:e.bgColorType)?{...e,backgroundGradient:{type:"linear-gradient",radialPosition:90,linearAngle:90,startPointer:0,finishPointer:100,activePointer:"startPointer",startHex:"#239ddb",finishHex:"#009900",startOpacity:1,finishOpacity:.8,startPalette:"",finishPalette:"",startHex:e.bgColorHex,startOpacity:String(e.bgColorOpacity),finishOpacity:String(e.gradientColorOpacity),startPalette:e.bgColorPalette,finishPalette:e.gradientColorPalette,finishHex:e.gradientColorHex,startPointer:e.gradientStartPointer,finishPointer:e.gradientFinishPointer,activePointer:e.gradientActivePointer,type:"linear"===e.gradientType?"linear-gradient":"radial-gradient",linearAngle:e.gradientLinearDegree,radialPosition:e.gradientRadialDegree},color:e.bgColorHex,opacity:null,colorPalette:e.bgColorPalette,bgColorType:"gradient"}:{...e,bgColorType:"solid",backgroundGradient:null,color:e.bgColorPalette?null:e.bgColorHex,opacity:String(e.bgColorOpacity),colorPalette:e.bgColorPalette})({...t,bgColorHex:n,gradientColorHex:i,bgColorPalette:r}))}}]},{id:"tabShadow",label:(0,d.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev",icon:"nc-bold",title:(0,d.t)("Text Shadow"),dependencies:e=>{let{textShadowBlur:t,textShadowColorHex:r,textShadowHorizontal:n,textShadowColorOpacity:i,textShadowColorPalette:a,textShadowVertical:l}=e,s={hex:r,opacity:i,horizontal:n,vertical:l,blur:t},d=null;a&&(s={...s,palette:a},d=a),o({shadow:g(s,c),shadowColorPalette:d})}}]},{id:"tabImage",label:(0,d.t)("Mask"),options:[{id:"image",type:"population-dev",label:(0,d.t)("Image"),config:u,fallback:{id:(0,n.keyToDCFallback2Key)("image"),type:"imageUpload-dev"},option:{id:"",type:"imageUpload-dev",config:{edit:"desktop"===a,disableSizes:!0},dependencies:t=>{o({backgroundImage:S(e,t)})}},dependencies:t=>{o({backgroundImage:w(e,t)})}}]}]}]}const P=(e,t,o)=>{let{device:r,context:n}=t;const{isPopulationBlock:i,populationColor:a,colorOpacity:l,textPopulation:c,color:m}=e;let g;const h=t=>(0,u.defaultValueValue)({v:e,key:t,device:r});if(c){const{hex:e}=(0,p.getOptionColorHexByPalette)(h("bgColorHex"),h("bgColorPalette"));g=(0,s.hexToRgba)(e,l)}else g=y(m??{});return{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,d.t)("Colors"),icon:{style:{backgroundColor:g}}},devices:"desktop",roles:["admin"],position:20,options:i?v({populationColor:a},o):e.textPopulation?[{id:"tabsColor",className:"",type:"tabs-dev",tabs:[{id:"tabText",label:(0,d.t)("Color"),options:[{id:"",type:"backgroundColor-dev",states:[f.NORMAL]}]},{id:"tabShadow",label:(0,d.t)("Shadow"),options:[{id:"textShadow",type:"textShadow-dev"}]},{id:"mask",label:(0,d.t)("Mask"),options:[{id:"bg",type:"imageUpload-dev"}]}]}]:x(e,{device:r,context:n},o)}}},65168:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=y(o(22546)),n=o(81263),i=o(64187),a=o(64985),l=o(16526),s=o(69321),c=o(68256),d=o(6085),u=o(57582),p=o(42412),f=y(o(32615)),m=o(8413);function y(e){return e&&e.__esModule?e:{default:e}}const g=Boolean(r.default.get("pro"));function h(e,t){return{getItems:b(e,t)}}const b=(e,t)=>o=>{let{device:y,component:h,context:b}=o;const v=r.default.getAll(),S=v?.api?.collectionTypes?.loadCollectionTypes.handler,w=(0,l.isStory)(v),x=(0,l.isPopup)(v),P=Boolean(h.props.meta?.sectionPopup),C=Boolean(h.props.meta?.sectionPopup2),T=e.population&&"block"===e.population.display;let _;_="desktop"===y?P||C||x:"popup"!==e.linkType||""===e.linkPopup;const k=T||"desktop"!==y&&_,M=!("desktop"===y&&!T&&!e.textPopulation),O=!e.textPopulation||"desktop"!==y,E=(0,c.getDynamicContentOption)({options:b.dynamicContent.config,type:n.DCTypes.richText,config:{iconOnly:!0}}),B=((e,t)=>e.textPopulation?{}:{dependencies:e=>{t("tag"in e?(e=>{switch(e){case"p":return{pre:!1,header:null};case"pre":return{header:!1,pre:e};default:return{pre:!1,header:e}}})(e.tag):e)}})(e,t),z=(e,t)=>{const{text:o,textPopulation:r}=e;return!r||!(0,m.checkTextIncludeTag)(o,t)},I=("linkSource",(0,s.defaultValueValue)({key:"linkSource",v:e,device:y}));return[{id:"toolbarFont",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===y?"xlarge":"auto",title:(0,a.t)("Typography")},roles:["admin"],position:10,disabled:T,options:[{id:"tabsTypography",type:"tabs-dev",config:{showSingle:e.textPopulation},tabs:[{id:"tabTypographyParagraph",label:(0,a.t)("P"),options:[{id:"gridTypographyParagraph",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,align:"center",options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===y},...B}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!E,config:E,devices:"desktop"}]}]}]},{id:"tabTypographyH1",label:(0,a.t)("H1"),options:[{id:"gridTypographyH1",type:"grid-dev",config:{separator:!0},disabled:z(e,"h1"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h1",type:"typography-dev",config:{fontFamily:"desktop"===y},...B}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!E,config:E,devices:"desktop"}]}]}]},{id:"tabTypographyH2",label:(0,a.t)("H2"),options:[{id:"gridTypographyH2",type:"grid-dev",disabled:z(e,"h2"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h2",type:"typography-dev",config:{fontFamily:"desktop"===y},...B}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!E,config:E,devices:"desktop"}]}]}]},{id:"tabTypographyH3",label:(0,a.t)("H3"),options:[{id:"gridTypographyH3",type:"grid-dev",disabled:z(e,"h3"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h3",type:"typography-dev",config:{fontFamily:"desktop"===y},...B}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!E,config:E,devices:"desktop"}]}]}]},{id:"tabTypographyH4",label:(0,a.t)("H4"),options:[{id:"gridTypographyH4",type:"grid-dev",disabled:z(e,"h4"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h4",type:"typography-dev",config:{fontFamily:"desktop"===y},...B}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!E,config:E,devices:"desktop"}]}]}]},{id:"tabTypographyH5",label:(0,a.t)("H5"),options:[{id:"gridTypographyH5",type:"grid-dev",disabled:z(e,"h5"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h5",type:"typography-dev",config:{fontFamily:"desktop"===y},...B}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!E,config:E,devices:"desktop"}]}]}]},{id:"tabTypographyH6",label:(0,a.t)("H6"),options:[{id:"gridTypographyH6",type:"grid-dev",disabled:z(e,"h6"),columns:[{id:"col-1",size:1,align:"center",options:[{id:"h6",type:"typography-dev",config:{fontFamily:"desktop"===y},...B}]},{id:"col-2",size:"auto",align:"center",options:[{id:"text",type:"population-dev",disabled:!E,config:E,devices:"desktop"}]}]}]}]}]},{id:"dynamicTextCapitalize",type:"button",icon:"nc-tp-capitalize",title:(0,a.t)("Uppercase"),position:75,disabled:O,value:"on"===e.dynamicTextCapitalize,onChange:e=>({dynamicTextCapitalize:e?"on":"off"})},(0,f.default)({...e,isPopulationBlock:T},{device:y,component:h,context:b},t),{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"contentHorizontalAlign",type:"toggle-dev",position:30,disabled:T,choices:[{icon:"nc-text-align-left",title:(0,a.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,a.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,a.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,a.t)("Align"),value:"justify"}],...B},{id:"list",type:"toggle-dev",position:40,disabled:M,choices:[{icon:"nc-list-numbers",title:(0,a.t)("List"),value:"ordered"},{icon:"nc-list-bullet",title:(0,a.t)("List"),value:"bullet"},{icon:"nc-list-default",title:(0,a.t)("List"),value:""}],...B},{id:"bold",type:"button",icon:"nc-bold",title:(0,a.t)("Bold"),position:50,disabled:M,value:e.bold,onChange:e=>t({bold:e})},{id:"italic",type:"button",icon:"nc-italic",title:(0,a.t)("Italic"),position:60,disabled:M,value:e.italic,onChange:e=>t({italic:e})},{id:"underline",type:"button",icon:"nc-tp-underline",title:(0,a.t)("Underline"),position:65,disabled:M,value:e.underline,onChange:e=>t({underline:e})},{id:"strike",type:"button",icon:"nc-tp-strike",title:(0,a.t)("Strike"),position:70,disabled:M,value:e.strike,onChange:e=>t({strike:e})},{id:"capitalize",type:"button",icon:"nc-tp-capitalize",title:(0,a.t)("Uppercase"),position:75,disabled:M,value:e.capitalize,onChange:e=>t({capitalize:e?"on":null})},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",size:"medium",title:(0,a.t)("Link")},disabled:k,position:80,options:[{id:"linkType",type:"tabs",config:{saveTab:!0},tabs:[{id:"page",label:(0,a.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!S,label:(0,a.t)("Type"),devices:"desktop",choices:{load:()=>(0,i.getCollectionTypes)(v),emptyLoad:{title:(0,a.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,a.t)("Find Page"),devices:"desktop",disabled:!I,config:{postType:I},dependencies:o=>e.textPopulation?o:t({link:(0,p.handleChangePage)(e,o)})}]},{id:"external",label:(0,a.t)("URL"),options:[{...(0,u.toolbarLinkExternal)({v:e,config:b.dynamicContent.config}),disabled:"desktop"!==y,...e.textPopulation?{}:{value:{value:e.linkExternal,population:{population:e.linkPopulation,populationEntityType:e.linkPopulationEntityType,populationEntityId:e.linkPopulationEntityId}},onChange:(o,r)=>{let{value:n,population:i}=o,{changed:a,changeEvent:l}=r;"blur"!==l&&"population"!==a||t({link:(0,d.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:n,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:"value"!==a&&i?"population":"external",population:i.population,populationEntityType:i.populationEntityType,populationEntityId:i.populationEntityId,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}},{id:"linkExternalBlank",type:"switch-dev",label:(0,a.t)("Open In New Tab"),disabled:"desktop"!==y,...e.textPopulation?{}:{dependencies:o=>{let{linkExternalBlank:r}=o;t({link:(0,d.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:r,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,populationEntityId:e.linkPopulationEntityId,populationEntityType:e.linkPopulationEntityType,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}},{id:"linkExternalRel",type:"switch-dev",label:(0,a.t)("Make it Nofollow"),disabled:"desktop"!==y,...e.textPopulation?{}:{dependencies:o=>{let{linkExternalRel:r}=o;return t({link:(0,d.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:r,externalType:e.linkExternalType,population:e.linkPopulation,populationEntityId:e.linkPopulationEntityId,populationEntityType:e.linkPopulationEntityType,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}}]},{id:"anchor",label:(0,a.t)("Block"),options:[{...(0,u.toolbarLinkAnchor)({v:e}),disabled:"desktop"!==y||(0,l.isPopup)(v)||(0,l.isStory)(v),...e.textPopulation?{}:{onChange:o=>t({link:(0,d.encodeToString)({type:e.linkType,anchor:o?`#${o}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,populationEntityId:e.linkPopulationEntityId,populationEntityType:e.linkPopulationEntityType,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}]},{id:"upload",label:(0,a.t)("File"),disabled:"desktop"!==y,options:[{id:"linkUpload",label:(0,a.t)("File"),type:"fileUpload-dev",disabled:!g||"desktop"!==y,...e.textPopulation?{}:{dependencies:o=>{let{linkUpload:r}=o;t({link:(0,d.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,populationEntityId:e.linkPopulationEntityId,populationEntityType:e.linkPopulationEntityType,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:r,linkToSlide:e.linkToSlide})})}}}]},{id:"popup",label:(0,a.t)("Popup"),options:[{...(0,u.toolbarLinkPopup)({v:e,component:h,canDelete:"desktop"===y}),disabled:_||w,...e.textPopulation?{}:{onChange:o=>{let{value:r,popups:n}=o;return t({link:(0,d.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,populationEntityId:e.linkPopulationEntityId,populationEntityType:e.linkPopulationEntityType,popup:r?`#${r}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide}),popups:n})}}}]},{id:"linkToSlide",label:(0,a.t)("Slides"),options:[{id:"linkToSlide",type:"number-dev",label:(0,a.t)("Slide"),disabled:!w,config:{min:1,max:1e6},dependencies:o=>{let{linkToSlide:r}=o;t({link:(0,d.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,populationEntityId:e.linkPopulationEntityId,populationEntityType:e.linkPopulationEntityType,popup:e.linkPopup?`#${e.linkPopup}`:"",linkToSlide:r})})}}]}],value:e.linkType,...e.textPopulation?{}:{onChange:o=>{t({link:(0,d.encodeToString)({type:o,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,populationEntityId:e.linkPopulationEntityId,populationEntityType:e.linkPopulationEntityType,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})})}}}]},{id:"advancedSettings",type:"advancedSettings",icon:"nc-cog",disabled:!e.textPopulation,title:(0,a.t)("Settings"),devices:"desktop",position:110},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,a.t)("Settings")},roles:["admin"],position:110,disabled:Boolean(e.textPopulation),options:[{id:"marginTop",label:(0,a.t)("Gap Above"),type:"slider-dev",disabled:w,config:{min:0,max:100,step:1,units:[{value:"px",title:"px"}]},...B},{id:"marginBottom",label:(0,a.t)("Gap Below"),type:"slider-dev",disabled:w,config:{min:0,max:100,step:1,units:[{value:"px",title:"px"}]},...B},{id:"tag",label:(0,a.t)("HTML Tag"),type:"select-dev",className:"brz-control__select--small",disabled:T,choices:[{title:"P",value:"p"},{title:"H1",value:"h1"},{title:"H2",value:"h2"},{title:"H3",value:"h3"},{title:"H4",value:"h4"},{title:"H5",value:"h5"},{title:"H6",value:"h6"},{title:"PRE",value:"pre"}],...B},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog",align:"center"}}]},{size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash",align:"center"}}]}]}]}]}},8413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"checkTextIncludeTag",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{if(!e||!t)return!1;const o=new RegExp(`<${t} .*?>|<${t}>`,"gi");return null!==e.match(o)}},20825:(e,t)=>{"use strict";var o;function r(e){switch(e){case o.P:return"typography";case o.H1:return"h1";case o.H2:return"h2";case o.H3:return"h3";case o.H4:return"h4";case o.H5:return"h5";case o.H6:return"h6"}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{TypographyTags:function(){return o},tagId:function(){return r}}),function(e){e.P="P",e.H1="H1",e.H2="H2",e.H3="H3",e.H4="H4",e.H5="H5",e.H6="H6"}(o||(o={}))},55418:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{handleRenderText:function(){return d},getInnerElement:function(){return u},getStyles:function(){return p}});const r=o(70634),n=o(70377),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(97045),s=o(92213),c=o(16957),d=e=>()=>{const t="MacOS"===(0,c.detectOS)(),o=e.join(" + ");return t?`⌘ + ${o}`:`ctrl + ${o}`},u=()=>{let e;const{path:t,value:o}=(0,l.copiedElementNoRefsSelector)((0,s.getStore)().getState()),a=i.default.getAll();return o&&t.length>0&&(e=(0,r.getIn)((0,n.attachMenu)({model:o,config:a}),t)),e?(0,r.getIn)(e,["value","items",0])??null:null},p=(e,t)=>Object.entries(e).reduce(((e,o)=>{let[r,n]=o;return t.some((e=>r.includes(e)))&&(e[r]=n),e}),{})},23749:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(30317),n=function(e,t){let{index:o,length:n}=e;const{prepopulation:i,population:a}=this.quill.getFormat();if(!i&&!a){if(0===n){const[{domNode:e},n]=this.quill.getLine(o);let i,a;return e.textContent.length===n?(i=(new r.Delta).retain(o+1).insert(" \n",t.format),a=o+1):n>0?(i=(new r.Delta).retain(o).insert("\n",t.format),a=o+1):(i=(new r.Delta).retain(o).insert(" \n",t.format),a=o+2),this.quill.updateContents(i),void this.quill.setSelection(a,0)}return!0}},i=function(){const{prepopulation:e,population:t}=this.quill.getFormat();return!e&&!t},a={enter:{key:r.Keyboard.keys.ENTER,handler:n},"header enter":n,arrowUp:{key:38,handler:i},arrowDown:{key:40,handler:i}}},40122:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getStyle:function(){return l},default:function(){return s}});const r=(n=o(59810))&&n.__esModule?n:{default:n};var n;const i=o(81405);let a=r.default.import("blots/inline");function l(e){const{type:t,radialPosition:o,linearAngle:r,startPointer:n,finishPointer:a,startHex:l,finishHex:s,startOpacity:c,finishOpacity:d}=e;return`${t}(${"linear-gradient"===t?`${r}deg`:`circle ${o}px`}, ${(0,i.hexToRgba)(l,c)} ${n}%, ${(0,i.hexToRgba)(s,d)} ${a}%)`}class s extends a{static className="text-gradient";static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){const t=t=>{const o=e.getAttribute(t);return r=o,!isNaN(parseFloat(r))&&isFinite(r)?Number(o):o;var r},o=t("data-gradient_type");return o?{type:o,radialPosition:t("data-gradient_radial_position"),linearAngle:t("data-gradient_linear_angle"),startPointer:t("data-gradient_start_pointer"),finishPointer:t("data-gradient_finish_pointer"),activePointer:t("data-gradient_active_pointer"),startHex:t("data-gradient_start_hex"),finishHex:t("data-gradient_finish_hex"),startOpacity:t("data-gradient_start_opacity"),finishOpacity:t("data-gradient_finish_opacity"),startPalette:t("data-gradient_start_palette"),finishPalette:t("data-gradient_finish_palette")}:null}static setValue(e,t){if(!e)return;const{type:o,radialPosition:r,linearAngle:n,startPointer:i,finishPointer:a,activePointer:s,startHex:c,finishHex:d,startOpacity:u,finishOpacity:p,startPalette:f,finishPalette:m}=e,y=l(e);t.style.backgroundImage=y,t.classList.add("brz-image-gradient"),t.setAttribute("data-gradient_type",o),t.setAttribute("data-gradient_radial_position",r),t.setAttribute("data-gradient_linear_angle",n),t.setAttribute("data-gradient_start_pointer",i),t.setAttribute("data-gradient_finish_pointer",a),t.setAttribute("data-gradient_active_pointer",s),t.setAttribute("data-gradient_start_hex",c),t.setAttribute("data-gradient_finish_hex",d),t.setAttribute("data-gradient_start_opacity",u),t.setAttribute("data-gradient_finish_opacity",p),t.setAttribute("data-gradient_start_palette",f),t.setAttribute("data-gradient_finish_palette",m)}static removeValue(e){e.style.backgroundImage=null,e.removeAttribute("data-gradient_type"),e.removeAttribute("data-gradient_radial_position"),e.removeAttribute("data-gradient_linear_angle"),e.removeAttribute("data-gradient_start_pointer"),e.removeAttribute("data-gradient_finish_pointer"),e.removeAttribute("data-gradient_active_pointer"),e.removeAttribute("data-gradient_start_hex"),e.removeAttribute("data-gradient_finish_hex"),e.removeAttribute("data-gradient_start_opacity"),e.removeAttribute("data-gradient_finish_opacity"),e.removeAttribute("data-gradient_start_palette"),e.removeAttribute("data-gradient_finish_palette")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}s.blotName="backgroundGradient",s.tagName="span"},38646:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=s(o(59810)),n=s(o(22546)),i=o(19057),a=o(68914),l=o(39030);function s(e){return e&&e.__esModule?e:{default:e}}let c=r.default.import("blots/inline");class d extends c{static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){let t=e.getAttribute("data-image_src"),o=e.getAttribute("data-image_population");if(t||o){const r=parseInt(e.style.backgroundPositionX)||null,n=parseInt(e.style.backgroundPositionY)||null,i=parseInt(e.getAttribute("data-image_width"))||null,a=parseInt(e.getAttribute("data-image_height"))||null,l=e.getAttribute("data-image_extension"),s=e.getAttribute("data-image_file_name")||"image";return e.classList.contains("brz-population-mask")||(o=null),{imageSrc:t,imageWidth:i,imageHeight:a,imageExtension:l,imageFileName:s,imagePositionX:r,imagePositionY:n,imagePopulation:o}}return null}static setValue(e,t){const{imageSrc:o,imageFileName:r,imageExtension:s,imageWidth:c,imageHeight:d,imagePositionX:u,imagePositionY:p,imagePopulation:f}=e;if(f)t.style.backgroundImage=null,t.style.backgroundPosition="50% 50%",t.classList.add("brz-population-mask"),t.classList.remove("brz-population-mask__style"),t.classList.remove("brz-text-mask"),t.setAttribute("data-image_population",f),requestAnimationFrame((()=>{const e=t.closest("[data-item_id]").getAttribute("data-item_id"),o=n.default.getAll().dynamicContent;o?.liveInBuilder?(0,l.getImagePopulation)(f,e).then((e=>{e&&(t.style.backgroundImage=`url('${e}')`,t.classList.add("brz-population-mask__style"))})):(t.style.backgroundImage=`url('${f}')`,t.classList.add("brz-population-mask__style"))}));else if(o){const e=(0,a.getImageUrl)({fileName:r,uid:o,sizeType:i.SizeType.custom});t.classList.add("brz-text-mask"),t.classList.remove("brz-population-mask"),t.classList.remove("brz-population-mask__style"),t.style.backgroundImage=`url('${e}')`,t.style.backgroundPosition=`${u}% ${p}%`,t.removeAttribute("data-image_population"),t.setAttribute("data-image_src",o),t.setAttribute("data-image_file_name",r),t.setAttribute("data-image_width",c),t.setAttribute("data-image_height",d),t.setAttribute("data-image_extension",s)}else this.removeValue(t)}static removeValue(e){e.style.backgroundImage=null,e.style.backgroundPosition=null,e.classList.remove("brz-text-mask"),e.classList.remove("brz-population-mask"),e.classList.remove("brz-population-mask__style"),e.removeAttribute("data-image_population"),e.removeAttribute("data-image_src"),e.removeAttribute("data-image_file_name"),e.removeAttribute("data-image_width"),e.removeAttribute("data-image_height"),e.removeAttribute("data-image_extension")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}d.blotName="backgroundImage",d.tagName="span"},71419:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("parchment");class i extends n.Attributor.Style{value(e){let t=super.value(e);return t.startsWith("rgb(")?(t=t.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+t.split(",").map((function(e){return("00"+parseInt(e,10).toString(16)).slice(-2)})).join("")):t}}const a=new i("block-color","color",{scope:n.Scope.BLOCK})},69796:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("parchment");class i extends n.Attributor.Style{}const a=new i("block-opacity","opacity",{scope:n.Scope.BLOCK})},59532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=(n=o(59810))&&n.__esModule?n:{default:n};var n;let i=r.default.import("parchment");const a=r.default.import("formats/list"),l=r.default.import("formats/list/item");class s extends l{format(e,t){e!==a.blotName||t?(super.format(e,t),this.copyFormatToParent("color","block-color"),this.copyFormatToParent("opacity","block-opacity"),this.copyFormatToParent("colorPalette","block-colorPalette")):this.replaceWith(i.create(this.statics.scope))}copyFormatToParent(e,t){if(1===this.children.length){const o=this.children.head,{attributes:r={}}=o.attributes||{};if(r[e]){const n=r[e].value(o.domNode);super.format(t,n),"color"===e&&super.format("block-colorPalette",null),"colorPalette"===e&&super.format("block-color",null)}}else this.attributes.hasOwnProperty(t)&&super.format(t,null)}optimize(e){super.optimize(e),this.copyFormatToParent("color","block-color"),this.copyFormatToParent("opacity","block-opacity")}}},67679:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("blots/block");class i extends n{static className="text-block";static create(e){const t=super.create(e);return t.classList.add("brz-tp__dc-block-st1"),t}static formats(){return!0}format(e,t){if(e!==this.statics.blotName||!t)return super.format(e,t);this.domNode.classList.add("brz-tp__dc-block-st1")}}i.blotName="dcBlock",i.tagName="div",i.className="brz-tp__dc-block";const a=i},8817:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(59810))&&n.__esModule?n:{default:n};var n;const i=o(6085),a=r.default.import("formats/link");class l extends a{static create(e){let t=super.create(e);return e=this.sanitize(e),this.setAttributes(t,e),t}static formats(e){return e.getAttribute("data-href")}static setAttributes(e,t){const o=(0,i.decodeFromString)(t),{type:r,linkToSlide:n}=o;e.removeAttribute("href"),e.removeAttribute("target"),e.setAttribute("data-href",t),e.classList.remove("link--anchor","link--external","link--popup","link--story","link--upload","is-empty"),"anchor"===r&&e.classList.add("link--anchor"),"external"===r&&e.classList.add("link--external"),"popup"===r&&e.classList.add("link--popup"),"upload"===r&&e.classList.add("link--upload"),"linkToSlide"===r&&(e.classList.add("link--story"),e.setAttribute("data-brz-link-story",n)),o[r]||e.classList.add("is-empty")}format(e,t){if(e!==this.statics.blotName||!t)return super.format(e,t);t=this.constructor.sanitize(t),this.constructor.setAttributes(this.domNode,t)}}},40888:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(59810))&&n.__esModule?n:{default:n};var n;const i=r.default.import("modules/clipboard"),a=r.default.import("delta");class l extends i{onPaste(e){if(e.defaultPrevented||!this.quill.isEnabled())return;const t=this.quill.getSelection();if(!t)return;let o=(new a).retain(t.index);const n=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(r.default.sources.SILENT);const i=this.quill.getFormat(t);setTimeout((()=>{o=o.concat(this.convert()).delete(t.length),o.ops.forEach((e=>{if("string"==typeof e.insert){const t=e?.attributes?.header??null;e.attributes={...i,...e?.attributes,...t?{typographyFontStyle:`heading${t}`}:{}}}return e})),this.quill.updateContents(o,r.default.sources.USER),this.quill.setSelection(o.length()-t.length,0,r.default.sources.SILENT),this.quill.scrollingContainer.scrollTop=n,this.quill.focus()}),1)}}},64567:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("blots/inline");class i extends n{static className="text-population";static create(e){const t=super.create(e);return this.setValue(e,t),t}static formats(e){return e.getAttribute("data-population")||null}static setValue(e,t){e&&t.setAttribute("data-population",e)}static removeValue(e){e.removeAttribute("data-population")}format(e,t){e!==this.statics.blotName?super.format(e,t):t?this.constructor.setValue(t,this.domNode):this.constructor.removeValue(this.domNode)}}i.blotName="population",i.tagName="span"},20301:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=((r=o(59810))&&r.__esModule?r:{default:r}).default.import("blots/block");class i extends n{}i.blotName="pre",i.tagName="pre";const a=i},42412:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{mapBlockElements:function(){return S},parseShadow:function(){return x},getFormats:function(){return k},dcItemOptionParser:function(){return M},createLabel:function(){return O},handleChangePage:function(){return E}});const r=o(47885),n=o(35671),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(81263),s=o(81405),c=o(9644),d=o(49863),u=o(68256),p=b(o(48630)),f=b(o(63300)),m=o(6085),y=o(22741),g=o(44643);function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const v=o(65311);function S(e,t){let o=function(e){return v(`
${e}
`)}(e);const r=function(e){return e.find(":header, p, pre, li, div:not(.brz-temp-div)")}(o);return r.each(((e,o)=>t(v(o)))),o.html()}const w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(0, 0, 0, 1)";return e=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i),e?{hex:`#${t(e[1])}${t(e[2])}${t(e[3])}`,opacity:e[4]}:e;function t(e){return("0"+parseInt(e,10).toString(16)).slice(-2)}},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(e.includes("var")){const t=/rgba\(var\((.*?)\),(\d+(?:\.\d+)?)\)+\s+(\d+px)\s?(\d+px)\s?(\d+px)/,[,o,r,n,i,a]=t.exec(e)??[],l=(e=>getComputedStyle(document.documentElement).getPropertyValue(e))(o),s=w(`rgba(${l}, ${r})`);return l&&s?{textShadowColorHex:s.hex??"#000000",textShadowColorOpacity:s.opacity??1,textShadowVertical:parseInt(i??5),textShadowHorizontal:parseInt(n??5),textShadowBlur:parseInt(a??5)}:{}}const[,t,o]=e.split(", rgb")[0].match(/^(rgb.*\)) (.*)/)||[];let r="#000000",n=0,i=0,a=0,l=0;if(t&&o){let{hex:e,opacity:s}=w(t);const[c,d,u]=o.split(" ");r=e,n=isNaN(parseFloat(s))?1:s,i=parseInt(d),a=parseInt(c),l=parseInt(u)}return{textShadowColorHex:r,textShadowColorOpacity:n,textShadowVertical:i,textShadowHorizontal:a,textShadowBlur:l}},P=(e,t)=>{let{header:o,pre:r}=e;const n=t.closest("pre"),i=n.prop("tagName")?n.prop("tagName").toLowerCase():null,a=t.closest("p, h1, h2, h3, h4, h5, h6"),l=a.prop("tagName")?a.prop("tagName").toLowerCase():null;return i||l},C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"{}";const{type:t="page",anchor:o="",external:r="",internal:n="",pageTitle:i="",externalBlank:a="off",externalRel:l="off",population:s="",populationEntityType:c="",populationEntityId:d="",externalType:u="page",popup:p="",upload:f="",linkToSlide:y=1}=(0,m.decodeFromString)(e);return{linkType:t,linkAnchor:o.replace("#",""),linkExternal:r,linkExternalBlank:a,linkExternalRel:l,linkPopulation:s,linkPopulationEntityId:d,linkPopulationEntityType:c,linkExternalType:u,linkPopup:p.replace("#",""),linkUpload:f,linkToSlide:y,linkPage:n,linkPageTitle:i}},T=e=>{if((0,y.isNullish)(e))return{};const{imagePopulation:t}=e,o=(0,c.explodePlaceholder)(t??void 0),r=o?.content?{imagePopulation:o.content,imagePopulationEntityId:o.attr?.entityId??"",imagePopulationEntityType:o.attr?.entityType??""}:{};return{...e,...r}},_=(e,t)=>{if((0,y.isNullish)(e))return null;const o=(0,c.explodePlaceholder)(e);if(o?.content){const e=i.default.getAll(),r=(0,u.getDynamicContentChoices)(e.dynamicContent.groups,l.DCTypes.richText);return{population:o.content,label:t.closest("[data-population]").text()?.trim(),display:(0,n.findDCChoiceByPlaceholder)({choices:r,placeholder:o.content})?.display??"inline"}}return null},k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=(0,g.classNamesToV)(e.closest("p, :header, pre, li, div.brz-tp__dc-block").attr("class")?.split(" ")??[]);t=(e=>Object.entries(e).reduce(((e,t)=>{let[o,r]=t;return e[o]=Array.isArray(r)?r[0]:r,e}),{}))(t);const r=e.css("color"),n=e.css("opacity"),i=t.populationColor?{populationColor:(0,m.decodeFromString)(t.populationColor)}:{populationColor:{p:{hex:null,opacity:1,colorPalette:null},h1:{hex:null,opacity:1,colorPalette:null},h2:{hex:null,opacity:1,colorPalette:null},h3:{hex:null,opacity:1,colorPalette:null},h4:{hex:null,opacity:1,colorPalette:null},h5:{hex:null,opacity:1,colorPalette:null},h6:{hex:null,opacity:1,colorPalette:null}}};let a=t.color?t.color:r;(0,s.isHex)(a)||(a=w(a).hex);const l=t.opacity||n,c=isNaN(l)?1:l,d=t.colorPalette?t.colorPalette.split(",")[0]:"",u=t.backgroundGradient?t.backgroundGradient.startHex:a,p=t.backgroundGradient?t.backgroundGradient.startOpacity:c;return{...o,bold:t.bold??"",italic:t.italic??"",underline:t.underline??"",strike:t.strike??"",capitalize:t.capitalize??"",color:{hex:a,opacity:c},colorPalette:d,bgColorPalette:d,bgColorOpacity:p,bgColorHex:u,...x(t.shadow),textShadowColorPalette:t.shadowColorPalette||null,...T(t.backgroundImage),backgroundGradient:t.backgroundGradient||null,...C(t.link),...i,list:t.list??"",population:_(t.population,e),prepopulation:t.prepopulation?e.closest(".brz-pre-population-visible").text():null,tagName:P(t,e)}},M=(0,r.parseStrict)({label:(0,d.pipe)((0,r.mPipe)((0,r.pass)(p.isObject),p.readKey("label"),f.read),(0,y.throwOnNullish)("Invalid label")),placeholder:(0,d.pipe)((0,r.mPipe)((0,r.pass)(p.isObject),p.readKey("placeholder"),f.read),(0,y.throwOnNullish)("Invalid placeholder")),display:(0,d.pipe)((0,r.mPipe)((0,r.pass)(p.isObject),p.readKey("display"),f.read),(0,y.onNullish)("inline")),alias:(0,r.optional)((e=>f.read(e.alias)))}),O=e=>`#${e}`,E=(e,t)=>{const{linkPage:o,linkPageTitle:r}=t;return(0,m.encodeToString)({type:e.linkType,anchor:e.linkAnchor?`#${e.linkAnchor}`:"",internal:o,pageTitle:r,external:e.linkExternal,externalBlank:e.linkExternalBlank,externalRel:e.linkExternalRel,externalType:e.linkExternalType,population:e.linkPopulation,populationEntityId:e.linkPopulationEntityId,populationEntityType:e.linkPopulationEntityType,popup:e.linkPopup?`#${e.linkPopup}`:"",upload:e.linkUpload,linkToSlide:e.linkToSlide})}},30317:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Delta:function(){return g},Keyboard:function(){return h},default:function(){return b}});const r=y(o(59810)),n=y(o(8817)),i=y(o(71419)),a=y(o(69796)),l=y(o(59532)),s=y(o(64567)),c=y(o(20301)),d=y(o(67679)),u=y(o(38646)),p=y(o(40122)),f=y(o(40888)),m=o(44643);function y(e){return e&&e.__esModule?e:{default:e}}{const v=r.default.import("parchment");function S(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"class";const r={scope:"inline"===(arguments.length>3&&void 0!==arguments[3]?arguments[3]:"block")?v.Scope.INLINE:v.Scope.BLOCK};switch(o){case"class":return new v.Attributor.Class(e,t,r);case"style":return new v.Attributor.Style(e,t,r);default:return new v.Attributor.Attribute(e,t,r)}}function w(e,t){Object.entries(e).forEach((e=>{let[o,n]=e;n&&Object.entries(n).forEach((e=>{let[n,{prefix:i}]=e;const a=S(n,i,o,t);r.default.register(a)}))}))}r.default.debug("error"),w(m.legacyValues,"block"),w(m.blockValues,"block"),w(m.inlineValues,"inline"),r.default.register(S("generated-css","data-generated-css","attribute")),r.default.register(S("uniq-id","data-uniq-id","attribute")),r.default.register(u.default),r.default.register(s.default),r.default.register(n.default),r.default.register(i.default),r.default.register(a.default),r.default.register(l.default),r.default.register(c.default,!0),r.default.register(d.default,!0),r.default.register(p.default,!0),r.default.register("modules/clipboard",f.default,!0)}const g=r.default.import("delta"),h=r.default.import("modules/keyboard"),b=r.default},39030:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImagePopulation",{enumerable:!0,get:function(){return n}});const r=o(42582),n=async(e,t)=>{if(!t||!e)return"";const o={postId:t};return r.DCApiProxyInstance.getFromCache(e,o)||await r.DCApiProxyInstance.getDC([e],o).then((e=>e[0])).catch((()=>""))}},32389:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{legacyValues:function(){return i},blockValues:function(){return a},inlineValues:function(){return l},customValues:function(){return s},currentBlockValues:function(){return c},currentValues:function(){return d},allValues:function(){return u}});const r=(n=o(33979))&&n.__esModule?n:{default:n};var n;const i={class:{typographyFontStyle:{prefix:"brz-tp",defaultValue:"paragraph"},tabletTypographyFontSize:{prefix:"brz-fs-sm-im",defaultValue:null},mobileTypographyFontSize:{prefix:"brz-fs-xs-im",defaultValue:null},tabletTypographyFontSizeSuffix:{prefix:"brz-fs-s-sm-im",defaultValue:null},mobileTypographyFontSizeSuffix:{prefix:"brz-fs-s-xs-im",defaultValue:null},tabletTypographyLineHeight:{prefix:"brz-lh-sm-im",defaultValue:null},mobileTypographyLineHeight:{prefix:"brz-lh-xs-im",defaultValue:null},tabletTypographyFontWeight:{prefix:"brz-fw-sm-im",defaultValue:null},mobileTypographyFontWeight:{prefix:"brz-fw-xs-im",defaultValue:null},tabletTypographyLetterSpacing:{prefix:"brz-ls-sm-im",defaultValue:null},mobileTypographyLetterSpacing:{prefix:"brz-ls-xs-im",defaultValue:null}},style:{},attribute:{}},a={class:{typographyFontStyle:{prefix:"brz-tp-lg",defaultValue:""},tabletTypographyFontStyle:{prefix:"brz-tp-sm",defaultValue:null},mobileTypographyFontStyle:{prefix:"brz-tp-xs",defaultValue:null},typographyFontFamily:{prefix:"brz-ff",defaultValue:"lato"},typographyFontFamilyType:{prefix:"brz-ft",defaultValue:"google"},typographyFontSize:{prefix:"brz-fs-lg",defaultValue:16},tabletTypographyFontSize:{prefix:"brz-fs-sm",defaultValue:null},mobileTypographyFontSize:{prefix:"brz-fs-xs",defaultValue:null},typographyFontSizeSuffix:{prefix:"brz-fss-lg",defaultValue:"px"},tabletTypographyFontSizeSuffix:{prefix:"brz-fss-sm",defaultValue:null},mobileTypographyFontSizeSuffix:{prefix:"brz-fss-xs",defaultValue:null},typographyFontWeight:{prefix:"brz-fw-lg",defaultValue:400},tabletTypographyFontWeight:{prefix:"brz-fw-sm",defaultValue:null},mobileTypographyFontWeight:{prefix:"brz-fw-xs",defaultValue:null},typographyLineHeight:{prefix:"brz-lh-lg",defaultValue:1.3},tabletTypographyLineHeight:{prefix:"brz-lh-sm",defaultValue:null},mobileTypographyLineHeight:{prefix:"brz-lh-xs",defaultValue:null},typographyLetterSpacing:{prefix:"brz-ls-lg",defaultValue:0},tabletTypographyLetterSpacing:{prefix:"brz-ls-sm",defaultValue:null},mobileTypographyLetterSpacing:{prefix:"brz-ls-xs",defaultValue:null},contentHorizontalAlign:{prefix:"brz-text-lg",defaultValue:"left"},tabletContentHorizontalAlign:{prefix:"brz-text-sm",defaultValue:null},mobileContentHorizontalAlign:{prefix:"brz-text-xs",defaultValue:null},marginTop:{prefix:"brz-mt-lg",defaultValue:0},tabletMarginTop:{prefix:"brz-mt-sm",defaultValue:null},mobileMarginTop:{prefix:"brz-mt-xs",defaultValue:null},marginBottom:{prefix:"brz-mb-lg",defaultValue:0},tabletMarginBottom:{prefix:"brz-mb-sm",defaultValue:null},mobileMarginBottom:{prefix:"brz-mb-xs",defaultValue:null},"block-colorPalette":{prefix:"brz-bcp",defaultValue:""}},style:{},attribute:{}},l={class:{colorPalette:{prefix:"brz-cp",defaultValue:""},shadowColorPalette:{prefix:"brz-scp",defaultValue:""},prepopulation:{prefix:"brz-pre-population",defaultValue:""},capitalize:{prefix:"brz-capitalize",defaultValue:"off"}},style:{opacity:{prefix:"opacity",defaultValue:1},shadow:{prefix:"text-shadow",defaultValue:""}},attribute:{populationColor:{prefix:"data-color",defaultValue:""}}},s={},c=r.default.all([a,s]),d=r.default.all([c,l]),u=r.default.all([d,i])},44643:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{blockValues:function(){return n.blockValues},inlineValues:function(){return n.inlineValues},customValues:function(){return n.customValues},currentBlockValues:function(){return n.currentBlockValues},legacyValues:function(){return n.legacyValues},VToClassNames:function(){return i},classNamesToV:function(){return a},classNamesToV2:function(){return l},getDefaultValues:function(){return s},getElementValues:function(){return c},formatVToQuilValue:function(){return d}});const r=o(78438),n=o(32389),i=e=>Object.entries(e).reduce(((e,t)=>{let[o,r]=t,i=function(e){const t={};return Object.entries(n.currentValues).forEach((e=>{let[,o]=e;Object.entries(o).forEach((e=>{let[o,{prefix:r}]=e;t[o]=r}))})),t[e]}(o);return i=`${i}-${r}`,e.push(i),e}),[]).join(" "),a=e=>l(e).v,l=e=>{const t=s(),o=c(e);return{v:{...t,...o},vs:{},vd:t}},s=()=>{const e={};return Object.entries(n.currentBlockValues).forEach((t=>{let[,o]=t;Object.entries(o).forEach((t=>{let[o,{defaultValue:r}]=t;e[o]=r}))})),e},c=e=>{const t={};if(e.length){const o=new RegExp("^(.*)-(.*$)");e.forEach((e=>{const i=e.match(o);if(i){const[,e,o]=i,a=function(e){const t={};return Object.entries(n.currentValues).forEach((e=>{let[,o]=e;Object.entries(o).forEach((e=>{let[o,{prefix:r}]=e;t[r]=o}))})),Object.entries(n.legacyValues).forEach((e=>{let[,o]=e;Object.entries(o).forEach((e=>{let[o,{prefix:r}]=e;t[r]=o}))})),t[e]}(e);t[a]=function(e){return"empty"===e?"":void 0===e?null:(e.includes(",")&&(e=e.split(",")[0]),(0,r.isNumeric)(e.replace("m_","-").replace("_","."))?Number(e.replace("m_","-").replace("_",".")):e)}(o)}}))}return t};function d(e){return""===e?"empty":(0,r.isNumeric)(e)?String(e).replace(".","_").replace("-","m_"):e}},95957:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return E}});const r=T(o(33979)),n=T(o(27378)),i=o(70634),a=T(o(10301)),l=o(39552),s=T(o(24072)),c=T(o(49127)),d=T(o(20013)),u=o(67439),p=o(81504),f=T(o(10787)),m=T(o(22546)),y=o(97045),g=o(92213),h=o(64985),b=o(78438),v=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(73904)),S=o(69321),w=o(94306),x=o(6085),P=T(o(89871)),C=o(23875);function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}const k=m.default.getAll(),M=e=>Math.round(10*e)/10;class O extends f.default{static get componentId(){return"Row.Items"}static defaultProps={containerClassName:"",meta:{},itemProps:{}};nodeRef=n.default.createRef();columnWidths=null;popoverData=null;state={patch:null,isDragging:!1,deltaX:0};getDBValue(){return this.state.patch?(0,i.mergeDeep)(this.props.dbValue,this.state.patch):this.props.dbValue}handleValueChange(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{arrayOperation:o}=t,r="insert"===o||"remove"===o,n=r?(0,C.normalizeRowColumns)(e):e;r&&(this.columnWidths=this.getColumnWidthsInPx()),super.handleValueChange(n,t)}componentDidMount(){this.columnWidths=this.getColumnWidthsInPx()}handleColumnResizeStart=(e,t,o)=>{const r=this.nodeRef.current;this.columnWidths=this.getColumnWidthsInPx(),this.containerWidth=(0,C.getElemWidthWithoutPaddings)(r),this.handleColumnResize(e,t,o)};handleColumnResizeEnd=(e,t)=>{this.setState({patch:null,isDragging:!1},(()=>this.handleColumnResize(e,this.state.deltaX,t))),this.containerWidth=null,this.popoverData=null};handleColumnResize=(e,t,o)=>{const{col1Index:r}=this.getColumnIndexesByPosition(e,o),n=this.columnWidths[r]+t,i=M(100*n/this.containerWidth);this.state.isDragging&&this.setState({deltaX:t}),this.changeColumnWidths(e,i,o)};changeColumnWidths(e,t,o){const r=this.getDBValue(),n=(0,y.deviceModeSelector)((0,g.getStore)().getState()),a=(0,S.defaultValueKey)({key:"width",device:n}),{min:l,max:s}=this.getColumnWidthLimitsPercent(e,o),{col1Index:c,col2Index:d}=this.getColumnIndexesByPosition(e,o);t=(0,b.clamp)(t,l,s);const u=M(t),p=[u];let f=(0,i.setIn)(r,[c,"value",a],u);if("desktop"===n){const e=this.getColumnWidthByIndex(c),o=this.getColumnWidthByIndex(d),r=M(e+(o-t));p.push(r),f=(0,i.setIn)(f,[d,"value",a],r)}this.popoverData=p,this.state.isDragging?this.setState((e=>({...e,patch:f}))):this.handleValueChange(f)}getColumnWidthByIndex(e){const t=this.getDBValue(),o=(0,y.deviceModeSelector)((0,g.getStore)().getState()),r=(0,S.defaultValueKey)({key:"width",device:o});switch(o){case"desktop":return v.read(t[e]?.value?.[r])??50;case"tablet":return v.read(t[e]?.value?.[r])??v.read(t[e]?.value?.width)??50}return v.read(t[e]?.value?.[r])??100}getColumnIndexesByPosition(e,t){let o=e,r=e+1;return this.props.dbValue.length-1===e&&(r=e-1,o=e),"left"===t&&(o=e-1,r=e),{col1Index:o,col2Index:r}}getColumnWidthLimitsPercent(e,t,o){if("desktop"!==(0,y.deviceModeSelector)((0,g.getStore)().getState()))return{min:5,max:100};const{col1Index:r,col2Index:n}=this.getColumnIndexesByPosition(e,t),i=this.getColumnWidthByIndex(r),a=this.getColumnWidthByIndex(n),l=o?.[r]||this.getColumnWidthsInPx()[r],s=p.MIN_COL_WIDTH*i/l,c=i+a-s,d=M(s),u=M(c);return{min:(0,b.isNumeric)(d)?d:5,max:(0,b.isNumeric)(u)?u:100}}getItemProps(e,t,o){const{isInner:n}=this.props.meta.row,i=1===o.length,a=(0,r.default)(this.props.meta,{row:{item:{index:t,isFirst:0===t,isLast:t===o.length-1,isOnly:i}}}),l={getItems:e=>{let{device:r}=e;const l=a.sectionPopup2||a.sectionPopup,s=o.length-1===t?"left":"right",{min:c,max:d}=this.getColumnWidthLimitsPercent(t,s,this.columnWidths),p=i?{}:{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,h.t)("Settings")},options:[{id:"width",label:(0,h.t)("Width"),type:"slider-dev",config:{min:c,max:d,inputMin:c,inputMax:d,step:.1,units:[{value:"%",title:"%"}]},position:105,dependencies:e=>{const o="desktop"!==r?(0,x.capByPrefix)(r,"width"):"width";this.changeColumnWidths(t,e[o],"right")}}]},f=[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},...this.canAddColumn()?[{id:"emptyItem",type:"button",icon:"nc-add",title:(0,h.t)("Add New Column"),position:100,onChange:()=>{this.addColumn(t+1)}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,h.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}}]:[],{id:"remove",type:"button",title:(0,h.t)("Delete"),icon:"nc-trash",disabled:i&&l&&!n,position:250,onChange:()=>{(0,u.hideToolbar)(),this.removeItem(t)}}];let m=[p];return"desktop"===r&&m.push(...f),m}},s=this.makeItemsToolbarPropsFromConfig2(l,null,{itemIndex:t});return{...this.props.itemProps,tabletReversed:this.props.tabletReversed,mobileReversed:this.props.mobileReversed,meta:a,toolbarExtend:s,popoverData:this.getPopoverData,onResizeStart:e=>{this.setState({isDragging:!0},(()=>this.handleColumnResizeStart(t,0,e)))},onResize:(e,o)=>this.handleColumnResize(t,e,o),onResizeEnd:e=>this.handleColumnResizeEnd(t,e)}}handleSortableAcceptElements=(e,t)=>{if("addable"===e.elementType&&"row"===e.elementNode.getAttribute("data-sortable-subtype"))return!1;const o=e.sortableNode===t.sortableNode,r=-1!==["column","shortcode","addable"].indexOf(e.elementType),n=t.sortableNode.children.length<6;return o||r&&n};getColumnWidthsInPx=()=>{const e=this.nodeRef.current;return e?a.default.map(e.children,(e=>e.getBoundingClientRect().width)):[]};getPopoverData=()=>this.popoverData;canAddColumn(){return this.getValue().length<6}addColumn(e){const t={...this.getValue()[0],value:{items:[],...(0,i.getIn)(k.contentDefaults.Row,["items",0,"value"])??{}}};this.insertItem(e,t)}renderItemWrapper(e,t,o){const r=(0,P.default)(o);return n.default.createElement(l.ContextMenuExtend,{key:t,...this.makeContextMenuProps(r)},n.default.createElement(s.default,{keyNames:["alt+N","ctrl+N","cmd+N","right_cmd+N","alt+D","alt+C","alt+V","alt+shift+V","shift+alt+V","alt+del","alt+up","alt+down"],shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","verticalAlign","showSidebarStyling","showSidebarAdvanced","width","tabletWidth","mobileWidth"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const{containerClassName:t}=this.props;return 0===e.length?n.default.createElement("div",{className:t},n.default.createElement(d.default,{path:this.getId(),type:"row",isGrid:!0,acceptElements:this.handleSortableAcceptElements})):n.default.createElement(c.default,{path:this.getId(),type:"row",isGrid:!0,acceptElements:this.handleSortableAcceptElements},((o,r)=>n.default.createElement("div",{...r,ref:e=>{(0,w.attachRef)(e,o),(0,w.attachRef)(e,this.nodeRef)},className:t},e)))}}const E=O},68774:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526),l={getItems:function(e,t){const o=Boolean(t.props.meta.sectionPopup),n=Boolean(t.props.meta.sectionPopup2);return[{id:"main",type:"group",icon:"nc-row",title:(0,i.t)("Row"),disabled:(t,i)=>"off"===e.showToolbar||o||n||(0,a.isPopup)(r.default.getAll())||i.isInSubMenu,items:[]}]}}},89871:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(67439),n=o(16957),i=o(64985),a="MacOS"===(0,n.detectOS)(),l=e=>a?e?"alt":"⌘":e?"alt":"ctrl",s=e=>({getItems:c(e)}),c=e=>(t,o)=>{const n=o.canAddColumn()?[{id:"duplicate",type:"button",title:(0,i.t)("Add New"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + N"},onChange(){o.addColumn(e+1)}}]:[],s=o.getCurrentCopiedElement(),c=s&&"Row"!==s.type;return[{id:"main",type:"group",items:[...n,{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + C"},onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + V"},inactive:!c,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + ⇧ + V"},inactive:!c,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:e=>{let{isInSubMenu:t}=e;return l(t)+" + D"},onChange(){o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:e=>{let{isInSubMenu:t}=e;return(e=>a?e?"alt + delete":"⌘ + delete":e?"alt + delete":"ctrl + delete")(t)},onChange(){(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},59300:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return $}});const r=V(o(60042)),n=U(o(27378)),i=V(o(45771)),a=V(o(25382)),l=V(o(80544)),s=V(o(39552)),c=V(o(36275)),d=o(62182),u=o(21407),p=V(o(1440)),f=o(10730),m=o(46338),y=o(91435),g=o(16874),h=o(76742),b=V(o(58566)),v=U(o(67439)),S=V(o(10787)),w=V(o(63692)),x=o(26989),P=V(o(22546)),C=o(97045),T=o(92213),_=o(94220),k=o(89787),M=o(16526),O=o(98517),E=o(81842),B=o(69321),z=U(o(24119)),I=o(48499),j=U(o(59638)),L=o(68934),F=V(o(95957)),N=V(o(68774)),D=V(o(66482)),R=U(o(86470)),A=o(73382),H=U(o(65758)),W=U(o(21275));function V(e){return e&&e.__esModule?e:{default:e}}function G(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(G=function(e){return e?o:t})(e)}function U(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=G(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class q extends w.default{static get componentId(){return"Row"}static defaultProps={meta:{}};static defaultValue=D.default;static experimentalDynamicContent=!0;mounted=!1;toolbarRef=n.default.createRef();componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1}handleValueChange(e,t){const o=Boolean(this.props.meta.sectionPopup),r=Boolean(this.props.meta.sectionPopup2);0!==e.items.length||o&&r&&(0,M.isPopup)(P.default.getAll())?super.handleValueChange(e,t):this.selfDestruct()}handleToolbarEscape=()=>{this.toolbarRef.current.show()};getMeta(e){const{meta:t}=this.props,o=(0,L.styleSizeSize)({v:e,device:"desktop"}),r=(0,L.styleSizeSize)({v:e,device:"tablet"}),n=(0,L.styleSizeSize)({v:e,device:"mobile"}),{w:i,wNoSpacing:a}=(0,k.getContainerW)({v:e,w:t.desktopW,wNoSpacing:t.desktopWNoSpacing,width:o,device:"desktop"}),{w:l,wNoSpacing:s}=(0,k.getContainerW)({v:e,w:t.tabletW,wNoSpacing:t.tabletWNoSpacing,width:r,device:"tablet"}),{w:c,wNoSpacing:d}=(0,k.getContainerW)({v:e,w:t.mobileW,wNoSpacing:t.mobileWNoSpacing,width:n,device:"mobile"});return Object.assign({},t,{row:{isInner:this.isInnerRow(),itemsLength:e.items.length},inGrid:!0,desktopW:i,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d})}isInnerRow(){const{meta:e}=this.props;return void 0!==e.row}dvv=e=>{const t=this.getValue(),o=(0,C.deviceModeSelector)(this.getReduxState()),r=z.mRead(t.tabsState);return(0,B.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,B.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,_.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,A.styleAnimation)(e,t,o)))};renderToolbar=e=>n.default.createElement(v.default,{...this.makeToolbarPropsFromConfig2(H,R),ref:this.toolbarRef},n.default.createElement(b.default,null,n.default.createElement(e,{className:"brz-ed-border__button--row"})));getHoverData=e=>{const t=j.read(this.dvv("hoverName"))??"none",o=(0,f.makeOptionValueToAnimation)(e);return{hoverName:t,options:(0,u.getHoverAnimationOptions)(o,t),animationId:this.getId(),isHidden:"none"===t}};renderContent(e,t,o){const{className:i,mobileReverseColumns:l,tabletReverseColumns:s}=e,c=(0,r.default)("brz-row",{"brz-row--inner":this.isInnerRow()},i,(0,_.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,A.styleContainer)(e,t,o))),d=this.makeSubcomponentProps({bindWithKey:"items",containerClassName:c,toolbarExtend:this.makeToolbarPropsFromConfig2(W,null,{allowExtend:!1}),meta:this.getMeta(e),tabletReversed:s,mobileReversed:l});return n.default.createElement(a.default,{value:e,meta:this.getMeta(e)},n.default.createElement(F.default,d))}renderPopups(){const e=this.makeSubcomponentProps({bindWithKey:"popups",itemProps:e=>{let{blockId:t,value:{popupId:o}}=e;return"GlobalBlock"===e.type&&(o=(0,C.blocksDataSelector)((0,T.getStore)().getState())[e.value._id].value.popupId),{blockId:t,instanceKey:`${this.getId()}_${o}`}}});return n.default.createElement(S.default,e)}renderForEdit(e,t,o){const{className:a,customClassName:u,showToolbar:p,cssClass:f,customAttributes:b}=e,S=(0,O.getCSSId)(e),w=(0,r.default)("brz-row__container",a,(0,_.css)(`${this.constructor.componentId}-row`,`${this.getId()}-row`,(0,A.styleRow)(e,t,o)),f||u),P=this.getAnimationClassName(e,t,o);if("off"===p)return n.default.createElement(h.SortableElement,{type:"row",useHandle:!0},(r=>n.default.createElement(i.default,{component:"div",componentProps:r,className:w,animationClass:P},this.renderContent(e,t,o))));const{options:k,hoverName:M,isHidden:E,animationId:B}=this.getHoverData(e),z=n.default.createElement(y.ScrollMotion,{options:(0,g.makeOptionValueToMotion)(e)},n.default.createElement(d.HoverAnimation,{animationId:B,cssKeyframe:M,options:k,target:"parent",isHidden:E},this.renderContent(e,t,o)));return n.default.createElement(n.Fragment,null,n.default.createElement(h.SortableElement,{type:"row",useHandle:!0},(t=>n.default.createElement(s.default,this.makeContextMenuProps(N.default),n.default.createElement(l.default,{type:"row",color:"grey",activeBorderStyle:"dotted",activateOnContentClick:!1,buttonPosition:"topLeft",renderButtonWrapper:this.renderToolbar},(o=>{let{ref:r,attr:a,button:l,border:s}=o;return n.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(i.default,{ref:r,component:"div",componentProps:{...(0,I.parseCustomAttributes)(b),...t,...a,...S&&{id:S},className:w},animationClass:P},n.default.createElement(m.Roles,{allow:["admin"],fallbackRender:()=>z},n.default.createElement(v.ToolbarExtend,{onEscape:this.handleToolbarEscape},z),l,s)))}))))),(0,x.shouldRenderPopup)(e,(0,C.blocksDataSelector)((0,T.getStore)().getState()))&&this.renderPopups())}renderForView(e,t,o){const{className:a,tagName:l,customClassName:s,cssClass:u,customAttributes:f}=e,m=(0,E.getLinkData)(e),h=(0,O.getCSSId)(e),{sectionPopup:b,sectionPopup2:v}=this.props.meta,S=(0,r.default)("brz-row__container",a,(0,_.css)(`${this.constructor.componentId}-row`,`${this.getId()}-row`,(0,A.styleRow)(e,t,o)),u||s),w=this.getAnimationClassName(e,t,o),{options:P,hoverName:k,isHidden:M,animationId:B}=this.getHoverData(e);return n.default.createElement(n.Fragment,null,n.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(i.default,{iterationCount:b||v?1/0:1,component:l,componentProps:{...(0,I.parseCustomAttributes)(f),...h&&{id:h},className:S},animationClass:w},n.default.createElement(y.ScrollMotion,{options:(0,g.makeOptionValueToMotion)(e)},n.default.createElement(d.HoverAnimation,{animationId:B,cssKeyframe:k,options:P,target:"parent",isHidden:M},this.renderContent(e,t,o))),m.href&&n.default.createElement(p.default,{className:"brz-link-container",type:m.type,href:m.href,target:m.target,rel:m.rel}))),(0,x.shouldRenderPopup)(e,(0,C.blocksDataSelector)((0,T.getStore)().getState()))&&this.renderPopups())}}const $=q},86470:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return f},getItems:function(){return m}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(81263),s=o(64985),c=o(16526),d=o(69321),u=o(68256),p=o(59638),f=(0,s.t)("Row"),m=e=>{let{v:t,component:o,context:a,device:f}=e;const m=Boolean(o.props.meta.sectionPopup),y=[{title:"Div",value:"div"},{title:(0,s.t)("Header"),value:"header"},{title:(0,s.t)("Footer"),value:"footer"},{title:(0,s.t)("Main"),value:"main"},{title:(0,s.t)("Article"),value:"article"},{title:(0,s.t)("Section"),value:"section"},{title:(0,s.t)("Aside"),value:"aside"},{title:(0,s.t)("Nav"),value:"nav"}],g=(0,u.getDynamicContentOption)({options:a.dynamicContent.config,type:l.DCTypes.richText}),h=(0,c.isStory)(i.default.getAll()),b=(0,p.read)(("hoverName",(0,d.defaultValueValue)({v:t,key:"hoverName",device:f})))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,s.t)("Styling"),label:(0,s.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,s.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,s.t)("Padding"),devices:"desktop",position:50},{id:"margin",label:(0,s.t)("Margin"),type:"margin-dev",disabled:m,devices:"desktop",position:60},{id:"border",type:"corners-dev",label:(0,s.t)("Corner"),position:65},{id:"blendMode",label:(0,s.t)("Blending Mode"),type:"select-dev",devices:"desktop",position:80,choices:[{title:(0,s.t)("Normal"),value:"normal"},{title:(0,s.t)("Color"),value:"color"},{title:(0,s.t)("Color Burn"),value:"color-burn"},{title:(0,s.t)("Color Dodge"),value:"color-dodge"},{title:(0,s.t)("Darken"),value:"darken"},{title:(0,s.t)("Difference"),value:"difference"},{title:(0,s.t)("Exclusion"),value:"exclusion"},{title:(0,s.t)("Hue"),value:"hue"},{title:(0,s.t)("Lighten"),value:"lighten"},{title:(0,s.t)("Luminosity"),value:"luminosity"},{title:(0,s.t)("Multiply"),value:"multiply"},{title:(0,s.t)("Overlay"),value:"overlay"},{title:(0,s.t)("Saturation"),value:"saturation"},{title:(0,s.t)("Screen"),value:"screen"}]}]},{id:"moreSettingsAdvanced",label:(0,s.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,s.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"zIndex",type:"slider-dev",position:20,label:(0,s.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"cssID",label:(0,s.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:g,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,s.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:g,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,s.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:g},{id:"hoverTransition",label:(0,s.t)("Hover Transition"),devices:"desktop",position:60,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,s.t)("HTML Tag"),type:"select-dev",choices:y}]}]},{id:"padding",type:"padding-dev",label:(0,s.t)("Padding"),devices:"responsive",position:50},{id:"margin",label:(0,s.t)("Margin"),type:"margin-dev",disabled:m,devices:"responsive",position:60},{id:"border",type:"corners-dev",label:(0,s.t)("Corner"),devices:"responsive",position:65}]},{id:"effects",title:(0,s.t)("Effects"),label:(0,s.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,s.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]},{id:"tabHover",label:(0,s.t)("Hover"),options:[{id:"hover",type:"animation-dev",disabled:h,devices:"desktop",config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(b),delay:!1}}]}]}]}]}]}},73382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleRow:function(){return c},styleContainer:function(){return d},styleAnimation:function(){return u}});const r=o(25095),n=o(76753),i=o(94220),a=o(69321),l=o(66559),s=o(24119);function c(e,t,o){const{maskShape:c="none",hoverName:d="none"}=e,u=(0,r.fromElementModel)((t=>l.types.some((o=>(0,a.defaultValueValue)({v:e,device:o,key:(0,n.createOptionId)("motion",t),state:s.NORMAL}))))),p=u.vertical||u.horizontal||u.transparency||u.blur||u.rotate||u.scale||u.mouseTrack||u.mouseTilt?"div > ":"",f="none"===d?"":".brz-hover-animation__container > ",m="none"===d?"":" > .brz-hover-animation__container",y={[`.brz &&:hover ${m}`]:{interval:["cssStyleRowMinHeight","cssStyleDisplayFlex"],standart:["cssStyleMargin","cssStyleZIndex","cssStyleFlexVerticalAlign"]},[`.brz &&:hover > ${p}${f}.brz-bg`]:{standart:["cssStyleBorder","cssStyleBorderRadius",..."none"===c?["cssStyleBoxShadow"]:["cssStyleMaskDropShadow"],"cssStyleSizeMaxWidthPercentOnly","cssStyleBlendMode"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-image`]:{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-image:after`]:{standart:["cssStyleBgImageHover"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-color`]:{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-map`]:{standart:["cssStyleFilter","cssStyleBgMediaMap"]},[`.brz &&:hover > ${p}${f}.brz-bg > .brz-bg-video`]:{standart:["cssStyleFilter","cssStyleBgMediaVideo"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},[`.brz &&:hover > ${p}${f}.brz-row`]:{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleRowReverseColumn","cssStyleHoverTransition","cssStylePropertyHoverTransition"]}};return y[`.brz &&:hover ${m}`].interval.push("cssStyleVisibleEditorDisplayNoneOrBlock|||editor"),(0,i.renderStyles)({v:e,vs:t,vd:o,styles:y})}function d(e,t,o){return(0,i.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingFourFields","cssStyleSizeMaxWidthPercentOnly"],interval:["cssStyleVisible|||editor"]}}})}function u(e,t,o){return(0,i.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},65758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return h}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(64187),l=o(81405),s=o(46479),c=o(64985),d=o(29390),u=o(16526),p=o(69321),f=o(68256),m=o(24119),y=o(59638),g=o(57582);function h(e){let{v:t,device:o,component:n,state:h,context:b}=e;const v=e=>(0,p.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),S=e=>(0,p.defaultValueValue)({v:t,key:e,device:o,state:h}),{hex:w}=(0,f.getOptionColorHexByPalette)(v("bgColorHex"),v("bgColorPalette")),x=Boolean(n.props.meta.sectionPopup),P=Boolean(n.props.meta.sectionPopup2),C=(0,f.getDynamicContentOption)({options:b.dynamicContent.config,type:i.DCTypes.image}),T=r.default.getAll(),_=T?.api?.collectionTypes?.loadCollectionTypes.handler,k=(0,u.isPopup)(T),M=v("linkSource"),O=(0,s.isPro)(T)?[{title:(0,c.t)("Custom Video"),value:"bgVideoCustom"}]:[],E="video"!==v("media"),B=v("bgVideoType"),z="youtube"===B,I="vimeo"===B,j="bgVideoCustom"===B,L="url"===B,F=(0,y.read)(v("maskShape"))??"none",N=(0,y.read)(v("maskPosition"))??"center center",D=(0,y.read)(v("maskSize"))??"cover",R=(0,y.read)(v("maskScaleSuffix"))??"%",A=(0,y.read)(v("maskCustomUploadImageSrc")),H="image"!==S("media"),W="none"===F||"custom"===F&&!A||H;return[(0,g.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive"}),{id:"toolbarMedia",type:"popover-dev",config:{icon:"nc-background",title:(0,c.t)("Background")},position:80,options:[{id:"tabsMedia",type:"tabs-dev",tabs:[{id:"tabMedia",label:(0,c.t)("Background"),options:[{id:"media",label:(0,c.t)("Type"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}]},(0,g.toolbarElementContainerTypeImageMap)({v:t,device:o,devices:"responsive",state:h}),{label:(0,c.t)("Image"),id:"bg",type:"imageUpload-dev",states:[m.NORMAL,m.HOVER],devices:"desktop",disabled:"image"!==S("media"),population:C},{label:(0,c.t)("Image"),id:"bg",type:"imageUpload-dev",states:[m.NORMAL,m.HOVER],devices:"responsive",disabled:"image"!==S("media")&&"video"!==S("media"),population:C},{id:"bgVideoType",label:(0,c.t)("Video type"),type:"select-dev",devices:"desktop",disabled:E,choices:[{title:(0,c.t)("Youtube"),value:"youtube"},{title:(0,c.t)("Vimeo"),value:"vimeo"},...O,{title:(0,c.t)("URL"),value:"url"}]},{id:"bgVideo",label:(0,c.t)("Link"),type:"inputText-dev",devices:"desktop",disabled:E||j,placeholder:z?(0,c.t)("YouTube"):I?(0,c.t)("Vimeo"):(0,c.t)("https://"),helper:{content:L?(0,c.t)("This is .mp4 URL."):z?(0,c.t)("Use the regular video links generated by YouTube. The 'feature=share' parameter is not a valid or recognized parameter by the YouTube platform."):""}},{id:"bgVideoCustom",label:(0,c.t)("File"),type:"fileUpload-dev",config:{allowedExtensions:["video/*"]},devices:"desktop",disabled:E||!j},{id:"bgVideoLoop",label:(0,c.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:"video"!==S("media")},{id:"bgMapAddress",label:(0,c.t)("Address"),type:"inputText-dev",devices:"desktop",disabled:"map"!==v("media"),placeholder:(0,c.t)("Enter address"),config:{size:"large"}},{id:"bgMapZoom",label:(0,c.t)("Zoom"),type:"slider-dev",disabled:"map"!==v("media")||"desktop"!==o,config:{min:1,max:21}}]},{id:"tabMask",label:(0,c.t)("Mask"),position:110,options:[{id:"maskShape",label:(0,c.t)("Shape"),devices:"desktop",type:"select-dev",choices:d.MaskShapes,disabled:H},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,c.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{content:(0,c.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==F||H},{id:"groupSize",type:"group-dev",disabled:W,options:[{id:"maskSize",label:(0,c.t)("Size"),type:"select-dev",choices:d.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==D,config:{min:1,max:"px"===R?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:W,options:[{id:"maskPosition",type:"select-dev",label:(0,c.t)("Position"),choices:d.MaskPositions},{id:"maskPositionx",label:(0,c.t)("X"),type:"slider-dev",disabled:"custom"!==N,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,c.t)("Y"),type:"slider-dev",disabled:"custom"!==N,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,c.t)("Repeat"),type:"select-dev",disabled:W||"cover"===D,choices:d.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,c.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(w,v("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,c.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[m.NORMAL,m.HOVER]}]},{id:"tabBorder",label:(0,c.t)("Border"),options:[{id:"border",type:"border-dev",states:[m.NORMAL,m.HOVER]}]},{id:"tabBoxShadow",label:(0,c.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[m.NORMAL,m.HOVER],disabled:!W}]},{id:"tabDropShadow",label:(0,c.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[m.NORMAL,m.HOVER],disabled:W}]}]}]},{id:"toolbarLink",type:"popover-dev",config:{icon:"nc-link",title:(0,c.t)("Link"),size:"medium"},position:100,disabled:!!(x||P||k)||("desktop"===o?"on"===v("linkLightBox"):"popup"!==v("linkType")||""===v("linkPopup")),options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"page",label:(0,c.t)("Page"),options:[{id:"linkSource",type:"select-dev",disabled:!_,label:(0,c.t)("Type"),devices:"desktop",choices:{load:()=>(0,a.getCollectionTypes)(T),emptyLoad:{title:(0,c.t)("There are no choices")}},config:{size:"large"}},{id:"linkPage",type:"internalLink-dev",label:(0,c.t)("Find Page"),devices:"desktop",disabled:!M,config:{postType:M}}]},{id:"external",label:(0,c.t)("URL"),options:[(0,g.toolbarImageLinkExternal)({v:t,device:o,devices:"desktop",state:"normal"}),{id:"linkExternalBlank",type:"switch-dev",label:(0,c.t)("Open In New Tab"),devices:"desktop"},{id:"linkExternalRel",type:"switch-dev",label:(0,c.t)("Make it Nofollow"),devices:"desktop"}]},{id:"anchor",label:(0,c.t)("Block"),options:[(0,g.toolbarLinkAnchor)({v:t,device:o,devices:"desktop",state:"normal"})]},{id:"popup",label:(0,c.t)("Popup"),options:[(0,g.toolbarLinkPopup)({v:t,component:n,state:"normal",device:"desktop",devices:"desktop",canDelete:!0,disabled:x||P||k})]}]}]},{id:"toolbarLinkResponsive",type:"popover-dev",config:{icon:"nc-link",title:(0,c.t)("Link"),size:"medium"},position:100,devices:"responsive",disabled:"popup"!==v("linkType")||""===v("linkPopup"),options:[{id:"linkType",type:"tabs-dev",config:{saveTab:!0},tabs:[{id:"popup",label:(0,c.t)("Popup"),options:[(0,g.toolbarLinkPopup)({v:t,component:n,state:"normal",device:"desktop",devices:"responsive",canDelete:!1,disabled:"popup"!==v("linkType")||""===v("linkPopup")})]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,c.t)("Settings")},position:100,options:[{id:"size",label:(0,c.t)("Width"),type:"slider-dev",position:80,disabled:x||P||k,config:{min:40,max:100,units:[{value:"%",title:"%"}]}},{id:"multiPicker",type:"group-dev",position:90,disabled:P||k,options:[{id:"columnsHeightStyle",label:(0,c.t)("Height"),type:"select-dev",position:90,choices:[{title:(0,c.t)("Auto"),value:"auto"},{title:(0,c.t)("Custom"),value:"custom"}]},{id:"columnsHeight",type:"slider-dev",disabled:"custom"!==v("columnsHeightStyle"),position:1100,config:{min:20,max:500,units:[{value:"px",title:"px"}]}},{id:"verticalAlign",label:(0,c.t)("Content"),type:"radioGroup-dev",disabled:"custom"!==v("columnsHeightStyle"),position:1100,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]}]},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,c.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,c.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},21275:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"reverseColumns",type:"toggle-dev",devices:"responsive",position:20,choices:[{icon:"nc-switch",title:(0,r.t)("Reverse Columns"),value:"on"},{icon:"nc-switch",title:(0,r.t)("Reverse Columns"),value:"off"}]}]}},23875:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{normalizeRowColumns:function(){return a},getElemWidthWithoutPaddings:function(){return l}});const r=o(70634),n=100,i=e=>Number(e.toFixed(1));function a(e){if(!e||0===e.length)return e;const t=i(n/e.length),o=i(n-t*(e.length-1));return e.map(((n,i)=>{const a=i!==e.length-1?t:o;return(0,r.setIn)(n,["value","width"],a)}))}function l(e){const t=window.getComputedStyle(e);return e.clientWidth-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)}},9515:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=b(o(27378)),n=b(o(60042)),i=b(o(22546)),a=b(o(63692)),l=b(o(10787)),s=b(o(36275)),c=o(73948),d=b(o(67439)),u=o(94220),p=o(36785),f=S(o(13349)),m=S(o(29400)),y=b(o(59732)),g=b(o(31440)),h=o(86022);function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const w=["centerLeft","centerRight"];class x extends a.default{static get componentId(){return"Search"}static defaultValue=y.default;inputRef=r.default.createRef();handleResizerChange=e=>this.patchValue(e);handleInputChange=e=>this.patchValue({label:e.target.value});handleInputClick=e=>{e.preventDefault(),this.inputRef.current?.classList.add("brz-ed-dd-cancel")};handleInputBlur=()=>{this.inputRef.current?.classList.remove("brz-ed-dd-cancel")};renderButton(){const e=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta}});return r.default.createElement(l.default,e)}renderIcon(){return r.default.createElement(c.ThemeIcon,{className:"brz-search-icon__style1",type:"editor",name:"search"})}renderForEdit(e,t,o){const{searchStyle:i,customCSS:a,label:l,className:c}=e,y=(0,n.default)("brz-search-container",`brz-search-container--${i}`,c,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.styles)(e,t,o)));return r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(f,m),r.default.createElement(s.default,{selectorName:this.getId(),css:a},r.default.createElement(h.Wrapper,this.makeWrapperProps({className:y}),r.default.createElement(g.default,{points:w,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}},meta:this.props.meta,value:e,onChange:this.handleResizerChange},r.default.createElement("form",{className:"brz-form brz-search-form",noValidate:!0},"classic"!==i&&this.renderIcon(),r.default.createElement("input",{name:"s",ref:this.inputRef,className:"brz-input brz-search",autoComplete:"off",value:l,onChange:this.handleInputChange,onClick:this.handleInputClick,onBlur:this.handleInputBlur}),"classic"===i&&this.renderButton())))))}renderForView(e,t,o){const{searchStyle:a,customCSS:l,label:c,className:d}=e,f=(0,n.default)("brz-search-container",`brz-search-container--${"fullScreen"===a?"minimal":a}`,d,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.styles)(e,t,o))),m=i.default.get("urls").site;return r.default.createElement(s.default,{selectorName:this.getId(),css:l},r.default.createElement(h.Wrapper,this.makeWrapperProps({className:f}),r.default.createElement("form",{className:"brz-form brz-search-form",action:m,method:"get"},"classic"!==a&&this.renderIcon(),r.default.createElement("input",{name:"s",className:"brz-input brz-search",placeholder:c}),"classic"===a&&this.renderButton())))}}},29400:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Search"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},36785:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleSizeWidth","cssStyleBorderRadius","cssStyleBorder","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&.brz-search-container--minimal .brz-search-form":{standart:["cssStyleSizeHeightPxOnly"]},".brz &&.brz-search-container--minimal:after":{standart:["cssStyleSizeHeightPercentOnly"]},".brz &&:hover .brz-btn, &&:hover .brz-search-form":{standart:["cssStyleBorderRadius"]},".brz &&:hover .brz-search-form":{standart:["cssStylePaddingBG"]},".brz &&:hover .brz-search, &&:hover .brz-search::placeholder":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleElementSearchLineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-search-form .brz-search-icon__style1":{standart:["cssStyleColor","cssStyleTypography3FontSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-search:-webkit-autofill":{standart:["cssStyleElementSearchAutocompleteColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},13349:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-search",title:(0,n.t)("Additionals")},position:60,options:[{id:"searchStyle",label:(0,n.t)("Style"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Classic"),value:"classic"},{title:(0,n.t)("Minimal"),value:"minimal"}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===s("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,n.t)("Height"),type:"slider-dev",disabled:"minimal"!==s("searchStyle"),config:{min:10,max:200,inputMin:0,inputMax:1e3,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},62899:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(35301)),i=u(o(60042)),a=u(o(10787)),l=u(o(33364)),s=o(73948),c=o(67439),d=o(64985);function u(e){return e&&e.__esModule?e:{default:e}}const p=e=>{let{className:t,extraClassName:o,onClick:n,icon:a}=e;return r.default.createElement("div",{className:(0,i.default)(t,o),onClick:n},r.default.createElement(s.ThemeIcon,{name:a,type:"editor"}))};class f extends a.default{static get componentId(){return"Section.Items"}static defaultProps={className:"",meta:{}};state={showSpinner:!1,showSlider:this.props.meta.section.isSlider};componentDidUpdate(e){e.meta.section.isSlider!==this.props.meta.section.isSlider&&this.setState({showSpinner:!0},(()=>{setTimeout((()=>{this.setState({showSlider:this.props.meta.section.isSlider},(()=>{setTimeout((()=>{this.setState({showSpinner:!1})}),50)}))}),50)}))}getItemProps(e,t,o){const{showSlider:r}=this.state,{meta:n,itemProps:i}=this.props,a=r?[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,d.t)("Duplicate"),position:225,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,d.t)("Delete"),position:250,onChange:()=>{(0,c.hideToolbar)(),this.removeItem(t)}}]:[],l={getItemsForDesktop:()=>a,getItemsForTablet:()=>[],getItemsForMobile:()=>[]},s=this.makeToolbarPropsFromConfig(l);return{...i,meta:{...n,section:{...n.section,isSlider:r}},toolbarExtend:s}}renderItemsContainer(e){const{showSlider:t}=this.state;let o;if(t){const{sliderDots:t,sliderArrows:i,sliderAnimation:a}=this.props;o=r.default.createElement(n.default,{className:`brz-slick-slider brz-slick-slider--${a}`,ref:e=>{this.slider=e},slidesToShow:1,slidesToScroll:1,swipe:!1,draggable:!1,accessibility:!1,arrows:"none"!==i,useTransform:!1,speed:500,nextArrow:r.default.createElement(p,{icon:`right-arrow-${i}`,extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-next"}),prevArrow:r.default.createElement(p,{icon:`right-arrow-${i}`,extraClassName:"brz-slick-slider__arrow brz-slick-slider__arrow-prev"}),dots:"none"!==t,dotsClass:`brz-slick-slider__dots brz-slick-slider__dots--${t}`,fade:"fade"===a,verticalSwiping:"fade"===a,vertical:"vertical"===a},e)}else o=e;return o}renderForEdit(e){const{showSlider:t,showSpinner:o}=this.state,n=o&&r.default.createElement("div",{className:"brz-ed-portal__loading"},r.default.createElement(l.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),i=t?super.renderForEdit(e):super.renderForEdit(e.slice(0,1));return r.default.createElement(r.default.Fragment,null,i,n)}}const m=f},24901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),n=o(16957),i=o(64985),a="MacOS"===(0,n.detectOS)(),l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>a?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>a?"⌘ + V":"ctrl + V",inactive:!n,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),helperText:()=>a?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>a?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},75148:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=T(o(60042)),n=T(o(27378)),i=o(70634),a=T(o(10301)),l=T(o(25382)),s=T(o(80544)),c=T(o(36275)),d=T(o(38693)),u=o(46338),p=o(67439),f=T(o(63692)),m=o(97045),y=o(94220),g=o(14052),h=o(98930),b=o(69321),v=o(66559),S=T(o(18599)),w=T(o(22054)),x=k(o(10058)),P=o(33892),C=k(o(58714));function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class M extends f.default{static get componentId(){return"SectionItem"}static defaultProps={meta:{}};static defaultValue=S.default;static experimentalDynamicContent=!0;mounted=!1;collapsibleToolbarRef=n.default.createRef();state={isDragging:!1,paddingPatch:null};getDBValue(){return this.state.paddingPatch?(0,i.mergeDeep)(this.props.dbValue,this.state.paddingPatch):this.props.dbValue}componentDidMount(){this.mounted=!0}shouldUpdateBecauseOfParent(e){return this.props.meta.section.isSlider||!a.default.isEqual(this.props.rerender,e.rerender)}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)||this.state.paddingPatch}componentWillUnmount(){this.mounted=!1}handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};onPaddingResizerStart=()=>{this.setState({isDragging:!0})};handlePaddingResizerChange=e=>{this.state.isDragging?this.setState({paddingPatch:e}):this.patchValue(e)};onPaddingResizerEnd=()=>{const e=this.state.paddingPatch;this.setState({isDragging:!1,paddingPatch:null},(()=>this.handlePaddingResizerChange(e)))};dvv=(e,t)=>{const o=this.getValue();return(0,b.defaultValueValue)({v:o,key:e,device:t})};getMeta(){const{meta:e}=this.props,t=(0,m.deviceModeSelector)(this.getReduxState()),o=this.dvv("containerSize",v.DESKTOP),r=this.dvv("containerSize",v.TABLET),n=this.dvv("containerSize",v.MOBILE),i=this.dvv("containerSizeSuffix",v.DESKTOP),a=this.dvv("containerSizeSuffix",v.TABLET),l=this.dvv("containerSizeSuffix",v.MOBILE),s=""===i?"%":i,c=""===a?"%":a,d=""===l?"%":l,u=this.dvv("containerType",t),p="fullWidth"===u?e.desktopFullW:e.desktopBoxedW,f="fullWidth"===u?e.desktopFullWNoSpacing:e.desktopBoxedWNoSpacing,y="%"===s?Math.round(p*(o/100)*10)/10:o,g="%"===s?Math.round(f*(o/100)*10)/10:o,h="%"===c?Math.round(e.tabletW*(r/100)*10)/10:r,b="%"===c?Math.round(e.tabletWNoSpacing*(r/100)*10)/10:r,S="%"===d?Math.round(e.mobileW*(n/100)*10)/10:n,w="%"===d?Math.round(e.mobileWNoSpacing*(n/100)*10)/10:n;return{...e,desktopW:y,desktopWNoSpacing:g,tabletW:h,tabletWNoSpacing:b,mobileW:S,mobileWNoSpacing:w}}renderToolbar(){const{globalBlockId:e}=this.props.meta,{membership:t,membershipRoles:o,translations:r,translationsLangs:i}=this.props.rerender;return n.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(C,x),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e,membership:(0,g.hasMembership)(t,o),language:(0,h.hasMultiLanguage)(r,i)})}renderItems(e,t,o){const i=this.getMeta(e),a=(0,r.default)("brz-container",e.containerClassName,(0,y.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,P.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({bindWithKey:"items",className:a,meta:i});return n.default.createElement(l.default,{value:e,meta:i},n.default.createElement(d.default,{value:e,onStart:this.onPaddingResizerStart,onChange:this.handlePaddingResizerChange,onEnd:this.onPaddingResizerEnd},n.default.createElement(w.default,s)))}renderForEdit(e,t,o){const{className:i,containerType:a,customCSS:l}=e,d=(0,r.default)("brz-section__content",`brz-section--${a}`,i,(0,y.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,P.style)(e,t,o,this.props)));return n.default.createElement(s.default,{type:"section__item",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:i,attr:a}=r;return n.default.createElement(c.default,{selectorName:this.getId(),css:l},n.default.createElement("div",{...a,ref:i,className:d},n.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),n.default.createElement(p.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}))}renderForView(e,t,o){const{className:i,containerType:a,customCSS:l}=e,s=(0,r.default)("brz-section__content",`brz-section--${a}`,i,(0,y.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,P.style)(e,t,o,this.props)));return n.default.createElement(c.default,{selectorName:this.getId(),css:l},n.default.createElement("div",{className:s},this.renderItems(e,t,o)))}}const O=M},22054:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=p(o(49127)),a=p(o(20013)),l=o(67439),s=o(39552),c=p(o(24072)),d=p(o(24901)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"SectionItem.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){const{className:t}=this.props;return e.length?r.default.createElement(i.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:t},e)):r.default.createElement("div",{className:t},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]}))}}const m=f},10058:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return s},getItems:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(57582),s=(0,n.t)("Block");function c(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("shapeTopColorHex"),s("shapeTopColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("shapeBottomColorHex"),s("shapeBottomColorPalette"));return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),position:50,config:{units:["px"]}},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),position:70},{id:"blendMode",label:(0,n.t)("Blending Mode"),type:"select-dev",devices:"desktop",position:80,choices:[{title:(0,n.t)("Normal"),value:"normal"},{title:(0,n.t)("Color"),value:"color"},{title:(0,n.t)("Color Burn"),value:"color-burn"},{title:(0,n.t)("Color Dodge"),value:"color-dodge"},{title:(0,n.t)("Darken"),value:"darken"},{title:(0,n.t)("Difference"),value:"difference"},{title:(0,n.t)("Exclusion"),value:"exclusion"},{title:(0,n.t)("Hue"),value:"hue"},{title:(0,n.t)("Lighten"),value:"lighten"},{title:(0,n.t)("Luminosity"),value:"luminosity"},{title:(0,n.t)("Multiply"),value:"multiply"},{title:(0,n.t)("Overlay"),value:"overlay"},{title:(0,n.t)("Saturation"),value:"saturation"},{title:(0,n.t)("Screen"),value:"screen"}]},{id:"shapeDividersGroup",type:"group-dev",options:[{id:"shape",label:(0,n.t)("Dividers"),type:"radioGroup-dev",choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}]},{id:"shapeTopDividersGroup",type:"group-dev",disabled:"top"!==s("shape"),options:[{id:"shapeTopType",label:(0,n.t)("Type"),type:"select-dev",choices:(0,a.getShapes)()},{id:"shapeTopColors",type:"popover-dev",label:(0,n.t)("Color"),config:{size:"auto",title:(0,n.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("shapeTopColorOpacity"))}}},disabled:"none"===s("shapeTopType"),options:[{id:"shapeTopColor",type:"colorPicker-dev"}]},{id:"shapeTopHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeTopType"),config:{min:0,max:"px"===s("shapeTopHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeTopFlip)({v:t,device:o,disabled:"none"===s("shapeTopType"),state:"normal"}),{id:"shapeTopIndex",type:"radioGroup-dev",label:(0,n.t)("Arrangement"),disabled:"none"===s("shapeTopType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]},{id:"shapeBottomDividersGroup",type:"group-dev",disabled:"bottom"!==s("shape"),options:[{id:"shapeBottomType",label:(0,n.t)("Type"),type:"select-dev",choices:(0,a.getShapes)(),iconClassName:"brz-ed-shape icon--bottom"},{id:"shapeBottomColors",type:"popover-dev",label:(0,n.t)("Color"),config:{size:"auto",title:(0,n.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,s("shapeBottomColorOpacity"))}}},disabled:"none"===s("shapeBottomType"),options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]},{id:"shapeBottomHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeBottomType"),config:{min:0,max:"px"===s("shapeBottomHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeBottomFlip)({v:t,device:o,disabled:"none"===s("shapeBottomType"),state:"normal"}),{id:"shapeBottomIndex",type:"radioGroup-dev",label:(0,n.t)("Arrangement"),disabled:"none"===s("shapeBottomType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]}]}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},33892:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleContainer:function(){return i}});const r=o(94220);function n(e,t,o,n){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBlendMode","cssStyleMaskDropShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage","cssStyleSectionBgSize","cssStyleSectionBgRepeat","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"],interval:["cssStyleBgImageAttachment","cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"],interval:["cssStyleHoverTransitionFlash","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-map":{standart:["cssStyleFilter","cssStyleBgMediaMap"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-video":{standart:["cssStyleFilter","cssStyleBgMediaVideo"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top":{standart:["cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top::after":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom::after":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight"]},".brz &&:hover > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer","cssStyleSectionPaddingsForEditorResize"]}},props:n})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}},58714:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return g}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(46479),s=o(64985),c=o(29390),d=o(69321),u=o(68256),p=o(63300),f=o(24119),m=o(57582),y=o(77907),g=e=>{let{v:t,device:o,component:n,state:g,context:h}=e;const b=e=>(0,d.defaultValueValue)({v:t,key:e,device:o,state:g}),{hex:v}=(0,u.getOptionColorHexByPalette)(b("bgColorHex"),b("bgColorPalette")),S=(0,u.getDynamicContentOption)({options:h.dynamicContent.config,type:i.DCTypes.image}),w=r.default.getAll(),x=(0,l.isPro)(w)?[{title:(0,s.t)("Custom Video"),value:"bgVideoCustom"}]:[],P=b("media"),C=(0,p.read)(b("maskShape"))??"none",T=(0,p.read)(b("maskPosition"))??"center center",_=(0,p.read)(b("maskSize"))??"cover",k=(0,p.read)(b("maskScaleSuffix"))??"%",M=(0,p.read)(b("maskCustomUploadImageSrc")),O="image"!==P,E="none"===C||"custom"===C&&!M||O,{isSlider:B}=n.props.meta.section,z="image"===P,I="video"!==P,j="map"!==P,L=b("bgVideoType"),F="cover"===b("bgSize"),N="youtube"===L,D="vimeo"===L,R="bgVideoCustom"===L,A="url"===L;return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,s.t)("Background")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,s.t)("Background"),options:[{id:"media",label:(0,s.t)("Type"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}]},(0,m.toolbarElementContainerTypeImageMap)({v:t,device:o,devices:"responsive",state:"normal"}),{label:(0,s.t)("Image"),id:"bg",type:"imageUpload-dev",states:z?[f.NORMAL,f.HOVER]:void 0,disabled:!z,population:S},{id:"bgSize",label:(0,s.t)("Size"),type:"select-dev",disabled:!z,choices:[{title:(0,s.t)("Cover"),value:"cover"},{title:(0,s.t)("Contain"),value:"contain"},{title:(0,s.t)("Auto"),value:"auto"}]},{id:"bgRepeat",label:(0,s.t)("Repeat"),type:"switch-dev",disabled:!z||F},{id:"bgAttachment",label:(0,s.t)("Parallax"),type:"select-dev",devices:"desktop",disabled:!z||!F||B,choices:[{title:(0,s.t)("None"),value:"none"},{title:(0,s.t)("Fixed"),value:"fixed"},{title:(0,s.t)("Animated"),value:"animated"}]},{id:"bgVideoType",label:(0,s.t)("Video type"),type:"select-dev",devices:"desktop",disabled:I,choices:[{title:(0,s.t)("Youtube"),value:"youtube"},{title:(0,s.t)("Vimeo"),value:"vimeo"},...x,{title:(0,s.t)("URL"),value:"url"}]},{id:"bgVideo",label:(0,s.t)("Link"),type:"inputText-dev",devices:"desktop",disabled:I||R,placeholder:N?(0,s.t)("YouTube"):D?(0,s.t)("Vimeo"):(0,s.t)("https://"),helper:{content:A?(0,s.t)("This is .mp4 URL."):N?(0,s.t)("Use the regular video links generated by YouTube. The 'feature=share' parameter is not a valid or recognized parameter by the YouTube platform."):""}},{id:"bgVideoCustom",label:(0,s.t)("File"),type:"fileUpload-dev",config:{allowedExtensions:["video/*"]},devices:"desktop",disabled:I||!R},{id:"bgVideoLoop",label:(0,s.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:I},{id:"bgVideoStart",type:"number-dev",label:(0,s.t)("Start"),devices:"desktop",disabled:I,config:{size:"short",spinner:!1,max:99999},helper:{content:(0,s.t)("Specify a start time (in seconds)")}},{id:"bgMapAddress",label:(0,s.t)("Address"),type:"inputText-dev",placeholder:(0,s.t)("Enter address"),devices:"desktop",disabled:j},{id:"bgMapZoom",label:(0,s.t)("Zoom"),type:"slider-dev",disabled:j,config:{min:1,max:21}}]},{id:"tabMask",label:(0,s.t)("Mask"),position:110,options:[{id:"maskShape",label:(0,s.t)("Shape"),devices:"desktop",type:"select-dev",choices:c.MaskShapes,disabled:O},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,s.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{content:(0,s.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==C||O},{id:"groupSize",type:"group-dev",disabled:E,options:[{id:"maskSize",label:(0,s.t)("Size"),type:"select-dev",choices:c.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==_,config:{min:1,max:"px"===k?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:E,options:[{id:"maskPosition",type:"select-dev",label:(0,s.t)("Position"),choices:c.MaskPositions},{id:"maskPositionx",label:(0,s.t)("X"),type:"slider-dev",disabled:"custom"!==T,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,s.t)("Y"),type:"slider-dev",disabled:"custom"!==T,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,s.t)("Repeat"),type:"select-dev",disabled:E||"cover"===_,choices:c.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(v,b("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,s.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[f.NORMAL,f.HOVER]}]},{id:"tabBorder",label:(0,s.t)("Border"),options:[{id:"border",type:"border-dev",states:[f.NORMAL,f.HOVER]}]},{id:"tabDropShadow",label:(0,s.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[f.NORMAL,f.HOVER],disabled:E}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,s.t)("Settings")},position:110,options:[{id:"containerTypeGroup",type:"group-dev",position:10,options:[{id:"containerType",label:(0,s.t)("Width"),devices:"desktop",type:"select-dev",choices:[{title:(0,s.t)("Boxed"),value:"boxed"},{title:(0,s.t)("Full"),value:"fullWidth"}]},{id:"containerSize",label:"desktop"===o?"":(0,s.t)("Width"),type:"slider-dev",disabled:"boxed"!==b("containerType"),config:{min:(0,y.getMinContainerSuffix)({v:t,device:o}),max:(0,y.getMaxContainerSuffix)({v:t,device:o}),units:[{title:"%",value:"%"},{title:"px",value:"px"}]}}]},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,s.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,s.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},78257:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=T(o(60042)),n=T(o(27378)),i=T(o(45771)),a=o(68832),l=o(81504),s=T(o(63692)),c=o(76753),d=T(o(22546)),u=o(62762),p=o(97045),f=o(92213),m=o(94220),y=o(9644),g=o(16526),h=o(69321),b=k(o(24119)),v=o(48499),S=T(o(62899)),w=T(o(14692)),x=k(o(55609)),P=o(25240),C=k(o(3111));function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const M=d.default.getAll();class O extends s.default{static get componentId(){return"Section"}static defaultProps={meta:{}};static defaultValue=w.default;static experimentalDynamicContent=!0;getMeta(e){const{meta:t}=this.props,{slider:o}=e;return Object.assign({},t,{desktopFullW:l.wInFullPage,desktopFullWNoSpacing:l.wInFullPage,desktopBoxedW:l.wInBoxedPage,desktopBoxedWNoSpacing:l.wInBoxedPage,tabletW:l.wInTabletPage,tabletWNoSpacing:l.wInTabletPage,mobileW:l.wInMobilePage,mobileWNoSpacing:l.wInMobilePage,section:{isSlider:"on"===o}})}shouldComponentUpdate(e){return this.optionalSCU(e)}handleValueChange(e,t){if(0===e.items.length)this.selfDestruct();else{const{patch:o}=t;o&&"on"===o.slider&&1===e.items.length?super.handleValueChange({...e,items:(0,g.cloneItem)(e.items,0)},t):super.handleValueChange(e,t)}}dvv=e=>{const t=this.getValue(),o=(0,p.deviceModeSelector)((0,f.getStore)().getState()),r=b.mRead(t.tabsState);return(0,h.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,h.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,m.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,P.styleAnimation)(e,t,o)))};renderItems(e){const t=(0,p.deviceModeSelector)(this.getReduxState()),o=(0,a.fromElementModel)(((e,t)=>o=>(0,h.defaultValueValue)({v:e,key:(0,c.createOptionId)("margin",o),device:t,state:b.NORMAL}))(e,t)),{membership:r,membershipRoles:i,sliderDots:l,sliderArrows:s,sliderAutoPlay:d,sliderAutoPlaySpeed:u,sliderAnimation:f,showOnDesktop:m,showOnTablet:y,showOnMobile:g,verticalAlign:v,tabletVerticalAlign:w,mobileVerticalAlign:P,fullHeight:T,tabletFullHeight:_,mobileFullHeight:k,tagName:M,cssID:O,cssClass:E,customAttributesPopulation:B,marginType:z,tabletMarginType:I,mobileMarginType:j,animationName:L,animationDuration:F,animationDelay:N,animationInfiniteAnimation:D,tabletAnimationName:R,tabletAnimationDuration:A,tabletAnimationDelay:H,tabletAnimationInfiniteAnimation:W,mobileAnimationName:V,mobileAnimationDuration:G,mobileAnimationDelay:U,mobileAnimationInfiniteAnimation:q,translations:$,translationsLangs:Y}=e,Q=this.makeSubcomponentProps({sliderDots:l,sliderArrows:s,sliderAnimation:f,sliderAutoPlaySpeed:u,bindWithKey:"items",meta:this.getMeta(e),sliderAutoPlay:"on"===d,toolbarExtend:this.makeToolbarPropsFromConfig2(C,x),itemProps:{rerender:{showOnDesktop:m,showOnTablet:y,showOnMobile:g,verticalAlign:v,tabletVerticalAlign:w,mobileVerticalAlign:P,fullHeight:T,tabletFullHeight:_,mobileFullHeight:k,tagName:M,cssID:O,cssClass:E,customAttributesPopulation:B,marginType:z,membership:r,membershipRoles:i,tabletMarginType:I,mobileMarginType:j,animationName:L,animationDuration:F,animationDelay:N,animationInfiniteAnimation:D,tabletAnimationName:R,tabletAnimationDuration:A,tabletAnimationDelay:H,tabletAnimationInfiniteAnimation:W,mobileAnimationName:V,mobileAnimationDuration:G,mobileAnimationDelay:U,mobileAnimationInfiniteAnimation:q,translations:$,translationsLangs:Y,...o}}});return n.default.createElement(S.default,Q)}renderForEdit(e,t,o){const{className:a,customClassName:l,cssClass:s,customAttributes:c}=e,d=(0,r.default)("brz-section",a,s||l,(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,P.styleSection)(e,t,o))),u=this.getAnimationClassName(e,t,o),p={...(0,v.parseCustomAttributes)(c),"data-block-id":this.props.blockId,"data-uid":this.getId(),id:this.getId(),className:d};return n.default.createElement(i.default,{component:"section",componentProps:p,animationClass:u},this.renderItems(e))}renderLangOrMemberOrAll(e,t){const{membershipRoles:o,translationsLangs:r,membership:i,translations:a}=t,l=!((0,u.isCloud)(M)&&(0,u.isShopify)(M)),s=JSON.parse(o).join(","),c=JSON.parse(r).join(",");if("on"===i&&"off"===a&&l){const t=(0,y.makeStartPlaceholder)({content:"{{display_by_roles}}",attr:{roles:s}}),o=(0,y.makeEndPlaceholder)({content:"{{end_display_by_roles}}"});return n.default.createElement(n.default.Fragment,null,t,e,o)}if("off"===i&&"on"===a&&l){const t=(0,y.makeStartPlaceholder)({content:"{{display_by_translations}}",attr:{translations:c}}),o=(0,y.makeEndPlaceholder)({content:"{{end_display_by_translations}}"});return n.default.createElement(n.default.Fragment,null,t,e,o)}if("on"===i&&"on"===a&&l){const t=(0,y.makeStartPlaceholder)({content:"{{display_by_roles}}",attr:{roles:s}}),o=(0,y.makeEndPlaceholder)({content:"{{end_display_by_roles}}"}),r=(0,y.makeStartPlaceholder)({content:"{{display_by_translations}}",attr:{translations:c}}),i=(0,y.makeEndPlaceholder)({content:"{{end_display_by_translations}}"});return n.default.createElement(n.default.Fragment,null,t,r,e,i,o)}return e}renderForView(e,t,o){const{className:a,tagName:l,customClassName:s,cssID:c,cssClass:d,customAttributes:u,anchorName:p}=e,{sectionPopup:f,sectionPopup2:y}=this.props.meta,g=(0,r.default)("brz-section",a,d||s,(0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,P.styleSection)(e,t,o))),h=this.getAnimationClassName(e,t,o),b=c||p||this.getId(),S={...(0,v.parseCustomAttributes)(u),"data-uid":this.getId(),id:b,name:b,className:g},w=n.default.createElement(i.default,{iterationCount:f||y?1/0:1,component:l,componentProps:S,animationClass:h},this.renderItems(e));return this.renderLangOrMemberOrAll(w,e)}}},55609:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),n=o(64985),i=o(68256);function a(e){let{context:t}=e;const o=[{title:"Div",value:"div"},{title:(0,n.t)("Header"),value:"header"},{title:(0,n.t)("Footer"),value:"footer"},{title:(0,n.t)("Main"),value:"main"},{title:(0,n.t)("Article"),value:"article"},{title:(0,n.t)("Section"),value:"section"},{title:(0,n.t)("Aside"),value:"aside"},{title:(0,n.t)("Nav"),value:"nav"}],a=(0,i.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),options:[{id:"margin",label:(0,n.t)("Margin"),type:"margin-dev",position:60}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),options:[{id:"showOnDesktop",label:(0,n.t)("Show on Desktop"),position:10,type:"switch-dev",devices:"desktop"},{id:"zIndex",type:"slider-dev",position:20,label:(0,n.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"cssID",label:(0,n.t)("Block Name"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom block name, example: my-block"},config:a,option:{id:"anchorName",type:"inputText-dev"}},{id:"cssClass",label:(0,n.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:a,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,n.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:a},{id:"tagName",label:(0,n.t)("HTML Tag"),type:"select-dev",devices:"desktop",choices:o}]}]}]},{id:"effects",title:(0,n.t)("Effects"),label:(0,n.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,n.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},25240:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return n},styleAnimation:function(){return i}});const r=o(94220);function n(e,t,o){const n={".brz &&:hover":{standart:["cssStyleZIndex","cssStyleMargin"],interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]},".brz &&:hover.brz-section .brz-section__content":{standart:["cssStyleSectionHeightStyle","cssStyleDisplayFlex"]},".brz && .brz-container":{standart:["cssStyleFlexColumnVerticalAlign"]},".brz && > .slick-slider > .brz-slick-slider__dots:hover":{standart:["cssStyleSectionColorDots"]},".brz && > .slick-slider > .brz-slick-slider__arrow:hover":{standart:["cssStyleSectionColorArrows"]}};return n[".brz &&:hover"].interval.push("cssStyleShowBlock"),n[".brz &&:hover .brz-ed-collapsible"]={standart:["cssStyleSectionToolbarOffset"]},n[".brz &&:hover .brz-container"]={interval:["cssStyleVisibleMode|||editor"]},n[".brz &&:hover .brz-section__content > .brz-bg"]={interval:["cssStyleVisibleMode|||editor"]},(0,r.renderStyles)({v:e,vs:t,vd:o,styles:n})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},3111:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(62762),a=o(39191),l=o(64985),s=o(14052),c=o(98930),d=o(69321),u=o(24119),p=o(57582);function f(e){let{v:t,device:o,component:n}=e;const f=r.default.getAll(),m="function"!=typeof f.api?.savedBlocks?.create,y=!1===f.elements?.section?.multilanguage,g=e=>(0,d.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),h=g("slider"),b=[{title:(0,l.t)("None"),icon:{name:"nc-none"},value:"none"},{title:(0,l.t)("Circle"),icon:{name:"nc-circle-outline"},value:"circle"},{title:(0,l.t)("Diamond"),icon:{name:"nc-diamond-outline"},value:"diamond"},{title:(0,l.t)("Square"),icon:{name:"nc-square-outline"},value:"square"}],v=[{title:(0,l.t)("None"),icon:{name:"nc-none"},value:"none"},{title:(0,l.t)("Thin"),icon:{name:"nc-right-arrow-thin"},value:"thin"},{title:(0,l.t)("Heavy"),icon:{name:"nc-right-arrow-heavy"},value:"heavy"},{title:(0,l.t)("Tail"),icon:{name:"nc-right-arrow-tail"},value:"tail"},{title:(0,l.t)("Round"),icon:{name:"nc-right-arrow-filled"},value:"filled"},{title:(0,l.t)("Outline"),icon:{name:"nc-right-arrow-outline"},value:"outline"}];return[(0,p.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive",closeTooltip:!0}),{id:"toolbarSlider",type:"popover-dev",devices:"desktop",config:{icon:"nc-block-switch",title:(0,l.t)("Block")},position:70,options:[{id:"sliders",type:"tabs-dev",tabs:[{id:"sliderOption1",label:(0,l.t)("Block"),devices:"desktop",options:[{id:"groupSettings",type:"group-dev",options:[{id:"makeItGlobal",label:(0,l.t)("Make it Global"),type:"globalBlock-dev",disabled:(0,i.isCloud)(f)&&(0,i.isShopify)(f),config:{_id:n.getId(),parentId:(0,p.getInstanceParentId)(n.props.instanceKey),blockType:"normal"}},{id:"gbConditions",disabled:!n.props.meta.globalBlockId,value:n.props.meta.globalBlockId,type:"gbConditions",context:"block"}]},{id:"membershipGroup",type:"group-dev",disabled:(0,i.isCloud)(f)&&(0,i.isShopify)(f),options:[{id:"membership",label:(0,l.t)("Membership"),type:"switch-dev"},{id:"membershipRoles",label:(0,l.t)("Show to"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===g("membership"),choices:(0,s.getAllMembershipChoices)(f)}]},{id:"translationsGroup",type:"group-dev",disabled:(0,a.isWp)(f),options:[{id:"translations",label:(0,l.t)("Multi-Language"),type:"switch-dev",disabled:y},{id:"translationsLangs",label:(0,l.t)("Show If Language"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===g("translations"),choices:(0,c.getLanguagesChoices)(f)}]},{id:"slider",label:(0,l.t)("Make it a Slider"),type:"switch-dev"}]},"on"===h?{id:"sliderOption2",label:(0,l.t)("Slider"),options:[{id:"sliderAutoPlayGroup",type:"group-dev",options:[{id:"sliderAutoPlay",label:(0,l.t)("Autoplay"),type:"switch-dev"},{id:"sliderAutoPlaySpeed",label:(0,l.t)("Speed"),type:"slider-dev",disabled:"on"!==g("sliderAutoPlay"),config:{min:1,max:6,units:[{title:"s",value:"s"}]}}]},{id:"sliderDots",label:(0,l.t)("Dots"),type:"select-dev",choices:b},{id:"sliderArrows",label:(0,l.t)("Arrows"),type:"select-dev",choices:v}]}:{}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto"},position:90,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:"off"===h?[]:[{id:"dots",label:(0,l.t)("Dots"),options:[{id:"sliderDotsColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:"off"===h}]},{id:"arrows",label:(0,l.t)("Arrows"),options:[{id:"sliderArrowsColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:"off"===h}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,disabled:m,config:{icon:"nc-save-section",blockType:"normal",title:(0,l.t)("Save"),tooltipContent:(0,l.t)("Saved"),blockId:n.getId()}},{id:"toolbarSettings",type:"popover-dev",options:[{id:"toolbarContainerTypeAndHeight",type:"group-dev",position:100,options:[{id:"fullHeight",label:(0,l.t)("Height"),type:"select-dev",choices:[{title:(0,l.t)("Auto"),value:"off"},{title:(0,l.t)("Custom"),value:"custom"},{title:(0,l.t)("Full Height"),value:"on"}]},{id:"sectionHeight",type:"slider-dev",disabled:"custom"!==g("fullHeight"),config:{min:20,max:"px"===g("sectionHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]},{id:"verticalAlign",label:(0,l.t)("Content"),type:"radioGroup-dev",disabled:"off"===g("fullHeight"),position:110,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]}]}]}},77907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{getMinContainerSuffix:function(){return a},getMaxContainerSuffix:function(){return l}});const r=o(81504),n=o(69321),i=o(66559);function a(e){let{v:t,device:o}=e;const a=(e,o)=>(0,n.defaultValueValue)({v:t,key:e,device:o}),l=a("containerSizeSuffix",i.DESKTOP),s=a("containerSizeSuffix",i.TABLET),c=a("containerSizeSuffix",i.MOBILE),d=""===l?"%":l,u=""===s?"%":s,p=""===c?"%":c;switch(o){case"desktop":return"px"===d?r.minWInBoxedPage:r.minWidthPercentage;case"tablet":return"px"===u?r.minWInTabletPage:r.minWidthPercentage;case"mobile":return"px"===p?r.minWInMobilePage:r.minWidthPercentage}}function l(e){let{v:t,device:o}=e;const a=(e,o)=>(0,n.defaultValueValue)({v:t,key:e,device:o}),l=a("containerSizeSuffix",i.DESKTOP),s=a("containerSizeSuffix",i.TABLET),c=a("containerSizeSuffix",i.MOBILE),d=""===l?"%":l,u=""===s?"%":s,p=""===c?"%":c;switch(o){case"desktop":return"px"===d?r.wInBoxedPage:r.maxWidthPercentage;case"tablet":return"px"===u?r.wInTabletPage:r.maxWidthPercentage;case"mobile":return"px"===p?r.wInMobilePage:r.maxWidthPercentage}}},26702:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=p(o(49127)),a=p(o(20013)),l=o(67439),s=o(39552),c=p(o(24072)),d=p(o(49929)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"SectionFooter.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]})):r.default.createElement(i.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:this.props.className},e))}}const m=f},49929:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),n=o(16957),i=o(64985),a="MacOS"===(0,n.detectOS)(),l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>a?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>a?"⌘ + V":"ctrl + V",inactive:!n,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),helperText:()=>a?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>a?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},93211:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return D}});const r=j(o(60042)),n=j(o(27378)),i=o(70634),a=j(o(45771)),l=j(o(25382)),s=j(o(80544)),c=j(o(36275)),d=j(o(38693)),u=o(5264),p=o(46338),f=o(67439),m=o(81504),y=j(o(63692)),g=j(o(22546)),h=o(62762),b=o(97045),v=o(92213),S=o(94220),w=o(9644),x=o(46479),P=o(14052),C=o(98930),T=o(69321),_=o(66559),k=F(o(24119)),M=o(48499),O=j(o(26702)),E=j(o(65215)),B=F(o(59991)),z=o(74613),I=F(o(98675));function j(e){return e&&e.__esModule?e:{default:e}}function L(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(L=function(e){return e?o:t})(e)}function F(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=L(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class N extends y.default{static get componentId(){return"SectionFooter"}static defaultProps={meta:{}};static defaultValue=E.default;static experimentalDynamicContent=!0;mounted=!1;collapsibleToolbarRef=n.default.createRef();state={isDragging:!1,paddingPatch:null};getDBValue(){return this.state.paddingPatch?(0,i.mergeDeep)(this.props.dbValue,this.state.paddingPatch):this.props.dbValue}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)||this.state.paddingPatch}componentWillUnmount(){this.mounted=!1}handleToolbarClose=()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})};handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};onPaddingResizerStart=()=>{this.setState({isDragging:!0})};handlePaddingResizerChange=e=>{this.state.isDragging?this.setState({paddingPatch:e}):this.patchValue(e)};onPaddingResizerEnd=()=>{const e=this.state.paddingPatch;this.setState({isDragging:!1,paddingPatch:null},(()=>this.handlePaddingResizerChange(e)))};handleRemove=()=>{this.selfDestruct()};dvv=(e,t)=>{const o=this.getValue(),r=k.mRead(o.tabsState);return(0,T.defaultValueValue)({v:o,key:e,device:t,state:r})};getMeta(){const{meta:e}=this.props,t=(0,b.deviceModeSelector)(this.getReduxState()),o=this.dvv("containerSize",_.DESKTOP),r=this.dvv("containerSize",_.TABLET),n=this.dvv("containerSize",_.MOBILE),i=this.dvv("containerSizeSuffix",_.DESKTOP),a=this.dvv("containerSizeSuffix",_.TABLET),l=this.dvv("containerSizeSuffix",_.MOBILE),s=""===i?"%":i,c=""===a?"%":a,d=""===l?"%":l,u="fullWidth"===this.dvv("containerType",t)?m.wInFullPage:m.wInBoxedPage,p="%"===s?Math.round(u*(o/100)*10)/10:o,f="%"===c?Math.round(m.wInTabletPage*(r/100)*10)/10:r,y="%"===d?Math.round(m.wInMobilePage*(n/100)*10)/10:n;return{...e,desktopW:p,desktopWNoSpacing:p,tabletW:f,tabletWNoSpacing:f,mobileW:y,mobileWNoSpacing:y}}getAnimationClassName=(e,t,o)=>{if(!(0,T.validateKeyByProperty)(e,"animationName","none"))return;const n=(0,b.deviceModeSelector)((0,v.getStore)().getState()),i=`${this.dvv("animationName",n)}-${this.dvv("animationDuration",n)}-${this.dvv("animationDelay",n)}-${this.dvv("animationInfiniteAnimation",n)}`;return(0,r.default)((0,S.css)(`${this.getComponentId()}-animation-${i}`,`${this.getId()}-animation-${i}`,(0,z.styleAnimation)(e,t,o)))};renderToolbar(e){const{globalBlockId:t}=this.props.meta,{membership:o,membershipRoles:r,translations:i,translationsLangs:a}=e;return n.default.createElement(f.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(I,B),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!t,membership:(0,P.hasMembership)(o,r),onClose:this.handleToolbarClose,language:(0,C.hasMultiLanguage)(i,a)})}renderItems(e,t,o){const i=this.getMeta(e),a=(0,r.default)("brz-container",e.containerClassName,(0,S.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,z.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({bindWithKey:"items",className:a,meta:i});return n.default.createElement(l.default,{value:e,meta:i},n.default.createElement(d.default,{value:e,onStart:this.onPaddingResizerStart,onChange:this.handlePaddingResizerChange,onEnd:this.onPaddingResizerEnd},n.default.createElement(O.default,s)))}renderForEdit(e,t,o){const{className:i,customClassName:l,cssClass:d,customAttributes:m}=e;return x.IS_PRO?n.default.createElement(s.default,{type:"footer",hiddenInResponsive:!0,activateOnContentClick:!1},(s=>{let{ref:u,attr:y}=s;return n.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(a.default,{ref:u,component:"footer",componentProps:{...(0,M.parseCustomAttributes)(m),...y,"data-block-id":this.props.blockId,id:this.getId(),className:(0,r.default)("brz-footer",i,d||l,(0,S.css)(`${this.constructor.componentId}-section`,`${this.getId()}-section`,(0,z.styleSection)(e,t,o)))},animationClass:this.getAnimationClassName(e,t,o)},n.default.createElement(p.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(e),n.default.createElement(f.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))})):n.default.createElement("footer",{className:"brz-footer"},n.default.createElement(u.ProBlocked,{text:"Footer",onRemove:this.handleRemove}))}renderLangOrMemberOrAll(e,t){const{membership:o,translations:r,translationsLangs:i,membershipRoles:a}=t,l=g.default.getAll(),s=!((0,h.isCloud)(l)&&(0,h.isShopify)(l)),c=JSON.parse(a).join(","),d=JSON.parse(i).join(",");if("on"===o&&"off"===r&&s){const t=(0,w.makeStartPlaceholder)({content:"{{display_by_roles}}",attr:{roles:c}}),o=(0,w.makeEndPlaceholder)({content:"{{end_display_by_roles}}"});return n.default.createElement(n.default.Fragment,null,t,e,o)}if("off"===o&&"on"===r&&s){const t=(0,w.makeStartPlaceholder)({content:"{{display_by_translations}}",attr:{translations:d}}),o=(0,w.makeEndPlaceholder)({content:"{{end_display_by_translations}}"});return n.default.createElement(n.default.Fragment,null,t,e,o)}if("on"===o&&"on"===r&&s){const t=(0,w.makeStartPlaceholder)({content:"{{display_by_roles}}",attr:{roles:c}}),o=(0,w.makeEndPlaceholder)({content:"{{end_display_by_roles}}"}),r=(0,w.makeStartPlaceholder)({content:"{{display_by_translations}}",attr:{translations:d}}),i=(0,w.makeEndPlaceholder)({content:"{{end_display_by_translations}}"});return n.default.createElement(n.default.Fragment,null,t,r,e,i,o)}return e}renderForView(e,t,o){const{sectionPopup:i,sectionPopup2:l}=this.props.meta,{tagName:s,customCSS:d,className:u,anchorName:p,cssID:f,customClassName:m,customAttributes:y,cssClass:g}=e,h=f||p||this.getId(),b=n.default.createElement(c.default,{selectorName:this.getId(),css:d},n.default.createElement(a.default,{iterationCount:i||l?1/0:1,component:s,componentProps:{...(0,M.parseCustomAttributes)(y),"data-uid":this.getId(),id:h,name:h,className:(0,r.default)("brz-footer",u,g||m,(0,S.css)(`${this.getComponentId()}-section`,`${this.getId()}-section`,(0,z.styleSection)(e,t,o)))},animationClass:this.getAnimationClassName(e,t,o)},this.renderItems(e,t,o)));return this.renderLangOrMemberOrAll(b,e)}}const D=N},59991:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return c},getItems:function(){return d}});const r=o(81263),n=o(81405),i=o(64985),a=o(69321),l=o(68256),s=o(57582),c=(0,i.t)("Footer");function d(e){let{v:t,device:o,context:c}=e;const d=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:u}=(0,l.getOptionColorHexByPalette)(d("shapeTopColorHex"),d("shapeTopColorPalette")),{hex:p}=(0,l.getOptionColorHexByPalette)(d("shapeBottomColorHex"),d("shapeBottomColorPalette")),f=[{title:"Div",value:"div"},{title:(0,i.t)("Header"),value:"header"},{title:(0,i.t)("Footer"),value:"footer"},{title:(0,i.t)("Main"),value:"main"},{title:(0,i.t)("Article"),value:"article"},{title:(0,i.t)("Section"),value:"section"},{title:(0,i.t)("Aside"),value:"aside"},{title:(0,i.t)("Nav"),value:"nav"}],m=(0,l.getDynamicContentOption)({options:c.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,i.t)("Padding"),position:50,config:{units:["px"]}},{id:"margin",label:(0,i.t)("Margin"),type:"margin-dev",position:60},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),position:65},{id:"shapeDividersGroup",type:"group-dev",options:[{id:"shape",label:(0,i.t)("Dividers"),type:"radioGroup-dev",choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}]},{id:"shapeTopDividersGroup",type:"group-dev",disabled:"top"!==d("shape"),options:[{id:"shapeTopType",label:(0,i.t)("Type"),type:"select-dev",choices:(0,l.getShapes)()},{id:"shapeTopColors",type:"popover-dev",label:(0,i.t)("Color"),config:{size:"auto",title:(0,i.t)("Color"),icon:{style:{backgroundColor:(0,n.hexToRgba)(u,d("shapeTopColorOpacity"))}}},disabled:"none"===d("shapeTopType"),options:[{id:"shapeTopColor",type:"colorPicker-dev"}]},{id:"shapeTopHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===d("shapeTopType"),config:{min:0,max:"px"===d("shapeTopHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,s.toolbarShapeTopFlip)({v:t,device:o,disabled:"none"===d("shapeTopType"),state:"normal"}),{id:"shapeTopIndex",type:"radioGroup-dev",label:(0,i.t)("Arrangement"),disabled:"none"===d("shapeTopType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]},{id:"shapeBottomDividersGroup",type:"group-dev",disabled:"bottom"!==d("shape"),options:[{id:"shapeBottomType",label:(0,i.t)("Type"),type:"select-dev",choices:(0,l.getShapes)(),iconClassName:"brz-ed-shape icon--bottom"},{id:"shapeBottomColors",type:"popover-dev",label:(0,i.t)("Color"),config:{size:"auto",title:(0,i.t)("Color"),icon:{style:{backgroundColor:(0,n.hexToRgba)(p,d("shapeBottomColorOpacity"))}}},disabled:"none"===d("shapeBottomType"),options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]},{id:"shapeBottomHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===d("shapeBottomType"),config:{min:0,max:"px"===d("shapeBottomHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,s.toolbarShapeBottomFlip)({v:t,device:o,disabled:"none"===d("shapeBottomType"),state:"normal"}),{id:"shapeBottomIndex",type:"radioGroup-dev",label:(0,i.t)("Arrangement"),disabled:"none"===d("shapeBottomType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]}]}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),icon:"nc-cog",devices:"desktop",options:[{id:"showOnDesktop",label:(0,i.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"zIndex",type:"slider-dev",position:20,label:(0,i.t)("Z-index"),devices:"desktop",config:{min:0,max:100}},{id:"cssID",label:(0,i.t)("Block Name"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom block name, example: my-block"},config:m,option:{id:"anchorName",type:"inputText-dev"}},{id:"cssClass",label:(0,i.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:m,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,i.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:m},{id:"hoverTransition",label:(0,i.t)("Hover Transition"),devices:"desktop",position:60,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"tagName",label:(0,i.t)("HTML Tag"),type:"select-dev",devices:"desktop",choices:f}]}]}]},{id:"effects",title:(0,i.t)("Effects"),label:(0,i.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,i.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},74613:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return n},styleContainer:function(){return i},styleAnimation:function(){return a}});const r=o(94220);function n(e,t,o){const{maskShape:n="none"}=e,i={".brz &&:hover":{interval:["cssStyleVisibleMode|||preview"],standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor","cssStyleSectionHeightStyle","cssStyleDisplayFlex","cssStyleMargin","cssStyleZIndex"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadowSectionOutset","cssStyleMaskDropShadow"]},".brz &&:hover > .brz-bg:after":{standart:"none"===n?["cssStyleBoxShadowSection"]:[]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top":{standart:["cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top::after":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom::after":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight"]},".brz &&:hover > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz && .brz-container":{standart:["cssStyleFlexColumnVerticalAlign"]}};return i[".brz &&:hover"].interval.push("cssStyleShowFlex"),i[".brz &&:hover .brz-ed-collapsible"]={standart:["cssStyleSectionToolbarOffset"]},i[".brz &&:hover"].interval.push("cssStyleVisibleEditorDisplayNoneOrFlex"),i[".brz &&:hover > .brz-bg"].interval=["cssStyleVisibleMode|||editor"],i[".brz &&:hover > .brz-container"]={interval:["cssStyleVisibleMode|||editor"]},(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},98675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return v}});const r=o(77907),n=(i=o(22546))&&i.__esModule?i:{default:i};var i;const a=o(81263),l=o(62762),s=o(39191),c=o(81405),d=o(64985),u=o(29390),p=o(14052),f=o(98930),m=o(69321),y=o(68256),g=o(63300),h=o(24119),b=o(57582);function v(e){let{v:t,device:o,component:i,context:v}=e;const S=n.default.getAll(),w=!1===S.elements?.footer?.multilanguage,x=e=>(0,m.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),P=x("sectionHeightSuffix"),{hex:C}=(0,y.getOptionColorHexByPalette)(x("bgColorHex"),x("bgColorPalette")),T=(0,y.getDynamicContentOption)({options:v.dynamicContent.config,type:a.DCTypes.image}),_=(0,g.read)(x("maskShape"))??"none",k=(0,g.read)(x("maskPosition"))??"center center",M=(0,g.read)(x("maskSize"))??"cover",O=(0,g.read)(x("maskScaleSuffix"))??"%",E=(0,g.read)(x("maskCustomUploadImageSrc")),B="none"===_||"custom"===_&&!E;return[(0,b.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive",closeTooltip:!0}),{id:"toolbarFooter",type:"popover-dev",config:{icon:"nc-footer",title:(0,d.t)("Footer")},position:70,devices:"desktop",options:[{id:"groupSettings",type:"group-dev",options:[{id:"makeItGlobal",label:(0,d.t)("Make it Global"),type:"globalBlock-dev",devices:"desktop",disabled:(0,l.isCloud)(S)&&(0,l.isShopify)(S),config:{_id:i.getId(),parentId:(0,b.getInstanceParentId)(i.props.instanceKey),blockType:"normal"}},{id:"gbConditions",disabled:!i.props.meta.globalBlockId,value:i.props.meta.globalBlockId,type:"gbConditions",context:"block"}]},{id:"membershipGroup",type:"group-dev",disabled:(0,l.isCloud)(S)&&(0,l.isShopify)(S),options:[{id:"membership",label:(0,d.t)("Membership"),type:"switch-dev"},{id:"membershipRoles",label:(0,d.t)("Show to"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===x("membership"),choices:(0,p.getAllMembershipChoices)(S)}]},{id:"translationsGroup",type:"group-dev",disabled:(0,s.isWp)(S),options:[{id:"translations",label:(0,d.t)("Multi-Language"),type:"switch-dev",disabled:w},{id:"translationsLangs",label:(0,d.t)("Show If Language"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===x("translations"),choices:(0,f.getLanguagesChoices)(S)}]}]},{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,d.t)("Background")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,d.t)("Image"),options:[{label:(0,d.t)("Image"),id:"bg",type:"imageUpload-dev",states:[h.NORMAL,h.HOVER],population:T}]},{id:"tabMask",label:(0,d.t)("Mask"),position:110,options:[{id:"maskShape",label:(0,d.t)("Shape"),devices:"desktop",type:"select-dev",choices:u.MaskShapes},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,d.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{content:(0,d.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==_},{id:"groupSize",type:"group-dev",disabled:B,options:[{id:"maskSize",label:(0,d.t)("Size"),type:"select-dev",choices:u.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==M,config:{min:1,max:"px"===O?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:B,options:[{id:"maskPosition",type:"select-dev",label:(0,d.t)("Position"),choices:u.MaskPositions},{id:"maskPositionx",label:(0,d.t)("X"),type:"slider-dev",disabled:"custom"!==k,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,d.t)("Y"),type:"slider-dev",disabled:"custom"!==k,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,d.t)("Repeat"),type:"select-dev",disabled:B||"cover"===M,choices:u.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,d.t)("Colors"),icon:{style:{backgroundColor:(0,c.hexToRgba)(C,x("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,d.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[h.NORMAL,h.HOVER]}]},{id:"tabBorder",label:(0,d.t)("Border"),options:[{id:"border",type:"border-dev",states:[h.NORMAL,h.HOVER]}]},{id:"tabBoxShadow",label:(0,d.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[h.NORMAL,h.HOVER],disabled:!B}]},{id:"tabDropShadow",label:(0,d.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[h.NORMAL,h.HOVER],disabled:B}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,config:{icon:"nc-save-section",blockType:"normal",title:(0,d.t)("Save"),tooltipContent:(0,d.t)("Saved"),blockId:i.getId()}},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,d.t)("Settings")},position:110,options:[{id:"containerTypeGroup",type:"group-dev",position:10,options:[{id:"containerType",label:(0,d.t)("Width"),devices:"desktop",type:"select-dev",choices:[{title:(0,d.t)("Boxed"),value:"boxed"},{title:(0,d.t)("Full"),value:"fullWidth"}]},{id:"containerSize",label:"desktop"===o?"":(0,d.t)("Width"),type:"slider-dev",disabled:"boxed"!==x("containerType"),config:{min:(0,r.getMinContainerSuffix)({v:t,device:o}),max:(0,r.getMaxContainerSuffix)({v:t,device:o}),units:[{title:"%",value:"%"},{title:"px",value:"px"}]}}]},{id:"toolbarContainerTypeAndHeight",type:"group-dev",devices:"desktop",position:100,options:[{id:"fullHeight",label:(0,d.t)("Height"),type:"select-dev",choices:[{title:(0,d.t)("Auto"),value:"off"},{title:(0,d.t)("Custom"),value:"custom"},{title:(0,d.t)("Full Height"),value:"on"}]},{id:"sectionHeight",type:"slider-dev",disabled:"custom"!==x("fullHeight"),config:{min:20,max:"px"===P?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]},{id:"verticalAlign",label:(0,d.t)("Content"),type:"radioGroup-dev",devices:"desktop",disabled:"off"===x("fullHeight"),position:110,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,d.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,d.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},44002:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),n=o(16957),i=o(64985),a="MacOS"===(0,n.detectOS)(),l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>a?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>a?"⌘ + V":"ctrl + V",inactive:!n,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),helperText:()=>a?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>a?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},5807:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=_(o(60042)),n=_(o(27378)),i=o(70634),a=_(o(10301)),l=_(o(25382)),s=_(o(80544)),c=_(o(36275)),d=_(o(38693)),u=o(46338),p=o(67439),f=o(81504),m=_(o(63692)),y=o(97045),g=o(94220),h=o(14052),b=o(98930),v=o(69321),S=o(66559),w=_(o(66190)),x=_(o(2441)),P=M(o(64239)),C=o(1606),T=M(o(25315));function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class O extends m.default{static get componentId(){return"SectionHeaderItem"}static defaultProps={meta:{}};static defaultValue=w.default;static experimentalDynamicContent=!0;mounted=!1;collapsibleToolbarRef=n.default.createRef();state={isDragging:!1,paddingPatch:null};getDBValue(){return this.state.paddingPatch?(0,i.mergeDeep)(this.props.dbValue,this.state.paddingPatch):this.props.dbValue}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)||this.state.paddingPatch}shouldUpdateBecauseOfParent(e){return!a.default.isEqual(this.props.rerender,e.rerender)}componentWillUnmount(){this.mounted=!1}handleToolbarClose=()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})};handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};onPaddingResizerStart=()=>{this.setState({isDragging:!0})};handlePaddingResizerChange=e=>{this.state.isDragging?this.setState({paddingPatch:e}):this.patchValue(e)};onPaddingResizerEnd=()=>{const e=this.state.paddingPatch;this.setState({isDragging:!1,paddingPatch:null},(()=>this.handlePaddingResizerChange(e)))};dvv=(e,t)=>{const o=this.getValue();return(0,v.defaultValueValue)({v:o,key:e,device:t})};getMeta(){const{meta:e}=this.props,t=(0,y.deviceModeSelector)(this.getReduxState()),o=this.dvv("containerSize",S.DESKTOP),r=this.dvv("containerSize",S.TABLET),n=this.dvv("containerSize",S.MOBILE),i=this.dvv("containerSizeSuffix",S.DESKTOP),a=this.dvv("containerSizeSuffix",S.TABLET),l=this.dvv("containerSizeSuffix",S.MOBILE),s=""===i?"%":i,c=""===a?"%":a,d=""===l?"%":l,u="fullWidth"===this.dvv("containerType",t)?f.wInFullPage:f.wInBoxedPage,p="%"===s?Math.round(u*(o/100)*10)/10:o,m="%"===c?Math.round(f.wInTabletPage*(r/100)*10)/10:r,g="%"===d?Math.round(f.wInMobilePage*(n/100)*10)/10:n;return{...e,desktopW:p,desktopWNoSpacing:p,tabletW:m,tabletWNoSpacing:m,mobileW:g,mobileWNoSpacing:g}}getSectionClassName(e,t,o){const{className:n}=e;return(0,r.default)("brz-section__menu-item",n,(0,g.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,C.styleSection)(e,t,o)))}renderToolbar(){const{globalBlockId:e}=this.props.meta,{membership:t,membershipRoles:o,translations:r,translationsLangs:i}=this.props.rerender;return n.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(T,P),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e,membership:(0,h.hasMembership)(t,o),language:(0,b.hasMultiLanguage)(r,i),onClose:this.handleToolbarClose})}renderItems(e,t,o){const i=this.getMeta(e),a=(0,r.default)("brz-container",e.containerClassName,(0,g.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,C.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({className:a,meta:i,bindWithKey:"items"});return n.default.createElement(l.default,{value:e,meta:i},n.default.createElement(d.default,{value:e,onStart:this.onPaddingResizerStart,onChange:this.handlePaddingResizerChange,onEnd:this.onPaddingResizerEnd},n.default.createElement(x.default,s)))}renderForEdit(e,t,o){return n.default.createElement(s.default,{type:"header__static",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:i,attr:a}=r;return n.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{ref:i,...a,className:this.getSectionClassName(e,t,o)},n.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),n.default.createElement(p.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}))}renderForView(e,t,o){return n.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:this.getSectionClassName(e,t,o)},this.renderItems(e,t,o)))}}},2441:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=p(o(49127)),a=p(o(20013)),l=o(67439),s=o(39552),c=p(o(24072)),d=p(o(44002)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"SectionHeaderItem.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]})):r.default.createElement(i.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:this.props.className},e))}}const m=f},64239:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return s},getItems:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(57582),s=(0,n.t)("Header");function c(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("shapeTopColorHex"),s("shapeTopColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("shapeBottomColorHex"),s("shapeBottomColorPalette"));return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),position:50,config:{units:["px"]}},{id:"margin",label:(0,n.t)("Margin"),type:"margin-dev",position:60},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),position:65},{id:"shapeDividersGroup",type:"group-dev",options:[{id:"shape",label:(0,n.t)("Dividers"),type:"radioGroup-dev",choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}]},{id:"shapeTopDividersGroup",type:"group-dev",disabled:"top"!==s("shape"),options:[{id:"shapeTopType",label:(0,n.t)("Type"),type:"select-dev",choices:(0,a.getShapes)()},{id:"shapeTopColors",type:"popover-dev",label:(0,n.t)("Color"),config:{size:"auto",title:(0,n.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("shapeTopColorOpacity"))}}},disabled:"none"===s("shapeTopType"),options:[{id:"shapeTopColor",type:"colorPicker-dev"}]},{id:"shapeTopHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeTopType"),config:{min:0,max:"px"===s("shapeTopHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeTopFlip)({v:t,device:o,disabled:"none"===s("shapeTopType"),state:"normal"}),{id:"shapeTopIndex",type:"radioGroup-dev",label:(0,n.t)("Arrangement"),disabled:"none"===s("shapeTopType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]},{id:"shapeBottomDividersGroup",type:"group-dev",disabled:"bottom"!==s("shape"),options:[{id:"shapeBottomType",label:(0,n.t)("Type"),type:"select-dev",choices:(0,a.getShapes)(),iconClassName:"brz-ed-shape icon--bottom"},{id:"shapeBottomColors",type:"popover-dev",label:(0,n.t)("Color"),config:{size:"auto",title:(0,n.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,s("shapeBottomColorOpacity"))}}},disabled:"none"===s("shapeBottomType"),options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]},{id:"shapeBottomHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeBottomType"),config:{min:0,max:"px"===s("shapeBottomHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeBottomFlip)({v:t,device:o,disabled:"none"===s("shapeBottomType"),state:"normal"}),{id:"shapeBottomIndex",type:"radioGroup-dev",label:(0,n.t)("Arrangement"),disabled:"none"===s("shapeBottomType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]}]}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",devices:"desktop",options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},1606:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return n},styleContainer:function(){return i}});const r=o(94220);function n(e,t,o){const{maskShape:n="none"}=e,i={".brz &&:hover":{standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor","cssStyleMargin"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius",..."none"===n?["cssStyleBoxShadowSectionOutset"]:["cssStyleMaskDropShadow"]]},".brz &&:hover > .brz-bg:after":{standart:["cssStyleBoxShadowSection"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top":{standart:["cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top::after":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom::after":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight"]},".brz &&:hover > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover .brz-ed-collapsible":{standart:["cssStyleSectionToolbarOffset"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}},25315:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=o(77907),n=o(81263),i=o(81405),a=o(64985),l=o(29390),s=o(69321),c=o(68256),d=o(63300),u=o(24119);function p(e){let{v:t,device:o,context:p}=e;const f=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),m=(0,d.read)(f("maskShape"))??"none",y=(0,d.read)(f("maskPosition"))??"center center",g=(0,d.read)(f("maskSize"))??"cover",h=(0,d.read)(f("maskScaleSuffix"))??"%",b=(0,d.read)(f("maskCustomUploadImageSrc")),v="none"===m||"custom"===m&&!b,{hex:S}=(0,c.getOptionColorHexByPalette)(f("bgColorHex"),f("bgColorPalette")),w=(0,c.getDynamicContentOption)({options:p.dynamicContent.config,type:n.DCTypes.image});return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,a.t)("Background")},position:20,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,a.t)("Image"),options:[{label:(0,a.t)("Image"),id:"bg",type:"imageUpload-dev",states:[u.NORMAL,u.HOVER],population:w}]},{id:"tabMask",label:(0,a.t)("Mask"),position:110,options:[{id:"maskShape",label:(0,a.t)("Shape"),devices:"desktop",type:"select-dev",choices:l.MaskShapes},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,a.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{content:(0,a.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==m},{id:"groupSize",type:"group-dev",disabled:v,options:[{id:"maskSize",label:(0,a.t)("Size"),type:"select-dev",choices:l.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==g,config:{min:1,max:"px"===h?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:v,options:[{id:"maskPosition",type:"select-dev",label:(0,a.t)("Position"),choices:l.MaskPositions},{id:"maskPositionx",label:(0,a.t)("X"),type:"slider-dev",disabled:"custom"!==y,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,a.t)("Y"),type:"slider-dev",disabled:"custom"!==y,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,a.t)("Repeat"),type:"select-dev",disabled:v||"cover"===g,choices:l.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(S,f("bgColorOpacity"))}}},position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,a.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER],disabled:!v}]},{id:"tabDropShadow",label:(0,a.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[u.NORMAL,u.HOVER],disabled:v}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,a.t)("Settings")},position:110,options:[{id:"containerTypeGroup",type:"group-dev",position:10,options:[{id:"containerType",label:(0,a.t)("Width"),devices:"desktop",type:"select-dev",choices:[{title:(0,a.t)("Boxed"),value:"boxed"},{title:(0,a.t)("Full"),value:"fullWidth"}]},{id:"containerSize",label:"desktop"===o?"":(0,a.t)("Width"),type:"slider-dev",disabled:"boxed"!==f("containerType"),config:{min:(0,r.getMinContainerSuffix)({v:t,device:o}),max:(0,r.getMaxContainerSuffix)({v:t,device:o}),units:[{title:"%",value:"%"},{title:"px",value:"px"}]}}]},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},98570:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=p(o(49127)),a=p(o(20013)),l=o(67439),s=o(39552),c=p(o(24072)),d=p(o(25915)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"SectionHeaderStickyItemItems.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]})):r.default.createElement(i.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:this.props.className},e))}}const m=f},25915:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),n=o(16957),i=o(64985),a="MacOS"===(0,n.detectOS)(),l=e=>({getItems:s(e)}),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>a?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>a?"⌘ + V":"ctrl + V",inactive:!n,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),helperText:()=>a?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!n,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>a?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},38535:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}});const r=_(o(60042)),n=_(o(27378)),i=o(70634),a=_(o(10301)),l=_(o(25382)),s=_(o(80544)),c=_(o(36275)),d=_(o(38693)),u=o(46338),p=o(67439),f=o(81504),m=_(o(63692)),y=o(97045),g=o(94220),h=o(14052),b=o(98930),v=o(69321),S=o(66559),w=_(o(98570)),x=_(o(13215)),P=M(o(12434)),C=o(65423),T=M(o(65661));function _(e){return e&&e.__esModule?e:{default:e}}function k(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(k=function(e){return e?o:t})(e)}function M(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=k(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class O extends m.default{static get componentId(){return"SectionHeaderStickyItem"}static defaultProps={meta:{}};static defaultValue=x.default;static experimentalDynamicContent=!0;mounted=!1;collapsibleToolbarRef=n.default.createRef();state={isDragging:!1,paddingPatch:null};getDBValue(){return this.state.paddingPatch?(0,i.mergeDeep)(this.props.dbValue,this.state.paddingPatch):this.props.dbValue}componentDidMount(){this.mounted=!0}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)||this.state.paddingPatch}shouldUpdateBecauseOfParent(e){return!a.default.isEqual(this.props.rerender,e.rerender)}componentWillUnmount(){this.mounted=!1}handleToolbarClose=()=>{this.mounted&&this.patchValue({tabsState:"tabNormal",tabsCurrentElement:"tabCurrentElement",tabsColor:"tabOverlay"})};handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};onPaddingResizerStart=()=>{this.setState({isDragging:!0})};handlePaddingResizerChange=e=>{this.state.isDragging?this.setState({paddingPatch:e}):this.patchValue(e)};onPaddingResizerEnd=()=>{const e=this.state.paddingPatch;this.setState({isDragging:!1,paddingPatch:null},(()=>this.handlePaddingResizerChange(e)))};dvv=(e,t)=>{const o=this.getValue();return(0,v.defaultValueValue)({v:o,key:e,device:t})};getMeta(){const{meta:e}=this.props,t=(0,y.deviceModeSelector)(this.getReduxState()),o=this.dvv("containerSize",S.DESKTOP),r=this.dvv("containerSize",S.TABLET),n=this.dvv("containerSize",S.MOBILE),i=this.dvv("containerSizeSuffix",S.DESKTOP),a=this.dvv("containerSizeSuffix",S.TABLET),l=this.dvv("containerSizeSuffix",S.MOBILE),s=""===i?"%":i,c=""===a?"%":a,d=""===l?"%":l,u="fullWidth"===this.dvv("containerType",t)?f.wInFullPage:f.wInBoxedPage,p="%"===s?Math.round(u*(o/100)*10)/10:o,m="%"===c?Math.round(f.wInTabletPage*(r/100)*10)/10:r,g="%"===d?Math.round(f.wInMobilePage*(n/100)*10)/10:n;return{...e,desktopW:p,desktopWNoSpacing:p,tabletW:m,tabletWNoSpacing:m,mobileW:g,mobileWNoSpacing:g}}getSectionClassName(e,t,o){return(0,r.default)("brz-section__header-sticky-item",(0,g.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,C.styleSection)(e,t,o)))}renderToolbar(){const{globalBlockId:e}=this.props.meta,{membership:t,membershipRoles:o,translations:r,translationsLangs:i}=this.props.rerender;return n.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(T,P),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e,membership:(0,h.hasMembership)(t,o),language:(0,b.hasMultiLanguage)(r,i),onClose:this.handleToolbarClose})}renderItems(e,t,o){const i=this.getMeta(e),a=(0,r.default)("brz-container",e.containerClassName,(0,g.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,C.styleContainer)(e,t,o))),s=this.makeSubcomponentProps({className:a,meta:i,bindWithKey:"items"});return n.default.createElement(l.default,{value:e,meta:i},n.default.createElement(d.default,{value:e,onStart:this.onPaddingResizerStart,onChange:this.handlePaddingResizerChange,onEnd:this.onPaddingResizerEnd},n.default.createElement(w.default,s)))}renderForEdit(e,t,o){return n.default.createElement(s.default,{type:"header__animated",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:i,attr:a}=r;return n.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{ref:i,...a,className:this.getSectionClassName(e,t,o)},n.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),n.default.createElement(p.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}))}renderForView(e,t,o){return n.default.createElement(c.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:this.getSectionClassName(e,t,o)},this.renderItems(e,t,o)))}}},12434:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return s},getItems:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(57582),s=(0,n.t)("Header");function c(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("shapeTopColorHex"),s("shapeTopColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("shapeBottomColorHex"),s("shapeBottomColorPalette"));return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,n.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,n.t)("Padding"),position:50,config:{units:["px"]}},{id:"margin",label:(0,n.t)("Margin"),type:"margin-dev",position:60},{id:"border",type:"corners-dev",label:(0,n.t)("Corner"),position:65},{id:"shapeDividersGroup",type:"group-dev",options:[{id:"shape",label:(0,n.t)("Dividers"),type:"radioGroup-dev",choices:[{value:"top",icon:"nc-dividers-top"},{value:"bottom",icon:"nc-dividers-bottom"}]},{id:"shapeTopDividersGroup",type:"group-dev",disabled:"top"!==s("shape"),options:[{id:"shapeTopType",label:(0,n.t)("Type"),type:"select-dev",choices:(0,a.getShapes)()},{id:"shapeTopColors",type:"popover-dev",label:(0,n.t)("Color"),config:{size:"auto",title:(0,n.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("shapeTopColorOpacity"))}}},disabled:"none"===s("shapeTopType"),options:[{id:"shapeTopColor",type:"colorPicker-dev"}]},{id:"shapeTopHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeTopType"),config:{min:0,max:"px"===s("shapeTopHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeTopFlip)({v:t,device:o,disabled:"none"===s("shapeTopType"),state:"normal"}),{id:"shapeTopIndex",type:"radioGroup-dev",label:(0,n.t)("Arrangement"),disabled:"none"===s("shapeTopType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]},{id:"shapeBottomDividersGroup",type:"group-dev",disabled:"bottom"!==s("shape"),options:[{id:"shapeBottomType",label:(0,n.t)("Type"),type:"select-dev",choices:(0,a.getShapes)(),iconClassName:"brz-ed-shape icon--bottom"},{id:"shapeBottomColors",type:"popover-dev",label:(0,n.t)("Color"),config:{size:"auto",title:(0,n.t)("Color"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,s("shapeBottomColorOpacity"))}}},disabled:"none"===s("shapeBottomType"),options:[{id:"shapeBottomColor",type:"colorPicker-dev"}]},{id:"shapeBottomHeight",type:"slider-dev",icon:"nc-height",disabled:"none"===s("shapeBottomType"),config:{min:0,max:"px"===s("shapeBottomHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},(0,l.toolbarShapeBottomFlip)({v:t,device:o,disabled:"none"===s("shapeBottomType"),state:"normal"}),{id:"shapeBottomIndex",type:"radioGroup-dev",label:(0,n.t)("Arrangement"),disabled:"none"===s("shapeBottomType"),choices:[{value:"auto",icon:"nc-send-to-back"},{value:"10",icon:"nc-bring-to-top"}]}]}]}]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",devices:"desktop",options:[{id:"hoverTransition",label:(0,n.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},65423:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return n},styleContainer:function(){return i}});const r=o(94220);function n(e,t,o){const{maskShape:n="none"}=e,i={".brz &&:hover":{standart:["cssStylePaddingPreview","cssStylePaddingRightLeftForEditor","cssStyleMargin"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadowSectionOutset",..."none"===n?["cssStyleBoxShadowSectionOutset"]:["cssStyleMaskDropShadow"]]},".brz &&:hover > .brz-bg:after":{standart:["cssStyleBoxShadowSection"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top":{standart:["cssStyleShapeTopHeight","cssStyleShapeTopFlip","cssStyleShapeTopIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__top::after":{standart:["cssStyleShapeTopType","cssStyleShapeTopHeight"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom":{standart:["cssStyleShapeBottomHeight","cssStyleShapeBottomFlip","cssStyleShapeBottomIndex"]},".brz &&:hover > .brz-bg > .brz-bg-shape__bottom::after":{standart:["cssStyleShapeBottomType","cssStyleShapeBottomHeight"]},".brz &&:hover > .brz-ed-draggable__padding--top":{standart:["cssStylePaddingTopForEditorResizer","cssStyleSectionPaddingsForEditorResize"]},".brz &&:hover > .brz-ed-draggable__padding--bottom":{standart:["cssStylePaddingBottomForEditorResizer","cssStyleSectionPaddingsForEditorResize"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSectionMaxWidth"]}}})}},65661:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=o(77907),n=o(81263),i=o(81405),a=o(64985),l=o(29390),s=o(69321),c=o(68256),d=o(63300),u=o(24119);function p(e){let{v:t,device:o,context:p}=e;const f=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:m}=(0,c.getOptionColorHexByPalette)(f("bgColorHex"),f("bgColorPalette")),y=(0,c.getDynamicContentOption)({options:p.dynamicContent.config,type:n.DCTypes.image}),g=(0,d.read)(f("maskShape"))??"none",h=(0,d.read)(f("maskPosition"))??"center center",b=(0,d.read)(f("maskSize"))??"cover",v=(0,d.read)(f("maskScaleSuffix"))??"%",S=(0,d.read)(f("maskCustomUploadImageSrc")),w="none"===g||"custom"===g&&!S;return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,a.t)("Background")},position:20,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,a.t)("Image"),options:[{label:(0,a.t)("Image"),id:"bg",type:"imageUpload-dev",states:[u.NORMAL,u.HOVER],population:y}]},{id:"tabMask",label:(0,a.t)("Mask"),position:110,options:[{id:"maskShape",label:(0,a.t)("Shape"),devices:"desktop",type:"select-dev",choices:l.MaskShapes},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,a.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{content:(0,a.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==g},{id:"groupSize",type:"group-dev",disabled:w,options:[{id:"maskSize",label:(0,a.t)("Size"),type:"select-dev",choices:l.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==b,config:{min:1,max:"px"===v?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:w,options:[{id:"maskPosition",type:"select-dev",label:(0,a.t)("Position"),choices:l.MaskPositions},{id:"maskPositionx",label:(0,a.t)("X"),type:"slider-dev",disabled:"custom"!==h,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,a.t)("Y"),type:"slider-dev",disabled:"custom"!==h,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,a.t)("Repeat"),type:"select-dev",disabled:w||"cover"===b,choices:l.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(m,f("bgColorOpacity"))}}},position:30,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,a.t)("Overlay "),options:[{id:"",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,a.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,a.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER],disabled:!w}]},{id:"tabDropShadow",label:(0,a.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[u.NORMAL,u.HOVER],disabled:w}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,a.t)("Settings")},position:110,options:[{id:"containerTypeGroup",type:"group-dev",position:10,options:[{id:"containerType",label:(0,a.t)("Width"),devices:"desktop",type:"select-dev",choices:[{title:(0,a.t)("Boxed"),value:"boxed"},{title:(0,a.t)("Full"),value:"fullWidth"}]},{id:"containerSize",label:"desktop"===o?"":(0,a.t)("Width"),type:"slider-dev",disabled:"boxed"!==f("containerType"),config:{min:(0,r.getMinContainerSuffix)({v:t,device:o}),max:(0,r.getMaxContainerSuffix)({v:t,device:o}),units:[{title:"%",value:"%"},{title:"px",value:"px"}]}}]},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},70180:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return F}});const r=z(o(60042)),n=z(o(65311)),i=z(o(27378)),a=z(o(36042)),l=z(o(45771)),s=o(1424),c=z(o(21107)),d=o(5264),u=o(26667),p=z(o(34735)),f=o(67439),m=z(o(10787)),y=z(o(63692)),g=o(3968),h=z(o(22546)),b=o(62762),v=o(97045),S=o(92213),w=o(94220),x=o(9644),P=o(46479),C=o(69321),T=j(o(24119)),_=o(6085),k=o(48499),M=z(o(35045)),O=j(o(42468)),E=o(4823),B=j(o(24498));function z(e){return e&&e.__esModule?e:{default:e}}function I(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(I=function(e){return e?o:t})(e)}function j(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=I(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const L=e=>{let{fixed:t=!1,node:o=null,height:r=0}=e;const i=(0,n.default)(o).siblings(".brz-ed-container-plus");t?i.addClass("brz-ed-container-plus--fixed").css({top:`${r}px`}):i.removeClass("brz-ed-container-plus--fixed").css({top:"auto"})};class F extends y.default{static get componentId(){return"SectionHeader"}static defaultProps={meta:{}};static defaultValue=M.default;static experimentalDynamicContent=!0;state={height:"auto"};isSticky=!1;isUpdated=!1;sectionNode=i.default.createRef();stickyNode=i.default.createRef();shouldComponentUpdate(e,t){return this.state.height!==t.height||this.optionalSCU(e)}componentDidMount(){const{type:e}=this.getValue();"animated"===e&&this.forceUpdate()}componentDidUpdate(){if(this.isUpdated)return;const{type:e}=this.getValue();"fixed"!==e&&L({fixed:!1,node:this.sectionNode.current})}handleValueChange(e,t){t.patch.type&&"fixed"!==t.patch.type&&(this.isUpdated=!0,this.setState({height:"auto"},(()=>this.isUpdated=!1))),this.props.onChange(e,t)}handleRemove=()=>{this.selfDestruct()};handleStickyChange=e=>{(0,f.hideToolbar)();const t=(0,s.getCurrentTooltip)();if(t&&t.hide(),"fixed"===this.getValue().type)L({fixed:e,node:this.sectionNode.current,height:this.state.height}),this.isSticky=e,this.forceUpdate();else{this.isSticky=!1;const e=(0,g.getOpenedMegaMenu)();e&&e.close()}};handleUpdateHeight=()=>{const{height:e}=this.stickyNode.current.getBoundingClientRect();L({fixed:this.isSticky,node:this.sectionNode.current,height:e}),e!==this.state.height&&this.setState({height:e})};getStyle(e){return"fixed"===e.type?{height:this.state.height}:null}getMeta(){return{...this.props.meta,section:{}}}getRerender(e){const{membership:t,membershipRoles:o,showOnDesktop:r,showOnMobile:n,showOnTablet:i,cssID:a,cssClass:l,customAttributes:s,animationName:c,animationDuration:d,animationDelay:u,animationInfiniteAnimation:p,tabletAnimationName:f,tabletAnimationDuration:m,tabletAnimationDelay:y,tabletAnimationInfiniteAnimation:g,mobileAnimationName:h,mobileAnimationDuration:b,mobileAnimationDelay:v,mobileAnimationInfiniteAnimation:S,translations:w,translationsLangs:x}=e;return{membership:t,membershipRoles:o,showOnDesktop:r,showOnMobile:n,showOnTablet:i,cssID:a,cssClass:l,customAttributes:s,animationName:c,animationDuration:d,animationDelay:u,tabletAnimationName:f,tabletAnimationDuration:m,tabletAnimationDelay:y,tabletAnimationInfiniteAnimation:g,animationInfiniteAnimation:p,mobileAnimationName:h,mobileAnimationDuration:b,mobileAnimationDelay:v,mobileAnimationInfiniteAnimation:S,translations:w,translationsLangs:x}}dvv=e=>{const t=this.getValue(),o=(0,v.deviceModeSelector)((0,S.getStore)().getState()),r=T.mRead(t.tabsState);return(0,C.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,C.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,w.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,E.styleAnimation)(e,t,o)))};renderAnimated(e){let{v:t,vs:o,vd:r}=e,n=i.default.createElement(p.default,{refSelector:`#${this.getId()}`,type:"animated",render:e=>this.renderAnimatedSticky({v:t,vs:o,vd:r,isSticky:e}),onChange:this.handleStickyChange});{const e=document.getElementById("brz-ed-root");n=i.default.createElement(c.default,{node:e,className:"brz-ed-portal-section-header__sticky"},n)}return i.default.createElement(i.default.Fragment,null,n,this.renderStatic({v:t}))}renderAnimatedSticky(e){let{v:t,vs:o,vd:n,isSticky:a}=e;const l=(0,r.default)("brz-section__header--animated",{"brz-section__header--animated-closed":!a},{"brz-section__header--animated-opened":a},(0,w.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,E.styleSection)(t,o,n))),s=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(B,O),meta:this.getMeta(t),rerender:this.getRerender(t)}});return i.default.createElement(u.SortableZIndex,{zIndex:1},i.default.createElement("div",{className:l},i.default.createElement(f.ToolbarExtend,{position:"fixed"},i.default.createElement(m.default,s))))}renderFixed(e){let{v:t}=e;return i.default.createElement(p.default,{refSelector:`#${this.getId()}`,type:"fixed",render:e=>this.renderFixedSticky({v:t,isSticky:e}),onChange:this.handleStickyChange})}renderFixedSticky(e){let{v:t,isSticky:o}=e;const n=(0,r.default)("brz-section__header--fixed",{"brz-section__header--fixed-opened":o}),l=o?"fixed":"absolute";return i.default.createElement(u.SortableZIndex,{zIndex:1},i.default.createElement("div",{className:n,ref:this.stickyNode},i.default.createElement(f.ToolbarExtend,{position:l},this.renderStatic({v:t})),i.default.createElement(a.default,{onResize:this.handleUpdateHeight})))}renderStatic(e){let{v:t}=e;const o=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(B,O),meta:this.getMeta(t),rerender:this.getRerender(t)}});return i.default.createElement(m.default,o)}renderForEdit(e,t,o){const{className:n,customClassName:a,cssClass:s,customAttributes:c,tagName:u}=e;return P.IS_PRO?i.default.createElement(l.default,{component:u,componentProps:{...(0,k.parseCustomAttributes)(c),id:this.getId(),style:this.getStyle(e),ref:this.sectionNode,className:(0,r.default)("brz-section brz-section__header",n,s||a,(0,w.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,E.styleSection)(e,t,o)))},animationClass:this.getAnimationClassName(e,t,o)},this[`render${(0,_.capitalize)(e.type)}`]({v:e,vs:t,vd:o})):i.default.createElement("header",{className:"brz-section brz-section__header"},i.default.createElement(d.ProBlocked,{text:"Header",absolute:!1,onRemove:this.handleRemove}))}renderLangOrMemberOrAll(e,t){const{membership:o,membershipRoles:r,translationsLangs:n,translations:a}=t,l=h.default.getAll(),s=JSON.parse(r).join(","),c=JSON.parse(n).join(","),d=!((0,b.isCloud)(l)&&(0,b.isShopify)(l));if("on"===o&&"off"===a&&d){const t=(0,x.makeStartPlaceholder)({content:"{{display_by_roles}}",attr:{roles:s}}),o=(0,x.makeEndPlaceholder)({content:"{{end_display_by_roles}}"});return i.default.createElement(i.default.Fragment,null,t,e,o)}if("off"===o&&"on"===a&&d){const t=(0,x.makeStartPlaceholder)({content:"{{display_by_translations}}",attr:{translations:c}}),o=(0,x.makeEndPlaceholder)({content:"{{end_display_by_translations}}"});return i.default.createElement(i.default.Fragment,null,t,e,o)}if("on"===o&&"on"===a&&d){const t=(0,x.makeStartPlaceholder)({content:"{{display_by_roles}}",attr:{roles:s}}),o=(0,x.makeEndPlaceholder)({content:"{{end_display_by_roles}}"}),r=(0,x.makeStartPlaceholder)({content:"{{display_by_translations}}",attr:{translations:c}}),n=(0,x.makeEndPlaceholder)({content:"{{end_display_by_translations}}"});return i.default.createElement(i.default.Fragment,null,t,r,e,n,o)}return e}renderForView(e,t,o){const{type:n,tagName:a,className:s,anchorName:c,customClassName:d,customAttributes:u,cssID:p,cssClass:f}=e,m=p||c||this.getId(),y=i.default.createElement(l.default,{component:a,componentProps:{...(0,k.parseCustomAttributes)(u),id:m,name:m,style:this.getStyle(e),ref:this.sectionNode,className:(0,r.default)("brz-section brz-section__header",s,f||d,(0,w.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,E.styleSection)(e,t,o))),"data-uid":this.getId()},animationClass:this.getAnimationClassName(e,t,o)},this[`render${(0,_.capitalize)(n)}`]({v:e,vs:t,vd:o}));return this.renderLangOrMemberOrAll(y,e)}}},42468:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),n=o(64985),i=o(68256);function a(e){let{context:t}=e;const o=[{title:"Div",value:"div"},{title:(0,n.t)("Header"),value:"header"},{title:(0,n.t)("Footer"),value:"footer"},{title:(0,n.t)("Main"),value:"main"},{title:(0,n.t)("Article"),value:"article"},{title:(0,n.t)("Section"),value:"section"},{title:(0,n.t)("Aside"),value:"aside"},{title:(0,n.t)("Nav"),value:"nav"}],a=(0,i.getDynamicContentOption)(t.dynamicContent.config,r.DCTypes.richText);return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,n.t)("Show on Desktop"),position:10,closeTooltip:!0,type:"switch-dev",devices:"desktop"},{id:"cssID",label:(0,n.t)("Block Name"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom block name, example: my-block"},config:a,option:{id:"anchorName",type:"inputText-dev"}},{id:"cssClass",label:(0,n.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:a,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,n.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:a},{id:"tagName",label:(0,n.t)("HTML Tag"),type:"select-dev",devices:"desktop",choices:o}]}]}]},{id:"effects",title:(0,n.t)("Effects"),label:(0,n.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,n.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},4823:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleSection:function(){return n},styleAnimation:function(){return i}});const r=o(94220);function n(e,t,o){const n={".brz &&:hover":{interval:["cssStyleDisplayBlock","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrBlock|||editor"]}};return n[".brz &&:hover"].interval.push("cssStyleShowBlock"),n[".brz &&:hover .brz-container"]={interval:["cssStyleVisibleMode|||editor"]},n[".brz &&:hover > .brz-section__menu-item > .brz-bg"]={interval:["cssStyleVisibleMode|||editor"]},n[".brz &&:hover > .brz-section__header-sticky-item > .brz-bg"]={interval:["cssStyleVisibleMode|||editor"]},(0,r.renderStyles)({v:e,vs:t,vd:o,styles:n})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},24498:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(62762),a=o(39191),l=o(64985),s=o(14052),c=o(98930),d=o(69321),u=o(57582);function p(e){let{v:t,device:o,component:n}=e;const p=r.default.getAll(),f=!1===p.elements?.header?.multilanguage,m=e=>(0,d.defaultValueValue)({v:t,key:e,device:o});return[(0,u.toolbarShowOnResponsive)({v:t,device:o,devices:"responsive",closeTooltip:!0}),{id:"toolbarSticky",type:"popover-dev",config:{icon:"nc-sticky-menu",title:(0,l.t)("Menu")},devices:"desktop",position:10,options:[{id:"type",label:(0,l.t)("Header"),type:"select-dev",devices:"desktop",choices:[{title:(0,l.t)("Static"),value:"static"},{title:(0,l.t)("Fixed"),value:"fixed"},{title:(0,l.t)("Sticky"),value:"animated"}]},{id:"groupSettings",type:"group-dev",options:[{id:"makeItGlobal",label:(0,l.t)("Make it Global"),type:"globalBlock-dev",devices:"desktop",disabled:(0,i.isCloud)(p)&&(0,i.isShopify)(p),config:{_id:n.getId(),parentId:(0,u.getInstanceParentId)(n.props.instanceKey),blockType:"normal"}},{id:"gbConditions",disabled:!n.props.meta.globalBlockId,value:n.props.meta.globalBlockId,type:"gbConditions",context:"block"}]},{id:"membershipGroup",type:"group-dev",disabled:(0,i.isCloud)(p)&&(0,i.isShopify)(p),options:[{id:"membership",label:(0,l.t)("Membership"),type:"switch-dev"},{id:"membershipRoles",label:(0,l.t)("Show to"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===m("membership"),choices:(0,s.getAllMembershipChoices)(p)}]},{id:"translationsGroup",type:"group-dev",disabled:(0,a.isWp)(p),options:[{id:"translations",label:(0,l.t)("Multi-Language"),type:"switch-dev",disabled:f},{id:"translationsLangs",label:(0,l.t)("Show If Language"),type:"multiSelect-dev",placeholder:"Select",disabled:"off"===m("translations"),choices:(0,c.getLanguagesChoices)(p)}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,config:{icon:"nc-save-section",blockType:"normal",title:(0,l.t)("Save"),tooltipContent:(0,l.t)("Saved"),blockId:n.getId()}}]}},30344:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SectionPopupInstances:function(){return I},default:function(){return L}});const r=E(o(60042)),n=E(o(27378)),i=E(o(31542)),a=E(o(25382)),l=E(o(80544)),s=E(o(36275)),c=o(46338),d=o(26667),u=o(73948),p=o(67439),f=o(81504),m=E(o(10787)),y=E(o(63692)),g=E(o(22546)),h=o(97045),b=o(92213),v=o(94220),S=o(89787),w=o(16526),x=o(69321),P=o(66559),C=E(o(83588)),T=o(67138),_=z(o(18006)),k=o(65836),M=z(o(32217)),O=z(o(71061));function E(e){return e&&e.__esModule?e:{default:e}}function B(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(B=function(e){return e?o:t})(e)}function z(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=B(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}let I=T.SectionPopupInstances;class j extends y.default{static get componentId(){return"SectionPopup"}static defaultProps={meta:{},onOpen:()=>{},onClose:()=>{}};static defaultValue=C.default;constructor(...e){super(...e),this.instanceKey=this.props.instanceKey||this.getId(),this.state={isOpened:this.props.isOpened},this.mounted=!1,this.popupsContainer=document.getElementById("brz-popups"),this.el=document.createElement("div")}componentDidMount(){this.mounted=!0,this.popupsContainer.appendChild(this.el),T.SectionPopupInstances.set(this.instanceKey,this)}shouldComponentUpdate(e,t){return this.state.isOpened!==t.isOpened||this.optionalSCU(e)}componentWillUnmount(){this.mounted=!1,this.popupsContainer.removeChild(this.el),this.popupsContainer=null,this.el=null,document.documentElement.classList.remove("brz-ow-hidden"),T.SectionPopupInstances.delete(this.instanceKey)}handleValueChange(e,t){super.handleValueChange(e,Object.assign(t,{SectionPopup:{dbId:this.getDBValue()._id,domId:this.getId()}}))}handleDropClick=()=>{this.close()};dvv=(e,t)=>{const o=this.getValue();return(0,x.defaultValueValue)({v:o,key:e,device:t})};getMeta(e){const{meta:t}=this.props,o=(0,h.deviceModeSelector)(this.getReduxState()),r=this.dvv("containerType",o),n=this.dvv("containerSize",P.DESKTOP),i=this.dvv("containerSize",P.TABLET),a=this.dvv("containerSize",P.MOBILE),{w:l,wNoSpacing:s}=(0,S.getContainerW)({v:e,w:"fullWidth"===r?f.wInFullPage:f.wInBoxedPage,wNoSpacing:"fullWidth"===r?f.wInFullPage:f.wInBoxedPage,width:n,device:"desktop"}),{w:c,wNoSpacing:d}=(0,S.getContainerW)({v:e,w:f.wInTabletPage,wNoSpacing:f.wInTabletPage,width:i,device:"tablet"}),{w:u,wNoSpacing:p}=(0,S.getContainerW)({v:e,w:f.wInMobilePage,wNoSpacing:f.wInMobilePage,width:a,device:"mobile"});return{...t,desktopW:l,desktopWNoSpacing:s,tabletW:c,tabletWNoSpacing:d,mobileW:u,mobileWNoSpacing:p,sectionPopup:!0}}renderToolbar(){const{globalBlockId:e}=this.props.meta;return n.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(M,_,{allowExtend:!1,allowExtendFromThirdParty:!0}),className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e})}renderItems(e,t,o){const i=this.getMeta(e),l=(0,r.default)("brz-container",e.containerClassName,(0,v.css)(`${this.constructor.componentId}-container`,`${this.getId()}-container`,(0,k.styleContainer)(e,t,o))),s=(0,r.default)("brz-container__wrap",(0,v.css)(`${this.constructor.componentId}-containerWrap`,`${this.getId()}-containerWrap`,(0,k.styleContainerWrap)(e,t,o))),c=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(O,null,{allowExtend:!1}),meta:i,inPopup:!0}});return n.default.createElement(a.default,{value:e,meta:i},n.default.createElement(d.SortableZIndex,{zIndex:1},n.default.createElement("div",{className:s},n.default.createElement("div",{className:l},n.default.createElement(m.default,c)))))}renderForEdit(e,t,o){if(!this.state.isOpened)return null;const{className:a,customClassName:d}=e,p=this.getId(),f=(0,r.default)("brz-popup","brz-popup__editor",{"brz-popup--opened":this.state.isOpened},a,d,(0,v.css)(`${this.constructor.componentId}-close`,`${this.getId()}-close`,(0,k.styleCloseButton)(e,t,o)));return i.default.createPortal(n.default.createElement(l.default,{type:"popup",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:i,attr:a}=r;return n.default.createElement(s.default,{selectorName:p,css:e.customCSS},n.default.createElement("div",{ref:i,id:p,className:f,"data-block-id":this.props.blockId,...a},n.default.createElement("div",{className:"brz-popup__close",onClick:this.handleDropClick},n.default.createElement(u.ThemeIcon,{name:"close-popup",type:"editor"})),n.default.createElement(c.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),this.renderItems(e,t,o))))})),this.el)}renderForView(e,t,o){const{className:i,customClassName:a}=e,l=(0,h.triggersSelector)((0,b.getStore)().getState());let c={};if((0,w.isPopup)(g.default.getAll())){const e=["scrolling","showing","devices","referrer","loggedIn"],t=e=>encodeURIComponent(JSON.stringify(e)),o=e=>JSON.parse(decodeURIComponent(e)),r=e=>e.replace(/([A-Z])/g,(e=>`_${e.toLowerCase()}`));c=l.reduce(((n,i)=>{if(i.active){const a=`data-${r(i.id)}`;e.includes(i.id)?n[a]=n[a]?t([...o(n[a]),i.value]):t([i.value]):n[a]=i.value}return n}),{})}const d=(0,r.default)("brz-popup","brz-popup__preview",{"brz-conditions-popup":(0,w.isPopup)(g.default.getAll())},i,a,(0,v.css)(`${this.constructor.componentId}-close`,`${this.getId()}-close`,(0,k.styleCloseButton)(e,t,o)));return n.default.createElement(s.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement("div",{className:d,id:this.instanceKey,"data-brz-popup":this.instanceKey,...c},n.default.createElement("div",{className:"brz-popup__close"},n.default.createElement(u.ThemeIcon,{name:"close-popup",type:"editor"})),this.renderItems(e,t,o)))}open=()=>{document.documentElement.classList.add("brz-ow-hidden"),this.props.onOpen(),this.setState({isOpened:!0})};close=()=>{document.documentElement.classList.remove("brz-ow-hidden"),this.props.onClose(),this.setState({isOpened:!1})}}const L=j},67138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SectionPopupInstances",{enumerable:!0,get:function(){return o}});let o=new Map},18006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Popup");function n(){return[]}},65836:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleCloseButton:function(){return n},styleContainer:function(){return i},styleContainerWrap:function(){return a}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-popup__close:hover":{standart:["cssStyleColor"]},".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius"]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderTransparentColor"],interval:["cssStyleSizeMaxWidthContainer"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSectionPopupContainerWrap"]}}})}},32217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(62762),l=o(81405),s=o(64985),c=o(69321),d=o(68256),u=o(24119),p=o(57582);function f(e){let{v:t,device:o,component:n,context:f}=e;const m=r.default.getAll(),y=e=>(0,c.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:g}=(0,d.getOptionColorHexByPalette)(y("bgColorHex"),y("bgColorPalette")),h=(0,d.getDynamicContentOption)({options:f.dynamicContent.config,type:i.DCTypes.image});return[{id:"toolbarPopup",type:"popover-dev",config:{icon:"nc-popup",title:"Popup"},devices:"desktop",position:70,options:[{id:"makeItGlobal",label:(0,s.t)("Make it Global"),type:"globalBlock-dev",devices:"desktop",disabled:(0,a.isCloud)(m)&&(0,a.isShopify)(m),config:{_id:n.getId(),parentId:(0,p.getInstanceParentId)(n.props.instanceKey,"popup"),blockType:"popup"}}]},{id:"toolbarMedia",type:"popover-dev",config:{icon:"nc-background",title:(0,s.t)("Background")},position:80,options:[{id:"tabsMedia",type:"tabs-dev",tabs:[{id:"tabMedia",label:(0,s.t)("Image"),options:[{id:"bg",type:"imageUpload-dev",population:h}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(g,y("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,s.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev"}]},{id:"tabClose",label:(0,s.t)("Close"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,config:{icon:"nc-save-section",blockType:"popup",title:(0,s.t)("Save"),tooltipContent:(0,s.t)("Saved"),blockId:n.getId()}}]}},71061:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarSettings",type:"popover-dev",cofnig:{icon:"nc-cog",title:(0,r.t)("Settings")},position:100,options:[{id:"containerSize",label:(0,r.t)("Width"),type:"slider-dev",position:100,config:{min:35,max:100,units:[{value:"%",title:"%"}]}}]}]}},38424:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SectionPopup2Instances:function(){return A},default:function(){return W}});const r=N(o(60042)),n=N(o(27378)),i=N(o(31542)),a=N(o(25382)),l=N(o(80544)),s=N(o(36275)),c=N(o(33364)),d=N(o(24072)),u=o(46338),p=o(26667),f=o(73948),m=R(o(67439)),y=o(81504),g=N(o(10787)),h=N(o(63692)),b=o(67808),v=N(o(22546)),S=o(97045),w=o(94220),x=o(64985),P=o(89787),C=o(16526),T=o(69321),_=o(66559),k=o(48499),M=R(o(59638)),O=N(o(79047)),E=R(o(96133)),B=R(o(99222)),z=R(o(13724)),I=o(50688),j=R(o(80131)),L=R(o(53560)),F=R(o(72705));function N(e){return e&&e.__esModule?e:{default:e}}function D(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(D=function(e){return e?o:t})(e)}function R(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=D(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const A=b.SectionPopup2Instances;class H extends h.default{static get componentId(){return"SectionPopup2"}static defaultProps={meta:{},onOpen:()=>{},onClose:()=>{}};static defaultValue=O.default;static experimentalDynamicContent=!0;static tmpGlobal=null;collapsibleToolbarRef=n.default.createRef();constructor(...e){super(...e),this.instanceKey=this.props.instanceKey||this.getId();{const e=this.props.isOpened||H.tmpGlobal===this.getId();this.state={isOpened:e},e&&document.documentElement.classList.add("brz-ow-hidden"),H.tmpGlobal=null,this.popupsContainer=document.getElementById("brz-popups"),this.el=document.createElement("div")}}componentDidMount(){this.popupsContainer.appendChild(this.el),b.SectionPopup2Instances.set(this.instanceKey,this)}shouldComponentUpdate(e,t){return this.state.isOpened!==t.isOpened||this.optionalSCU(e)}componentWillUnmount(){this.popupsContainer.removeChild(this.el),this.popupsContainer=null,this.el=null,document.documentElement.classList.remove("brz-ow-hidden"),b.SectionPopup2Instances.delete(this.instanceKey)}handleValueChange(e,t){super.handleValueChange(e,Object.assign(t,{SectionPopup2:{dbId:this.getDBValue()._id,domId:this.getId()}}))}handleDropClick=()=>{this.close()};handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};getMeta(e){const{meta:t}=this.props,o=(t,o)=>(0,T.defaultValueValue)({v:e,device:o,key:t}),r=o("widthSuffix",_.DESKTOP),n=o("widthSuffix",_.TABLET),i=o("widthSuffix",_.MOBILE),a=o("width",_.DESKTOP),l=o("width",_.TABLET),s=o("width",_.MOBILE),{w:c,wNoSpacing:d}=(0,P.getContainerW)({v:e,w:"px"===r?a:y.wInFullPage,wNoSpacing:"px"===r?a:y.wInFullPage,width:"px"===r?100:a,device:"desktop"}),{w:u,wNoSpacing:p}=(0,P.getContainerW)({v:e,w:"px"===n?l:y.wInTabletPage,wNoSpacing:"px"===n?l:y.wInTabletPage,width:"px"===n?100:l,device:"tablet"}),{w:f,wNoSpacing:m}=(0,P.getContainerW)({v:e,w:"px"===i?s:y.wInMobilePage,wNoSpacing:"px"===i?s:y.wInMobilePage,width:"px"===i?100:s,device:"mobile"});return{...t,desktopW:c,desktopWNoSpacing:d,tabletW:u,tabletWNoSpacing:p,mobileW:f,mobileWNoSpacing:m,sectionPopup2:!0}}renderToolbar(){const{globalBlockId:e}=this.props.meta;return n.default.createElement(m.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(j,E,{allowExtend:!1,allowExtendFromThirdParty:!0}),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft",global:!!e})}renderItems(e,t,o){const i=this.getMeta(e),{containerClassName:l,showCloseButtonAfter:c,closeCustomClassName:d,closeCustomAttributes:u,closeCustomCSS:y,closeCustomID:h,cssID:b}=e,S=M.mRead(h)||void 0,x=v.default.getAll(),P=!0===(x.ui?.popupSettings??{}).embedded,T=(0,C.isPopup)(x),_=!T,O=(0,r.default)("brz-popup2__close",!1,d),E=(0,r.default)("brz-popup2__inner","brz-d-xs-flex","brz-flex-xs-wrap",(0,w.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,I.styleInner)(e,t,o))),j=(0,r.default)("brz-container",l),N=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(F,z,{allowExtend:!1}),meta:i}}),D={...(0,k.parseCustomAttributes)(u),id:b??S,className:O};return n.default.createElement(a.default,{value:e,meta:i},n.default.createElement("div",{className:E},n.default.createElement(p.SortableZIndex,{zIndex:1},n.default.createElement("div",{className:"brz-container__wrap"},(T&&!P||_)&&n.default.createElement(m.default,this.makeToolbarPropsFromConfig2(L,B,{allowExtend:!1}),n.default.createElement(s.default,{selectorName:`${this.getId()}--close`,css:y},n.default.createElement("div",D,n.default.createElement(f.ThemeIcon,{name:"close-popup",type:"editor"})))),n.default.createElement("div",{className:j},n.default.createElement(g.default,N))))))}renderForEdit(e,t,o){if(!this.state.isOpened)return null;const{className:a,customClassName:p,customAttributes:f,columnsHeightStyle:y,customCSS:g}=e,h=this.getId(),b=v.default.getAll(),S=(0,C.isPopup)(b),P=(0,r.default)("brz-popup2","brz-popup2__editor",`brz-popup2__${y}`,"brz-popup2--fixed",{"brz-popup2--opened":this.state.isOpened},a,p,(0,w.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,I.style)(e,t,o)));let T=n.default.createElement(l.default,{type:"popup2",hiddenInResponsive:!0,activateOnContentClick:!1},(r=>{let{ref:i,attr:a}=r;return n.default.createElement(s.default,{selectorName:h,css:g},n.default.createElement("div",{id:h,className:P,"data-block-id":this.props.blockId,ref:i,...(0,k.parseCustomAttributes)(f),...a},!S&&n.default.createElement("button",{className:"brz-button brz-popup2__button-go-to-editor",onClick:this.handleDropClick},n.default.createElement(c.default,{icon:"nc-arrow-left",className:"brz-popup2__icon-go-to-editor"}),(0,x.t)("Go Back")),n.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e,t,o)},this.renderToolbar(),n.default.createElement(m.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e,t,o)))))}));return S||(T=n.default.createElement(d.default,{keyNames:["esc"],id:"key-helper-prompt-esc",onKeyUp:this.handleDropClick},T)),i.default.createPortal(T,this.el)}renderForView(e,t,o){const{className:i,customClassName:a,customAttributes:l,columnsHeightStyle:c,scrollPage:d,clickOutsideToClose:u,showCloseButtonAfter:p,customCSS:f}=e,m=v.default.getAll(),y=(0,S.triggersSelector)(this.getReduxState()),g=(0,C.isPopup)(m),h=(0,C.isInternalPopup)(m),b=(0,C.isExternalPopup)(m),x=!g,P=m.ui?.popupSettings??{},T=P.embedded,_=P.scrollPageBehind,M=P.clickOutsideToClose;let O={};if(g){const e=["scrolling","showing","devices","referrer","loggedIn","currentUrl","currentDate","lastVisitDate","timeFrom","cookie","os","otherPopups","specificPopup"],t=e=>encodeURIComponent(JSON.stringify(e)),o=e=>JSON.parse(decodeURIComponent(e)),r=e=>e.replace(/([A-Z])/g,(e=>`_${e.toLowerCase()}`));O=y.reduce(((n,i)=>{if(i.active){const a=`data-${r(i.id)}`;e.includes(i.id)?n[a]=n[a]?t([...o(n[a]),i.value]):t([i.value]):n[a]=i.value}return n}),{})}"on"===d&&!0===_&&(O["data-scroll_page"]="true"),"on"===u&&!0===M&&(O["data-click_outside_to_close"]="true"),!0===T&&(O["data-brz-embedded"]="true"),p&&(O["data-show-close-button-after"]=p);const E=(0,r.default)("brz brz-popup2","brz-popup2__preview",`brz-popup2__${c}`,{"brz-popup2--static":g&&T,"brz-popup2--fixed":!T&&g||x,"brz-simple-popup":x,"brz-conditions-popup":g,"brz-conditions-internal-popup":h,"brz-conditions-external-popup":b},i,a,(0,w.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,I.style)(e,t,o)));return n.default.createElement(s.default,{selectorName:this.getId(),css:f},n.default.createElement("div",{className:E,id:this.instanceKey,"data-brz-popup":this.instanceKey,...O,...(0,k.parseCustomAttributes)(l)},this.renderItems(e,t,o)))}open(){document.documentElement.classList.add("brz-ow-hidden"),this.props.onOpen(),this.setState({isOpened:!0})}close(){document.documentElement.classList.remove("brz-ow-hidden"),this.props.onClose(),this.setState({isOpened:!1})}}const W=H},67808:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SectionPopup2Instances",{enumerable:!0,get:function(){return o}});let o=new Map},96133:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Popup");function n(){return[]}},99222:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return c},getItems:function(){return u}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(64985),l=o(16526),s=o(68256),c=(0,a.t)("Popup Close Icon"),d='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function u(e){let{context:t}=e;const o=(0,l.isStory)(r.default.getAll()),n=(0,s.getDynamicContentOption)({options:t.dynamicContent.config,type:i.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,a.t)("Styling"),label:(0,a.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",options:[{id:"cssID",label:(0,a.t)("CSS ID"),type:"population-dev",position:30,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:n,option:{id:"closeCustomID",type:"inputText-dev"}},{id:"cssClass",label:(0,a.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:n,option:{id:"closeCustomClassName",type:"inputText-dev"}},{id:"closeCustomAttributes",label:(0,a.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",devices:"desktop",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:n},{id:"closeCustomCSS",label:(0,a.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:d},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,a.t)("Hover Transition"),disabled:o,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},13724:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"zIndex",type:"slider-dev",disabled:!0},{id:"showOnDesktop",type:"switch-dev",disabled:!0}]}]}]}]}]}},50688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleInner:function(){return i}});const r=o(94220);function n(e,t,o){const{maskShape:n="none"}=e,i={".brz &&:hover > .brz-bg":{standart:[..."none"===n?[]:["cssStyleMaskDropShadow"]]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color, .brz&&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:i})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleFlexHorizontalAlign","cssStyleFlexVerticalAlign"]},".brz &&:hover > .brz-container__wrap":{standart:["cssStyleSizeWidth","cssStyleContainerPopup2CustomHeight"]},".brz && > .brz-container__wrap .brz-popup2__close:hover":{standart:["cssStyleContainerPopup2CloseState","cssStyleContainerPopup2ClosePosition","cssStyleContainerPopup2CloseColor"],interval:["cssStyleHoverTransition"]},".brz && > .brz-container__wrap .brz-popup2__close:hover .brz-icon-svg, .brz&& > .brz-container__wrap .brz-popup2__close:hover .brz-icon-svg":{standart:["cssStyleContainerPopup2CloseFontSize","cssStyleContainerPopup2CloseBgSize","cssStyleContainerPopup2CloseBgColor","cssStyleContainerPopup2CloseBorderRadius","cssStyleBoxShadow"]},".brz &&:hover .brz-container > .brz-row__container":{standart:["cssStyleRowMinHeight","cssStyleContainerPopup2RowFlexVerticalAlign"]}}})}},80131:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return g}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(62762),l=o(81405),s=o(64985),c=o(29390),d=o(16526),u=o(69321),p=o(68256),f=o(63300),m=o(24119),y=o(57582),g=e=>{let{v:t,device:o,component:n,context:g}=e;const h=e=>(0,u.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),b=h("widthSuffix"),v=h("columnsHeightStyle"),{hex:S}=(0,p.getOptionColorHexByPalette)(h("bgColorHex"),h("bgColorPalette")),w=(0,p.getDynamicContentOption)({options:g.dynamicContent.config,type:i.DCTypes.image}),x=r.default.getAll(),P=x.ui?.popupSettings??{},C=(0,d.isPopup)(x),T=P.displayCondition,_=P.deletePopup,k=!0===P.embedded,M=!0===P.horizontalAlign,O=!0===P.verticalAlign,E=!0===P.scrollPageBehind,B=!0===P.clickOutsideToClose,z=C?"externalPopup":"popup",I="custom"===v?[{title:(0,s.t)("Auto"),value:"auto"},{title:(0,s.t)("Height"),value:"custom"},{title:(0,s.t)("Custom"),value:"custom2"},{title:(0,s.t)("Full Height"),value:"fullHeight"}]:[{title:(0,s.t)("Auto"),value:"auto"},{title:(0,s.t)("Custom"),value:"custom2"},{title:(0,s.t)("Full Height"),value:"fullHeight"}],j=(0,f.read)(h("maskShape"))??"none",L=(0,f.read)(h("maskPosition"))??"center center",F=(0,f.read)(h("maskSize"))??"cover",N=(0,f.read)(h("maskScaleSuffix"))??"%",D=(0,f.read)(h("maskCustomUploadImageSrc")),R="none"===j||"custom"===j&&!D;return[{id:"toolbarPopup",type:"popover-dev",config:{icon:"nc-popup",title:"Popup"},position:70,devices:"desktop",disabled:C&&k,options:[{id:"tabsPopup",type:"tabs-dev",tabs:[{id:"tabPopup",label:(0,s.t)("Popup"),options:[{id:"makeItGlobal",label:(0,s.t)("Make it Global"),type:"globalBlock-dev",devices:"desktop",disabled:(0,a.isCloud)(x)&&(0,a.isShopify)(x),config:{_id:n.getId(),parentId:(0,y.getInstanceParentId)(n.props.instanceKey,z),blockType:z}},{id:"scrollPage",label:(0,s.t)("Scroll Page Behind"),type:"switch-dev",disabled:!E,position:100},{id:"popupConditions",type:"popupConditions",disabled:!T,position:150}]},{id:"tabClose",label:(0,s.t)("Close"),options:[{id:"clickOutsideToClose",label:(0,s.t)("Click Outside to Close"),type:"switch-dev",disabled:!B},{id:"groupShowCloseButton",type:"group-dev",options:[{id:"showCloseButton",label:(0,s.t)("Display Close Button"),type:"switch-dev"},{id:"showCloseButtonAfter",label:(0,s.t)("Delay"),type:"slider-dev",disabled:"on"!==h("showCloseButton"),config:{min:0,max:10,units:[{title:"s",value:"s"}]}}]}]}]}]},{id:"toolbarMedia",type:"popover-dev",config:{icon:"nc-background",title:(0,s.t)("Background")},position:80,options:[{id:"tabsMedia",type:"tabs-dev",tabs:[{id:"tabMedia",label:(0,s.t)("Image"),options:[{label:(0,s.t)("Image"),id:"bg",type:"imageUpload-dev",population:w}]},{id:"tabMask",label:(0,s.t)("Mask"),position:110,options:[{id:"maskShape",label:(0,s.t)("Shape"),devices:"desktop",type:"select-dev",choices:c.MaskShapes},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,s.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{content:(0,s.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==j},{id:"groupSize",type:"group-dev",disabled:R,options:[{id:"maskSize",label:(0,s.t)("Size"),type:"select-dev",choices:c.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==F,config:{min:1,max:"px"===N?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:R,options:[{id:"maskPosition",type:"select-dev",label:(0,s.t)("Position"),choices:c.MaskPositions},{id:"maskPositionx",label:(0,s.t)("X"),type:"slider-dev",disabled:"custom"!==L,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,s.t)("Y"),type:"slider-dev",disabled:"custom"!==L,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,s.t)("Repeat"),type:"select-dev",disabled:R||"cover"===F,choices:c.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,l.hexToRgba)(S,h("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBgColor",label:(0,s.t)("Background"),options:[{id:"",type:"backgroundColor-dev"}]},{id:"tabDropShadow",label:(0,s.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[m.NORMAL,m.HOVER],disabled:R}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,config:{icon:"nc-save-section",blockType:"popup",title:(0,s.t)("Save"),tooltipContent:(0,s.t)("Saved"),blockId:n.getId()}},{id:"horizontalAlign",type:"toggle-dev",disabled:!M,position:90,choices:[{icon:"nc-hrz-align-left",title:(0,s.t)("Align"),value:"left"},{icon:"nc-hrz-align-center",title:(0,s.t)("Align"),value:"center"},{icon:"nc-hrz-align-right",title:(0,s.t)("Align"),value:"right"}]},{id:"verticalAlign",type:"toggle-dev",disabled:"fullHeight"===v||!O,position:100,choices:[{icon:"nc-ver-align-top",title:(0,s.t)("Align"),value:"top"},{icon:"nc-ver-align-middle",title:(0,s.t)("Align"),value:"center"},{icon:"nc-ver-align-bottom",title:(0,s.t)("Align"),value:"bottom"}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,s.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,s.t)("Width"),type:"slider-dev",position:100,config:{min:"px"===b?200:20,max:"px"===b?1170:100,units:[{title:"px",value:"px"},{title:"%",value:"%"}]}},{id:"groupHeight",type:"group-dev",position:100,options:[{id:"columnsHeightStyle",label:(0,s.t)("Height"),type:"select-dev",choices:I},{id:"columnsHeight",type:"slider-dev",disabled:!("custom"===v||"custom2"===v),config:{min:20,max:"px"===h("columnsHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]},{id:"popupRowVerticalAlign",label:(0,s.t)("Content"),type:"radioGroup-dev",devices:"desktop",disabled:"auto"===h("columnsHeightStyle"),position:110,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,s.t)("Styling"),icon:"nc-cog",align:"left"}}]},{id:"remove",type:"button",disabled:!_,title:(0,s.t)("Delete"),icon:"nc-trash",position:250,onChange:()=>{n.handleDropClick()}}]}},53560:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("closeColorHex"),s("closeColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Icon")},position:70,options:[{id:"toolbarCurrentElementTabs",type:"tabs-dev",tabs:[{id:"toolbarCurrentElementTabClose",label:(0,n.t)("Icon"),options:[{id:"closeHorizontalPosition",label:(0,n.t)("Lateral"),type:"slider-dev",config:{min:-50,max:50,units:[{title:"px",value:"px"}]}},{id:"closeVerticalPosition",label:(0,n.t)("Vertical"),type:"slider-dev",config:{min:-50,max:50,units:[{title:"px",value:"px"}]}},{id:"groupCloseSize",type:"group-dev",options:[{id:"closeSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"closeCustomSize",type:"slider-dev",disabled:"custom"!==s("closeSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]}]},{id:"toolbarCurrentElementTabBackground",label:(0,n.t)("Background"),options:[{id:"closeBgSize",label:(0,n.t)("Size"),type:"slider-dev",config:{min:0,max:30,units:[{title:"px",value:"px"}]}},{id:"groupCloseBorderRadiusShape",type:"group-dev",options:[{id:"closeBorderRadiusType",label:(0,n.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"closeBorderRadius",type:"slider-dev",disabled:"custom"!==s("closeBorderRadiusType"),config:{min:0,max:50,units:[{title:"px",value:"px"}]}}]}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("closeColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,n.t)("Icon"),options:[{id:"closeColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"closeBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"closePosition",type:"toggle-dev",position:100,choices:[{icon:"nc-position-in",value:"inside",title:""},{icon:"nc-position-out",value:"outside",title:""}]},{id:"closeAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-align-top-left",value:"topLeft",title:""},{icon:"nc-align-top-right",value:"topRight",title:""},{icon:"nc-align-bottom-right",value:"bottomRight",title:""},{icon:"nc-align-bottom-left",value:"bottomLeft",title:""}]},{id:"advancedSettings",type:"advancedSettings",roles:["admin"],position:110,icon:"nc-cog",devices:"desktop",title:(0,n.t)("Settings")}]}},72705:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(57582);function n(){return[(0,r.toolbarDisabledShowOnMobile)({}),(0,r.toolbarDisabledShowOnTablet)({})]}},6965:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=y(o(27378)),n=y(o(60042)),i=y(o(63692)),a=y(o(36275)),l=y(o(31440)),s=y(o(67439)),c=h(o(11828)),d=h(o(99603)),u=o(899),p=o(94220),f=y(o(10483)),m=o(86022);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const b=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"];class v extends i.default{static get componentId(){return"Shape"}static defaultValue=f.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const i=(0,n.default)("brz-shape",(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,u.style)(e,t,o)));return r.default.createElement(s.default,this.makeToolbarPropsFromConfig2(c,d),r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(m.Wrapper,this.makeWrapperProps({className:i}),r.default.createElement(l.default,{points:b,restrictions:{height:{"%":{min:5,max:1/0}},width:{"%":{min:5,max:100}}},meta:this.props.meta,value:e,onChange:this.handleResizerChange}))))}}const S=v},99603:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Shape"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},899:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleBgColor","cssStyleBgGradient"],interval:["cssStyleHoverTransition"]},".brz &&:hover:after":{standart:["cssStyleSizeHeightPercentOnly"]}}})}},11828:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),n=o(81405),i=o(68256),a=o(69321);function l(e){let{v:t,device:o}=e;const l=e=>(0,a.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,i.getOptionColorHexByPalette)(l("bgColorHex"),l("bgColorPallete"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(s,l("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,r.t)("Color"),options:[{id:"",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,r.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"tabBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110,icon:"nc-cog"}]}},97557:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AddToCart",{enumerable:!0,get:function(){return w}});const r=b(o(60042)),n=b(o(27378)),i=o(54668),a=b(o(36275)),l=o(73948),s=b(o(67439)),c=b(o(63692)),d=o(94220),u=o(9644),p=S(o(63300)),f=o(86022),m=b(o(76458)),y=S(o(87644)),g=o(55398),h=S(o(98550));function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class w extends c.default{static get componentId(){return"AddToCart"}static defaultValue=m.default;handleTextChange=e=>this.patchValue(e);renderIcon(e){const{iconName:t,iconType:o}=e;if(t&&o)return n.default.createElement(l.ThemeIcon,{className:"brz-shopify-icon-cart",name:t,type:o})}renderForEdit(e,t,o){const{itemId:l}=e,c=(0,r.default)("brz-shopify-add-to-cart",(0,d.css)(this.getComponentId(),this.getId(),(0,g.style)(e,t,o))),m=p.read(l)||(0,u.makePlaceholder)({content:"{{ brizy_dc_collection_item_field }}",attr:{slug:"id"}}),b=(0,u.makePlaceholder)({content:"{{ brizy_dc_collection_item_field }}",attr:{slug:"variants.id"}});return n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(h,y),n.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(f.Wrapper,{...this.makeWrapperProps({className:c,attributes:{"data-product-handle":m,"data-default-variant-id":b}}),component:"button"},this.renderIcon(e),n.default.createElement(i.Text,{id:"text",v:e,onChange:this.handleTextChange}),!1)))}}},87644:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner")}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]},55398:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBgGradient","cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementShopifyAddToCartSize","cssStyleElementButtonIconPosition"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-shopify-icon-cart":{standart:["cssStyleSizeFontSizeIcon","cssStyleElementButtonIconMargin","cssStyleElementButtonIconStrokeWidth"]}}})}},98550:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return f}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64187),a=o(81405),l=o(64985),s=o(69321),c=o(68256),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(63300)),u=o(24119);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}const f=e=>{let{v:t,device:o,state:n}=e;const p=r.default.getAll(),f=e=>(0,s.defaultValueValue)({v:t,key:e,device:o,state:n}),m=f("iconName"),{hex:y}=(0,c.getOptionColorHexByPalette)(f("bgColorHex"),f("bgColorPalette")),g=d.read(f("sourceType"))??"",h=p?.api?.collectionItems?.getCollectionItemsIds?.handler;return[{id:"toolbarCart",type:"popover-dev",position:50,config:{size:"auto",title:(0,l.t)("Products"),icon:"nc-woo-add-to-cart"},devices:"desktop",options:[{id:"groupProduct",type:"group-dev",options:[{id:"itemId",label:(0,l.t)("Product"),type:"select-dev",disabled:!h||""===g,choices:{load:()=>(0,i.getSourceIds)(g,p),emptyLoad:{title:(0,l.t)("There are no choices")}}}]}]},{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,l.t)("Icon")},position:60,options:[{id:"currentShortcodeTabs",type:"tabs-dev",tabs:[{id:"currentShortcodeIconTab",label:(0,l.t)("Icon"),options:[{id:"icon",label:(0,l.t)("Icon"),type:"iconSetter-dev",config:{canDelete:!0}},{id:"iconPosition",label:(0,l.t)("Position"),type:"radioGroup-dev",disabled:""===m,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"iconCustomSize",label:(0,l.t)("Size"),type:"slider-dev",disabled:""===m,config:{min:1,max:100,units:[{title:"px",value:"px"}]}},{id:"iconSpacing",label:(0,l.t)("Spacing"),type:"slider-dev",disabled:""===m,config:{min:0,max:100,units:[{title:"px",value:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(y,f("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,l.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"buttonColorTab",label:(0,l.t)("Text"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]},{id:"tabShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,options:[{id:"width",label:(0,l.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"height",label:(0,l.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",label:(0,l.t)("More Settings"),icon:"nc-cog"}]}]}},79675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AliExpressReview",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(35868)),d=m(o(35894)),u=m(o(36896));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"AliExpressReview"}static defaultValue=c.default;renderAliExpressWidget(e){const t=(0,l.makePlaceholder)({content:"{{product.metafields.ryviu.product_reviews_info | escape }}"}),o=(0,l.makePlaceholder)({content:"{{product.id}}"}),n=(0,l.makePlaceholder)({content:"{{product.handle}}"}),i=``,a=``,s=``;switch(e){case"star":return r.default.createElement("div",{"data-pt-type":"RyviuProductReviews"},r.default.createElement("div",{className:"review-widget",dangerouslySetInnerHTML:{__html:i}}));case"widget":return r.default.createElement("div",{"data-pt-type":"RyviuProductReviews"},r.default.createElement("div",{className:"lt-block-reviews",dangerouslySetInnerHTML:{__html:a}}));case"featuredMasonry":return r.default.createElement("div",{"data-pt-type":"RyviuProductReviews",dangerouslySetInnerHTML:{__html:""}});case"featuredCarousel":return r.default.createElement("div",{"data-pt-type":"RyviuProductReviews",dangerouslySetInnerHTML:{__html:""}});case"questionAnswers":return r.default.createElement("div",{"data-pt-type":"QuestionsAndAnswersRyviu"},r.default.createElement("div",{className:"lt-block-reviews",dangerouslySetInnerHTML:{__html:s}}))}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-aliExpress-review"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{widgetType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-aliExpress-review"}),this.renderAliExpressWidget(t))}}},35894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},36896:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("widgetType",(0,n.defaultValueValue)({v:t,key:"widgetType",device:"desktop",state:"normal"}));return[{id:"toolbarAliExpressReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Widgets")},options:[{id:"widgetType",label:(0,r.t)("Review Type"),type:"select-dev",placeholder:(0,r.t)("Select"),choices:[{title:"Stars",value:"star"},{title:"Widget",value:"widget"},{title:"Masonry",value:"featuredMasonry"},{title:"Carousel",value:"featuredCarousel"},{title:"Q & A",value:"questionAnswers"}],helper:{content:"questionAnswers"===o?(0,r.t)("You can add only 1 element on page"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},6758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AliReviews",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(70013)),d=m(o(4971)),u=m(o(23320));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"AliReviews"}static defaultValue=c.default;renderAliWidget(e,t){const{productSource:o}=t,n=(0,l.makePlaceholder)({content:"{{ product.id }}"}),i=(0,l.makePlaceholder)({content:"{{ shop.metafields.review_collector.review_code }}"});switch(e){case"prodRatingStar":return r.default.createElement("div",{"data-pf-type":"AliReviews"},r.default.createElement("div",{"product-id":n,className:"alr-display-review-badge"}),r.default.createElement("div",{style:{display:"none"},id:"shopify-ali-review","product-id":n},i));case"collRatingStar":return r.default.createElement("div",{"data-pf-type":"AliReviews"},r.default.createElement("div",{"product-id":o,className:`arv-collection arv-collection--${o}`}));case"reviewBox":return r.default.createElement("div",{"data-pf-type":"AliReviews"},r.default.createElement("div",{"pf-ar-element":"ali-review-box","pf-widget-id":"182499"},"{% include 'alireviews-widget-182499' %}"));case"carousel":return r.default.createElement("div",{"data-pf-type":"AliReviews"},r.default.createElement("div",{"pf-ar-element":"ali-carousel-slider"},"{% include 'alireviews-widget-undefined' %}"))}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-reviews-ali"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-reviews-ali"}),this.renderAliWidget(t,e))}}},4971:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},23320:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("reviewType",(0,n.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarAliReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",config:{size:"large"},choices:[{title:"Product Rating Star",value:"prodRatingStar"},{title:"Collection Rating Star",value:"collRatingStar"},{title:"Review Box",value:"reviewBox"},{title:"Carousel Slider",value:"carousel"}]},{id:"productSource",label:(0,r.t)("Custom Product"),type:"select-dev",placeholder:(0,r.t)("No product selected"),disabled:"collRatingStar"!==o,choices:[{title:"112222",value:"112233"}]},{id:"widgetType",label:(0,r.t)("Widget List"),type:"select-dev",disabled:"carousel"!==o,choices:[{title:"No Data",value:"no_data"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},68029:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppstleSubscription",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(9644),s=o(86022),c=f(o(23406)),d=f(o(23080));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"AppstleSubscription"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-appstle-subscription"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-appstle-subscription"}),r.default.createElement("span",{className:"appstle_stand_alone_selector","data-product-data":(0,l.makePlaceholder)({content:"{{ product | json | escape }}"}),"data-pf-type":"AppstleSubs"}))}}},23406:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},23080:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},11279:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AreviewReviews",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(7201)),d=m(o(48317)),u=m(o(14174));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"AreviewReviews"}static defaultValue=c.default;renderAreviewWidget(e){switch(e){case"carousel":return r.default.createElement("div",{id:"az_reviews_slider"});case"badge":return r.default.createElement("div",{id:"az_budge_reviews"});case"productRating":return r.default.createElement("div",{className:"areviews_header_stars"});case"productReviews":return r.default.createElement("div",{id:"Areviewsapp",className:"page-full"},"{% include 'aliexpress_reviews' %}");case"collectionRating":{const e=(0,l.makePlaceholder)({content:"{{ product.id }}"});return r.default.createElement("div",{className:`areviews_product_item areviews_stars ${e}`,"data-product-id":e})}}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-areview-reviews"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-areview-reviews"}),r.default.createElement("div",{"data-pf-type":"AReview"},this.renderAreviewWidget(t)))}}},48317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},14174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("reviewType",(0,n.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarAreviewReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Carousel",value:"carousel"},{title:"Badge",value:"badge"},{title:"Product Rating",value:"productRating"},{title:"Product",value:"productReviews"},{title:"Collection Rating",value:"collectionRating"}],helper:{content:"collectionRating"===o?(0,r.t)("Collection Rating will work only if inserted in Product Details component"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},80573:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AutomizelyOrderTracking",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=(o(81405),o(86022)),s=u(o(46023)),c=f(o(38807)),d=f(o(21123));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"AutomizelyOrderTracking"}static defaultValue=s.default;renderForEdit(e){const{lookupOption:t,buttonText:o,domain:a,size:s,buttonColorHex:u,buttonColorOpacity:p,textColorHex:f,textColorOpacity:m,hideIcon:y}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-automizely-order-tracking"}),r.default.createElement(n.default,{icon:"img"})))}}},38807:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},21123:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=e=>{let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s=l("buttonColorOpacity"),c=l("titleColorOpacity"),{hex:d}=(0,a.getOptionColorHexByPalette)(l("buttonColorHex"),l("buttonColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(l("textColorHex"),l("textColorPalette"));return[{id:"toolbarAutomizelyOT",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Content"),icon:"nc-shopify-logo"},devices:"desktop",position:10,options:[{id:"lookupOption",label:(0,n.t)("Lookup Options"),type:"select-dev",choices:[{title:"Tracking Number",value:"tracking-number"},{title:"Order Number & Email",value:"order-number-and-email"},{title:"Both",value:"both"}]},{id:"buttonText",label:(0,n.t)("Button text"),type:"inputText-dev"},{id:"domain",label:(0,n.t)("Tracking Page URL"),type:"inputText-dev",helper:{content:(0,n.t)("Get your tracking page URL in the Tracking pages section of AfterShip application.")}},{id:"hideIcon",label:(0,n.t)("Hide Aftership Icon"),type:"switch-dev"},{id:"size",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-small"},{value:"medium",icon:"nc-medium"},{value:"large",icon:"nc-large"}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:s>0?(0,r.hexToRgba)(d,s):(0,r.hexToRgba)(u,c)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabButton",label:(0,n.t)("Button"),options:[{id:"buttonColor",type:"colorPicker-dev"}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev"}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,n.t)("More Settings"),position:110,icon:"nc-cog",title:(0,n.t)("Settings")}]}},5294:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BISStock",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(30973)),c=f(o(80522)),d=f(o(52802));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"BISStock"}static defaultValue=s.default;renderForEdit(e){const{buttonName:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bis-stock"}),r.default.createElement(n.default,{icon:"img"})))}}},80522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},52802:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarBISStock",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Name")},options:[{id:"buttonName",label:(0,r.t)("Button Name"),type:"inputText-dev"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},56186:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoldBundles",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(41481)),c=p(o(16507));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"BoldBundles"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-bundle"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-bundle"}),r.default.createElement("div",{"data-pf-type":"BoldBundles"},'{% render "shappify-bdl-load-bundle", product: product %}'))}}},41481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},16507:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},10104:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoldProduct",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=(o(9644),o(86022)),s=p(o(96526)),c=p(o(45195));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"BoldProduct"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-options"}),r.default.createElement(n.default,{icon:"img"})))}}},96526:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},45195:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},43843:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BoldSubscription",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(28608)),c=p(o(56952));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"BoldSubscription"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-subscription"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-bold-subscription"}),r.default.createElement("div",{"data-pf-type":"BoldSubs"},r.default.createElement("div",null,"{% render 'bsub-widget', product: product %}")))}}},28608:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},56952:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},33805:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PickyStory",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(15855)),c=f(o(61785)),d=f(o(47982));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"PickyStory"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-picky-story"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{widgetType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-picky-story"}),r.default.createElement("div",{"data-pt-type":"PickyStory"},r.default.createElement("div",{className:`pagefly-picky-${t}`})))}}},61785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},47982:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarBundlesApp",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Widgets")},options:[{id:"widgetType",label:(0,r.t)("Widget Type"),type:"select-dev",placeholder:(0,r.t)("Select"),choices:[{title:"Combo Product",value:"combo"},{title:"Bundles",value:"bundle"},{title:"Bundle Builders",value:"builder"},{title:"Kits",value:"kit"},{title:"Buy The Looks",value:"buy-the-look"}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},25154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CrossSell",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(21511)),c=p(o(74419));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"CrossSell"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-cross-sell"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-cross-sell"}),r.default.createElement("div",{"data-pf-type":"CrossSell"},'{% include "cross-sell" %}'))}}},21511:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},74419:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},16217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EmailMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(38345)),c=f(o(87181)),d=f(o(66043));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"EmailMarketing"}static defaultValue=s.default;renderCMWidget(e,t){switch(e){case"recent":case"summary":case"tab":case"badge":return r.default.createElement("div",{"data-pf-type":"CMCommerce",dangerouslySetInnerHTML:{__html:t}})}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-email-marketing"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{widgetType:t,embededCode:o}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-email-marketing"}),this.renderCMWidget(t,o))}}},87181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},66043:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("widgetType",(0,n.defaultValueValue)({v:t,key:"widgetType",device:"desktop",state:"normal"}));return[{id:"toolbarEmailMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Widgets")},options:[{id:"groupOptions",type:"group-dev",options:[{id:"widgetType",label:(0,r.t)("Widget"),type:"select-dev",placeholder:(0,r.t)("Select..."),choices:[{title:"Recent",value:"recent"},{title:"Summary",value:"summary"},{title:"Tab",value:"tab"},{title:"Badge",value:"badge"}]},{id:"embededCode",label:(0,r.t)("Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FastSimonUpsell",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(64538)),c=f(o(80692)),d=f(o(70458));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"FastSimonUpsell"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-fast-simon-upsell"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{embededCode:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-fast-simon-upsell"}),r.default.createElement("div",{"data-pf-type":"FastSimonUpsell",dangerouslySetInnerHTML:{__html:t}}))}}},80692:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},70458:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarFastSimonUpsell",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Upsell")},options:[{id:"embededCode",label:(0,r.t)("Embeded Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FeraReviews",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(96249)),c=f(o(56383)),d=f(o(39779));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"FeraReviews"}static defaultValue=s.default;renderFeraWidget(e,t){switch(e){case"product":case"testimonial":case"allReviews":case"averageRating":case"avgStoreRating":case"banner":case"ppMedia":case"inStoreMedia":case"ppCounter":case"cpCounter":case"ppEventFeed":case"generalEventFeed":case"eventPopups":return r.default.createElement("div",{"data-pf-type":"Fera",dangerouslySetInnerHTML:{__html:t}})}}renderForEdit(e){const{reviewType:t,htmlTag:o}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-fera-reviews"}),r.default.createElement(n.default,{icon:"img"})))}}},56383:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},39779:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarFeraReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",type:"select-dev",label:(0,r.t)("Reviews Type"),choices:[{title:"Product",value:"product"},{title:"Testimonial Carousel",value:"testimonial"},{title:"All Reviews",value:"allReviews"},{title:"Average Rating",value:"averageRating"},{title:"Avg. Store Rating",value:"avgStoreRating"},{title:"Logo Showcase Banner",value:"banner"},{title:"Product Page Media",value:"ppMedia"},{title:"In Store Media",value:"inStoreMedia"},{title:"Product Page Counter",value:"ppCounter"},{title:"Collection Page Counter",value:"cpCounter"},{title:"Product Page Event Feed",value:"ppEventFeed"},{title:"General Event Feed",value:"generalEventFeed"},{title:"Event Popups",value:"eventPopups"}]},{id:"htmlTag",label:(0,r.t)("HTML Tag"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FrequentlyBought",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(34680)),c=f(o(554)),d=f(o(69340));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"FrequentlyBought"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-frequently-bought"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-frequently-bought"}),r.default.createElement("div",{"data-pf-type":"FrequentlyBought"}))}}},554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},69340:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},39969:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"GrowaveWishlist",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(9644),s=o(86022),c=f(o(95703)),d=f(o(54576));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"GrowaveWishlist"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-growave-wishlist"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){const e=(0,l.makePlaceholder)({content:"{{ the_snippet_fave }}"});return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-growave-wishlist"}),r.default.createElement("div",{"data-pf-type":"GrowaveWishlist"},`{% capture the_snippet_fave %}{% include 'socialshopwave-widget-fave' %}{% endcapture %}{% unless the_snippet_fave contains 'Liquid error' %}${e}{% endunless %}`))}}},95703:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},54576:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},55038:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeroWishList",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(29894)),c=p(o(13610));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"HeroWishList"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hero-wishlist"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hero-wishlist"}),r.default.createElement("div",{"data-pf-type":"HeroWishlist"},"{% render 'wishlisthero-custom-button.liquid' %}"))}}},29894:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},13610:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},71470:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HextomBadges",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(58749)),c=f(o(70778)),d=f(o(96937));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"HextomBadges"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hextom-badge"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{badgeSeal:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-hextom-badge"}),r.default.createElement("div",{className:t,"data-pf-type":"HextomSalesBoost"}))}}},70778:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},96937:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarHextomReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Seals")},options:[{id:"badgeSeal",label:(0,r.t)("Seal Type"),type:"select-dev",placeholder:(0,r.t)("Select Seal"),choices:[{title:"Seal",value:"htusb-placeholder-trust"},{title:"Advanced Seal",value:"htusb-placeholder-trust-advanced"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},8071:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HulkOptions",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(67542)),d=m(o(55513)),u=m(o(79290));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"HulkOptions"}static defaultValue=c.default;renderForEdit(){return(0,l.makePlaceholder)({content:"{{ product.id }}"}),r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-hulk-options"}),r.default.createElement(n.default,{icon:"img"})))}}},55513:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},79290:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},88006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InfiniteOptions",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(84107)),c=f(o(63310)),d=f(o(90117));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"InfiniteOptions"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-infite-options"}),r.default.createElement(n.default,{icon:"img"})))}}},63310:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},90117:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},74723:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"KiwiChart",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(67284)),d=m(o(93849)),u=m(o(1007));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"KiwiChart"}static defaultValue=c.default;renderForEdit(e){const{displayMode:t}=e;return(0,l.makePlaceholder)({content:"{{product.id}}"}),(0,l.makePlaceholder)({content:"{{product.collections | map: 'id' | join: ','}}"}),(0,l.makePlaceholder)({content:"{{product.tags | join: ',' | escape}}"}),(0,l.makePlaceholder)({content:"{{product.vendor | escape}}"}),(0,l.makePlaceholder)({content:"{{product.title}}"}),(0,l.makePlaceholder)({content:"{{product.images | json| escape}}"}),(0,l.makePlaceholder)({content:"{{product.type | escape}}"}),r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-kiwi-chart"}),r.default.createElement(n.default,{icon:"img"})))}}},93849:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},1007:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarKiwiChart",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Information")},options:[{id:"displayMode",label:(0,r.t)("Display Mode"),type:"select-dev",choices:[{title:"Link Modal",value:"1"},{title:"Button Modal",value:"2"},{title:"Inline",value:"0"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},10326:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"KlavyioMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(80610)),c=f(o(97243)),d=f(o(63444));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"KlavyioMarketing"}static defaultValue=s.default;renderForEdit(e){const{formID:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-klavyio-marketing"}),r.default.createElement(n.default,{icon:"img"})))}}},97243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},63444:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarKlavyioMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"formID",type:"inputText-dev",label:(0,r.t)("Embed Form Id"),placeholder:"Enter form code"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},98495:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LaiReviews",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(40343)),d=m(o(92721)),u=m(o(26367));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"LaiReviews"}static defaultValue=c.default;renderLaiWidget(e){switch(e){case"star":{const e=(0,l.makePlaceholder)({content:"{{ product.id }}"}),t=(0,l.makePlaceholder)({content:"{{ product.metafields.scm_review_importer.reviewsData.reviewCountInfo | json }}"});return r.default.createElement("div",{className:"scm-reviews-rate","data-rate-version2":t,"data-product-id":e})}case"widget":return r.default.createElement(r.default.Fragment,null,'{% render "reviews-importer",product : product %}',r.default.createElement("div",{className:"scm-container custom",style:{display:"none"}},r.default.createElement("div",{id:"scm-reviews-importer",className:"scm-reviews-importer"},r.default.createElement("iframe",{id:"scm-reviews-importer-iframe",width:"100%",title:"reviews"}))));case"homePageReview":return r.default.createElement(r.default.Fragment,null,'{% render "lai-home-page" %}');case"showcase":return r.default.createElement(r.default.Fragment,null,'{% render "reviews-happy-page" %}')}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-lai-reviews"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{widgetType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-lai-reviews"}),r.default.createElement("div",{"data-pf-type":"LaiReviews"},this.renderLaiWidget(t)))}}},92721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},26367:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("widgetType",(0,n.defaultValueValue)({v:t,key:"widgetType",device:"desktop",state:"normal"}));return[{id:"toolbarLAIReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"widgetType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:(0,r.t)("Star"),value:"star"},{title:(0,r.t)("Widget"),value:"widget"},{title:(0,r.t)("Homepage"),value:"homePageReview"},{title:(0,r.t)("Showcase"),value:"showcase"}],helper:{content:"star"!==o?(0,r.t)("Use only one widget per page like Widget, HomePage Review, Showcase Review"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},48898:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LimeSpot",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(6085),s=o(86022),c=p(o(70598)),d=m(o(10331)),u=m(o(35210));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"LimeSpot"}static defaultValue=c.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-limespot-upsell"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{upsellType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-limespot-upsell"}),r.default.createElement("div",{"data-pf-type":"LimeSpot"},r.default.createElement("div",{id:`pf_limespot_${(0,l.capitalize)(t)}`})))}}},10331:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},35210:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("upsellType",(0,n.defaultValueValue)({v:t,key:"upsellType",device:"desktop",state:"normal"}));return[{id:"toolbarLimeSpot",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Upsells")},options:[{id:"upsellType",label:(0,r.t)("Upsell"),type:"select-dev",placeholder:(0,r.t)("Select"),choices:[{title:"Most Popular",value:"popular"},{title:"You May Like",value:"youMayLike"},{title:"Recently Viewed",value:"recentViews"},{title:"Trending",value:"trending"},{title:"Cross-Sell",value:"crossSell"},{title:"Bought Together",value:"boughtTogether"},{title:"Related Items",value:"related"},{title:"New Arrivals",value:"newArrival"},{title:"Featured Collection 1",value:"featuredCollection1"},{title:"Featured Collection 2",value:"featuredCollection2"},{title:"Featured Collection 3",value:"featuredCollection3"},{title:"Featured Collection 4",value:"featuredCollection4"}],helper:{content:""!==o?(0,r.t)("Insert only one of each type of upsell on your page!"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},43512:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LooxReview",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(59116)),c=f(o(77653)),d=f(o(42786));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"LooxReview"}static defaultValue=s.default;displayLooxWidget(e,t){const{productID:o,reviewLimit:n,withImage:i}=t,a={"data-limit":`${n}`};switch("on"===i&&(a["data-mode"]="img"),e){case"gallery":return r.default.createElement("div",{id:"looxReviews","data-loox-aggregate":"true",...a},"gallery + allProductReviews");case"custom":return r.default.createElement("div",{id:"looxReviews","data-product-id":o,...a});case"star":return r.default.createElement("div",{className:"loox-rating","data-fetch":"true","data-id":o})}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-loox-review"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-loox-review"}),this.displayLooxWidget(t,e))}}},77653:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},42786:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("reviewType",(0,n.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarLooxReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Gallery",value:"gallery"},{title:"Custom Product",value:"custom"},{title:"Stars",value:"star"}]},{id:"productID",label:(0,r.t)("Product"),type:"select-dev",disabled:"gallery"===o,placeholder:(0,r.t)("Select Product"),choices:[{title:"112233",value:"112233"}]},{id:"reviewLimit",label:(0,r.t)("Reviews Limit"),type:"slider-dev",disabled:"star"===o},{id:"withImage",label:(0,r.t)("Reviews with Photo"),type:"switch-dev",disabled:"star"===o}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},14087:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MarselloMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(54797)),c=f(o(35760)),d=f(o(41153));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"MarselloMarketing"}static defaultValue=s.default;renderForEdit(e){const{pageLink:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-marsello-marketing"}),r.default.createElement(n.default,{icon:"img"})))}}},35760:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},41153:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarMarselloMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"pageLink",type:"inputText-dev",label:(0,r.t)("Landing Page Link"),placeholder:"https://app..."}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},86814:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OkendoReview",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(47514)),d=m(o(61451)),u=m(o(76171));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"OkendoReview"}static defaultValue=c.default;renderRyviuWidget(e,t){const{showHeader:o,headingText:n,autoPlay:i,imageLinkText:a,slideSize:s,arrowPosition:c,gapSize:d,gapSizeSuffix:u,hideLoadMoreArrow:p,loadMoreOnScoll:f,desktopGridStyle:m,mobileGridStyle:y,linkText:g,badgePosition:h,badgeSize:b,linkToPage:v}=t,S={},w=(0,l.makePlaceholder)({content:"{{ product.id }}"}),x=(0,l.makePlaceholder)({content:"{{ product.metafields.okendo.ProductListingSnippet }}"}),P=(0,l.makePlaceholder)({content:"{{ product.metafields.okendo.ProductReviewsWidgetSnippet }}"});switch(e){case"star":return r.default.createElement("div",{"data-pf-type":"Okendo"},r.default.createElement("div",{"data-oke-reviews-product-listing-rating":!0},x));case"widget":return r.default.createElement("div",{"data-pf-type":"Okendo"},r.default.createElement("div",{className:"okeReviews-widget-holder","data-oke-reviews-widget":!0,"data-oke-reviews-product-id":`shopify-${w}`},P));case"reviewCarousel":return"off"===o?(S["data-oke-hide-header"]="true",S["data-oke-reviews-carousel-heading"]="undefined"):(S["data-oke-hide-header"]="false",S["data-oke-reviews-carousel-heading"]=n),r.default.createElement("div",{"data-pf-type":"Okendo"},r.default.createElement("div",{"data-oke-reviews-carousel":!0,"data-oke-reviews-product-id":`shopify-${w}`,...S}));case"mediaCarousel":return S["data-oke-reviews-autoplay"]="off"===i?"false":"true",r.default.createElement("div",{"data-oke-media-carousel":!0,"data-oke-reviews-slide-link-text":a,"data-oke-reviews-min-images":"1","data-oke-reviews-slide-size":s,"data-oke-reviews-arrow-position":c,"data-oke-reviews-product-id":`shopify-${w}`,...S});case"mediaGrid":return S["data-oke-reviews-hide-arrow"]="off"===p?"false":"true",S["data-oke-reviews-load-more-on-scroll"]="off"===f?"false":"true",r.default.createElement("div",{"data-oke-media-grid":!0,"data-oke-reviews-gap-size":`${d.toString()}${u}`,"data-oke-reviews-grid-style":m,"data-oke-reviews-mobile-grid-style":y,"data-oke-reviews-cell-link-text":g,"data-oke-reviews-product-id":`shopify-${w}`,...S});case"badge":return r.default.createElement("div",{className:`okeReviews--${""===h?"undefined":h}`},r.default.createElement("div",{"data-oke-reviews-badge":!0,"data-oke-reviews-badge-size":b,"data-oke-reviews-badge-link":v}))}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-okendo-review"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-okendo-review"}),this.renderRyviuWidget(t,e))}}},61451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},76171:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=e=>(0,n.defaultValueValue)({v:t,key:e,device:"desktop",state:"normal"}),i=o("reviewType"),a=o("showHeader");return[{id:"toolbarOkendoReview",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Reviews"),icon:"nc-shopify-logo"},devices:"desktop",position:10,options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Stars",value:"star"},{title:"Widget",value:"widget"},{title:"Carousel",value:"reviewCarousel"},{title:"Media Carousel",value:"mediaCarousel"},{title:"Media Grid",value:"mediaGrid"},{title:"Badge",value:"badge"}]},{id:"includeQA",label:(0,r.t)("Include Q & A"),type:"switch-dev",disabled:"widget"!==i,helper:{content:(0,r.t)("Works with PRO Plan")}},{id:"showHeader",label:(0,r.t)("Show Heading"),type:"switch-dev",disabled:"reviewCarousel"!==i},{id:"headingText",label:(0,r.t)("Heading Text"),config:{size:"medium"},type:"inputText-dev",disabled:"reviewCarousel"!==i||"on"!==a},{id:"autoPlay",label:"Autoplay",type:"switch-dev",disabled:"mediaCarousel"!==i},{id:"arrowPosition",label:(0,r.t)("Arrow Position"),type:"toggle-dev",disabled:"mediaCarousel"!==i,choices:[{title:(0,r.t)("Inside"),icon:"nc-position-in",value:"inside"},{title:(0,r.t)("Outside"),icon:"nc-position-out",value:"outside"}]},{id:"imageLinkText",label:(0,r.t)("Image Link Text"),type:"inputText-dev",config:{size:"medium"},disabled:"mediaCarousel"!==i,placeholder:(0,r.t)("Enter text here...")},{id:"slideSize",label:(0,r.t)("Slide Size"),type:"select-dev",disabled:"mediaCarousel"!==i,choices:[{title:(0,r.t)("Extra Small"),value:"x-small"},{title:(0,r.t)("Small"),value:"small"},{title:(0,r.t)("Medium"),value:"medium"},{title:(0,r.t)("Large"),value:"large"},{title:(0,r.t)("Extra Large"),value:"x-large"}]},{id:"linkText",label:(0,r.t)("Link Text"),type:"inputText-dev",config:{size:"medium"},disabled:"mediaGrid"!==i,placeholder:(0,r.t)("Enter text here...")},{id:"gapSize",label:(0,r.t)("Gap Size"),type:"slider-dev",disabled:"mediaGrid"!==i,config:{min:0,max:200,step:1,units:[{title:"px",value:"px"}]}},{id:"hideLoadMoreArrow",label:(0,r.t)("Hide Load More Arrow"),type:"switch-dev",disabled:"mediaGrid"!==i},{id:"loadMoreOnScoll",label:(0,r.t)("Load More On Scroll"),type:"switch-dev",disabled:"mediaGrid"!==i},{id:"desktopGridStyle",label:(0,r.t)("Desktop Grid Style"),type:"select-dev",disabled:"mediaGrid"!==i,choices:[{title:(0,r.t)("Default"),value:"default"},{title:(0,r.t)("Large Centered"),value:"large-centred"},{title:(0,r.t)("Extra Large"),value:"x-large"},{title:(0,r.t)("Two Heroes"),value:"two-heroes"}]},{id:"mobileGridStyle",label:(0,r.t)("Mobile Grid Style"),type:"select-dev",disabled:"mediaGrid"!==i,choices:[{title:(0,r.t)("Default"),value:"default-mobile"},{title:(0,r.t)("Alternate Mobile"),value:"alternate-mobile"},{title:(0,r.t)("Extra Large"),value:"hero-three-mobile"}]},{id:"badgePosition",label:(0,r.t)("Badge Position"),type:"radioGroup-dev",disabled:"badge"!==i,choices:[{value:"left",icon:"nc-align-left"},{value:"center",icon:"nc-align-middle"},{value:"right",icon:"nc-align-right"}]},{id:"badgeSize",label:(0,r.t)("Badge Size"),type:"radioGroup-dev",disabled:"badge"!==i,choices:[{value:"large",icon:"nc-large"},{value:"small",icon:"nc-small"}]},{id:"linkToPage",label:(0,r.t)("Link To Page"),type:"inputText-dev",config:{size:"medium"},disabled:"badge"!==i,placeholder:(0,r.t)("Enter text here...")}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},46303:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OmegaTracking",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(79243)),c=p(o(16011));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"OmegaTracking"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-omega-tracking"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-omega-tracking"}),r.default.createElement("div",{"data-pf-type":"OmegaOrderTracking"},r.default.createElement("div",{id:"omega-order-lookup"})))}}},79243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},16011:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},48424:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OmnisendMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(4064)),c=f(o(90087)),d=f(o(35879));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"OmnisendMarketing"}static defaultValue=s.default;renderForEdit(e){const{pageLink:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-omnisend-marketing"}),r.default.createElement(n.default,{icon:"img"})))}}},90087:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},35879:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarOmnisendMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"pageLink",type:"inputText-dev",label:(0,r.t)("Landing Page Link"),placeholder:"https://..."}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},71692:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OnVoard",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(2172)),c=f(o(44204)),d=f(o(53251));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"OnVoard"}static defaultValue=s.default;renderForEdit(e){const{embedCode:t,widgetType:o}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-onvoard-notifications"}),r.default.createElement(n.default,{icon:"img"})))}}},44204:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},53251:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarJudgeReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Notification")},options:[{id:"widgetType",type:"select-dev",label:(0,r.t)("Widget"),helper:{content:(0,r.t)("This element should stay inside a Product Details Component")},choices:[{title:"Button",value:"button"},{title:"Text",value:"text"}]},{id:"embedCode",label:(0,r.t)("Short Code"),type:"inputText-dev",placeholder:"Insert code here..."}]}]}},83205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ParcelPanel",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(10796)),c=p(o(75458));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"ParcelPanel"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-parcel-panel"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-parcel-panel"}),r.default.createElement("div",{"data-pf-type":"ParcelPanel",className:"sc-eTwdGJ IQtZe pf-22_"},r.default.createElement("div",{className:"sc-eTwdGJ IQtZe"},r.default.createElement("div",{className:"pp_main"},r.default.createElement("div",{className:"pp_tracking_info",style:{display:"none"}}),r.default.createElement("div",{className:"pp_tracking_content"})),r.default.createElement("script",{type:"text/javascript",src:"//www.parcelpanel.com/track-page/track-js-get/pp-tracking-ajax-func"}))))}}},10796:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},75458:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},9514:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PaywhirlSubscription",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(50289)),c=p(o(46913));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"PaywhirlSubscription"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-paywhirl-subscription"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-paywhirl-subscription"}),r.default.createElement("div",{"data-pf-type":"PayWhirl"},"{% render 'paywhirl-plan-selector', product: product %}"))}}},50289:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},46913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},75572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PowrContactForm",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(76073)),c=f(o(16343)),d=f(o(84028));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"PowrContactForm"}static defaultValue=s.default;renderForEdit(e){const{embededCode:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-powr-contact-form"}),r.default.createElement(n.default,{icon:"img"})))}}},16343:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},84028:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarPowrMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"embededCode",type:"inputText-dev",label:(0,r.t)("POWR Form Embed code"),placeholder:"Enter embed code"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},84067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreProduct",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(9644),s=o(86022),c=f(o(57071)),d=f(o(56834));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"PreProduct"}renderForEdit(){return(0,l.makePlaceholder)({content:"{{product.id}}"}),r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-pre-product"}),r.default.createElement(n.default,{icon:"img"})))}}},57071:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},56834:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},40827:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProductOptions",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(5335)),c=f(o(53915)),d=f(o(14021));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"ProductOptions"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-product-options"}),r.default.createElement(n.default,{icon:"img"})))}}},53915:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},14021:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},35348:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ProductReview",{enumerable:!0,get:function(){return b}});const r=y(o(60042)),n=y(o(27378)),i=y(o(36275)),a=y(o(53125)),l=y(o(67439)),s=y(o(63692)),c=o(94220),d=o(9644),u=o(86022),p=h(o(24758)),f=o(98627),m=h(o(96589));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class b extends s.default{static get componentId(){return"ProductReview"}handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>{this.patchValue(e)};renderForEdit(e,t,o){const s=(0,r.default)("brz-shopify-product-review",(0,c.css)(this.getComponentId(),this.getId(),(0,f.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(m,p),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:s}),n.default.createElement(a.default,{icon:"img"}))))}renderForView(e,t,o){const i=(0,r.default)("brz-shopify-product-review",(0,c.css)(this.getComponentId(),this.getId(),(0,f.style)(e,t,o))),a=(0,d.makePlaceholder)({content:"{{product.metafields.spr.reviews}}"}),l=(0,d.makePlaceholder)({content:"{{product.id}}"});return n.default.createElement(u.Wrapper,this.makeWrapperProps({className:i}),n.default.createElement("div",{id:"shopify-product-reviews","data-id":l},a))}}},24758:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},98627:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{}})}},96589:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},39706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PushOwlNotifications",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(35872)),d=m(o(72917)),u=m(o(51062));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"PushOwlNotifications"}static defaultValue=c.default;renderForEdit(e){const{buttonType:t,buttonName:o,subMessage:a,preDisplay:c,postDisplay:p}=e;return(0,l.makePlaceholder)({content:"{{ product.id }}"}),r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-owl-notifications"}),r.default.createElement(n.default,{icon:"img"})))}}},72917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},51062:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("buttonType",(0,n.defaultValueValue)({v:t,key:"buttonType",device:"desktop",state:"normal"}));return[{id:"toolbarVideoShopping",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Notifications")},options:[{id:"buttonType",label:(0,r.t)("Button Type"),type:"select-dev",choices:[{title:"Subscription",value:"subscribe"},{title:"Back In Stock",value:"bis"},{title:"Product Discount",value:"pd"}],helper:{content:"subscribe"!==o?(0,r.t)("Add only one item of this type on the page"):""}},{id:"buttonName",type:"inputText-dev",label:(0,r.t)("Button Name")},{id:"subMessage",type:"inputText-dev",label:(0,r.t)("Post Subscription Text")},{id:"preDisplay",type:"select-dev",label:(0,r.t)("Pre-display"),helper:{content:(0,r.t)("The button's state before visitors have subscribed")},choices:[{title:"Inline",value:"inline"},{title:"Block",value:"block"},{title:"Inline-Block",value:"inline-block"}]},{id:"postDisplay",type:"select-dev",label:(0,r.t)("Post-display Button"),helper:{content:(0,r.t)("The button's state after visitors have subscribed")},choices:[{title:"Inline",value:"inline"},{title:"Block",value:"block"},{title:"Inline-Block",value:"inline-block"},{title:"None",value:"none"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},40544:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RechargeSubscriptions",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(97466)),c=f(o(39855)),d=f(o(76476));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"RechargeSubscriptions"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-recharge-subscriptions"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-recharge-subscriptions"}),r.default.createElement("div",{"data-pf-type":"ReCharge"},"{% render 'subscription-product' with product as product %}"))}}},39855:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},76476:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},36046:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewRivyo",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(38765)),d=m(o(38963)),u=m(o(2167));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"ReviewRivyo"}static defaultValue=c.default;renderRivyoWidget(e){const t=(0,l.makePlaceholder)({content:"{{ product.handle }}"}),o=(0,l.makePlaceholder)({content:"{{ shop.url }}"});switch(e){case"reviewWidget":return r.default.createElement("div",{"data-pf-element":"true",id:"wc_review_section",className:"wc_review_main_content","data-url":o,"data-handle":t,"data-limit":"0"});case"allStore":return r.default.createElement("div",{"data-pf-element":"true",id:"wc_all_review_page",className:"wc_review_main_content","data-url":o,"data-limit":"0"});case"averageRating":return r.default.createElement("div",{className:"wc_product_review_badge","data-handle":t})}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-rivyo-review"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-rivyo-review"}),this.renderRivyoWidget(t))}}},38963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},2167:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("reviewType",(0,n.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarReviewByRivyo",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Review")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Widget",value:"reviewWidget"},{title:"All Store",value:"allStore"},{title:"Avg. Star Rating",value:"averageRating"}]},{id:"productSource",label:(0,r.t)("Product Source"),type:"select-dev",disabled:"allStore"===o,choices:[{title:"Auto",value:"auto"}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},66413:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewVitals",{enumerable:!0,get:function(){return p}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(92158)),c=o(26244),d=o(4700);function u(e){return e&&e.__esModule?e:{default:e}}class p extends a.default{static get componentId(){return"ReviewVitals"}static defaultValue=s.default;renderVitalsWidget(e){switch(e){case"default":return r.default.createElement("div",{id:"bundle-product_reviews"});case"sealsBadges":return r.default.createElement("div",{id:"bundle-trust_badges"});case"bundles":return r.default.createElement("div",{id:"bundle-product-bundles"});case"discounts":return r.default.createElement("div",{id:"bundle-volume-discounts"});case"scarcity":return r.default.createElement("div",{id:"vitals-stock-urgency"})}}renderForEdit(e){const{widgetType:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2({getItems:d.getItems},{getItems:c.getItems}),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-review-vitals"}),r.default.createElement(n.default,{icon:"img"})))}}},26244:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},4700:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarVitalsReview",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Reviews"),icon:"nc-shopify-logo"},devices:"desktop",position:10,options:[{id:"widgetType",label:"Select Widget",type:"select-dev",choices:[{title:"Review Widget",value:"default"},{title:"Trust Seals & Badges",value:"sealsBadges"},{title:"Product Bundles",value:"bundles"},{title:"Volume Discounts",value:"discounts"},{title:"Stock Scarcity",value:"scarcity"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},43795:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewGrowave",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(9644),s=o(86022),c=p(o(7902)),d=m(o(81831)),u=m(o(24468));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"ReviewGrowave"}static defaultValue=c.default;renderGrowaveWidget(e){switch(e){case"product":return r.default.createElement("div",{id:"pf-growave-review-widget"},`{% capture the_snippet_reviews %}\n {% render "socialshopwave-widget-recommends", product: product %}\n {% endcapture %}\n {% unless the_snippet_reviews contains "Liquid error" %}\n ${(0,l.makePlaceholder)({content:"{{ the_snippet_reviews }}"})}\n {% endunless %}`);case"averageRating":return r.default.createElement("div",null,`{% capture the_snippet_review_avg %}\n {% render "ssw-widget-avg-rate-profile", product: product, content_for_header: content_for_header %}\n {% endcapture %}\n {% unless the_snippet_review_avg contains "Liquid error" %}\n ${(0,l.makePlaceholder)({content:"{{ the_snippet_review_avg }}"})}\n {% endunless %}`);case"caRating":return r.default.createElement("div",null,`{% capture the_snippet_review_avg %}\n {% render "ssw-widget-avg-rate-listing", product: product, content_for_header: content_for_header %}\n {% endcapture %}\n {% unless the_snippet_review_avg contains "Liquid error" %}\n ${(0,l.makePlaceholder)({content:"{{ the_snippet_review_avg }}"})}\n {% endunless %}`)}}renderForEdit(e){const{reviewType:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-growave-review"}),r.default.createElement(n.default,{icon:"img"})))}}},81831:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},24468:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarGrowaveReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",type:"select-dev",label:(0,r.t)("Reviews Type"),config:{size:"large"},choices:[{title:"Product Review",value:"product"},{title:"Product Avg. Rating",value:"averageRating"},{title:"Coll. Avg. Rating",value:"caRating"}]},{id:"productSource",type:"select-dev",label:(0,r.t)("Product Source"),config:{size:"large"},choices:[{title:"Auto",value:"auto"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},31136:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewJudgeMe",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(53834)),c=f(o(16180)),d=f(o(14828));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"ReviewJudgeMe"}static defaultValue=s.default;renderJudgeReview(e){switch(e){case"widget":return r.default.createElement("div",{className:"pf-judme"},'{% include "judgeme_widgets", widget_type: "judgeme_review_widget", concierge_install: false %}');case"carousel":return r.default.createElement("div",{className:"pf-judme"},'{% include "judgeme_widgets", widget_type: "judgeme_featured_carousel", concierge_install: false %}');case"badge":return r.default.createElement("div",{className:"pf-judme"},'{% render "judgeme_widgets", widget_type: "judgeme_preview_badge", jm_style: "", concierge_install: false, product: product %}')}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-review-judge"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-product-review"}),this.renderJudgeReview(t))}}},16180:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},14828:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("reviewType",(0,n.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarJudgeReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Reviews")},options:[{id:"reviewType",label:(0,r.t)("Review Type"),type:"select-dev",choices:[{title:"Widget",value:"widget"},{title:"Carousel",value:"carousel"},{title:"Badge",value:"badge"}],helper:{content:"badge"===o?(0,r.t)("Badge will work only if inserted in Product Details component"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},62565:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReviewOpinew",{enumerable:!0,get:function(){return f}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(86022),s=o(9644),c=p(o(65087)),d=o(60690),u=o(46907);function p(e){return e&&e.__esModule?e:{default:e}}class f extends a.default{static get componentId(){return"ReviewOpinew"}static defaultValue=c.default;renderOpinewWidget(e,t){switch(e){case"default":return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{style:{clear:"both"}}),r.default.createElement("div",{id:"opinew-reviews-product-page-code","data-pf-element":"true"},r.default.createElement("span",{id:"opinew-plugin","data-server-address":"https://www.opinew.com","data-opinew-shop-id":(0,s.makePlaceholder)({content:"{{shop.id}}"}),"data-shop-url":(0,s.makePlaceholder)({content:"{{shop.domain}}"}),"data-platform-product-id":(0,s.makePlaceholder)({content:"{{product.id}}"}),"data-opw-prodreviews":(0,s.makePlaceholder)({content:'{{ product.metafields.opinew_metafields["product_plugin"] }}'})},r.default.createElement("span",{id:"opinew_product_plugin_app"}))));case"allReviews":return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{style:{clear:"both"}}),r.default.createElement("div",{id:"opinew-reviews-all-reviews-code","data-opw-prodreviews":(0,s.makePlaceholder)({content:'{{ shop.metafields.opinew["opinew_all_reviews"] }}'})},r.default.createElement("span",{id:"opinew_all_reviews_plugin_app"})));case"productReview":return r.default.createElement("div",{id:"opinew-stars-plugin-product"},'{% include "opinew_review_stars_product" %}');case"collectionReviewStar":return r.default.createElement("div",{className:"opinew-stars-plugin-product-list"},'{% include "opinew_review_stars_lists" %}');case"avgStoreReview":return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{style:{clear:"both"}}),r.default.createElement("div",{id:"opinew-reviews-all-reviews-code"},r.default.createElement("span",{id:"opinew-shop-plugin"},"average"===t?(0,s.makePlaceholder)({content:'{{ shop.metafields.opinew["opinew_badge_wide_average"] }}'}):"small"===t?(0,s.makePlaceholder)({content:'{{ shop.metafields.opinew["opinew_badge_small"] }}'}):(0,s.makePlaceholder)({content:'{{ shop.metafields.opinew["opinew_badge_wide"] }}'}))))}}renderForEdit(e){const{reviewType:t,badgeSize:o}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2({getItems:u.getItems},{getItems:d.getItems}),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-review-vitals"}),r.default.createElement(n.default,{icon:"img"})))}}},60690:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},46907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("reviewType",(0,n.defaultValueValue)({v:t,key:"reviewType",device:"desktop",state:"normal"}));return[{id:"toolbarVitalsReview",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Reviews"),icon:"nc-shopify-logo"},devices:"desktop",position:10,options:[{id:"reviewType",label:"Review Type",type:"select-dev",choices:[{title:"Widget",value:"default"},{title:"All Store",value:"allReviews"},{title:"Product",value:"productReview"},{title:"Collection Star",value:"collectionReviewStar"},{title:"Average Store",value:"avgStoreReview"}]},{id:"badgeSize",label:"Badge Size",type:"select-dev",disabled:"avgStoreReview"!==o,choices:[{title:"Wide Average",value:"average"},{title:"Small",value:"small"},{title:"Wide",value:"wide"}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},5006:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SMSMarketing",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(82677)),c=f(o(78367)),d=f(o(56217));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SMSMarketing"}static defaultValue=s.default;renderForEdit(e){const{embedCode:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-sms-marketing"}),r.default.createElement(n.default,{icon:"img"})))}}},78367:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},56217:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarKlavyioMarketing",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Marketing")},options:[{id:"embedCode",type:"inputText-dev",label:(0,r.t)("SMSBump's embed code"),placeholder:"Enter embed code"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},89609:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SealSubscription",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(9644),s=o(86022),c=f(o(90011)),d=f(o(18217));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SealSubscription"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-seal-subscription"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-seal-subscription"}),r.default.createElement("div",{"data-pf-type":"SealSubs"},r.default.createElement("div",{className:"sealsubs-target-element","data-handle":(0,l.makePlaceholder)({content:"{{ product.handle }}"})})))}}},90011:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},18217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},19372:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SnowBall",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(42324)),c=f(o(87865)),d=f(o(40857));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SnowBall"}static defaultValue=s.default;renderForEdit(e){const{embedCode:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-snowball-marketing"}),r.default.createElement(n.default,{icon:"img"})))}}},87865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},40857:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarSnowBall",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Snowball")},options:[{id:"embedCode",label:(0,r.t)("Embed Code"),type:"inputText-dev",placeholder:"Insert code here..."}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},11254:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StampedBadge",{enumerable:!0,get:function(){return y}});const r=p(o(27378)),n=p(o(53125)),i=p(o(67439)),a=p(o(63692)),l=o(81405),s=o(86022),c=p(o(39862)),d=m(o(77265)),u=m(o(39025));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends a.default{static get componentId(){return"StampedBadge"}static defaultValue=c.default;renderStampedBadge(e,t){const{headerTitle:o,starSize:n,starSizeSuffix:i,feedHeight:a,feedHeightSuffix:s,reviewIDs:c,productIDs:d,productType:u,productVendor:p,feedTags:f,limitWords:m,minimumRating:y,textColorOpacity:g,textColorHex:h,starColorHex:b,starColorOpacity:v,ribbonOuterColorHex:S,ribbonOuterColorOpacity:w,ribbonInnerColorHex:x,ribbonInnerColorOpacity:P,ribbonColorHex:C,ribbonColorOpacity:T,fillEmpty:_,randomizer:k}=t,M={};switch("on"===_&&(M["data-fill-empty"]="true"),"on"===k&&(M["data-random"]="true"),""!==c&&(M["data-review-ids"]=c.trim().replace(/ /g,",")),""!==d&&(M["data-product-ids"]=d.trim().replace(/ /g,",")),""!==u&&(M["data-product-category"]=u),""!==p&&(M["data-product-brand"]=p),""!==f&&(M["data-tags"]=f.trim().replace(/ /g,",")),""!==o&&(M["data-title"]=o),e){case"minimal":return r.default.createElement("div",{id:"stamped-reviews-widget","data-widget-type":"site-badge","data-badge-type":"minimal","data-color-text":(0,l.hexToRgba)(h,g),"data-color-stars":(0,l.hexToRgba)(b,v),"data-star-size":`${n}${i}`,"data-limit-words":m.toString(),"data-min-rating":y,"data-style-color-star":"false","data-style-color-text":(0,l.hexToRgba)(h,g),...M});case"standard":return r.default.createElement("div",{id:"stamped-reviews-widget","data-widget-type":"site-badge","data-height":`${a}${s}`,"data-with-photos":"false","data-badge-type":"badge","data-color-outer":(0,l.hexToRgba)(S,w),"data-color-inner":(0,l.hexToRgba)(x,P),"data-color-ribbon":(0,l.hexToRgba)(C,T),"data-color-text":(0,l.hexToRgba)(h,g),"data-color-stars":(0,l.hexToRgba)(b,v),"data-limit-words":m.toString(),"data-min-rating":y,"data-style-color-star":"false","data-style-color-text":(0,l.hexToRgba)(h,g),...M})}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(u,d),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-stamped-badge"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{badgeType:t}=e;return r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-stamped-badge"}),this.renderStampedBadge(t,e))}}},77265:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},39025:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81405),n=o(64985),i=o(69321);function a(e){let{v:t,device:o}=e;const a=e=>(0,i.defaultValueValue)({v:t,key:e,state:"normal",device:o}),l=a("badgeType"),s=a("starColorOpacity"),c=a("starColorHex"),d=a("titleColorHex"),u=a("titleColorOpacity");return[{id:"toolbarStampedBadges",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,n.t)("Badges")},options:[{id:"badgeType",type:"select-dev",label:(0,n.t)("Badge Type"),choices:[{title:"Standard",value:"standard"},{title:"Minimal",value:"minimal"}]},{id:"feedHeight",type:"slider-dev",label:(0,n.t)("Height"),disabled:"standard"!==l,config:{min:100,max:1e3,step:1,units:[{title:"px",value:"px"}]}},{id:"headerTitle",label:(0,n.t)("Text"),type:"inputText-dev",placeholder:(0,n.t)("Insert Text...")},{id:"sizeGroup",type:"group-dev",label:(0,n.t)("Size"),options:[{id:"textSize",type:"slider-dev",label:(0,n.t)("Text"),config:{min:10,max:100,step:1,units:[{title:"px",value:"px"}]}},{id:"starSize",type:"slider-dev",label:(0,n.t)("Star"),disabled:"standard"===l,config:{min:10,max:100,step:1,units:[{title:"px",value:"px"}]}}]},{id:"reviewIDs",label:(0,n.t)("Review IDs"),type:"inputText-dev",placeholder:(0,n.t)("Insert IDs..."),helper:{content:(0,n.t)("Filter by multiple review IDs")}},{id:"productIDs",label:(0,n.t)("Product IDs"),type:"inputText-dev",placeholder:(0,n.t)("Insert IDs..."),helper:{content:(0,n.t)("Filter by multiple product IDs")}},{id:"productType",label:(0,n.t)("Product Type"),type:"inputText-dev",placeholder:(0,n.t)("Insert Type..."),helper:{content:(0,n.t)("Filter by product category")}},{id:"productVendor",label:(0,n.t)("Product Vendor"),type:"inputText-dev",placeholder:(0,n.t)("Insert Vendor..."),helper:{content:(0,n.t)("Filter by product vendor")}},{id:"feedTags",label:(0,n.t)("Feed Tags"),type:"inputText-dev",placeholder:(0,n.t)("Insert Types..."),helper:{content:(0,n.t)("Filter by reviews tags")}},{id:"limitWords",type:"slider-dev",label:(0,n.t)("Limit Words"),helper:{content:(0,n.t)("Limit the max number of words for review body")},config:{min:1,max:1e5,step:1}},{id:"minimumRating",type:"select-dev",label:(0,n.t)("Minimum Rating"),helper:{content:(0,n.t)("Show only reviews above the selected minimum rating")},choices:[{title:"1 star",value:"1"},{title:"2 stars",value:"2"},{title:"3 stars",value:"3"},{title:"4 stars",value:"4"},{title:"5 stars",value:"5"}]},{id:"fillEmpty",type:"switch-dev",label:(0,n.t)("Fill Empty"),helper:{content:(0,n.t)("If filtered results is empty, fill widget with other reviews")}},{id:"randomizer",type:"switch-dev",label:(0,n.t)("Random"),helper:{content:(0,n.t)("Randomize the reviews results")}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:s>0?(0,r.hexToRgba)(c,s):(0,r.hexToRgba)(d,u)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev"}]},{id:"tabStar",label:(0,n.t)("Star"),options:[{id:"starColor",type:"colorPicker-dev"}]},{id:"tabRibbon",label:(0,n.t)("Ribbon"),options:[{id:"ribbonColor",type:"colorPicker-dev",disabled:"standard"!==l}]},{id:"tabBadgeInner",label:(0,n.t)("Badge Inner"),options:[{id:"ribbonInnerColor",type:"colorPicker-dev",disabled:"standard"!==l}]},{id:"tabBadgeOutter",label:(0,n.t)("Badge Outter"),options:[{id:"ribbonOuterColor",type:"colorPicker-dev",disabled:"standard"!==l}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,n.t)("More Settings"),position:110,icon:"nc-cog",title:(0,n.t)("Settings")}]}},60932:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StampedReviews",{enumerable:!0,get:function(){return g}});const r=f(o(27378)),n=f(o(53125)),i=f(o(67439)),a=f(o(63692)),l=o(81405),s=o(9644),c=o(86022),d=f(o(28482)),u=y(o(66154)),p=y(o(89589));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class g extends a.default{static get componentId(){return"StampedReviews"}static defaultValue=d.default;displayStampedWidget(e,t){const{reviewIDs:o,carouselTitle:n,labelSubtitle:i,autoSlide:a,autoPlaySpeed:c,productType:d,productVendor:u,productImage:p,limitWords:f,minimumRating:m,productIDs:y,titleColorHex:g,titleColorOpacity:h,starColorHex:b,starColorOpacity:v,textColorHex:S,textColorOpacity:w,linkColorHex:x,linkColorOpacity:P,feedType:C,hoverColorHex:T,hoverColorOpacity:_,hoverOpacity:k,verifiedColorHex:M,verifiedColorOpacity:O,feedTags:E,feedHeight:B,feedHeightSuffix:z,fillEmpty:I,randomizer:j}=t,L={id:"stamped-reviews-widget"};"on"===j&&(L["data-random"]="true"),""!==n&&(L["data-title"]=n),null!==f&&(L["data-limit-words"]=`${f}`),null!==m&&(L["data-min-rating"]=m),"on"===a&&(L["data-auto-play"]="true"),c&&(L["data-auto-play-speed"]=`${c}`),"on"===I&&(L["data-fill-empty"]="true"),""!==E&&(L["data-tags"]=E.trim().replace(/ /g,",")),""!==o&&(L["data-review-ids"]=o.trim().replace(/ /g,",")),""!==u&&(L["data-product-brand"]=u.trim()),""!==d&&(L["data-product-category"]=d.trim()),""!==y&&(L["data-product-ids"]=y.trim().replace(/ /g,","));const F=(0,s.makePlaceholder)({content:"{{ product.id }}"}),N=(0,s.makePlaceholder)({content:"{{ product.handle }}"});switch(e){case"standard":{const e=(0,s.makePlaceholder)({content:"{{ shop.url }}"}),t=(0,s.makePlaceholder)({content:"{{ product.url }}"}),o=(0,s.makePlaceholder)({content:"{{ product.title | escape }}"}),n=(0,s.makePlaceholder)({content:"{{ product.featured_image | product_img_url: 'large' |replace: '?', '%3F' | replace: '&','%26'}}"}),i=(0,s.makePlaceholder)({content:"{{ product.description | escape }}"}),a=(0,s.makePlaceholder)({content:"{{ product.type }}"}),l=(0,s.makePlaceholder)({content:"{{ product.metafields.stamped.reviews }}"});return r.default.createElement("div",{id:"stamped-main-widget",className:"stamped-main-widget","data-widget-style":"standard","data-product-id":F,"data-name":o,"data-url":`${e}${t}`,"data-image-url":n,"data-description":i,"data-product-sku":N,"data-product-type":a},l)}case"carousel":return r.default.createElement("div",{"data-widget-type":"carousel",...L,"data-style-color-title":(0,l.hexToRgba)(g,h),"data-style-color-star":(0,l.hexToRgba)(b,v),"data-style-color-text":(0,l.hexToRgba)(S,w),"data-style-color-link":(0,l.hexToRgba)(x,P)});case"fullPage":return"on"===p&&(L["data-product-image"]="true"),""!==i&&(L["data-label-subtitle"]=i),r.default.createElement("div",{"data-widget-type":"full-page","data-style-color-verified":(0,l.hexToRgba)(M,O),"data-style-color-star":(0,l.hexToRgba)(b,v),"data-style-color-text":(0,l.hexToRgba)(S,w),"data-style-color-link":(0,l.hexToRgba)(x,P),...L});case"topRated":return r.default.createElement("div",{"data-widget-type":"top-rated","data-with-photos":"false","data-style-color-link":(0,l.hexToRgba)(x,P),"data-style-color-star":(0,l.hexToRgba)(b,v),...L});case"starRating":return r.default.createElement("span",{className:"stamped-product-reviews-badge stamped-main-badge","data-id":F,"data-product-sku":N,style:{display:"inline-block"}},(0,s.makePlaceholder)({content:"{{ product.metafields.stamped.badge }}"}));case"visualGallery":return""!==C&&("carousel"===C&&(L["data-height"]=`${B}${z}`),L["data-feed-type"]=C,L["data-style-color-hover-opacity"]=`${k.toString()}`),r.default.createElement("div",{"data-widget-type":"visual-gallery","data-with-photos":"true","data-style-color-star":(0,l.hexToRgba)(b,v),"data-style-color-hover":(0,l.hexToRgba)(T,_),...L});case"wallPhotos":return r.default.createElement("div",{"data-widget-type":"wall-photos","data-style-color-hover":(0,l.hexToRgba)(T,_),"data-style-color-hover-opacity":k.toString(),"data-style-color-star":(0,l.hexToRgba)(b,v),"data-with-photos":"true",...L})}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(p,u),r.default.createElement(c.Wrapper,this.makeWrapperProps({className:"brz-shopify-stamped-reviews"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(c.Wrapper,this.makeWrapperProps({className:"brz-shopify-stamped-reviews"}),this.displayStampedWidget(t,e))}}},66154:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},89589:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("starColorHex"),l("starColorPalette")),{hex:c}=(0,a.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette")),d=l("starColorOpacity"),u=l("reviewType"),p=l("titleColorOpacity"),f=l("feedType"),m="standard"===u||"starRating"===u,y="standard"===u||"starRating"===u||"wallPhotos"===u||"fullPage"===u||"topRated"===u||"visualGallery"===u&&"carousel"!==f;return[{id:"toolbarStampedReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,n.t)("Reviews")},options:[{id:"reviewType",type:"select-dev",label:(0,n.t)("Reviews Type"),choices:[{title:"Main Widget",value:"standard"},{title:"Carousel",value:"carousel"},{title:"Full Page",value:"fullPage"},{title:"Top Rated",value:"topRated"},{title:"Star Rating",value:"starRating"},{title:"Visual Gallery",value:"visualGallery"},{title:"Wall Photos",value:"wallPhotos"}]},{id:"feedType",type:"select-dev",label:(0,n.t)("Feed Type"),placeholder:(0,n.t)("Feed Type"),disabled:"visualGallery"!==u,choices:[{title:"Carousel",value:"carousel"},{title:"Gallery",value:"feed"}]},{id:"feedHeight",type:"slider-dev",label:(0,n.t)("Height"),disabled:"visualGallery"!==u||"carousel"!==f,config:{min:100,max:1e3,step:1,units:[{title:"px",value:"px"}]}},{id:"hoverOpacity",type:"slider-dev",label:(0,n.t)("Hover Opacity"),disabled:"visualGallery"!==u&&"wallPhotos"!==u,config:{min:1,max:100,step:1}},{id:"carouselTitle",label:(0,n.t)("Title"),type:"inputText-dev",disabled:"carousel"!==u,placeholder:(0,n.t)("Insert Title...")},{id:"labelSubtitle",label:(0,n.t)("Label Subtitle"),type:"inputText-dev",disabled:"fullPage"!==u,placeholder:(0,n.t)("Based on Reviews")},{id:"productImage",type:"switch-dev",label:(0,n.t)("Show Product Image"),disabled:"fullPage"!==u},{id:"groupOptions",type:"group-dev",disabled:y,options:[{id:"autoSlide",type:"switch-dev",label:(0,n.t)("Auto Slide")},{id:"autoPlaySpeed",type:"slider-dev",label:(0,n.t)("Interval"),config:{min:300,max:5e3,step:1}}]},{id:"reviewIDs",label:(0,n.t)("Review IDs"),type:"inputText-dev",disabled:m,placeholder:(0,n.t)("Insert IDs..."),helper:{content:(0,n.t)("Filter by multiple review IDs")}},{id:"productIDs",label:(0,n.t)("Product IDs"),type:"inputText-dev",disabled:"standard"===u,placeholder:(0,n.t)("Insert IDs..."),helper:{content:(0,n.t)("Filter by multiple product IDs")}},{id:"productType",label:(0,n.t)("Product Type"),type:"inputText-dev",disabled:m,placeholder:(0,n.t)("Insert Type..."),helper:{content:(0,n.t)("Filter by product category")}},{id:"productVendor",label:(0,n.t)("Product Vendor"),type:"inputText-dev",disabled:m,placeholder:(0,n.t)("Insert Vendor..."),helper:{content:(0,n.t)("Filter by product vendor")}},{id:"feedTags",label:(0,n.t)("Feed Tags"),type:"inputText-dev",disabled:m,placeholder:(0,n.t)("Insert Types..."),helper:{content:(0,n.t)("Filter by reviews tags")}},{id:"limitWords",type:"slider-dev",label:(0,n.t)("Limit Words"),helper:{content:(0,n.t)("Limit the max number of words for review body")},disabled:m,config:{min:1,max:1e5,step:1}},{id:"minimumRating",type:"select-dev",label:(0,n.t)("Minimum Rating"),helper:{content:(0,n.t)("Show only reviews above the selected minimum rating")},disabled:m,choices:[{title:"1 star",value:"1"},{title:"2 stars",value:"2"},{title:"3 stars",value:"3"},{title:"4 stars",value:"4"},{title:"5 stars",value:"5"}]},{id:"fillEmpty",type:"switch-dev",label:(0,n.t)("Fill Empty"),disabled:m,helper:{content:(0,n.t)("If filtered results is empty, fill widget with other reviews")}},{id:"randomizer",type:"switch-dev",label:(0,n.t)("Random"),helper:{content:(0,n.t)("Randomize the reviews results")},disabled:m}]},{id:"popoverColor",type:"popover-dev",disabled:m,config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:d>0?(0,r.hexToRgba)(s,d):(0,r.hexToRgba)(c,p)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,n.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:"carousel"!==u}]},{id:"tabStar",label:(0,n.t)("Star"),options:[{id:"starColor",type:"colorPicker-dev"}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev",disabled:"visualGallery"===u||"wallPhotos"===u||"topRated"===u}]},{id:"tabLink",label:(0,n.t)("Link"),options:[{id:"linkColor",type:"colorPicker-dev",disabled:"visualGallery"===u||"wallPhotos"===u}]},{id:"tabVerified",label:(0,n.t)("Verified"),options:[{id:"verifiedColor",type:"colorPicker-dev",disabled:"fullPage"!==u}]},{id:"tabHover",label:(0,n.t)("Hover"),options:[{id:"hoverColor",type:"colorPicker-dev",disabled:"visualGallery"!==u&&"wallPhotos"!==u}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,n.t)("More Settings"),position:110,icon:"nc-cog",title:(0,n.t)("Settings")}]}},12448:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SwymWishList",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(27558)),c=f(o(60841)),d=f(o(38576));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SwymWishList"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-swym-wishlist"}),r.default.createElement(n.default,{icon:"img"})))}}},60841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},38576:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},51606:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TipoBooking",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(64294)),c=p(o(7975));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"TipoBooking"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-tipo-booking"}),r.default.createElement(n.default,{icon:"img"})))}}},64294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},7975:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},83840:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustMeBadges",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(21204)),c=f(o(51766)),d=f(o(6432));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"TrustMeBadges"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-me-badges"}),r.default.createElement(n.default,{icon:"shopify"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-me-badges"}),r.default.createElement("div",{className:"giraffly-trust-badge"}))}}},51766:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},6432:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},7916:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustProductRating",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(9644),s=o(86022),c=f(o(4152)),d=f(o(62064));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"TrustProductRating"}renderForEdit(){return(0,l.makePlaceholder)({content:"{{ product.id }}"}),r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(s.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-product-rating"}),r.default.createElement(n.default,{icon:"shopify",type:"fa"})))}}},4152:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},62064:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110}]},60118:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustProductReview",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(63692)),i=d(o(67439)),a=o(86022),l=p(o(66696)),s=p(o(59243)),c=d(o(53125));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends n.default{static get componentId(){return"TrustProductReview"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(l,s),r.default.createElement(a.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-product-review"}),r.default.createElement(c.default,{icon:"shopify",type:"fa"})))}}},59243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},66696:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110}]},73089:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustSeals",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(14317)),c=p(o(60933));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"TrustSeals"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trust-seals"}),r.default.createElement(n.default,{icon:"shopify",type:"fa"})))}}},14317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},60933:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",position:110}]},45532:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TrustedBadge",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(43694)),c=f(o(82824)),d=f(o(72355));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"TrustedBadge"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trusted-badge"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{embededCode:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-trusted-badge"}),r.default.createElement("div",{"data-pf-type":"TrustedSite",dangerouslySetInnerHTML:{__html:t}}))}}},82824:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},72355:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarFeraReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Badge")},options:[{id:"embededCode",label:(0,r.t)("Trusted's embed code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SpecialOffers",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(87285)),c=f(o(99526)),d=f(o(16732));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"SpecialOffers"}static defaultValue=s.default;renderSpecialOfferWidget(e){switch(e){case"announcementBar":return r.default.createElement("div",{id:"saso-notifications"});case"productBundles":return r.default.createElement("div",{className:"saso-bundle"});case"volumeTier":return r.default.createElement("div",{className:"saso-volumes"})}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-special-offers"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{widgetType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-special-offers"}),r.default.createElement("div",{"data-pf-type":"PixelUnion"},this.renderSpecialOfferWidget(t)))}}},99526:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},16732:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarBundlesApp",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Widgets")},options:[{id:"widgetType",label:(0,r.t)("Widget Type"),type:"select-dev",placeholder:(0,r.t)("Select"),choices:[{title:"Announcement Bar",value:"announcementBar"},{title:"Product Bundles",value:"productBundles"},{title:"Volume Tier Discount Table",value:"volumeTier"}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]},96991:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UnlimitedBundles",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(60913)),c=f(o(67598)),d=f(o(24846));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"UnlimitedBundles"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-unlimited-bundles"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{embededCode:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-unlimited-bundles"}),r.default.createElement("div",{"data-pf-type":"RevyBundle",dangerouslySetInnerHTML:{__html:t}}))}}},67598:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},24846:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarBundlesApp",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Bundles App")},options:[{id:"embededCode",label:(0,r.t)("Embeded Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UploadKit",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(63465)),c=p(o(48830));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"UploadKit"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-upload-uploadkit"}),r.default.createElement(n.default,{icon:"img"})))}}},63465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},48830:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},29103:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Variations",{enumerable:!0,get:function(){return y}});const r=m(o(60042)),n=m(o(27378)),i=m(o(63692)),a=m(o(67439)),l=m(o(36275)),s=o(94220),c=o(86022),d=m(o(30638)),u=o(35031),p=o(31457),f=o(5522);function m(e){return e&&e.__esModule?e:{default:e}}class y extends i.default{static get componentId(){return"Variations"}static defaultValue=d.default;handleTextChange=e=>this.patchValue(e);renderForEdit(e,t,o){const i=(0,r.default)("brz-shopify-variations",(0,s.css)(this.getId(),this.getId(),(0,f.style)(e,t,o)));return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2({getItems:u.getItems},{getItems:p.getItems}),n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(c.Wrapper,this.makeWrapperProps({className:i,attributes:{"data-product-handle":e.itemId}}),n.default.createElement("div",null,n.default.createElement("input",{type:"radio","data-product-handle":e.itemId,value:0})," S"),n.default.createElement("div",null,n.default.createElement("input",{type:"radio","data-product-handle":e.itemId,value:1})," M"),n.default.createElement("div",null,n.default.createElement("input",{type:"radio","data-product-handle":e.itemId,value:2})," L"))))}}},31457:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[]},5522:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover .brz-hr":{standart:["cssStyleElementLineBorder"]}}})}},35031:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarCart",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:"nc-woo-add-to-cart"},devices:"desktop",position:90,options:[{id:"itemId",label:"Select product",type:"select-dev",config:{search:!0},choices:[{value:"841851",title:"841851"}]}]}]},90663:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VideoShopping",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(36074)),c=f(o(11997)),d=f(o(50514));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"VideoShopping"}static defaultValue=s.default;renderForEdit(e){const{embedCode:t}=e;return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-video-shopping"}),r.default.createElement(n.default,{icon:"img"})))}}},11997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[]}]},50514:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarVideoShopping",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Video")},options:[{id:"embedCode",label:(0,r.t)("Video Embed Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WideBundle",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(10182)),c=f(o(22149)),d=f(o(23212));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"WideBundle"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-wide-bundle"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(){return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-wide-bundle"}),r.default.createElement("div",{"data-pf-type":"WideBundles"},r.default.createElement("div",{id:"new-form"})))}}},22149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},23212:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},15845:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"WiserUpsell",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(85864)),c=f(o(89552)),d=f(o(69537));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"WiserUpsell"}static defaultValue=s.default;renderWiserWidget(e){switch(e){case"related":return r.default.createElement("div",{id:"pf_wiser_related_products"},'{% include "wiser_related" %}');case"recommended":return r.default.createElement("div",{id:"pf_wiser_recommended_products"},'{% include "wiser_recommended" %}');case"recentlyViewed":return r.default.createElement("div",{id:"pf_wiser_recently_products"},'{% include "wiser_recentview" %}');case"trending":return r.default.createElement("div",{id:"pf_wiser_trending_products"},'{% include "wiser_trending" %}');case"alsoBought":return r.default.createElement("div",{id:"pf_wiser_alsobought"},'{% include "wiser_alsobought" %}');case"topSelling":return r.default.createElement("div",{id:"pf_wiser_top_selling"},'{% include "wiser_topselling" %}');case"newArrivals":return r.default.createElement("div",{id:"pf_wiser_new_arrival"},'{% include "wiser_newarrivals" %}');case"featuredProducts":return r.default.createElement("div",{id:"pf_wiser_featured_collections"},'{% include "wiser_featured" %}')}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-wiser-upsell"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{upsellType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-wiser-upsell"}),r.default.createElement("div",{"data-pf-type":"Wiser"},this.renderWiserWidget(t)))}}},89552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},69537:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t}=e;const o=("upsellType",(0,n.defaultValueValue)({v:t,key:"upsellType",device:"desktop",state:"normal"}));return[{id:"toolbarWiserUpsell",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Upsells")},options:[{id:"upsellType",label:(0,r.t)("Upsell Type"),type:"select-dev",choices:[{title:"Related Products",value:"related"},{title:"Recommended Products",value:"recommended"},{title:"Recently View Products",value:"recentlyViewed"},{title:"Trending Products",value:"trending"},{title:"Also Bought",value:"alsoBought"},{title:"Top Selling Products",value:"topSelling"},{title:"New Arrivals",value:"newArrivals"},{title:"Featured Products",value:"featuredProducts"}],helper:{content:""!==o?(0,r.t)("Insert only one of each type of upsell on your page!"):""}}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,r.t)("More Settings"),position:110,icon:"nc-cog",title:(0,r.t)("Settings")}]}},75600:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"YotPoReview",{enumerable:!0,get:function(){return g}});const r=f(o(27378)),n=f(o(53125)),i=f(o(67439)),a=f(o(63692)),l=o(86022),s=o(81405),c=o(9644),d=f(o(15914)),u=y(o(16408)),p=y(o(34794));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class g extends a.default{static get componentId(){return"YotPoReview"}static defaultValue=d.default;renderWidget(e,t){const{appKey:o,reviewLogic:n,showTotalReviewsCount:i,showReviews:a,reviewsNumber:l,autoPlay:d,autoplaySpeed:u,showNavigation:p,headerCustomisation:f,colorHex:m,colorOpacity:y,fontSize:g,headerText:h,textAlign:b,bgColorSwitch:v,bgColorHex:S,bgColorOpacity:w}=t,x=(0,c.makePlaceholder)({content:'{{ product.featured_image | product_img_url: "large" | replace: "?", "%3F" | replace: "&","%26" }}'}),P=(0,c.makePlaceholder)({content:"{{ product.title | escape }}"}),C=(0,c.makePlaceholder)({content:"{{ product.id }}"}),T=(0,c.makePlaceholder)({content:"{{ shop.url }}"}),_=(0,c.makePlaceholder)({content:"{{ product.url }}"}),k=(0,c.makePlaceholder)({content:"{{ product.description | escape }}"});switch(e){case"yotpo-main-widget":return r.default.createElement("div",{className:"yotpo yotpo-main-widget","data-product-id":C,"data-name":P,"data-url":`${T}${_}`,"data-image-url":x,"data-description":k});case"brz yotpo-main-widget":return r.default.createElement("div",{className:"yotpo yotpo-main-widget","data-product-id":C,"data-name":P,"data-url":`${T}${_}`,"data-image-url":x,"data-description":k,"data-mode":"questions"});case"bottomLine":{const e=(0,c.makePlaceholder)({content:"{{ shop.permanent_domain | escape }}"}),t=(0,c.makePlaceholder)({content:"{{ tag | escape }}}"});return r.default.createElement("div",{className:"yotpo bottomLine","data-appkey":o,"data-domain":e,"data-product-id":C,"data-product-models":C,"data-name":P,"data-url":`${T}${_}`,"data-image-url":x,"data-description":k,"data-bread-crumbs":`{% for tag in product.tags %}${t}`})}case"yotpo-shoppers-say":return r.default.createElement("div",{className:"yotpo yotpo-shoppers-say","data-product-id":C});case"yotpo-reviews-carousel":{const e={};return"on"===i&&(e["data-show-bottomline"]="1"),"on"===d&&u&&(e["data-autoplay-enabled"]="1",e["data-autoplay-speed"]=`${u}`),"on"===p&&(e["data-show-navigation"]="1"),"on"===f&&(e["data-header-customisation-enabled"]="1",e["data-header-customisation-color"]=(0,s.hexToRgba)(m,y)??"",e["data-header-customisation-font-size"]=`${g}`,e["data-header-customisation-text"]=h,e["data-header-customisation-alignment"]=b),"on"===v?(e["data-background-color-enabled"]="1",e["data-background-color"]=(0,s.hexToRgba)(S,w)??""):e["data-background-color"]="transparent",r.default.createElement("div",{className:"yotpo yotpo-reviews-carousel","data-mode":n,"data-type":a,"data-count":l.toString(),...e})}case"yotpo-badge":return r.default.createElement("div",{id:"y-badges",className:"yotpo yotpo-badge badge-init"})}}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(p,u),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-yotpo-review"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{reviewType:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-yotpo-review"}),this.renderWidget(t,e))}}},16408:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},34794:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t}=e;const o=e=>(0,i.defaultValueValue)({v:t,key:e,state:"normal"}),{hex:l}=(0,a.getOptionColorHexByPalette)(o("bgColorHex"),o("bgColorPalette")),{hex:s}=(0,a.getOptionColorHexByPalette)(o("colorHex"),o("colorPalette")),c=o("bgColorOpacity"),d=o("reviewType"),u=o("autoPlay"),p=o("headerCustomisation"),f=o("colorOpacity"),m=o("bgColorSwitch");return[{id:"toolbarYotPoReview",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,n.t)("Reviews")},options:[{id:"reviewType",type:"select-dev",label:(0,n.t)("Reviews Type"),config:{size:"large"},choices:[{title:"Main Widget",value:"yotpo-main-widget"},{title:"Q & A",value:"brz yotpo-main-widget"},{title:"Star Rating",value:"bottomLine"},{title:"Highlight",value:"yotpo-shoppers-say"},{title:"Carousel",value:"yotpo-reviews-carousel"},{title:"Badge",value:"yotpo-badge"}]},{id:"appKey",label:(0,n.t)("Application Key"),type:"inputText-dev",disabled:"bottomLine"!==d,placeholder:(0,n.t)("Insert AppKey"),helper:{content:(0,n.t)("Find your AppKey in www.yotpo.com -> Settings -> General Settings")}},{id:"reviewLogic",type:"select-dev",label:(0,n.t)("Review Logic"),disabled:"yotpo-reviews-carousel"!==d,choices:[{title:"Top Rated",value:"top_rated"},{title:"Most Recent",value:"most_recent"}]},{id:"showReviews",type:"select-dev",label:(0,n.t)("Show"),disabled:"yotpo-reviews-carousel"!==d,choices:[{title:"Site Reviews",value:"site"},{title:"Site & Products Reviews",value:"both"},{title:"P.R - All Products",value:"product"},{title:"P.R - Product Page",value:"per_product"}]},{id:"reviewsNumber",type:"slider-dev",label:(0,n.t)("Number of Reviews"),disabled:"yotpo-reviews-carousel"!==d,config:{min:1,max:9,step:1}},{id:"showTotalReviewsCount",type:"switch-dev",label:(0,n.t)("Show Total Reviews"),helper:{content:(0,n.t)("Show Total Reviews Count And Average Ratings")},disabled:"yotpo-reviews-carousel"!==d},{id:"groupSettings",type:"group-dev",disabled:"yotpo-reviews-carousel"!==d,options:[{id:"autoPlay",type:"switch-dev",label:(0,n.t)("Autoplay")},{id:"autoplaySpeed",type:"slider-dev",label:(0,n.t)("Speed"),disabled:"off"===u,config:{min:500,max:2e4,step:500}}]},{id:"showNavigation",type:"switch-dev",label:(0,n.t)("Show Navigation"),disabled:"yotpo-reviews-carousel"!==d},{id:"bgColorSwitch",type:"switch-dev",label:(0,n.t)("Enable Background Color"),disabled:"yotpo-reviews-carousel"!==d},{id:"headerCustomisation",type:"switch-dev",label:(0,n.t)("Header Customisation"),disabled:"yotpo-reviews-carousel"!==d},{id:"headerText",type:"inputText-dev",label:(0,n.t)("Text"),disabled:"yotpo-reviews-carousel"!==d||"off"===p,placeholder:(0,n.t)("Enter text here...")},{id:"fontSize",type:"slider-dev",label:(0,n.t)("Font Size"),disabled:"yotpo-reviews-carousel"!==d||"off"===p,config:{min:1,max:40,step:1,units:[{title:"px",value:"px"}]}},{id:"textAlign",type:"select-dev",label:(0,n.t)("Align Text"),disabled:"yotpo-reviews-carousel"!==d||"off"===p,choices:[{title:"Left",value:"left"},{title:"Center",value:"center"}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:c>0?(0,r.hexToRgba)(l,c):(0,r.hexToRgba)(s,f)}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",disabled:"yotpo-reviews-carousel"!==d||"off"===m}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",disabled:"off"===p||"yotpo-reviews-carousel"!==d}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,n.t)("More Settings"),position:110,icon:"nc-cog",title:(0,n.t)("Settings")}]}},77805:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ZeptoPersonalizer",{enumerable:!0,get:function(){return f}});const r=d(o(27378)),n=d(o(53125)),i=d(o(67439)),a=d(o(63692)),l=o(86022),s=p(o(72674)),c=p(o(98546));function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}function p(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class f extends a.default{static get componentId(){return"ZeptoPersonalizer"}renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(c,s),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-zepto-personalizer"}),r.default.createElement(n.default,{icon:"img"})))}}},72674:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},98546:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},13212:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ZoorixUpsell",{enumerable:!0,get:function(){return m}});const r=u(o(27378)),n=u(o(53125)),i=u(o(67439)),a=u(o(63692)),l=o(86022),s=u(o(9517)),c=f(o(32465)),d=f(o(52428));function u(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(p=function(e){return e?o:t})(e)}function f(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=p(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class m extends a.default{static get componentId(){return"ZoorixUpsell"}static defaultValue=s.default;renderForEdit(){return r.default.createElement(i.default,this.makeToolbarPropsFromConfig2(d,c),r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-zoorix-upsell"}),r.default.createElement(n.default,{icon:"img"})))}renderForView(e){const{embededCode:t}=e;return r.default.createElement(l.Wrapper,this.makeWrapperProps({className:"brz-shopify-zoorix-upsell"}),r.default.createElement("div",{"data-pf-type":"Zoorix",dangerouslySetInnerHTML:{__html:t}}))}}},32465:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=e=>{let{device:t}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",disabled:"desktop"!==t,tabs:[]}]}},52428:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarZoorixUpsell",type:"popover-dev",position:10,devices:"desktop",config:{icon:"nc-shopify-logo",title:(0,r.t)("Upsell")},options:[{id:"embededCode",label:(0,r.t)("Embeded Code"),type:"inputText-dev",placeholder:"
{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{AddToCart:function(){return r.AddToCart},AliExpressReview:function(){return n.AliExpressReview},AppstleSubscription:function(){return i.AppstleSubscription},AreviewReviews:function(){return a.AreviewReviews},AutomizelyOrderTracking:function(){return l.AutomizelyOrderTracking},BISStock:function(){return s.BISStock},BoldProduct:function(){return c.BoldProduct},BoldSubscription:function(){return d.BoldSubscription},EmailMarketing:function(){return u.EmailMarketing},FastSimonUpsell:function(){return p.FastSimonUpsell},FeraReviews:function(){return f.FeraReviews},FrequentlyBought:function(){return m.FrequentlyBought},GrowaveWishlist:function(){return y.GrowaveWishlist},HeroWishList:function(){return g.HeroWishList},HextomBadges:function(){return h.HextomBadges},HulkOptions:function(){return b.HulkOptions},InfiniteOptions:function(){return v.InfiniteOptions},KiwiChart:function(){return S.KiwiChart},KlavyioMarketing:function(){return w.KlavyioMarketing},LaiReviews:function(){return x.LaiReviews},LimeSpot:function(){return P.LimeSpot},LooxReview:function(){return C.LooxReview},MarselloMarketing:function(){return T.MarselloMarketing},OkendoReview:function(){return _.OkendoReview},OmegaTracking:function(){return k.OmegaTracking},OmnisendMarketing:function(){return M.OmnisendMarketing},OnVoard:function(){return O.OnVoard},ParcelPanel:function(){return E.ParcelPanel},PaywhirlSubscription:function(){return B.PaywhirlSubscription},PowrContactForm:function(){return z.PowrContactForm},PreProduct:function(){return I.PreProduct},Price:function(){return j.Price},ProductOptions:function(){return L.ProductOptions},ProductReview:function(){return F.ProductReview},PushOwlNotifications:function(){return N.PushOwlNotifications},Vendor:function(){return D.Vendor},Quantity:function(){return R.Quantity},ProductMetafield:function(){return A.ProductMetafield},BlogPostMeta:function(){return H.BlogPostMeta},RechargeSubscriptions:function(){return W.RechargeSubscriptions},ReviewVitals:function(){return V.ReviewVitals},ReviewGrowave:function(){return G.ReviewGrowave},ReviewJudgeMe:function(){return U.ReviewJudgeMe},ReviewOpinew:function(){return q.ReviewOpinew},SealSubscription:function(){return $.SealSubscription},SnowBall:function(){return Y.SnowBall},StampedBadge:function(){return Q.StampedBadge},StampedReviews:function(){return Z.StampedReviews},SwymWishList:function(){return K.SwymWishList},TipoBooking:function(){return X.TipoBooking},TrustedBadge:function(){return J.TrustedBadge},TrustMeBadges:function(){return ee.TrustMeBadges},TrustProductRating:function(){return te.TrustProductRating},TrustProductReview:function(){return oe.TrustProductReview},TrustSeals:function(){return re.TrustSeals},SpecialOffers:function(){return ne.SpecialOffers},UploadKit:function(){return ie.UploadKit},Variations:function(){return ae.Variations},VideoShopping:function(){return le.VideoShopping},WideBundle:function(){return se.WideBundle},YotPoReview:function(){return ce.YotPoReview},ZeptoPersonalizer:function(){return de.ZeptoPersonalizer},ZoorixUpsell:function(){return ue.ZoorixUpsell},AliReviews:function(){return pe.AliReviews},SMSMarketing:function(){return fe.SMSMarketing},PickyStory:function(){return me.PickyStory},ReviewRivyo:function(){return ye.ReviewRivyo},UnlimitedBundles:function(){return ge.UnlimitedBundles},WiserUpsell:function(){return he.WiserUpsell},BoldBundles:function(){return be.BoldBundles},CrossSell:function(){return ve.CrossSell},Variant:function(){return Se.Variant}});const r=o(97557),n=o(79675),i=o(68029),a=o(11279),l=o(80573),s=o(5294),c=o(10104),d=o(43843),u=o(16217),p=o(81115),f=o(76409),m=o(97453),y=o(39969),g=o(55038),h=o(71470),b=o(8071),v=o(88006),S=o(74723),w=o(10326),x=o(98495),P=o(48898),C=o(43512),T=o(14087),_=o(86814),k=o(46303),M=o(48424),O=o(71692),E=o(83205),B=o(9514),z=o(75572),I=o(84067),j=o(89367),L=o(40827),F=o(35348),N=o(39706),D=o(58922),R=o(92306),A=o(92096),H=o(99728),W=o(40544),V=o(66413),G=o(43795),U=o(31136),q=o(62565),$=o(89609),Y=o(19372),Q=o(11254),Z=o(60932),K=o(12448),X=o(51606),J=o(45532),ee=o(83840),te=o(7916),oe=o(60118),re=o(73089),ne=o(98856),ie=o(44438),ae=o(29103),le=o(90663),se=o(63197),ce=o(75600),de=o(77805),ue=o(13212),pe=o(6758),fe=o(5006),me=o(33805),ye=o(36046),ge=o(96991),he=o(15845),be=o(56186),ve=o(25154),Se=o(44231)},93814:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const r=g(o(27378)),n=g(o(60042)),i=g(o(63692)),a=g(o(36275)),l=g(o(31440)),s=g(o(53125)),c=g(o(67439)),d=b(o(73588)),u=b(o(75821)),p=o(94220),f=o(57610),m=g(o(7006)),y=o(86022);function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const v=["topLeft","topCenter","topRight","centerLeft","centerRight","bottomLeft","bottomCenter","bottomRight"];class S extends i.default{static get componentId(){return"SoundCloud"}static defaultValue=m.default;handleResizerChange=e=>this.patchValue(e);getResizerRestrictions(e){return{height:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:100}},width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletHeight:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileHeight:{px:{min:5,max:"basic"===e.style?e.mediumHeight:e.largeHeight},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}}renderForEdit(e,t,o){const i=(0,n.default)("brz-soundcloud",(0,p.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o))),m=(0,n.default)("brz-iframe","intrinsic-ignore",{"brz-blocked":!0});let{url:g,autoPlay:h,showArtwork:b}=e;h="on"===h,b="on"===b;const S=`https://w.soundcloud.com/player/?url=${g}&auto_play=${h}&how_teaser=true&visual=${b}&`,w=g?r.default.createElement("div",{className:"brz-soundCloud-content"},r.default.createElement("iframe",{className:m,title:"sound-cloud",scrolling:"no",frameBorder:"no",src:S})):r.default.createElement(s.default,{icon:"sound-cloud"});return r.default.createElement(c.default,this.makeToolbarPropsFromConfig2(d,u),r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(y.Wrapper,this.makeWrapperProps({className:i}),r.default.createElement(l.default,{points:v,restrictions:this.getResizerRestrictions(e),meta:this.props.meta,value:e,onChange:this.handleResizerChange},w))))}}const w=S},75821:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("SoundCloud");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),devices:"desktop",icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},57610:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth","cssStyleSizeMinHeightPx"]},".brz &&:hover:before":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-soundCloud-content":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover iframe":{standart:["cssStyleSizeHeight"]}}})}},73588:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=o(57582);function c(e){let{v:t,device:o,state:c}=e;const d=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:c}),{hex:u}=(0,a.getOptionColorHexByPalette)(d("borderColorHex"),d("borderColorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-sound-cloud",title:(0,n.t)("SoundCloud")},devices:"desktop",position:90,options:[{id:"url",label:(0,n.t)("Link"),type:"inputText-dev",devices:"desktop",placeholder:(0,n.t)("SoundCloud Link")},{id:"autoPlay",label:(0,n.t)("Autoplay"),type:"switch-dev",devices:"desktop"},(0,s.toolbarElementSoundCloudStyle)({v:t,device:o,devices:"desktop",state:"normal"})]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,d("borderColorOpacity"))}}},position:90,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:(0,n.t)("Height"),type:"slider-dev",config:{min:d("smallHeight"),max:"on"===d("showArtwork")?d("largeHeight"):d("mediumHeight"),units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},33913:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=m(o(60042)),n=o(42162),i=m(o(27378)),a=m(o(31440)),l=m(o(67439)),s=m(o(63692)),c=o(94220),d=m(o(70096)),u=g(o(25269)),p=o(34332),f=g(o(81087));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const h=["bottomCenter"],b={height:{px:{min:10,max:1/0},vh:{min:1,max:1/0},em:{min:1,max:1/0}},tabletHeight:{px:{min:10,max:1/0},vh:{min:1,max:1/0},em:{min:1,max:1/0}},mobileHeight:{px:{min:10,max:1/0},vh:{min:1,max:1/0},em:{min:1,max:1/0}}};class v extends s.default{static get componentId(){return"Spacer"}static defaultValue=d.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const s=(0,r.default)("brz-spacer",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return i.default.createElement(l.default,this.makeToolbarPropsFromConfig2(f,u,{allowSidebarExtend:!1}),i.default.createElement(a.default,{points:h,restrictions:b,meta:this.props.meta,value:e,onChange:this.handleResizerChange},i.default.createElement(n.Gap,{className:s})))}renderForView(e,t,o){const a=(0,r.default)("brz-spacer",(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return i.default.createElement(n.Gap,{className:a})}}const S=v},25269:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Spacer");function n(){return[]}},34332:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeHeight"]}}})}},81087:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;const i=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"});return[{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,options:[{id:"height",label:(0,r.t)("Height"),type:"slider-dev",config:{min:"px"===i("heightSuffix")?10:1,max:"px"===i("heightSuffix")?200:100,units:[{value:"px",title:"px"},{value:"vh",title:"vh"},{value:"em",title:"em"}]}}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},82598:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),n=o(42162),i=g(o(27378)),a=o(54668),l=g(o(36275)),s=g(o(67439)),c=g(o(63692)),d=o(94220),u=o(86022),p=g(o(15659)),f=b(o(89083)),m=o(83907),y=b(o(87093));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends c.default{static get componentId(){return"StarRating"}static defaultValue=p.default;static experimentalDynamicContent=!0;handleTextChange=e=>{this.patchValue(e)};renderForEdit(e,t,o){const{iconName:c,iconType:p,label:g,rating:h,ratingScale:b,ratingStyle:v}=e,S=(0,r.default)("brz-starrating",(0,d.css)(this.constructor.componentId,this.getId(),(0,m.style)(e,t,o))),w=i.default.createElement(a.Text,{className:"brz-starrating-text",id:"text",v:e,onChange:this.handleTextChange});return i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(y,f),i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(u.Wrapper,this.makeWrapperProps({className:S}),"style1"===v&&i.default.createElement(n.StarRating1,{label:w,showLeftLabel:"on"===g,showRightLabel:"on-right"===g,rating:h,ratingScale:b,iconName:c,iconType:p}),"style2"===v&&i.default.createElement(n.StarRating2,{showIcon:"off"!==g,rating:h,iconName:c,iconType:p}))))}renderForView(e,t,o){const{iconName:s,iconType:c,label:p,rating:f,ratingScale:y,ratingStyle:g}=e,h=(0,r.default)("brz-starrating",(0,d.css)(this.constructor.componentId,this.getId(),(0,m.style)(e,t,o))),b=i.default.createElement(a.Text,{className:"brz-starrating-text",id:"text",v:e,onChange:this.handleTextChange});return i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(u.Wrapper,this.makeWrapperProps({className:h}),"style1"===g&&i.default.createElement(n.StarRating1,{label:b,showLeftLabel:"on"===p,showRightLabel:"on-right"===p,rating:f,ratingScale:y,iconName:s,iconType:c}),"style2"===g&&i.default.createElement(n.StarRating2,{showIcon:"off"!==p,rating:f,iconName:s,iconType:c})))}}},89083:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return s},getItems:function(){return d}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(16526),l=o(69321),s=(0,i.t)("Rating"),c='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function d(e){let{v:t,device:o}=e;const n="style1"===("ratingStyle",(0,l.defaultValueValue)({v:t,key:"ratingStyle",device:o}));return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,i.t)("Styling"),label:(0,i.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,i.t)("Basic"),options:[{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),disabled:n}]},{id:"moreSettingsAdvanced",label:(0,i.t)("Advanced"),options:[{id:"customCSS",label:(0,i.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:c},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,i.t)("Hover Transition"),disabled:(0,a.isStory)(r.default.getAll()),position:70,devices:"desktop",type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"border",type:"corners-dev",label:(0,i.t)("Corner"),devices:"responsive",disabled:n}]}]}]}},83907:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-starrating-text":{standart:["cssStyleElementStarRatingTextSpacing","cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-starrating-icon-wrap":{standart:["cssStyleSizeFontSizeIcon"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap:not(:last-child)":{standart:["cssStyleElementStarRatingSpacing"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap .brz-starrating-color-empty":{standart:["cssStyleElementStarRatingRatingBackgroundColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-starrating-container .brz-starrating-icon-wrap .brz-starrating-color":{standart:["cssStyleElementStarRatingRatingColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-starrating-style2-container":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorderRadius","cssStyleElementStarRatingDirection"]}}})}},87093:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return c}});const r=o(81263),n=o(81405),i=o(64985),a=o(69321),l=o(68256),s=o(24119);function c(e){let{v:t,device:o,context:c}=e;const d=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),u=d("ratingScale"),p="off"===d("label"),f="style1"===d("ratingStyle"),{hex:m}=(0,l.getOptionColorHexByPalette)(d("ratingColorHex"),d("ratingColorPalette")),{hex:y}=(0,l.getOptionColorHexByPalette)(d("style2BgColorHex"),d("style2BgColorPalette")),g=(0,l.getDynamicContentOption)({options:c.dynamicContent.config,type:r.DCTypes.richText});return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-starrating",title:(0,i.t)("Rating")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",roles:["admin"],tabs:[{id:"tabCurrentElement",label:(0,i.t)("Rating"),options:[{id:"ratingScale",label:(0,i.t)("Rating scale"),type:"select-dev",devices:"desktop",choices:[{title:(0,i.t)("0-5"),value:5},{title:(0,i.t)("0-10"),value:10}]},{id:"ratingStyle",label:(0,i.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"style1",icon:"nc-rating-style-1"},{value:"style2",icon:"nc-rating-style-2"}]},{id:"groupStyle",type:"group-dev",options:[{id:"label",label:(0,i.t)("Label"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"on",icon:"nc-align-left"},{value:"on-right",icon:"nc-align-right"},{value:"off",icon:"nc-close"}]},{id:"spacing",label:(0,i.t)("Spacing"),type:"slider-dev",disabled:p,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"rating",label:(0,i.t)("Rating"),type:"slider-dev",devices:"desktop",config:{min:0,max:u,step:.1,inputMin:0,inputMax:u,units:[{title:`/${u}`,value:`/${u}`}]},population:g}]},{id:"tabStarRatingIcons",label:f?(0,i.t)("Icons"):(0,i.t)("Icon"),options:[{id:"icon",label:(0,i.t)("Icon"),type:"iconSetter-dev",devices:"desktop",disabled:!f&&p},{id:"groupSettings",type:"group-dev",disabled:!f&&p,options:[{id:"iconSize",label:(0,i.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==d("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,i.t)("Spacing"),type:"slider-dev",disabled:!f,config:{min:0,max:20,units:[{value:"px",title:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"xlarge":"auto",title:(0,i.t)("Typography")},disabled:p&&f,position:70,options:[{id:"gridTypography",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",align:"center",size:1,options:[{id:"",type:"typography-dev",disabled:p&&f,config:{fontFamily:"desktop"===o}}]},{id:"col-2",align:"center",size:"auto",options:[{id:"text",type:"population-dev",config:{...g,iconOnly:!0},disabled:void 0===g,devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,i.t)("Colors"),icon:{style:{backgroundColor:f?(0,n.hexToRgba)(m,d("ratingColorOpacity")):(0,n.hexToRgba)(y,d("style2BgColorOpacity"))}}},position:90,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,i.t)("Text"),options:[{id:"color",type:"colorPicker-dev",disabled:p&&f,states:[s.NORMAL,s.HOVER]}]},{id:"tabRating",label:(0,i.t)("Rating"),options:[{id:"ratingColor",type:"colorPicker-dev",devices:"desktop",disabled:!f,states:[s.NORMAL,s.HOVER]}]},{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:f?"ratingBackgroundColor":"bgColor",type:"colorPicker-dev",devices:"desktop",states:[s.NORMAL,s.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,i.t)("Styling"),roles:["admin"],position:110,icon:"nc-cog"}]}},40606:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=o(65095),n=o(15393),i=o(9448),a=h(o(60042)),l=h(o(27378)),s=h(o(35301)),c=h(o(62035)),d=h(o(33364)),u=h(o(92823)),p=(o(73948),function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(67439))),f=h(o(10787)),m=o(74215),y=o(92213),g=o(64985);function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}const v=(0,c.default)((e=>{const{id:t,onClick:o,isActive:r,children:s}=e,{active:c,attributes:d,listeners:u,transform:p,transition:f,setNodeRef:m}=(0,n.useSortable)({id:t}),y=c?.id===t,g={transition:f,transform:i.CSS.Translate.toString(p),zIndex:y?1:0},h=(0,a.default)("story-slider-curtain",{"story-slider-dot--active":r});return l.default.createElement("li",{onClick:o,style:g,ref:m,...d,...u},l.default.createElement("div",{className:h}),l.default.createElement("div",{className:"story-slider-dot"},s))}),200),S=e=>{const{itemsIds:t,onClick:o,onSortEnd:i,onSortStart:a,children:s}=e,c=(0,r.useSensors)((0,r.useSensor)(r.PointerSensor,{activationConstraint:{distance:10}}),(0,r.useSensor)(r.KeyboardSensor));return l.default.createElement("ul",{className:"brz-slick-slider__dots"},l.default.createElement(r.DndContext,{onDragEnd:i,onDragStart:a,sensors:c,collisionDetection:r.closestCenter},l.default.createElement(n.SortableContext,{items:t},s)),l.default.createElement("li",{onClick:o},l.default.createElement("div",{className:"story-slider-curtain"}),l.default.createElement("div",{className:"brz-slick-slider__dots--add-new"},l.default.createElement(d.default,{icon:"nc-add"}))))};class w extends f.default{static get componentId(){return"Story.Items"}static defaultProps={className:"",meta:{}};state={active:0};componentDidUpdate(e,t){let{active:o}=t;this.state.active!==o&&this.slider.slickGoTo(this.state.active)}removeItem(e){super.removeItem(e),this.setState({active:Math.max(0,e-1)})}getToolbarSettings=e=>{const t=this.getDBValue();return{getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,g.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(e)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,g.t)("Delete"),disabled:1===t.length,position:250,onChange:()=>{(0,p.hideToolbar)(),this.removeItem(e)}},{id:"toolbarStories",type:"popover-dev",disabled:!0,options:[]},{id:"toolbarColor",type:"popover-dev",disabled:!0,options:[]},{id:"toolbarAutoplay",type:"popover-dev",disabled:!0,options:[]}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]}};getItemProps(){const{meta:e,itemProps:t}=this.props;return{meta:e,toolbarExtend:this.makeToolbarPropsFromConfig({getItemsForDesktop:()=>[{id:"duplicate",type:"button",disabled:!0},{id:"remove",type:"button",disabled:!0}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]}),...t}}handleSortEnd=e=>{let{active:t}=this.state;const{active:o,over:r}=e;if(!r)return;const i=this.getDBValue()||[],a=i.findIndex((e=>e.value._id===o.id)),l=i.findIndex((e=>e.value._id===r.id));if(a!==l){const e=(0,n.arrayMove)(i,a,l);this.handleValueChange(e)}a{this.setState({active:e})};handleAddStory=e=>{const t=(this.getDBValue()||[]).length,o={insertIndex:t};this.setState({active:t}),(0,y.getStore)().dispatch((0,m.importStory)(e,o))};handleAddNewElement=()=>{u.default.open({prompt:"blocks",mode:"single",props:{activeTab:"template",showTemplate:!0,showBlocks:!1,showSaved:!1,showGlobal:!1,templateSidebar:!0,blocksSidebar:!1,savedSidebar:!1,globalSidebar:!1,templateSearch:!0,blocksSearch:!1,savedSearch:!1,globalSearch:!1,onChangeTemplate:this.handleAddStory}})};renderDots=(e,t)=>{const o=e.map(((e,o)=>{const r=t[o]??{},n=o===this.state.active,i=r.value._id;return l.default.createElement(p.default,{key:i,...this.makeToolbarPropsFromConfig(this.getToolbarSettings(o))},l.default.createElement(v,{id:i,onClick:()=>this.handleClick(o),isActive:n},e))}));return l.default.createElement(S,{distance:5,axis:"x",helperClass:"slick-dots-is-dragging",itemsIds:t.map((e=>e.value._id)),onClick:this.handleAddNewElement,onSortEnd:this.handleSortEnd},o)};renderItemsContainer(e,t){return l.default.createElement(s.default,{className:"brz-slick-slider",ref:e=>{this.slider=e},centerMode:!1,centerPadding:"0px",variableWidth:!1,focusOnSelect:!1,alwaysShowDots:!0,slidesToShow:1,infinite:!0,slidesToScroll:1,initialSlide:0,swipe:!1,draggable:!1,accessibility:!1,arrows:!1,dots:!0,dotsClass:"brz-slick-slider__dots",fade:!1,verticalSwiping:!1,vertical:!1,appendDots:()=>this.renderDots(e,t)},e)}}const x=w},16223:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=o(70634),n=o(67439),i=o(16957),a=o(16526),l=o(64985),s="MacOS"===(0,i.detectOS)(),c=e=>({getItems:d(e)}),d=e=>(t,o)=>{const i=o.getCurrentCopiedElement();return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,l.t)("Copy"),helperText:()=>s?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,l.t)("Paste"),helperText:()=>s?"⌘ + V":"ctrl + V",inactive:!i,onChange:()=>{o.paste(e,(o=>{const{offsetX:n=0,offsetY:i=0}=t[e].value.items[0].value;let l=(0,r.setIn)(o,["value","items",0,"value","offsetX"],n);return l=(0,r.setIn)(l,["value","items",0,"value","offsetY"],i),(0,a.setOffsetsToElementFromWrapper)(l)}))}},{id:"pasteStyles",type:"button",title:(0,l.t)("Paste Styles"),helperText:()=>s?"⌘ + ⇧ + V":"ctrl + ⇧ + V",inactive:!i,onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,l.t)("Duplicate"),helperText:()=>s?"⌘ + D":"ctrl + D",onChange:()=>o.insertItem(e+1,(0,a.setOffsetsToElementFromWrapper)(t[e]))},{id:"remove",type:"button",title:(0,l.t)("Delete"),helperText:()=>s?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,n.hideToolbar)(),o.removeItem(e)}}]}]}},79176:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});const r=b(o(27378)),n=b(o(60042)),i=b(o(10301)),a=b(o(63692)),l=b(o(36275)),s=b(o(98781)),c=b(o(25382)),d=b(o(80544)),u=o(46338),p=o(67439),f=S(o(65325)),m=S(o(88192)),y=o(85730),g=o(94220),h=b(o(63894));function b(e){return e&&e.__esModule?e:{default:e}}function v(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(v=function(e){return e?o:t})(e)}function S(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=v(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class w extends a.default{static get componentId(){return"StoryItem"}static defaultProps={meta:{}};static defaultValue=h.default;collapsibleToolbarRef=r.default.createRef();shouldUpdateBecauseOfParent(e){return!i.default.isEqual(this.props.rerender,e.rerender)}shouldComponentUpdate(e){return this.optionalSCU(e)||this.shouldUpdateBecauseOfParent(e)}handleToolbarEscape=()=>{this.collapsibleToolbarRef.current.open()};getMeta(){const{meta:e}=this.props,t=Math.round(10*e.desktopW)/10,o=Math.round(10*e.tabletW)/10,r=Math.round(10*e.mobileW)/10;return{...e,mobileW:r,tabletW:o,desktopW:t}}renderToolbar(){return r.default.createElement(p.CollapsibleToolbar,{...this.makeToolbarPropsFromConfig2(f,m),ref:this.collapsibleToolbarRef,className:"brz-ed-collapsible--section",animation:"rightToLeft"})}renderItems(e){const t=this.getMeta(),o=(0,n.default)("brz-container",e.containerClassName),i=this.makeSubcomponentProps({bindWithKey:"items",className:o,meta:t});return r.default.createElement(c.default,{value:e,meta:t},r.default.createElement(s.default,i))}renderForEdit(e,t,o){const{className:i}=e,a=(0,n.default)("brz-section__content",i,(0,g.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,y.style)(e,t,o,this.props)));return r.default.createElement(d.default,{type:"story__item",activateOnContentClick:!1},(t=>{let{ref:o,attr:n}=t;return r.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{...n,id:this.getId(),className:a,ref:o},r.default.createElement(u.Roles,{allow:["admin"],fallbackRender:()=>this.renderItems(e)},this.renderToolbar(),r.default.createElement(p.ToolbarExtend,{onEscape:this.handleToolbarEscape},this.renderItems(e)))))}))}renderForView(e,t,o){const{className:i}=e,a=(0,n.default)("brz-section__content",i,(0,g.css)(`${this.constructor.componentId}-bg`,`${this.getId()}-bg`,(0,y.style)(e,t,o,this.props)));return r.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("div",{className:a},this.renderItems(e),r.default.createElement("div",{className:"brz-slick-slider__inner-arrow brz-slick-slider__inner-arrow-next"}),r.default.createElement("div",{className:"brz-slick-slider__inner-arrow brz-slick-slider__inner-arrow-prev"})))}}const x=w},98781:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});const r=f(o(27378)),n=f(o(10787)),i=f(o(49127)),a=f(o(20013)),l=o(39552),s=f(o(24072)),c=o(16526),d=f(o(16223)),u=o(64985),p=o(67439);function f(e){return e&&e.__esModule?e:{default:e}}class m extends n.default{static get componentId(){return"StoryItem.Items"}static defaultProps={className:"",meta:{}};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,u.t)("Duplicate"),position:200,onChange:()=>{const e=this.getDBValue()[t],o=(0,c.setOffsetsToElementFromWrapper)(e);this.insertItem(t+1,o)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,u.t)("Delete"),position:250,onChange:()=>{(0,p.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]};return{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig(o)}}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(l.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(s.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(a.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]})):r.default.createElement(i.default,{path:this.getId(),type:"section",acceptElements:["row","column","shortcode","addable"]},r.default.createElement("div",{className:this.props.className},e))}}const y=m},88192:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Story");function i(){return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}},85730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o,n){const{maskShape:i="none"}=e,a={".brz &&:hover > .brz-bg":{standart:["cssStyleBorder","cssStyleBorderRadius",..."none"===i?[]:["cssStyleMaskDropShadow"]]},".brz &&:hover > .brz-bg > .brz-bg-image":{standart:["cssStyleBgImage","cssStyleFilter","cssStyleBgImagePosition","cssStyleBgMediaImage","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-image:after":{standart:["cssStyleBgImageHover"]},".brz &&:hover > .brz-bg > .brz-bg-color":{standart:["cssStyleBgColor","cssStyleBgGradient","cssStyleMaskShape","cssStyleMaskCustomShape","cssStyleMaskSize","cssStyleMaskPosition","cssStyleMaskRepeat"]},".brz &&:hover > .brz-bg > .brz-bg-map":{standart:["cssStyleFilter","cssStyleBgMediaMap"]},".brz &&:hover > .brz-bg > .brz-bg-video":{standart:["cssStyleFilter","cssStyleBgMediaVideo"]}};return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:a,props:n})}},65325:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(46479),s=o(64985),c=o(29390),d=o(69321),u=o(68256),p=o(63300),f=o(24119);function m(e){let{v:t,component:o,device:n,context:m}=e;const y=e=>(0,d.defaultValueValue)({v:t,key:e,device:n}),{hex:g}=(0,u.getOptionColorHexByPalette)(y("bgColorHex"),y("bgColorPalette")),h=(0,u.getDynamicContentOption)({options:m.dynamicContent.config,type:i.DCTypes.image}),b=r.default.getAll(),v=(0,l.isPro)(b)?[{title:(0,s.t)("Custom Video"),value:"bgVideoCustom"}]:[],S="video"!==y("media"),w=y("bgVideoType"),x="youtube"===w,P="vimeo"===w,C="bgVideoCustom"===w,T="url"===w,_=(0,p.read)(y("maskShape"))??"none",k=(0,p.read)(y("maskPosition"))??"center center",M=(0,p.read)(y("maskSize"))??"cover",O=(0,p.read)(y("maskScaleSuffix"))??"%",E=(0,p.read)(y("maskCustomUploadImageSrc")),B="image"!==y("media"),z="none"===_||"custom"===_&&!E||B;return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-background",title:(0,s.t)("Background")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,s.t)("Background"),options:[{id:"media",label:(0,s.t)("Type"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"image",icon:"nc-media-image"},{value:"video",icon:"nc-media-video"},{value:"map",icon:"nc-media-map"}]},{label:(0,s.t)("Image"),id:"bg",type:"imageUpload-dev",disabled:"image"!==y("media"),population:h},{id:"bgVideoType",label:(0,s.t)("Video type"),type:"select-dev",devices:"desktop",disabled:S,choices:[{title:(0,s.t)("Youtube"),value:"youtube"},{title:(0,s.t)("Vimeo"),value:"vimeo"},...v,{title:(0,s.t)("URL"),value:"url"}]},{id:"bgVideo",label:(0,s.t)("Link"),type:"inputText-dev",devices:"desktop",disabled:S||C,placeholder:x?(0,s.t)("YouTube"):P?(0,s.t)("Vimeo"):(0,s.t)("https://"),helper:{content:T?(0,s.t)("This is .mp4 URL."):x?(0,s.t)("Use the regular video links generated by YouTube. The 'feature=share' parameter is not a valid or recognized parameter by the YouTube platform."):""}},{id:"bgVideoCustom",label:(0,s.t)("File"),type:"fileUpload-dev",config:{allowedExtensions:["video/*"]},devices:"desktop",disabled:S||!C},{id:"bgVideoLoop",label:(0,s.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:"video"!==y("media")},{id:"bgVideoStart",type:"number-dev",label:(0,s.t)("Start"),devices:"desktop",disabled:"video"!==y("media"),config:{size:"short",spinner:!1,max:99999},helper:{content:(0,s.t)("Specify a start time (in seconds)")}},{id:"bgMapAddress",label:(0,s.t)("Address"),type:"inputText-dev",placeholder:(0,s.t)("Enter address"),devices:"desktop",disabled:"map"!==y("media")},{id:"bgMapZoom",label:(0,s.t)("Zoom"),type:"slider-dev",disabled:"map"!==y("media"),config:{min:1,max:21}}]},{id:"tabMask",label:(0,s.t)("Mask"),position:110,options:[{id:"maskShape",label:(0,s.t)("Shape"),devices:"desktop",type:"select-dev",choices:c.MaskShapes,disabled:B},{id:"maskCustomUpload",type:"imageUpload-dev",devices:"desktop",label:(0,s.t)("Image"),config:{pointer:!1,disableSizes:!0,acceptedExtensions:["png","svg"]},helper:{content:(0,s.t)("Upload only [ .png or .svg ]")},disabled:"custom"!==_||B},{id:"groupSize",type:"group-dev",disabled:z,options:[{id:"maskSize",label:(0,s.t)("Size"),type:"select-dev",choices:c.MaskSizes},{id:"maskScale",type:"slider-dev",disabled:"custom"!==M,config:{min:1,max:"px"===O?500:100,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}}]},{id:"groupPosition",type:"group-dev",disabled:z,options:[{id:"maskPosition",type:"select-dev",label:(0,s.t)("Position"),choices:c.MaskPositions},{id:"maskPositionx",label:(0,s.t)("X"),type:"slider-dev",disabled:"custom"!==k,config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"maskPositiony",label:(0,s.t)("Y"),type:"slider-dev",disabled:"custom"!==k,config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"maskRepeat",label:(0,s.t)("Repeat"),type:"select-dev",disabled:z||"cover"===M,choices:c.MaskRepeat}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,s.t)("Colors"),icon:{style:{backgroundColor:(0,a.hexToRgba)(g,y("bgColorOpacity"))}}},position:90,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabOverlay",label:(0,s.t)("Overlay"),options:[{id:"",type:"backgroundColor-dev"}]},{id:"tabBorder",label:(0,s.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"tabDropShadow",label:(0,s.t)("Shadow"),options:[{id:"maskShadow",type:"textShadow-dev",states:[f.NORMAL,f.HOVER],disabled:z}]}]}]},{id:"makeItSaved",type:"savedBlock-dev",devices:"desktop",position:90,disabled:!0,config:{icon:"nc-save-section",blockType:"normal",title:(0,s.t)("Save"),tooltipContent:(0,s.t)("Saved"),blockId:o.getId()}},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",sidebarLabel:(0,s.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog"}]}},92343:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=f(o(60042)),n=f(o(27378)),i=f(o(63692)),a=o(94220),l=f(o(40606)),s=f(o(10030)),c=y(o(59694)),d=o(92292),u=y(o(16241)),p=o(79669);function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class g extends i.default{static get componentId(){return"Story"}static defaultProps={meta:{}};static defaultValue=s.default;static experimentalDynamicContent=!0;getMeta(){const{meta:e}=this.props,t=p.DW,o=p.TW,r=p.MW,n=Math.round(10*t)/10,i=Math.round(10*o)/10,a=Math.round(10*r)/10;return Object.assign({},e,{desktopW:n,tabletW:i,mobileW:a,blockId:this.props.blockId,section:{isSlider:!0}})}shouldComponentUpdate(e){return this.optionalSCU(e)}renderItems(e){const{sliderLoop:t,sliderAutoPlay:o,sliderAutoPlaySpeed:r,sliderAnimation:i,cssClass:a,customClassName:s}=e,d=this.makeSubcomponentProps({sliderLoop:t,sliderAnimation:i,sliderAutoPlay:o,sliderAutoPlaySpeed:r,itemProps:{rerender:{sliderLoop:t,sliderAutoPlay:o,sliderAutoPlaySpeed:r,cssClass:a,customClassName:s}},bindWithKey:"items",meta:this.getMeta(),toolbarExtend:this.makeToolbarPropsFromConfig2(u,c)});return n.default.createElement(l.default,d)}renderForEdit(e,t,o){const{className:i,customClassName:l,cssClass:s}=e,c=(0,r.default)("brz-section","brz-story",i,s||l,(0,a.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.styleSection)(e,t,o)));return n.default.createElement("section",{id:this.getId(),className:c,"data-block-id":this.props.blockId,"data-uid":this.getId()},this.renderItems(e))}renderForView(e,t,o){const{className:i,customClassName:l,cssClass:s}=e,c=(0,r.default)("brz-section","brz-story",i,s||l,(0,a.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,d.styleSection)(e,t,o)));return n.default.createElement("section",{className:c,"data-uid":this.getId()},this.renderItems(e))}}const h=g},59694:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),n=o(64985),i=o(68256);function a(e){let{context:t}=e;const o=(0,i.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,n.t)("Styling"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",options:[{id:"cssClass",label:(0,n.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:o,option:{id:"customClassName",type:"inputText-dev"}}]}]}]}},92292:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styleSection",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayBlock"]},".brz &&:hover .brz-section__content":{standart:["cssStyleDisplayFlex"]},".brz && .brz-slick-slider__dots > li:first-child.slick-active::after":{standart:["cssStyleStoryFristSlideProgress"]},".brz && .brz-slick-slider__dots > li.slick-active::after":{standart:["cssStyleStoryProgress"]}}})}},16241:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;const i=e=>(0,n.defaultValueValue)({v:t,key:e,device:o});return[{id:"toolbarAutoplay",type:"popover-dev",config:{icon:"nc-play",title:(0,r.t)("Autoplay")},position:70,options:[{id:"sliderAutoPlayGroup",type:"group-dev",devices:"desktop",options:[{id:"sliderAutoPlay",label:(0,r.t)("Autoplay"),type:"switch-dev"},{id:"sliderAutoPlaySpeed",label:(0,r.t)("Speed"),type:"slider-dev",disabled:"on"!==i("sliderAutoPlay"),config:{min:1,max:6,step:.1,units:[{value:"s",title:"s"}]}}]},{id:"sliderLoop",label:(0,r.t)("Loop"),type:"switch-dev",devices:"desktop",disabled:"on"!==i("sliderAutoPlay")}]}]}},79669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{DW:function(){return o},TW:function(){return r},MW:function(){return n},DH:function(){return i},TH:function(){return a},MH:function(){return l}});const o=400,r=400,n=400,i=800,a=800,l=800},71208:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(95664))&&n.__esModule?n:{default:n};var n;const i=o(64985),a={RichText:(0,i.t)("Text"),Image:(0,i.t)("Image"),Video:(0,i.t)("Video"),VideoPlaylist:(0,i.t)("Playlist"),Spacer:(0,i.t)("Spacer"),Line:(0,i.t)("Line"),Map:(0,i.t)("Map"),EmbedCode:(0,i.t)("Embed"),Form:(0,i.t)("Form"),Form2:(0,i.t)("Form"),IconText:(0,i.t)("Icon Box"),SoundCloud:(0,i.t)("SoundCloud"),Counter:(0,i.t)("Counter"),Countdown:(0,i.t)("Countdown"),Countdown2:(0,i.t)("Countdown"),Tabs:(0,i.t)("Tabs"),TimeLine:(0,i.t)("Timeline"),BusinessHour:(0,i.t)("Business Hour"),Switcher:(0,i.t)("Switcher"),ProgressBar:(0,i.t)("Progress"),Accordion:(0,i.t)("Accordion"),ImageGallery:(0,i.t)("Gallery"),Carousel:(0,i.t)("Carousel"),Row:(0,i.t)("Row"),Column:(0,i.t)("Column"),WPSidebar:(0,i.t)("Sidebar"),WPCustomShortcode:(0,i.t)("Shortcode"),WPPostsTitle:(0,i.t)("Post Title"),WPNavigation:(0,i.t)("Menu"),WPPostExcerpt:(0,i.t)("Post Excerpt"),WPPostNavigation:(0,i.t)("Post Navigation"),Posts:(0,i.t)("Posts"),Archives:(0,i.t)("Archives"),Menu:(0,i.t)("Menu"),FacebookButton:(0,i.t)("Facebook Button"),FacebookComments:(0,i.t)("Comments"),FacebookEmbed:(0,i.t)("Facebook Embed"),FacebookPage:(0,i.t)("Facebook Page"),FacebookGroup:(0,i.t)("Facebook Group"),WPBreadcrumbs:(0,i.t)("Breadcrumbs"),WPPostInfo:(0,i.t)("Post Info"),WPPostContent:(0,i.t)("Post Content"),Audio:(0,i.t)("Audio"),Twitter:(0,i.t)("Twitter"),Facebook:(0,i.t)("Facebook"),WPComments:(0,i.t)("Comments"),Search:(0,i.t)("Search"),WOOProductMeta:(0,i.t)("Product Meta"),WOORating:(0,i.t)("Product Rating"),WOOCart:(0,i.t)("WooCommerce Cart"),Login:(0,i.t)("Login"),Shape:(0,i.t)("Shape"),Icon:(0,i.t)("Icon"),Button:(0,i.t)("Button")},l={getItems:function(e){const{essentials:t}=r.default.getShortcodes(),{icon:o=""}=t.find((t=>t.component.resolve.value.items?.type===e.items[0].type))||{};return[{id:"main",type:"group",title:a[e.items[0].type],icon:o,items:[]}]}}},50737:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StoryWrapper",{enumerable:!0,get:function(){return E}});const r=k(o(60042)),n=O(o(27378)),i=k(o(80544)),a=k(o(39552)),l=o(46338),s=o(76742),c=k(o(58566)),d=O(o(67439)),u=k(o(10787)),p=k(o(63692)),f=o(97045),m=o(92213),y=o(94220),g=o(69321),h=O(o(71162)),b=O(o(24119)),v=O(o(59638)),S=k(o(71208)),w=k(o(63034)),x=O(o(29351)),P=O(o(53927)),C=o(63744),T=O(o(23563)),_=O(o(66518));function k(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class E extends p.default{static get componentId(){return"StoryWrapper"}static defaultValue=w.default;toolbarRef=(0,n.createRef)();handleExtendParentToolbar=e=>{this.childToolbarExtend=e};renderForEdit(e,t,o){const r="on"===e.showToolbar||"admin"!==(0,l.currentUserRole)()?e=>e.filter((e=>"duplicate"!==e.id&&"remove"!==e.id)):null,c=b.mRead(e.tabsState),p=(0,f.deviceModeSelector)((0,m.getStore)().getState()),y="relative"===h.getPosition((t=>(0,g.defaultValueValue)({v:e,key:t,device:p,state:c})));return n.default.createElement(i.default,{type:"wrapper",color:"grey",borderStyle:"dotted",buttonPosition:"topRight",renderButtonWrapper:this.renderToolbar},(i=>{let{ref:l,attr:c,border:p,button:f}=i;const m=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{toolbarExtend:this.makeToolbarPropsFromConfig2(_,P,{allowExtendFromChild:!1,parentItemsFilter:r}),extendParentToolbar:this.handleExtendParentToolbar,meta:this.props.meta,wrapperExtend:{ref:l,attributes:c,className:this.getWrapperClassName(e,t,o),animationClass:this.getAnimationClassName(e,t,o),renderContent:t=>{const o=y?n.default.createElement(s.SortableElement,{type:"shortcode"},t):t;return n.default.createElement(n.default.Fragment,null,"on"===e.showToolbar?n.default.createElement(d.ToolbarExtend,{onEscape:this.handleToolbarEscape},o,f):o,p)}}}});return n.default.createElement(a.default,{...this.makeContextMenuProps(S.default),componentId:e?.items[0]?.type??""},n.default.createElement(u.default,m))}))}renderForView(e,t,o){const r=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta,wrapperExtend:{className:this.getWrapperClassName(e,t,o),animationClass:this.getAnimationClassName(e,t,o)}}});return n.default.createElement(u.default,r)}getWrapperClassName=(e,t,o)=>{const{customClassName:n,cssClass:i}=e,a=v.mRead(i||n);return(0,r.default)((0,y.css)(this.getComponentId(),this.getId(),(0,C.styleWrapper)(e,t,o)),"brz-wrapper",a)};getAnimationClassName=(e,t,o)=>(0,r.default)((0,g.validateKeyByProperty)(e,"animationName","none")&&(0,y.css)(`${this.getComponentId()}-animation,`,`${this.getId()}-animation`,(0,C.styleAnimation)(e,t,o)));handleToolbarEscape=()=>this.toolbarRef.current?.show();renderToolbar=e=>n.default.createElement(d.default,{...this.makeToolbarPropsFromConfig2(T,x),ref:this.toolbarRef},n.default.createElement(c.default,null,n.default.createElement(e,null)))}},29351:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(81263),n=o(64985),i=o(68256);function a(e){let{context:t}=e;const o=(0,i.getDynamicContentOption)({options:t.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",options:[{id:"zIndex",type:"slider-dev",position:20,label:(0,n.t)("Z-index"),config:{min:0,max:100}},{id:"rotate",type:"slider-dev",position:21,label:(0,n.t)("Rotate"),config:{min:0,max:360,units:[{is:"deg",title:"deg"}]}},{id:"cssID",label:(0,n.t)("CSS ID"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:o,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,n.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:o,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,n.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."}}]}]}]},{id:"effects",title:(0,n.t)("Effects"),label:(0,n.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,n.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},53927:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81263),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,context:l}=e;if("on"===("showToolbar",(0,i.defaultValueValue)({v:t,key:"showToolbar",device:o})))return[];const s=(0,a.getDynamicContentOption)({options:l.dynamicContent.config,type:r.DCTypes.richText});return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,n.t)("Styling"),label:(0,n.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,n.t)("Advanced"),icon:"nc-cog",options:[{id:"zIndex",type:"slider-dev",position:20,label:(0,n.t)("Z-index"),config:{min:0,max:100}},{id:"rotate",type:"slider-dev",position:21,label:(0,n.t)("Rotate"),config:{min:0,max:360,units:[{is:"deg",title:"deg"}]}},{id:"cssID",label:(0,n.t)("CSS ID"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:s,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,n.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:s,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,n.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."}}]}]}]},{id:"effects",title:(0,n.t)("Effects"),label:(0,n.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,n.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},63744:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleWrapper:function(){return i},styleAnimation:function(){return n.styleAnimation}});const r=o(94220),n=o(48382);function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayFlex","cssStyleZIndexStory","cssStyleCustomPosition","cssStyleWrapperFixedFlex","cssStyleRotate"]}}})}},23563:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},66518:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},48696:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),n=o(16957),i=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,n.detectOS)(),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=n&&(a||t[e].type===n.type),c=s&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},68793:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=f(o(27378)),n=f(o(60042)),i=f(o(63692)),a=o(73948),l=f(o(68984)),s=f(o(67865)),c=o(66848),d=f(o(67439)),u=f(o(45771)),p=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(48833));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends i.default{static get componentId(){return"SwitcherTab"}static defaultProps={meta:{}};static defaultValue=s.default;handleLabelChange=e=>{this.patchValue({labelText:e})};renderNav(e){const{iconName:t,iconType:o,labelText:i}=e,{active:l,onChangeNav:s}=this.props,u=(0,n.default)("brz-switcher__nav--item",{"brz-switcher__nav--item--active":l});return r.default.createElement("div",{className:u,onClick:s},r.default.createElement(d.default,this.makeToolbarPropsFromConfig2(p),r.default.createElement("div",{className:"brz-switcher__nav--button"},t&&o&&r.default.createElement(a.ThemeIcon,{name:t,type:o}),r.default.createElement(c.TextEditor,{value:i,onChange:this.handleLabelChange}))))}renderContent(){const{meta:e,active:t,animationClassName:o,meta:{sectionPopup:i,sectionPopup2:a}}=this.props,s=(0,n.default)("brz-switcher__content--tab","brz-flex-xs-column",{"brz-switcher__content--tab--active":t}),c=this.makeSubcomponentProps({meta:e,bindWithKey:"items",className:"brz-d-xs-flex brz-flex-xs-column"});return r.default.createElement(u.default,{iterationCount:1,component:"div",componentProps:{className:s},animationClass:o},r.default.createElement(l.default,c))}renderForEdit(e){const{renderType:t}=this.props;return"content"===t?this.renderContent(e):this.renderNav(e)}}const g=y},68984:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=o(67439),a=p(o(49127)),l=p(o(20013)),s=o(39552),c=p(o(24072)),d=p(o(48696)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"SwitcherTab.Items"}static defaultProps={className:"",meta:{}};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t){const o={getItems:()=>[{id:"duplicate",type:"button",title:(0,u.t)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,u.t)("Delete"),icon:"nc-trash",position:210,onChange:()=>{(0,i.hideToolbar)(),this.removeItem(t)}}]},r=this.makeToolbarPropsFromConfig2(o);return{meta:this.props.meta,toolbarExtend:r}}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(l.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(a.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:this.props.className},e))}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}const m=f},48833:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;const i=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),a=i("iconName"),l=i("iconType");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-switcher",title:(0,r.t)("Switcher")},position:70,options:[{id:"currentShortcodeSwitcher",type:"tabs-dev",tabs:[{id:"currentShortcodeIcon",label:(0,r.t)("Icon"),options:[{id:"icon",label:(0,r.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},...a&&l?[]:[{id:"iconPosition",type:"radioGroup-dev",disabled:!0},{id:"groupIconSizesPicker",type:"group-dev",disabled:!0},{id:"iconSpacing",type:"slider-dev",disabled:!0}]]}]}]}]}},77542:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Switcher"),icon:"nc-switcher",disabled:(e,t)=>t.isInSubMenu,items:[]}]}}},11880:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return B}});const r=k(o(60042)),n=k(o(27378)),i=o(10301),a=k(o(39552)),l=o(66848),s=k(o(36275)),c=o(73948),d=k(o(67439)),u=k(o(63692)),p=o(97045),f=o(92213),m=o(94220),y=o(69321),g=O(o(24119)),h=o(86022),b=k(o(77542)),v=k(o(17175)),S=k(o(52758)),w=O(o(63364)),x=O(o(56413)),P=o(38687),C=O(o(54429)),T=O(o(6992)),_=O(o(52703));function k(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class E extends u.default{static get componentId(){return"Switcher"}static defaultProps={meta:{},extendParentToolbar:i.noop};static defaultValue=v.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(T,x,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleChange=e=>{this.patchValue(e)};handleChangeNav=e=>{this.handleChange({activeTab:e})};dvv=e=>{const t=this.getValue(),o=(0,p.deviceModeSelector)((0,f.getStore)().getState()),r=g.mRead(t.tabsState);return(0,y.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,y.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,m.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,P.styleAnimation)(e,t,o)))};renderNav(e,t,o){const{activeTab:i,labelText1:a,labelText2:s,firstIconName:u,firstIconType:p,secondIconName:f,secondIconType:y}=e,g=(0,r.default)("brz-switcher__nav2--control",{"brz-switcher__nav2--control--active":0===i},(0,m.css)(this.constructor.componentId,this.getId(),(0,P.style)(e,t,o)));return n.default.createElement("div",{className:"brz-switcher__nav2"},Array(2).fill().map(((e,t)=>{const o=(0,r.default)("brz-switcher__nav2--button",{"brz-switcher__nav2__item--active":i===t});return n.default.createElement(n.default.Fragment,{key:t},n.default.createElement(d.default,this.makeToolbarPropsFromConfig2(0===t?C:_,w,{allowExtend:!1}),n.default.createElement("div",{className:o},0===t&&u&&p&&n.default.createElement(c.ThemeIcon,{name:u,type:p}),0===t&&n.default.createElement(l.TextEditor,{className:"brz-switcher__nav2__item",value:a,onChange:e=>this.handleChange({labelText1:e})}),1===t&&f&&y&&n.default.createElement(c.ThemeIcon,{name:f,type:y}),1===t&&n.default.createElement(l.TextEditor,{className:"brz-switcher__nav2__item",value:s,onChange:e=>this.handleChange({labelText2:e})}))),0===t&&n.default.createElement("div",{onClick:()=>{this.handleChangeNav(0===i?1:0)},className:g}))})))}renderForEdit(e,t,o){const{activeTab:i,customCSS:l,switcherStyle:c,iconName:d,iconType:u}=e,p=this.makeSubcomponentProps({activeTab:i,iconName:d,iconType:u,bindWithKey:"items",renderType:"nav",meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(C,w,{allowExtend:!1}),onChangeNav:this.handleChangeNav}),f=this.getAnimationClassName(e,t,o),y=this.makeSubcomponentProps({activeTab:i,iconName:d,iconType:u,animationClassName:f,bindWithKey:"items",renderType:"content",meta:this.props.meta}),g=(0,r.default)("brz-switcher",{"brz-switcher--style2":"style-2"===c},(0,m.css)(this.constructor.componentId,this.getId(),(0,P.style)(e,t,o))),v=(0,r.default)("brz-switcher__nav",{"brz-switcher__nav--active":0===i});return n.default.createElement(s.default,{selectorName:this.getId(),css:l},n.default.createElement(a.default,this.makeContextMenuProps(b.default),n.default.createElement(h.Wrapper,this.makeWrapperProps({className:g}),"style-2"===c?this.renderNav(e,t,o):n.default.createElement("div",{className:v},n.default.createElement(S.default,p)),n.default.createElement(S.default,y))))}}const B=E},52758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(10301),n=o(70634),i=(a=o(10787))&&a.__esModule?a:{default:a};var a;class l extends i.default{static get componentId(){return"Switcher.Items"}static defaultProps={className:"",renderType:"",style:{},meta:{},onChangeNav:r.noop};getItemProps(e,t){const{renderType:o,meta:r,activeTab:n,animationClassName:i,toolbarExtend:a,onChangeNav:l}=this.props;return{meta:r,renderType:o,animationClassName:i,toolbarExtend:a,active:t===n,onChangeNav:()=>{t!==n&&l(t)}}}removeItem(e){const t=this.getDBValue()||[],o=(0,n.removeAt)(t,e);this.props.onChangeNav(0),setTimeout((()=>{this.handleValueChange(o,{arrayOperation:"remove"})}),0)}}const s=l},63364:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,disabled:"style-2"===("switcherStyle",(0,n.defaultValueValue)({v:t,key:"switcherStyle",device:o}))},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}]}]},{id:"effects",title:(0,r.t)("Effects"),label:(0,r.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,r.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]}]}]}]}]}},56413:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Switcher"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling"},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},38687:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleAnimation:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-switcher__nav":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementSwitcherNavSpacing","cssStyleElementSwitcherWidth"]},".brz && > .brz-switcher__nav:before":{standart:["cssStyleBorderRadius","cssStyleElementSwitcherNavBeforeBg"]},".brz && > .brz-switcher__nav .brz-switcher__nav--item":{standart:["cssStyleColor","cssStylePaddingFourFields"]},".brz && > .brz-switcher__nav .brz-switcher__nav--item--active":{standart:["cssStyleElementSwitcherActiveTextColor"]},".brz && .brz-switcher__nav--button":{standart:["cssStyleElementSwitcherBtnIconPosition"]},".brz && .brz-switcher__nav--button .brz-icon-svg":{standart:["cssStyleSizeFontSizeIcon","cssStyleElementSwitcherBtnSpacing"]},".brz &&:hover > .brz-switcher__nav2":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleElementSwitcherNavSpacing"]},".brz &&:hover > .brz-switcher__nav2 .brz-switcher__nav2--control":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow","cssStyleElementSwitcherNav2Height","cssStyleElementSwitcherNav2Width"]},".brz &&:hover .brz-switcher__nav2--button":{standart:["cssStyleElementSwitcherBtnIconPosition"]},".brz &&:hover .brz-switcher__nav2--button .brz-icon-svg":{standart:["cssStyleElementSwitcherBtnSpacing","cssStyleSizeFontSizeIcon"]},".brz &&:hover > .brz-switcher__nav2 .brz-switcher__nav2--control:before":{standart:["cssStyleBorderRadius","cssStyleElementSwitcherNavBeforeBg"]},".brz &&:hover > .brz-switcher__nav2 .brz-switcher__nav2__item--active .brz-switcher__nav2__item":{standart:["cssStyleElementSwitcherActiveTextColor"]},".brz &&:hover > .brz-switcher__nav2 .brz-switcher__nav2__item--active .brz-icon-svg":{standart:["cssStyleElementSwitcherActiveTextColor"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},54429:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),d=c("switcherStyle"),u=c("firstIconName"),p=c("firstIconType"),{hex:f}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-switcher",title:(0,n.t)("Switcher")},position:70,options:[{id:"currentShortcodeSwitcher",type:"tabs-dev",tabs:[{id:"currentShortcodeSwitcher",label:(0,n.t)("Switcher"),position:10,options:[{id:"switcherStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",disabled:"tablet"===o||"mobile"===o,choices:[{value:"style-1",icon:"nc-switcher-style-1"},{value:"style-2",icon:"nc-switcher-style-2"}]},{id:"spacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"currentShortcodeIcon",devices:"desktop",label:(0,n.t)("Icon"),options:[..."style-1"===d?[]:[{id:"firstIcon",label:(0,n.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}}],..."style-1"===d||u&&p?[{id:"iconPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"top",icon:"nc-align-top"},{value:"right",icon:"nc-align-right"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"groupIconSizesPicker",type:"group-dev",options:[{id:"iconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==c("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]:[]]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(f,c("bgColorOpacity"))}}},devices:"desktop",roles:["admin"],position:90,options:[{id:"color",type:"tabs-dev",tabs:[{id:"bg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"text",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"border",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"shadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"navStyle2Size",label:(0,n.t)("Size"),type:"slider-dev",disabled:"style-1"===d,config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"navStyle1Width",label:(0,n.t)("Width"),type:"slider-dev",disabled:"style-2"===d,config:{min:0,max:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},6992:(e,t)=>{"use strict";function o(){return[{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},52703:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),u=c("secondIconName"),p=c("secondIconType"),f=c("switcherStyle");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-switcher",title:(0,n.t)("Switcher")},position:70,options:[{id:"currentShortcodeSwitcher",type:"tabs-dev",tabs:[{id:"currentShortcodeSwitcher",label:(0,n.t)("Switcher"),position:10,options:[{id:"switcherStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",choices:[{value:"style-1",icon:"nc-switcher-style-1"},{value:"style-2",icon:"nc-switcher-style-2"}]},{id:"spacing",type:"slider-dev",label:(0,n.t)("Spacing"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"currentShortcodeIcon",devices:"desktop",label:(0,n.t)("Icon"),options:[{id:"secondIcon",label:(0,n.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},...u&&p?[{id:"iconPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"top",icon:"nc-align-top"},{value:"right",icon:"nc-align-right"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"groupIconSizesPicker",type:"group-dev",options:[{id:"iconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==c("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]:[]]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},devices:"desktop",roles:["admin"],position:90,options:[{id:"color",type:"tabs-dev",tabs:[{id:"bg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"text",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"border",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"shadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"navStyle2Size",label:(0,n.t)("Size"),type:"slider-dev",disabled:"style-1"===f,config:{min:25,max:100,units:[{value:"px",title:"px"}]}},{id:"navStyle1Width",label:(0,n.t)("Width"),type:"slider-dev",disabled:"style-2"===f,config:{min:0,max:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},7461:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=f(o(27378)),n=f(o(63692)),i=f(o(85625)),a=o(66848),l=o(73948),s=f(o(67439)),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=m(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(87873)),d=o(94220),u=o(7213),p=f(o(60042));function f(e){return e&&e.__esModule?e:{default:e}}function m(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(m=function(e){return e?o:t})(e)}class y extends n.default{static get componentId(){return"TableAside"}static defaultProps={meta:{}};static defaultValue=i.default;handleLabelChange=e=>{this.patchValue({labelText:e})};renderForEdit(e,t,o){const{name:n,type:i,labelText:f}=e,m=(0,p.default)("brz-table__th","brz-table__aside",(0,d.css)(this.constructor.componentId,this.getId(),(0,u.style)(e,t,o)));return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.default,this.makeToolbarPropsFromConfig2(c),r.default.createElement("th",{className:m},r.default.createElement("div",{className:"brz-table__th--btn"},n&&i&&r.default.createElement(l.ThemeIcon,{name:n,type:i}),r.default.createElement(a.TextEditor,{value:f,onChange:this.handleLabelChange})))))}}const g=y},7213:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:[]}}})}},87873:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o,state:i}=e;const a=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:i}),l=""===a("name")&&""===a("type");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,r.t)("Table")},position:50,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,r.t)("Icon"),position:60,options:[{id:"",label:(0,r.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},...l?[{id:"iconPosition",type:"radioGroup-dev",disabled:!0,choices:[]},{id:"groupIconSize",type:"group-dev",disabled:!0,options:[]},{id:"iconSpacing",type:"slider-dev",disabled:!0}]:[]]}]}]}]}},29214:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=p(o(27378)),n=p(o(63692)),i=p(o(10787)),a=p(o(48534)),l=o(94220),s=o(91967),c=p(o(60042)),d=m(o(75001)),u=m(o(61438));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends n.default{static get componentId(){return"TableBody"}static defaultProps={meta:{}};static defaultValue=a.default;renderForEdit(e,t,o){const{meta:n}=this.props,a=(0,c.default)("brz-table__body",(0,l.css)(this.constructor.componentId,this.getId(),(0,s.style)(e,t,o))),p=this.makeSubcomponentProps({bindWithKey:"items",sliceEndIndex:n.table.rows,itemProps:{meta:n,toolbarExtend:this.makeToolbarPropsFromConfig2(d,u)}});return r.default.createElement("tbody",{className:a},r.default.createElement(i.default,p))}}const g=y},61438:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Table Sidebar");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},91967:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:[]},".brz &&:hover .brz-table__th.brz-table__th":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBgColor","cssStyleColor","cssStyleBorder","cssStylePaddingFourFields"]},".brz &&:hover .brz-table__tr:nth-child(even) .brz-table__th":{standart:["cssStyleElementTableEvenBgColor","cssStyleElementTableEvenColor"]},".brz && .brz-table__th--btn":{standart:["cssStyleElementTableBtnIconPosition","cssStyleElementTableCustomFlexHorizontalAlign","cssStyleTextAlign"]},".brz && .brz-table__th .brz-icon-svg":{standart:["cssStyleElementTableSpacing","cssStyleSizeFontSizeIcon"]}}})}},75001:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Table")},position:50,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,n.t)("Icon"),position:60,options:[{id:"iconPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"groupIconSize",type:"group-dev",options:[{id:"iconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==s("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:50,units:[{value:"px",title:"px"}]}}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{title:(0,n.t)("Typography"),icon:"nc-font",size:"desktop"===o?"large":"auto"},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,devices:"desktop",choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,n.t)("Settings"),icon:"nc-cog"},position:110,options:[{id:"advancedSettings",type:"advancedSettings",label:(0,n.t)("Styling"),icon:"nc-cog",devices:"desktop"}]}]}},22554:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),n=o(16957),i=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,n.detectOS)(),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=n&&(a||t[e].type===n.type),c=s&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},65411:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(63692)),i=l(o(96781)),a=l(o(22641));function l(e){return e&&e.__esModule?e:{default:e}}class s extends n.default{static get componentId(){return"TableCol"}static defaultProps={meta:{}};static defaultValue=i.default;renderForEdit(){const e=this.makeSubcomponentProps({className:"brz-d-xs-flex brz-flex-xs-column",bindWithKey:"items",meta:this.props.meta});return r.default.createElement("td",{className:"brz-table__td"},r.default.createElement(a.default,e))}}const c=s},22641:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=o(67439),a=p(o(49127)),l=p(o(20013)),s=o(39552),c=p(o(24072)),d=p(o(22554)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"TableCol.Items"}static defaultProps={className:"",meta:{}};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t,o){const r=super.getItemProps(e,t,o),n={getItems:()=>[{id:"duplicate",type:"button",title:(0,u.t)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,u.t)("Delete"),icon:"nc-trash",position:210,onChange:()=>{(0,i.hideToolbar)(),this.removeItem(t)}}]},a=this.makeToolbarPropsFromConfig2(n);return{...r,meta:this.props.meta,toolbarExtend:a}}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(l.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(a.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:this.props.className},e))}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}const m=f},41119:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=p(o(27378)),n=p(o(63692)),i=p(o(1426)),a=p(o(10787)),l=o(94220),s=o(70370),c=p(o(60042)),d=m(o(20696)),u=m(o(91936));function p(e){return e&&e.__esModule?e:{default:e}}function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(f=function(e){return e?o:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=f(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class y extends n.default{static get componentId(){return"TableHead"}static defaultProps={meta:{}};static defaultValue=i.default;renderForEdit(e,t,o){const n=(0,c.default)("brz-table__head",(0,l.css)(this.constructor.componentId,this.getId(),(0,s.style)(e,t,o))),i=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.props.meta,toolbarExtend:this.makeToolbarPropsFromConfig2(d,u,{allowExtend:!1})}});return r.default.createElement("thead",{className:n},r.default.createElement(a.default,i))}}const g=y},91936:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Table Head");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},70370:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor","cssStyleColor"]},".brz && .brz-table__th--btn":{standart:["cssStyleElementTableBtnIconPosition","cssStyleElementTableCustomFlexHorizontalAlign","cssStyleTextAlign"]},".brz && .brz-table__th.brz-table__th":{standart:["cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing","cssStyleBorder","cssStylePaddingFourFields"]},".brz && .brz-table__th:nth-child(even)":{standart:["cssStyleElementTableEvenBgColor","cssStyleElementTableEvenColor"]},".brz && .brz-table__th .brz-icon-svg":{standart:["cssStyleElementTableSpacing","cssStyleSizeFontSizeIcon"]}}})}},20696:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),{hex:u}=(0,a.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-star",title:(0,n.t)("Table")},position:50,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,n.t)("Icon"),position:60,options:[{id:"iconPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"groupIconSize",type:"group-dev",options:[{id:"iconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==c("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:50,units:[{value:"px",title:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",title:(0,n.t)("Typography"),size:"desktop"===o?"large":"auto"},roles:["admin"],position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:c("bgColorOpacity")>0?(0,r.hexToRgba)(d,c("bgColorOpacity")):(0,r.hexToRgba)(u,c("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",position:100,devices:"desktop",choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,n.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",devices:"desktop",title:(0,n.t)("Settings")}]}},38272:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});const r=l(o(27378)),n=l(o(63692)),i=l(o(10787)),a=l(o(4480));function l(e){return e&&e.__esModule?e:{default:e}}class s extends n.default{static get componentId(){return"TableRow"}static defaultProps={meta:{}};static defaultValue=a.default;renderForEdit(){const{meta:e,toolbarExtend:t}=this.props,o=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:e,toolbarExtend:t}}),n=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,sliceEndIndex:e.table.columns+1,itemProps:{meta:e,toolbarExtend:t}}),a=r.default.createElement(i.default,o),l=r.default.createElement(i.default,n);return r.default.createElement("tr",{className:"brz-table__tr"},e.table.showAside&&a,l)}}const c=s},27195:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(27378)),n=g(o(60042)),i=g(o(63692)),a=g(o(10787)),l=g(o(36275)),s=o(94220),c=o(79498),d=g(o(82617)),u=b(o(86645)),p=b(o(85180)),f=b(o(49786)),m=o(50881),y=o(24119);function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends i.default{static get componentId(){return"Table"}static defaultProps={meta:{}};static defaultValue=d.default;getMeta(e){const{tableAside:t,rows:o,columns:r}=e,{meta:n}=this.props,{desktopW:i,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d}=(0,m.calculateMeta)({v:e,meta:n,state:y.NORMAL});return{...n,desktopW:i,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d,table:{rows:o,columns:r,showAside:"on"===t}}}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(u,p,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}renderForEdit(e,t,o){const{tableHead:i}=e,d=this.getMeta(e),u=(0,n.default)("brz-table",(0,s.css)(this.constructor.componentId,this.getId(),(0,c.style)(e,t,o))),p=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:0,sliceEndIndex:1,itemProps:{meta:d}}),m=this.makeSubcomponentProps({bindWithKey:"items",sliceStartIndex:1,itemProps:{meta:d,toolbarExtend:this.makeToolbarPropsFromConfig2(f,null,{allowExtend:!1})}}),y=r.default.createElement(a.default,p),g=r.default.createElement(a.default,m);return r.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement("table",{className:u},"on"===i&&y,g))}}const S=v},50881:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"calculateMeta",{enumerable:!0,get:function(){return l}});const r=o(68934),n=o(89787),i=o(66559),a=e=>{const{w:t,wNoSpacing:o,v:a,device:l,state:s}=e,c=(0,r.styleElementTableWidth)({v:a,device:l,state:s}),d=(0,r.stylePaddingType)({v:a,device:l,state:s}),u=(0,n.getPadding)({v:a,w:t,device:l,state:s,type:d}),p=(e=>{let{v:t,device:o,state:n,type:i}=e;switch(i){case"grouped":return(0,r.styleBorderWidthGrouped)({v:t,device:o,state:n});case"ungrouped":return(0,r.styleBorderWidthUngrouped)({v:t,device:o,state:n,current:"left"})/2+(0,r.styleBorderWidthUngrouped)({v:t,device:o,state:n,current:"right"})/2;default:return 0}})({v:a,device:l,state:s,type:(0,r.styleBorderWidthType)({v:a,device:l,state:s})}),f=p+u,m=(0,r.styleElementTableAside)({v:a,device:l,state:s}),y=(0,r.styleElementTableColumns)({v:a,device:l,state:s});if("off"===m||l===i.MOBILE){const e=t*(c/100)-f,r=o*(c/100);return{w:Math.round(10*(e/y-p))/10,wNoSpacing:Math.round(r/y*10)/10}}const g=(0,r.styleElementTableAsideWidth)({v:a,device:l,state:s}),h=t*(c/100)-f-g,b=o*(c/100)-g;return{w:Math.round(10*(h/y-p))/10,wNoSpacing:Math.round(b/y*10)/10}},l=e=>{const{v:t,state:o}=e,{w:r,wNoSpacing:n}=a({v:t,state:o,w:e.meta.desktopW,wNoSpacing:e.meta.desktopWNoSpacing,device:i.DESKTOP}),{w:l,wNoSpacing:s}=a({v:t,state:o,w:e.meta.tabletW,wNoSpacing:e.meta.tabletWNoSpacing,device:i.TABLET}),{w:c,wNoSpacing:d}=a({v:t,state:o,w:e.meta.mobileW,wNoSpacing:e.meta.mobileWNoSpacing,device:i.MOBILE});return{desktopW:r,desktopWNoSpacing:n,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d}}},85180:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Table");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",disabled:!0},{id:"tablePadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50,config:{units:["px"]}}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},79498:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidthPercentOnly","cssStyleBorder","cssStyleBoxShadow"]},".brz &&:hover .brz-table__tr:nth-child(2n + 1) .brz-table__td":{standart:["cssStyleBgColor"]},".brz &&:hover .brz-table__tr:nth-child(even) .brz-table__td":{standart:["cssStyleElementTableEvenBgColor"]},".brz &&:hover .brz-table__td":{standart:["cssStyleBorder","cssStyleTablePadding"]},".brz &&:hover .brz-table__th":{standart:["cssStyleBorder"]},".brz &&:hover .brz-table__head > .brz-table__tr > .brz-table__aside:first-child":{standart:["cssStyleElementTableAsideWidth"]},".brz &&:hover .brz-table__body > .brz-table__tr > .brz-table__aside:first-child":{standart:["cssStyleElementTableAsideWidth"]}}})}},49786:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985),n=()=>[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},title:(0,r.t)("Settings"),position:110,options:[{id:"asideWidth",label:(0,r.t)("Width"),type:"slider-dev",position:100,config:{min:0,max:500,units:[{value:"px",title:"px"}]}}]}]},86645:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return m}});const r=o(70634),n=o(81405),i=o(64985),a=o(16526),l=o(69321),s=o(68256),c=o(24119),d={type:"TableRow",value:{items:[]}},u={type:"TableCol",value:{items:[]}},p={type:"TableAside",value:{labelText:"H 1",items:[]}},f={type:"TableAside",value:{labelText:"A 1",items:[]}};function m(e){let{v:t,device:o}=e;const m=e=>(0,l.defaultValueValue)({key:e,v:t,device:o}),{hex:y}=(0,s.getOptionColorHexByPalette)(m("bgColorHex"),m("bgColorPalette")),{hex:g}=(0,s.getOptionColorHexByPalette)(m("colorHex"),m("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-table-element"},title:(0,i.t)("Table"),position:60,options:[{id:"tableHead",label:(0,i.t)("Head"),type:"switch-dev",devices:"desktop"},{id:"tableAside",label:(0,i.t)("Sidebar"),type:"switch-dev",devices:"desktop"},{id:"rows",label:(0,i.t)("Rows"),type:"slider-dev",devices:"desktop",config:{min:1,max:10},dependencies:e=>{let{rows:o}=e;const[n,i]=t.items,l=(0,r.getIn)(i,["value","items"]);if(l&&l.length{let{columns:o}=e;const[n,i]=t.items,l=(0,r.getIn)(i,["value","items"]),s=(0,r.getIn)(n,["value","items"]),c=(0,r.getIn)(l,[0,"value","items"]),d=(0,r.getIn)(s,[0,"value","items"]);if(c&&c.length-1{const n=(0,a.setIds)(Array(o-(c.length-1)).fill(u)),i=(0,r.setIn)(t,["value","items"],(0,r.addLast)(t.value.items,n));return e.push(i),e}),[]),t=(0,a.setIds)(Array(o-(d.length-1)).fill(p)),f=(0,r.setIn)(s,[0,"value","items"],(0,r.addLast)(s[0].value.items,t)),m=(0,r.setIn)(i,["value","items"],e);return{items:[(0,r.setIn)(n,["value","items"],f),m],columns:o}}return{columns:o}}},{id:"width",label:(0,i.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",icon:{style:{backgroundColor:m("bgColorOpacity")>0?(0,n.hexToRgba)(y,m("bgColorOpacity")):(0,n.hexToRgba)(g,m("colorOpacity"))}}},title:(0,i.t)("Colors"),roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,i.t)("Background"),options:[{id:"bgColor",type:"colorPicker-dev",states:[c.NORMAL,c.ACTIVE]}]},{id:"tabBorder",label:(0,i.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"tabShadow",label:(0,i.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},19814:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(70634),n=(i=o(10787))&&i.__esModule?i:{default:i};var i;const a=o(67439),l=o(64985);class s extends n.default{static get componentId(){return"Tabs.Items"}static defaultProps={className:"",renderType:"",style:{},meta:{},verticalMode:""};getItemProps(e,t,o){const{renderType:r,meta:n,activeTab:i,onChangeNav:s,action:c,verticalMode:d,animationClassName:u}=this.props,p={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"on"===d?"vertical":"horizontal",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,l.t)("Duplicate"),position:200,onChange:()=>{this.cloneItem(t)}},...o.length>1?[{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,l.t)("Delete"),position:250,disable:1===o.length,onChange:()=>{(0,a.hideToolbar)(),this.removeItem(t)}}]:[]]};return{meta:n,renderType:r,action:c,animationClassName:u,active:t===i,onChangeNav(){s(t)},toolbarExtend:this.makeToolbarPropsFromConfig2(p)}}removeItem(e){const t=this.getDBValue()||[],o=(0,r.removeAt)(t,e);this.props.onChangeNav(0),setTimeout((()=>{this.handleValueChange(o,{arrayOperation:"remove"})}),0)}}},20720:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return m}});const r=p(o(27378)),n=p(o(10787)),i=o(67439),a=p(o(49127)),l=p(o(20013)),s=o(39552),c=p(o(24072)),d=p(o(36154)),u=o(64985);function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"Tab.Items"}static defaultProps={className:"",meta:{}};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t){const o={getItemsForDesktop:()=>[{id:"duplicate",type:"button",title:(0,u.t)("Duplicate"),icon:"nc-duplicate",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,u.t)("Delete"),icon:"nc-trash",position:210,onChange:()=>{(0,i.hideToolbar)(),this.removeItem(t)}}],getItemsForTablet:()=>[],getItemsForMobile:()=>[]},r=this.makeToolbarPropsFromConfig(o);return{meta:this.props.meta,toolbarExtend:r}}renderItemsContainer(e){return 0===e.length?r.default.createElement("div",{className:this.props.className},r.default.createElement(l.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(a.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:this.props.className},e))}renderItemWrapper(e,t,o){const n=(0,d.default)(o);return r.default.createElement(s.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(c.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}const m=f},36154:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});const r=o(67439),n=o(16957),i=o(64985),a=e=>({getItems:s(e)}),l="MacOS"===(0,n.detectOS)(),s=e=>(t,o)=>{const n=o.getCurrentCopiedElement(),a="Row"===t[e].type,s=n&&(a||t[e].type===n.type),c=s&&(a||n.value.items[0].type===t[e].value.items[0].type);return[{id:"main",type:"group",items:[{id:"copy",type:"button",title:(0,i.t)("Copy"),helperText:()=>l?"⌘ + C":"ctrl + C",onChange:()=>o.copy(e)},{id:"paste",type:"button",title:(0,i.t)("Paste"),helperText:()=>l?"⌘ + V":"ctrl + V",inactive:!s,onChange:()=>o.paste(e)},{id:"pasteStyles",type:"button",title:(0,i.t)("Paste Styles"),inactive:!c,helperText:()=>l?"⌘ + ⇧ + V":"ctrl + ⇧ + V",onChange:()=>o.pasteStyles(e)},{id:"duplicate",type:"button",title:(0,i.t)("Duplicate"),helperText:()=>l?"⌘ + D":"ctrl + D",onChange:()=>{o.cloneItem(e)}},{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>l?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),o.removeItem(e)}}]}]}},66344:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const r=m(o(60042)),n=o(83850),i=m(o(27378)),a=m(o(45771)),l=o(66848),s=o(73948),c=m(o(67439)),d=m(o(63692)),u=m(o(20720)),p=m(o(69423)),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(73212));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}class g extends d.default{static get componentId(){return"Tab"}static defaultProps={meta:{}};static defaultValue=p.default;handleLabelChange=e=>{this.patchValue({labelText:e})};renderNav(e){const{iconName:t,iconType:o,labelText:n}=e,{active:a,onChangeNav:d,action:u}=this.props,p=(0,r.default)("brz-tabs__nav--item brz-tabs__nav--desktop",{"brz-tabs__nav--active":a});return i.default.createElement("li",{className:p,onClick:"click"===u?d:null,onMouseEnter:"hover"===u?d:null},i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(f),i.default.createElement("div",{className:(0,r.default)("brz-tabs__nav--button")},t&&o&&i.default.createElement(s.ThemeIcon,{name:t,type:o}),i.default.createElement(l.TextEditor,{value:n,onChange:this.handleLabelChange}))))}renderContent(e){const{labelText:t,customClassName:o,iconName:l,iconType:d}=e,{active:p,meta:m,onChangeNav:y,animationClassName:g}=this.props,h=this.makeSubcomponentProps({meta:m,animationClassName:g,bindWithKey:"items",className:"brz-tab brz-d-xs-flex brz-flex-xs-column"}),b=(0,r.default)("brz-tabs__items",{"brz-tabs__items--active":p}),v=(0,r.default)("brz-tabs__nav--mobile",{"brz-tabs__nav--mobile--active":p}),S=(0,r.default)("brz-tabs__item--content",o);return i.default.createElement("div",{className:b},i.default.createElement("div",{className:v,onClick:y},i.default.createElement(c.default,this.makeToolbarPropsFromConfig2(f),i.default.createElement("div",{className:(0,r.default)("brz-tabs__nav--button")},l&&d&&i.default.createElement(s.ThemeIcon,{name:l,type:d}),i.default.createElement(n.DangerouslySetHtmlContent,{tagName:"span",html:t,ssr:!1})))),i.default.createElement("div",{className:S},i.default.createElement(a.default,{iterationCount:1,component:"div",componentProps:{className:"brz-d-xs-flex brz-flex-xs-column"},animationClass:g},i.default.createElement(u.default,h))))}renderForEdit(e){const{renderType:t}=this.props;return"content"===t?this.renderContent(e):this.renderNav(e)}}const h=g},73212:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-tabs",title:(0,r.t)("Tabs")},position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeIcon",label:(0,r.t)("Icon"),options:[{id:"icon",label:(0,r.t)("Icon"),type:"iconSetter-dev",devices:"desktop",config:{canDelete:!0}},...""===("iconName",(0,n.defaultValueValue)({v:t,key:"iconName",device:o}))?[{id:"iconPosition",type:"radioGroup-dev",disabled:!0},{id:"groupIconSizesPicker",type:"group-dev",disabled:!0},{id:"iconSpacing",type:"slider-dev",disabled:!0}]:[]]}]}]}]}},37187:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n={getItems:function(){return[{id:"main",type:"group",title:(0,r.t)("Tabs"),icon:"nc-tabs",disabled:(e,t)=>t.isInSubMenu,items:[]}]}}},56482:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=C(o(60042)),n=C(o(27378)),i=o(10301),a=C(o(39552)),l=C(o(36275)),s=C(o(63692)),c=o(97045),d=o(92213),u=o(94220),p=o(89787),f=o(69321),m=_(o(24119)),y=o(86022),g=C(o(37187)),h=C(o(4366)),b=C(o(19814)),v=_(o(16730)),S=_(o(26340)),w=o(41165),x=_(o(45264)),P=_(o(6867));function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class k extends s.default{static get componentId(){return"Tabs"}static defaultValue=h.default;static defaultProps={meta:{},extendParentToolbar:i.noop};getMeta(e){const{meta:t}=this.props,{w:o,wNoSpacing:r}=(0,p.getContainerW)({v:e,w:t.desktopW,wNoSpacing:t.desktopWNoSpacing,device:"desktop"}),{w:n,wNoSpacing:i}=(0,p.getContainerW)({v:e,w:t.tabletW,wNoSpacing:t.tabletWNoSpacing,device:"tablet"}),{w:a,wNoSpacing:l}=(0,p.getContainerW)({v:e,w:t.mobileW,wNoSpacing:t.mobileWNoSpacing,device:"mobile"});return Object.assign({},t,{desktopW:o,desktopWMoSpacing:r,tabletW:n,tabletWMoSpacing:i,mobileW:a,mobileWMoSpacing:l})}componentDidMount(){const e=this.makeToolbarPropsFromConfig2(P,S,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleNav=e=>{this.patchValue({activeTab:e})};dvv=e=>{const t=this.getValue(),o=(0,c.deviceModeSelector)((0,d.getStore)().getState()),r=m.mRead(t.tabsState);return(0,f.defaultValueValue)({v:t,key:e,device:o,state:r})};getAnimationClassName=(e,t,o)=>{if(!(0,f.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,u.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,w.styleAnimation)(e,t,o)))};renderForEdit(e,t,o){const{activeTab:i,iconName:s,iconType:c,verticalMode:d,navStyle:p,verticalAlign:f,action:m}=e,h=this.getMeta(e),S=this.makeSubcomponentProps({activeTab:i,iconName:s,iconType:c,action:m,meta:h,verticalMode:d,bindWithKey:"items",renderType:"nav",onChangeNav:this.handleNav,toolbarExtend:this.makeToolbarPropsFromConfig2(x,v,{allowExtend:!1})}),P=this.getAnimationClassName(e,t,o),C=this.makeSubcomponentProps({activeTab:i,iconName:s,iconType:c,animationClassName:P,meta:h,bindWithKey:"items",renderType:"content",onChangeNav:this.handleNav,toolbarExtend:this.makeToolbarPropsFromConfig2(x,v,{allowExtend:!1})}),T=(0,r.default)("brz-tabs","on"===d?"brz-tabs--vertical":"brz-tabs--horizontal",`brz-tabs--${p}`,`brz-tabs--${f}`,(0,u.css)(this.constructor.componentId,this.getId(),(0,w.styleTabs)(e,t,o))),_=(0,r.default)("brz-tabs__nav","on"===d?"brz-tabs__nav--vertical":"brz-tabs__nav--horizontal",`brz-tabs__nav--${p}`,`brz-tabs__nav--${f}`),k=(0,r.default)("brz-tabs__content","on"===d?"brz-tabs__content--vertical":"brz-tabs__content--horizontal",`brz-tabs__content--${p}`,`brz-tabs__content--${f}`);return n.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(a.default,this.makeContextMenuProps(g.default),n.default.createElement(y.Wrapper,this.makeWrapperProps({className:T,attributes:{"data-action":m}}),n.default.createElement("ul",{className:_},n.default.createElement(b.default,S)),n.default.createElement("div",{className:k},n.default.createElement(b.default,C)))))}}},16730:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(93873);function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]},{id:"effects",title:(0,r.t)("Effects"),label:(0,r.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",tabs:[{id:"entrance",label:(0,r.t)("Entrance"),options:[{id:"animation",type:"animation-dev",config:{types:n.tabEffects}}]}]}]}]}]}},26340:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Tabs");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},41165:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleTabs:function(){return n},styleAnimation:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-tabs__nav .brz-tabs__nav--item, .brz && > .brz-tabs__content > .brz-tabs__items > .brz-tabs__nav--mobile .brz-tabs__nav--button":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2FontWeight","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav.brz-tabs__nav--horizontal":{standart:["cssStyleElementTabsNavAlign"]},".brz && > .brz-tabs__nav.brz-tabs__nav--horizontal.brz-tabs__nav--style-2":{standart:["cssStyleElementTabsAfterSpacing"]},".brz && > .brz-tabs__nav.brz-tabs__nav--vertical.brz-tabs__nav--style-2":{standart:["cssStyleElementTabsAfterSpacingVertical"]},".brz && > .brz-tabs__content > .brz-tabs__items:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleElementTabsContentBgColor","cssStyleElementTabsContentBorder","cssStyleElementTabsContentShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav .brz-tabs__nav--item:not(.brz-tabs__nav--active) .brz-tabs__nav--button:hover":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav .brz-tabs__nav--item.brz-tabs__nav--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsActiveColor","cssStyleElementTabsActiveBgColor","cssStyleElementTabsActiveShadow"]},".brz && > .brz-tabs__nav .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnIconPosition","cssStyleElementTabsBtnIconJustifyContent"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__content .brz-tabs__nav--button .brz-icon-svg":{standart:["cssStyleElementTabsBtnSpacing","cssStyleSizeFontSizeIcon","cssStyleSizeMinWidthIcon"]},".brz && > .brz-tabs__content .brz-tabs__nav--button":{standart:["cssStyleElementTabsBtnIconPosition","cssStyleElementTabsBtnIconJustifyContent"]},".brz && > .brz-tabs__nav--style-1 .brz-tabs__nav--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsActiveColor","cssStyleElementTabsActiveBgColor","cssStyleElementTabsActiveShadow","cssStyleElementTabsActiveBorder"]},".brz && > .brz-tabs__nav--style-2 .brz-tabs__nav--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsActiveColor","cssStyleElementTabsActiveBgColor","cssStyleElementTabsActiveShadow","cssStyleElementTabsActiveBorder"]},".brz && > .brz-tabs__nav--style-3 .brz-tabs__nav--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsActiveColor"]},".brz && > .brz-tabs__content > .brz-tabs__items > .brz-tabs__nav--mobile.brz-tabs__nav--mobile--active .brz-tabs__nav--button":{standart:["cssStyleElementTabsBorderMobileWidth","cssStyleElementTabsActiveColor","cssStyleElementTabsActiveBgColor"]},".brz && > .brz-tabs__content > .brz-tabs__items > .brz-tabs__nav--mobile .brz-tabs__nav--button":{standart:["cssStyleBgColor"]},".brz && > .brz-tabs__nav .brz-tabs__nav--button .brz-icon-svg":{standart:["cssStyleElementTabsBtnSpacing","cssStyleSizeFontSizeIcon","cssStyleSizeMinWidthIcon"]},".brz && > .brz-tabs__nav--horizontal.brz-tabs__nav--style-1 .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderBottomColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--vertical.brz-tabs__nav--style-1.brz-tabs__nav--left .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderRightColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--vertical.brz-tabs__nav--style-1.brz-tabs__nav--right .brz-tabs__nav--active .brz-tabs__nav--button:hover":{standart:["cssStyleElementTabsBtnActiveBorderLeftColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--horizontal .brz-tabs__nav--item":{standart:["cssStyleElementTabsNavAlign"]},".brz && > .brz-tabs__nav--horizontal .brz-tabs__nav--active::after:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeHeight","cssStyleElementTabsBeforeAfterRightWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--horizontal .brz-tabs__nav--active::before:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeHeight","cssStyleElementTabsBeforeAfterLeftWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--vertical .brz-tabs__nav--active::after:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeWidth","cssStyleElementTabsBeforeAfterTop"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav--vertical .brz-tabs__nav--active::before:hover":{standart:["cssStyleElementTabsActiveBeforeAfterColor","cssStyleElementTabsActiveBeforeWidth","cssStyleElementTabsBeforeAfterBottom"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-tabs__item--content":{interval:["cssStyleElementTabsEmptyContent"],standart:["cssStyleElementTabsPadding"]},".brz && > .brz-tabs__nav--horizontal .brz-tabs__nav--item:not(:last-child)":{standart:["cssStyleElementTabsSpacing"]},".brz && > .brz-tabs__nav--vertical .brz-tabs__nav--item:not(:last-child)":{standart:["cssStyleElementTabsSpacing"]},".brz &&.brz-tabs.brz-tabs--style-3":{standart:["cssStyleElementTabsBgColor","cssStylePaddingFourFields"]},".brz && > .brz-tabs__nav.brz-tabs__nav--style-3 .brz-tabs__nav--item::before:hover":{standart:["cssStyleElementTabsNavBorderBottom"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav.brz-tabs__nav--style-3 .brz-tabs__nav--item::after:hover":{standart:["cssStyleElementTabsNavBorderBottom"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && > .brz-tabs__nav.brz-tabs__nav--style-3 .brz-tabs__nav--active .brz-tabs__nav--button:before":{standart:["cssStyleElementTabsNavStyle3Before"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},45264:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("bgColorHex"),s("bgColorPalette")),{hex:d}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette")),u="on"===s("verticalMode"),p=s("navStyle");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-tabs",title:(0,n.t)("Tabs")},position:60,devices:"desktop",options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,n.t)("Tab"),position:10,options:[{id:"verticalMode",label:(0,n.t)("Orientation"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"on",icon:"nc-vertical-items"},{value:"off",icon:"nc-horizontal-items"}]},{id:"navStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:"off"===s("verticalMode")?[{value:"style-1",icon:"nc-tabs-style-2"},{value:"style-2",icon:"nc-tabs-style-1"},{value:"style-3",icon:"nc-tabs-style-5"}]:[{value:"style-1",icon:"nc-tabs-style-4"},{value:"style-2",icon:"nc-tabs-style-3"},{value:"style-3",icon:"nc-tabs-style-6"}]},{id:"action",label:(0,n.t)("Activate Tab"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("On Click"),value:"click"},{title:(0,n.t)("On Hover"),value:"hover"}]},{id:"spacingAfter",type:"slider-dev",label:(0,n.t)("Content Gap"),disabled:"style-2"!==p,devices:"desktop",config:{min:0,max:100}},{id:"spacing",type:"slider-dev",label:(0,n.t)("Spacing"),devices:"desktop",config:{min:0,max:100}}]},{id:"currentShortcodeIcon",label:(0,n.t)("Icon"),options:[{id:"iconPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",choices:[{value:"left",icon:"nc-align-left"},{value:"top",icon:"nc-align-top"},{value:"right",icon:"nc-align-right"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"groupIconSizesPicker",type:"group-dev",options:[{id:"iconSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"iconCustomSize",type:"slider-dev",disabled:"custom"!==s("iconSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"iconSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:s("bgColorOpacity")>0?(0,r.hexToRgba)(c,s("bgColorOpacity")):(0,r.hexToRgba)(d,s("colorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"bg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",devices:"desktop",disabled:u,position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"},{icon:"nc-text-align-justify",title:(0,n.t)("Align"),value:"justify"}]},{id:"verticalAlign",type:"toggle-dev",devices:"desktop",position:90,disabled:!u,choices:[{icon:"nc-hrz-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-hrz-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",roles:["admin"],position:110,title:(0,n.t)("Settings"),icon:"nc-cog"}]}},6867:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({key:e,v:t,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("contentBgColorHex"),s("contentBgColorPalette"));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("contentBgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"contentBg",label:(0,n.t)("Bg"),options:[{id:"contentBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"contentBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"contentBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0}]}},51915:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});const r=m(o(60042)),n=m(o(27378)),i=o(66848),a=o(73948),l=m(o(67439)),s=m(o(63692)),c=o(94220),d=m(o(30303)),u=m(o(18636)),p=o(44901),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(30258));function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}class g extends s.default{static get componentId(){return"TimelineTab"}static defaultValue=d.default;handleLabelChange=e=>{this.patchValue({labelText:e})};renderForEdit(e,t,o){const{customClassName:s,labelText:d,name:m,type:y}=e,{verticalMode:g,timelineStyle:h,toolbarExtendLabel:b,meta:v}=this.props,S=this.makeSubcomponentProps({className:"brz-timeline__content brz-d-xs-flex brz-flex-xs-column",bindWithKey:"items",itemProps:{meta:v}}),w=(0,r.default)("brz-timeline__tab",`brz-timeline__tab--${h}`,"on"===g?"brz-timeline__tab--vertical":"brz-timeline__tab--horizontal",s,(0,c.css)(this.getComponentId(),this.getId(),(0,p.style)(e,t,o)));return n.default.createElement("div",{className:w},n.default.createElement("div",{className:"brz-timeline__nav--title"},n.default.createElement(l.default,b,n.default.createElement(i.TextEditor,{value:d,onChange:this.handleLabelChange}))),n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(f),n.default.createElement("div",{className:"brz-timeline__nav--icon"},n.default.createElement(a.ThemeIcon,{name:m,type:y}))),n.default.createElement(u.default,S))}}},18636:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});const r=p(o(27378)),n=p(o(10787)),i=p(o(49127)),a=p(o(36154)),l=o(39552),s=p(o(24072)),c=o(64985),d=o(67439),u=p(o(20013));function p(e){return e&&e.__esModule?e:{default:e}}class f extends n.default{static get componentId(){return"TimelineTab.Items"}static defaultProps={meta:{}};handleSortableAcceptElements=e=>{const t=this.props.meta;if(t.row&&t.row.isInner){if("column"===e.elementType||"row"===e.elementType)return!1;if("addable"===e.elementType){const t=e.elementNode.getAttribute("data-sortable-subtype");return"row"!==t&&"columns"!==t}}else if("row"===e.elementType||"column"===e.elementType)return null===e.elementNode.querySelector("[data-sortable-type=row][data-sortable-element=true]");return!0};getItemProps(e,t,o){const r={getItems:()=>[{id:"duplicate",type:"button",title:(0,c.t)("Duplicate"),icon:"nc-duplicate",devices:"desktop",position:200,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",title:(0,c.t)("Delete"),icon:"nc-trash",devices:"desktop",position:210,onChange:()=>{(0,d.hideToolbar)(),this.removeItem(t)}}]};return{...super.getItemProps(e,t,o),toolbarExtend:this.makeToolbarPropsFromConfig2(r)}}renderItemsContainer(e){const{className:t}=this.props;return 0===e.length?r.default.createElement("div",{className:t},r.default.createElement(u.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements})):r.default.createElement(i.default,{path:this.getId(),type:"column",acceptElements:this.handleSortableAcceptElements},r.default.createElement("div",{className:t},e))}renderItemWrapper(e,t,o){const n=(0,a.default)(o);return r.default.createElement(l.ContextMenuExtend,{key:t,...this.makeContextMenuProps(n)},r.default.createElement(s.default,{shortcutsTypes:["duplicate","copy","paste","pasteStyles","delete","horizontalAlign","showSidebarStyling","showSidebarAdvanced"],id:t,onKeyDown:this.handleKeyDown},e))}}},44901:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-timeline__nav--icon":{standart:["cssStyleColor","cssStyleBgColor","cssStyleBorder"]},".brz && .brz-timeline__content":{standart:["cssStyleBgColor","cssStyleBoxShadow","cssStyleBorder"]},".brz && .brz-timeline__content:before":{standart:["cssStyleBgColor","cssStyleBorder"]}}})}},30258:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=e=>{let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("bgColorHex"),l("bgColorPalette")),{hex:c}=(0,a.getOptionColorHexByPalette)(l("colorHex"),l("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-timeline",title:(0,n.t)("Timeline")},position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTab",label:(0,n.t)("Icon"),position:60,options:[{id:"",label:(0,n.t)("Icon"),type:"iconSetter-dev",devices:"desktop"}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:l("bgColorOpacity")>0?(0,r.hexToRgba)(s,l("bgColorOpacity")):(0,r.hexToRgba)(c,l("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"color",type:"tabs-dev",tabs:[{id:"bg",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev"}]},{id:"icon",label:(0,n.t)("Icon"),options:[{id:"color",type:"colorPicker-dev"}]},{id:"border",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev"}]},{id:"shadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev"}]}]}]}]}},56860:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=C(o(60042)),n=C(o(27378)),i=C(o(10301)),a=C(o(36275)),l=C(o(63692)),s=o(94220),c=o(89787),d=o(69321),u=_(o(4645)),p=o(66559),f=o(68934),m=o(86022),y=C(o(92988)),g=C(o(44341)),h=_(o(42869)),b=_(o(41204)),v=_(o(88205)),S=o(52289),w=_(o(61313)),x=_(o(82479)),P=_(o(84469));function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class k extends l.default{static get componentId(){return"Timeline"}static defaultValue=y.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(P,v,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.getComponentId()}Parent`});this.props.extendParentToolbar(e)}getWidthWithW(e){const{v:t,w:o,wNoSpacing:r,device:n}=e,i=e=>(0,d.defaultValueValue)({v:t,key:e,device:n,state:"normal"}),a=i("tabsCount"),l="on"===i("verticalMode"),s=u.read(i("width"))??350,p="px"===i("widthSuffix"),m=(0,f.styleMarginType)({v:t,device:n,state:"normal"}),y=(0,c.getMargin)({w:o,v:t,device:n,type:m});return l?p?{v:t,device:n,w:s+y,wNoSpacing:s}:{v:t,w:o,wNoSpacing:r,device:n,width:s}:{v:t,device:n,w:o/a,wNoSpacing:r/a}}getMeta(e){const{meta:t}=this.props,{w:o,wNoSpacing:r}=(0,c.getContainerW)(this.getWidthWithW({v:e,w:t.desktopW??0,wNoSpacing:t.desktopWNoSpacing??0,device:p.DESKTOP})),{w:n,wNoSpacing:a}=(0,c.getContainerW)(this.getWidthWithW({v:e,w:t.tabletW??0,wNoSpacing:t.tabletWNoSpacing??0,device:p.TABLET})),{w:l,wNoSpacing:s}=(0,c.getContainerW)(this.getWidthWithW({v:e,w:t.mobileW??0,wNoSpacing:t.mobileWNoSpacing??0,device:p.MOBILE}));return i.default.extend({},t,{desktopW:o,desktopWNoSpacing:r,tabletW:n,tabletWNoSpacing:a,mobileW:l,mobileWNoSpacing:s})}renderForEdit(e,t,o){const{verticalMode:i,timelineStyle:l,customCSS:c}=e,d=(0,r.default)("brz-timeline__tabs",`brz-timeline__tabs--${l}`,"on"===i?"brz-timeline__tabs--vertical":"brz-timeline__tabs--horizontal",(0,s.css)(this.getComponentId(),this.getId(),(0,S.style)(e,t,o))),u=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{verticalMode:i,timelineStyle:l,meta:this.getMeta(e),toolbarExtendLabel:this.makeToolbarPropsFromConfig2(x,b,{allowExtend:!1})},toolbarExtend:this.makeToolbarPropsFromConfig2(w,h,{allowExtend:!1})});return n.default.createElement(a.default,{selectorName:this.getId(),css:c},n.default.createElement(m.Wrapper,this.makeWrapperProps({className:d}),n.default.createElement(g.default,u)))}}},44341:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(10787))&&n.__esModule?n:{default:n};var n;const i=o(64985),a=o(67439);class l extends r.default{static get componentId(){return"Timeline.Items"}static defaultProps={className:"",style:{},meta:{},name:"",type:""};getItemProps(e,t,o){const r={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"off"==this.props.itemProps.verticalMode?"horizontal":"vertical",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",icon:"nc-duplicate",title:(0,i.t)("Duplicate"),devices:"desktop",position:210,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",icon:"nc-trash",title:(0,i.t)("Delete"),devices:"desktop",position:220,disabled:1===o.length,onChange:()=>{(0,a.hideToolbar)(),this.removeItem(t)}}]};return{...super.getItemProps(e,t,o),toolbarExtend:this.makeToolbarPropsFromConfig2(r)}}}},42869:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Timeline Items");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",devices:"desktop",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50}]}]}]}},41204:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Timeline Labels");function n(){return[]}},88205:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Timeline");function n(){return[]}},52289:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleDisplayFlex","cssStyleElementTimelineTabs","cssStyleElementTimelineTabsHorizontalStyle3","cssStyleElementTimelineHorizontalSpaceBetween"],interval:["cssStyleElementTimelineHorizontalStyle3GridTemplateColumns","cssStyleElementTimelineHorizontalStyle3GridTemplateRows"]},".brz && .brz-timeline__nav--title":{standart:["cssStyleLabelColor","cssStyleElementTimelineNavTitleVisible","cssStyleElementTimelineNavTitleWidth","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]},".brz && .brz-timeline__nav--icon":{standart:["cssStyleElementTimelineIconSize","cssStyleBorder","cssStyleElementTimelinePaddingForIcon","cssStyleBorderRadiusType","cssStyleElementTimelineIconWidth","cssStyleElementTimelineIconHeight","cssStyleElementTimelineTabsVerticalNavIcon"]},".brz && .brz-timeline__content":{standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleBorder","cssStyleSizeMinWidth","cssStyleSizeWidth","cssStyleElementTimelineTabsVerticalContent"]},".brz && .brz-timeline__tab":{standart:["cssStyleElementTimelineTab","cssStyleElementTimelineVerticalTab","cssStyleElementTimelineCustomTabWidth","cssStyleElementTimelineVerticalPosition"],interval:["cssStyleElementTimelineHoziontalStyle3TabStyles"]},".brz && .brz-timeline__tab:nth-child(odd)":{standart:["cssStyleElementTimelineVerticalCustomTabPositionOdd","cssStyleElementTimelineTabHorizontalStyle3Odd"],interval:["cssStyleElementTimelineHoziontalStyle3TabStylesOdd"]},".brz && .brz-timeline__tab:nth-child(even)":{standart:["cssStyleElementTimelineTabCustomStyle","cssStyleElementTimelineVerticalCustomTabPosition"],interval:["cssStyleElementTimelineHoziontalStyle3TabStylesEven"]},".brz && .brz-timeline__tab:last-child":{standart:["cssStyleElementTimelineVerticalLastTab"]},".brz && .brz-timeline__tab:after":{standart:["cssStyleElementTimelineLineTop","cssStyleElementTimelineLineWidthHeightAfter"]},".brz && .brz-timeline__tab:nth-child(even):after":{standart:["cssStyleElementTimelineCustomLineTop","cssStyleElementTimelineVerticalCustomPosition"]},".brz && .brz-timeline__tab:nth-child(odd):after":{standart:["cssStyleElementTimelineCustomLineOdd"]},".brz && .brz-timeline__tab:before":{standart:["cssStyleElementTimelineBeforeDisplay","cssStyleElementTimelineLineWidthHeightBefore","cssStyleElementTimelineVerticalLinePosition"]},".brz && .brz-timeline__tab:nth-child(even):before":{standart:["cssStyleElementTimelineVerticalCustomPosition"]},".brz && .brz-timeline__tab:after, && .brz-timeline__tab:before":{standart:["cssStyleElementTimelineLineBgColor"]},".brz && .brz-timeline__tab .brz-timeline__content":{standart:["cssStyleElementTimelineContentSpacing","cssStyleSizeMinWidth","cssStyleSizeWidth"]},".brz && .brz-timeline__tab:nth-child(even) .brz-timeline__content":{standart:["cssStyleElementTimelineCustomContentSpacing"]},".brz && .brz-timeline__tab .brz-timeline__content:before":{interval:["cssStyleElementTimelineTabContentBefore","cssStyleElementTimelineTabContentArrowColor"]},".brz && .brz-timeline__tab:nth-child(even) > .brz-timeline__content:before":{interval:["cssStyleElementTimelineVerticalStyle3ArrowPosition","cssStyleElementTimelineTabContentArrowCustomColor"]},".brz && .brz-timeline__tab:nth-child(odd) > .brz-timeline__content:before":{interval:["cssStyleElementTimelineContentBeforeStyle3","cssStyleElementTimelineTabContentArrowCustomColor1"]},".brz && .brz-timeline__tabs--horizontal.brz-timeline__tabs--style-2":{standart:["cssStyleDisplayFlex"]},".brz && .brz-timeline__tab:first-child:before":{standart:["cssStyleElementTimelineVerticalTabBeforeNone"]},".brz && .brz-timeline__tab:nth-child(even):last-child:after":{standart:["cssStyleElementTimelineVerticalTabBeforeStyle3"]},".brz && .brz-timeline__tab .brz-timeline__nav--title":{standart:["cssStyleElementTimelineNavTitleSpacing"]},".brz && .brz-timeline__tab:nth-child(even) > .brz-timeline__nav--title":{standart:["cssStyleElementTimelineNavTitleStyle3"]}}})}},61313:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321),i=e=>{let{v:t,device:o,state:i}=e;const a=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:i}),l="off"===a("verticalMode");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-timeline",title:(0,r.t)("Timeline")},position:70,options:[{id:"currentShortcodeTabs",className:"",type:"tabs-dev",tabs:[{id:"currentShortcodeTimeline",label:(0,r.t)("Timeline"),position:40,options:[{id:"verticalMode",label:(0,r.t)("Orientation"),type:"radioGroup-dev",choices:[{value:"on",icon:"nc-vertical-items"},{value:"off",icon:"nc-horizontal-items"}]},{id:"timelineStyle",label:(0,r.t)("Style"),type:"radioGroup-dev",choices:[...l?[{value:"style-1",icon:"nc-timeline-style-2"},{value:"style-2",icon:"nc-timeline-style-1"},{value:"style-3",icon:"nc-timeline-style-3"}]:[{value:"style-1",icon:"nc-timeline-style-4"},{value:"style-2",icon:"nc-timeline-style-5"},{value:"style-3",icon:"nc-timeline-style-6"}]]},{id:"enableText",label:(0,r.t)("Titles"),type:"switch-dev",devices:"desktop"},{id:"tabsCount",label:(0,r.t)("Columns"),type:"slider-dev",disabled:!l,config:{min:1,max:6}},{id:"spacing",label:l?(0,r.t)("V. Space"):(0,r.t)("H. Space"),type:"slider-dev",config:{min:0,max:100}},{id:"verticalSpacing",label:(0,r.t)("V. Space"),disabled:l,type:"slider-dev",config:{min:0,max:200}},{id:"horizontalSpacing",disabled:!l,label:(0,r.t)("H. Space"),type:"slider-dev",config:{min:0,max:200}}]},{id:"currentShortcodeTab",label:(0,r.t)("Icon"),position:60,options:[{id:"groupSize",type:"group-dev",options:[{id:"size",label:(0,r.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"customSize",type:"slider-dev",disabled:"custom"!==a("size"),config:{min:14,max:180,units:[{title:"px",value:"px"}]}}]}]},{id:"iconBackground",label:(0,r.t)("Background"),position:80,options:[{id:"groupBorderRadius",type:"group-dev",options:[{id:"borderRadiusType",label:(0,r.t)("Corner"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"borderRadius",type:"slider-dev",devices:"desktop",disabled:"custom"!==a("borderRadiusType"),config:{min:0,max:300,units:[{title:"px",value:"px"}]}}]},{id:"iconPadding",label:(0,r.t)("Size"),type:"slider-dev",config:{min:0,max:180,units:[{title:"px",value:"px"}]}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors")},devices:"desktop",position:90,options:[{id:"color",type:"tabs-dev",tabs:[{id:"lineBorder",label:(0,r.t)("Line"),options:[{id:"lineBorder",type:"border-dev",config:{width:["grouped"]}}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:0,max:1e3,units:[{value:"px",title:"px"}]}},{id:"styles",type:"sidebarTabsButton-dev",devices:"desktop",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},82479:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=e=>{let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({key:e,v:t,device:o}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("labelBgColorHex"),l("labelBgColorPalette")),{hex:c}=(0,a.getOptionColorHexByPalette)(l("labelColorHex"),l("labelColorPalette"));return[{id:"toolbarTypographyLabel",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColorLabel",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:l("bgColorOpacity")>0?(0,r.hexToRgba)(s,l("labelBgColorOpacity")):(0,r.hexToRgba)(c,l("labelColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"labelColor",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,n.t)("Settings")},options:[{id:"textSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:-100,max:100,units:[{value:"px",title:"px"}]}}]}]}},84469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}});const o=()=>[{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]}]},16361:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return O}}),o(73709);const r=T(o(60042)),n=T(o(27378)),i=T(o(27998)),a=o(84989),l=T(o(17882)),s=T(o(36275)),c=T(o(21107)),d=o(73948),u=T(o(67439)),p=T(o(63692)),f=o(86022),m=T(o(22546)),y=o(62762),g=o(94220),h=o(9644),b=o(8704),v=T(o(12947)),S=k(o(5174)),w=o(62798),x=k(o(81276)),P=k(o(87477)),C=o(71963);function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}function k(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const M=(e,t,o,r,i)=>n.default.createElement(n.default.Fragment,null,"on"===e&&n.default.createElement("span",{className:"brz-span",title:r.name},"full"===o?r.name:r.code),"on"===t&&i&&n.default.createElement("img",{className:"brz-translation__flag",src:(0,C.getFlagUrl)(i,r.code)}));class O extends p.default{static get componentId(){return"Translation"}static defaultValue=v.default;content=n.default.createRef();state={isOpen:!1};handleOutside=()=>{this.state.isOpen&&this.setState({isOpen:!1})};handleOpen=()=>{this.setState((e=>{let{isOpen:t}=e;return{isOpen:!t}}),this.forceUpdate)};renderDropdown(e,t,o){const l=this.content.current,{nameDisplay:s,showName:d,showFlags:p}=e,f=m.default.getAll(),h=(0,y.isCloud)(f)&&(0,y.isCMS)(f)?f.urls.flags:"",b=0!==f.availableTranslations.length?f.availableTranslations:[{name:"French",code:"fr"},{name:"Italian",code:"it"}];if(l){const f=(0,r.default)("brz-portal-translation__select",{"brz-translation__code":"code"===s},(0,g.css)(`${this.getComponentId()}-dropdown`,`${this.getId()}-dropdown`,(0,w.styleDropdown)(e,t,o)));return n.default.createElement(c.default,{node:l.ownerDocument.body,className:f},n.default.createElement(u.default,this.makeToolbarPropsFromConfig2(P),n.default.createElement(a.Popper,{referenceElement:l,placement:"bottom-start",modifiers:[{name:"sameWidth",enabled:!0,fn:e=>{let{state:t}=e;t.styles.popper.width=`${t.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]},(e=>{let{ref:t,style:o}=e;return n.default.createElement("div",{ref:t,className:"brz-translation__select-list",style:o},n.default.createElement(i.default,{autoHeight:!0},b.map(((e,t)=>n.default.createElement("div",{key:t,className:"brz-translation__select-item"},M(d,p,s,e,h))))))}))))}return null}renderForEdit(e,t,o){const{isOpen:i}=this.state,{customCSS:a,nameDisplay:c,showName:p,showFlags:h}=e,b=(0,r.default)("brz-translation",{"brz-translation__code":"code"===c},(0,g.css)(`${this.getComponentId()}-current`,`${this.getId()}-current`,(0,w.style)(e,t,o))),v=m.default.getAll(),P=(0,y.isCloud)(v)&&(0,y.isCMS)(v)?v.urls.flags:"";return n.default.createElement(n.default.Fragment,null,n.default.createElement(l.default,{exceptions:[".brz-portal-translation__select",".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-translation"],onClickOutside:this.handleOutside},n.default.createElement(u.default,this.makeToolbarPropsFromConfig2(x,S),n.default.createElement(s.default,{selectorName:this.getId(),css:a},n.default.createElement(f.Wrapper,this.makeWrapperProps({className:b,ref:this.content,onClick:this.handleOpen}),M(p,h,c,{name:"English",code:"en"},P),n.default.createElement(d.ThemeIcon,{className:"brz-translation__arrow",name:"triangle-down-20",type:"glyph"}))))),i&&this.renderDropdown(e,t,o))}renderForView(e,t,o){const{showFlags:i,showName:a,nameDisplay:l,customCSS:c}=e,d=(0,r.default)("brz-translation",{"brz-translation__code":"code"===l},(0,g.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,w.style)(e,t,o))),u=(0,h.makePlaceholder)({content:"{{translation_switcher}}",attr:{namedisplay:l}});return n.default.createElement(s.default,{selectorName:this.getId(),css:c},n.default.createElement(f.Wrapper,this.makeWrapperProps({className:d,attributes:{"data-showflags":i,"data-showname":a}}),n.default.createElement(b.DynamicContentHelper,{placeholder:u,tagName:"div",props:{className:"brz-translation__dc h-full"}})))}}},5174:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},62798:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{style:function(){return n},styleDropdown:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontWeight","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing","cssStyleColor","cssStyleBgColor","cssStyleBorder","cssStyleBoxShadow","cssStyleSizeWidth","cssStyleSizeHeight","cssStyleElementTranslationAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-span":{standart:["cssStyleElementTranslationTextSpacing"]},".brz && .brz-translation__flag":{standart:["cssStyleElementTranslationFlagSize","cssStyleElementTranslationFlagSpacing"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-translation__select-list:hover":{standart:["cssStyleElementTranslationBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-translation__select-list .brz-translation__select-item:hover":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontWeight","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2LetterSpacing","cssStyleElementTranslationColor","cssStyleElementTranslationBgColor","cssStyleElementTranslationBorder","cssStyleSizeHeight","cssStyleElementTranslationAlign"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-translation__select-list .brz-translation__select-item .brz-span":{standart:["cssStyleElementTranslationTextSpacing"]},".brz && .brz-translation__select-list .brz-translation__select-item .brz-translation__flag":{standart:["cssStyleElementTranslationFlagSize","cssStyleElementTranslationFlagSpacing"]}}})}},81276:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",devices:"desktop",config:{icon:"nc-multi-languages",title:(0,n.t)("Translation")},position:10,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementLanguages",label:(0,n.t)("Languages"),options:[{id:"showName",label:(0,n.t)("Name"),type:"switch-dev",devices:"desktop"},{id:"nameDisplay",label:(0,n.t)("Display"),type:"select-dev",devices:"desktop",disabled:"off"===s("showName"),choices:[{value:"full",title:(0,n.t)("Full Name")},{value:"code",title:(0,n.t)("Country Code")}]},{id:"textSpacing",label:(0,n.t)("Spacing"),disabled:"off"===s("showName"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementFlag",label:(0,n.t)("Flag"),options:[{id:"showFlags",label:(0,n.t)("Flags"),type:"switch-dev",devices:"desktop"},{id:"groupSettings",type:"group-dev",disabled:"off"===s("showFlags"),options:[{id:"flagSize",label:(0,n.t)("Size"),type:"radioGroup-dev",choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}]},{id:"flagCustomSize",type:"slider-dev",disabled:"custom"!==s("flagSize"),config:{min:8,max:50,units:[{title:"px",value:"px"}]}}]},{id:"flagSpacing",label:(0,n.t)("Spacing"),disabled:"off"===s("showFlags"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:20,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},devices:"desktop",position:30,options:[{id:"color",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"boxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,n.t)("Settings")},position:50,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:0,max:"px"===s("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"height",label:(0,n.t)("Height"),type:"slider-dev",config:{min:0,max:500,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"col-1",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"col-2",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},87477:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("selectColorHex"),s("selectColorPalette"));return[{id:"toolbarColorSelect",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("selectColorOpacity"))}}},options:[{id:"color",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"selectColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBackground",label:(0,n.t)("Bg"),options:[{id:"selectBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"selectBorder",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"boxShadow",label:(0,n.t)("Shadow"),options:[{id:"selectBoxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"selectHorizontalAlign",type:"toggle-dev",choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0,choices:[]},{id:"duplicate",type:"button",disabled:!0},{id:"remove",type:"button",disabled:!0}]}},71963:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getFlagUrl",{enumerable:!0,get:function(){return o}});const o=(e,t)=>`${e}/${t}.svg`},8587:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=o(42162),n=w(o(60042)),i=w(o(27378)),a=w(o(36042)),l=w(o(36275)),s=w(o(67439)),c=w(o(63692)),d=o(97045),u=o(92213),p=o(94220),f=o(69321),m=o(66559),y=o(6085),g=o(86022),h=w(o(99993)),b=P(o(39920)),v=o(63731),S=P(o(3210));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class C extends c.default{static get componentId(){return"Twitter"}static defaultValue=h.default;static experimentalDynamicContent=!0;dvv=e=>{const t=this.getValue(),o=(0,d.deviceModeSelector)((0,u.getStore)().getState());return(0,f.defaultValueValue)({v:t,key:e,device:o})};isUnMounted=!1;currentDeviceMode=m.DESKTOP;componentWillUnmount(){this.isUnMounted=!0}handleChange=()=>{const e=(0,u.getStore)().getState(),t=(0,d.deviceModeSelector)(e);this.isUnMounted||this.currentDeviceMode===t||(this.forceUpdate(),this.currentDeviceMode=t)};renderEditorByType(e){const{type:t,name:o,height:n,theme:a,buttonSize:l,buttonShowCount:s,buttonShowScreenName:c}=e,d=o.replace(/^@/,"");switch(t){case"embed":return i.default.createElement(r.TwitterEmbedEditor,{name:d,height:n,theme:a});case"followButton":return i.default.createElement(r.TwitterFollowEditor,{name:d,size:l,showCount:s,showScreenName:c});case"mentionButton":return i.default.createElement(r.TwitterMentionEditor,{name:d,size:l})}}renderPreviewByType(e){const{type:t,name:o,height:n,theme:a,buttonSize:l,buttonShowCount:s,buttonShowScreenName:c,tweet:d}=e,u=o.replace(/^@/,"");switch(t){case"embed":return i.default.createElement(r.TwitterEmbedPreview,{name:u,height:n,theme:a});case"followButton":return i.default.createElement(r.TwitterFollowPreview,{name:u,size:l,showCount:s,showScreenName:c});case"mentionButton":return i.default.createElement(r.TwitterMentionPreview,{name:u,size:l,tweet:d})}}renderForEdit(e,t,o){const{twitterType:r,customCSS:c,twitter:d}=e,u="embed";let f;f=d===u?u:r!==u?r:"followButton";const m=(0,n.default)("brz-twitter",{"brz-twitter__embed":"embed"===d},(0,p.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,v.style)(e,t,o))),y={name:e.twitterUsername.trim(),type:f,height:Number(this.dvv("height")),theme:"dark"===e.twitterTheme?"dark":"light",buttonSize:"large"===e.buttonLarge?"large":"small",buttonShowCount:"on"===e.buttonShowCount,buttonShowScreenName:"on"===e.buttonShowScreenName};return i.default.createElement(s.default,this.makeToolbarPropsFromConfig2(S,b),i.default.createElement(l.default,{selectorName:this.getId(),css:c},i.default.createElement(g.Wrapper,this.makeWrapperProps({className:m}),this.renderEditorByType(y),i.default.createElement(a.default,{onResize:this.handleChange}))))}renderForView(e,t,o){const{twitterType:r,customCSS:a,height:s,tabletHeight:c,mobileHeight:d,twitter:u}=e,f="embed";let m;m=u===f?f:r!==f?r:"followButton";const h=(0,n.default)("brz-twitter",`brz-twitter__${m}`,(0,p.css)(`${this.getComponentId()}`,`${this.getId()}`,(0,v.style)(e,o,t))),b={name:e.twitterUsername.trim(),type:m,height:Number(this.dvv("height")),theme:"dark"===e.twitterTheme?"dark":"light",buttonSize:"large"===e.buttonLarge?"large":"small",buttonShowCount:"on"===e.buttonShowCount,buttonShowScreenName:"on"===e.buttonShowScreenName,tweet:e.tweet},S={"data-type":r,"data-heights":(0,y.encodeToString)({desktop:s,tablet:c??s,mobile:d??s})};return i.default.createElement(l.default,{selectorName:this.getId(),css:a},i.default.createElement(g.Wrapper,{...this.makeWrapperProps({className:h}),attributes:S},this.renderPreviewByType(b)))}}const T=C},39920:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Twitter"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},63731:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&.brz-twitter__embed:hover":{standart:["cssStyleSizeWidth","cssStyleSizeHeight"]}}})}},3210:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81263),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o,state:l,context:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:l}),d=c("twitter"),u=c("twitterType"),p="embed"===u,f=(0,a.getDynamicContentOption)({options:s.dynamicContent.config,type:r.DCTypes.richText}),m="embed"===d?[{title:(0,n.t)("Embed"),value:"embed"}]:[{title:(0,n.t)("Follow"),value:"followButton"},{title:(0,n.t)("Mention"),value:"mentionButton"}];return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-twitter",title:(0,n.t)("Twitter")},devices:"desktop",position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Twitter"),options:[{id:"twitterUsername",label:(0,n.t)("Username"),type:"inputText-dev",devices:"desktop",placeholder:"username",population:f},{id:"twitter",label:(0,n.t)("Twitter"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Embed"),value:"embed"},{title:(0,n.t)("Button"),value:"button"}]},{id:"twitterType",label:(0,n.t)("Type"),type:"select-dev",devices:"desktop",choices:m,disabled:m.length<=1},{id:"twitterTheme",label:(0,n.t)("Theme"),type:"select-dev",devices:"desktop",disabled:"embed"!==d,choices:[{title:(0,n.t)("Light"),value:"light"},{title:(0,n.t)("Dark"),value:"dark"}]}]},{id:"tabAdvanced",label:(0,n.t)("Advanced"),options:[{id:"buttonLarge",label:(0,n.t)("Button Size"),type:"radioGroup-dev",disabled:"followButton"!==u&&"mentionButton"!==u,position:10,choices:[{value:"small",icon:"nc-small"},{value:"large",icon:"nc-large"}]},{id:"buttonShowCount",label:(0,n.t)("Followers"),type:"switch-dev",disabled:"followButton"!==u,devices:"desktop"},{id:"buttonShowScreenName",label:(0,n.t)("Handle"),type:"switch-dev",disabled:"followButton"!==u,devices:"desktop"},{id:"tweet",label:(0,n.t)("Tweet"),type:"inputText-dev",disabled:"mentionButton"!==u,devices:"desktop",placeholder:"this is my tweet"}]}]}]},...p?[{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"height",label:(0,n.t)("Height"),type:"slider-dev",config:{min:200,max:700,inputMin:0,inputMax:9999,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]:[{id:"toolbarSettings",type:"popover-dev",devices:"all",disabled:!0}],...p?[{id:"advancedSettings",type:"advancedSettings",disabled:!0}]:[{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,n.t)("More Settings"),roles:["admin"],position:110,devices:"desktop",icon:"nc-cog"}]]}},16091:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return z}});const r=k(o(60042)),n=k(o(27378)),i=o(70634),a=k(o(31440)),l=k(o(36275)),s=o(62182),c=o(21407),d=o(10730),u=k(o(53125)),p=o(73948),f=k(o(67439)),m=k(o(63692)),y=k(o(22546)),g=o(94220),h=o(59209),b=o(16526),v=o(86845),S=o(59638),w=o(47744),x=o(86022),P=k(o(46516)),C=O(o(87879)),T=o(60623),_=O(o(52011));function k(e){return e&&e.__esModule?e:{default:e}}function M(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(M=function(e){return e?o:t})(e)}function O(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=M(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const E=["topLeft","topRight","bottomLeft","bottomRight"];class B extends m.default{static get componentId(){return"Video"}static defaultValue=P.default;state={isDragging:!1,sizePatch:null};getDBValue(){return this.state.sizePatch?(0,i.mergeDeep)(this.props.dbValue,this.state.sizePatch):this.props.dbValue}handleResizerChange=e=>{this.state.isDragging?this.setState({sizePatch:e}):this.patchValue(e)};onDragStart=()=>{this.setState({isDragging:!0})};onDragEnd=()=>{const e=this.state.sizePatch;this.setState({isDragging:!1,sizePatch:null},(()=>this.handleResizerChange(e)))};getVideoSrc(e){const{video:t,coverImageSrc:o,controls:r,start:n,end:i,loop:a,autoplay:l,privacyMode:s,suggestedVideos:c,muted:d}=e,u=(0,w.videoData)(t),p="any"===c?1:0,f="off"===d?0:1;let m=e.branding;"off"===e.branding?m=1:"on"===e.branding&&(m=0);let y=e.intro;return"off"===e.intro?y=0:"on"===e.intro&&(y=1),u?(0,w.videoUrl)(u,{autoplay:!!o||"on"===l,controls:"on"===r,branding:m,intro:y,suggestedVideo:p,start:n,end:i,loop:"on"===a,hasCover:!!o,privacyMode:s,videoMuted:f}):""}getAutoplay(e){let t=e.autoplay;return e.coverImageSrc?t="off":"off"===e.controls&&(t="on"),t}renderCover(){return n.default.createElement("div",{key:"cover",className:"brz-video__cover"},n.default.createElement("div",{className:"brz-video__cover-icon"},n.default.createElement("span",{className:"brz-span"},n.default.createElement(p.ThemeIcon,{name:"play",type:"editor"}))))}renderExternalPlayer(e){const{coverImageSrc:t,video:o,videoPopulation:r,controls:i,branding:a,intro:l,start:s,end:c,loop:d,lazyLoad:u}=e,p=this.getVideoSrc(e),f="on"===d&&c?c+1:c,m=n.default.createElement("div",{key:"url",className:"brz-video-data brz-hidden","data-src":p,"data-population":r,"data-controls":"on"===i,"data-branding":"on"===a,"data-intro":"on"===l,"data-start":s,"data-end":f,"data-loop":"on"===d,"data-autoplay":this.getAutoplay(e)});return t?[m,this.renderCover()]:r?[m,this.renderPlaceholder()]:o?[m,n.default.createElement("iframe",{loading:"on"===u?"lazy":"eager",key:"iframe",allowFullScreen:!0,className:"intrinsic-ignore brz-iframe",src:p,title:"video"})]:this.renderPlaceholder()}renderCustomPlayer(e,t,o){const{coverImageSrc:i,custom:a,start:l,end:s,controls:c,loop:d,ratio:u,type:f,video:m}=e,y=("custom"===f&&(0,h.customFileUrl)(a),(0,r.default)("brz-video-elem",(0,g.css)(`${this.constructor.componentId}-bg2`,`${this.getId()}-bg2`,(0,T.styleCustomVideo)(e,t,o)))),b=(0,r.default)("brz-video-custom-controls",(0,g.css)(`${this.constructor.componentId}-controls`,`${this.getId()}-controls`,(0,T.styleControls)(e,t,o))),v=(0,g.css)(`${this.constructor.componentId}-icon-controls`,`${this.getId()}-icon-controls`,(0,T.styleIcon)(e,t,o)),S=(0,r.default)("brz-icon-svg","brz-video-custom-play",v),w=((0,r.default)("brz-hidden","brz-icon-svg","brz-video-custom-pause",v),(0,r.default)("brz-icon-svg","brz-video-custom-mute",v)),x=((0,r.default)("brz-hidden","brz-icon-svg","brz-video-custom-unmute",v),(0,r.default)("brz-icon-svg","brz-video-custom-fullscreen-icon",v)),P=(0,r.default)("video-wrapper",`brz-image-fix-${u.replace(":","-")}`,(0,g.css)(`${this.constructor.componentId}-wrapper`,`${this.getId()}-wrapper`,(0,T.styleWrapper)(e,t,o)));let C=e.muted;"on"===this.getAutoplay(e)&&(C="on");let _=i?this.renderCover(e):this.renderPlaceholder();return n.default.createElement(n.default.Fragment,null,n.default.createElement("div",{className:P},_),n.default.createElement("div",{className:y},"on"===c&&n.default.createElement("div",{className:"brz-video-custom-video-controls"},n.default.createElement("div",{className:"brz-video-custom-play-pause-btn"},n.default.createElement(p.ThemeIcon,{className:S,name:"button-play",type:"glyph"}),!1),n.default.createElement("div",{className:b},n.default.createElement("span",{className:"brz-video-custom-current-time"},"0:00"),n.default.createElement("div",{className:"brz-video-custom-slider"},n.default.createElement("div",{className:"brz-video-custom-progress"})),n.default.createElement("span",{className:"brz-video-custom-total-time"},"0:00")),n.default.createElement("div",{className:"brz-video-custom-volume"},n.default.createElement("div",{className:"brz-video-custom-fullscreen-btn"},n.default.createElement(p.ThemeIcon,{className:x,name:"zoom-e",type:"glyph"})),n.default.createElement("div",{className:"brz-video-custom-volume-btn"},n.default.createElement(p.ThemeIcon,{className:w,name:"volume-97",type:"glyph"}),!1),n.default.createElement("div",{className:"brz-video-custom-volume-controls brz-video-custom-slider"},n.default.createElement("div",{className:"brz-video-custom-progress"})))),!1))}renderPlaceholder(){return n.default.createElement(u.default,{key:"placeholder",icon:"play"})}renderForEdit(e,t,o){const{type:i,ratio:u,controls:p,loop:m,muted:h,customCSS:w,hoverName:P}=e,k=(0,r.default)("brz-video",{"brz-custom-video":"custom"===i||"url"===i},{"brz-youtube-video":"youtube"===i},{"brz-vimeo-video":"vimeo"===i},`brz-video-${p}-controls-hidden`,(0,g.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,T.styleContent)(e,t,o))),M=(0,r.default)("video-wrapper",`brz-image-fix-${u.replace(":","-")}`,(0,g.css)(`${this.constructor.componentId}-wrapper`,`${this.getId()}-wrapper`,(0,T.styleWrapper)(e,t,o)));let O="custom"===i||"url"===i?this.renderCustomPlayer(e,t,o):n.default.createElement("div",{className:M},this.renderExternalPlayer(e));const B=(0,S.read)(P)??"none",z=(0,d.makeOptionValueToAnimation)(e),{wrapperAnimationId:I}=this.props.meta,j=(0,S.read)(I)??this.getId(),{wrapperAnimationActive:L}=this.props.meta,F=(0,v.read)(L),N=(0,b.isStory)(y.default.getAll())||"none"===B;return n.default.createElement(f.default,this.makeToolbarPropsFromConfig2(_,C),n.default.createElement(l.default,{selectorName:this.getId(),css:w},n.default.createElement(x.Wrapper,this.makeWrapperProps({className:k}),n.default.createElement(s.HoverAnimation,{animationId:j,cssKeyframe:B,options:(0,c.getHoverAnimationOptions)(z,B),isDisabledHover:F,isHidden:N},n.default.createElement(a.default,{points:E,meta:this.props.meta,value:e,onChange:this.handleResizerChange,onStart:this.onDragStart,onEnd:this.onDragEnd,restrictions:{size:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletSize:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileSize:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},n.default.createElement("div",{className:"brz-video-content","data-loop":"on"===m,"data-muted":"on"===h,"data-autoplay":this.getAutoplay(e)},O))))))}}const z=B},87879:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return u},getItems:function(){return p}});const r=o(21407),n=o(93873),i=(a=o(22546))&&a.__esModule?a:{default:a};var a;const l=o(64985),s=o(16526),c=o(69321),d=o(59638),u=(0,l.t)("Video"),p=e=>{let{v:t,state:o,device:a}=e;const u=(0,s.isStory)(i.default.getAll()),p=(0,d.read)(("hoverName",(0,c.defaultValueValue)({v:t,key:"hoverName",device:a,state:o})))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,l.t)("Styling"),label:(0,l.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,l.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,l.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,l.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,l.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,l.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,l.t)("Hover Transition"),disabled:u,devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,l.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,l.t)("Padding"),devices:"responsive",position:50}]},{id:"effects",title:(0,l.t)("Effects"),label:(0,l.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,l.t)("Entrance"),options:[]},{id:"tabHover",label:(0,l.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",disabled:u,config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(p),delay:!1}}]}]}]}]}]}},60623:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleContent:function(){return n},styleWrapper:function(){return i},styleCustomVideo:function(){return a},styleControls:function(){return l},styleIcon:function(){return s}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidthSize"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-content":{standart:["cssStyleBorder","cssStyleBoxShadow","cssStyleBorderRadius","cssStyleElementVideoBgColorPadding","cssStyleElementVideoBgGradientPadding"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-iframe, &&:hover .brz-video__cover:before":{standart:["cssStyleFilter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover.brz-custom-video video":{standart:["cssStyleFilter","cssStylePaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-iframe":{standart:["cssStylePaddingBG"]},".brz && .brz-video-content .brz-video-elem":{standart:["cssStylePaddingBG"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementVideoPaddingRatio"]},".brz &&:hover .brz-video__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition","cssStyleElementVideoBgSize","cssStyleFilter","cssStyleElementVideoCoverPaddingBG"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video__cover .brz-video__cover-icon":{standart:["cssStyleElementVideoIconFontSize","cssStyleElementVideoIconWidth","cssStyleElementVideoIconHeight","cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video__cover .brz-video__cover-icon .brz-span":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && > .brz-video-custom-video-controls > .brz-video-custom-controls > .brz-video-custom-current-time:hover":{standart:["cssStyleVideoIconControls"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && > .brz-video-custom-video-controls > .brz-video-custom-controls > .brz-video-custom-total-time:hover":{standart:["cssStyleVideoIconControls"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-custom-slider:hover:before":{standart:["cssStyleBg2Color","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-custom-slider:hover .brz-video-custom-progress":{standart:["cssStyleBg2Color"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-custom-video-controls:hover":{standart:["cssStyleVideoControlsBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}function l(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementMediaPadding","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"]}}})}function s(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleElementVideoControlsIconFontSize","cssStyleVideoIconControls"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}},52011:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return p}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81263),a=o(81405),l=o(64985),s=o(16526),c=o(69321),d=o(68256),u=o(24119),p=e=>{let{v:t,device:o,context:n}=e;const p=r.default.getAll(),f=(0,s.isStory)(p),m=Boolean(p.pro),y=e=>(0,c.defaultValueValue)({v:t,key:e,device:o}),{hex:g}=(0,d.getOptionColorHexByPalette)(y("bgColorHex"),y("bgColorPalette")),{hex:h}=(0,d.getOptionColorHexByPalette)(y("borderColorHex"),y("borderColorPalette")),b=(0,d.getDynamicContentOption)({options:n.dynamicContent.config,type:i.DCTypes.link}),v=y("type"),S=!y("coverImageSrc"),w="youtube"===v,x="vimeo"===v,P="custom"===v,C="url"===v,T="off"===y("controls"),_="on"===y("autoplay"),k=m?[{title:(0,l.t)("Custom Video"),value:"custom"}]:[];return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-play",title:(0,l.t)("Video")},position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,l.t)("Video"),options:[{id:"type",label:(0,l.t)("Type"),type:"select-dev",devices:"desktop",choices:[{title:(0,l.t)("YouTube"),value:"youtube"},{title:(0,l.t)("Vimeo"),value:"vimeo"},...k,{title:(0,l.t)("URL"),value:"url"}]},{id:"ratio",label:(0,l.t)("Ratio"),type:"select-dev",devices:"desktop",choices:[{title:"1:1",value:"1:1"},{title:"3:2",value:"3:2"},{title:"4:3",value:"4:3"},{title:"9:16",value:"9:16"},{title:"16:9",value:"16:9"},{title:"21:9",value:"21:9"}]},{id:"custom",type:"fileUpload-dev",label:(0,l.t)("File"),config:{allowedExtensions:["video/*"]},devices:"desktop",disabled:!P},{id:"video",label:(0,l.t)("Link"),type:"inputText-dev",devices:"desktop",population:b,disabled:P,placeholder:w?(0,l.t)("YouTube"):x?(0,l.t)("Vimeo"):(0,l.t)("https://"),helper:{content:C?(0,l.t)("This is .mp4 URL."):w?(0,l.t)("Use the regular video links generated by YouTube. The 'feature=share' parameter is not a valid or recognized parameter by the YouTube platform."):""}}]},{id:"tabCurrentElementPlayback",label:(0,l.t)("Playback"),options:[{id:"autoplay",label:(0,l.t)("Autoplay"),type:"switch-dev",devices:"desktop",disabled:T||!S},{id:"muted",label:(0,l.t)("Muted"),type:"switch-dev",devices:"desktop",disabled:S&&T||S&&_},{id:"loop",label:(0,l.t)("Loop"),type:"switch-dev",devices:"desktop"},{id:"suggestedVideos",label:(0,l.t)("Suggested Videos"),type:"select-dev",devices:"desktop",disabled:!w,choices:[{title:"Current Video Channel",value:"current"},{title:"Any Video",value:"any"}]},{id:"start",type:"number-dev",label:(0,l.t)("Start"),devices:"desktop",helper:{content:(0,l.t)("Specify a start time (in seconds)")},config:{size:"short",max:99999,spinner:!1}},{id:"end",type:"number-dev",label:(0,l.t)("End"),devices:"desktop",disabled:x,helper:{content:(0,l.t)("Specify an end time (in seconds)")},config:{size:"short",max:99999,spinner:!1}}]},{id:"tabCurrentElementPlayer",label:(0,l.t)("Player"),options:[{label:(0,l.t)("Cover Image"),id:"cover",type:"imageUpload-dev",devices:"desktop"},{id:"coverZoom",label:(0,l.t)("Zoom"),type:"slider-dev",devices:"desktop",disabled:S,config:{min:100,max:300,units:[{value:"%",title:"%"}]}},{id:"iconSize",label:(0,l.t)("Play"),type:"slider-dev",devices:"desktop",disabled:S,config:{min:50,max:200,inputMin:50,inputMax:200,units:[{value:"px",title:"px"}]}},{id:"groupSettings",type:"group-dev",devices:"desktop",options:[{id:"controls",label:(0,l.t)("Controls"),type:"switch-dev"},{id:"controlsIconCustomSize",type:"slider-dev",label:(0,l.t)("Size"),disabled:!P||"on"!==y("controls"),config:{min:1,max:40,units:[{title:"px",value:"px"}]}}]},{id:"branding",label:(0,l.t)("Branding"),type:"switch-dev",devices:"desktop",disabled:T||!w},{id:"intro",label:(0,l.t)("Intro"),type:"switch-dev",devices:"desktop",disabled:!x},{id:"lazyLoad",label:(0,l.t)("Lazy Load"),type:"switch-dev",devices:"desktop",disabled:!w},{id:"privacyMode",label:(0,l.t)("Privacy Mode"),type:"switch-dev",devices:"desktop",disabled:!w}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,l.t)("Typography")},position:90,disabled:!P||T,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,l.t)("Colors"),icon:{style:{backgroundColor:S?(0,a.hexToRgba)(h,y("borderColorOpacity")):(0,a.hexToRgba)(g,y("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabIcon",label:(0,l.t)("Icons"),options:[{id:"iconControlsColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:!P||T}]},{id:"tabBg",label:(0,l.t)("Bar"),options:[{id:"controlsBgColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:!P||T}]},{id:"tabBgProgress",label:(0,l.t)("Slider"),options:[{id:"bg2Color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:!P||T}]},{id:"tabPlay",label:(0,l.t)("Play"),options:[{id:"bgColor",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:S||_}]},{id:"icon",label:(0,l.t)("Icon"),options:[{id:"color",type:"colorPicker-dev",states:[u.NORMAL,u.HOVER],disabled:S||_}]},{id:"tabBackground",label:(0,l.t)("Bg"),options:[{id:"padding",type:"backgroundColor-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBorder",label:(0,l.t)("Border"),options:[{id:"border",type:"border-dev",states:[u.NORMAL,u.HOVER]}]},{id:"tabBoxShadow",label:(0,l.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[u.NORMAL,u.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,l.t)("Settings")},position:110,disabled:f,options:[{id:"size",label:(0,l.t)("Size"),position:80,type:"slider-dev",config:{min:1,max:"px"===y("sizeSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid-dev",config:{separator:!0},columns:[{id:"grid-settings",size:1,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,l.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",size:1,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,l.t)("Effects"),icon:"nc-flash"}}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,disabled:!f,icon:"nc-cog",devices:"desktop"}]}},97753:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});const r=o(70634),n=o(10301),i=(a=o(10787))&&a.__esModule?a:{default:a};var a;const l=o(67439),s=o(64985);class c extends i.default{static get componentId(){return"VideoPlaylist.Items"}static defaultProps={meta:{},onActiveChange:n.noop};getItemProps(e,t,o){const r={getItems:()=>[{id:"order",type:"order-dev",devices:"desktop",position:105,roles:["admin"],disabled:o.length<2,config:{align:"vertical",disable:0===t?"prev":t===o.length-1?"next":void 0,onChange:e=>{switch(e){case"prev":this.reorderItem(t,t-1);break;case"next":this.reorderItem(t,t+1)}}}},{id:"duplicate",type:"button",devices:"desktop",icon:"nc-duplicate",title:(0,s.t)("Duplicate"),position:225,onChange:()=>{this.cloneItem(t)}},{id:"remove",type:"button",devices:"desktop",icon:"nc-trash",title:(0,s.t)("Delete"),position:250,disabled:1===o.length,onChange:()=>{(0,l.hideToolbar)(),this.removeItem(t)}}]};return{meta:this.props.meta,active:this.props.currentIndex===t,toolbarExtend:this.makeToolbarPropsFromConfig2(r),onActiveItem:()=>{this.props.onActiveChange(t)}}}removeItem(e){const t=this.getDBValue()||[],o=(0,r.removeAt)(t,e);setTimeout((()=>{this.handleValueChange(o,{arrayOperation:"remove"})}),0)}}const d=c},74722:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=h(o(60042)),n=h(o(27378)),i=o(66848),a=h(o(36275)),l=h(o(53125)),s=h(o(67439)),c=h(o(63692)),d=o(94220),u=o(68914),p=o(61839),f=o(47744),m=h(o(69309)),y=o(47572),g=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(2292));function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}class v extends c.default{static get componentId(){return"VideoPlaylistItem"}static defaultValue=m.default;handleTextChange=e=>{this.patchValue({title:e})};handleText2Change=e=>{this.patchValue({subTitle:e})};getVideoSrc(e){const{video:t,controls:o,start:r,end:n,branding:i,intro:a,loop:l}=e,s=(0,f.videoData)(t);return s?(0,f.videoUrl)(s,{controls:"on"===o?1:0,branding:"off"===i?1:0,intro:"off"===a?0:1,loop:"off"===l?0:1,suggestedVideo:!1,start:r,end:n}):""}getImageHref(e){const{video:t}=e;switch(t&&t.includes("youtube.com")?"long":"short"){case"long":return(0,p.getUrlQueryParam)(t,"v");case"short":return t.split("/")[3];default:return""}}renderForEdit(e,t,o){const{video:c,title:p,subTitle:f,coverImageSrc:m,coverImageFileName:h,coverSizeType:b,customCSS:v}=e,{onActiveItem:S,active:w}=this.props,x=this.getVideoSrc(e),P=(0,u.getImageUrl)({uid:m,fileName:h,sizeType:b}),C=(0,r.default)("brz-video-playlist-video-item",{"brz-video-playlist-video-item__cover":e.coverImageSrc},{"brz-video-playlist-video-item--active":w},(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,y.styleContent)(e,t,o))),T=this.getImageHref(e),_=e.coverImageSrc?n.default.createElement("img",{className:"brz-img",src:P,alt:"cover"}):c?n.default.createElement("img",{className:"brz-img",src:`https://img.youtube.com/vi/${T}/hqdefault.jpg`,alt:"cover"}):n.default.createElement(l.default,{icon:"play"});return n.default.createElement(s.default,this.makeToolbarPropsFromConfig2(g),n.default.createElement(a.default,{selectorName:this.getId(),css:v},n.default.createElement("div",{className:C,"data-link":x,onClick:S},n.default.createElement("div",{className:"brz-video-playlist-video-elem"},_),n.default.createElement("div",{className:"brz-video-playlist-title-video"},n.default.createElement(i.TextEditor,{value:p,onChange:this.handleTextChange}),n.default.createElement(i.TextEditor,{value:f,onChange:this.handleText2Change})))))}}const S=v},47572:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styleContent",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:before":{standart:["cssStyleBorderRadius"]},".brz && .brz-video-content && .brz-shortcode__placeholder":{standart:["cssStyleBorderRadius"]}}})}},2292:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(69321);function i(e){let{v:t,device:o}=e;const i=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),a=i("coverImageSrc"),l=i("type"),s=a?[]:[{id:"coverZoom",type:"slider-dev",disabled:!0},{id:"iconSize",type:"slider-dev",disabled:!0}],c=a?{}:{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{}},devices:"desktop",roles:["admin"],position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabPlay",label:(0,r.t)("Play"),position:20,options:[{id:"iconBgColor",type:"colorPicker-dev",disabled:!0}]},{id:"tabIcon",label:(0,r.t)("Icon"),position:30,options:[{id:"iconColor",type:"colorPicker-dev",disabled:!0}]}]}]};return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-play",title:(0,r.t)("Video")},devices:"desktop",position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,r.t)("Video"),options:[{id:"type",label:(0,r.t)("Type"),type:"select-dev",choices:[{value:"youtube",title:"YouTube"},{value:"vimeo",title:"Vimeo"}]},{id:"video",label:(0,r.t)("Link"),type:"inputText-dev",devices:"desktop",placeholder:"youtube"===l?(0,r.t)("YouTube"):"vimeo"===l?(0,r.t)("Vimeo"):""}]},{id:"tabCurrentElementAdvanced",label:(0,r.t)("Advanced"),options:[{id:"controls",label:(0,r.t)("Controls"),type:"switch-dev",devices:"desktop",disabled:"vimeo"===l},{id:"branding",label:(0,r.t)("Branding"),type:"switch-dev",devices:"desktop",disabled:"on"!==i("controls")||"youtube"!==l},{id:"intro",label:(0,r.t)("Intro"),type:"switch-dev",devices:"desktop",disabled:"vimeo"!==l},{id:"loop",label:(0,r.t)("Loop"),type:"switch-dev",devices:"desktop"},{id:"start",type:"number-dev",label:(0,r.t)("Start"),devices:"desktop",config:{size:"short",max:99999,spinner:!1},helper:{content:(0,r.t)("Specify a start time (in seconds)")}},{id:"end",type:"number-dev",label:(0,r.t)("End"),devices:"desktop",disabled:"vimeo"===l,config:{size:"short",max:99999,spinner:!1},helper:{content:(0,r.t)("Specify an end time (in seconds)")}}]},{id:"tabCurrentElementCover",label:(0,r.t)("Cover"),options:[{label:(0,r.t)("Cover"),id:"cover",type:"imageUpload-dev",devices:"desktop"},...s]}]}]},c,{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},roles:["admin"],position:110,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog",align:"left"}}]}]}},36543:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return T}});const r=S(o(27378)),n=S(o(63692)),i=S(o(60042)),a=S(o(36275)),l=S(o(31440)),s=S(o(53125)),c=o(73948),d=o(47744),u=o(94220),p=x(o(60395)),f=x(o(46039)),m=x(o(37229)),y=x(o(29563)),g=S(o(97753)),h=o(74122),b=S(o(49013)),v=o(86022);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const P=["centerLeft","centerRight"];class C extends n.default{static get componentId(){return"VideoPlaylist"}state={currentIndex:0};static defaultValue=b.default;componentDidMount(){const e=this.makeToolbarPropsFromConfig2(m,y,{allowExtend:!1,allowExtendFromThirdParty:!0,thirdPartyExtendId:`${this.constructor.componentId}Parent`});this.props.extendParentToolbar(e)}handleValueChange(e,t){super.handleValueChange(e,t);const{items:o}=t.patch;o&&o.lengththis.patchValue(e);handleActive=e=>this.setState({currentIndex:e});handleCoverIconClick(e){e.preventDefault()}getItemValue(e){const t=e.items[this.state.currentIndex];return t?t.value:e.items[0].value}getVideoSrc(e){const t=this.getItemValue(e),{branding:o,intro:r,video:n,loop:i}=t,a=t.start,l=t.end,s=(0,d.videoData)(n);return s?(0,d.videoUrl)(s,{controls:"on"===t.controls?0:1,branding:"off"===o?1:0,intro:"off"===r?0:1,loop:"off"===i?0:1,suggestedVideo:!1,start:a,end:l}):""}renderCover(e){return r.default.createElement("div",{className:"brz-video-playlist__cover"},r.default.createElement("div",{className:"brz-video-playlist__cover-icon"},r.default.createElement("span",{className:"brz-play-button","data-video-url":e,onClick:this.handleCoverIconClick},r.default.createElement(c.ThemeIcon,{name:"play",type:"editor"}))))}renderForEdit(e,t,o){const{positionItem:n,positionThumbs:c,customCSS:d}=e,{meta:m}=this.props,{currentIndex:y}=this.state,b=this.getItemValue(e),{coverImageSrc:S}=b,w=this.getVideoSrc(e),x=(0,i.default)("brz-video-playlist",`brz-video-playlist-${n}`,`brz-video-playlist-${c}`,(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,h.styleContents)(e,t,o)),(0,u.css)(`${this.constructor.componentId}-cover`,`${this.getId()}-cover`,(0,h.styleCover)(b,t,o))),C=(0,i.default)("brz-video-playlist-col","brz-video-playlist-sidebar",(0,u.css)(`${this.constructor.componentId}-sidebar`,`${this.getId()}-sidebar`,(0,h.styleSideBar)(e,t,o))),T=this.makeSubcomponentProps({bindWithKey:"items",currentIndex:y,toolbarExtend:this.makeToolbarPropsFromConfig2(p,f,{allowExtend:!1}),meta:m}),_=S?r.default.createElement("div",{className:"brz-video-playlist-col brz-video-playlist-main brz-video-playlist-main__cover"},this.renderCover(w)):w?r.default.createElement("div",{className:"brz-video-playlist-col brz-video-playlist-main"},r.default.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative brz-pointer-events-none"},r.default.createElement("iframe",{allowFullScreen:!0,className:"brz-iframe intrinsic-ignore",src:w,title:"video-playlist"}))):r.default.createElement("div",{className:"brz-video-playlist-col brz-video-playlist-main brz-video-playlist-main__placeholder"},r.default.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},r.default.createElement(s.default,{icon:"play"})));return r.default.createElement(a.default,{selectorName:this.getId(),css:d},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:x}),r.default.createElement(l.default,{points:P,meta:m,value:e,onChange:this.handleResizerChange},r.default.createElement("div",{className:"brz-video-playlist__container brz-ow-hidden brz-p-relative"},"horizontal"===n&&_,r.default.createElement("div",{className:C},r.default.createElement(g.default,{...T,onActiveChange:this.handleActive})),"vertical"===n&&_))))}renderForView(e,t,o){const{positionItem:n,positionThumbs:l,customCSS:c}=e,d=this.getItemValue(e),{coverImageSrc:p}=d,f=this.getVideoSrc(e),m=(0,i.default)("brz-video-playlist",`brz-video-playlist-${n}`,`brz-video-playlist-${l}`,"brz-ow-hidden",(0,u.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,h.styleContents)(e,t,o)),(0,u.css)(`${this.constructor.componentId}-cover`,`${this.getId()}-cover`,(0,h.styleCover)(d,t,o))),y=(0,i.default)("brz-video-playlist-col","brz-video-playlist-sidebar",(0,u.css)(`${this.constructor.componentId}-sidebar`,`${this.getId()}-sidebar`,(0,h.styleSideBar)(e,t,o))),b=this.makeSubcomponentProps({bindWithKey:"items",currentIndex:0,meta:this.props.meta}),S=(0,i.default)("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__cover",{"brz-d-none":!p}),w=(0,i.default)("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__video",{"brz-d-none":!f||p}),x=(0,i.default)("brz-video-playlist-col","brz-video-playlist-main","brz-video-playlist-main__placeholder",{"brz-d-none":f||p}),P=r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:S},this.renderCover(f)),r.default.createElement("div",{className:w},r.default.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},r.default.createElement("iframe",{className:"brz-iframe intrinsic-ignore",allowFullScreen:!0,allow:"autoplay",src:f}))),r.default.createElement("div",{className:x},r.default.createElement("div",{className:"brz-video-playlist-main__content brz-p-relative"},r.default.createElement(s.default,{icon:"play"}))));return r.default.createElement(a.default,{selectorName:this.getId(),css:c},r.default.createElement(v.Wrapper,this.makeWrapperProps({className:m}),"horizontal"===n&&P,r.default.createElement("div",{className:y},r.default.createElement(g.default,{...b,onActiveChange:this.handleActive})),"vertical"===n&&P))}}const T=C},46039:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Playlist Items");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"margin",label:(0,r.t)("Margin"),type:"margin-dev",position:60}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[]}]}]}]}]}},29563:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Playlist"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50}]}]}]}},74122:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleContents:function(){return n},styleSideBar:function(){return i},styleCover:function(){return a}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-playlist__container":{standart:["cssStyleBorder","cssStyleBorderRadius","cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-playlist-sidebar":{standart:["cssStyleDisplayFlex"]},".brz &&:hover:before":{standart:["cssStyleBoxShadow","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-main":{standart:["cssStyleSizeWidthVideoBlock","cssStylePaddingBG"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-col.brz-video-playlist-main.brz-video-playlist-main__cover":{standart:["cssStyleElementVideoPlaylistCoverPaddingBG"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-sidebar":{standart:["cssStyleSizeWidthPixel","cssStylePaddingBG"]},".brz &&.brz-video-playlist-horizontal .brz-video-playlist-video-item":{standart:["cssStyleDisplayFlex"]},".brz &&.brz-video-playlist-vertical":{standart:[]},".brz &&.brz-video-playlist-vertical .brz-video-playlist__container":{standart:["cssStylePaddingBG"]},".brz &&.brz-video-playlist-vertical .brz-video-playlist-video-item":{standart:["cssStyleElementVideoPlaylistGridItemWidth"]},".brz && .brz-video-playlist-video-item:not(.brz-video-playlist-video-item--active):hover":{standart:["cssStyleBgColor","cssStyleElementVideoPlaylistBorderItem"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-playlist-video-item.brz-video-playlist-video-item--active":{standart:["cssStyleElementVideoPlaylistItemActiveBg","cssStyleElementVideoPlaylistBorderItemActive"]},".brz &&:hover .brz-video-playlist-video-item":{standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleFlexVerticalAlign"]},".brz && .brz-video-playlist-video-item .brz-video-playlist-title-video span:first-child":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LetterSpacing","cssStyleTypography2FontWeight","cssStyleTypography2LineHeight"]},".brz && .brz-video-playlist-video-item:not(.brz-video-playlist-video-item--active):hover .brz-video-playlist-title-video span:first-child":{standart:["cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-playlist-video-item.brz-video-playlist-video-item--active .brz-video-playlist-title-video span:first-child":{standart:["cssStyleElementVideoPlaylistItemActiveColor"]},".brz && .brz-video-playlist-video-item .brz-video-playlist-title-video span:last-child":{standart:["cssStyleElementVideoPlaylistSubTitleVideoTypography2FontFamily","cssStyleElementVideoPlaylistSubTitleVideoTypography2FontSize","cssStyleElementVideoPlaylistSubTitleVideoTypography2LineHeight","cssStyleElementVideoPlaylistSubTitleVideoTypography2FontWeight","cssStyleElementVideoPlaylistSubTitleVideoTypography2LetterSpacing"]},".brz && .brz-video-playlist-video-item:not(.brz-video-playlist-video-item--active):hover .brz-video-playlist-title-video span:last-child":{standart:["cssStyleCoverSubTitleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz && .brz-video-playlist-video-item.brz-video-playlist-video-item--active .brz-video-playlist-title-video span:last-child":{standart:["cssStyleElementVideoPlaylistItemSubtitleActiveColor"]},".brz &&:hover .brz-video-playlist-video-elem":{standart:["cssStyleElementVideoPlaylistImageSize"]},".brz &&:hover .brz-iframe, && .brz-video-playlist__cover:before, .brz && .brz-video-playlist-video-elem":{standart:["cssStyleFilter"]},".brz &&:hover .brz-video-playlist__cover .brz-video-playlist__cover-icon":{standart:["cssStyleElementVideoIconFontSize","cssStyleElementVideoIconWidth","cssStyleElementVideoIconHeight","cssStyleBgIconCoverColor","cssStyleDisplayFlex"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-playlist__cover .brz-play-button":{standart:["cssStyleCoverIconColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]},".brz &&:hover .brz-video-playlist__cover::before":{standart:["cssStyleElementVideoBgSize","cssStyleFilter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleBgColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}function a(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-video-playlist__cover":{standart:["cssStyleDisplayFlex"]},".brz &&:hover .brz-video-playlist__cover::before":{standart:["cssStyleElementVideoCoverSrc","cssStyleElementVideoCoverPosition","cssStyleFilter"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionTransform"]}}})}},60395:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-play",title:(0,n.t)("Video")},devices:"desktop",position:80,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElementCover",label:(0,n.t)("Cover"),options:[{id:"coverZoom",label:(0,n.t)("Zoom"),devices:"desktop",type:"slider-dev",config:{min:100,max:300,units:[{value:"%",title:"%"}]}},{id:"iconSize",label:(0,n.t)("Play"),type:"slider-dev",devices:"desktop",roles:["admin"],config:{min:50,max:200,inputMin:50,inputMax:200,units:[{value:"px",title:"px"}]}}]},{id:"tabCurrentElementFilter",label:(0,n.t)("Filters"),options:[{id:"",type:"filters-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"popoverTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:80,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,n.t)("Title"),options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabSubTitle",label:(0,n.t)("Sub Title"),options:[{id:"subTitle",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("colorOpacity"))}}},devices:"desktop",roles:["admin"],position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabPlay",label:(0,n.t)("Play"),position:20,options:[{id:"iconBgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabIcon",label:(0,n.t)("Icon"),position:30,options:[{id:"iconColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabVideoTitle",label:(0,n.t)("Title"),options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabVideoSubTitle",label:(0,n.t)("Sub Title"),options:[{id:"subTitleColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBgItem",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"itemBorder",type:"border-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},roles:["admin"],position:110,options:[{id:"widthImage",label:(0,n.t)("Size"),type:"slider-dev",position:10,config:{min:0,max:500,units:[{value:"px",title:"px"}]}},{id:"verticalAlign",label:(0,n.t)("Content"),type:"radioGroup-dev",devices:"desktop",disabled:"vertical"===s("positionItem"),position:10,choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]}]}]}},37229:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("borderColorHex"),s("borderColorPalette")),d=s("positionItem");return[{id:"toolbarCurrentElement",type:"popover-dev",config:{icon:"nc-play",title:(0,n.t)("Playlist")},position:10,options:[{id:"positionItem",label:(0,n.t)("Position"),type:"select-dev",devices:"desktop",choices:[{value:"horizontal",title:"Horizontal"},{value:"vertical",title:"Vertical"}]},{id:"positionThumbs",label:(0,n.t)("Thumbs"),type:"select-dev",devices:"desktop",disabled:"horizontal"===d,choices:[{value:"above",title:"Top"},{value:"under",title:"Bottom"}]},{id:"gridColumn",label:(0,n.t)("Columns"),type:"slider-dev",disabled:"horizontal"===d,config:{min:1,max:6}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("borderColorOpacity"))}}},position:90,devices:"desktop",roles:["admin"],options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",disabled:!0},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,n.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"widthSidebar",label:(0,n.t)("Sidebar"),type:"slider-dev",disabled:"vertical"===d||"mobile"===o,config:{min:200,max:1e3,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},12692:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=w(o(60042)),n=w(o(27378)),i=w(o(36275)),a=w(o(67439)),l=w(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(86022),p=w(o(96332)),f=P(o(67871)),m=P(o(48360)),y=o(72485),g=P(o(68598)),h=P(o(47859)),b=P(o(9870)),v=P(o(1519)),S=P(o(73690));function w(e){return e&&e.__esModule?e:{default:e}}function x(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(x=function(e){return e?o:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=x(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class C extends l.default{static get componentId(){return"WOOAddToCart"}static defaultValue=p.default;renderForEdit(e,t,o){const{className:l}=e,p=(0,r.default)("brz-woo-add-to-cart",l,(0,c.css)(this.constructor.componentId,this.getId(),(0,y.style)(e,t,o))),w=(0,d.makePlaceholder)({content:"{{editor_product_add_to_cart_btn}}"});return n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(g,f),selector:"button, .brz-shortcode__placeholder"},n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(v,f,{allowExtend:!1}),selector:"table.group_table"},n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(S,f,{allowExtend:!1}),selector:"table.variations"},n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(h,m,{allowExtend:!1}),selector:".brz-woo-add-to-cart .cart:not(.grouped_form) .quantity"},n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(b,m,{allowExtend:!1}),selector:".brz-woo-add-to-cart .grouped_form .quantity"},n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:p}),n.default.createElement(s.DynamicContentHelper,{placeholder:w,placeholderIcon:"woo-addToCart",tagName:"div"}))))))))}}},67871:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Add to cart"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"buttonBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:70}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},48360:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Add to cart Input");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Styling"),icon:"nc-styling",options:[{id:"inputBorder",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:70}]}]}]}]}]}},72485:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover form:not(.variations_form)":{standart:["cssStyleElementWOOAddToCartInputPosition","cssStyleElementWOOAddToCartInputAlign"]},".brz &&:hover form.variations_form .variations_button":{standart:["cssStyleElementWOOAddToCartInputPosition","cssStyleElementWOOAddToCartInputAlign"]},".brz && form.cart .quantity:hover":{standart:["cssStyleElementWOOAddToCartInputWidth","cssStyleElementWOOAddToCartInputHeight","cssStyleElementWOOAddToCartSpacing"]},".brz &&:hover input[type=number].input-text":{standart:["cssStyleElementWOOAddToCartInputColor","cssStyleElementWOOAddToCartInputFontFamily","cssStyleElementWOOAddToCartInputFontSize","cssStyleElementWOOAddToCartInputLineHeight","cssStyleElementWOOAddToCartInputFontWeight","cssStyleElementWOOAddToCartInputLetterSpacing","cssStyleElementWOOAddToCartInputRadius","cssStyleElementWOOAddToCartInputBg","cssStyleElementWOOAddToCartInputBorder","cssStyleElementWOOAddToCartInputBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover input[type=number].input-text::placeholder":{standart:["cssStyleElementWOOAddToCartInputColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .single_variation":{standart:["cssStyleElementWOOAddToCartValueColor","cssStyleElementWOOAddToCartValueFontFamily","cssStyleElementWOOAddToCartValueFontSize","cssStyleElementWOOAddToCartValueLineHeight","cssStyleElementWOOAddToCartValueFontWeight","cssStyleElementWOOAddToCartValueLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover button[type=submit].single_add_to_cart_button.single_add_to_cart_button":{standart:["cssStyleElementWOOAddToCartBorderRadius","cssStyleElementWOOAddToCartButtonColor","cssStyleBgColor","cssStyleBgGradient","cssStyleElementWOOAddToCartBorder","cssStyleBoxShadow","cssStyleElementWOOAddToCartSize","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover td label":{standart:["cssStyleElementWOOAddToCartLabelColor","cssStyleElementWOOAddToCartLabelFontFamily","cssStyleElementWOOAddToCartLabelFontSize","cssStyleElementWOOAddToCartLabelLineHeight","cssStyleElementWOOAddToCartLabelFontWeight","cssStyleElementWOOAddToCartLabelLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover td.value .reset_variations":{standart:["cssStyleElementWOOAddToCartClearColor","cssStyleElementWOOAddToCartClearFontFamily","cssStyleElementWOOAddToCartClearFontSize","cssStyleElementWOOAddToCartClearLineHeight","cssStyleElementWOOAddToCartClearFontWeight","cssStyleElementWOOAddToCartClearLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover table":{standart:["cssStyleElementWOOAddToCartTableMargin","cssStyleElementWOOAddToCartTableBoxShadow"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .label, .woocommerce-grouped-product-list-item":{standart:["cssStyleElementWOOAddToCartLabelBg"]},".brz &&:hover table td":{standart:["cssStyleElementWOOAddToCartTableBorder"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover td.value select":{standart:["cssStyleElementWOOAddToCartTableBorder","cssStyleElementWOOAddToCartValueColor","cssStyleElementWOOAddToCartValueFontFamily","cssStyleElementWOOAddToCartValueFontSize","cssStyleElementWOOAddToCartValueLineHeight","cssStyleElementWOOAddToCartValueFontWeight","cssStyleElementWOOAddToCartValueLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .value":{standart:["cssStyleElementWOOAddToCartTableBg"]},".brz &&:hover td.woocommerce-grouped-product-list-item__price":{standart:["cssStyleElementWOOAddToCartValueColor","cssStyleElementWOOAddToCartValueFontFamily","cssStyleElementWOOAddToCartValueFontSize","cssStyleElementWOOAddToCartValueLineHeight","cssStyleElementWOOAddToCartValueFontWeight","cssStyleElementWOOAddToCartValueLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},68598:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(81405),i=o(68256),a=o(69321),l=o(24119),s=e=>{let{v:t,device:o,state:s}=e;const c=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,i.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(d,c("bgColorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBg",label:(0,r.t)("Bg"),options:[{id:"",type:"backgroundColor-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"buttonColorTab",label:(0,r.t)("Text"),options:[{id:"buttonColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,r.t)("Border"),options:[{id:"buttonBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,r.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"height",label:(0,r.t)("Height"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},47859:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),d=c("inputPosition"),{hex:u}=(0,a.getOptionColorHexByPalette)(c("inputColorHex"),c("inputColorPalette"));return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-add-to-cart",title:(0,n.t)("Add to cart")},position:10,options:[{id:"inputPosition",label:(0,n.t)("Position"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"},{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"inputVerticalAlign",label:(0,n.t)("Align"),disabled:"top"===d||"bottom"===d,type:"radioGroup-dev",devices:"desktop",choices:[{value:"top",icon:"nc-align-top"},{value:"center",icon:"nc-align-middle"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"inputHorizontalAlign",label:(0,n.t)("Align"),disabled:"left"===d||"right"===d,type:"radioGroup-dev",devices:"desktop",choices:[{value:"left",icon:"nc-text-align-left"},{value:"center",icon:"nc-text-align-center"},{value:"right",icon:"nc-text-align-right"}]},{id:"spacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"input",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,c("inputColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"inputColorTab",label:(0,n.t)("Text"),options:[{id:"inputColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"inputBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"inputBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"inputWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:20,max:100,units:"left"===d||"right"===d?[{value:"px",title:"px"}]:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"inputHeight",label:(0,n.t)("Height"),type:"slider-dev",config:{min:20,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]}]}]}]}},9870:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>{let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),d=c("inputPosition"),{hex:u}=(0,a.getOptionColorHexByPalette)(c("inputColorHex"),c("inputColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"input",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(u,c("inputColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"inputColorTab",label:(0,n.t)("Text"),options:[{id:"inputColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBg",label:(0,n.t)("Bg"),options:[{id:"inputBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"inputBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"inputBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"inputWidth",label:(0,n.t)("Width"),type:"slider-dev",config:{min:20,max:100,units:"left"===d||"right"===d?[{value:"px",title:"px"}]:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"inputHeight",label:(0,n.t)("Height"),type:"slider-dev",config:{min:20,max:100,units:[{value:"px",title:"px"}]}},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",label:(0,n.t)("More Settings"),icon:"nc-cog"}]}]}},1519:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(81405),i=o(68256),a=o(69321),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,i.getOptionColorHexByPalette)(c("labelColorHex"),c("labelColorPalette"));return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-2"},position:10,options:[{id:"tableSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabLabel",label:(0,r.t)("Label"),options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabValue",label:(0,r.t)("Value"),options:[{id:"value",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(d,c("labelColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"labelColorTab",label:(0,r.t)("Label"),options:[{id:"labelColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"labelBgTab",label:(0,r.t)("Bg"),options:[{id:"labelBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"valueColorTab",label:(0,r.t)("Value"),options:[{id:"valueColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"borderColorTab",label:(0,r.t)("Border"),options:[{id:"tableBorder",type:"border-dev",config:{width:["grouped"]}}]},{id:"tabShadow",label:(0,r.t)("Shadow"),options:[{id:"tableBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]}]}},73690:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("labelColorHex"),c("labelColorPalette"));return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-2",title:(0,n.t)("Add to cart")},position:10,options:[{id:"tableSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabLabel",label:(0,n.t)("Label"),options:[{id:"label",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabValue",label:(0,n.t)("Value"),options:[{id:"value",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabClear",label:(0,n.t)("Clear"),options:[{id:"clear",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"popoverColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("labelColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"inputColorTab",label:(0,n.t)("Input"),options:[{id:"inputColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"labelColorTab",label:(0,n.t)("Label"),options:[{id:"labelColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"labelBgTab",label:(0,n.t)("Label Bg"),options:[{id:"labelBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"valueColorTab",label:(0,n.t)("Value"),options:[{id:"valueColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"bgTab",label:(0,n.t)("Value Bg"),options:[{id:"tableBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"clearColorTab",label:(0,n.t)("Clear"),options:[{id:"clearColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"borderColorTab",label:(0,n.t)("Border"),options:[{id:"tableBorder",type:"border-dev",config:{width:["grouped"]}}]},{id:"tabShadow",label:(0,n.t)("Shadow"),options:[{id:"tableBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]}]}},63651:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const r=h(o(60042)),n=h(o(27378)),i=h(o(31440)),a=h(o(36275)),l=h(o(67439)),s=h(o(63692)),c=o(8704),d=o(94220),u=o(9644),p=o(86022),f=h(o(32190)),m=v(o(34564)),y=o(28249),g=v(o(74541));function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const S=["centerLeft","centerRight"];class w extends s.default{static get componentId(){return"WOOAttributes"}static defaultValue=f.default;handleResizerChange=e=>this.patchValue(e);handleTextChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{className:s}=e,f=(0,r.default)("brz-woo-attributes",s,(0,d.css)(this.constructor.componentId,this.getId(),(0,y.style)(e,t,o))),h=(0,u.makePlaceholder)({content:"{{editor_product_additional_info}}"});return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(g,m),n.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:f}),n.default.createElement(i.default,{points:S,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},n.default.createElement(c.DynamicContentHelper,{placeholder:h,placeholderIcon:"woo-attributes",tagName:"div"})))))}}},34564:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Product Attributes"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},28249:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover .woocommerce-product-attributes-item":{standart:["cssStyleElementWOOAttributesAttributesFontFamily","cssStyleElementWOOAttributesAttributesFontSize","cssStyleElementWOOAttributesAttributesFontWeight","cssStyleElementWOOAttributesAttributesLetterSpacing","cssStyleElementWOOAttributesAttributeColor"]},".brz &&:hover .woocommerce-product-attributes-item .woocommerce-product-attributes-item__label":{standart:["cssStyleElementWOOAttributesAttributesLineHeight","cssStyleElementWOOAttributesSpacing"]},".brz &&:hover .woocommerce-product-attributes-item .woocommerce-product-attributes-item__value":{standart:["cssStyleElementWOOAttributesAttributesLineHeight","cssStyleElementWOOAttributesSpacing"]},".brz &&:hover table th":{standart:["cssStyleElementWOOAttributesBorder"]},".brz &&:hover table td":{standart:["cssStyleElementWOOAttributesBorder"]},".brz && table tr:last-child th, .brz && table tr:last-child td":{standart:["cssStyleElementWOOAttributesLastElementBorder"]},".brz &&:hover h2":{standart:["cssStyleElementWOOAdditionalTitleFontFamily","cssStyleElementWOOAdditionalTitleFontSize","cssStyleElementWOOAdditionalTitleLineHeight","cssStyleElementWOOAdditionalTitleFontWeight","cssStyleElementWOOAdditionalTitleLetterSpacing","cssStyleElementWOOAdditionalTitleColor","cssStyleElementWOOAdditionalTitleSpacing"]}}})}},74541:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s="on"===l("titleDisabled"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("titleColorHex"),l("titleColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-woo-additional",title:(0,n.t)("Product Attributes")},position:60,options:[{id:"titleSpacing",label:(0,n.t)("Title"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"style",label:(0,n.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"table",icon:"nc-attributes-table"},{value:"dividers",icon:"nc-attributes-dividers"}]},{id:"spacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"between",type:"slider-dev",label:(0,n.t)("Between"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",config:{showSingle:!0},tabs:[{id:"tabTypographyTitle",label:(0,n.t)("Title"),options:[{id:"title",type:"typography-dev",disabled:s,config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyAttributes",label:(0,n.t)("Attributes"),options:[{id:"attributes",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,l("titleColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,n.t)("Title"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:s,devices:"desktop"}]},{id:"tabAttribute",label:(0,n.t)("Attributes"),options:[{id:"attributeColor",type:"colorPicker-dev",devices:"desktop"}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",config:{width:["grouped"],styles:["solid","dashed","dotted"]}}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog",title:(0,n.t)("Settings")},roles:["admin"],position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",position:100,config:{min:1,max:"%"===l("widthSuffix")?100:1e3,units:[{value:"%",title:"%"},{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},43081:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return k}});const r=C(o(60042)),n=C(o(27378)),i=C(o(36275)),a=_(o(67439)),l=C(o(63692)),s=o(8704),c=o(86022),d=o(94220),u=o(9644),p=o(64985),f=C(o(22350)),m=_(o(9625)),y=_(o(92564)),g=_(o(75460)),h=o(72785),b=_(o(20900)),v=_(o(15328)),S=_(o(7067)),w=_(o(42350)),x=_(o(39637)),P=_(o(21890));function C(e){return e&&e.__esModule?e:{default:e}}function T(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(T=function(e){return e?o:t})(e)}function _(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=T(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class k extends l.default{static get componentId(){return"WOOCart"}static defaultValue=f.default;state={sidebarOpened:!1};backgroundRef=n.default.createRef();dcRef=n.default.createRef();componentDidMount(){this.backgroundRef.current?.addEventListener("click",(e=>e.stopPropagation()))}handleValueChange(e,t){const{sidebar:o,tabletSidebar:r,mobileSidebar:n,...i}=e;"open"===o||"open"===r||"open"===n?((0,a.hideToolbar)(),this.setState({sidebarOpened:!0},(()=>{super.handleValueChange(i,t)}))):super.handleValueChange(e,t)}handleDCSuccess=()=>{this.dcRef.current?.addEventListener("click",(e=>{e.target.classList.contains("brz-woocart__sidebar-close")&&this.setState({sidebarOpened:!1})}))};renderForEdit(e,t,o){const l=this.getId(),{className:f,purchasesType:C}=e,T=(0,r.default)("brz-woocart__wrapper",{"brz-woocart__wrapper--opened":this.state.sidebarOpened},"brz-woocart__parent",`brz-woocart--${C}`,f,(0,d.css)(this.constructor.componentId,l,(0,h.style)(e,t,o))),_=(0,u.makePlaceholder)({content:"{{editor_product_cart}}"});return n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(b,m),selector:".brz-a.brz-woocart, .brz-shortcode__placeholder"},n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(S,y,{allowExtend:!1}),selector:".brz-woocart__sidebar__product-name"},n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(w,y,{allowExtend:!1}),selector:".brz-woocart__sidebar__product-price__container"},n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(x,y,{allowExtend:!1}),selector:".brz-woocart__sidebar-subtotal"},n.default.createElement(a.default,{...this.makeToolbarPropsFromConfig2(v,y,{allowExtend:!1}),selector:".brz-woocart__sidebar-buttons"},n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(c.Wrapper,this.makeWrapperProps({className:T,attributes:{id:l}}),n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(P,g,{allowExtend:!1}),n.default.createElement("div",{className:"brz-woocart__sidebar-toolbar"},(0,p.t)("Cart Settings"))),n.default.createElement("div",{className:"brz-woocart__background",ref:this.backgroundRef}),n.default.createElement(s.DynamicContentHelper,{placeholder:_,placeholderIcon:"woo-cart",tagName:"div",props:{className:"brz-woocart__dc",ref:this.dcRef},onSuccess:this.handleDCSuccess}))))))))}}},9625:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Cart"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"desktop",position:65}]},{id:"moreSettingsAdvanced",devices:"desktop",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:100,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},92564:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Product");function n(){return[]}},75460:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Settings");function n(){return[]}},72785:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-woocart__dc":{standart:["cssStyleBgColor","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-woocart__parent":{standart:["cssStyleElementWOOCartSubtotalDisabled","cssStyleSizeSpacing"]},".brz &&:hover .brz-woocart__price":{standart:["cssStyleColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-woocart__icon:before":{standart:["cssStyleElementWOOCartPurchasesDisabled","cssStyleElementWOOCartBubbleColor","cssStyleElementWOOCartBubbleBg"]},".brz &&.brz-woocart--plain:hover .brz-woocart__icon:before":{standart:["cssStyleSizeSpacing","cssStyleElementWOOCartPurchasesColor","cssStyleElementWOOCartPurchasesFontFamily","cssStyleElementWOOCartPurchasesFontSize","cssStyleElementWOOCartPurchasesLineHeight","cssStyleElementWOOCartPurchasesFontWeight","cssStyleElementWOOCartPurchasesLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-woocart__icon .brz-icon-svg":{standart:["cssStyleElementWOOCartIconColor","cssStyleElementWOOCartIconSize","cssStyleTypography3LineHeight"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-woocart__sidebar":{standart:["cssStyleElementWOOCartSidebarWidth","cssStyleElementWOOCartSidebarHeight","cssStyleElementWOOCartSidebarHorizontalAlign","cssStyleElementWOOCartSidebarVerticalAlign","cssStyleElementWOOCartSidebarBgColor"]},".brz && .brz-woocart__sidebar .brz-woocart__sidebar__product-name .brz-a:hover":{standart:["cssStyleElementWOOCartTitleColor","cssStyleElementWOOCartTitleFontFamily","cssStyleElementWOOCartTitleFontSize","cssStyleElementWOOCartTitleLineHeight","cssStyleElementWOOCartTitleFontWeight","cssStyleElementWOOCartTitleLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-woocart__sidebar .brz-woocart__sidebar__product-price-parent:hover":{standart:["cssStyleElementWOOCartCostColor","cssStyleElementWOOCartCostFontFamily","cssStyleElementWOOCartCostFontSize","cssStyleElementWOOCartCostLineHeight","cssStyleElementWOOCartCostFontWeight","cssStyleElementWOOCartCostLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-woocart__sidebar .brz-woocart__sidebar-subtotal:hover":{standart:["cssStyleElementWOOCartSubtotalColor","cssStyleElementWOOCartSubtotalFontFamily","cssStyleElementWOOCartSubtotalFontSize","cssStyleElementWOOCartSubtotalLineHeight","cssStyleElementWOOCartSubtotalFontWeight","cssStyleElementWOOCartSubtotalLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .brz-woocart__sidebar .brz-woocart__sidebar-button:hover":{standart:["cssStyleElementWOOCartButtonBorderRadius","cssStyleElementWOOCartButtonSpacing","cssStyleElementWOOCartButtonBgColor","cssStyleElementWOOCartButtonColor","cssStyleElementWOOCartButtonFontFamily","cssStyleElementWOOCartButtonFontSize","cssStyleElementWOOCartButtonLineHeight","cssStyleElementWOOCartButtonFontWeight","cssStyleElementWOOCartButtonLetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz &&:hover .brz-woocart__sidebar .brz-woocart__sidebar-buttons":{standart:["cssStyleElementWOOCartButtonDirection"]},".brz && .brz-woocart__sidebar-remove .brz-icon-svg:hover":{standart:["cssStyleElementWOOCartCostColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},20900:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),c=s("purchasesType"),d=s("subtotal"),u="off"===s("purchases"),p="plain"!==c,f="bubble"!==c,{hex:m}=(0,a.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-woo-cart",title:(0,n.t)("Shop Cart")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,n.t)("Cart"),options:[{id:"subtotal",label:(0,n.t)("Subtotal"),type:"switch-dev",devices:"desktop"},{id:"purchases",label:(0,n.t)("Cart Items"),type:"switch-dev",devices:"desktop"},{id:"purchasesType",type:"radioGroup-dev",label:(0,n.t)("Style"),devices:"desktop",disabled:u,choices:[{value:"plain",icon:"nc-cart-items-1",title:(0,n.t)("Plain")},{value:"bubble",icon:"nc-cart-items-2",title:(0,n.t)("Bubble")}]}]},{id:"tabIcon",label:(0,n.t)("Icon"),options:[{id:"iconCustomSize",type:"slider-dev",label:(0,n.t)("Size"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"spacing",type:"slider-dev",disabled:"off"===d&&u,label:(0,n.t)("Spacing"),config:{min:0,max:100,disabled:"on"!==d,units:[{value:"px",title:"px"}]}}]}]}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabsTypographyPrice",label:(0,n.t)("Total"),options:[{id:"typography",type:"typography-dev",disabled:"on"!==d,config:{fontFamily:"desktop"===o}}]},{id:"tabsTypographyPurchases",label:(0,n.t)("Item"),options:[{id:"purchases",type:"typography-dev",disabled:u||p,config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(m,s("colorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"BgColorTab",label:(0,n.t)("Bg"),options:[{id:"bgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"colorTab",label:(0,n.t)("Total"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop",disabled:"on"!==d,states:[l.NORMAL,l.HOVER]}]},{id:"IconColorTab",label:(0,n.t)("Icon"),options:[{id:"iconColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"PurchasesColorTab",label:(0,n.t)("Item"),options:[{id:"purchasesColor",type:"colorPicker-dev",devices:"desktop",disabled:u||p,states:[l.NORMAL,l.HOVER]}]},{id:"BorderTab",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"BubbleTab",label:(0,n.t)("Bub."),options:[{id:"bubbleColor",type:"colorPicker-dev",disabled:u||f,devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"BubbleBgTab",label:(0,n.t)("Bub. Bg"),options:[{id:"bubbleBgColor",type:"colorPicker-dev",disabled:u||f,devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"sidebar",type:"toggle-dev",position:100,choices:[{icon:"nc-link-sidebar",title:(0,n.t)("Sidebar"),value:"open"},{icon:"nc-link-sidebar",title:(0,n.t)("Sidebar"),value:"close"}]},{id:"advancedSettings",type:"advancedSettings",position:110,devices:"desktop"}]}},15328:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,i.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("buttonColorHex"),s("buttonColorPalette"));return[{id:"popoverCurrentElement",type:"popover-dev",config:{icon:"nc-woo-cart",title:(0,n.t)("Shop Cart")},position:60,options:[{id:"buttonDirection",label:(0,n.t)("Buttons"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"inline",icon:"nc-cart-inline"},{value:"column",icon:"nc-cart-column"}]},{id:"borderRadiusTypeGroup",type:"group-dev",devices:"desktop",options:[{id:"buttonBorderRadiusType",label:(0,n.t)("Corner"),type:"radioGroup-dev",choices:[{value:"square",icon:"nc-corners-square"},{value:"rounded",icon:"nc-corners-round"},{value:"custom",icon:"nc-more"}]},{id:"buttonBorderRadius",type:"slider-dev",disabled:"custom"!==s("buttonBorderRadiusType"),config:{min:0,max:400,units:[{title:"px",value:"px"}]}}]},{id:"buttonSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",devices:"desktop",config:{min:5,max:50,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"button",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor2",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,s("buttonColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"buttonColorTab",label:(0,n.t)("Color"),options:[{id:"buttonColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"buttonBgColorTab",label:(0,n.t)("Overlay"),options:[{id:"buttonBgColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]}]}},7067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(69321),i=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("titleColorHex"),s("titleColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"title",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor2",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(c,s("titleColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"titleColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}},42350:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(69321),i=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("priceColorHex"),s("priceColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"cost",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor2",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(c,s("priceColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"costColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}},39637:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(69321),i=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:c}=(0,a.getOptionColorHexByPalette)(s("subtotalColorHex"),s("subtotalColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"subtotal",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor2",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(c,s("subtotalColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"subtotalColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}},21890:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),n=o(69321),i=o(81405),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("sidebarBgColorHex"),l("sidebarBgColorPalette"));return[{id:"cartHorizontalAlign",type:"toggle-dev",disabled:l("sidebarWidth")>=100&&"%"===l("sidebarWidthSuffix"),position:90,choices:[{icon:"nc-hrz-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-hrz-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-hrz-align-right",title:(0,r.t)("Align"),value:"right"}]},{id:"cartVerticalAlign",type:"toggle-dev",disabled:"fullHeight"===l("sidebarHeightStyle")||l("sidebarHeight")>=100&&"vh"===l("sidebarHeightSuffix")&&"auto"!==l("sidebarHeightStyle"),position:110,choices:[{icon:"nc-ver-align-top",title:(0,r.t)("Align"),value:"top"},{icon:"nc-ver-align-middle",title:(0,r.t)("Align"),value:"center"},{icon:"nc-ver-align-bottom",title:(0,r.t)("Align"),value:"bottom"}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(s,l("sidebarBgColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"sidebarBgColor",type:"colorPicker-dev"}]},{id:"toolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"sidebarWidth",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===l("sidebarWidthSuffix")?500:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"groupHeight",type:"group-dev",position:100,options:[{id:"sidebarHeightStyle",label:(0,r.t)("Height"),type:"select-dev",choices:[{title:(0,r.t)("Auto"),value:"auto"},{title:(0,r.t)("Custom"),value:"custom"},{title:(0,r.t)("Full Height"),value:"fullHeight"}]},{id:"sidebarHeight",type:"slider-dev",disabled:"custom"!==l("sidebarHeightStyle"),config:{min:20,max:"px"===l("sidebarHeightSuffix")?500:100,units:[{title:"px",value:"px"},{title:"%",value:"vh"}]}}]}]}]}},87210:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=m(o(27378)),n=m(o(63692)),i=m(o(36275)),a=o(89474),l=m(o(67439)),s=g(o(76431)),c=g(o(34442)),d=m(o(83228)),u=m(o(60042)),p=o(12009),f=o(94220);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const h=["centerLeft","centerRight"];class b extends n.default{static get componentId(){return"WOOCategories"}static defaultValue=d.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const n={number:e.number,orderby:e.orderBy,order:e.order,columns:e.columns,hide_empty:e.hideEmpty,parent:e.parent,ids:e.ids},d=(0,u.default)((0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s,c),r.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(a.WPShortcode,{name:"product_categories",attributes:n,placeholderIcon:"woo-2",className:d,resizerPoints:h,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}const v=b},34442:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Shop Categories");function n(){return[]}},12009:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},76431:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarWOOCategories",type:"popover-dev",config:{icon:"nc-woo-categories",title:(0,r.t)("Shop Categories")},devices:"desktop",position:10,options:[{id:"WOOCategoriesTabs",type:"tabs-dev",tabs:[{id:"layoutTab",label:(0,r.t)("Layout"),options:[{id:"columns",label:(0,r.t)("Columns"),type:"slider-dev",config:{min:1,max:6,inputMin:1,inputMax:6}},{id:"number",label:(0,r.t)("Categories Count"),type:"inputText-dev",devices:"desktop",config:{size:"short"}}]},{id:"orderTab",label:(0,r.t)("Filter"),options:[{id:"orderBy",label:(0,r.t)("Filter By"),type:"select-dev",devices:"desktop",choices:[{title:(0,r.t)("Name"),value:"name"},{title:(0,r.t)("Slug"),value:"slug"},{title:(0,r.t)("Description"),value:"description"},{title:(0,r.t)("Count"),value:"count"}]},{id:"order",devices:"desktop",label:(0,r.t)("Order"),type:"radioGroup-dev",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,devices:"desktop",columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},66479:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(60042)),n=y(o(27378)),i=y(o(67439)),a=y(o(63692)),l=o(8704),s=o(86022),c=o(94220),d=o(9644),u=y(o(23845)),p=h(o(60101)),f=o(58085),m=h(o(66414));function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}function h(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class b extends a.default{static get componentId(){return"WOOExcerpt"}static defaultValue=u.default;renderForEdit(e,t,o){const{className:a}=e,u=(0,r.default)("brz-wooexcerpt",a,(0,c.css)(this.constructor.componentId,this.getId(),(0,f.style)(e,t,o))),y=(0,d.makePlaceholder)({content:"{{editor_product_short_description}}"});return n.default.createElement(i.default,this.makeToolbarPropsFromConfig2(m,p),n.default.createElement(s.Wrapper,this.makeWrapperProps({className:u}),n.default.createElement(l.DynamicContentHelper,{placeholder:y,placeholderIcon:"wp-excerpt",tagName:"div"})))}}const v=b},60101:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Product Excerpt"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:70,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},58085:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .woocommerce-product-details__short-description *":{standart:["cssStyleElementWPPostContentExcerptAlign"]},".brz && h1:hover":{standart:["cssStyleElementWPPostContentH1Color","cssStyleElementWPPostContentTypography2H1FontFamily","cssStyleElementWPPostContentTypography2H1FontSize","cssStyleElementWPPostContentTypography2H1LineHeight","cssStyleElementWPPostContentTypography2H1FontWeight","cssStyleElementWPPostContentTypography2H1LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h2:hover":{standart:["cssStyleElementWPPostContentH2Color","cssStyleElementWPPostContentTypography2H2FontFamily","cssStyleElementWPPostContentTypography2H2FontSize","cssStyleElementWPPostContentTypography2H2LineHeight","cssStyleElementWPPostContentTypography2H2FontWeight","cssStyleElementWPPostContentTypography2H2LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h3:hover":{standart:["cssStyleElementWPPostContentH3Color","cssStyleElementWPPostContentTypography2H3FontFamily","cssStyleElementWPPostContentTypography2H3FontSize","cssStyleElementWPPostContentTypography2H3LineHeight","cssStyleElementWPPostContentTypography2H3FontWeight","cssStyleElementWPPostContentTypography2H3LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h4:hover":{standart:["cssStyleElementWPPostContentH4Color","cssStyleElementWPPostContentTypography2H4FontFamily","cssStyleElementWPPostContentTypography2H4FontSize","cssStyleElementWPPostContentTypography2H4LineHeight","cssStyleElementWPPostContentTypography2H4FontWeight","cssStyleElementWPPostContentTypography2H4LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h5:hover":{standart:["cssStyleElementWPPostContentH5Color","cssStyleElementWPPostContentTypography2H5FontFamily","cssStyleElementWPPostContentTypography2H5FontSize","cssStyleElementWPPostContentTypography2H5LineHeight","cssStyleElementWPPostContentTypography2H5FontWeight","cssStyleElementWPPostContentTypography2H5LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && h6:hover":{standart:["cssStyleElementWPPostContentH6Color","cssStyleElementWPPostContentTypography2H6FontFamily","cssStyleElementWPPostContentTypography2H6FontSize","cssStyleElementWPPostContentTypography2H6LineHeight","cssStyleElementWPPostContentTypography2H6FontWeight","cssStyleElementWPPostContentTypography2H6LetterSpacing"],interval:["cssStyleHoverTransition"]},".brz &&:hover strong, .brz &&:hover b":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"],interval:["cssStyleHoverTransition"]},".brz && *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(b):not(strong):not(i):not(span):hover":{standart:["cssStyleElementWPPostContentParagraphColor","cssStyleElementWPPostContentTypography2ParagraphFontFamily","cssStyleElementWPPostContentTypography2ParagraphFontSize","cssStyleElementWPPostContentTypography2ParagraphLineHeight","cssStyleElementWPPostContentTypography2ParagraphFontWeight","cssStyleElementWPPostContentTypography2ParagraphLetterSpacing"],interval:["cssStyleHoverTransition"]}}})}},66414:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("paragraphColorHex"),c("paragraphColorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabP",label:"P",options:[{id:"paragraph",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH1",label:"H1",options:[{id:"h1",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH2",label:"H2",options:[{id:"h2",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH3",label:"H3",options:[{id:"h3",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH4",label:"H4",options:[{id:"h4",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH5",label:"H5",options:[{id:"h5",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabH6",label:"H6",options:[{id:"h6",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("paragraphColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabParagraph",label:"P",options:[{id:"paragraphColor",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH1",label:"H1",options:[{id:"h1Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH2",label:"H2",options:[{id:"h2Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH3",label:"H3",options:[{id:"h3Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH4",label:"H4",options:[{id:"h4Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH5",label:"H5",options:[{id:"h5Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabH6",label:"H6",options:[{id:"h6Color",type:"colorPicker-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}],onChange:(e,o)=>{let{isOpen:r}=o;return{tabsState:r?t.tabsState:"",tabsColor:r?t.tabsColor:""}}},{id:"excerptHorizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,n.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,n.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,n.t)("Align"),value:"right"}]},{id:"horizontalAlign",type:"toggle-dev",disabled:!0},{id:"advancedSettings",type:"advancedSettings",position:110,title:(0,n.t)("Settings"),roles:["admin"],devices:"desktop",icon:"nc-cog"}]}},34340:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return C}});const r=S(o(60042)),n=S(o(65311)),i=S(o(27378)),a=S(o(31440)),l=S(o(36275)),s=S(o(67439)),c=S(o(63692)),d=o(8704),u=o(94220),p=o(9644),f=o(86022),m=S(o(53241)),y=x(o(94891)),g=x(o(85410)),h=o(114),b=x(o(82758)),v=x(o(16823));function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const P=["centerLeft","centerRight"];class C extends c.default{static get componentId(){return"WOOGallery"}static defaultValue=m.default;containerRef=i.default.createRef();handleResizerChange=e=>this.patchValue(e);handleDynamicContentSuccess=()=>{const e=this.containerRef.current?.querySelector(".woocommerce-product-gallery");e&&(0,n.default)(e).wc_product_gallery?.()};renderForEdit(e,t,o){const n=`brz-woo-gallery__thumbsTB-${e.thumbPerRowTB}`,c=`brz-woo-gallery__thumbsRL-${e.thumbPerRowRL}`,m="top"===e.thumbStyle||"bottom"===e.thumbStyle,S=(0,r.default)("brz-woo-gallery",`brz-woo-gallery__style-${e.thumbStyle}`,{[n]:m},{[c]:!m},(0,u.css)(this.constructor.componentId,this.getId(),(0,h.style)(e,t,o))),w=(0,p.makePlaceholder)({content:"{{editor_product_gallery}}"});return i.default.createElement(s.default,{...this.makeToolbarPropsFromConfig2(b,y),selector:".woocommerce-product-gallery__image, .brz-shortcode__placeholder"},i.default.createElement(s.default,{...this.makeToolbarPropsFromConfig2(v,g,{allowExtend:!1}),selector:".flex-control-thumbs"},i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(f.Wrapper,this.makeWrapperProps({className:S,ref:this.containerRef}),i.default.createElement(a.default,{points:P,meta:this.props.meta,value:e,onChange:this.handleResizerChange,restrictions:{width:{px:{min:5,max:1e3},"%":{min:5,max:100}},tabletWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}},mobileWidth:{px:{min:5,max:1e3},"%":{min:5,max:100}}}},i.default.createElement(d.DynamicContentHelper,{placeholder:w,placeholderIcon:"woo-gallery",placeholderHeight:250,tagName:"div",onSuccess:this.handleDynamicContentSuccess,blocked:!1}))))))}}},94891:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return i},getItems:function(){return a}});const r=o(64985),n='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

',i=(0,r.t)("Product Gallery");function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:70}]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:n},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),type:"slider-dev",devices:"desktop",position:100,config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},85410:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return i}});const r=o(64985),n=(0,r.t)("Product Thumbnail");function i(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[{id:"thumbnailBorder",type:"corners-dev",label:(0,r.t)("Corner"),position:70}]}]}]}]}]}},114:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz && .woocommerce-product-gallery > .flex-viewport:hover":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper:hover":{standart:["cssStyleBoxShadow","cssStyleBorder","cssStyleBorderRadius"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz &&:hover .flex-control-thumbs":{standart:["cssStyleElementWOOGalleryParentSize","cssStyleElementWOOGallerySpacing","cssStyleElementWOOGallerySpacingStyleLeftRigth","cssStyleElementWOOGalleryChildStyle"]},".brz && .flex-control-thumbs li:hover":{standart:["cssStyleElementWOOGalleryBetweenThumbnail","cssStyleElementWOOGalleryThumbnailSize","cssStyleElementWOOGalleryBoxShadowThumbnail","cssStyleElementWOOGalleryBorderRadiusThumbnail","cssStyleElementWOOGalleryBorderThumbnail"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransition"]},".brz && .woocommerce-product-gallery__trigger":{standart:["cssStyleElementWOOGalleryZoomReposition"]}}})}},82758:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(69321),i=o(81405),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)((0,n.defaultValueValue)({v:t,key:"borderColorHex",device:o,state:s}),(0,n.defaultValueValue)({v:t,key:"borderColorPalette",device:o,state:s}));return[{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(d,c("borderColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,r.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,r.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,r.t)("Settings")},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",position:100,config:{min:5,max:"px"===c("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},16823:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119);function s(e){let{v:t,device:o,state:s}=e;const c=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("thumbnailBorderColorHex"),c("thumbnailBorderColorPalette")),u=c("thumbStyle"),p="left"===u,f="right"!==u,m="bottom"===u,y="top"===u,g=m?(0,n.t)("Top"):y?(0,n.t)("Bottom"):p?(0,n.t)("Right"):(0,n.t)("Left");return[{id:"toolbarWOOGalleryThumbnail",type:"popover-dev",position:10,config:{icon:"nc-woo-gallery"},options:[{id:"groupThumbStyle",type:"group-dev",options:[{id:"thumbStyle",label:(0,n.t)("Style"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"bottom",icon:"nc-woo-gallery-bottom"},{value:"left",icon:"nc-woo-gallery-left"},{value:"top",icon:"nc-woo-gallery-top"},{value:"right",icon:"nc-woo-gallery-right"}]},{id:"thumbWidth",label:(0,n.t)("Width"),type:"slider-dev",disabled:!p&&f,config:{min:0,max:200,units:[{value:"px",title:"px"}]}}]},{id:"spacing",label:g,type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"thumbPerRowTB",label:(0,n.t)("Columns"),type:"slider-dev",devices:"desktop",disabled:y&&m,config:{min:2,max:8}},{id:"thumbPerRowRL",label:(0,n.t)("Columns"),type:"slider-dev",devices:"desktop",disabled:!p&&f,config:{min:1,max:8}},{id:"betweenThumbnail",label:(0,n.t)("Between"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("thumbnailBorderColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"thumbnailBorder",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"thumbnailBoxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",position:110,devices:"desktop",icon:"nc-cog"}]}},6534:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return P}});const r=v(o(60042)),n=v(o(65311)),i=v(o(27378)),a=v(o(31440)),l=v(o(36275)),s=v(o(67439)),c=v(o(63692)),d=o(86022),u=o(64187),p=o(94220),f=o(9644),m=o(8704),y=v(o(1337)),g=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=S(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(67044)),h=o(33854),b=v(o(55644));function v(e){return e&&e.__esModule?e:{default:e}}function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(S=function(e){return e?o:t})(e)}const w={woocommerce_cart:()=>(0,f.makePlaceholder)({content:"{{editor_product_default_cart}}"}),woocommerce_checkout:()=>(0,f.makePlaceholder)({content:"{{editor_product_checkout}}"}),woocommerce_my_account:()=>(0,f.makePlaceholder)({content:"{{editor_product_my_account}}"}),woocommerce_order_tracking:()=>(0,f.makePlaceholder)({content:"{{editor_product_order_tracking}}"}),product:e=>{let{productID:t}=e;return(0,f.makePlaceholder)({content:"{{editor_product_page}}",attr:{itemId:t}})},products:e=>{let{limit:t,category:o,columns:r,orderBy:n,order:i}=e;return(0,f.makePlaceholder)({content:"{{editor_product_products}}",attr:{limit:t,category:o,columns:r,orderby:n,order:i}})}},x=["centerLeft","centerRight"];class P extends c.default{static get componentId(){return"WOOPages"}static defaultValue=y.default;state={taxonomies:[]};componentDidMount(){(0,u.getTerms)("product_cat").then((e=>this.setState({taxonomies:e})))}containerRef=i.default.createRef();handleResizerChange=e=>this.patchValue(e);handleDynamicContentSuccess=()=>{if("product"===this.getValue().shortcode){const e=this.containerRef.current?.querySelector(".woocommerce-product-gallery");e&&(0,n.default)(e).wc_product_gallery?.()}};renderForEdit(e,t,o){const n=(0,r.default)("brz-woo-pages",(0,p.css)(this.constructor.componentId,this.getId(),(0,h.style)(e,t,o)));return i.default.createElement(s.default,this.makeToolbarPropsFromConfig2((0,b.default)(this.state.taxonomies),g),i.default.createElement(l.default,{selectorName:this.getId(),css:e.customCSS},i.default.createElement(d.Wrapper,this.makeWrapperProps({className:n,ref:this.containerRef}),i.default.createElement(a.default,{points:x,value:e,onChange:this.handleResizerChange},i.default.createElement(m.DynamicContentHelper,{placeholder:w[e.shortcode]?.(e),tagName:"div",placeholderIcon:"woo-2",onSuccess:this.handleDynamicContentSuccess,props:{className:"brz-woo-page"}})))))}}},67044:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),options:[{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),position:65}]}]},{id:"padding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",disabled:!0},{id:"bgPadding",type:"padding-dev",label:(0,r.t)("Padding"),devices:"responsive",position:50},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"responsive",disabled:!0},{id:"border",type:"corners-dev",label:(0,r.t)("Corner"),devices:"responsive",position:65}]}]}]}},33854:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeWidth"]},".brz &&:hover .brz-woo-page":{standart:["cssStylePaddingBG","cssStyleBgColor","cssStyleBgGradient","cssStyleBorder","cssStyleBorderRadius","cssStyleBoxShadow"]}}})}},55644:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256),l=o(24119),s=e=>({getItems:c(e)}),c=e=>t=>{let{v:o,device:s}=t;const c=e=>(0,i.defaultValueValue)({v:o,key:e,device:s}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("bgColorHex"),c("bgColorPalette")),u=c("shortcode"),p="products"!==u;return[{id:"toolbarWOOPages",type:"popover-dev",config:{icon:"nc-woo-pages",title:(0,n.t)("Shop Pages")},devices:"desktop",position:10,options:[{id:"shortcode",label:(0,n.t)("Page"),type:"select-dev",devices:"desktop",choices:[{title:(0,n.t)("Cart"),value:"woocommerce_cart"},{title:(0,n.t)("Checkout"),value:"woocommerce_checkout"},{title:(0,n.t)("My Account"),value:"woocommerce_my_account"},{title:(0,n.t)("Order Tracking"),value:"woocommerce_order_tracking"},{title:(0,n.t)("Product"),value:"product"},{title:(0,n.t)("Products"),value:"products"}]},{id:"productID",label:(0,n.t)("Product ID"),type:"inputText-dev",devices:"desktop",disabled:"product"!==u,placeholder:(0,n.t)("Product ID or SKU")},{id:"columns",label:(0,n.t)("Columns"),type:"slider-dev",devices:"desktop",disabled:p,config:{min:1,max:6,inputMin:1,inputMax:6}},{id:"limit",label:(0,n.t)("Products Count"),type:"inputText-dev",devices:"desktop",disabled:p,config:{size:"short"}},{id:"category",label:(0,n.t)("Categories"),type:"select-dev",devices:"desktop",disabled:p,choices:[{title:(0,n.t)("All"),value:""},...e.map((e=>({title:e.name,value:e.slug})))]},{id:"orderBy",label:(0,n.t)("Filter By"),type:"select-dev",devices:"desktop",disabled:p,choices:[{title:(0,n.t)("Random"),value:"name"},{title:(0,n.t)("Title"),value:"title"},{title:(0,n.t)("Date"),value:"date"},{title:(0,n.t)("Rating"),value:"rating"},{title:(0,n.t)("Popularity"),value:"popularity"},{title:(0,n.t)("Menu Order"),value:"menu_order"},{title:(0,n.t)("Random"),value:"rand"},{title:(0,n.t)("ID"),value:"id"}]},{id:"order",label:(0,n.t)("Order"),type:"radioGroup-dev",devices:"desktop",disabled:p,choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(d,c("bgColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabBackground",label:(0,n.t)("Background"),options:[{id:"",type:"backgroundColor-dev",states:[l.NORMAL,l.HOVER]}]},{id:"tabBorder",label:(0,n.t)("Border"),options:[{id:"border",type:"border-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]},{id:"tabBoxShadow",label:(0,n.t)("Shadow"),options:[{id:"boxShadow",type:"boxShadow-dev",devices:"desktop",states:[l.NORMAL,l.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"width",label:(0,n.t)("Width"),type:"slider-dev",config:{min:1,max:"px"===c("widthSuffix")?1e3:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,n.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,n.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},50879:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=g(o(60042)),n=g(o(27378)),i=g(o(36275)),a=g(o(67439)),l=g(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(86022),p=g(o(34236)),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(16288)),m=o(52535),y=g(o(78381));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}class b extends l.default{static get componentId(){return"WOOPrice"}static defaultValue=p.default;state={hasDiscount:!1,hasTwoPrices:!1};handleDCLoad=e=>{this.setState({hasDiscount:e.includes("")}),this.setState({hasTwoPrices:e.indexOf("woocommerce-Price-amount")!==e.lastIndexOf("woocommerce-Price-amount")})};renderForEdit(e,t,o){const{hasDiscount:l,hasTwoPrices:p}=this.state,{className:g}=e,h=(0,r.default)("brz-woo-price",g,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o))),b=(0,y.default)({hasDiscount:l,hasTwoPrices:p}),v=(0,d.makePlaceholder)({content:"{{editor_product_price}}"});return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(b,f),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:h}),n.default.createElement(s.DynamicContentHelper,{placeholder:v,placeholderIcon:"woo-price",tagName:"div",onSuccess:this.handleDCLoad}))))}}},16288:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Product Price"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},52535:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover > div > p.price":{standart:["cssStyleElementWOOPriceColumn","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleColor"]},".brz &&:hover ins":{standart:["cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleElementWOOPriceSpacingLast"]},".brz &&:hover del":{standart:["cssStyleElementWOOPriceSaleFontFamily","cssStyleElementWOOPriceSaleFontSize","cssStyleElementWOOPriceSaleLineHeight","cssStyleElementWOOPriceSaleFontWeight","cssStyleElementWOOPriceSaleLetterSpacing","cssStyleElementWOOPriceColorSale","cssStyleElementWOOPriceSpacingFirst"]},".brz &&:hover .amount:first-child":{standart:["cssStyleElementWOOPriceSpacingFirst"]},".brz &&:hover .amount:nth-child(2)":{standart:["cssStyleElementWOOPriceSpacingLast"]}}})}},78381:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return l},getItems:function(){return s}});const r=o(64985),n=o(69321),i=o(81405),a=o(68256),l=e=>({getItems:s(e)}),s=e=>{let{hasDiscount:t,hasTwoPrices:o}=e;return e=>{let{v:l,device:s}=e;const c=e=>(0,n.defaultValueValue)({v:l,key:e,device:s,state:"normal"}),{hex:d}=(0,a.getOptionColorHexByPalette)(c("colorHex"),c("colorPalette"));return[{id:"toolbarWOOPrice",type:"popover-dev",config:{icon:"nc-woo-price",title:(0,r.t)("Product Price")},devices:"desktop",position:60,disabled:!o,options:[{id:"column",label:(0,r.t)("Column"),type:"switch-dev",devices:"desktop"},{id:"spacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:20,units:[{title:"px",value:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===s?"large":"auto",title:(0,r.t)("Typography")},position:70,options:[{id:"tabsToolbarTypography",type:"tabs-dev",tabs:[{id:"tabSale",label:(0,r.t)("Sale"),options:[{id:"sale",type:"typography-dev",disabled:!t,config:{fontFamily:"desktop"===s}}]},{id:"tabPrice",label:(0,r.t)("Price"),options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===s}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(d,c("colorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsToolbarColor",type:"tabs-dev",tabs:[{id:"saleColor",label:(0,r.t)("Sale"),options:[{id:"saleColor",type:"colorPicker-dev",devices:"desktop",disabled:!t}]},{id:"colorPrice",label:(0,r.t)("Price"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:110}]}}},58224:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),n=g(o(27378)),i=g(o(36275)),a=g(o(67439)),l=g(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(86022),p=g(o(50067)),f=b(o(51358)),m=o(78016),y=b(o(76177));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends l.default{static get componentId(){return"WOOProductMeta"}static defaultValue=p.default;renderForEdit(e,t,o){const l=(0,r.default)("brz-wooproductmeta",{"brz-wooproductmeta-table":"table"===e.elementType},e.className,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o))),p=(0,d.makePlaceholder)({content:"{{editor_product_metas}}"});return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(y,f),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:l}),n.default.createElement(s.DynamicContentHelper,{placeholder:p,placeholderIcon:"woo-meta",tagName:"div"}))))}}},51358:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Product Meta"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},78016:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover > div > .brz-metas":{standart:["cssStyleElementWOOProductMetaType"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container:not(:first-child)":{standart:["cssStyleElementWOOProductMetaDividers"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container:not(:last-child)":{standart:["cssStyleElementWOOProductMetaRightSpacingInline"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container > .brz-wooproductmeta__item":{standart:["cssStyleElementWOOProductMetaTopSpacing"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container > .brz-wooproductmeta__item-category":{standart:["cssStyleElementWOOProductMetaCategoryFontFamily","cssStyleElementWOOProductMetaCategoryFontSize","cssStyleElementWOOProductMetaCategoryLineHeight","cssStyleElementWOOProductMetaCategoryFontWeight","cssStyleElementWOOProductMetaCategoryLetterSpacing","cssStyleElementWOOProductMetaCategoryColor"]},".brz &&:hover > div > .brz-metas > .brz-wooproductmeta__container > .brz-wooproductmeta__item-value":{standart:["cssStyleElementWOOProductMetaValueFontFamily","cssStyleElementWOOProductMetaValueFontSize","cssStyleElementWOOProductMetaValueLineHeight","cssStyleElementWOOProductMetaValueFontWeight","cssStyleElementWOOProductMetaValueLetterSpacing","cssStyleElementWOOProductMetaRightSpacing","cssStyleElementWOOProductMetaValueColor"]}}})}},76177:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"nomal"}),s=l("elementType"),{hex:c}=(0,a.getOptionColorHexByPalette)(l("categoryColorHex"),l("categoryColorPalette"));return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-meta",title:(0,n.t)("Product Meta")},position:20,options:[{id:"elementType",type:"select-dev",label:(0,n.t)("Type"),devices:"desktop",choices:[{title:(0,n.t)("Column"),value:"column"},{title:(0,n.t)("Table"),value:"table"},{title:(0,n.t)("Inline"),value:"inline"}]},{id:"topSpacing",type:"slider-dev",label:(0,n.t)("Between"),disabled:"inline"===s,config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"rightSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTypographyCategory",label:(0,n.t)("Category"),options:[{id:"category",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyValue",label:(0,n.t)("Values"),options:[{id:"value",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(c,l("categoryColorOpacity"))}}},position:80,devices:"desktop",options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabCategory",label:(0,n.t)("Category"),options:[{id:"categoryColor",type:"colorPicker-dev",devices:"dekstop"}]},{id:"tabValue",label:(0,n.t)("Value"),options:[{id:"valueColor",type:"colorPicker-dev",devices:"desktop"}]},{id:"tabDividers",label:(0,n.t)("Dividers"),options:[{id:"dividersColor",disabled:"inline"===s,type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:"advancedSettings",type:"advancedSettings",roles:["admin"],position:110,devices:"desktop",icon:"nc-cog"}]}},86799:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=m(o(27378)),n=m(o(63692)),i=m(o(36275)),a=o(89474),l=m(o(67439)),s=g(o(24334)),c=g(o(13120)),d=m(o(65897)),u=m(o(60042)),p=o(90437),f=o(94220);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(y=function(e){return e?o:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=y(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const h=["centerLeft","centerRight"];class b extends n.default{static get componentId(){return"WOOProductPage"}static defaultValue=d.default;handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const n={id:e.productID},d=(0,u.default)((0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(s,c),r.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(a.WPShortcode,{name:"brizy_product_page",attributes:n,placeholderIcon:"woo-2",className:d,resizerPoints:h,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}const v=b},13120:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("WooCommerce Product");function n(){return[]}},90437:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},24334:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarWOOProductPage",type:"popover-dev",config:{icon:"nc-woo-2"},devices:"desktop",position:10,options:[{id:"productID",label:(0,r.t)("Product ID"),type:"inputText-dev",devices:"desktop",placeholder:(0,r.t)("Product ID or SKU")}]},{id:"toolbarSettings",type:"popover-dev",position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"px",title:"px"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},38102:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=y(o(27378)),n=y(o(63692)),i=y(o(36275)),a=o(89474),l=y(o(67439)),s=y(o(80923)),c=y(o(7706)),d=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=g(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(40688)),u=y(o(60042)),p=o(64539),f=o(94220),m=o(64187);function y(e){return e&&e.__esModule?e:{default:e}}function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(g=function(e){return e?o:t})(e)}const h=["centerLeft","centerRight"];class b extends n.default{static get componentId(){return"WOOProducts"}static defaultValue=s.default;state={taxonomies:[]};componentDidMount(){(0,m.getTerms)("product_cat").then((e=>this.setState({taxonomies:e})))}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const n=(0,c.default)(this.state.taxonomies),s={ids:e.ids,limit:e.limit,category:e.category,columns:e.columns,orderby:e.orderBy,order:e.order},m=(0,u.default)((0,f.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,p.style)(e,t,o)));return r.default.createElement(l.default,this.makeToolbarPropsFromConfig2(n,d),r.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(a.WPShortcode,{name:"products",attributes:s,placeholderIcon:"woo-2",placeholderContainerWidth:this.props.meta.desktopW,className:m,resizerPoints:h,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}const v=b},40688:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Shop Products");function n(){return[]}},64539:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},7706:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n=e=>({getItems:i(e)}),i=e=>()=>[{id:"toolbarWOOProducts",type:"popover-dev",config:{icon:"nc-woo-products",title:(0,r.t)("Shop Products")},devices:"desktop",position:10,options:[{id:"WOOProductsTabs",type:"tabs-dev",tabs:[{id:"layoutTab",label:(0,r.t)("Layout"),options:[{id:"columns",label:(0,r.t)("Columns"),type:"slider-dev",config:{min:1,max:6,inputMin:1,inputMax:6}},{id:"limit",label:(0,r.t)("Products Count"),type:"inputText-dev",devices:"desktop",config:{size:"short"}}]},{id:"filterTab",label:(0,r.t)("Filter"),options:[{id:"category",label:(0,r.t)("Categories"),type:"select-dev",devices:"desktop",choices:[{title:(0,r.t)("All"),value:""},...e.map((e=>({title:e.name,value:e.slug})))]},{id:"orderBy",label:(0,r.t)("Filter By"),type:"select-dev",devices:"desktop",choices:[{title:(0,r.t)("Random"),value:"name"},{title:(0,r.t)("Title"),value:"title"},{title:(0,r.t)("Date"),value:"date"},{title:(0,r.t)("Rating"),value:"rating"},{title:(0,r.t)("Popularity"),value:"popularity"},{title:(0,r.t)("Menu Order"),value:"menu_order"},{title:(0,r.t)("Random"),value:"rand"},{title:(0,r.t)("ID"),value:"id"}]},{id:"order",devices:"desktop",label:(0,r.t)("Order"),type:"radioGroup-dev",choices:[{value:"ASC",icon:"nc-up"},{value:"DESC",icon:"nc-down"}]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{icon:"nc-cog"},position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]},28891:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),n=g(o(27378)),i=g(o(36275)),a=g(o(67439)),l=g(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(86022),p=g(o(8289)),f=b(o(493)),m=o(52569),y=b(o(71582));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends l.default{static get componentId(){return"WOORating"}static defaultValue=p.default;renderForEdit(e,t,o){const l=(0,r.default)("brz-woo-rating",{"brz-disabled-rating-text":"off"===e.text},e.className,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o))),p=(0,d.makePlaceholder)({content:"{{editor_product_rating}}"});return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(y,f),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:l}),n.default.createElement(s.DynamicContentHelper,{placeholder:p,placeholderIcon:"woo-rating",tagName:"div",blocked:!1}))))}}},493:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Product Rating"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:70,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}},{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},52569:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .star-rating:hover":{standart:["cssStyleElementWOORatingSize","cssStyleColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .star-rating:hover:before":{standart:["cssStyleElementWOORatingBgStarColor"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]},".brz && .woocommerce-review-link:hover":{standart:["cssStyleElementWOORatingSpacing","cssStyleElementWOORatingTextColor","cssStyleTypography3FontFamily","cssStyleTypography3FontSize","cssStyleTypography3LineHeight","cssStyleTypography3FontWeight","cssStyleTypography3LetterSpacing"],interval:["cssStyleHoverTransition","cssStylePropertyHoverTransitionColor"]}}})}},71582:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(24119);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),s="off"===l("text");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-woo-rating",title:(0,n.t)("Product Rating")},position:60,options:[{id:"text",label:(0,n.t)("Text"),devices:"desktop",type:"switch-dev"},{id:"ratingSize",type:"slider-dev",label:(0,n.t)("Size"),config:{min:0,max:100,units:[{value:"px",title:"px"}]}},{id:"spacing",type:"slider-dev",label:(0,n.t)("Spacing"),disabled:s,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},position:70,options:[{id:"typography",type:"typography-dev",disabled:s,config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(l("colorHex"),l("colorOpacity"))}}},devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabStarColor",label:(0,n.t)("Rating"),options:[{id:"color",type:"colorPicker-dev",states:[a.NORMAL,a.HOVER]}]},{id:"tabBgStarColor",label:(0,n.t)("Bg Star"),options:[{id:"bgStarColor",type:"colorPicker-dev",states:[a.NORMAL,a.HOVER]}]},{id:"tabTextColor",label:(0,n.t)("Text"),options:[{id:"textColor",type:"colorPicker-dev",disabled:s,states:[a.NORMAL,a.HOVER]}]}]}]},{id:"advancedSettings",type:"advancedSettings",roles:["admin"],position:110,devices:"desktop",icon:"nc-cog"}]}},75371:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),n=g(o(27378)),i=g(o(36275)),a=g(o(67439)),l=g(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(86022),p=g(o(31382)),f=b(o(9522)),m=o(62665),y=b(o(29911));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends l.default{static get componentId(){return"WOOSku"}static defaultValue=p.default;renderForEdit(e,t,o){const{className:l}=e,p=(0,r.default)("brz-woosku",l,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o))),g=(0,d.makePlaceholder)({content:"{{editor_product_sku}}"});return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(y,f),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:p}),n.default.createElement(s.DynamicContentHelper,{placeholder:g,placeholderIcon:"woo-sku",outerClassName:p,tagName:"div"}))))}}},9522:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Product SKU"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},62665:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]}}})}},29911:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),n=o(81405),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("colorHex"),l("colorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(s,l("colorOpacity"))}}},roles:["admin"],position:80,devices:"desktop",options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:110}]}},38170:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=g(o(60042)),n=g(o(27378)),i=g(o(36275)),a=g(o(67439)),l=g(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(86022),p=g(o(33806)),f=b(o(15141)),m=o(98170),y=b(o(40720));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends l.default{static get componentId(){return"WOOStock"}static defaultValue=p.default;renderForEdit(e,t,o){const{className:l}=e,p=(0,r.default)("brz-woo-stock",l,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o))),g=(0,d.makePlaceholder)({content:"{{editor_product_stock}}"});return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(y,f),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:p}),n.default.createElement(s.DynamicContentHelper,{placeholder:g,placeholderIcon:"woo-stock",tagName:"div"}))))}}},15141:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Product Stock"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},98170:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .stock":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleColor"]}}})}},40720:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(64985),n=o(69321),i=o(81405),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,n.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("colorHex"),l("colorPalette"));return[{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(s,l("colorOpacity"))}}},roles:["admin"],devices:"desktop",position:80,options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:110}]}},68676:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(60042)),n=g(o(27378)),i=g(o(36275)),a=g(o(67439)),l=g(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(86022),p=g(o(79031)),f=b(o(53637)),m=o(10108),y=b(o(77281));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends l.default{static get componentId(){return"WPBreadcrumbs"}static defaultValue=p.default;renderForEdit(e,t,o){const{className:l}=e,p=(0,r.default)("brz-wp__breadcrumbs",l,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o))),g=(0,d.makePlaceholder)({content:"{{editor_breadcrumbs}}"});return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(y,f),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:p}),n.default.createElement(s.DynamicContentHelper,{placeholder:g,placeholderIcon:"wp-breadcrumbs",tagName:"div",blocked:!1}))))}}const S=v},53637:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=e=>{let{v:t}=e;return"woo"===t.type?(0,r.t)("Product Breadcrumbs"):(0,r.t)("Breadcrumbs")},i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:70,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},10108:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz && .brz-breadcrumbs .brz-a:hover":{standart:["cssStyleSizeTextSpacing"],interval:["cssStyleHoverTransition"]},".brz && .brz-breadcrumbs .brz-li:hover":{standart:["cssStyleColor","cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing"]},".brz &&:hover .brz-breadcrumbs .brz-icon-svg":{standart:["cssStyleSizeTextSpacing","cssStyleElementBreadcrumbsArrowSize","cssStyleElementBreadcrumbsColorArrows"]},".brz && .brz-breadcrumbs > .brz-li:last-child .brz-a:hover":{standart:["cssStyleElementBreadcrumbsColorActive"]}}})}},77281:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return s}});const r=o(64985),n=o(81405),i=o(68256),a=o(69321),l=o(24119);function s(e){let{v:t,device:o}=e;const s=e=>(0,a.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:c}=(0,i.getOptionColorHexByPalette)(s("colorHex"),s("colorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-wp-breadcrumbs",title:(0,r.t)("Product Breadcrumbs")},position:60,options:[{id:"textSpacing",label:(0,r.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,r.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",devices:"desktop",config:{size:"auto",title:(0,r.t)("Colors"),icon:{style:{backgroundColor:(0,n.hexToRgba)(c,s("colorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabLinks",label:(0,r.t)("Links"),devices:"desktop",options:[{id:"color",type:"colorPicker-dev",states:[l.NORMAL,l.HOVER,l.ACTIVE],devices:"desktop"}]},{id:"colorArrows",label:(0,r.t)("Arrows"),devices:"desktop",options:[{id:"arrowsColor",type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:"advancedSettings",type:"advancedSettings",sidebarLabel:(0,r.t)("More Settings"),roles:["admin"],position:110,icon:"nc-cog",devices:"desktop"}]}},83003:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const r=g(o(27378)),n=g(o(60042)),i=g(o(63692)),a=g(o(36275)),l=g(o(22546)),s=o(89474),c=g(o(67439)),d=b(o(15177)),u=b(o(95966)),p=g(o(50295)),f=o(17475),m=o(94220),y=o(28617);function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const v=["centerLeft","centerRight"];class S extends i.default{static get componentId(){return"WPCustomShortcode"}static defaultValue=p.default;handleResizerChange=e=>this.patchValue(e);handleValueChange(e,t){const o=l.default.getAll();if(t.patch.shortcode&&!o.user.allowScripts){const t=(0,y.xss)(e.shortcode,"discard");super.handleValueChange({...e,shortcode:t})}else super.handleValueChange(e,t)}renderForEdit(e,t,o){const{className:i}=e,l=(0,n.default)((0,m.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,f.style)(e,t,o)),i);return r.default.createElement(c.default,this.makeToolbarPropsFromConfig2(d,u),r.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},r.default.createElement(s.WPShortcode,{raw:e.shortcode,placeholderIcon:"wp-custom-shortcode",className:l,height:45,resizerPoints:v,resizerMeta:this.props.meta,resizerValue:e,resizerOnChange:this.handleResizerChange})))}}const w=S},95966:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return r},getItems:function(){return n}});const r=(0,o(64985).t)("Shortcode");function n(){return[]}},17475:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},15177:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return n}});const r=o(64985);function n(){return[{id:"toolbarWPCustomShortcode",type:"popover-dev",config:{icon:"nc-wp-shortcode",size:"large"},devices:"desktop",position:10,options:[{id:"shortcode",type:"codeMirror-dev",devices:"desktop",placeholder:(0,r.t)("Example [gallery id='123' size='medium']"),config:{language:"html"}}]},{id:"toolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},27754:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=g(o(60042)),n=g(o(27378)),i=g(o(36275)),a=g(o(67439)),l=g(o(63692)),s=o(8704),c=o(94220),d=o(9644),u=o(86022),p=g(o(11816)),f=b(o(36772)),m=o(93822),y=b(o(64149));function g(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(h=function(e){return e?o:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=h(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class v extends l.default{static get componentId(){return"WPPostInfo"}static defaultValue=p.default;renderForEdit(e,t,o){const{className:l,postElements:p}=e,g=e=>JSON.parse(p).some((t=>t===e)),h=(0,r.default)("brz-wp__postinfo",{"brz-wp__postinfo__column":"column"===e.large},{"brz-wp__postinfo__disabled-author":!g("author")},{"brz-wp__postinfo__disabled-date":!g("date")},{"brz-wp__postinfo__disabled-time":!g("time")},{"brz-wp__postinfo__disabled-comments":!g("comments")},l,(0,c.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,m.style)(e,t,o))),b=(0,d.makePlaceholder)({content:"{{editor_post_info}}"});return n.default.createElement(a.default,this.makeToolbarPropsFromConfig2(y,f),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(u.Wrapper,this.makeWrapperProps({className:h}),n.default.createElement(s.DynamicContentHelper,{placeholder:b,placeholderIcon:"wp-post-info",tagName:"div",blocked:!1}))))}}const S=v},36772:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Post Info"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"},{id:"hoverTransition",label:(0,r.t)("Hover Transition"),devices:"desktop",position:70,type:"slider-dev",config:{min:0,max:99,units:[{title:"ms",value:"ms"}]}}]}]}]}]}]}},93822:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover .brz-wp__postinfo .brz-li":{standart:["cssStyleTypography2FontFamily","cssStyleTypography2FontSize","cssStyleTypography2LineHeight","cssStyleTypography2FontWeight","cssStyleTypography2LetterSpacing","cssStyleColor","cssStyleElementPostInfoSpacing"]},".brz &&:hover .brz-wp__postinfo .brz-icon-svg":{standart:["cssStyleElementPostInfoColorIcons"]}}})}},64149:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return l}});const r=o(81405),n=o(64985),i=o(69321),a=o(68256);function l(e){let{v:t,device:o}=e;const l=e=>(0,i.defaultValueValue)({v:t,key:e,device:o,state:"normal"}),{hex:s}=(0,a.getOptionColorHexByPalette)(l("iconsColorHex"),l("iconsColorPalette"));return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-wp-post-info",title:(0,n.t)("Post info")},position:60,options:[{id:"postElements",type:"multiSelect-dev",label:(0,n.t)("Elements"),placeholder:(0,n.t)("0 Selected"),devices:"desktop",choices:[{value:"author",title:(0,n.t)("Author")},{value:"date",title:(0,n.t)("Date")},{value:"time",title:(0,n.t)("Time")},{value:"comments",title:(0,n.t)("Comments")}]},{id:"large",label:(0,n.t)("Orientation"),type:"radioGroup-dev",devices:"desktop",choices:[{value:"inline",icon:"nc-horizontal-items"},{value:"column",icon:"nc-vertical-items"}]},{id:"textSpacing",label:(0,n.t)("Spacing"),type:"slider-dev",config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,n.t)("Typography")},roles:["admin"],position:70,options:[{id:"",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,n.t)("Colors"),icon:{style:{backgroundColor:(0,r.hexToRgba)(s,l("iconsColorOpacity"))}}},position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabText",label:(0,n.t)("Text"),options:[{id:"color",type:"colorPicker-dev",devices:"desktop"}]},{id:"colorIcons",label:(0,n.t)("Icons"),options:[{id:"iconsColor",type:"colorPicker-dev",devices:"desktop"}]}]}]},{id:"advancedSettings",type:"advancedSettings",devices:"desktop",icon:"nc-cog",position:150}]}},73412:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});const r=h(o(60042)),n=h(o(27378)),i=o(66848),a=h(o(36275)),l=h(o(67439)),s=h(o(63692)),c=o(8704),d=o(94220),u=o(9644),p=o(86022),f=h(o(21193)),m=v(o(98660)),y=o(60849),g=v(o(88394));function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}function v(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class S extends s.default{static get componentId(){return"WPPostNavigation"}static defaultValue=f.default;handleChangeNext=e=>{this.patchValue({next:e})};handleChangePrevious=e=>{this.patchValue({previous:e})};attributesData(e){const t=JSON.parse(e.categories);return 0===t.length?{post_type:"post"}:t.reduce(((t,o)=>({...t,[`${o}_taxonomy`]:e[o]})),{post_type:t.join()})}renderForEdit(e,t,o){const{next:s,previous:c,showTitle:u,showPost:f}=e,h=(0,r.default)("brz-single-post-navigation",(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,y.style)(e,t,o)));return n.default.createElement(l.default,this.makeToolbarPropsFromConfig2(g,m),n.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:h}),"on"===u&&n.default.createElement("div",{className:"brz-navigation-title"},n.default.createElement(i.TextEditor,{value:c,onChange:this.handleChangePrevious}),n.default.createElement(i.TextEditor,{value:s,onChange:this.handleChangeNext})),"on"===f&&n.default.createElement("div",{className:"brz-wp-shortcode"},n.default.createElement("div",{className:"brz-navigation"},n.default.createElement("a",{className:"brz-a",href:"#",rel:"prev"},"Previous post"),n.default.createElement("a",{className:"brz-a",href:"#",rel:"next"},"Next post"))))))}renderForView(e,t,o){const{next:i,previous:l,showTitle:s,showPost:f}=e,m=(0,r.default)("brz-single-post-navigation",(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,y.style)(e,t,o))),g={showTitle:s,showPost:f,...this.attributesData(e),..."on"===s&&{titlePrevious:l,titleNext:i}},h=(0,u.makePlaceholder)({content:"{{editor_post_navigation}}",attr:g});return n.default.createElement(a.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:m}),n.default.createElement(c.DynamicContentHelper,{placeholder:h,tagName:"div"})))}}const w=S},98660:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{title:function(){return n},getItems:function(){return a}});const r=o(64985),n=(0,r.t)("Post Navigation"),i='\n

You can use the following selectors to create targeted CSS.

\n

\n element {...}\n
\n element .child-element {...}\n

';function a(){return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,r.t)("Styling"),label:(0,r.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,r.t)("Basic"),icon:"nc-styling",options:[]},{id:"moreSettingsAdvanced",label:(0,r.t)("Advanced"),icon:"nc-cog",options:[{id:"customCSS",label:(0,r.t)("Custom CSS"),type:"codeMirror-dev",position:45,display:"block",devices:"desktop",helper:{content:i},placeholder:"element { CSS goes here }"}]}]}]}]}]}},60849:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&":{standart:["cssStyleSizeWidth"]},".brz && .brz-navigation-title":{standart:["cssStyleElementPostNavigationSpacing"]},".brz && .brz-navigation-title .brz-span:hover":{standart:["cssStyleElementPostNavigationColorTitle","cssStyleElementPostNavigation2TitleFontFamily","cssStyleElementPostNavigation2TitleFontSize","cssStyleElementPostNavigation2TitleLineHeight","cssStyleElementPostNavigation2TitleFontWeight","cssStyleElementPostNavigation2TitleLetterSpacing"]},".brz && .brz-navigation-title .brz-a:not(.brz-btn)[href]:hover":{standart:["cssStyleElementPostNavigationColorTitle","cssStyleElementPostNavigation2TitleFontFamily","cssStyleElementPostNavigation2TitleFontSize","cssStyleElementPostNavigation2TitleLineHeight","cssStyleElementPostNavigation2TitleFontWeight","cssStyleElementPostNavigation2TitleLetterSpacing"]},".brz && .brz-navigation .brz-a:not(.brz-btn)[href]:hover":{standart:["cssStyleElementPostNavigationColorPost","cssStyleElementPostNavigation2PostFontFamily","cssStyleElementPostNavigation2PostFontSize","cssStyleElementPostNavigation2PostLineHeight","cssStyleElementPostNavigation2PostFontWeight","cssStyleElementPostNavigation2PostLetterSpacing"]},".brz &&:hover:before":{standart:["cssStyleElementPostNavigationShowSeparation","cssStyleSizeHeight","cssStyleBgColor"]}}})}},88394:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return u}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(81405),a=o(64985),l=o(69321),s=o(68256),c=o(24119),d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return!e.some((e=>t===e))};function u(e){let{v:t,device:o,state:n}=e;const u=e=>(0,l.defaultValueValue)({v:t,key:e,device:o,state:n}),p=Boolean(r.default.get("wp")),f=JSON.parse(u("categories")),m=u("showPost"),y=u("showTitle");return[{id:"toolbarCurrentShortcode",type:"popover-dev",config:{icon:"nc-wp-post-navigation",title:(0,a.t)("Post Navigation")},position:60,options:[{id:"tabsCurrentElement",type:"tabs-dev",tabs:[{id:"tabCurrentElement",label:(0,a.t)("Settings"),options:[{id:"height",label:(0,a.t)("Separator"),type:"slider-dev",devices:"desktop",config:{min:50,max:150,units:[{value:"%",title:"%"}]}},{id:"spacing",label:(0,a.t)("Spacing"),type:"slider-dev",disabled:"off"===m||"off"===y,config:{min:0,max:100,units:[{value:"px",title:"px"}]}}]},{id:"tabAdvanced",label:(0,a.t)("Advanced"),options:[{id:"showTitle",label:(0,a.t)("Label"),type:"switch-dev",disabled:"off"===m,devices:"desktop"},{id:"showPost",label:(0,a.t)("Post"),type:"switch-dev",disabled:"off"===y,devices:"desktop"},{id:"showSeparation",label:(0,a.t)("Separator"),type:"switch-dev",devices:"desktop"}]}]}]},{id:"dynamicToolbarCarousel",type:"popover-dev",config:{icon:"nc-dynamic",title:(0,a.t)("Dynamic Content")},roles:["admin"],devices:"desktop",disabled:!p,position:80,options:[{id:"categories",type:"multiSelect-dev",label:(0,a.t)("Categories"),placeholder:(0,a.t)("0 Selected"),config:{size:"large"},choices:(0,s.getTaxonomiesMultiOptions)()},{id:"post",label:(0,a.t)("Post"),type:"select-dev",disabled:d(f,"post"),choices:(0,s.getTaxonomiesMultiOptionsSub)("post")},{id:"product",label:(0,a.t)("Product"),type:"select-dev",disabled:d(f,"product"),choices:(0,s.getTaxonomiesMultiOptionsSub)("product")}]},{id:"toolbarTypography",type:"popover-dev",config:{icon:"nc-font",size:"desktop"===o?"large":"auto",title:(0,a.t)("Typography")},position:70,options:[{id:"tabsTypography",type:"tabs-dev",tabs:[{id:"tabTypographyTitle",label:(0,a.t)("Label"),options:[{id:"titleTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]},{id:"tabTypographyPost",label:(0,a.t)("Post"),options:[{id:"postTypography",type:"typography-dev",config:{fontFamily:"desktop"===o}}]}]}]},{id:"toolbarColor",type:"popover-dev",config:{size:"auto",title:(0,a.t)("Colors"),icon:{style:{backgroundColor:(0,i.hexToRgba)(u("bgColorHex"),u("bgColorOpacity"))}}},roles:["admin"],devices:"desktop",position:90,options:[{id:"tabsColor",type:"tabs-dev",tabs:[{id:"tabTitle",label:(0,a.t)("Label"),options:[{id:"titleColor",type:"colorPicker-dev",disabled:"off"===u("showTitle"),states:[c.NORMAL,c.HOVER]}]},{id:"tabPost",label:(0,a.t)("Post"),options:[{id:"postColor",type:"colorPicker-dev",disabled:"off"===u("showTitle"),states:[c.NORMAL,c.HOVER]}]},{id:"tabSeparation",label:(0,a.t)("Separator"),options:[{id:"bgColor",type:"colorPicker-dev",disabled:"off"===u("showSeparation"),states:[c.NORMAL,c.HOVER]}]}]}]},{id:"toolbarSettings",type:"popover-dev",config:{title:(0,a.t)("Settings")},position:110,options:[{id:"width",label:(0,a.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{value:"%",title:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,a.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,a.t)("Effects"),icon:"nc-flash"}}]}]}]}]}},65878:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return S}});const r=h(o(60042)),n=h(o(27378)),i=h(o(36275)),a=h(o(67439)),l=h(o(63692)),s=o(8704),c=o(64187),d=o(94220),u=o(9644),p=o(86022),f=h(o(79657)),m=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=b(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(75967)),y=o(3114),g=h(o(72575));function h(e){return e&&e.__esModule?e:{default:e}}function b(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(b=function(e){return e?o:t})(e)}class v extends l.default{static get componentId(){return"WPSidebar"}static defaultValue=f.default;state={sidebars:[]};componentDidMount(){(0,c.getSidebars)().then((e=>{this.setState({sidebars:e}),""===this.getValue().sidebar&&e.length>0&&this.patchValue({sidebar:e[0].id})}))}handleResizerChange=e=>this.patchValue(e);renderForEdit(e,t,o){const{className:l}=e,c=(0,g.default)(this.state.sidebars),f=(0,r.default)("brz-wp__sidebar",(0,d.css)(`${this.constructor.componentId}`,`${this.getId()}`,(0,y.style)(e,t,o)),l),h=(0,u.makePlaceholder)({content:"{{editor_sidebar}}",attr:{sidebarId:e.sidebar}});return n.default.createElement(a.default,this.makeToolbarPropsFromConfig(c,m),n.default.createElement(i.default,{selectorName:this.getId(),css:e.customCSS},n.default.createElement(p.Wrapper,this.makeWrapperProps({className:f}),n.default.createElement(s.DynamicContentHelper,{placeholder:h,tagName:"div"}))))}}const S=v},75967:(e,t)=>{"use strict";function o(){return[]}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return o}})},3114:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleSizeMaxWidth"]}}})}},72575:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}});const r=o(64985),n=e=>{const t=e.map((e=>({title:e.title,value:e.id})));return{getItemsForDesktop:i(t),getItemsForTablet:a,getItemsForMobile:l}},i=e=>()=>[{id:"toolbarWPSidebar",type:"popover-dev",config:{icon:"nc-wp-shortcode"},position:90,options:[{id:"sidebar",label:(0,r.t)("Sidebar"),type:"select-dev",devices:"desktop",choices:e}]},{id:"toolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}},{id:"grid",type:"grid",separator:!0,columns:[{id:"grid-settings",width:50,options:[{id:"styles",type:"sidebarTabsButton-dev",config:{tabId:"styles",text:(0,r.t)("Styling"),icon:"nc-cog"}}]},{id:"grid-effects",width:50,options:[{id:"effects",type:"sidebarTabsButton-dev",config:{tabId:"effects",text:(0,r.t)("Effects"),icon:"nc-flash"}}]}]}]}],a=()=>[{id:"tabletToolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}}]}],l=()=>[{id:"mobileToolbarSettings",type:"popover-dev",roles:["admin"],position:110,options:[{id:"width",label:(0,r.t)("Width"),type:"slider-dev",config:{min:1,max:100,units:[{title:"%",value:"%"}]}}]}]},8704:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DynamicContentHelper",{enumerable:!0,get:function(){return c}});const r=l(o(60042)),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),i=l(o(53125)),a=o(16550);function l(e){return e&&e.__esModule?e:{default:e}}function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}function c(e){let{placeholder:t,tagName:o,props:l,placeholderIcon:s="wp-shortcode",placeholderHeight:c,onSuccess:d,blocked:u=!0,fallbackComponent:p}=e;const f=(0,a.useDC)(t),m="success"===f.status?f.data:t,y=f.status;if((0,n.useEffect)((()=>{"success"===y&&d&&d(m)}),[y,m,d]),"success"===y&&null!==(g=m)&&""!==g){const e=(0,r.default)(l?.className,{"brz-blocked":u});return n.default.createElement(o,{...l,className:""!==e?e:void 0,dangerouslySetInnerHTML:{__html:m},style:{minHeight:"20px"}})}if("waiting_delay"===y)return n.default.createElement("div",{style:{height:"20px"}});{const e=c?{height:c}:{};return p??n.default.createElement(i.default,{className:"placeholder-is-empty",style:e,icon:s})}var g}},89474:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{WPShortcode:function(){return p},WPShortcodeInner:function(){return f}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=u(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=d(o(10301)),i=d(o(60042)),a=d(o(53125)),l=d(o(31440)),s=o(6804),c=o(64187);function d(e){return e&&e.__esModule?e:{default:e}}function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(u=function(e){return e?o:t})(e)}class p extends r.Component{static defaultProps={name:"",attributes:{},height:null,raw:null,placeholderIcon:"wp-shortcode",resizerPoints:null,resizerMeta:null,resizerValue:null,resizerOnChange:null,renderHTMLInEditor:!0,className:"",style:{},blocked:!0,render:null};id=(0,s.uuid)(3);render(){const{className:e,style:t,resizerPoints:o,resizerMeta:n,resizerValue:a,resizerOnChange:s,...c}=this.props,d=(0,i.default)("brz-wp-shortcode",e);let u=r.default.createElement(f,c);return null!==a&&(u=r.default.createElement(l.default,{points:o,meta:n,value:a,onChange:s},u)),r.default.createElement("div",{className:d,style:t},u)}}class f extends r.Component{static defaultProps={name:"",attributes:{},raw:null,placeholderIcon:"wp-shortcode",renderHTMLInEditor:!0,render:null,onLoadHTML:n.default.noop};state={shortcodeHTML:null};componentDidMount(){const{renderHTMLInEditor:e}=this.props;e&&this.updateShortCodeHTML()}shouldComponentUpdate(e,t){const o=this.props,r=this.state;return!(n.default.isEqual(o.attributes,e.attributes)&&o.name===e.name&&o.raw===e.raw)||r.shortcodeHTML!==t.shortcodeHTML}componentDidUpdate(e){const t=this.props;(!n.default.isEqual(t.attributes,e.attributes)||t.name!==e.name||t.raw!==e.raw)&&this.updateShortCodeHTML()}updateShortCodeHTML(){const e=this.getShortcodeString();""!==e&&(0,c.shortcodeContent)(e).then((e=>{let{shortcode:t}=e;this.props.onLoadHTML(t),this.setState({shortcodeHTML:t})}))}getShortcodeString(){const{raw:e,name:t,attributes:o}=this.props;return null!==e?e:`[${t} ${o&&Object.keys(o).map((e=>String(o[e])&&`${e}="${o[e]}"`)).join(" ")||""}]`}renderMarkup(e){return{__html:e}}renderForEdit(){const{placeholderIcon:e,blocked:t,render:o,height:n}=this.props,{shortcodeHTML:i}=this.state;if(!i){const t=n?{minHeight:`${n}px`,height:`${n}px`}:{};return r.default.createElement(a.default,{style:t,icon:e})}return"function"==typeof o?o(i):r.default.createElement("div",{className:t?"brz-blocked":"",dangerouslySetInnerHTML:this.renderMarkup(i)})}renderForView(){const{render:e}=this.props,t=this.getShortcodeString();return"function"==typeof e?e(t):r.default.createElement("div",{dangerouslySetInnerHTML:this.renderMarkup(t)})}render(){return this.renderForEdit()}}},37951:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(95664))&&n.__esModule?n:{default:n};var n;const i=o(64985),a={RichText:(0,i.t)("Text"),Image:(0,i.t)("Image"),Video:(0,i.t)("Video"),VideoPlaylist:(0,i.t)("Playlist"),Spacer:(0,i.t)("Spacer"),Line:(0,i.t)("Line"),Map:(0,i.t)("Map"),EmbedCode:(0,i.t)("Embed"),Form:(0,i.t)("Form"),Form2:(0,i.t)("Form"),IconText:(0,i.t)("Icon Box"),SoundCloud:(0,i.t)("SoundCloud"),Counter:(0,i.t)("Counter"),Countdown:(0,i.t)("Countdown"),Countdown2:(0,i.t)("Countdown"),Tabs:(0,i.t)("Tabs"),Timeline:(0,i.t)("Timeline"),Switcher:(0,i.t)("Switcher"),Table:(0,i.t)("Table"),ProgressBar:(0,i.t)("Progress"),Accordion:(0,i.t)("Accordion"),ImageGallery:(0,i.t)("Gallery"),Carousel:(0,i.t)("Carousel"),Row:(0,i.t)("Row"),Column:(0,i.t)("Column"),Posts:e=>"posts"===e.type?(0,i.t)("Posts"):"upsell"===e.type?(0,i.t)("Upsell"):"relatedProducts"===e.type?(0,i.t)("Related Products"):"categories"===e.type?(0,i.t)("Categories"):(0,i.t)("Products"),Archives:(0,i.t)("Archives"),Menu:(0,i.t)("Menu"),FacebookButton:(0,i.t)("Facebook Button"),FacebookComments:e=>"true"===e.review?(0,i.t)("Review"):(0,i.t)("Comments"),FacebookEmbed:(0,i.t)("Facebook Embed"),FacebookPage:(0,i.t)("Facebook Page"),FacebookGroup:(0,i.t)("Facebook Group"),WPBreadcrumbs:e=>"woo"===e.type?(0,i.t)("Product Breadcrumbs"):(0,i.t)("Breadcrumbs"),Audio:(0,i.t)("Audio"),Twitter:(0,i.t)("Twitter"),Facebook:(0,i.t)("Facebook"),Search:(0,i.t)("Search"),Login:(0,i.t)("Login"),Lottie:(0,i.t)("Lottie"),Filters:(0,i.t)("Filters"),StarRating:(0,i.t)("Rating"),ProtectedPage:(0,i.t)("Protected Form"),Translation:(0,i.t)("Translation"),Calendly:(0,i.t)("Calendly"),Alert:(0,i.t)("Alert"),WPSidebar:(0,i.t)("Sidebar"),WPCustomShortcode:(0,i.t)("Shortcode"),WPPostNavigation:(0,i.t)("Post Navigation"),WPPostsTitle:e=>"woo"===e?.type?(0,i.t)("Product Title"):(0,i.t)("Post Title"),WPPostContent:e=>"woo"===e?.type?(0,i.t)("Product Content"):(0,i.t)("Post Content"),WPPostExcerpt:(0,i.t)("Post Excerpt"),WPNavigation:(0,i.t)("Menu"),WPPostInfo:(0,i.t)("Post Info"),WPComments:(0,i.t)("Comments"),WOOExcerpt:(0,i.t)("Product Excerpt"),WOOProductMeta:(0,i.t)("Product Meta"),WOORating:(0,i.t)("Product Rating"),WOOCart:(0,i.t)("Shop Cart"),WOOAddToCart:(0,i.t)("Add to cart"),WOOPrice:(0,i.t)("Product Price"),WOOStock:(0,i.t)("Product Stock"),WOOSku:(0,i.t)("Product SKU"),WOOGallery:(0,i.t)("Product Gallery"),WOOAttributes:(0,i.t)("Product Attributes"),WOOCategories:(0,i.t)("Shop Categories"),WOOProducts:(0,i.t)("Shop Products"),WOOPages:(0,i.t)("Shop Pages"),EcwidMyAccount:(0,i.t)("My Account"),EcwidCart:(0,i.t)("Cart & Checkout"),EcwidProduct:(0,i.t)("Product"),EcwidProducts:(0,i.t)("Products"),EcwidShoppingBag:(0,i.t)("Shopping Bag"),AddToCart:(0,i.t)("Add To Cart"),Quantity:(0,i.t)("Quantity"),Price:(0,i.t)("Price"),KlavyioMarketing:(0,i.t)("Email Marketing by Klaviyo"),PreProduct:(0,i.t)("PreProduct"),TrustProductReview:(0,i.t)("Trust Product Review"),TrustProductRating:(0,i.t)("Trust Product Rating"),TrustSeals:(0,i.t)("Trust Product Seals"),ReviewVitals:(0,i.t)("Reviews by Vitals"),AliExpressReview:(0,i.t)("Widgets by AliExpress"),SealSubscription:(0,i.t)("Subscription by Seal"),OmegaTracking:(0,i.t)("Tracking by Omega"),AppstleSubscription:(0,i.t)("Subscription by Appstle"),BoldSubscription:(0,i.t)("Subscription by Bold"),ReviewOpinew:(0,i.t)("Review by Opinew"),UploadKit:(0,i.t)("Upload Fields by UploadKit"),BISStock:(0,i.t)("Back in Stock"),ZeptoPersonalizer:(0,i.t)("Personalizer by Zepto"),StampedReviews:(0,i.t)("Reviews by Stamped"),PaywhirlSubscription:(0,i.t)("Subscription by Paywhirl"),FastSimonUpsell:(0,i.t)("Upsell by FastSimon"),TipoBooking:(0,i.t)("Appointment Booking by Tipo"),ReviewJudgeMe:(0,i.t)("Review by Judge"),ReviewGrowave:(0,i.t)("Review by Growave"),YotPoReview:(0,i.t)("YotPo Product Review"),LimeSpot:(0,i.t)("Upsell by LimeSpot"),GrowaveWishlist:(0,i.t)("Wishlist by Growave"),BoldProduct:(0,i.t)("Product Options by Bold"),SnowBall:(0,i.t)("Marketing by Social SnowBall"),HeroWishList:(0,i.t)("Wishlist by Hero"),SpecialOffers:(0,i.t)("Special Offers"),TrustedBadge:(0,i.t)("Badges by Trusted"),OnVoard:(0,i.t)("Notifications by OnVoard"),WideBundle:(0,i.t)("WideBundle"),HextomBadges:(0,i.t)("Badges by Hextom"),ZoorixUpsell:(0,i.t)("Upsell by Zoorix"),VideoShopping:(0,i.t)("Video Shopping"),PushOwlNotifications:(0,i.t)("Notifications by PushOwl"),InfiniteOptions:(0,i.t)("Infinite Options by ShopPad"),HulkOptions:(0,i.t)("Product Options by Hulk"),KiwiChart:(0,i.t)("Kiwi Size Chart & Recommender"),OmnisendMarketing:(0,i.t)("Marketing by Omnisend"),MarselloMarketing:(0,i.t)("Marketing by Marsello"),PowrContactForm:(0,i.t)("Advanced Contact Form by POWR"),EmailMarketing:(0,i.t)("Email Marketing"),ParcelPanel:(0,i.t)("Parcel Panel Order Tracking"),ReferralCandy:(0,i.t)("Notifications by ReferralCandy"),LaiReviews:(0,i.t)("Reviews by Lai"),ProductOptions:(0,i.t)("Product Options"),RechargeSubscriptions:(0,i.t)("Subscriptions by Recharge"),FeraReviews:(0,i.t)("Reviews by Fera"),FrequentlyBought:(0,i.t)("Frequently Bought"),LooxReview:(0,i.t)("Review by Loox"),AreviewReviews:(0,i.t)("Reviews by Areview"),SwymWishList:(0,i.t)("WishList by Swym"),AutomizelyOrderTracking:(0,i.t)("Order Tracking by Automizely"),StampedBadge:(0,i.t)("Badges by Stamped"),OkendoReview:(0,i.t)("Review by Okendo"),AliReviews:(0,i.t)("Reviews by Ali"),SMSMarketing:(0,i.t)("SMS Marketing by Yotpo"),PickyStory:(0,i.t)("Widgets by PickyStory"),ReviewRivyo:(0,i.t)("Review by Rivyo"),UnlimitedBundles:(0,i.t)("Unlimited Bundles"),WiserUpsell:(0,i.t)("Upsell by Wiser"),BoldBundles:(0,i.t)("Bundles by Bold"),CrossSell:(0,i.t)("Cross Sell"),ProductMetafield:(0,i.t)("Metafield"),BlogPostMeta:(0,i.t)("Meta"),Vendor:(0,i.t)("Vendor"),Variant:(0,i.t)("Variant"),MinistryBrandsGroupLayout:(0,i.t)("Group Layout"),MinistryBrandsGroupSlider:(0,i.t)("Group Slider"),MinistryBrandsEventLayout:(0,i.t)("Event Layout"),MinistryBrandsEventCalendar:(0,i.t)("Event Calendar"),MinistryBrandsSermonLayout:(0,i.t)("Sermon Layout"),MinistryBrandsSermonList:(0,i.t)("Sermon List"),MinistryBrandsSermonFeatured:(0,i.t)("Sermon Featured"),MinistryBrandsSermonDetail:(0,i.t)("Sermon Detail"),MinistryBrandsGroupList:(0,i.t)("Group List"),MinistryBrandsGroupDetail:(0,i.t)("Group Detail"),MinistryBrandsEventFeatured:(0,i.t)("Event Featured"),MinistryBrandsGroupFeatured:(0,i.t)("Group Featured"),MinistryBrandsEventList:(0,i.t)("Event List"),MinistryBrandsEventDetail:(0,i.t)("Event Detail"),MinistryBrandsFormWidget:(0,i.t)("Form Widget"),Leadific:(0,i.t)("Leadific")},l={getItems:function(e){const t=r.default.getShortcodes(),{items:o}=e,{icon:n=""}=Object.values(t).flat().find((e=>e.component.resolve.value.items?.type===o[0]?.type))||{};let i=a[o[0]?.type];return"function"==typeof i&&(i=i(o[0]?.value)),[{id:"main",type:"group",title:i,icon:n,items:[]}]}}},9571:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(67439),n=o(16957),i=o(64985),a="MacOS"===(0,n.detectOS)(),l={getItems:(e,t)=>[{id:"main",type:"group",items:[{id:"remove",type:"button",title:(0,i.t)("Delete"),helperText:()=>a?"⌘ + delete":"ctrl + delete",onChange:()=>{(0,r.hideToolbar)(),t.selfDestruct()}}]}]}},36669:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return Q}});const r=q(o(60042)),n=Y(o(27378)),i=q(o(45771)),a=q(o(80544)),l=Y(o(39552)),s=o(62182),c=o(21407),d=o(10730),u=o(5264),p=o(46338),f=o(91435),m=o(16874),y=o(76742),g=q(o(58566)),h=Y(o(67439)),b=q(o(10787)),v=q(o(63692)),S=o(76753),w=o(5312),x=o(1621),P=o(97045),C=o(92213),T=o(94220),_=o(89787),k=o(98517),M=o(69321),O=Y(o(71162)),E=o(94306),B=o(86845),z=o(66559),I=Y(o(24119)),j=Y(o(95945)),L=Y(o(48499)),F=Y(o(59638)),N=o(76286),D=q(o(37951)),R=q(o(9571)),A=q(o(48425)),H=Y(o(20433)),W=Y(o(28067)),V=o(48382),G=Y(o(11097)),U=Y(o(6035));function q(e){return e&&e.__esModule?e:{default:e}}function $(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return($=function(e){return e?o:t})(e)}function Y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=$(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}class Q extends v.default{static get componentId(){return"Wrapper"}static defaultValue=A.default;static experimentalDynamicContent=!0;childToolbarExtend=void 0;toolbarRef=(0,n.createRef)();shouldComponentUpdate(e){return this.optionalSCU(e)}getInnerElement(){return this.getDBValue().items[0]}getTitleIfPro(){const e=this.getInnerElement();if(void 0!==e)return j.is(e.type)?(0,S.getProTitle)(e.type,e.value):void 0}handleValueChange(e,t){0===e.items.length?this.selfDestruct():super.handleValueChange(e,t)}handleRemove=()=>{this.selfDestruct()};handleExtendParentToolbar=e=>{this.childToolbarExtend=e};getMeta(e){const{horizontalAlign:t,tabletHorizontalAlign:o,mobileHorizontalAlign:r}=e,{meta:n}=this.props,{w:i,wNoSpacing:a}=(0,_.getWrapperContainerW)({v:e,w:n.desktopW,wNoSpacing:n.desktopWNoSpacing,device:z.DESKTOP}),{w:l,wNoSpacing:s}=(0,_.getWrapperContainerW)({v:e,w:n.tabletW,wNoSpacing:n.tabletWNoSpacing,device:z.TABLET}),{w:c,wNoSpacing:d}=(0,_.getWrapperContainerW)({v:e,w:n.mobileW,wNoSpacing:n.mobileWNoSpacing,device:z.MOBILE}),u=F.read(this.dvv("animationName"))??"none",p=this.dvv("animationInfiniteAnimation")??!1;return{...n,desktopW:i,desktopWNoSpacing:a,tabletW:l,tabletWNoSpacing:s,mobileW:c,mobileWNoSpacing:d,horizontalAlign:t,tabletHorizontalAlign:o,mobileHorizontalAlign:r,wrapperAnimationId:this.getId(),wrapperAnimationActive:"none"!==u&&p}}renderContent(e){const t="on"===e.showToolbar||"admin"!==(0,p.currentUserRole)()?e=>e.filter((e=>"duplicate"!==e.id&&"remove"!==e.id)):null,o=this.makeSubcomponentProps({bindWithKey:"items",itemProps:{meta:this.getMeta(e),toolbarExtend:this.makeToolbarPropsFromConfig2(U,W,{allowExtendFromChild:!1,parentItemsFilter:t}),extendParentToolbar:this.handleExtendParentToolbar}});return n.default.createElement(b.default,o)}getHoverData(e){const t=F.read(this.dvv("hoverName"))??"none",o=this.getInnerElement()?.type,r=(0,d.makeOptionValueToAnimation)(e),n=!o||c.disabledHoverForElements.includes(o)||!this.hoverAnimationOptionActive(t);return{animationId:this.getId(),cssKeyframe:t,options:(0,c.getHoverAnimationOptions)(r,t),isHidden:n}}renderStatic(e){let{v:t,vs:o,vd:c,extraAttr:d,className:y,ref:g}=e;const{customAttributes:b}=t,v=this.getTitleIfPro(),S=(0,k.getCSSId)(t);if(v){const e=n.default.createElement(u.ProBlocked,{text:v,absolute:!1,onRemove:this.handleRemove});return n.default.createElement(a.default,{type:"wrapper",color:"grey",borderStyle:"dotted"},(a=>{let{ref:s,attr:u,border:f}=a;return n.default.createElement(i.default,{ref:e=>{(0,E.attachRef)(e,s),(0,E.attachRef)(e,g||null)},component:"div",className:(0,r.default)(this.getWrapperClassName(t,o,c),y),animationId:this.getId(),animationClass:this.getAnimationClassName(t,o,c),componentProps:{...L.mRead(b),...u,...d,id:S}},n.default.createElement(l.ContextMenuExtend,this.makeContextMenuProps(R.default),n.default.createElement(l.default,{...this.makeContextMenuProps(D.default),componentId:t?.items[0]?.type},n.default.createElement(p.Roles,{allow:["admin"],fallbackRender:()=>e},"on"===t.showToolbar?n.default.createElement(h.ToolbarExtend,{onEscape:this.handleToolbarEscape},e):e,f))))}))}const{cssKeyframe:w,animationId:x,options:P,isHidden:C}=this.getHoverData(t),{wrapperAnimationActive:T=!1}=this.getMeta(t),_=(0,B.read)(T),M=n.default.createElement(f.ScrollMotion,{className:"brz-wrapper__scrollmotion",options:(0,m.makeOptionValueToMotion)(t)},n.default.createElement(s.HoverAnimation,{animationId:x,cssKeyframe:w,options:P,isDisabledHover:_,isHidden:C},this.renderContent(t)));return n.default.createElement(a.default,{type:"wrapper",color:"grey",borderStyle:"dotted",buttonPosition:"topRight",renderButtonWrapper:this.renderToolbar},(e=>{let{ref:a,attr:s,button:u,border:f}=e;return n.default.createElement(i.default,{ref:e=>{(0,E.attachRef)(e,a),(0,E.attachRef)(e,g||null)},animationId:this.getId(),component:"div",className:(0,r.default)(this.getWrapperClassName(t,o,c),y),animationClass:this.getAnimationClassName(t,o,c),componentProps:{...L.mRead(b),...s,...d,id:S}},n.default.createElement(l.default,{...this.makeContextMenuProps(D.default),componentId:t?.items[0]?.type},n.default.createElement(p.Roles,{allow:["admin"],fallbackRender:()=>M},"on"===t.showToolbar?n.default.createElement(n.default.Fragment,null,n.default.createElement(h.ToolbarExtend,{onEscape:this.handleToolbarEscape},M),u):M,f)))}))}containerSize=()=>{const e=this.getValue(),t=(0,P.deviceModeSelector)((0,C.getStore)().getState()),o=this.getMeta(e),r=window.innerWidth,n=window.innerHeight;return(0,x.getContainerSizes)(e,t,o,r,n)};dvv=e=>{const t=this.getValue(),o=(0,P.deviceModeSelector)((0,C.getStore)().getState()),r=I.mRead(t.tabsState);return(0,M.defaultValueValue)({v:t,key:e,device:o,state:r})};renderForEdit(e,t,o){const r="relative"===O.getPosition(this.dvv);return n.default.createElement(y.SortableElement,{type:"shortcode"},(i=>n.default.createElement(w.Draggable,{active:!r,onChange:this.handleDraggable,hAlign:O.getHAlign(this.dvv)??"left",vAlign:O.getVAlign(this.dvv)??"top",xSuffix:O.getHUnit(this.dvv)??"px",ySuffix:O.getVUnit(this.dvv)??"px",getValue:()=>({x:O.getHOffset(this.dvv)??0,y:O.getVOffset(this.dvv)??0}),getContainerSizes:this.containerSize},((n,a)=>r?this.renderStatic({v:e,vs:t,vd:o,extraAttr:i}):this.renderStatic({v:e,vs:t,vd:o,className:a,ref:n})))))}renderForView(e,t,o){const{customAttributes:a}=e,{sectionPopup:l,sectionPopup2:c}=this.props.meta,d=(0,k.getCSSId)(e),{cssKeyframe:u,animationId:p,options:y,isHidden:g}=this.getHoverData(e),h=n.default.createElement(f.ScrollMotion,{options:(0,m.makeOptionValueToMotion)(e),className:"brz-wrapper__scrollmotion"},n.default.createElement(s.HoverAnimation,{animationId:p,cssKeyframe:u,options:y,isHidden:g},this.renderContent(e)));return n.default.createElement(i.default,{iterationCount:l||c?1/0:1,component:"div",animationId:this.getId(),className:(0,r.default)(this.getWrapperClassName(e,t,o)),animationClass:this.getAnimationClassName(e,t,o),componentProps:{...L.mRead(a),id:d}},h)}getWrapperClassName=(e,t,o)=>{const{customClassName:n,cssClass:i}=e,a=F.mRead(i||n);return(0,r.default)((0,T.css)(this.getComponentId(),this.getId(),(0,V.styleWrapper)(e,t,o)),"brz-wrapper",a)};getAnimationClassName=(e,t,o)=>{if(!(0,M.validateKeyByProperty)(e,"animationName","none"))return;const n=`${this.dvv("animationName")}-${this.dvv("animationDuration")}-${this.dvv("animationDelay")}-${this.dvv("animationInfiniteAnimation")}`;return(0,r.default)((0,T.css)(`${this.getComponentId()}-animation-${n}`,`${this.getId()}-animation-${n}`,(0,V.styleAnimation)(e,t,o)))};hoverAnimationOptionActive=e=>Boolean((0,N.getAnimations)(e));handleDraggable=e=>{let{x:t,y:o}=e;const r=this.getValue(),n=I.mRead(r.tabsState),i=(0,P.deviceModeSelector)((0,C.getStore)().getState()),a=(e,t)=>({[(0,M.defaultValueKey)({key:e,device:i,state:n})]:t});this.patchValue(O.setHOffset(a,t,O.setVOffset(a,o,{})))};handleToolbarEscape=()=>this.toolbarRef.current?.show();renderToolbar=e=>{const t=this.getTitleIfPro();return toolbar&&void 0===t?n.default.createElement(h.default,{...this.makeToolbarPropsFromConfig2(G,H),ref:this.toolbarRef},n.default.createElement(g.default,null,n.default.createElement(e,null))):null}}},20433:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(21407),n=o(93873),i=o(81263),a=o(64985),l=o(69321),s=o(68256),c=o(59638),d=e=>{let{v:t,device:o,context:d}=e;const u=e=>(0,l.defaultValueValue)({v:t,key:e,device:o}),p="relative"===u("elementPosition"),f=(0,s.getDynamicContentOption)({options:d.dynamicContent.config,type:i.DCTypes.richText}),m=(0,c.read)(u("hoverName"))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,a.t)("Styling"),label:(0,a.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,a.t)("Basic"),icon:"nc-styling",position:10,options:[{id:"padding",type:"padding-dev",label:(0,a.t)("Padding"),position:50},{id:"margin",devices:"desktop",label:(0,a.t)("Margin"),type:"margin-dev",position:60},{id:"groupPosition",type:"group-dev",options:[{id:"elementPosition",label:(0,a.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,a.t)("Width"),type:"slider-dev",disabled:p,config:{min:0,max:"px"===u("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,a.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:p,config:{min:"px"===u("offsetXSuffix")?-1200:-100,max:"px"===u("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,a.t)("Vertical Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:p,config:{min:-1200,max:1200,units:[{value:"px",title:"px"}]}}]}]},{id:"moreSettingsAdvanced",label:(0,a.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,a.t)("Show on Desktop"),type:"switch-dev",position:10,closeTooltip:!0},{id:"zIndex",type:"slider-dev",position:20,label:(0,a.t)("Z-index"),config:{min:0,max:100}},{id:"cssID",label:(0,a.t)("CSS ID"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:f,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,a.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:f,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,a.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:f}]}]},{id:"padding",type:"padding-dev",label:(0,a.t)("Padding"),devices:"responsive",position:50},{id:"margin",devices:"responsive",label:(0,a.t)("Margin"),type:"margin-dev",position:60},{id:"groupPosition",type:"group-dev",devices:"responsive",options:[{id:"elementPosition",label:(0,a.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,a.t)("Width"),type:"slider-dev",disabled:p,config:{min:0,max:"px"===u("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,a.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:p,config:{min:"px"===u("offsetXSuffix")?-1200:-100,max:"px"===u("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,a.t)("Vertical Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:p,config:{min:-1200,max:1200,units:[{value:"px",title:"px"}]}}]}]},{id:"effects",title:(0,a.t)("Effects"),label:(0,a.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,a.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]},{id:"tabHover",label:(0,a.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(m),delay:!1}}]}]}]}]}]}},28067:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return d}});const r=o(21407),n=o(93873),i=o(81263),a=o(64985),l=o(69321),s=o(68256),c=o(59638);function d(e){let{v:t,device:o,context:d}=e;const u=e=>(0,l.defaultValueValue)({v:t,key:e,device:o});if("on"===u("showToolbar"))return[];const p="relative"===u("elementPosition"),f=(0,s.getDynamicContentOption)({options:d.dynamicContent.config,type:i.DCTypes.richText}),m=(0,c.read)(u("hoverName"))??"none";return[{id:"sidebarTabs",type:"sidebarTabs-dev",tabs:[{id:"styles",title:(0,a.t)("Styling"),label:(0,a.t)("Styling"),options:[{id:"settingsTabs",type:"tabs-dev",config:{align:"start"},devices:"desktop",tabs:[{id:"settingsStyling",label:(0,a.t)("Basic"),icon:"nc-styling",position:10,options:[{id:"padding",type:"padding-dev",label:(0,a.t)("Padding"),position:50},{id:"margin",devices:"desktop",label:(0,a.t)("Margin"),type:"margin-dev",position:60},{id:"groupPosition",type:"group-dev",options:[{id:"elementPosition",label:(0,a.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,a.t)("Width"),type:"slider-dev",disabled:p,config:{min:0,max:"px"===u("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,a.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:p,config:{min:"px"===u("offsetXSuffix")?-1200:-100,max:"px"===u("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,a.t)("Vertical Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:p,config:{min:-1200,max:1200,units:[{value:"px",title:"px"}]}}]}]},{id:"moreSettingsAdvanced",label:(0,a.t)("Advanced"),icon:"nc-cog",options:[{id:"showOnDesktop",label:(0,a.t)("Show on Desktop"),type:"switch-dev",position:10,closeTooltip:!0},{id:"zIndex",type:"slider-dev",position:20,label:(0,a.t)("Z-index"),config:{min:0,max:100}},{id:"cssID",label:(0,a.t)("CSS ID"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom ID without the #pound, example: my-id"},config:f,option:{id:"customID",type:"inputText-dev"}},{id:"cssClass",label:(0,a.t)("CSS Class"),type:"population-dev",position:40,devices:"desktop",display:"block",helper:{content:"Add your custom class without the .dot, example: my-class"},config:f,option:{id:"customClassName",type:"inputText-dev"}},{id:"customAttributes",label:(0,a.t)("Custom Attributes"),type:"codeMirror-dev",position:45,placeholder:'key1:"value1"\nkey2:"value2"',display:"block",helper:{content:"Set your custom attribute for wrapper element. Each attribute in a separate line. Separate attribute key from the value using : character."},population:f}]}]},{id:"padding",type:"padding-dev",label:(0,a.t)("Padding"),devices:"responsive",position:50},{id:"margin",devices:"responsive",label:(0,a.t)("Margin"),type:"margin-dev",position:60},{id:"groupPosition",type:"group-dev",devices:"responsive",options:[{id:"elementPosition",label:(0,a.t)("Position"),type:"select-dev",choices:[{value:"relative",title:"None"},{value:"absolute",title:"Absolute"},{value:"fixed",title:"Fixed"}]},{id:"width",label:(0,a.t)("Width"),type:"slider-dev",disabled:p,config:{min:0,max:"px"===u("widthSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetXAlignment",label:(0,a.t)("Horizontal Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"left",icon:"nc-align-left"},{value:"right",icon:"nc-align-right"}]},{id:"offsetX",type:"slider-dev",disabled:p,config:{min:"px"===u("offsetXSuffix")?-1200:-100,max:"px"===u("offsetXSuffix")?1200:100,units:[{value:"px",title:"px"},{value:"%",title:"%"}]}},{id:"offsetYAlignment",label:(0,a.t)("Vertical Offset"),type:"radioGroup-dev",disabled:p,choices:[{value:"top",icon:"nc-align-top"},{value:"bottom",icon:"nc-align-bottom"}]},{id:"offsetY",type:"slider-dev",disabled:p,config:{min:-1200,max:1200,units:[{value:"px",title:"px"}]}}]}]},{id:"effects",title:(0,a.t)("Effects"),label:(0,a.t)("Effects"),options:[{id:"tabs",type:"tabs-dev",config:{align:"start"},tabs:[{id:"entrance",label:(0,a.t)("Entrance"),options:[{id:"animation",type:"animation-dev"}]},{id:"tabHover",label:(0,a.t)("Hover"),options:[{id:"hover",type:"animation-dev",devices:"desktop",config:{types:n.hoverEffects,replay:!1,infiniteAnimation:(0,r.hasInfiniteAnimation)(m),delay:!1}}]}]}]}]}]}},48382:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{styleWrapper:function(){return n},styleAnimation:function(){return i}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleDisplayFlex","cssStyleVisibleMode|||preview","cssStyleVisibleEditorDisplayNoneOrFlex|||editor","cssStyleZIndex","cssStyleCustomPosition","cssStyleCustomWidth","cssStyleWrapperFixedFlex","cssStyleOffset"],standart:["cssStylePaddingFourFields","cssStyleMargin","cssStyleFlexHorizontalAlign","cssStylePositionRelative","cssStyleWrapperContainerFlex","cssStyleWrapperBorderFlex"]},".brz &&:hover > *:not(.brz-ed-border__inner):not(.brz-ed-border__button)":{interval:["cssStyleVisibleMode|||editor"]}}})}function i(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{standart:["cssStyleAnimationAll"]}}})}},11097:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return i}});const r=o(64985),n=o(57582);function i(e){let{v:t,device:o}=e;return[(0,n.toolbarShowOnResponsive)({v:t,device:o,state:"normal",devices:"responsive",position:1}),{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]},{id:"advancedSettings",type:"advancedSettings",title:(0,r.t)("Settings"),devices:"desktop",position:110,roles:["admin"],icon:"nc-cog"}]}},6035:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getItems",{enumerable:!0,get:function(){return a}});const r=o(64985),n=o(69321),i=o(57582);function a(e){let{v:t,device:o}=e;return"on"===("showToolbar",(0,n.defaultValueValue)({v:t,key:"showToolbar",device:o}))?[]:[(0,i.toolbarShowOnResponsive)({v:t,device:o,state:"normal",devices:"responsive",position:1}),{id:"horizontalAlign",type:"toggle-dev",position:100,choices:[{icon:"nc-text-align-left",title:(0,r.t)("Align"),value:"left"},{icon:"nc-text-align-center",title:(0,r.t)("Align"),value:"center"},{icon:"nc-text-align-right",title:(0,r.t)("Align"),value:"right"}]}]}},98862:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return Ge},NotFoundComponent:function(){return Ae.NotFound}});const r=He(o(39553)),n=He(o(68872)),i=He(o(49542)),a=He(o(11384)),l=He(o(52024)),s=He(o(17607)),c=He(o(9365)),d=He(o(33450)),u=He(o(52048)),p=He(o(60251)),f=He(o(15865)),m=He(o(77763)),y=Ve(o(56188)),g=He(o(18497)),h=He(o(49370)),b=He(o(80357)),v=He(o(41089)),S=He(o(45370)),w=He(o(14129)),x=He(o(55589)),P=He(o(46667)),C=He(o(31850)),T=He(o(94874)),_=He(o(52644)),k=He(o(48453)),M=He(o(66937)),O=He(o(32364)),E=He(o(84010)),B=He(o(9117)),z=He(o(46380)),I=He(o(4127)),j=He(o(37842)),L=He(o(17878)),F=He(o(48179)),N=He(o(73006)),D=He(o(54376)),R=He(o(7557)),A=He(o(84157)),H=He(o(96363)),W=He(o(5085)),V=He(o(3968)),G=He(o(74956)),U=He(o(20647)),q=Ve(o(55394)),$=He(o(74890)),Y=He(o(28172)),Q=He(o(60954)),Z=He(o(70662)),K=He(o(69521)),X=He(o(24284)),J=He(o(49953)),ee=He(o(64068)),te=He(o(51589)),oe=He(o(36148)),re=He(o(16921)),ne=He(o(60546)),ie=He(o(59300)),ae=He(o(78257)),le=He(o(75148)),se=He(o(93211)),ce=He(o(70180)),de=He(o(5807)),ue=He(o(38535)),pe=He(o(30344)),fe=He(o(38424)),me=He(o(6965)),ye=Ve(o(74207)),ge=He(o(93814)),he=He(o(33913)),be=He(o(82598)),ve=He(o(92343)),Se=He(o(79176)),we=o(50737),xe=He(o(11880)),Pe=He(o(68793)),Ce=He(o(27195)),Te=He(o(7461)),_e=He(o(29214)),ke=He(o(65411)),Me=He(o(41119)),Oe=He(o(38272)),Ee=He(o(56482)),Be=He(o(66344)),ze=He(o(56860)),Ie=He(o(51915)),je=He(o(16361)),Le=He(o(8587)),Fe=He(o(16091)),Ne=He(o(36543)),De=He(o(74722)),Re=He(o(36669)),Ae=o(25739);function He(e){return e&&e.__esModule?e:{default:e}}function We(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(We=function(e){return e?o:t})(e)}function Ve(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=We(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const Ge={Page:$.default,PagePopup:Y.default,PageStory:Q.default,Section:ae.default,SectionItem:le.default,Story:ve.default,StoryItem:Se.default,SectionHeader:ce.default,SectionHeaderItem:de.default,SectionHeaderStickyItem:ue.default,SectionFooter:se.default,Row:ie.default,Column:u.default,Form:P.default,FormFields:M.default,FormField:k.default,Form2:C.default,Form2Fields:_.default,Form2Field:T.default,Wrapper:Re.default,ProtectedPage:te.default,Cloneable:d.default,RichText:ne.default,Audio:a.default,Video:Fe.default,VideoPlaylist:Ne.default,VideoPlaylistItem:De.default,Icon:E.default,Image:z.default,Line:L.default,Spacer:he.default,EmbedCode:g.default,Map:H.default,Button:l.default,Counter:m.default,SoundCloud:ge.default,ProgressBar:ee.default,IconText:B.default,Countdown:p.default,Countdown2:f.default,Tabs:Ee.default,Tab:Be.default,Timeline:ze.default,TimelineTab:Ie.default,Switcher:xe.default,SwitcherTab:Pe.default,Table:Ce.default,TableBody:_e.default,TableHead:Me.default,TableAside:Te.default,TableRow:Oe.default,TableCol:ke.default,Accordion:r.default,AccordionItem:n.default,GlobalBlock:O.default,ImageGallery:I.default,SectionPopup:pe.default,SectionPopup2:fe.default,Carousel:c.default,StarRating:be.default,MenuSimple:U.default,Login:F.default,LoginField:D.default,RegisterField:R.default,ForgotPasswordField:N.default,ResetPassword:oe.default,ResetPasswordField:re.default,Menu:W.default,MenuItem:V.default,SectionMegaMenu:G.default,Facebook:h.default,FacebookButton:b.default,FacebookComments:v.default,FacebookEmbed:S.default,FacebookPage:x.default,FacebookGroup:w.default,Twitter:Le.default,Lottie:A.default,StoryWrapper:we.StoryWrapper,Shape:me.default,Translation:je.default,Calendly:s.default,Alert:i.default,PostTitle:X.default,PostExcerpt:K.default,Posts:J.default,WPPostContent:Z.default,...ye,...y,...q,Leadific:j.default}},41239:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{default:function(){return k},NotFoundComponent:function(){return C.NotFoundComponent}});const r=o(24510),n=T(o(9515)),i=T(o(12692)),a=T(o(63651)),l=T(o(43081)),s=T(o(87210)),c=T(o(66479)),d=T(o(34340)),u=T(o(6534)),p=T(o(50879)),f=T(o(58224)),m=T(o(86799)),y=T(o(38102)),g=T(o(28891)),h=T(o(75371)),b=T(o(38170)),v=T(o(68676)),S=T(o(83003)),w=T(o(27754)),x=T(o(73412)),P=T(o(65878)),C=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=_(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(98862));function T(e){return e&&e.__esModule?e:{default:e}}function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(_=function(e){return e?o:t})(e)}const k={...C.default,...(0,r.hasSidebars)()?{WPSidebar:P.default}:{},WPCustomShortcode:S.default,WPPostNavigation:x.default,WPBreadcrumbs:v.default,WPPostInfo:w.default,Search:n.default,...(0,r.pluginActivated)("woocommerce")?{WOOProducts:y.default,WOOProductPage:m.default,WOOCategories:s.default,WOOPages:u.default,WOOExcerpt:c.default,WOOGallery:d.default,WOOAddToCart:i.default,WOOCart:l.default,WOOSku:h.default,WOOStock:b.default,WOOPrice:p.default,WOOAttributes:a.default,WOOProductMeta:f.default,WOORating:g.default}:{}}},5312:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Draggable",{enumerable:!0,get:function(){return a}});const r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(27378)),n=o(61452);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a=e=>{let{active:t,children:o,onChange:i,onStart:a,onEnd:l,xSuffix:s,ySuffix:c,getValue:d,getContainerSizes:u}=e;const{x:p,y:f}=d(),[m,y]=(0,r.useState)({x:p,y:f}),g=(0,r.useCallback)((e=>{let{deltaX:t,deltaY:o}=e;const{width:r,height:n}=u(),a="px"===s?t:100*t/r,l="px"===c?o:100*o/n;i({x:Math.round(m.x+a),y:Math.round(m.y+l)})}),[m,u,i,s,c]),h=(0,r.useCallback)((()=>{const{x:e,y:t}=d();m.x===e&&m.y===t||(a&&a({x:e,y:t}),y({x:e,y:t}))}),[d,a,m]),b=(0,r.useCallback)((()=>{const{x:e,y:t}=d();m.x===e&&m.y===t||l&&l({x:e,y:t})}),[d,l,m]);return r.default.createElement(n.Draggable,{active:t,exceptions:[".brz-ed-toolbar",".brz-ed-tooltip__content-portal",".brz-rich-text .brz-ed-content-editable-focus",".brz-ed-eyeDropper"],onDragStart:h,onDrag:g,onDragEnd:b},o)}},1621:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getContainerSizes",{enumerable:!0,get:function(){return a}});const r=o(69321),n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=i(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var l=n?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}return r.default=e,o&&o.set(e,r),r}(o(73904));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(i=function(e){return e?o:t})(e)}const a=(e,t,o,i,a)=>({width:"absolute"===(0,r.defaultValueValue)({key:"elementPosition",device:t,v:e})?n.read(o[`${t}WNoSpacing`])??0:i,height:a})},66005:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{blockTagFromStyle:function(){return n},getTagNameFromFontStyle:function(){return i}});const r=o(84728),n=e=>{switch(e){case"paragraph":return"p";case"heading1":return"h1";case"heading2":return"h2";case"heading3":return"h3";case"heading4":return"h4";case"heading5":return"h5";case"heading6":return"h6"}},i=e=>(0,r.is)(e)?{tagName:n(e)}:{}},26989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"shouldRenderPopup",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{const{popups:o,linkType:r,linkPopup:n,linkLightBox:i}=e,a="on"===i?"lightBox":r;return o.length>0&&"popup"===a&&""!==n&&o.reduce(((e,o)=>{let r=o;return"GlobalBlock"===r.type&&(r=t[r.value._id]),r&&e.push(r),e}),[]).length>0}},86022:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{WrapperComponent:function(){return C},Wrapper:function(){return T}});const r=S(o(60042)),n=x(o(27378)),i=o(10301),a=S(o(45771)),l=o(67439),s=o(79669),c=o(5312),d=o(97045),u=o(92213),p=o(94220),f=o(69321),m=x(o(71162)),y=o(94306),g=x(o(63300)),h=x(o(24119)),b=o(6804),v=o(39871);function S(e){return e&&e.__esModule?e:{default:e}}function w(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(w=function(e){return e?o:t})(e)}function x(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=w(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}const P=(0,b.uuid)(7);function C(e,t){let{children:o,className:b,component:S,attributes:w={},animationClass:x,renderContent:C=i.identity,v:T,vs:_,vd:k,componentId:M,id:O,onChange:E,meta:{sectionPopup:B,sectionPopup2:z},onClick:I,onDragStart:j,slide:L}=e;const F="absolute"===T.elementPosition||"fixed"===T.elementPosition,N=(0,r.default)(b,g.read(w?.className),F&&(0,p.css)(`${M}-${O}-${P}`,`${O}-${P}`,(0,v.style)(T,_,k)));if(F){const e=h.mRead(T.tabsState),i=(0,d.deviceModeSelector)((0,u.getStore)().getState()),p=t=>(0,f.defaultValueValue)({v:T,key:t,device:i,state:e}),g=e=>{let{x:t,y:o}=e;const r=h.mRead(T.tabsState),n=(0,d.deviceModeSelector)((0,u.getStore)().getState()),i=(e,t)=>({[(0,f.defaultValueKey)({key:e,device:n,state:r})]:t});E(m.setHOffset(i,t,m.setVOffset(i,o,{})))},b=()=>({width:s.DW,height:s.DH}),v=()=>{(0,l.hideToolbar)()};return n.default.createElement(c.Draggable,{hAlign:m.getHAlign(p)??"left",vAlign:m.getVAlign(p)??"top",xSuffix:m.getHUnit(p)??"px",ySuffix:m.getVUnit(p)??"px",getValue:()=>({x:m.getHOffset(p)??0,y:m.getVOffset(p)??0}),getContainerSizes:b,onStart:v,onChange:g},((e,i)=>n.default.createElement(a.default,{component:S??"div",componentProps:{...w,className:(0,r.default)(N,i),onClick:I},animationClass:x,ref:o=>{(0,y.attachRef)(o,e),(0,y.attachRef)(o,t)}},C(o))))}return n.default.createElement(a.default,{iterationCount:!1,component:S??"div",componentProps:{...w,className:N,onClick:I,onDragStart:j,slide:L},animationClass:x,ref:t},C(o))}const T=(0,n.forwardRef)(C)},39871:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"style",{enumerable:!0,get:function(){return n}});const r=o(94220);function n(e,t,o){return(0,r.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleOffset"]}}})}},53002:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withMigrations",{enumerable:!0,get:function(){return s}});const r=l(o(27378)),n=l(o(33364)),i=o(81481),a=o(4645);function l(e){return e&&e.__esModule?e:{default:e}}function s(e,t,o){return class extends e{dbValueMigrated=void 0;constructor(e){super(e);const r=(0,a.read)(this.props.dbValue?._version)??1,n=(0,i.findMigrations)(t,r);n.length>0&&(o?.getValue?(this.state={...this.state,loading:!0},o.getValue().then((e=>{this.dbValueMigrated={...(0,i.migrate)(n,this.props.dbValue,e),_version:n[n.length-1].version},this.setState((e=>({...e,loading:!1})))})).catch((e=>{throw e}))):this.dbValueMigrated={...(0,i.migrate)(n,this.props.dbValue),_version:n[n.length-1].version})}getDBValue(){if(this.dbValueMigrated){const e=super.getDBValue();return{...this.props.dbValue,...e,...this.dbValueMigrated}}return super.getDBValue()}handleValueChange(e,t){this.dbValueMigrated&&(this.dbValueMigrated=void 0),super.handleValueChange(e,t)}renderForEdit(e,t,o){return this.state?.loading?r.default.createElement("div",{className:"brz-ed-portal__loading",style:{position:"relative",height:"80px"}},r.default.createElement(n.default,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):super.renderForEdit(e,t,o)}}}},22546:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isWp:function(){return i.isWp},isCMS:function(){return i.isCMS},default:function(){return l}});const r=(n=o(33979))&&n.__esModule?n:{default:n};var n;const i=o(54639);let a={};const l={init(e){a=e},load(e){a=(0,r.default)(a,e)},get:e=>a[e],getAll:()=>a}},81263:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DCTypes",{enumerable:!0,get:function(){return o}}),function(e){e.image="image",e.link="link",e.richText="richText",e.reference="reference",e.multiReference="multiReference"}(o||(o={}))},13662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isCollectionPage:function(){return o},isCustomerPage:function(){return r},isEcwidProduct:function(){return n},isEcwidCategory:function(){return i},isEcwidShop:function(){return a},isShopifyShop:function(){return l}});const o=e=>"collections"===e.provider,r=e=>"customers"===e.provider,n=e=>e&&"ecwid-product"===e.provider,i=e=>e&&"ecwid-product-category"===e.provider,a=e=>"ecwid"===e?.type,l=e=>"shopify"===e?.type},62762:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isCMS:function(){return i},isShopify:function(){return a},isCloud:function(){return l},isEcwidProductPage:function(){return s},isEcwidCategoryPage:function(){return c},isCollectionPage:function(){return d},isShopifyPage:function(){return u}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=e=>"cms"===e.platform,a=e=>"shopify"===e.platform,l=e=>!1,s=e=>"__type"in e&&"ecwid-product"===e.__type,c=e=>"__type"in e&&"ecwid-product-category"===e.__type,d=e=>"collectionType"in e,u=e=>{const t=r.default.getAll();return l(t)&&a(t)&&!("rules"in e)}},97724:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{Mode:function(){return n},LeftSidebarOptionsIds:function(){return i},LeftSidebarPageSettingsOptionsIds:function(){return a},LeftSidebarMoreOptionsIds:function(){return l},isElementTypes:function(){return s}});const r=o(71782);var n,i,a,l;!function(e){e.page="page",e.single="single",e.product="product",e.external_popup="external_popup",e.internal_popup="internal_popup",e.external_story="external_story",e.internal_story="internal_story",e.template="template"}(n||(n={})),function(e){e.cms="cms",e.addElements="addElements",e.reorderBlock="reorderBlock",e.globalStyle="globalStyle",e.collaboration="collaboration",e.deviceMode="deviceMode",e.pageSettings="pageSettings",e.more="more"}(i||(i={})),function(e){e.membership="membership",e.language="language",e.template="template",e.featuredImage="featuredImage"}(a||(a={})),function(e){e.link="link",e.shortcuts="shortcuts"}(l||(l={}));const s=e=>Object.values(r.ElementTypes).includes(e)},71782:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ElementTypes",{enumerable:!0,get:function(){return o}}),function(e){e.Text="Text",e.Image="Image",e.Button="Button",e.Icon="Icon",e.Spacer="Spacer",e.Map="Map",e.Form2="Form2",e.Line="Line",e.Menu="Menu",e.MenuSimple="MenuSimple",e.Login="Login",e.Translation="Translation",e.Posts="Posts",e.Search="Search",e.ImageGallery="ImageGallery",e.Video="Video",e.Audio="Audio",e.VideoPlaylist="VideoPlaylist",e.IconText="IconText",e.Lottie="Lottie",e.Embed="Embed",e.StarRating="StarRating",e.Alert="Alert",e.Counter="Counter",e.Countdown2="Countdown2",e.ProgressBar="ProgressBar",e.Calendly="Calendly",e.Carousel="Carousel",e.Tabs="Tabs",e.Accordion="Accordion",e.Switcher="Switcher",e.Table="Table",e.Timeline="Timeline",e.Facebook="Facebook",e.Twitter="Twitter",e.FacebookComments="FacebookComments",e.Columns="Columns",e.Row="Row",e.AssetsPosts="AssetsPosts",e.ProtectedPage="ProtectedPage",e.ResetPassword="ResetPassword",e.PostTitle="WPPostsTitle",e.Cart="Cart",e.ShoppingBag="ShoppingBag",e.MyAccount="MyAccount",e.ShopPosts="ShopPosts",e.ShopCategories="ShopCategories",e.Product="Product",e.Quantity="Quantity",e.ProductMetafield="ProductMetafield",e.Vendor="Vendor",e.BlogTitle="BlogTitle",e.BlogPostMeta="BlogPostMeta",e.Price="Price",e.ProductList="ProductList",e.CollectionList="CollectionList",e.BlogPostList="BlogPostList",e.CollectionTitle="CollectionTitle",e.RichText="RichText",e.Column="Column",e.ProductTitle="ProductTitle",e.MinistryBrandsGroupLayout="MinistryBrandsGroupLayout",e.MinistryBrandsGroupSlider="MinistryBrandsGroupSlider",e.MinistryBrandsEventLayout="MinistryBrandsEventLayout",e.MinistryBrandsEventCalendar="MinistryBrandsEventCalendar",e.MinistryBrandsSermonLayout="MinistryBrandsSermonLayout",e.MinistryBrandsSermonList="MinistryBrandsSermonList",e.MinistryBrandsSermonFeatured="MinistryBrandsSermonFeatured",e.MinistryBrandsSermonDetail="MinistryBrandsSermonDetail",e.MinistryBrandsGroupList="MinistryBrandsGroupList",e.MinistryBrandsGroupDetail="MinistryBrandsGroupDetail",e.MinistryBrandsEventFeatured="MinistryBrandsEventFeatured",e.MinistryBrandsGroupFeatured="MinistryBrandsGroupFeatured",e.MinistryBrandsEventList="MinistryBrandsEventList",e.MinistryBrandsEventDetail="MinistryBrandsEventDetail",e.MinistryBrandsFormWidget="MinistryBrandsFormWidget",e.Leadific="Leadific",e.StoryButton="StoryButton",e.StoryIcon="StoryIcon",e.StoryEmbed="StoryEmbed",e.StoryText="StoryText",e.StoryMap="StoryMap",e.StoryProgressBar="StoryProgressBar",e.StoryLine="StoryLine",e.StoryCountdown2="StoryCountdown2",e.StoryCounter="StoryCounter",e.StoryShape="StoryShape",e.StoryForm2="StoryForm2",e.StoryStarRating="StoryStarRating",e.StoryLottie="StoryLottie",e.StoryImage="StoryImage",e.StoryVideo="StoryVideo",e.StoryLeadific="StoryLeadific",e.WOOProductTitle="WOOProductTitle",e.WOOExcerpt="WOOExcerpt",e.WOOProductContent="WOOProductContent",e.WOOPrice="WOOPrice",e.WOOGallery="WOOGallery",e.WOOAddToCart="WOOAddToCart",e.WOOStock="WOOStock",e.WOOSku="WOOSku",e.WOOProductMeta="WOOProductMeta",e.WOORating="WOORating",e.WOOAttributes="WOOAttributes",e.WOOUpsell="WOOUpsell",e.WOOBreadcrumbs="WOOBreadcrumbs",e.WOOCategories="WOOCategories",e.WOOPages="WOOPages",e.WOOCart="WOOCart",e.WPPostContent="WPPostContent",e.WPPostInfo="WPPostInfo",e.WPBreadcrumbs="WPBreadcrumbs",e.WPPostNavigation="WPPostNavigation",e.WPFeaturedImage="WPFeaturedImage",e.WPSidebar="WPSidebar",e.WPCustomShortcode="WPCustomShortcode",e.UserFirstName="UserFirstName",e.UserLastName="UserLastName",e.UserEmail="UserEmail",e.UserPhoneNumber="UserPhoneNumber",e.UserRoles="UserRoles",e.UserUsername="UserUsername",e.Products="Products",e.Review="Review",e.Archive="Archive",e.AddToCart="AddToCart",e.PostExcerpt="WPPostExcerpt",e.ProductDescription="ProductDescription",e.BlogDescription="BlogDescription",e.CollectionDescription="CollectionDescription",e.ProductImage="ProductImage",e.BlogPostImage="BlogPostImage",e.CollectionImage="CollectionImage",e.BlogPostExcerpt="BlogPostExcerpt",e.Variant="Variant"}(o||(o={}))},39191:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isWp",{enumerable:!0,get:function(){return o}});const o=e=>!0},19057:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{SizeType:function(){return o},defaultCrop:function(){return r}}),function(e){e.custom="custom",e.original="original"}(o||(o={}));const r={iW:5e3,iH:"any"}},54639:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{isWp:function(){return n.isWp},isCMS:function(){return r.isCMS},isCloud:function(){return r.isCloud}});const r=o(62762),n=o(39191)},93223:(e,t)=>{"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{ShopifyTemplate:function(){return o},isShopifyTemplate:function(){return r}}),function(e){e.Product="shopify-product",e.Page="shopify-page",e.Collection="shopify-collection",e.Article="shopify-article",e.Blog="shopify-blog"}(o||(o={}));const r=e=>Object.values(o).includes(e)},95664:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});const r=o(34721),n={};let i,a={},l={};const s={registerComponent(e){n[e.componentId]=e},getComponents:()=>n,getComponent:e=>n[e]||null,registerNotFoundComponent(e){i=e},getNotFoundComponent(){if(!i)throw new Error("NotFoundComponent not registered");return i},registerShortcode(e){a=e},registerShopifyShortcode(e){l=e},getShortcodes:()=>(0,r.applyFilter)("getShortcodes",a),getShopifyShortcodes:()=>(0,r.applyFilter)("getShopifyShortcodes",l)}},93804:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"states",{enumerable:!0,get:function(){return l}});const r=(n=o(22546))&&n.__esModule?n:{default:n};var n;const i=o(16526),a=o(24119),l=(0,i.isStory)(r.default.getAll())?(0,a.states)().filter((e=>"hover"!==e)):(0,a.states)()},47075:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=o(50343),a=r.default.extend({},i.EventEmitter.prototype,{off(e,t){this.removeListener(e,t)}});a.setMaxListeners(1/0);const l=a},58135:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});const r=o(50343),n={};class i extends r.EventEmitter{addChangeListener(e,t){this.on(e,t)}removeChangeListener(e,t){this.removeListener(e,t)}get(e){return n[e]}set(e,t){n[e]=t,this.emit(e,t)}}const a=new i;a.setMaxListeners(1/0);const l=a},66080:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"EcwidService",{enumerable:!0,get:function(){return y}});const r=o(34143),n=o(11717),i=o(10301),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var o=s(t);if(o&&o.has(e))return o.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,o&&o.set(e,r),r}(o(77983)),l=o(25699);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,o=new WeakMap;return(s=function(e){return e?o:t})(e)}let c=0,d=!1;const u=e=>new MutationObserver((()=>(e=>{if(d||c>=10)return!0;switch(e){case"myAccount":(()=>{const e=document.querySelector(".ec-store__account-page .ec-footer");e&&e.children.length>0&&((0,l.replaceFooterLink)(e,".footer__link--my-account","/shop/my-account"),(0,l.replaceFooterLink)(e,".footer__link--favorites","/my-account/favorites"),(0,l.replaceFooterLink)(e,".footer__link--track-order","/shop/track-orders"),(0,l.replaceFooterLink)(e,".footer__link--shopping-cart","/shop/cart"),d=!0)})();break;case"shoppingBag":(()=>{const e=document.querySelector(".ec-minicart .ec-minicart__body");if(e&&e.parentNode){const t=e.cloneNode(!0);e.parentNode.replaceChild(t,e),t&&(t.addEventListener("click",(e=>{window.location.replace("/shop/cart"),e.stopPropagation()})),d=!0)}})()}c++})(e))),p={redirect:{fromFooter:{"/shop/my-account":".footer__link--my-account","/shop/track-orders":".footer__link--track-order","/my-account/favorites":".footer__link--favorites","/shop/cart":".footer__link--shopping-cart"},fromContent:{"/shop/cart":".details-product-purchase__checkout","/my-account/thank-you":".ec-form .form-control--done"}}},f={"/shop/my-account":"/shop/my-account","/shop/track-orders":"/shop/track-orders","/my-account/favorites":"/my-account/favorites","/shop/cart":"/shop/cart"},m={"/shop/cart":"/shop/cart","/my-account/thank-you":"/my-account/thank-you"};class y{storeId;$load;$widgets;config;constructor(e,t){this.storeId=e,this.$load=new r.ReplaySubject,this.$widgets=new r.Subject,this.config={...p,...t},window.ec=window.ec||{},window.ec.config=window.ec.config||{},window.ec.config.storefrontUrls=window.ec.config.storefrontUrls||{},window.ec.config.storefrontUrls.cleanUrls=!0,window.ec.config.baseUrl="/",window.ec.storefront={...window.ec.storefront,...t},this.$load.pipe((0,n.withLatestFrom)(this.$widgets),(0,n.map)((e=>{let[,t]=e;return t}))).subscribe((e=>Ecwid.openPage(e.type,e.args)))}loadScripts(e){if(document.getElementById("ecwid-script"))"function"==typeof ecwid_onBodyDone&&ecwid_onBodyDone();else{window.ecwid_script_defer=!0,window.ecwid_dynamic_widgets=!0;const t=document.createElement("script");t.id="ecwid-script",t.src=`https://app.ecwid.com/script.js?${this.storeId}&data_platform=code`,t.type="text/javascript",t.onload=()=>{Ecwid.OnAPILoaded.add((()=>{this.$load.next()})),Ecwid.OnPageLoaded.add((()=>{"function"==typeof this.config.onPageLoaded&&this.config.onPageLoaded(),this.config.redirect&&e&&this.changeRedirectLinks(e),Ecwid&&Ecwid.resizeProductBrowser&&Ecwid.resizeProductBrowser(),window&&window.pathBeforeEcwidChange&&window.location.pathname!==window.pathBeforeEcwidChange&&this.config.restoreUrl&&window.history.pushState({},"",window.pathBeforeEcwidChange)}))},document.body.append(t)}}static instances=new Map;static init(e,t){if(y.instances.has(e))return y.instances.get(e);const o=new y(e,t);return y.instances.set(e,o),o}openPage(e,t){this.addWidget(e),this.loadScripts(t),this.$widgets.next(e)}setId(e){const t=e.id||(0,i.uniqueId)("ecwid-widget-");return e.id||(e.id=t),e}addWidget(e){const t=[(0,l.convertEcwidWidget)(e)];"undefined"!=typeof Ecwid&&Ecwid.destroy&&Ecwid.destroy(),window._xnext_initialization_scripts=t}products(e){const t=this.setId(e);this.openPage(a.products(t.id,0),e)}product(e,t){const o=this.setId(t);this.openPage(a.product(o.id,e),t)}cart(e){window.pathBeforeEcwidChange=window.location.pathname;const t=this.setId(e);this.openPage(a.cart(t.id),e)}shoppingCart(e){this.loadScripts(e),this.$load.subscribe((()=>{Ecwid.init(),e&&u("shoppingBag").observe(e,{attributes:!0,subtree:!0})}))}myAccount(e){window.pathBeforeEcwidChange=window.location.pathname;const t=this.setId(e);this.openPage(a.myAccount(t.id),e),u("myAccount").observe(e,{attributes:!0,subtree:!0})}updateConfig(e){this.config=e,window.ec=window.ec??{},window.ec.storefront={...window.ec?.storefront,...e},Ecwid.refreshConfig?.()}changeRedirectLinks(e){this.config.redirect&&(this.config.redirect.fromContent&&Object.entries(this.config.redirect.fromContent).forEach((t=>{let[o,r]=t;(0,l.replaceContentLink)(e,r,m[o])})),this.config.redirect.fromFooter&&Object.entries(this.config.redirect.fromFooter).forEach((t=>{let[o,r]=t;(0,l.replaceFooterLink)(e,r,f[o])})))}getConfig(){return this.config}}},10227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"eq",{enumerable:!0,get:function(){return o}});const o=(e,t)=>{for(const o in e)if(e[o]!==t[o])return!1;return!0}},77983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{products:function(){return o},product:function(){return r},cart:function(){return n},myAccount:function(){return i}});const o=(e,t)=>({id:e,args:{categoryId:t},type:"CATEGORY"}),r=(e,t)=>({id:e,type:"product",args:{id:t}}),n=e=>({id:e,type:"cart",args:{}}),i=e=>({id:e,args:{},type:"account"})},25699:(e,t)=>{"use strict";function o(e){switch(e.type){case"cart":case"account":return{id:e.id,widgetType:"ProductBrowser",arg:[`id=${e.id}`]};case"product":return{id:e.id,widgetType:"ProductBrowser",arg:[`id=${e.id}`,`productId=${e.args.id}`]};case"CATEGORY":return{id:e.id,widgetType:"ProductBrowser",arg:[`id=${e.id}`,`categoryId=${e.args.categoryId}`]}}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{convertEcwidWidget:function(){return o},replaceFooterLink:function(){return r},replaceContentLink:function(){return n}});const r=(e,t,o)=>{const r=e.querySelector(t);if(r&&r.parentNode){const e=r.parentNode,n=e.cloneNode(!0);if(e.parentNode&&e.parentNode.replaceChild(n,e),n){const e=n.querySelector(t);e&&(e.href=o)}}},n=(e,t,o)=>{const r=e.querySelector(t);if(r&&r.parentNode){const n=r.cloneNode(!0);r.parentNode.replaceChild(n,r);const i=e.querySelector(`${t} > button`);i&&i.addEventListener("click",(e=>{window.location.replace(o),e.stopPropagation()}))}}},76664:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){var t="countdown";function o(t){this.settings=e.extend({now:(new Date).getTime()},t),this._startTime=(new Date).getTime(),this.start(),this.tick()}e.extend(o.prototype,{start:function(){this.intervalId=setInterval(this.tick.bind(this),this.settings.tickInterval)},update:function(t){this.settings=e.extend({},this.settings,t),this.intervalId||this.start(),this.tick()},tick:function(){var e=this.settings.now+((new Date).getTime()-this._startTime),t=Number(this.settings.endDate)+Number(this.settings.timeZoneOffset),o=this.settings.language,r=t-e,n=r>0,i=n?Math.floor(r/864e5):0,a=n?Math.floor(r%864e5/36e5):0,l=n?Math.floor(r%864e5/6e4)%60:0,s=n?Math.floor(r%864e5/1e3)%60%60:0;this.settings.onTick({days:{title:o.whichLabels(i)[3],amount:i},hours:{title:o.whichLabels(a)[4],amount:a},minutes:{title:o.whichLabels(l)[5],amount:l},seconds:{title:o.whichLabels(s)[6],amount:s}}),n||this.destroy()},destroy:function(){clearInterval(this.intervalId),this.intervalId=null}}),e.fn[t]=function(r){var n="plugin_"+t;return void 0===r||"object"==typeof r?this.each((function(){e.data(this,n)?e.data(this,n).update(r):e.data(this,n,new o(r))})):"string"==typeof r&&"_"!==r[0]&&"init"!==r?this.each((function(){var t=e.data(this,n);t instanceof o&&"function"==typeof t[r]&&t[r].apply(t,Array.prototype.slice.call(arguments,1))})):void 0}}(((r=o(65311))&&r.__esModule?r:{default:r}).default,window,document)},92260:(e,t,o)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){var t="countdown2";function o(t){this.settings=e.extend({now:(new Date).getTime()},t),this._startTime=(new Date).getTime(),this.start(),this.tick()}e.extend(o.prototype,{start:function(){this.intervalId=setInterval(this.tick.bind(this),this.settings.tickInterval)},update:function(t){this.settings=e.extend({},this.settings,t),this.intervalId||this.start(),this.tick()},tick:function(){var e=this.settings.now+((new Date).getTime()-this._startTime),t=Number(this.settings.endDate)+Number(this.settings.timeZoneOffset)-e,o=t>0,r=o?Math.floor(t/864e5):0,n=o?Math.floor(t%864e5/36e5):0,i=o?Math.floor(t%864e5/6e4)%60:0,a=o?Math.floor(t%864e5/1e3)%60%60:0;this.settings.onTick({days:r,hours:n,minutes:i,seconds:a}),o||this.destroy()},destroy:function(){clearInterval(this.intervalId),this.intervalId=null}}),e.fn[t]=function(r){var n="plugin_"+t;return void 0===r||"object"==typeof r?this.each((function(){e.data(this,n)?e.data(this,n).update(r):e.data(this,n,new o(r))})):"string"==typeof r&&"_"!==r[0]&&"init"!==r?this.each((function(){var t=e.data(this,n);t instanceof o&&"function"==typeof t[r]&&t[r].apply(t,Array.prototype.slice.call(arguments,1))})):void 0}}(((r=o(65311))&&r.__esModule?r:{default:r}).default,window,document)},10744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{HYDRATE:function(){return o},EDITOR_RENDERED:function(){return r},UPDATE_BLOCKS:function(){return n},REMOVE_BLOCK:function(){return i},REMOVE_BLOCKS:function(){return a},REORDER_BLOCKS:function(){return l},MAKE_NORMAL_TO_GLOBAL_BLOCK:function(){return s},MAKE_POPUP_TO_GLOBAL_BLOCK:function(){return c},MAKE_GLOBAL_BLOCK_TO_POPUP:function(){return d},UPDATE_GLOBAL_BLOCK:function(){return u},DELETE_GLOBAL_BLOCK:function(){return p},CREATE_RULES:function(){return f},UPDATE_POPUP_RULES:function(){return m},UPDATE_UI:function(){return y},COPY_ELEMENT:function(){return g},UPDATE_CURRENT_STYLE_ID:function(){return h},UPDATE_CURRENT_STYLE:function(){return b},UPDATE_SCREENSHOT:function(){return v},UPDATE_GB_RULES:function(){return S},UPDATE_TRIGGERS:function(){return w},MAKE_GLOBAL_TO_NORMAL_BLOCK:function(){return x},ADD_BLOCK:function(){return P},UPDATE_ERROR:function(){return C},UPDATE_AUTHORIZATION:function(){return T},hydrate:function(){return _},editorRendered:function(){return k},updateCurrentStyleId:function(){return M},updateCurrentStyle:function(){return O},updatePopupRules:function(){return E},updateCopiedElement:function(){return B},updateTriggers:function(){return z},updateScreenshot:function(){return I},updateError:function(){return j}});const o="HYDRATE",r="EDITOR_RENDERED",n="UPDATE_BLOCKS",i="REMOVE_BLOCK",a="REMOVE_BLOCKS",l="REORDER_BLOCKS",s="MAKE_NORMAL_TO_GLOBAL_BLOCK",c="MAKE_POPUP_TO_GLOBAL_BLOCK",d="MAKE_GLOBAL_BLOCK_TO_POPUP",u="UPDATE_GLOBAL_BLOCK",p="DELETE_GLOBAL_BLOCK",f="CREATE_RULES",m="UPDATE_POPUP_RULES",y="UPDATE_UI",g="COPY_ELEMENT",h="UPDATE_CURRENT_STYLE_ID",b="UPDATE_CURRENT_STYLE",v="UPDATE_SCREENSHOT",S="UPDATE_GB_RULES",w="UPDATE_TRIGGERS",x="MAKE_GLOBAL_TO_NORMAL_BLOCK",P="ADD_BLOCK",C="UPDATE_ERROR",T="UPDATE_AUTHORIZATION";function _(e){let{project:t,projectStatus:r,fonts:n,page:i,globalBlocks:a,authorized:l,syncAllowed:s}=e;return{type:o,payload:{project:t,projectStatus:r,fonts:n,page:i,globalBlocks:a,authorized:l,syncAllowed:s}}}function k(){return{type:r}}function M(e){return{type:h,payload:e}}function O(e){return{type:b,payload:e}}function E(e){let{data:t,meta:o}=e;return{type:m,payload:t,meta:o}}function B(e){return{type:g,value:e}}function z(e,t){return{type:w,payload:{data:e},meta:t}}function I(e){let{blockId:t,data:o,meta:r}=e;return{type:v,payload:{blockId:t,data:o},meta:r}}function j(e){return{type:C,payload:e}}},74215:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{UPDATE_DISABLED_ELEMENTS:function(){return c},UPDATE_CURRENT_KIT_ID:function(){return d},ADD_FONTS:function(){return u},DELETE_FONTS:function(){return p},UPDATE_DEFAULT_FONT:function(){return f},ADD_GLOBAL_BLOCK:function(){return m},IMPORT_TEMPLATE:function(){return y},IMPORT_KIT:function(){return g},IMPORT_STORY:function(){return h},PUBLISH:function(){return b},FETCH_PAGE_SUCCESS:function(){return v},UPDATE_EXTRA_FONT_STYLES:function(){return S},redo:function(){return s.redo},undo:function(){return s.undo},makeNormalToGlobalBlock:function(){return w},makeGlobalToNormalBlock:function(){return x},makePopupToGlobalBlock:function(){return P},makeGlobalBlockToPopup:function(){return C},updateGlobalBlock:function(){return T},updateCurrentKitId:function(){return _},updateDisabledElements:function(){return k},addFonts:function(){return M},deleteFont:function(){return O},updateDefaultFont:function(){return E},updateExtraFontStyles:function(){return B},updateUI:function(){return z},updateStoreWasChanged:function(){return I},updateBlocks:function(){return j},fetchPageSuccess:function(){return L},updatePageStatus:function(){return F},updatePageLayout:function(){return N},addBlock:function(){return D},addGlobalBlock:function(){return R},deleteGlobalBlock:function(){return A},updateGBRules:function(){return H},removeBlock:function(){return W},removeBlocks:function(){return V},reorderBlocks:function(){return G},importStory:function(){return U},importTemplate:function(){return q},importKit:function(){return $},setDeviceMode:function(){return Y},updateAuthorization:function(){return Q},updateSyncAllowed:function(){return Z},updatePageTitle:function(){return K}});const r=o(70634),n=(i=o(10301))&&i.__esModule?i:{default:i};var i;const a=o(97045),l=o(6804),s=o(2460),c="UPDATE_DISABLED_ELEMENTS",d="UPDATE_CURRENT_KIT_ID",u="ADD_FONTS",p="DELETE_FONTS",f="UPDATE_DEFAULT_FONT",m="ADD_GLOBAL_BLOCK",y="IMPORT_TEMPLATE",g="IMPORT_KIT",h="IMPORT_STORY",b="PUBLISH",v="FETCH_PAGE_SUCCESS",S="UPDATE_EXTRA_FONT_STYLES";function w(e){return{type:"MAKE_NORMAL_TO_GLOBAL_BLOCK",payload:e}}function x(e){let{fromBlockId:t,block:o}=e;return{type:"MAKE_GLOBAL_TO_NORMAL_BLOCK",payload:{fromBlockId:t,block:o}}}function P(e){return{type:"MAKE_POPUP_TO_GLOBAL_BLOCK",payload:e}}function C(e){let{fromBlockId:t,parentId:o,block:r}=e;return{type:"MAKE_GLOBAL_BLOCK_TO_POPUP",payload:{fromBlockId:t,parentId:o,block:r}}}function T(e){let{id:t,data:o,meta:r}=e;return{type:"UPDATE_GLOBAL_BLOCK",payload:{id:t,data:o},meta:{is_autosave:1,...r}}}const _=e=>({type:"UPDATE_CURRENT_KIT_ID",payload:e}),k=e=>({type:"UPDATE_DISABLED_ELEMENTS",payload:e}),M=e=>(t,o)=>{const i=(0,a.fontsSelector)(o()),s=e.reduce(((e,t)=>{const{type:o,fonts:r}=t,a=i[o]?.data||[],[s,c]=n.default.partition(r,(e=>Object.prototype.hasOwnProperty.call(e,"deleted"))),d=c.map((e=>({...e,brizyId:(0,l.uuid)()})));return{...e,[o]:{data:a.map((e=>s.find((t=>{let{brizyId:o}=t;return e.brizyId===o}))||e)).concat(d)}}}),{});return t({type:"ADD_FONTS",payload:(0,r.mergeDeep)(i,s)})},O=e=>(t,o)=>{const{type:n,fonts:i}=e,l=(0,a.fontsSelector)(o()),s={[n]:{data:(l[n]&&l[n]?.data||[]).map((e=>i.some((t=>{let{brizyId:o}=t;return o===e.brizyId}))?{...e,deleted:!0}:e))}};return t({type:"DELETE_FONTS",payload:(0,r.mergeDeep)(l,s)})},E=e=>({type:"UPDATE_DEFAULT_FONT",payload:e}),B=e=>({type:"UPDATE_EXTRA_FONT_STYLES",payload:e});function z(e,t){return{type:"UPDATE_UI",key:e,value:t}}const I=e=>({type:"STORE_WAS_CHANGED",payload:e});function j(e){let{blocks:t,meta:o={}}=e;return{type:"UPDATE_BLOCKS",payload:{blocks:t},meta:{is_autosave:1,...o}}}const L=()=>({type:v}),F=e=>t=>new Promise(((o,r)=>{t({type:"PUBLISH",payload:{status:e},meta:{onSuccess:o,onError:r}})})),N=e=>({type:"UPDATE_PAGE_LAYOUT",payload:{layout:e}});function D(e){return{type:"ADD_BLOCK",payload:e,meta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{insertIndex:0}}}function R(e){return{type:"ADD_GLOBAL_BLOCK",payload:e,meta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{insertIndex:0}}}function A(e){let{id:t}=e;return{type:"DELETE_GLOBAL_BLOCK",payload:{id:t}}}function H(e){let{data:t,meta:o}=e;return{type:"UPDATE_GB_RULES",payload:t,meta:o}}function W(e){let{index:t,id:o}=e;return{type:"REMOVE_BLOCK",payload:{index:t,id:o}}}function V(){return{type:"REMOVE_BLOCKS"}}function G(e){return{type:"REORDER_BLOCKS",payload:e}}function U(e){return{type:h,payload:e,meta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{insertIndex:0}}}function q(e){return{meta:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{insertIndex:0},type:"IMPORT_TEMPLATE",payload:e}}const $=e=>({type:"IMPORT_KIT",payload:e});function Y(e){return z("deviceMode",e)}function Q(e){return{type:"UPDATE_AUTHORIZATION",payload:e}}function Z(e){return{type:"UPDATE_SYNC_ALLOWED",payload:e}}function K(e){return{type:"UPDATE_PAGE_TITLE",payload:e}}},2460:(e,t)=>{"use strict";function o(){return{type:"UNDO"}}function r(){return{type:"REDO"}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{undo:function(){return o},redo:function(){return r}})},45896:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{createHistorySnapshot:function(){return a},addHistoryDataToState:function(){return l},isHistoryEnhancedState:function(){return s},historyReducerEnhancer:function(){return c}});const r=o(35188),n=o(92636),i=o(90186);function a(e,t){return t.reduce(((t,o)=>(t[o]=e[o],t)),{})}function l(e,t){return{...e,history:{currSnapshot:t.getCurrentSnapshot(),prevSnapshot:t.getPreviousSnapshot(),canUndo:t.canUndo(),canRedo:t.canRedo()}}}function s(e){return"object"==typeof e.history&&null!==e.history&&(0,n.hasProps)(["currSnapshot","prevSnapshot","canUndo","canRedo"],e.history)}function c(e,t){const o=new i.History;return function(n,c){switch(c.type){case i.UNDO:case i.REDO:{const e=c.type===i.UNDO?o.canUndo():o.canRedo(),t=c.type===i.UNDO?o.undo:o.redo;return e?(t.call(o),l({...n,...o.getCurrentSnapshot(),storeWasChanged:r.StoreChanged.changed},o)):s(n)?n:l({...n,...o.getCurrentSnapshot(),storeWasChanged:r.StoreChanged.changed},o)}default:{const r=e(n,c);if(!c.type.includes("@@redux/INIT")){t.onBeforeUpdate&&t.onBeforeUpdate(n,c,o);const e=a(r,t.keysToTrack);o.update(e,{replacePresent:Boolean(c?.meta?.historyReplacePresent)})}return l(r,o)}}}}},86329:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"historySelector",{enumerable:!0,get:function(){return o}});const o=e=>e.history},90186:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{UNDO:function(){return o},REDO:function(){return r},History:function(){return n}});const o="UNDO",r="REDO";class n{snapshots=[];config={maxSize:20,collapseFrequency:2e3};currentIndex=-1;previousIndex=-1;lastSnapshotTimestamp=0;canUndo_=!1;canRedo_=!1;constructor(e){e&&(this.config=e),this.snapshots=new Array(this.config.maxSize).fill(null)}getSnapshots(){return this.snapshots}getCurrentSnapshot(){return this.snapshots[this.currentIndex]??null}getPreviousSnapshot(){return this.snapshots[this.previousIndex]??null}getSnapshot(e){if(e>0){const t=e-1;return this.snapshots[t]??null}{const t=this.snapshots.filter((e=>null!==e)).length+e;return this.snapshots[t]??null}}update(e,t){if(Object.keys(e).some((t=>e[t]!==this.snapshots[this.currentIndex]?.[t]))){const o=e,r=Date.now();if(t?.replacePresent)this.snapshots[this.currentIndex]=o;else{if(this.snapshots[this.currentIndex+1]&&null!==this.snapshots[this.currentIndex+1]){this.previousIndex=this.currentIndex,this.currentIndex++,this.snapshots[this.currentIndex]=o;for(let e=this.currentIndex+1;e<=this.snapshots.length-1;e++)this.snapshots[e]=null}else if(r-this.lastSnapshotTimestamp>this.config.collapseFrequency)if(this.currentIndex===this.snapshots.length-1){for(let e=0;e<=this.snapshots.length-2;e++)this.snapshots[e]=this.snapshots[e+1];this.snapshots[this.snapshots.length-1]=o}else this.previousIndex=this.currentIndex,this.currentIndex++,this.snapshots[this.currentIndex]=o;else this.snapshots[this.currentIndex]=o;this.updateFlags(),this.lastSnapshotTimestamp=r}}}replaceSnapshots(e){if(e.length!==this.snapshots.length)throw new Error("History. snapshots must be of same lengths");for(let t=0;t0,this.canRedo_=Boolean(this.snapshots[this.currentIndex+1]&&null!==this.snapshots[this.currentIndex+1])}}},21391:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=h(o(13556)),n=h(o(10301)),i=h(o(22546)),a=o(35188),l=o(64187),s=o(49627),c=o(64985),d=o(16526),u=o(10744),p=o(74215),f=o(86329),m=o(90186),y=o(97045),g=o(54985);function h(e){return e&&e.__esModule?e:{default:e}}const b=e=>t=>{const o=S.bind(null,e.dispatch);return a=>{const c=e.getState();t(a);const h=e.getState();!function(e){let{action:t,state:o,oldState:r,apiHandler:a}=e;if(t.type===p.PUBLISH){const{onSuccess:e=n.default.noop,onError:l=n.default.noop}=t.meta,s={is_autosave:0},c=(0,y.projectSelector)(r),u=(0,y.projectSelector)(o),p=(0,y.pageSelector)(r),f=(0,y.pageSelector)(o),m=[],h=i.default.getAll();if(!(0,d.isStory)(h)){const e=(0,y.changedGBIdsSelector)(o),t=(0,y.globalBlocksAssembledSelector)(o);g.debouncedApiAutoSave.cancel(),g.debouncedApiPublish.cancel();const r=Object.entries(t).reduce(((t,o)=>{let[r,n]=o;g.debouncedApiUpdateGlobalBlock.cancel(r);const{data:i,...a}=n;return t[r]=e.includes(r)?n:a,t}),{});m.push((0,g.apiUpdateGlobalBlocks)(r,s))}if(h.ui?.publish?.handler){let e;u!==c&&(e={projectData:u}),f!==p&&(e=e||{},e.pageData=f),e&&m.push((0,g.apiPublish)({...e,is_autosave:s.is_autosave},h))}a(Promise.all(m),e,l)}}({action:a,state:h,oldState:c,apiHandler:o}),function(e){let{action:t,state:o,oldState:a,apiHandler:s}=e;const c=i.default.getAll();switch(t.type){case u.UPDATE_CURRENT_STYLE_ID:case u.UPDATE_CURRENT_STYLE:case p.UPDATE_EXTRA_FONT_STYLES:{const e=(0,y.projectAssembled)(o);(0,g.debouncedApiAutoSave)({projectData:e},c);break}case p.IMPORT_KIT:case p.UPDATE_CURRENT_KIT_ID:case p.UPDATE_DISABLED_ELEMENTS:{const{onSuccess:e=n.default.noop,onError:r=n.default.noop}=t.meta||{},i=(0,y.projectSelector)(o);g.debouncedApiAutoSave.cancel(),s((0,g.apiOnChange)({projectData:i},c),e,r);break}case p.IMPORT_STORY:case p.IMPORT_TEMPLATE:{const{onSuccess:e=n.default.noop,onError:i=n.default.noop}=t.meta||{},l=(0,y.fontsSelector)(a),d=(0,y.fontsSelector)(o),u=(0,y.stylesSelector)(a),p=(0,y.stylesSelector)(o);if(l!==d||u!==p){const t=(0,r.default)((0,y.projectSelector)(o),(e=>{e.data.fonts=d,e.data.styles=p}));g.debouncedApiAutoSave.cancel(),s((0,g.apiOnChange)({projectData:t},c),e,i)}break}case p.ADD_FONTS:case p.DELETE_FONTS:{const e=(0,y.fontsSelector)(o),{onSuccess:i=n.default.noop,onError:a=n.default.noop}=t.meta||{},d=(0,r.default)((0,y.projectSelector)(o),(t=>{t.data.fonts=e}));g.debouncedApiAutoSave.cancel(),s((0,l.onChange)({projectData:d},c),i,a);break}case p.UPDATE_DEFAULT_FONT:{const e=(0,y.defaultFontSelector)(o),{onSuccess:i=n.default.noop,onError:a=n.default.noop}=t.meta||{},l=(0,r.default)((0,y.projectSelector)(o),(t=>{t.data.font=e}));g.debouncedApiAutoSave.cancel(),s((0,g.apiOnChange)({projectData:l},c),i,a);break}case m.UNDO:case m.REDO:{const{currSnapshot:e,prevSnapshot:t}=(0,f.historySelector)(o),r=e?.currentStyleId,n=t?.currentStyleId,i=e?.currentStyle,a=t?.currentStyle,l=e?.extraFontStyles,s=t?.extraFontStyles;if(r!==n||i!==a||l!==s){const e=(0,y.projectAssembled)(o);(0,g.debouncedApiAutoSave)({projectData:e},c)}}}}({action:a,state:h,oldState:c,apiHandler:o}),function(e){let{action:t,state:o}=e;switch(t.type){case u.MAKE_NORMAL_TO_GLOBAL_BLOCK:case u.MAKE_GLOBAL_TO_NORMAL_BLOCK:case u.REORDER_BLOCKS:case u.UPDATE_BLOCKS:case u.ADD_BLOCK:case p.ADD_GLOBAL_BLOCK:case u.REMOVE_BLOCK:{const e=(0,r.default)((0,y.pageSelector)(o),(e=>{e.data.items=(0,y.pageBlocksRawSelector)(o)}));(0,g.debouncedApiAutoSave)({pageData:e},i.default.getAll());break}case u.UPDATE_POPUP_RULES:{const{syncSuccess:e=n.default.noop,syncFail:r=n.default.noop}=t.meta||{},a={rules:t.payload.rules,dataVersion:o.page.dataVersion};(0,g.apiUpdatePopupRules)(a,i.default.getAll()).then(e).catch(r);break}case u.UPDATE_TRIGGERS:{const{page:e}=o,{syncSuccess:r=n.default.noop,syncFail:a=n.default.noop}=t.meta||{};(0,g.apiOnChange)({pageData:e},i.default.getAll()).then(r).catch(a);break}case m.UNDO:case m.REDO:}}({action:a,state:h,apiHandler:o}),function(e){let{action:t,state:o}=e;if(t.type===p.ADD_GLOBAL_BLOCK){const{_id:e}=t.payload.block.value,r=(0,y.globalBlocksSelector)(o)[e];g.debouncedApiUpdateGlobalBlock.set(e,e,r,t.meta)}else if(t.type===u.UPDATE_GLOBAL_BLOCK||t.type===u.REMOVE_BLOCK){const{id:e}=t.payload,r=(0,y.globalBlocksAssembledSelector)(o)[e];r&&g.debouncedApiUpdateGlobalBlock.set(e,e,r,t.meta)}else if(t.type===u.UPDATE_GB_RULES){const{id:e}=t.payload,{syncSuccess:r=n.default.noop,syncFail:i=n.default.noop}=t.meta||{},a={is_autosave:0},l=(0,y.globalBlocksSelector)(o)[e];(0,g.apiUpdateGlobalBlock)(e,l,a).then(r).catch(i)}if(t.type===u.MAKE_GLOBAL_TO_NORMAL_BLOCK){const{fromBlockId:e}=t.payload,r=(0,y.globalBlocksAssembledSelector)(o)[e];g.debouncedApiUpdateGlobalBlock.set(e,e,r,t.meta)}else if(t.type===u.DELETE_GLOBAL_BLOCK){const{id:e}=t.payload,r=(0,y.globalBlocksSelector)(o)[e],n={is_autosave:0};g.debouncedApiUpdateGlobalBlock.set(e,e,r,n)}else t.type===m.UNDO||(t.type,m.REDO)}({action:a,state:h,apiHandler:o}),function(e){let{action:t,state:o,apiHandler:r}=e;if(t.type===u.UPDATE_ERROR||t.type===u.HYDRATE){const e=(0,y.errorSelector)(o);(!e||e.code!==s.PROJECT_LOCKED_ERROR)&&v(r)}}({action:a,state:h,apiHandler:o})}},v=n.default.once((e=>{const{heartBeatInterval:t}=i.default.get("project");e((0,g.pollingSendHeartBeat)(t))}));function S(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.default.noop,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n.default.noop;return t.then((t=>{e((0,p.updateStoreWasChanged)(a.StoreChanged.unchanged)),o(t)})).catch((t=>{t&&t.heartBeat?e((0,u.updateError)({code:s.HEART_BEAT_ERROR,data:t.data})):(e((0,u.updateError)({code:s.PROJECT_DATA_VERSION_ERROR,data:(0,c.t)("This page needs a refresh. You’ve probably updated this page (or another page) in a different tab or browser.")})),r(t))}))}},54985:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{apiPublish:function(){return i.publish},apiAutoSave:function(){return i.autoSave},apiOnChange:function(){return i.onChange},apiCreateGlobalBlock:function(){return i.createGlobalBlock},apiUpdateGlobalBlock:function(){return i.updateGlobalBlock},apiUpdateGlobalBlocks:function(){return i.updateGlobalBlocks},apiCreateSavedBlock:function(){return i.createSavedBlock},apiDeleteSavedBlock:function(){return i.deleteSavedBlock},apiUpdatePopupRules:function(){return i.updatePopupRules},apiSendHeartBeat:function(){return i.sendHeartBeat},debouncedApiAutoSave:function(){return s},debouncedApiPublish:function(){return c},debouncedApiUpdateGlobalBlock:function(){return d},pollingSendHeartBeat:function(){return u}});const r=a(o(60138)),n=a(o(10301)),i=o(64187);function a(e){return e&&e.__esModule?e:{default:e}}const l=2e3,s=n.default.debounce(i.autoSave,l),c=n.default.debounce(i.publish,l),d=new class{constructor(e,t){var o=this;this.fn=e,this.wait=t,this.cancelId=null,this._debounce=(0,r.default)((function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne})}cancel=e=>{this.cancelId=e};async set(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r{if(!t){t=!0;const o=()=>{setTimeout((()=>{(0,i.sendHeartBeat)().then((e=>{!0===e?.locked?r({heartBeat:!0,data:e}):o()})).catch(o)}),e)};o()}}))}},82942:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorMiddleware",{enumerable:!0,get:function(){return i}});const r=o(97045),n=o(49627),i=e=>t=>o=>{const i=(0,r.errorSelector)(e.getState());i&&n.IRREPARABLE_ERRORS.includes(i.code)||t(o)}},73656:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{api:function(){return r.default},sideEffects:function(){return n.default},screenshots:function(){return i.default},error:function(){return a.errorMiddleware}});const r=l(o(21391)),n=l(o(31629)),i=l(o(42232)),a=o(82942);function l(e){return e&&e.__esModule?e:{default:e}}},42232:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return v}});const r=(n=o(10301))&&n.__esModule?n:{default:n};var n;const i=o(70634),a=o(92636),l=o(64187),s=o(10744),c=o(74215),d=o(90186),u=o(97045),p=o(21486),f=o(56675),m=o(16526),y=(0,f.makeTaskQueue)({interval:2e3}),g=e=>e.reduce(((e,t)=>(e[t.value._id]=t,e)),{}),h=(e,t)=>Boolean(g((0,u.pageBlocksSelector)(t.getState()))[e]),b=e=>"desktop"===(0,u.deviceModeSelector)(e.getState()),v=e=>t=>o=>{const r=e.getState();if(t(o),o.type===s.UPDATE_UI&&"deviceMode"===o.key&&("desktop"===o.value?y.start():y.stop()),o.type!==s.EDITOR_RENDERED&&o.type!==s.UPDATE_CURRENT_STYLE_ID&&o.type!==s.UPDATE_CURRENT_STYLE&&o.type!==c.UPDATE_EXTRA_FONT_STYLES&&o.type!==c.IMPORT_TEMPLATE||S(e,t),b(e)&&(o.type===s.UPDATE_BLOCKS||o.type===s.ADD_BLOCK||o.type===c.ADD_GLOBAL_BLOCK||o.type===s.UPDATE_GLOBAL_BLOCK||o.type===d.UNDO||o.type===d.REDO)){let n;o.meta&&(n={popup:o.meta.SectionPopup||o.meta.SectionPopup2,sourceBlockId:o.meta.sourceBlockId}),w(r,e,t,n)}},S=r.default.debounce((function(e,t){const o={page:new Set,global:new Set},r=e.getState();{const e=(0,u.pageBlocksSelector)(r);for(const t of e){if("SectionPopup"===t.type||"SectionPopup2"===t.type)return;"GlobalBlock"===t.type?o.global.add(t.value._id):o.page.add(t)}}x(o,e,t)}),2e3),w=(0,f.debounceAdvanced)({fn:function(e,t,o,r){const n={page:new Set,global:new Set},i=t.getState();{const t=g((0,u.pageBlocksSelector)(e)),o=g((0,u.pageBlocksSelector)(i)),r=(0,u.blocksDataSelector)(e),a=(0,u.blocksDataSelector)(i);for(const[e,i]of Object.entries(o))if("GlobalBlock"!==i.type)i!==t[e]&&n.page.add(i);else{const e=i.value._id;a[e]!==r[e]&&n.global.add(e)}}{const t=(0,u.globalBlocksSelector)(i),o=(0,u.blocksDataSelector)(e),r=(0,u.blocksDataSelector)(i);for(const e of Object.keys(t))r[e]!==o[e]&&n.global.add(e)}x(n,t,o,r)},wait:2e3,memoizeArgs:[0],onFirstCall:()=>y.stop(),onAfterFnCall:e=>{let{fnArgs:[,t]}=e;b(t)&&y.start()}});async function x(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const n=[...Array.from(e.page).map((e=>({id:e.value._id+(r.taskIdSuffix||""),priority:void 0!==r.taskPriority?r.taskPriority:y.taskPriorities.NORMAL,cb:r.popup?T:P,cbArgs:[t,o,r,e]}))),...Array.from(e.global).map((e=>({id:e+(r.taskIdSuffix||""),priority:void 0!==r.taskPriority?r.taskPriority:y.taskPriorities.NORMAL,cb:r.popup?_:C,cbArgs:[t,o,r,e]})))];n.length>0&&y.enqueue(n)}async function P(e,t,o,r,n){const i=r.value._id;let a,c;{const t=document.querySelector(`[id='${i}']`);if(!h(i,e)||!t)return;try{c=await(0,p.makeNodeScreenshot)(t)}catch(e){return}}{if(!h(i,e))return;if(!b(e))return void n();const t=(0,u.screenshotsSelector)(e.getState());t[i]?(a=t[i]._thumbnailSrc,await(0,l.updateBlockScreenshot)({id:a,base64:c.src,blockType:"normal"})):a=(await(0,l.createBlockScreenshot)({base64:c.src,blockType:"normal"})).id}h(i,e)&&t((0,s.updateScreenshot)({blockId:i,data:{_thumbnailSrc:a,_thumbnailWidth:c.width,_thumbnailHeight:c.height,_thumbnailTime:Date.now()},meta:{blockType:"normal"}}))}async function C(e,t,o,r,n){let i,c;{let t;if(o.sourceBlockId)t=o.sourceBlockId;else{const o=(0,u.pageBlocksSelector)(e.getState()),{obj:n}=(0,a.findDeep)(o,(e=>e.value&&e.value._id===r));if(!n)return;t=n.value._id}const n=document.querySelector(`[id='${t}']`);if(!n)return;try{c=await(0,p.makeNodeScreenshot)(n)}catch(e){return}}{if(!(0,u.globalBlocksSelector)(e.getState())[r])return;if(!b(e))return void n();const t=(0,u.screenshotsSelector)(e.getState()),o=t._published[r]&&t._published[r]._thumbnailSrc,a=t[r]&&t[r]._thumbnailSrc;o&&o!==a?(i=a,await(0,l.updateBlockScreenshot)({id:i,base64:c.src,blockType:"global"})):i=(await(0,l.createBlockScreenshot)({base64:c.src,blockType:"global"})).id}(0,u.globalBlocksSelector)(e.getState())[r]&&t((0,s.updateScreenshot)({blockId:r,data:{_thumbnailSrc:i,_thumbnailWidth:c.width,_thumbnailHeight:c.height,_thumbnailTime:Date.now()},meta:{blockType:"global",action:0===o.isAutosave?"create":"update"}}))}async function T(e,t,o,r,n){const{dbId:a,domId:c}=o.popup,d=(0,u.pageBlocksSelector)(e.getState()),f=(0,m.createFullModelPath)(d,[a]).slice(0,-1),y=(0,i.getIn)(d,f).value._id;let g,h;{const e=document.querySelector(`[id='${c}']`);if(!e)return;try{h=await(0,p.makeNodeScreenshot)(e)}catch(e){return}}{const t=(0,u.pageBlocksSelector)(e.getState()),o=(0,i.getIn)(t,f);if(!o||!o.value||o.value._id!==y)return;if(!b(e))return void n();const r=(0,u.screenshotsSelector)(e.getState()),a=r._published[y]&&r._published[y]._thumbnailSrc,s=r[y]&&r[y]._thumbnailSrc;s&&s!==a?(g=s,await(0,l.updateBlockScreenshot)({id:g,base64:h.src,blockType:"global"})):g=(await(0,l.createBlockScreenshot)({base64:h.src,blockType:"global"})).id}{const o=(0,u.pageBlocksSelector)(e.getState()),r=(0,i.getIn)(o,f);if((r&&r.value&&r.value._id)!==y)return;t((0,s.updateScreenshot)({blockId:y,data:{_thumbnailSrc:g,_thumbnailWidth:h.width,_thumbnailHeight:h.height,_thumbnailTime:Date.now()},meta:{blockType:"popup"}}))}}async function _(e,t,o,r,n){const{domId:i,dbId:c}=o.popup,d=(0,u.globalBlocksAssembledSelector)(e.getState())[r];if(!d)return;const{obj:f}=(0,a.findDeep)(d,(e=>e&&e.value&&e.value._id===c));if(!f)return;const m=f.value._id,y=f===d.data;let g,h;{const e=document.querySelector(`[id='${i}']`);if(!e)return;try{h=await(0,p.makeNodeScreenshot)(e)}catch(e){return}}{const t=(0,u.globalBlocksAssembledSelector)(e.getState())[r];if(!t)return;const{obj:o}=(0,a.findDeep)(t,(e=>e&&e.value&&e.value._id===c));if(!Boolean(o))return;if(!b(e))return void n();if(o.value._thumbnailSrc){const t=(0,u.screenshotsSelector)(e.getState())._published[y?r:m];t&&o.value._thumbnailSrc===t._thumbnailSrc?g=(await(0,l.createBlockScreenshot)({base64:h.src,blockType:y?"global":"normal"})).id:(g=o.value._thumbnailSrc,await(0,l.updateBlockScreenshot)({id:g,base64:h.src,blockType:y?"global":"normal"}))}else g=(await(0,l.createBlockScreenshot)({base64:h.src,blockType:y?"global":"normal"})).id}{const o=(0,u.globalBlocksAssembledSelector)(e.getState())[r];if(!o)return;const{obj:n}=(0,a.findDeep)(o,(e=>e&&e.value&&e.value._id===c));if(!Boolean(n))return;t((0,s.updateScreenshot)({blockId:y?r:m,data:{_thumbnailSrc:g,_thumbnailWidth:h.width,_thumbnailHeight:h.height,_thumbnailTime:Date.now()},meta:{blockType:"popup"}}))}}},92691:(e,t)=>{"use strict";function o(e){let t,o,{fn:r,wait:n=1e3,memoizeArgs:i=[],onFirstCall:a=(()=>{}),onAfterFnCall:l=(()=>{})}=e,s=!1;return function(){for(var e=arguments.length,c=new Array(e),d=0;d(e[t]=c[t],e)),{})),o=setTimeout((()=>{const e=c.map(((e,o)=>t[o]?t[o]:e));o=void 0,t=void 0,s=!1,r(...e),l({fnArgs:e})}),n)}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"debounceAdvanced",{enumerable:!0,get:function(){return o}})},56675:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var o in t)Object.defineProperty(e,o,{enumerable:!0,get:t[o]})}(t,{makeTaskQueue:function(){return r.makeTaskQueue},debounceAdvanced:function(){return n.debounceAdvanced}});const r=o(96465),n=o(92691)},96465:(e,t)=>{"use strict";function o(e){return{taskPriorities:{IMMEDIATE:0,HIGH:1,NORMAL:2},_options:{interval:1e3,...e},_running:!0,_looping:!1,_tasks:[],enqueue(e){const t=this._tasks.reduce(((e,t)=>(e[t.id]=!0,e)),{});e.forEach((e=>{if(t[e.id]){const t=this._tasks.findIndex((t=>t.id===e.id));this._tasks[t]=e}else this._tasks.push(e)})),this._tasks.sort(((e,t)=>e.priority-t.priority)),this._process()},start(){this._running=!0,this._process()},stop(){this._running=!1},_process(){0!==this._tasks.length&&(this._tasks.forEach((e=>{e.priority===this.taskPriorities.IMMEDIATE&&e.cb(...e.cbArgs||[])})),this._tasks=this._tasks.filter((e=>e.priority!==this.taskPriorities.IMMEDIATE)),this._looping||this._loop())},_loop(){this._looping=!0,setTimeout((async()=>{if(this._running&&this._tasks.length>0){const e=this._tasks.shift();try{const t=()=>t.called=!0;await e.cb(...e.cbArgs||[],t),t.called&&this._tasks.push(e)}catch(e){}this._tasks.length>0?this._loop():this._looping=!1}else this._looping=!1}),this._options.interval)}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"makeTaskQueue",{enumerable:!0,get:function(){return o}})},31629:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});const r=h(o(65311)),n=h(o(10301)),i=o(81504),a=o(35188),l=o(81405),s=o(98130),c=o(37970),d=o(72833),u=o(10744),p=o(74215),f=o(86329),m=o(90186),y=o(97045),g=o(37203);function h(e){return e&&e.__esModule?e:{default:e}}const b=e=>t=>o=>h=>{const b={onBeforeNext:[],onAfterNext:[]};!function(e){e.onAfterNext.push((e=>{let{state:t,oldState:o}=e;const r=(0,y.storeWasChangedSelector)(o),n=(0,y.storeWasChangedSelector)(t);if(r!==n){const e=window.parent||window;switch(n){case a.StoreChanged.changed:e.addEventListener("beforeunload",v);break;case a.StoreChanged.unchanged:e.removeEventListener("beforeunload",v)}}}))}(b),h.type===u.HYDRATE&&function(e){e.onAfterNext.push((e=>{let{state:t,store:o,config:n}=e;const{document:i,parentDocument:a}=n,c=(0,d.projectFontsData)((0,y.unDeletedFontsSelector)(t)),{colorPalette:p,fontStyles:f}=(0,y.currentStyleSelector)(t),m=[...f,...(0,g.extraFontStylesSelector)(t)],h=(0,y.getDefaultFontDetailsSelector)(t),b=(0,r.default)(" {% if false and (DEV is not defined or DEV == false) %} @@ -39,6 +40,7 @@ + {% if PRO is defined and PRO %} {% set assetsUrlPro = editorData.pro.urls.assets %} diff --git a/public/editor-src/jest.config.js b/public/editor-src/jest.config.js index 5c93cde131..2df55bc97e 100644 --- a/public/editor-src/jest.config.js +++ b/public/editor-src/jest.config.js @@ -23,6 +23,10 @@ module.exports = { TARGET: "Jest", IS_EDITOR: true, __VISUAL_CONFIG__: { + pageData: { + id: "", + data: "" + }, imageSizes: [ { label: "Original", diff --git a/public/editor-src/package.json b/public/editor-src/package.json index d77419be0d..5cd909cc1a 100644 --- a/public/editor-src/package.json +++ b/public/editor-src/package.json @@ -4,10 +4,10 @@ "author": "Brizy", "dependencies": { "@apollo/client": "^3.7.12", - "@brizy/builder-ui-components": "*", "@brizy/builder-icons": "*", + "@brizy/builder-ui-components": "*", "@brizy/component": "*", - "@brizy/motion": "0.0.4", + "@brizy/motion": "^0.1.1", "@brizy/ui-icons": "0.0.38", "@brizy/widget": "*", "@dnd-kit/core": "^6.0.6", From 3c1bbb7f8ed8747491ba942a456da6860ea4021e Mon Sep 17 00:00:00 2001 From: Jenkins Jancovici Date: Wed, 11 Oct 2023 07:15:41 +0000 Subject: [PATCH 8/8] Build 2.4.28 --- README.md | 34 +++++++++++++++++++++++++++++++--- brizy.php | 4 ++-- readme.txt | 34 +++++++++++++++++++++++++++++++--- 3 files changed, 64 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f62b8ac3c7..5bebed0d26 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ Contributors: themefuse
Requires at least: 4.5
-Tested up to: 6.2.2
-Requires PHP: 5.6.20
-Stable tag: 2.4.27
+Tested up to: 6.3.1
+Requires PHP: 7.0.0
+Stable tag: 2.4.28
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -136,6 +136,34 @@ $bodyHtml = apply_filters( 'brizy_content', $html->get_body(), Brizy_Editor_Proj ## Changelog +### 2.4.28 - 2023-10-11 +* New: Added Internal Link on the link option for all elements +* Improved: Removed getPage request added pageData inside config +* Improved: Sections container width was changed in 1170px +* Improved: Changed icon for the Webhooks integration on forms +* Improved: Removed the ability to change icons in responsive views for the icon element +* Improved: Button width for default fill type +* Improved: Rename Tags titles in Saved blocks +* Improved: Rearrange Global typography styles +* Improved: Responsive views change automatically when you select the devices in global typography styling +* Fixed: Text color picker on dynamic elements +* Fixed: Hover on certain elements that have motion effects set +* Fixed: Drag and Drop was not working on images with link +* Fixed: Lightbox preview +* Fixed: Toolbars label text length +* Fixed: Dynamic text with gradient color was not visible +* Fixed: Hover animation not working for the same item after sliding +* Fixed: Column content align when scroll animation is applied +* Fixed: Text space for ordered and unordered lists +* Fixed: The accordion element disappears after deleting tags +* Fixed: Opacity for Gradient color does not work correctly +* Fixed: Button Spacing incorrectly affects position and alignment +* Fixed: Global styling not changing +* Fixed: Audio element is still playing after the pop-up is closed +* Fixes: Global colors for Image shadow +* Fixes: Global colors for Image border +* Fixed: Tab and Accordion elements heading get hidden under Sticky/Fixed menu on mobiles + ### 2.4.27 - 2023-08-08 * New: Added 26 new premade design templates diff --git a/brizy.php b/brizy.php index c28235e4aa..201f91d3fe 100755 --- a/brizy.php +++ b/brizy.php @@ -5,7 +5,7 @@ * Plugin URI: https://brizy.io/ * Author: Brizy.io * Author URI: https://brizy.io/ - * Version: 2.4.27 + * Version: 2.4.28 * Text Domain: brizy * License: GPLv3 * Domain Path: /languages @@ -19,7 +19,7 @@ define('BRIZY_DEVELOPMENT', false ); define('BRIZY_LOG', false ); -define('BRIZY_VERSION', '2.4.27'); +define('BRIZY_VERSION', '2.4.28'); define('BRIZY_MINIMUM_PRO_VERSION', '2.4.15'); define('BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '267-wp' ); define('BRIZY_SYNC_VERSION', '267'); diff --git a/readme.txt b/readme.txt index 0e922802d8..45e0fd6722 100644 --- a/readme.txt +++ b/readme.txt @@ -2,9 +2,9 @@ Contributors: themefuse Tags: page builder, website builder, brizy, editor, visual editor, unyson, wysiwyg, landing page, drag-and-drop, design, landing page builder, front-end builder Requires at least: 4.5 -Tested up to: 6.2.2 -Requires PHP: 5.6.20 -Stable tag: 2.4.27 +Tested up to: 6.3.1 +Requires PHP: 7.0.0 +Stable tag: 2.4.28 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -133,6 +133,34 @@ Don't worry if you make a mistake or delete something that you shouldn't have. W == Changelog == += 2.4.28 - 2023-10-11 = +* New: Added Internal Link on the link option for all elements +* Improved: Removed getPage request added pageData inside config +* Improved: Sections container width was changed in 1170px +* Improved: Changed icon for the Webhooks integration on forms +* Improved: Removed the ability to change icons in responsive views for the icon element +* Improved: Button width for default fill type +* Improved: Rename Tags titles in Saved blocks +* Improved: Rearrange Global typography styles +* Improved: Responsive views change automatically when you select the devices in global typography styling +* Fixed: Text color picker on dynamic elements +* Fixed: Hover on certain elements that have motion effects set +* Fixed: Drag and Drop was not working on images with link +* Fixed: Lightbox preview +* Fixed: Toolbars label text length +* Fixed: Dynamic text with gradient color was not visible +* Fixed: Hover animation not working for the same item after sliding +* Fixed: Column content align when scroll animation is applied +* Fixed: Text space for ordered and unordered lists +* Fixed: The accordion element disappears after deleting tags +* Fixed: Opacity for Gradient color does not work correctly +* Fixed: Button Spacing incorrectly affects position and alignment +* Fixed: Global styling not changing +* Fixed: Audio element is still playing after the pop-up is closed +* Fixes: Global colors for Image shadow +* Fixes: Global colors for Image border +* Fixed: Tab and Accordion elements heading get hidden under Sticky/Fixed menu on mobiles + = 2.4.27 - 2023-08-08 = * New: Added 26 new premade design templates