Version Description
Download this release
Release Info
Developer | vektor-inc |
Plugin | VK Blocks |
Version | 1.43.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.41.2.3 to 1.43.0.0
- build/block-build.css +1 -1
- build/utils/common.css +1 -1
- build/vk_blocks_options.css +1 -1
- inc/vk-admin/package/_scss/vk_admin.scss +59 -31
- inc/vk-admin/package/class-vk-admin.php +34 -30
- inc/vk-admin/package/css/vk_admin.css +1 -1
- inc/vk-admin/package/js/vk_admin.js +0 -98
- inc/vk-blocks-config.php +3 -1
- inc/vk-blocks/admin/admin.php +1 -1
- inc/vk-blocks/build/admin-build.asset.php +1 -1
- inc/vk-blocks/build/admin-build.js +1 -1
- inc/vk-blocks/build/block-build.asset.php +1 -1
- inc/vk-blocks/build/block-build.js +2 -2
- inc/vk-blocks/build/blocks/ancestor-page-list/index.php +10 -6
- inc/vk-blocks/build/blocks/faq/index.php +1 -1
- inc/vk-blocks/build/blocks/faq2/index.php +1 -1
- inc/vk-blocks/build/blocks/page-content/index.php +1 -1
- inc/vk-blocks/build/blocks/spacer/index.php +18 -5
- inc/vk-blocks/build/blocks/staff/index.php +0 -7
- inc/vk-blocks/class-vk-blocks-options.php +46 -0
- inc/vk-blocks/class-vk-blocks-print-css-variables.php +1 -6
- inc/vk-blocks/languages/vk-blocks-ja-vk-blocks-admin-js.json +0 -1
build/block-build.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
:root{--vk-margin-elem:2rem}.text-nowrap{white-space:nowrap}:root{--vk-margin-sm: 1.5rem;--vk-margin-md: 2.4rem;--vk-margin-lg: 4rem}.vk_block-margin-0--margin-top{margin-top:0 !important}.vk_block-margin-0--margin-top>table{margin-top:0}.vk_block-margin-0--margin-bottom{margin-bottom:0 !important}.vk_block-margin-0--margin-bottom>table{margin-bottom:0}.vk_block-margin-sm{margin-top:var(--vk-margin-sm)}.vk_block-margin-sm--margin-top{margin-top:var(--vk-margin-sm) !important}.vk_block-margin-sm--margin-bottom{margin-bottom:var(--vk-margin-sm) !important}.vk_block-margin-sm--height{height:var(--vk-margin-sm)}.vk_block-margin-md{margin-top:var(--vk-margin-md)}.vk_block-margin-md--margin-top{margin-top:var(--vk-margin-md) !important}.vk_block-margin-md--margin-bottom{margin-bottom:var(--vk-margin-md) !important}.vk_block-margin-md--height{height:var(--vk-margin-md)}.vk_block-margin-lg{margin-top:var(--vk-margin-lg)}.vk_block-margin-lg--margin-top{margin-top:var(--vk-margin-lg) !important}.vk_block-margin-lg--margin-bottom{margin-bottom:var(--vk-margin-lg) !important}.vk_block-margin-lg--height{height:var(--vk-margin-lg)}ul.is-style-vk-arrow-mark,ul.is-style-vk-triangle-mark,ul.is-style-vk-check-mark,ul.is-style-vk-check-circle-mark,ul.is-style-vk-check-square-mark,ul.is-style-vk-handpoint-mark,ul.is-style-vk-pencil-mark,ul.is-style-vk-smile-mark,ul.is-style-vk-frown-mark,ul.is-style-vk-numbered-circle-mark,ul.is-style-vk-numbered-square-mark,ol.is-style-vk-arrow-mark,ol.is-style-vk-triangle-mark,ol.is-style-vk-check-mark,ol.is-style-vk-check-circle-mark,ol.is-style-vk-check-square-mark,ol.is-style-vk-handpoint-mark,ol.is-style-vk-pencil-mark,ol.is-style-vk-smile-mark,ol.is-style-vk-frown-mark,ol.is-style-vk-numbered-circle-mark,ol.is-style-vk-numbered-square-mark{-webkit-padding-start:2em;padding-inline-start:2em}ul.is-style-vk-arrow-mark li,ul.is-style-vk-triangle-mark li,ul.is-style-vk-check-mark li,ul.is-style-vk-check-circle-mark li,ul.is-style-vk-check-square-mark li,ul.is-style-vk-handpoint-mark li,ul.is-style-vk-pencil-mark li,ul.is-style-vk-smile-mark li,ul.is-style-vk-frown-mark li,ul.is-style-vk-numbered-circle-mark li,ul.is-style-vk-numbered-square-mark li,ol.is-style-vk-arrow-mark li,ol.is-style-vk-triangle-mark li,ol.is-style-vk-check-mark li,ol.is-style-vk-check-circle-mark li,ol.is-style-vk-check-square-mark li,ol.is-style-vk-handpoint-mark li,ol.is-style-vk-pencil-mark li,ol.is-style-vk-smile-mark li,ol.is-style-vk-frown-mark li,ol.is-style-vk-numbered-circle-mark li,ol.is-style-vk-numbered-square-mark li{list-style:none;position:relative;margin-top:0;margin-left:0;margin:calc( var(--vk-size-text) * 0.8 ) 0;line-height:calc( var(--vk-size-text) * 1.65 )}ul.is-style-vk-numbered-circle-mark,ol.is-style-vk-numbered-circle-mark{counter-reset:number;list-style-type:none}ul.is-style-vk-numbered-circle-mark li,ol.is-style-vk-numbered-circle-mark li{position:relative;list-style:none;padding-left:.5em}ul.is-style-vk-numbered-circle-mark li:before,ol.is-style-vk-numbered-circle-mark li:before{position:absolute;left:0;counter-increment:number;content:counter(number);margin-left:-1.8em;background:#222;color:#fff;text-indent:0;display:inline-block;font-weight:bold;border-radius:50%;font-size:calc( var(--vk-size-text) * 1 );line-height:calc( var(--vk-size-text) * 1.8 );width:26px;height:26px;text-align:center}ul.is-style-vk-numbered-circle-mark li ul,ul.is-style-vk-numbered-circle-mark li ol,ol.is-style-vk-numbered-circle-mark li ul,ol.is-style-vk-numbered-circle-mark li ol{counter-reset:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-circle-mark li ul li:before,ul.is-style-vk-numbered-circle-mark li ol li:before,ol.is-style-vk-numbered-circle-mark li ul li:before,ol.is-style-vk-numbered-circle-mark li ol li:before{counter-increment:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-square-mark,ol.is-style-vk-numbered-square-mark{counter-reset:number;list-style-type:none}ul.is-style-vk-numbered-square-mark li,ol.is-style-vk-numbered-square-mark li{position:relative;list-style:none;padding-left:.5em}ul.is-style-vk-numbered-square-mark li:before,ol.is-style-vk-numbered-square-mark li:before{position:absolute;left:-0.3em;counter-increment:number;content:counter(number);margin-left:-25px;background:#222;color:#fff;text-indent:0;display:inline-block;font-weight:bold;font-size:calc( var(--vk-size-text) * 1 );line-height:calc( var(--vk-size-text) * 1.8 );width:26px;height:26px;text-align:center;border-radius:2px}ul.is-style-vk-numbered-square-mark li ul,ul.is-style-vk-numbered-square-mark li ol,ol.is-style-vk-numbered-square-mark li ul,ol.is-style-vk-numbered-square-mark li ol{counter-reset:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-square-mark li ul li:before,ul.is-style-vk-numbered-square-mark li ol li:before,ol.is-style-vk-numbered-square-mark li ul li:before,ol.is-style-vk-numbered-square-mark li ol li:before{counter-increment:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-circle-mark.fa-lg li::before,ul.is-style-vk-numbered-square-mark.fa-lg li::before,ol.is-style-vk-numbered-circle-mark.fa-lg li::before,ol.is-style-vk-numbered-square-mark.fa-lg li::before{left:-0.8em}ul.is-style-vk-numbered-circle-mark.fa-2x li,ul.is-style-vk-numbered-square-mark.fa-2x li,ol.is-style-vk-numbered-circle-mark.fa-2x li,ol.is-style-vk-numbered-square-mark.fa-2x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-2x li::before,ul.is-style-vk-numbered-square-mark.fa-2x li::before,ol.is-style-vk-numbered-circle-mark.fa-2x li::before,ol.is-style-vk-numbered-square-mark.fa-2x li::before{left:-1.1em}ul.is-style-vk-numbered-circle-mark.fa-3x li,ul.is-style-vk-numbered-square-mark.fa-3x li,ol.is-style-vk-numbered-circle-mark.fa-3x li,ol.is-style-vk-numbered-square-mark.fa-3x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-3x li::before,ul.is-style-vk-numbered-square-mark.fa-3x li::before,ol.is-style-vk-numbered-circle-mark.fa-3x li::before,ol.is-style-vk-numbered-square-mark.fa-3x li::before{left:-1.4em}ul.is-style-vk-numbered-circle-mark.fa-4x li,ul.is-style-vk-numbered-square-mark.fa-4x li,ol.is-style-vk-numbered-circle-mark.fa-4x li,ol.is-style-vk-numbered-square-mark.fa-4x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-4x li::before,ul.is-style-vk-numbered-square-mark.fa-4x li::before,ol.is-style-vk-numbered-circle-mark.fa-4x li::before,ol.is-style-vk-numbered-square-mark.fa-4x li::before{left:-1.5em}ul.is-style-vk-numbered-circle-mark.fa-5x li,ul.is-style-vk-numbered-square-mark.fa-5x li,ol.is-style-vk-numbered-circle-mark.fa-5x li,ol.is-style-vk-numbered-square-mark.fa-5x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-5x li::before,ul.is-style-vk-numbered-square-mark.fa-5x li::before,ol.is-style-vk-numbered-circle-mark.fa-5x li::before,ol.is-style-vk-numbered-square-mark.fa-5x li::before{left:-1.6em}ul.is-style-vk-arrow-mark li::before,ol.is-style-vk-arrow-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-triangle-mark li::before,ol.is-style-vk-triangle-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-mark li::before,ol.is-style-vk-check-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-circle-mark li::before,ol.is-style-vk-check-circle-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-square-mark li::before,ol.is-style-vk-check-square-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-handpoint-mark li::before,ol.is-style-vk-handpoint-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-pencil-mark li::before,ol.is-style-vk-pencil-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-smile-mark li::before,ol.is-style-vk-smile-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-frown-mark li::before,ol.is-style-vk-frown-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.vk-has-pale-pink-color li::marker,ol.vk-has-pale-pink-color li::marker{color:#f78da7}ul.vk-has-pale-pink-color li::before,ol.vk-has-pale-pink-color li::before{color:#f78da7}ul.is-style-vk-numbered-circle-mark.vk-has-pale-pink-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-pale-pink-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-pale-pink-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-pale-pink-color li::before{color:#fff;background-color:#f78da7}ul.vk-has-vivid-red-color li::marker,ol.vk-has-vivid-red-color li::marker{color:#cf2e2e}ul.vk-has-vivid-red-color li::before,ol.vk-has-vivid-red-color li::before{color:#cf2e2e}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-red-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-red-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-red-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-red-color li::before{color:#fff;background-color:#cf2e2e}ul.vk-has-luminous-vivid-orange-color li::marker,ol.vk-has-luminous-vivid-orange-color li::marker{color:#ff6900}ul.vk-has-luminous-vivid-orange-color li::before,ol.vk-has-luminous-vivid-orange-color li::before{color:#ff6900}ul.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-orange-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-orange-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-orange-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-orange-color li::before{color:#fff;background-color:#ff6900}ul.vk-has-luminous-vivid-amber-color li::marker,ol.vk-has-luminous-vivid-amber-color li::marker{color:#fcb900}ul.vk-has-luminous-vivid-amber-color li::before,ol.vk-has-luminous-vivid-amber-color li::before{color:#fcb900}ul.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-amber-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-amber-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-amber-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-amber-color li::before{color:#fff;background-color:#fcb900}ul.vk-has-light-green-cyan-color li::marker,ol.vk-has-light-green-cyan-color li::marker{color:#7bdcb5}ul.vk-has-light-green-cyan-color li::before,ol.vk-has-light-green-cyan-color li::before{color:#7bdcb5}ul.is-style-vk-numbered-circle-mark.vk-has-light-green-cyan-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-light-green-cyan-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-light-green-cyan-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-light-green-cyan-color li::before{color:#fff;background-color:#7bdcb5}ul.vk-has-vivid-green-cyan-color li::marker,ol.vk-has-vivid-green-cyan-color li::marker{color:#00d084}ul.vk-has-vivid-green-cyan-color li::before,ol.vk-has-vivid-green-cyan-color li::before{color:#00d084}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-green-cyan-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-green-cyan-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-green-cyan-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-green-cyan-color li::before{color:#fff;background-color:#00d084}ul.vk-has-pale-cyan-blue-color li::marker,ol.vk-has-pale-cyan-blue-color li::marker{color:#8ed1fc}ul.vk-has-pale-cyan-blue-color li::before,ol.vk-has-pale-cyan-blue-color li::before{color:#8ed1fc}ul.is-style-vk-numbered-circle-mark.vk-has-pale-cyan-blue-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-pale-cyan-blue-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-pale-cyan-blue-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-pale-cyan-blue-color li::before{color:#fff;background-color:#8ed1fc}ul.vk-has-vivid-cyan-blue-color li::marker,ol.vk-has-vivid-cyan-blue-color li::marker{color:#0693e3}ul.vk-has-vivid-cyan-blue-color li::before,ol.vk-has-vivid-cyan-blue-color li::before{color:#0693e3}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-cyan-blue-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-cyan-blue-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-cyan-blue-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-cyan-blue-color li::before{color:#fff;background-color:#0693e3}ul.vk-has-vivid-purple-color li::marker,ol.vk-has-vivid-purple-color li::marker{color:#9b51e0}ul.vk-has-vivid-purple-color li::before,ol.vk-has-vivid-purple-color li::before{color:#9b51e0}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-purple-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-purple-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-purple-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-purple-color li::before{color:#fff;background-color:#9b51e0}ul.vk-has-very-light-gray-color li::marker,ol.vk-has-very-light-gray-color li::marker{color:#eee}ul.vk-has-very-light-gray-color li::before,ol.vk-has-very-light-gray-color li::before{color:#eee}ul.is-style-vk-numbered-circle-mark.vk-has-very-light-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-very-light-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-very-light-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-very-light-gray-color li::before{color:#fff;background-color:#eee}ul.vk-has-cyan-bluish-gray-color li::marker,ol.vk-has-cyan-bluish-gray-color li::marker{color:#abb8c3}ul.vk-has-cyan-bluish-gray-color li::before,ol.vk-has-cyan-bluish-gray-color li::before{color:#abb8c3}ul.is-style-vk-numbered-circle-mark.vk-has-cyan-bluish-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-cyan-bluish-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-cyan-bluish-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-cyan-bluish-gray-color li::before{color:#fff;background-color:#abb8c3}ul.vk-has-very-dark-gray-color li::marker,ol.vk-has-very-dark-gray-color li::marker{color:#313131}ul.vk-has-very-dark-gray-color li::before,ol.vk-has-very-dark-gray-color li::before{color:#313131}ul.is-style-vk-numbered-circle-mark.vk-has-very-dark-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-very-dark-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-very-dark-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-very-dark-gray-color li::before{color:#fff;background-color:#313131}ul.vk-has-white-color li::marker,ol.vk-has-white-color li::marker{color:#fff}ul.vk-has-white-color li::before,ol.vk-has-white-color li::before{color:#fff}ul.is-style-vk-numbered-circle-mark.vk-has-white-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-white-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-white-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-white-color li::before{color:#fff;background-color:#fff}ul.vk-has-vk-color-primary-color li::marker,ol.vk-has-vk-color-primary-color li::marker{color:var(--vk-color-primary)}ul.vk-has-vk-color-primary-color li::before,ol.vk-has-vk-color-primary-color li::before{color:var(--vk-color-primary)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-color li::before{color:#fff;background-color:var(--vk-color-primary)}ul.vk-has-vk-color-primary-dark-color li::marker,ol.vk-has-vk-color-primary-dark-color li::marker{color:var(--vk-color-primary-dark)}ul.vk-has-vk-color-primary-dark-color li::before,ol.vk-has-vk-color-primary-dark-color li::before{color:var(--vk-color-primary-dark)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-dark-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-dark-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-dark-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-dark-color li::before{color:#fff;background-color:var(--vk-color-primary-dark)}ul.vk-has-vk-color-primary-vivid-color li::marker,ol.vk-has-vk-color-primary-vivid-color li::marker{color:var(--vk-color-primary-vivid)}ul.vk-has-vk-color-primary-vivid-color li::before,ol.vk-has-vk-color-primary-vivid-color li::before{color:var(--vk-color-primary-vivid)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-vivid-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-vivid-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-vivid-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-vivid-color li::before{color:#fff;background-color:var(--vk-color-primary-vivid)}ul.vk-has-vk-color-custom-1-color li::marker,ol.vk-has-vk-color-custom-1-color li::marker{color:var(--vk-color-custom-1)}ul.vk-has-vk-color-custom-1-color li::before,ol.vk-has-vk-color-custom-1-color li::before{color:var(--vk-color-custom-1)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-1-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-1-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-1-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-1-color li::before{color:#fff;background-color:var(--vk-color-custom-1)}ul.vk-has-vk-color-custom-2-color li::marker,ol.vk-has-vk-color-custom-2-color li::marker{color:var(--vk-color-custom-2)}ul.vk-has-vk-color-custom-2-color li::before,ol.vk-has-vk-color-custom-2-color li::before{color:var(--vk-color-custom-2)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-2-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-2-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-2-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-2-color li::before{color:#fff;background-color:var(--vk-color-custom-2)}ul.vk-has-vk-color-custom-3-color li::marker,ol.vk-has-vk-color-custom-3-color li::marker{color:var(--vk-color-custom-3)}ul.vk-has-vk-color-custom-3-color li::before,ol.vk-has-vk-color-custom-3-color li::before{color:var(--vk-color-custom-3)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-3-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-3-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-3-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-3-color li::before{color:#fff;background-color:var(--vk-color-custom-3)}ul.vk-has-vk-color-custom-4-color li::marker,ol.vk-has-vk-color-custom-4-color li::marker{color:var(--vk-color-custom-4)}ul.vk-has-vk-color-custom-4-color li::before,ol.vk-has-vk-color-custom-4-color li::before{color:var(--vk-color-custom-4)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-4-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-4-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-4-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-4-color li::before{color:#fff;background-color:var(--vk-color-custom-4)}ul.vk-has-vk-color-custom-5-color li::marker,ol.vk-has-vk-color-custom-5-color li::marker{color:var(--vk-color-custom-5)}ul.vk-has-vk-color-custom-5-color li::before,ol.vk-has-vk-color-custom-5-color li::before{color:var(--vk-color-custom-5)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-5-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-5-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-5-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-5-color li::before{color:#fff;background-color:var(--vk-color-custom-5)}.wp-block-group h3:first-child,.wp-block-group h4:first-child{margin-top:0}.wp-block-group p:last-child,.wp-block-group ul:last-child,.wp-block-group ol:last-child,.wp-block-group dl:last-child,.wp-block-group table:last-child,.wp-block-group .wp-block-columns:last-child{margin-bottom:0}.wp-block-group.vk-has-pale-pink-color{border-color:#f78da7}.wp-block-group.vk-has-pale-pink-color .wp-block-group__inner-container{border-color:#f78da7}.wp-block-group.vk-has-vivid-red-color{border-color:#cf2e2e}.wp-block-group.vk-has-vivid-red-color .wp-block-group__inner-container{border-color:#cf2e2e}.wp-block-group.vk-has-luminous-vivid-orange-color{border-color:#ff6900}.wp-block-group.vk-has-luminous-vivid-orange-color .wp-block-group__inner-container{border-color:#ff6900}.wp-block-group.vk-has-luminous-vivid-amber-color{border-color:#fcb900}.wp-block-group.vk-has-luminous-vivid-amber-color .wp-block-group__inner-container{border-color:#fcb900}.wp-block-group.vk-has-light-green-cyan-color{border-color:#7bdcb5}.wp-block-group.vk-has-light-green-cyan-color .wp-block-group__inner-container{border-color:#7bdcb5}.wp-block-group.vk-has-vivid-green-cyan-color{border-color:#00d084}.wp-block-group.vk-has-vivid-green-cyan-color .wp-block-group__inner-container{border-color:#00d084}.wp-block-group.vk-has-pale-cyan-blue-color{border-color:#8ed1fc}.wp-block-group.vk-has-pale-cyan-blue-color .wp-block-group__inner-container{border-color:#8ed1fc}.wp-block-group.vk-has-vivid-cyan-blue-color{border-color:#0693e3}.wp-block-group.vk-has-vivid-cyan-blue-color .wp-block-group__inner-container{border-color:#0693e3}.wp-block-group.vk-has-vivid-purple-color{border-color:#9b51e0}.wp-block-group.vk-has-vivid-purple-color .wp-block-group__inner-container{border-color:#9b51e0}.wp-block-group.vk-has-very-light-gray-color{border-color:#eee}.wp-block-group.vk-has-very-light-gray-color .wp-block-group__inner-container{border-color:#eee}.wp-block-group.vk-has-cyan-bluish-gray-color{border-color:#abb8c3}.wp-block-group.vk-has-cyan-bluish-gray-color .wp-block-group__inner-container{border-color:#abb8c3}.wp-block-group.vk-has-very-dark-gray-color{border-color:#313131}.wp-block-group.vk-has-very-dark-gray-color .wp-block-group__inner-container{border-color:#313131}.wp-block-group.vk-has-white-color{border-color:#fff}.wp-block-group.vk-has-white-color .wp-block-group__inner-container{border-color:#fff}.wp-block-group.vk-has-vk-color-primary-color{border-color:var(--vk-color-primary)}.wp-block-group.vk-has-vk-color-primary-color .wp-block-group__inner-container{border-color:var(--vk-color-primary)}.wp-block-group.vk-has-vk-color-primary-dark-color{border-color:var(--vk-color-primary-dark)}.wp-block-group.vk-has-vk-color-primary-dark-color .wp-block-group__inner-container{border-color:var(--vk-color-primary-dark)}.wp-block-group.vk-has-vk-color-primary-vivid-color{border-color:var(--vk-color-primary-vivid)}.wp-block-group.vk-has-vk-color-primary-vivid-color .wp-block-group__inner-container{border-color:var(--vk-color-primary-vivid)}.wp-block-group.vk-has-vk-color-custom-1-color{border-color:var(--vk-color-custom-1)}.wp-block-group.vk-has-vk-color-custom-1-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-1)}.wp-block-group.vk-has-vk-color-custom-2-color{border-color:var(--vk-color-custom-2)}.wp-block-group.vk-has-vk-color-custom-2-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-2)}.wp-block-group.vk-has-vk-color-custom-3-color{border-color:var(--vk-color-custom-3)}.wp-block-group.vk-has-vk-color-custom-3-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-3)}.wp-block-group.vk-has-vk-color-custom-4-color{border-color:var(--vk-color-custom-4)}.wp-block-group.vk-has-vk-color-custom-4-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-4)}.wp-block-group.vk-has-vk-color-custom-5-color{border-color:var(--vk-color-custom-5)}.wp-block-group.vk-has-vk-color-custom-5-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-5)}.is-style-vk-group-solid{border:solid 3px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-solid h2,.is-style-vk-group-solid h3,.is-style-vk-group-solid h4,.is-style-vk-group-solid h5,.is-style-vk-group-solid h6{margin-bottom:1rem}.is-style-vk-group-solid ul,.is-style-vk-group-solid ol{margin-top:0}.is-style-vk-group-solid ul li:last-child,.is-style-vk-group-solid ol li:last-child{margin-bottom:0}.is-style-vk-group-solid-roundcorner{border:solid 3px;border-radius:8px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-solid-roundcorner h2,.is-style-vk-group-solid-roundcorner h3,.is-style-vk-group-solid-roundcorner h4,.is-style-vk-group-solid-roundcorner h5,.is-style-vk-group-solid-roundcorner h6{margin-bottom:1rem}.is-style-vk-group-solid-roundcorner ul,.is-style-vk-group-solid-roundcorner ol{margin-top:0}.is-style-vk-group-solid-roundcorner ul li:last-child,.is-style-vk-group-solid-roundcorner ol li:last-child{margin-bottom:0}.is-style-vk-group-dotted{border:dotted 1px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-dotted h2,.is-style-vk-group-dotted h3,.is-style-vk-group-dotted h4,.is-style-vk-group-dotted h5,.is-style-vk-group-dotted h6{margin-bottom:1rem}.is-style-vk-group-dotted ul,.is-style-vk-group-dotted ol{margin-top:0}.is-style-vk-group-dotted ul li:last-child,.is-style-vk-group-dotted ol li:last-child{margin-bottom:0}.is-style-vk-group-dashed{border:dashed 2px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-dashed h2,.is-style-vk-group-dashed h3,.is-style-vk-group-dashed h4,.is-style-vk-group-dashed h5,.is-style-vk-group-dashed h6{margin-bottom:1rem}.is-style-vk-group-dashed ul,.is-style-vk-group-dashed ol{margin-top:0}.is-style-vk-group-dashed ul li:last-child,.is-style-vk-group-dashed ol li:last-child{margin-bottom:0}.is-style-vk-group-double{border:double 5px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-double h2,.is-style-vk-group-double h3,.is-style-vk-group-double h4,.is-style-vk-group-double h5,.is-style-vk-group-double h6{margin-bottom:1rem}.is-style-vk-group-double ul,.is-style-vk-group-double ol{margin-top:0}.is-style-vk-group-double ul li:last-child,.is-style-vk-group-double ol li:last-child{margin-bottom:0}.is-style-vk-group-stitch{margin:1em auto;padding:.5em;border-radius:8px}.is-style-vk-group-stitch h2,.is-style-vk-group-stitch h3,.is-style-vk-group-stitch h4,.is-style-vk-group-stitch h5,.is-style-vk-group-stitch h6{margin-bottom:1rem}.is-style-vk-group-stitch ul,.is-style-vk-group-stitch ol{margin-top:0}.is-style-vk-group-stitch ul li:last-child,.is-style-vk-group-stitch ol li:last-child{margin-bottom:0}.is-style-vk-group-stitch .wp-block-group__inner-container{border:dashed 2px;border-radius:8px;padding:1.8em}.is-style-vk-group-top-bottom-border{border-top:solid 1px;border-bottom:solid 1px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem);padding-left:0;padding-right:0}.is-style-vk-group-top-bottom-border h2,.is-style-vk-group-top-bottom-border h3,.is-style-vk-group-top-bottom-border h4,.is-style-vk-group-top-bottom-border h5,.is-style-vk-group-top-bottom-border h6{margin-bottom:1rem}.is-style-vk-group-top-bottom-border ul,.is-style-vk-group-top-bottom-border ol{margin-top:0}.is-style-vk-group-top-bottom-border ul li:last-child,.is-style-vk-group-top-bottom-border ol li:last-child{margin-bottom:0}.is-style-vk-group-shadow{-webkit-box-shadow:0px 0px 5px rgba(0,0,0,.2);box-shadow:0px 0px 5px rgba(0,0,0,.2);padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-shadow h2,.is-style-vk-group-shadow h3,.is-style-vk-group-shadow h4,.is-style-vk-group-shadow h5,.is-style-vk-group-shadow h6{margin-bottom:1rem}.is-style-vk-group-shadow ul,.is-style-vk-group-shadow ol{margin-top:0}.is-style-vk-group-shadow ul li:last-child,.is-style-vk-group-shadow ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-info{background-color:#d9edf7;color:#31708f;border-radius:3px;border:1px solid #bce8f1;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-info h2,.is-style-vk-group-alert-info h3,.is-style-vk-group-alert-info h4,.is-style-vk-group-alert-info h5,.is-style-vk-group-alert-info h6{margin-bottom:1rem}.is-style-vk-group-alert-info ul,.is-style-vk-group-alert-info ol{margin-top:0}.is-style-vk-group-alert-info ul li:last-child,.is-style-vk-group-alert-info ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-success{background-color:#dff0d8;color:#3c763d;border-radius:3px;border:1px solid #d6e9c6;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-success h2,.is-style-vk-group-alert-success h3,.is-style-vk-group-alert-success h4,.is-style-vk-group-alert-success h5,.is-style-vk-group-alert-success h6{margin-bottom:1rem}.is-style-vk-group-alert-success ul,.is-style-vk-group-alert-success ol{margin-top:0}.is-style-vk-group-alert-success ul li:last-child,.is-style-vk-group-alert-success ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-radius:3px;border:1px solid #faebcc;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-warning h2,.is-style-vk-group-alert-warning h3,.is-style-vk-group-alert-warning h4,.is-style-vk-group-alert-warning h5,.is-style-vk-group-alert-warning h6{margin-bottom:1rem}.is-style-vk-group-alert-warning ul,.is-style-vk-group-alert-warning ol{margin-top:0}.is-style-vk-group-alert-warning ul li:last-child,.is-style-vk-group-alert-warning ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-danger{background-color:#f2dede;color:#a94442;border-radius:3px;border:1px solid #ebccd1;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-danger h2,.is-style-vk-group-alert-danger h3,.is-style-vk-group-alert-danger h4,.is-style-vk-group-alert-danger h5,.is-style-vk-group-alert-danger h6{margin-bottom:1rem}.is-style-vk-group-alert-danger ul,.is-style-vk-group-alert-danger ol{margin-top:0}.is-style-vk-group-alert-danger ul li:last-child,.is-style-vk-group-alert-danger ol li:last-child{margin-bottom:0}.wp-block-embed-youtube iframe{width:100%}.has-text-align-right{text-align:right}.has-text-align-left{text-align:left}.has-text-align-center{text-align:center}.wp-block-social-links{-ms-flex-wrap:wrap;flex-wrap:wrap}@media(min-width: 1400px){.col-xxl-2{-webkit-box-flex:0;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-xxl-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xxl-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-xxl-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xxl-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}}
|
2 |
.alert{padding:1em;margin:1em auto;border-radius:3px}.alert p{margin:0}.alert+.alert{margin-top:2em}.alert a{-webkit-transition:color .3s linear,opacity .3s linear;transition:color .3s linear,opacity .3s linear}.alert a:link,.alert a:visited{opacity:.8;text-decoration:underline}.alert a:hover,.alert a:visited{opacity:1;text-decoration:none}.alert-success{background-color:#dff0d8;color:#3c763d;border-color:#d6e9c6}.alert-info{background-color:#d9edf7;color:#31708f;border-color:#bce8f1}.alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-color:#faebcc}.alert-danger{background-color:#f2dede;color:#a94442;border-color:#ebccd1}
|
3 |
.vk_ancestorPageList-hiddenGrandChild-true ul li .children{display:none}.vk_ancestorPageList-hiddenGrandChild-true ul li.current_page_ancestor .children{display:block}
|
4 |
.vk_balloon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal;margin-bottom:2.2em}.vk_balloon figure{margin:0}.vk_balloon p{color:initial;word-break:break-all}.vk_balloon p:first-of-type{margin-top:0}.vk_balloon p:last-of-type{margin-bottom:0}.vk_balloon_icon{-ms-flex-preferred-size:80px;flex-basis:80px;-ms-flex-negative:0;flex-shrink:0;text-align:center}.vk_balloon_icon_image:not(.has-text-color){color:#ccc}.vk_balloon_icon_image{vertical-align:bottom;width:64px;height:64px;-o-object-fit:cover;object-fit:cover;display:inline-block}.vk_balloon_icon_image-type-rounded{border-radius:4px}.vk_balloon_icon_image-type-circle{border-radius:50%}.vk_balloon_icon_name{display:block;text-align:center;font-size:.7rem;margin-top:.3rem}.vk_balloon_content_outer{width:100%}.vk_balloon_content{max-width:calc(100% - 6.2em);position:relative;text-align:left}.vk_balloon_content::after{display:block;clear:both;content:""}.vk_balloon-position-left .vk_balloon_content{float:left}.vk_balloon-position-right .vk_balloon_content{float:right}.vk_balloon_content.vk_balloon_content_fullwidth{max-width:100%;float:none}.vk_balloon_content.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute}.vk_balloon_content{background:#f5f5f5;padding:calc(var(--vk-size-text) * 1 ) calc(var(--vk-size-text) * 1.2)}.vk_balloon_content_before,.vk_balloon_content_after{position:absolute;top:0;display:block;width:0;height:0;border-style:solid}.vk_balloon-type-speech .vk_balloon_content{border-radius:.4em}.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{top:15px}.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{z-index:1;border-right-color:inherit}.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before{z-index:2}.vk_balloon-type-think .vk_balloon_content{border-radius:1rem}.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before,.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{position:absolute;content:"";border-radius:50%;background:inherit}.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before{width:14px;height:14px}.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{width:10px;height:10px}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_icon{margin-right:calc( var(--vk-size-text) * 1.2 )}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{left:-10px;border-width:10px 12px 10px 0}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_icon{margin-right:calc( var(--vk-size-text) * 1.2 )}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before{left:-18px;top:7px}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{left:-25px;top:20px}.vk_balloon-position-right{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_icon{margin-left:calc( var(--vk-size-text) * 1.2 )}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{right:-10px;border-width:10px 0 10px 12px}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_icon{margin-left:calc( var(--vk-size-text) * 1.2 )}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before{right:-18px;top:7px}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{right:-25px;top:20px}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before:not(.has-text-color),.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after:not(.has-text-color){border-color:transparent #f5f5f5 transparent transparent}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{border-color:transparent currentColor transparent transparent}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before:not(.has-text-color),.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after:not(.has-text-color){border-color:transparent}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{border-color:transparent currentColor transparent transparent}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before:not(.has-text-color),.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after:not(.has-text-color){border-color:transparent transparent transparent #f5f5f5}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{border-color:transparent transparent transparent currentColor}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before:not(.has-text-color),.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after:not(.has-text-color){border-color:transparent}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{border-color:transparent currentColor transparent transparent}.vk_balloon_content-border-true,.vk_balloon_icon_image-border-true{border-width:var(--vk-balloon-border-width, 1px);border-style:solid}.vk_balloon_content-border-true:not(.has-text-color){color:#ccc}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content-border-true .vk_balloon_content_before{left:-10px}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content-border-true .vk_balloon_content_after{left:var(--vk-balloon-speech-offset, -12px);border-right-color:inherit !important}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content-border-true{border-color:currentColor}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content-border-true .vk_balloon_content_before{right:-10px}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content-border-true .vk_balloon_content_after{right:var(--vk-balloon-speech-offset, -12px);border-left-color:inherit !important}.vk_balloon-type-think .vk_balloon_content-border-true .vk_balloon_content_before,.vk_balloon-type-think .vk_balloon_content-border-true .vk_balloon_content_after{border-width:var(--vk-balloon-border-width, 1px);border-style:solid;border-color:inherit !important}.vk_balloon-animation-trembling{-webkit-animation:trembling .1s infinite;animation:trembling .1s infinite}@-webkit-keyframes trembling{0%{-webkit-transform:rotate(-0.5deg);transform:rotate(-0.5deg)}50%{-webkit-transform:rotate(0.5deg);transform:rotate(0.5deg)}}@keyframes trembling{0%{-webkit-transform:rotate(-0.5deg);transform:rotate(-0.5deg)}50%{-webkit-transform:rotate(0.5deg);transform:rotate(0.5deg)}}.vk_balloon-animation-trembling-x{-webkit-animation:trembling-x .1s infinite;animation:trembling-x .1s infinite}@-webkit-keyframes trembling-x{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.99, 0.96);transform:scale(0.99, 0.96)}}@keyframes trembling-x{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.99, 0.96);transform:scale(0.99, 0.96)}}.vk_balloon-animation-pounding{-webkit-animation:pounding 1.5s infinite;animation:pounding 1.5s infinite}@-webkit-keyframes pounding{0%{-webkit-transform:scale(1.05);transform:scale(1.05)}5%{-webkit-transform:scale(1);transform:scale(1)}95%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.05);transform:scale(1.05)}}@keyframes pounding{0%{-webkit-transform:scale(1.05);transform:scale(1.05)}5%{-webkit-transform:scale(1);transform:scale(1)}95%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.05);transform:scale(1.05)}}.vk_balloon-animation-shaking{-webkit-animation:shaking .4s infinite;animation:shaking .4s infinite}@-webkit-keyframes shaking{0%{-webkit-transform:translate(1px, 1px);transform:translate(1px, 1px)}25%{-webkit-transform:translate(1px, -1px);transform:translate(1px, -1px)}50%{-webkit-transform:translate(-1px, -1px);transform:translate(-1px, -1px)}75%{-webkit-transform:translate(-1px, 1px);transform:translate(-1px, 1px)}100%{-webkit-transform:translate(1px, 1px);transform:translate(1px, 1px)}}@keyframes shaking{0%{-webkit-transform:translate(1px, 1px);transform:translate(1px, 1px)}25%{-webkit-transform:translate(1px, -1px);transform:translate(1px, -1px)}50%{-webkit-transform:translate(-1px, -1px);transform:translate(-1px, -1px)}75%{-webkit-transform:translate(-1px, 1px);transform:translate(-1px, 1px)}100%{-webkit-transform:translate(1px, 1px);transform:translate(1px, 1px)}}.icon-image-list-note:hover{cursor:pointer}@media only screen and (max-width: 480px){.vk_balloon_content{max-width:calc(100% - 2em);font-size:.9em;padding:1em}.vk_balloon-type-think .vk_balloon_content::after{border:5px solid transparent}.vk_balloon{-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal}.vk_balloon.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_icon{margin-right:1.5rem}.vk_balloon.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_conten:not(.vk_balloon_content_fullwidth){display:inline-block}.vk_balloon.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_icon{margin-right:2rem}.vk_balloon.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content:not(.vk_balloon_content_fullwidth){display:inline-block}.vk_balloon.vk_balloon-position-right{text-align:right}.vk_balloon.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_icon{margin-left:1.5rem;margin-right:0}.vk_balloon.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content:not(.vk_balloon_content_fullwidth){display:inline-block}.vk_balloon.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_icon{margin-left:2rem;margin-right:0}.vk_balloon.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content:not(.vk_balloon_content_fullwidth){display:inline-block}.vk_balloon_icon{max-width:64px}}
|
1 |
+
:root{--vk-margin-elem:2rem}.text-nowrap{white-space:nowrap}:root{--vk-margin-xs: 0.75rem;--vk-margin-sm: 1.5rem;--vk-margin-md: 2.4rem;--vk-margin-lg: 4rem;--vk-margin-xl: 6rem}.vk_block-margin-0--margin-top{margin-top:0 !important}.vk_block-margin-0--margin-top>table{margin-top:0}.vk_block-margin-0--margin-bottom{margin-bottom:0 !important}.vk_block-margin-0--margin-bottom>table{margin-bottom:0}.vk_block-margin-xs{margin-top:var(--vk-margin-xs)}.vk_block-margin-xs--margin-top{margin-top:var(--vk-margin-xs) !important}.vk_block-margin-xs--margin-bottom{margin-bottom:var(--vk-margin-xs) !important}.vk_block-margin-xs--height{height:var(--vk-margin-xs)}.vk_block-margin-sm{margin-top:var(--vk-margin-sm)}.vk_block-margin-sm--margin-top{margin-top:var(--vk-margin-sm) !important}.vk_block-margin-sm--margin-bottom{margin-bottom:var(--vk-margin-sm) !important}.vk_block-margin-sm--height{height:var(--vk-margin-sm)}.vk_block-margin-md{margin-top:var(--vk-margin-md)}.vk_block-margin-md--margin-top{margin-top:var(--vk-margin-md) !important}.vk_block-margin-md--margin-bottom{margin-bottom:var(--vk-margin-md) !important}.vk_block-margin-md--height{height:var(--vk-margin-md)}.vk_block-margin-lg{margin-top:var(--vk-margin-lg)}.vk_block-margin-lg--margin-top{margin-top:var(--vk-margin-lg) !important}.vk_block-margin-lg--margin-bottom{margin-bottom:var(--vk-margin-lg) !important}.vk_block-margin-lg--height{height:var(--vk-margin-lg)}.vk_block-margin-xl{margin-top:var(--vk-margin-xl)}.vk_block-margin-xl--margin-top{margin-top:var(--vk-margin-xl) !important}.vk_block-margin-xl--margin-bottom{margin-bottom:var(--vk-margin-xl) !important}.vk_block-margin-xl--height{height:var(--vk-margin-xl)}ul.is-style-vk-arrow-mark,ul.is-style-vk-triangle-mark,ul.is-style-vk-check-mark,ul.is-style-vk-check-circle-mark,ul.is-style-vk-check-square-mark,ul.is-style-vk-handpoint-mark,ul.is-style-vk-pencil-mark,ul.is-style-vk-smile-mark,ul.is-style-vk-frown-mark,ul.is-style-vk-numbered-circle-mark,ul.is-style-vk-numbered-square-mark,ol.is-style-vk-arrow-mark,ol.is-style-vk-triangle-mark,ol.is-style-vk-check-mark,ol.is-style-vk-check-circle-mark,ol.is-style-vk-check-square-mark,ol.is-style-vk-handpoint-mark,ol.is-style-vk-pencil-mark,ol.is-style-vk-smile-mark,ol.is-style-vk-frown-mark,ol.is-style-vk-numbered-circle-mark,ol.is-style-vk-numbered-square-mark{-webkit-padding-start:2em;padding-inline-start:2em}ul.is-style-vk-arrow-mark li,ul.is-style-vk-triangle-mark li,ul.is-style-vk-check-mark li,ul.is-style-vk-check-circle-mark li,ul.is-style-vk-check-square-mark li,ul.is-style-vk-handpoint-mark li,ul.is-style-vk-pencil-mark li,ul.is-style-vk-smile-mark li,ul.is-style-vk-frown-mark li,ul.is-style-vk-numbered-circle-mark li,ul.is-style-vk-numbered-square-mark li,ol.is-style-vk-arrow-mark li,ol.is-style-vk-triangle-mark li,ol.is-style-vk-check-mark li,ol.is-style-vk-check-circle-mark li,ol.is-style-vk-check-square-mark li,ol.is-style-vk-handpoint-mark li,ol.is-style-vk-pencil-mark li,ol.is-style-vk-smile-mark li,ol.is-style-vk-frown-mark li,ol.is-style-vk-numbered-circle-mark li,ol.is-style-vk-numbered-square-mark li{list-style:none;position:relative;margin-top:0;margin-left:0;margin:calc( var(--vk-size-text) * 0.8 ) 0;line-height:calc( var(--vk-size-text) * 1.65 )}ul.is-style-vk-numbered-circle-mark,ol.is-style-vk-numbered-circle-mark{counter-reset:number;list-style-type:none}ul.is-style-vk-numbered-circle-mark li,ol.is-style-vk-numbered-circle-mark li{position:relative;list-style:none;padding-left:.5em}ul.is-style-vk-numbered-circle-mark li:before,ol.is-style-vk-numbered-circle-mark li:before{position:absolute;left:0;counter-increment:number;content:counter(number);margin-left:-1.8em;background:#222;color:#fff;text-indent:0;display:inline-block;font-weight:bold;border-radius:50%;font-size:calc( var(--vk-size-text) * 1 );line-height:calc( var(--vk-size-text) * 1.8 );width:26px;height:26px;text-align:center}ul.is-style-vk-numbered-circle-mark li ul,ul.is-style-vk-numbered-circle-mark li ol,ol.is-style-vk-numbered-circle-mark li ul,ol.is-style-vk-numbered-circle-mark li ol{counter-reset:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-circle-mark li ul li:before,ul.is-style-vk-numbered-circle-mark li ol li:before,ol.is-style-vk-numbered-circle-mark li ul li:before,ol.is-style-vk-numbered-circle-mark li ol li:before{counter-increment:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-square-mark,ol.is-style-vk-numbered-square-mark{counter-reset:number;list-style-type:none}ul.is-style-vk-numbered-square-mark li,ol.is-style-vk-numbered-square-mark li{position:relative;list-style:none;padding-left:.5em}ul.is-style-vk-numbered-square-mark li:before,ol.is-style-vk-numbered-square-mark li:before{position:absolute;left:-0.3em;counter-increment:number;content:counter(number);margin-left:-25px;background:#222;color:#fff;text-indent:0;display:inline-block;font-weight:bold;font-size:calc( var(--vk-size-text) * 1 );line-height:calc( var(--vk-size-text) * 1.8 );width:26px;height:26px;text-align:center;border-radius:2px}ul.is-style-vk-numbered-square-mark li ul,ul.is-style-vk-numbered-square-mark li ol,ol.is-style-vk-numbered-square-mark li ul,ol.is-style-vk-numbered-square-mark li ol{counter-reset:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-square-mark li ul li:before,ul.is-style-vk-numbered-square-mark li ol li:before,ol.is-style-vk-numbered-square-mark li ul li:before,ol.is-style-vk-numbered-square-mark li ol li:before{counter-increment:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-circle-mark.fa-lg li::before,ul.is-style-vk-numbered-square-mark.fa-lg li::before,ol.is-style-vk-numbered-circle-mark.fa-lg li::before,ol.is-style-vk-numbered-square-mark.fa-lg li::before{left:-0.8em}ul.is-style-vk-numbered-circle-mark.fa-2x li,ul.is-style-vk-numbered-square-mark.fa-2x li,ol.is-style-vk-numbered-circle-mark.fa-2x li,ol.is-style-vk-numbered-square-mark.fa-2x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-2x li::before,ul.is-style-vk-numbered-square-mark.fa-2x li::before,ol.is-style-vk-numbered-circle-mark.fa-2x li::before,ol.is-style-vk-numbered-square-mark.fa-2x li::before{left:-1.1em}ul.is-style-vk-numbered-circle-mark.fa-3x li,ul.is-style-vk-numbered-square-mark.fa-3x li,ol.is-style-vk-numbered-circle-mark.fa-3x li,ol.is-style-vk-numbered-square-mark.fa-3x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-3x li::before,ul.is-style-vk-numbered-square-mark.fa-3x li::before,ol.is-style-vk-numbered-circle-mark.fa-3x li::before,ol.is-style-vk-numbered-square-mark.fa-3x li::before{left:-1.4em}ul.is-style-vk-numbered-circle-mark.fa-4x li,ul.is-style-vk-numbered-square-mark.fa-4x li,ol.is-style-vk-numbered-circle-mark.fa-4x li,ol.is-style-vk-numbered-square-mark.fa-4x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-4x li::before,ul.is-style-vk-numbered-square-mark.fa-4x li::before,ol.is-style-vk-numbered-circle-mark.fa-4x li::before,ol.is-style-vk-numbered-square-mark.fa-4x li::before{left:-1.5em}ul.is-style-vk-numbered-circle-mark.fa-5x li,ul.is-style-vk-numbered-square-mark.fa-5x li,ol.is-style-vk-numbered-circle-mark.fa-5x li,ol.is-style-vk-numbered-square-mark.fa-5x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-5x li::before,ul.is-style-vk-numbered-square-mark.fa-5x li::before,ol.is-style-vk-numbered-circle-mark.fa-5x li::before,ol.is-style-vk-numbered-square-mark.fa-5x li::before{left:-1.6em}ul.is-style-vk-arrow-mark li::before,ol.is-style-vk-arrow-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-triangle-mark li::before,ol.is-style-vk-triangle-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-mark li::before,ol.is-style-vk-check-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-circle-mark li::before,ol.is-style-vk-check-circle-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-square-mark li::before,ol.is-style-vk-check-square-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-handpoint-mark li::before,ol.is-style-vk-handpoint-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-pencil-mark li::before,ol.is-style-vk-pencil-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-smile-mark li::before,ol.is-style-vk-smile-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-frown-mark li::before,ol.is-style-vk-frown-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.vk-has-pale-pink-color li::marker,ol.vk-has-pale-pink-color li::marker{color:#f78da7}ul.vk-has-pale-pink-color li::before,ol.vk-has-pale-pink-color li::before{color:#f78da7}ul.is-style-vk-numbered-circle-mark.vk-has-pale-pink-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-pale-pink-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-pale-pink-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-pale-pink-color li::before{color:#fff;background-color:#f78da7}ul.vk-has-vivid-red-color li::marker,ol.vk-has-vivid-red-color li::marker{color:#cf2e2e}ul.vk-has-vivid-red-color li::before,ol.vk-has-vivid-red-color li::before{color:#cf2e2e}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-red-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-red-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-red-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-red-color li::before{color:#fff;background-color:#cf2e2e}ul.vk-has-luminous-vivid-orange-color li::marker,ol.vk-has-luminous-vivid-orange-color li::marker{color:#ff6900}ul.vk-has-luminous-vivid-orange-color li::before,ol.vk-has-luminous-vivid-orange-color li::before{color:#ff6900}ul.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-orange-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-orange-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-orange-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-orange-color li::before{color:#fff;background-color:#ff6900}ul.vk-has-luminous-vivid-amber-color li::marker,ol.vk-has-luminous-vivid-amber-color li::marker{color:#fcb900}ul.vk-has-luminous-vivid-amber-color li::before,ol.vk-has-luminous-vivid-amber-color li::before{color:#fcb900}ul.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-amber-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-amber-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-amber-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-amber-color li::before{color:#fff;background-color:#fcb900}ul.vk-has-light-green-cyan-color li::marker,ol.vk-has-light-green-cyan-color li::marker{color:#7bdcb5}ul.vk-has-light-green-cyan-color li::before,ol.vk-has-light-green-cyan-color li::before{color:#7bdcb5}ul.is-style-vk-numbered-circle-mark.vk-has-light-green-cyan-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-light-green-cyan-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-light-green-cyan-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-light-green-cyan-color li::before{color:#fff;background-color:#7bdcb5}ul.vk-has-vivid-green-cyan-color li::marker,ol.vk-has-vivid-green-cyan-color li::marker{color:#00d084}ul.vk-has-vivid-green-cyan-color li::before,ol.vk-has-vivid-green-cyan-color li::before{color:#00d084}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-green-cyan-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-green-cyan-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-green-cyan-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-green-cyan-color li::before{color:#fff;background-color:#00d084}ul.vk-has-pale-cyan-blue-color li::marker,ol.vk-has-pale-cyan-blue-color li::marker{color:#8ed1fc}ul.vk-has-pale-cyan-blue-color li::before,ol.vk-has-pale-cyan-blue-color li::before{color:#8ed1fc}ul.is-style-vk-numbered-circle-mark.vk-has-pale-cyan-blue-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-pale-cyan-blue-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-pale-cyan-blue-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-pale-cyan-blue-color li::before{color:#fff;background-color:#8ed1fc}ul.vk-has-vivid-cyan-blue-color li::marker,ol.vk-has-vivid-cyan-blue-color li::marker{color:#0693e3}ul.vk-has-vivid-cyan-blue-color li::before,ol.vk-has-vivid-cyan-blue-color li::before{color:#0693e3}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-cyan-blue-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-cyan-blue-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-cyan-blue-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-cyan-blue-color li::before{color:#fff;background-color:#0693e3}ul.vk-has-vivid-purple-color li::marker,ol.vk-has-vivid-purple-color li::marker{color:#9b51e0}ul.vk-has-vivid-purple-color li::before,ol.vk-has-vivid-purple-color li::before{color:#9b51e0}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-purple-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-purple-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-purple-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-purple-color li::before{color:#fff;background-color:#9b51e0}ul.vk-has-very-light-gray-color li::marker,ol.vk-has-very-light-gray-color li::marker{color:#eee}ul.vk-has-very-light-gray-color li::before,ol.vk-has-very-light-gray-color li::before{color:#eee}ul.is-style-vk-numbered-circle-mark.vk-has-very-light-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-very-light-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-very-light-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-very-light-gray-color li::before{color:#fff;background-color:#eee}ul.vk-has-cyan-bluish-gray-color li::marker,ol.vk-has-cyan-bluish-gray-color li::marker{color:#abb8c3}ul.vk-has-cyan-bluish-gray-color li::before,ol.vk-has-cyan-bluish-gray-color li::before{color:#abb8c3}ul.is-style-vk-numbered-circle-mark.vk-has-cyan-bluish-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-cyan-bluish-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-cyan-bluish-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-cyan-bluish-gray-color li::before{color:#fff;background-color:#abb8c3}ul.vk-has-very-dark-gray-color li::marker,ol.vk-has-very-dark-gray-color li::marker{color:#313131}ul.vk-has-very-dark-gray-color li::before,ol.vk-has-very-dark-gray-color li::before{color:#313131}ul.is-style-vk-numbered-circle-mark.vk-has-very-dark-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-very-dark-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-very-dark-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-very-dark-gray-color li::before{color:#fff;background-color:#313131}ul.vk-has-white-color li::marker,ol.vk-has-white-color li::marker{color:#fff}ul.vk-has-white-color li::before,ol.vk-has-white-color li::before{color:#fff}ul.is-style-vk-numbered-circle-mark.vk-has-white-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-white-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-white-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-white-color li::before{color:#fff;background-color:#fff}ul.vk-has-vk-color-primary-color li::marker,ol.vk-has-vk-color-primary-color li::marker{color:var(--vk-color-primary)}ul.vk-has-vk-color-primary-color li::before,ol.vk-has-vk-color-primary-color li::before{color:var(--vk-color-primary)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-color li::before{color:#fff;background-color:var(--vk-color-primary)}ul.vk-has-vk-color-primary-dark-color li::marker,ol.vk-has-vk-color-primary-dark-color li::marker{color:var(--vk-color-primary-dark)}ul.vk-has-vk-color-primary-dark-color li::before,ol.vk-has-vk-color-primary-dark-color li::before{color:var(--vk-color-primary-dark)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-dark-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-dark-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-dark-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-dark-color li::before{color:#fff;background-color:var(--vk-color-primary-dark)}ul.vk-has-vk-color-primary-vivid-color li::marker,ol.vk-has-vk-color-primary-vivid-color li::marker{color:var(--vk-color-primary-vivid)}ul.vk-has-vk-color-primary-vivid-color li::before,ol.vk-has-vk-color-primary-vivid-color li::before{color:var(--vk-color-primary-vivid)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-vivid-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-vivid-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-vivid-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-vivid-color li::before{color:#fff;background-color:var(--vk-color-primary-vivid)}ul.vk-has-vk-color-custom-1-color li::marker,ol.vk-has-vk-color-custom-1-color li::marker{color:var(--vk-color-custom-1)}ul.vk-has-vk-color-custom-1-color li::before,ol.vk-has-vk-color-custom-1-color li::before{color:var(--vk-color-custom-1)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-1-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-1-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-1-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-1-color li::before{color:#fff;background-color:var(--vk-color-custom-1)}ul.vk-has-vk-color-custom-2-color li::marker,ol.vk-has-vk-color-custom-2-color li::marker{color:var(--vk-color-custom-2)}ul.vk-has-vk-color-custom-2-color li::before,ol.vk-has-vk-color-custom-2-color li::before{color:var(--vk-color-custom-2)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-2-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-2-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-2-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-2-color li::before{color:#fff;background-color:var(--vk-color-custom-2)}ul.vk-has-vk-color-custom-3-color li::marker,ol.vk-has-vk-color-custom-3-color li::marker{color:var(--vk-color-custom-3)}ul.vk-has-vk-color-custom-3-color li::before,ol.vk-has-vk-color-custom-3-color li::before{color:var(--vk-color-custom-3)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-3-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-3-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-3-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-3-color li::before{color:#fff;background-color:var(--vk-color-custom-3)}ul.vk-has-vk-color-custom-4-color li::marker,ol.vk-has-vk-color-custom-4-color li::marker{color:var(--vk-color-custom-4)}ul.vk-has-vk-color-custom-4-color li::before,ol.vk-has-vk-color-custom-4-color li::before{color:var(--vk-color-custom-4)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-4-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-4-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-4-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-4-color li::before{color:#fff;background-color:var(--vk-color-custom-4)}ul.vk-has-vk-color-custom-5-color li::marker,ol.vk-has-vk-color-custom-5-color li::marker{color:var(--vk-color-custom-5)}ul.vk-has-vk-color-custom-5-color li::before,ol.vk-has-vk-color-custom-5-color li::before{color:var(--vk-color-custom-5)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-5-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-5-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-5-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-5-color li::before{color:#fff;background-color:var(--vk-color-custom-5)}.wp-block-group h3:first-child,.wp-block-group h4:first-child{margin-top:0}.wp-block-group p:last-child,.wp-block-group ul:last-child,.wp-block-group ol:last-child,.wp-block-group dl:last-child,.wp-block-group table:last-child,.wp-block-group .wp-block-columns:last-child{margin-bottom:0}.wp-block-group.vk-has-pale-pink-color{border-color:#f78da7}.wp-block-group.vk-has-pale-pink-color .wp-block-group__inner-container{border-color:#f78da7}.wp-block-group.vk-has-vivid-red-color{border-color:#cf2e2e}.wp-block-group.vk-has-vivid-red-color .wp-block-group__inner-container{border-color:#cf2e2e}.wp-block-group.vk-has-luminous-vivid-orange-color{border-color:#ff6900}.wp-block-group.vk-has-luminous-vivid-orange-color .wp-block-group__inner-container{border-color:#ff6900}.wp-block-group.vk-has-luminous-vivid-amber-color{border-color:#fcb900}.wp-block-group.vk-has-luminous-vivid-amber-color .wp-block-group__inner-container{border-color:#fcb900}.wp-block-group.vk-has-light-green-cyan-color{border-color:#7bdcb5}.wp-block-group.vk-has-light-green-cyan-color .wp-block-group__inner-container{border-color:#7bdcb5}.wp-block-group.vk-has-vivid-green-cyan-color{border-color:#00d084}.wp-block-group.vk-has-vivid-green-cyan-color .wp-block-group__inner-container{border-color:#00d084}.wp-block-group.vk-has-pale-cyan-blue-color{border-color:#8ed1fc}.wp-block-group.vk-has-pale-cyan-blue-color .wp-block-group__inner-container{border-color:#8ed1fc}.wp-block-group.vk-has-vivid-cyan-blue-color{border-color:#0693e3}.wp-block-group.vk-has-vivid-cyan-blue-color .wp-block-group__inner-container{border-color:#0693e3}.wp-block-group.vk-has-vivid-purple-color{border-color:#9b51e0}.wp-block-group.vk-has-vivid-purple-color .wp-block-group__inner-container{border-color:#9b51e0}.wp-block-group.vk-has-very-light-gray-color{border-color:#eee}.wp-block-group.vk-has-very-light-gray-color .wp-block-group__inner-container{border-color:#eee}.wp-block-group.vk-has-cyan-bluish-gray-color{border-color:#abb8c3}.wp-block-group.vk-has-cyan-bluish-gray-color .wp-block-group__inner-container{border-color:#abb8c3}.wp-block-group.vk-has-very-dark-gray-color{border-color:#313131}.wp-block-group.vk-has-very-dark-gray-color .wp-block-group__inner-container{border-color:#313131}.wp-block-group.vk-has-white-color{border-color:#fff}.wp-block-group.vk-has-white-color .wp-block-group__inner-container{border-color:#fff}.wp-block-group.vk-has-vk-color-primary-color{border-color:var(--vk-color-primary)}.wp-block-group.vk-has-vk-color-primary-color .wp-block-group__inner-container{border-color:var(--vk-color-primary)}.wp-block-group.vk-has-vk-color-primary-dark-color{border-color:var(--vk-color-primary-dark)}.wp-block-group.vk-has-vk-color-primary-dark-color .wp-block-group__inner-container{border-color:var(--vk-color-primary-dark)}.wp-block-group.vk-has-vk-color-primary-vivid-color{border-color:var(--vk-color-primary-vivid)}.wp-block-group.vk-has-vk-color-primary-vivid-color .wp-block-group__inner-container{border-color:var(--vk-color-primary-vivid)}.wp-block-group.vk-has-vk-color-custom-1-color{border-color:var(--vk-color-custom-1)}.wp-block-group.vk-has-vk-color-custom-1-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-1)}.wp-block-group.vk-has-vk-color-custom-2-color{border-color:var(--vk-color-custom-2)}.wp-block-group.vk-has-vk-color-custom-2-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-2)}.wp-block-group.vk-has-vk-color-custom-3-color{border-color:var(--vk-color-custom-3)}.wp-block-group.vk-has-vk-color-custom-3-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-3)}.wp-block-group.vk-has-vk-color-custom-4-color{border-color:var(--vk-color-custom-4)}.wp-block-group.vk-has-vk-color-custom-4-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-4)}.wp-block-group.vk-has-vk-color-custom-5-color{border-color:var(--vk-color-custom-5)}.wp-block-group.vk-has-vk-color-custom-5-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-5)}.is-style-vk-group-solid{border:solid 3px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-solid h2,.is-style-vk-group-solid h3,.is-style-vk-group-solid h4,.is-style-vk-group-solid h5,.is-style-vk-group-solid h6{margin-bottom:1rem}.is-style-vk-group-solid ul,.is-style-vk-group-solid ol{margin-top:0}.is-style-vk-group-solid ul li:last-child,.is-style-vk-group-solid ol li:last-child{margin-bottom:0}.is-style-vk-group-solid-roundcorner{border:solid 3px;border-radius:8px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-solid-roundcorner h2,.is-style-vk-group-solid-roundcorner h3,.is-style-vk-group-solid-roundcorner h4,.is-style-vk-group-solid-roundcorner h5,.is-style-vk-group-solid-roundcorner h6{margin-bottom:1rem}.is-style-vk-group-solid-roundcorner ul,.is-style-vk-group-solid-roundcorner ol{margin-top:0}.is-style-vk-group-solid-roundcorner ul li:last-child,.is-style-vk-group-solid-roundcorner ol li:last-child{margin-bottom:0}.is-style-vk-group-dotted{border:dotted 1px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-dotted h2,.is-style-vk-group-dotted h3,.is-style-vk-group-dotted h4,.is-style-vk-group-dotted h5,.is-style-vk-group-dotted h6{margin-bottom:1rem}.is-style-vk-group-dotted ul,.is-style-vk-group-dotted ol{margin-top:0}.is-style-vk-group-dotted ul li:last-child,.is-style-vk-group-dotted ol li:last-child{margin-bottom:0}.is-style-vk-group-dashed{border:dashed 2px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-dashed h2,.is-style-vk-group-dashed h3,.is-style-vk-group-dashed h4,.is-style-vk-group-dashed h5,.is-style-vk-group-dashed h6{margin-bottom:1rem}.is-style-vk-group-dashed ul,.is-style-vk-group-dashed ol{margin-top:0}.is-style-vk-group-dashed ul li:last-child,.is-style-vk-group-dashed ol li:last-child{margin-bottom:0}.is-style-vk-group-double{border:double 5px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-double h2,.is-style-vk-group-double h3,.is-style-vk-group-double h4,.is-style-vk-group-double h5,.is-style-vk-group-double h6{margin-bottom:1rem}.is-style-vk-group-double ul,.is-style-vk-group-double ol{margin-top:0}.is-style-vk-group-double ul li:last-child,.is-style-vk-group-double ol li:last-child{margin-bottom:0}.is-style-vk-group-stitch{margin:1em auto;padding:.5em;border-radius:8px}.is-style-vk-group-stitch h2,.is-style-vk-group-stitch h3,.is-style-vk-group-stitch h4,.is-style-vk-group-stitch h5,.is-style-vk-group-stitch h6{margin-bottom:1rem}.is-style-vk-group-stitch ul,.is-style-vk-group-stitch ol{margin-top:0}.is-style-vk-group-stitch ul li:last-child,.is-style-vk-group-stitch ol li:last-child{margin-bottom:0}.is-style-vk-group-stitch .wp-block-group__inner-container{border:dashed 2px;border-radius:8px;padding:1.8em}.is-style-vk-group-top-bottom-border{border-top:solid 1px;border-bottom:solid 1px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem);padding-left:0;padding-right:0}.is-style-vk-group-top-bottom-border h2,.is-style-vk-group-top-bottom-border h3,.is-style-vk-group-top-bottom-border h4,.is-style-vk-group-top-bottom-border h5,.is-style-vk-group-top-bottom-border h6{margin-bottom:1rem}.is-style-vk-group-top-bottom-border ul,.is-style-vk-group-top-bottom-border ol{margin-top:0}.is-style-vk-group-top-bottom-border ul li:last-child,.is-style-vk-group-top-bottom-border ol li:last-child{margin-bottom:0}.is-style-vk-group-shadow{-webkit-box-shadow:0px 0px 5px rgba(0,0,0,.2);box-shadow:0px 0px 5px rgba(0,0,0,.2);padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-shadow h2,.is-style-vk-group-shadow h3,.is-style-vk-group-shadow h4,.is-style-vk-group-shadow h5,.is-style-vk-group-shadow h6{margin-bottom:1rem}.is-style-vk-group-shadow ul,.is-style-vk-group-shadow ol{margin-top:0}.is-style-vk-group-shadow ul li:last-child,.is-style-vk-group-shadow ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-info{background-color:#d9edf7;color:#31708f;border-radius:3px;border:1px solid #bce8f1;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-info h2,.is-style-vk-group-alert-info h3,.is-style-vk-group-alert-info h4,.is-style-vk-group-alert-info h5,.is-style-vk-group-alert-info h6{margin-bottom:1rem}.is-style-vk-group-alert-info ul,.is-style-vk-group-alert-info ol{margin-top:0}.is-style-vk-group-alert-info ul li:last-child,.is-style-vk-group-alert-info ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-success{background-color:#dff0d8;color:#3c763d;border-radius:3px;border:1px solid #d6e9c6;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-success h2,.is-style-vk-group-alert-success h3,.is-style-vk-group-alert-success h4,.is-style-vk-group-alert-success h5,.is-style-vk-group-alert-success h6{margin-bottom:1rem}.is-style-vk-group-alert-success ul,.is-style-vk-group-alert-success ol{margin-top:0}.is-style-vk-group-alert-success ul li:last-child,.is-style-vk-group-alert-success ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-radius:3px;border:1px solid #faebcc;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-warning h2,.is-style-vk-group-alert-warning h3,.is-style-vk-group-alert-warning h4,.is-style-vk-group-alert-warning h5,.is-style-vk-group-alert-warning h6{margin-bottom:1rem}.is-style-vk-group-alert-warning ul,.is-style-vk-group-alert-warning ol{margin-top:0}.is-style-vk-group-alert-warning ul li:last-child,.is-style-vk-group-alert-warning ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-danger{background-color:#f2dede;color:#a94442;border-radius:3px;border:1px solid #ebccd1;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-danger h2,.is-style-vk-group-alert-danger h3,.is-style-vk-group-alert-danger h4,.is-style-vk-group-alert-danger h5,.is-style-vk-group-alert-danger h6{margin-bottom:1rem}.is-style-vk-group-alert-danger ul,.is-style-vk-group-alert-danger ol{margin-top:0}.is-style-vk-group-alert-danger ul li:last-child,.is-style-vk-group-alert-danger ol li:last-child{margin-bottom:0}.wp-block-embed-youtube iframe{width:100%}.has-text-align-right{text-align:right}.has-text-align-left{text-align:left}.has-text-align-center{text-align:center}.wp-block-social-links{-ms-flex-wrap:wrap;flex-wrap:wrap}@media(min-width: 1400px){.col-xxl-2{-webkit-box-flex:0;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-xxl-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xxl-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-xxl-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xxl-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}}
|
2 |
.alert{padding:1em;margin:1em auto;border-radius:3px}.alert p{margin:0}.alert+.alert{margin-top:2em}.alert a{-webkit-transition:color .3s linear,opacity .3s linear;transition:color .3s linear,opacity .3s linear}.alert a:link,.alert a:visited{opacity:.8;text-decoration:underline}.alert a:hover,.alert a:visited{opacity:1;text-decoration:none}.alert-success{background-color:#dff0d8;color:#3c763d;border-color:#d6e9c6}.alert-info{background-color:#d9edf7;color:#31708f;border-color:#bce8f1}.alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-color:#faebcc}.alert-danger{background-color:#f2dede;color:#a94442;border-color:#ebccd1}
|
3 |
.vk_ancestorPageList-hiddenGrandChild-true ul li .children{display:none}.vk_ancestorPageList-hiddenGrandChild-true ul li.current_page_ancestor .children{display:block}
|
4 |
.vk_balloon{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal;margin-bottom:2.2em}.vk_balloon figure{margin:0}.vk_balloon p{color:initial;word-break:break-all}.vk_balloon p:first-of-type{margin-top:0}.vk_balloon p:last-of-type{margin-bottom:0}.vk_balloon_icon{-ms-flex-preferred-size:80px;flex-basis:80px;-ms-flex-negative:0;flex-shrink:0;text-align:center}.vk_balloon_icon_image:not(.has-text-color){color:#ccc}.vk_balloon_icon_image{vertical-align:bottom;width:64px;height:64px;-o-object-fit:cover;object-fit:cover;display:inline-block}.vk_balloon_icon_image-type-rounded{border-radius:4px}.vk_balloon_icon_image-type-circle{border-radius:50%}.vk_balloon_icon_name{display:block;text-align:center;font-size:.7rem;margin-top:.3rem}.vk_balloon_content_outer{width:100%}.vk_balloon_content{max-width:calc(100% - 6.2em);position:relative;text-align:left}.vk_balloon_content::after{display:block;clear:both;content:""}.vk_balloon-position-left .vk_balloon_content{float:left}.vk_balloon-position-right .vk_balloon_content{float:right}.vk_balloon_content.vk_balloon_content_fullwidth{max-width:100%;float:none}.vk_balloon_content.editor-rich-text__tinymce[data-is-placeholder-visible=true]{position:absolute}.vk_balloon_content{background:#f5f5f5;padding:calc(var(--vk-size-text) * 1 ) calc(var(--vk-size-text) * 1.2)}.vk_balloon_content_before,.vk_balloon_content_after{position:absolute;top:0;display:block;width:0;height:0;border-style:solid}.vk_balloon-type-speech .vk_balloon_content{border-radius:.4em}.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{top:15px}.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{z-index:1;border-right-color:inherit}.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before{z-index:2}.vk_balloon-type-think .vk_balloon_content{border-radius:1rem}.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before,.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{position:absolute;content:"";border-radius:50%;background:inherit}.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before{width:14px;height:14px}.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{width:10px;height:10px}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_icon{margin-right:calc( var(--vk-size-text) * 1.2 )}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{left:-10px;border-width:10px 12px 10px 0}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_icon{margin-right:calc( var(--vk-size-text) * 1.2 )}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before{left:-18px;top:7px}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{left:-25px;top:20px}.vk_balloon-position-right{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_icon{margin-left:calc( var(--vk-size-text) * 1.2 )}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{right:-10px;border-width:10px 0 10px 12px}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_icon{margin-left:calc( var(--vk-size-text) * 1.2 )}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before{right:-18px;top:7px}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{right:-25px;top:20px}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before:not(.has-text-color),.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after:not(.has-text-color){border-color:transparent #f5f5f5 transparent transparent}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{border-color:transparent currentColor transparent transparent}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before:not(.has-text-color),.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after:not(.has-text-color){border-color:transparent}.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{border-color:transparent currentColor transparent transparent}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before:not(.has-text-color),.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after:not(.has-text-color){border-color:transparent transparent transparent #f5f5f5}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content .vk_balloon_content_after{border-color:transparent transparent transparent currentColor}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before:not(.has-text-color),.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after:not(.has-text-color){border-color:transparent}.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_before,.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content .vk_balloon_content_after{border-color:transparent currentColor transparent transparent}.vk_balloon_content-border-true,.vk_balloon_icon_image-border-true{border-width:var(--vk-balloon-border-width, 1px);border-style:solid}.vk_balloon_content-border-true:not(.has-text-color){color:#ccc}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content-border-true .vk_balloon_content_before{left:-10px}.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_content-border-true .vk_balloon_content_after{left:var(--vk-balloon-speech-offset, -12px);border-right-color:inherit !important}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content-border-true{border-color:currentColor}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content-border-true .vk_balloon_content_before{right:-10px}.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content-border-true .vk_balloon_content_after{right:var(--vk-balloon-speech-offset, -12px);border-left-color:inherit !important}.vk_balloon-type-think .vk_balloon_content-border-true .vk_balloon_content_before,.vk_balloon-type-think .vk_balloon_content-border-true .vk_balloon_content_after{border-width:var(--vk-balloon-border-width, 1px);border-style:solid;border-color:inherit !important}.vk_balloon-animation-trembling{-webkit-animation:trembling .1s infinite;animation:trembling .1s infinite}@-webkit-keyframes trembling{0%{-webkit-transform:rotate(-0.5deg);transform:rotate(-0.5deg)}50%{-webkit-transform:rotate(0.5deg);transform:rotate(0.5deg)}}@keyframes trembling{0%{-webkit-transform:rotate(-0.5deg);transform:rotate(-0.5deg)}50%{-webkit-transform:rotate(0.5deg);transform:rotate(0.5deg)}}.vk_balloon-animation-trembling-x{-webkit-animation:trembling-x .1s infinite;animation:trembling-x .1s infinite}@-webkit-keyframes trembling-x{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.99, 0.96);transform:scale(0.99, 0.96)}}@keyframes trembling-x{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}50%{-webkit-transform:scale(0.99, 0.96);transform:scale(0.99, 0.96)}}.vk_balloon-animation-pounding{-webkit-animation:pounding 1.5s infinite;animation:pounding 1.5s infinite}@-webkit-keyframes pounding{0%{-webkit-transform:scale(1.05);transform:scale(1.05)}5%{-webkit-transform:scale(1);transform:scale(1)}95%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.05);transform:scale(1.05)}}@keyframes pounding{0%{-webkit-transform:scale(1.05);transform:scale(1.05)}5%{-webkit-transform:scale(1);transform:scale(1)}95%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(1.05);transform:scale(1.05)}}.vk_balloon-animation-shaking{-webkit-animation:shaking .4s infinite;animation:shaking .4s infinite}@-webkit-keyframes shaking{0%{-webkit-transform:translate(1px, 1px);transform:translate(1px, 1px)}25%{-webkit-transform:translate(1px, -1px);transform:translate(1px, -1px)}50%{-webkit-transform:translate(-1px, -1px);transform:translate(-1px, -1px)}75%{-webkit-transform:translate(-1px, 1px);transform:translate(-1px, 1px)}100%{-webkit-transform:translate(1px, 1px);transform:translate(1px, 1px)}}@keyframes shaking{0%{-webkit-transform:translate(1px, 1px);transform:translate(1px, 1px)}25%{-webkit-transform:translate(1px, -1px);transform:translate(1px, -1px)}50%{-webkit-transform:translate(-1px, -1px);transform:translate(-1px, -1px)}75%{-webkit-transform:translate(-1px, 1px);transform:translate(-1px, 1px)}100%{-webkit-transform:translate(1px, 1px);transform:translate(1px, 1px)}}.icon-image-list-note:hover{cursor:pointer}@media only screen and (max-width: 480px){.vk_balloon_content{max-width:calc(100% - 2em);font-size:.9em;padding:1em}.vk_balloon-type-think .vk_balloon_content::after{border:5px solid transparent}.vk_balloon{-webkit-box-align:normal;-ms-flex-align:normal;align-items:normal}.vk_balloon.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_icon{margin-right:1.5rem}.vk_balloon.vk_balloon-position-left.vk_balloon-type-speech .vk_balloon_conten:not(.vk_balloon_content_fullwidth){display:inline-block}.vk_balloon.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_icon{margin-right:2rem}.vk_balloon.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content:not(.vk_balloon_content_fullwidth){display:inline-block}.vk_balloon.vk_balloon-position-right{text-align:right}.vk_balloon.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_icon{margin-left:1.5rem;margin-right:0}.vk_balloon.vk_balloon-position-right.vk_balloon-type-speech .vk_balloon_content:not(.vk_balloon_content_fullwidth){display:inline-block}.vk_balloon.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_icon{margin-left:2rem;margin-right:0}.vk_balloon.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content:not(.vk_balloon_content_fullwidth){display:inline-block}.vk_balloon_icon{max-width:64px}}
|
build/utils/common.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
:root{--vk-margin-elem:2rem}.text-nowrap{white-space:nowrap}:root{--vk-margin-sm: 1.5rem;--vk-margin-md: 2.4rem;--vk-margin-lg: 4rem}.vk_block-margin-0--margin-top{margin-top:0 !important}.vk_block-margin-0--margin-top>table{margin-top:0}.vk_block-margin-0--margin-bottom{margin-bottom:0 !important}.vk_block-margin-0--margin-bottom>table{margin-bottom:0}.vk_block-margin-sm{margin-top:var(--vk-margin-sm)}.vk_block-margin-sm--margin-top{margin-top:var(--vk-margin-sm) !important}.vk_block-margin-sm--margin-bottom{margin-bottom:var(--vk-margin-sm) !important}.vk_block-margin-sm--height{height:var(--vk-margin-sm)}.vk_block-margin-md{margin-top:var(--vk-margin-md)}.vk_block-margin-md--margin-top{margin-top:var(--vk-margin-md) !important}.vk_block-margin-md--margin-bottom{margin-bottom:var(--vk-margin-md) !important}.vk_block-margin-md--height{height:var(--vk-margin-md)}.vk_block-margin-lg{margin-top:var(--vk-margin-lg)}.vk_block-margin-lg--margin-top{margin-top:var(--vk-margin-lg) !important}.vk_block-margin-lg--margin-bottom{margin-bottom:var(--vk-margin-lg) !important}.vk_block-margin-lg--height{height:var(--vk-margin-lg)}ul.is-style-vk-arrow-mark,ul.is-style-vk-triangle-mark,ul.is-style-vk-check-mark,ul.is-style-vk-check-circle-mark,ul.is-style-vk-check-square-mark,ul.is-style-vk-handpoint-mark,ul.is-style-vk-pencil-mark,ul.is-style-vk-smile-mark,ul.is-style-vk-frown-mark,ul.is-style-vk-numbered-circle-mark,ul.is-style-vk-numbered-square-mark,ol.is-style-vk-arrow-mark,ol.is-style-vk-triangle-mark,ol.is-style-vk-check-mark,ol.is-style-vk-check-circle-mark,ol.is-style-vk-check-square-mark,ol.is-style-vk-handpoint-mark,ol.is-style-vk-pencil-mark,ol.is-style-vk-smile-mark,ol.is-style-vk-frown-mark,ol.is-style-vk-numbered-circle-mark,ol.is-style-vk-numbered-square-mark{-webkit-padding-start:2em;padding-inline-start:2em}ul.is-style-vk-arrow-mark li,ul.is-style-vk-triangle-mark li,ul.is-style-vk-check-mark li,ul.is-style-vk-check-circle-mark li,ul.is-style-vk-check-square-mark li,ul.is-style-vk-handpoint-mark li,ul.is-style-vk-pencil-mark li,ul.is-style-vk-smile-mark li,ul.is-style-vk-frown-mark li,ul.is-style-vk-numbered-circle-mark li,ul.is-style-vk-numbered-square-mark li,ol.is-style-vk-arrow-mark li,ol.is-style-vk-triangle-mark li,ol.is-style-vk-check-mark li,ol.is-style-vk-check-circle-mark li,ol.is-style-vk-check-square-mark li,ol.is-style-vk-handpoint-mark li,ol.is-style-vk-pencil-mark li,ol.is-style-vk-smile-mark li,ol.is-style-vk-frown-mark li,ol.is-style-vk-numbered-circle-mark li,ol.is-style-vk-numbered-square-mark li{list-style:none;position:relative;margin-top:0;margin-left:0;margin:calc( var(--vk-size-text) * 0.8 ) 0;line-height:calc( var(--vk-size-text) * 1.65 )}ul.is-style-vk-numbered-circle-mark,ol.is-style-vk-numbered-circle-mark{counter-reset:number;list-style-type:none}ul.is-style-vk-numbered-circle-mark li,ol.is-style-vk-numbered-circle-mark li{position:relative;list-style:none;padding-left:.5em}ul.is-style-vk-numbered-circle-mark li:before,ol.is-style-vk-numbered-circle-mark li:before{position:absolute;left:0;counter-increment:number;content:counter(number);margin-left:-1.8em;background:#222;color:#fff;text-indent:0;display:inline-block;font-weight:bold;border-radius:50%;font-size:calc( var(--vk-size-text) * 1 );line-height:calc( var(--vk-size-text) * 1.8 );width:26px;height:26px;text-align:center}ul.is-style-vk-numbered-circle-mark li ul,ul.is-style-vk-numbered-circle-mark li ol,ol.is-style-vk-numbered-circle-mark li ul,ol.is-style-vk-numbered-circle-mark li ol{counter-reset:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-circle-mark li ul li:before,ul.is-style-vk-numbered-circle-mark li ol li:before,ol.is-style-vk-numbered-circle-mark li ul li:before,ol.is-style-vk-numbered-circle-mark li ol li:before{counter-increment:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-square-mark,ol.is-style-vk-numbered-square-mark{counter-reset:number;list-style-type:none}ul.is-style-vk-numbered-square-mark li,ol.is-style-vk-numbered-square-mark li{position:relative;list-style:none;padding-left:.5em}ul.is-style-vk-numbered-square-mark li:before,ol.is-style-vk-numbered-square-mark li:before{position:absolute;left:-0.3em;counter-increment:number;content:counter(number);margin-left:-25px;background:#222;color:#fff;text-indent:0;display:inline-block;font-weight:bold;font-size:calc( var(--vk-size-text) * 1 );line-height:calc( var(--vk-size-text) * 1.8 );width:26px;height:26px;text-align:center;border-radius:2px}ul.is-style-vk-numbered-square-mark li ul,ul.is-style-vk-numbered-square-mark li ol,ol.is-style-vk-numbered-square-mark li ul,ol.is-style-vk-numbered-square-mark li ol{counter-reset:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-square-mark li ul li:before,ul.is-style-vk-numbered-square-mark li ol li:before,ol.is-style-vk-numbered-square-mark li ul li:before,ol.is-style-vk-numbered-square-mark li ol li:before{counter-increment:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-circle-mark.fa-lg li::before,ul.is-style-vk-numbered-square-mark.fa-lg li::before,ol.is-style-vk-numbered-circle-mark.fa-lg li::before,ol.is-style-vk-numbered-square-mark.fa-lg li::before{left:-0.8em}ul.is-style-vk-numbered-circle-mark.fa-2x li,ul.is-style-vk-numbered-square-mark.fa-2x li,ol.is-style-vk-numbered-circle-mark.fa-2x li,ol.is-style-vk-numbered-square-mark.fa-2x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-2x li::before,ul.is-style-vk-numbered-square-mark.fa-2x li::before,ol.is-style-vk-numbered-circle-mark.fa-2x li::before,ol.is-style-vk-numbered-square-mark.fa-2x li::before{left:-1.1em}ul.is-style-vk-numbered-circle-mark.fa-3x li,ul.is-style-vk-numbered-square-mark.fa-3x li,ol.is-style-vk-numbered-circle-mark.fa-3x li,ol.is-style-vk-numbered-square-mark.fa-3x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-3x li::before,ul.is-style-vk-numbered-square-mark.fa-3x li::before,ol.is-style-vk-numbered-circle-mark.fa-3x li::before,ol.is-style-vk-numbered-square-mark.fa-3x li::before{left:-1.4em}ul.is-style-vk-numbered-circle-mark.fa-4x li,ul.is-style-vk-numbered-square-mark.fa-4x li,ol.is-style-vk-numbered-circle-mark.fa-4x li,ol.is-style-vk-numbered-square-mark.fa-4x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-4x li::before,ul.is-style-vk-numbered-square-mark.fa-4x li::before,ol.is-style-vk-numbered-circle-mark.fa-4x li::before,ol.is-style-vk-numbered-square-mark.fa-4x li::before{left:-1.5em}ul.is-style-vk-numbered-circle-mark.fa-5x li,ul.is-style-vk-numbered-square-mark.fa-5x li,ol.is-style-vk-numbered-circle-mark.fa-5x li,ol.is-style-vk-numbered-square-mark.fa-5x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-5x li::before,ul.is-style-vk-numbered-square-mark.fa-5x li::before,ol.is-style-vk-numbered-circle-mark.fa-5x li::before,ol.is-style-vk-numbered-square-mark.fa-5x li::before{left:-1.6em}ul.is-style-vk-arrow-mark li::before,ol.is-style-vk-arrow-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-triangle-mark li::before,ol.is-style-vk-triangle-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-mark li::before,ol.is-style-vk-check-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-circle-mark li::before,ol.is-style-vk-check-circle-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-square-mark li::before,ol.is-style-vk-check-square-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-handpoint-mark li::before,ol.is-style-vk-handpoint-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-pencil-mark li::before,ol.is-style-vk-pencil-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-smile-mark li::before,ol.is-style-vk-smile-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-frown-mark li::before,ol.is-style-vk-frown-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.vk-has-pale-pink-color li::marker,ol.vk-has-pale-pink-color li::marker{color:#f78da7}ul.vk-has-pale-pink-color li::before,ol.vk-has-pale-pink-color li::before{color:#f78da7}ul.is-style-vk-numbered-circle-mark.vk-has-pale-pink-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-pale-pink-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-pale-pink-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-pale-pink-color li::before{color:#fff;background-color:#f78da7}ul.vk-has-vivid-red-color li::marker,ol.vk-has-vivid-red-color li::marker{color:#cf2e2e}ul.vk-has-vivid-red-color li::before,ol.vk-has-vivid-red-color li::before{color:#cf2e2e}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-red-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-red-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-red-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-red-color li::before{color:#fff;background-color:#cf2e2e}ul.vk-has-luminous-vivid-orange-color li::marker,ol.vk-has-luminous-vivid-orange-color li::marker{color:#ff6900}ul.vk-has-luminous-vivid-orange-color li::before,ol.vk-has-luminous-vivid-orange-color li::before{color:#ff6900}ul.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-orange-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-orange-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-orange-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-orange-color li::before{color:#fff;background-color:#ff6900}ul.vk-has-luminous-vivid-amber-color li::marker,ol.vk-has-luminous-vivid-amber-color li::marker{color:#fcb900}ul.vk-has-luminous-vivid-amber-color li::before,ol.vk-has-luminous-vivid-amber-color li::before{color:#fcb900}ul.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-amber-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-amber-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-amber-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-amber-color li::before{color:#fff;background-color:#fcb900}ul.vk-has-light-green-cyan-color li::marker,ol.vk-has-light-green-cyan-color li::marker{color:#7bdcb5}ul.vk-has-light-green-cyan-color li::before,ol.vk-has-light-green-cyan-color li::before{color:#7bdcb5}ul.is-style-vk-numbered-circle-mark.vk-has-light-green-cyan-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-light-green-cyan-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-light-green-cyan-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-light-green-cyan-color li::before{color:#fff;background-color:#7bdcb5}ul.vk-has-vivid-green-cyan-color li::marker,ol.vk-has-vivid-green-cyan-color li::marker{color:#00d084}ul.vk-has-vivid-green-cyan-color li::before,ol.vk-has-vivid-green-cyan-color li::before{color:#00d084}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-green-cyan-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-green-cyan-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-green-cyan-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-green-cyan-color li::before{color:#fff;background-color:#00d084}ul.vk-has-pale-cyan-blue-color li::marker,ol.vk-has-pale-cyan-blue-color li::marker{color:#8ed1fc}ul.vk-has-pale-cyan-blue-color li::before,ol.vk-has-pale-cyan-blue-color li::before{color:#8ed1fc}ul.is-style-vk-numbered-circle-mark.vk-has-pale-cyan-blue-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-pale-cyan-blue-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-pale-cyan-blue-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-pale-cyan-blue-color li::before{color:#fff;background-color:#8ed1fc}ul.vk-has-vivid-cyan-blue-color li::marker,ol.vk-has-vivid-cyan-blue-color li::marker{color:#0693e3}ul.vk-has-vivid-cyan-blue-color li::before,ol.vk-has-vivid-cyan-blue-color li::before{color:#0693e3}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-cyan-blue-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-cyan-blue-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-cyan-blue-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-cyan-blue-color li::before{color:#fff;background-color:#0693e3}ul.vk-has-vivid-purple-color li::marker,ol.vk-has-vivid-purple-color li::marker{color:#9b51e0}ul.vk-has-vivid-purple-color li::before,ol.vk-has-vivid-purple-color li::before{color:#9b51e0}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-purple-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-purple-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-purple-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-purple-color li::before{color:#fff;background-color:#9b51e0}ul.vk-has-very-light-gray-color li::marker,ol.vk-has-very-light-gray-color li::marker{color:#eee}ul.vk-has-very-light-gray-color li::before,ol.vk-has-very-light-gray-color li::before{color:#eee}ul.is-style-vk-numbered-circle-mark.vk-has-very-light-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-very-light-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-very-light-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-very-light-gray-color li::before{color:#fff;background-color:#eee}ul.vk-has-cyan-bluish-gray-color li::marker,ol.vk-has-cyan-bluish-gray-color li::marker{color:#abb8c3}ul.vk-has-cyan-bluish-gray-color li::before,ol.vk-has-cyan-bluish-gray-color li::before{color:#abb8c3}ul.is-style-vk-numbered-circle-mark.vk-has-cyan-bluish-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-cyan-bluish-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-cyan-bluish-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-cyan-bluish-gray-color li::before{color:#fff;background-color:#abb8c3}ul.vk-has-very-dark-gray-color li::marker,ol.vk-has-very-dark-gray-color li::marker{color:#313131}ul.vk-has-very-dark-gray-color li::before,ol.vk-has-very-dark-gray-color li::before{color:#313131}ul.is-style-vk-numbered-circle-mark.vk-has-very-dark-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-very-dark-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-very-dark-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-very-dark-gray-color li::before{color:#fff;background-color:#313131}ul.vk-has-white-color li::marker,ol.vk-has-white-color li::marker{color:#fff}ul.vk-has-white-color li::before,ol.vk-has-white-color li::before{color:#fff}ul.is-style-vk-numbered-circle-mark.vk-has-white-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-white-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-white-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-white-color li::before{color:#fff;background-color:#fff}ul.vk-has-vk-color-primary-color li::marker,ol.vk-has-vk-color-primary-color li::marker{color:var(--vk-color-primary)}ul.vk-has-vk-color-primary-color li::before,ol.vk-has-vk-color-primary-color li::before{color:var(--vk-color-primary)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-color li::before{color:#fff;background-color:var(--vk-color-primary)}ul.vk-has-vk-color-primary-dark-color li::marker,ol.vk-has-vk-color-primary-dark-color li::marker{color:var(--vk-color-primary-dark)}ul.vk-has-vk-color-primary-dark-color li::before,ol.vk-has-vk-color-primary-dark-color li::before{color:var(--vk-color-primary-dark)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-dark-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-dark-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-dark-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-dark-color li::before{color:#fff;background-color:var(--vk-color-primary-dark)}ul.vk-has-vk-color-primary-vivid-color li::marker,ol.vk-has-vk-color-primary-vivid-color li::marker{color:var(--vk-color-primary-vivid)}ul.vk-has-vk-color-primary-vivid-color li::before,ol.vk-has-vk-color-primary-vivid-color li::before{color:var(--vk-color-primary-vivid)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-vivid-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-vivid-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-vivid-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-vivid-color li::before{color:#fff;background-color:var(--vk-color-primary-vivid)}ul.vk-has-vk-color-custom-1-color li::marker,ol.vk-has-vk-color-custom-1-color li::marker{color:var(--vk-color-custom-1)}ul.vk-has-vk-color-custom-1-color li::before,ol.vk-has-vk-color-custom-1-color li::before{color:var(--vk-color-custom-1)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-1-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-1-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-1-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-1-color li::before{color:#fff;background-color:var(--vk-color-custom-1)}ul.vk-has-vk-color-custom-2-color li::marker,ol.vk-has-vk-color-custom-2-color li::marker{color:var(--vk-color-custom-2)}ul.vk-has-vk-color-custom-2-color li::before,ol.vk-has-vk-color-custom-2-color li::before{color:var(--vk-color-custom-2)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-2-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-2-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-2-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-2-color li::before{color:#fff;background-color:var(--vk-color-custom-2)}ul.vk-has-vk-color-custom-3-color li::marker,ol.vk-has-vk-color-custom-3-color li::marker{color:var(--vk-color-custom-3)}ul.vk-has-vk-color-custom-3-color li::before,ol.vk-has-vk-color-custom-3-color li::before{color:var(--vk-color-custom-3)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-3-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-3-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-3-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-3-color li::before{color:#fff;background-color:var(--vk-color-custom-3)}ul.vk-has-vk-color-custom-4-color li::marker,ol.vk-has-vk-color-custom-4-color li::marker{color:var(--vk-color-custom-4)}ul.vk-has-vk-color-custom-4-color li::before,ol.vk-has-vk-color-custom-4-color li::before{color:var(--vk-color-custom-4)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-4-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-4-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-4-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-4-color li::before{color:#fff;background-color:var(--vk-color-custom-4)}ul.vk-has-vk-color-custom-5-color li::marker,ol.vk-has-vk-color-custom-5-color li::marker{color:var(--vk-color-custom-5)}ul.vk-has-vk-color-custom-5-color li::before,ol.vk-has-vk-color-custom-5-color li::before{color:var(--vk-color-custom-5)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-5-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-5-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-5-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-5-color li::before{color:#fff;background-color:var(--vk-color-custom-5)}.wp-block-group h3:first-child,.wp-block-group h4:first-child{margin-top:0}.wp-block-group p:last-child,.wp-block-group ul:last-child,.wp-block-group ol:last-child,.wp-block-group dl:last-child,.wp-block-group table:last-child,.wp-block-group .wp-block-columns:last-child{margin-bottom:0}.wp-block-group.vk-has-pale-pink-color{border-color:#f78da7}.wp-block-group.vk-has-pale-pink-color .wp-block-group__inner-container{border-color:#f78da7}.wp-block-group.vk-has-vivid-red-color{border-color:#cf2e2e}.wp-block-group.vk-has-vivid-red-color .wp-block-group__inner-container{border-color:#cf2e2e}.wp-block-group.vk-has-luminous-vivid-orange-color{border-color:#ff6900}.wp-block-group.vk-has-luminous-vivid-orange-color .wp-block-group__inner-container{border-color:#ff6900}.wp-block-group.vk-has-luminous-vivid-amber-color{border-color:#fcb900}.wp-block-group.vk-has-luminous-vivid-amber-color .wp-block-group__inner-container{border-color:#fcb900}.wp-block-group.vk-has-light-green-cyan-color{border-color:#7bdcb5}.wp-block-group.vk-has-light-green-cyan-color .wp-block-group__inner-container{border-color:#7bdcb5}.wp-block-group.vk-has-vivid-green-cyan-color{border-color:#00d084}.wp-block-group.vk-has-vivid-green-cyan-color .wp-block-group__inner-container{border-color:#00d084}.wp-block-group.vk-has-pale-cyan-blue-color{border-color:#8ed1fc}.wp-block-group.vk-has-pale-cyan-blue-color .wp-block-group__inner-container{border-color:#8ed1fc}.wp-block-group.vk-has-vivid-cyan-blue-color{border-color:#0693e3}.wp-block-group.vk-has-vivid-cyan-blue-color .wp-block-group__inner-container{border-color:#0693e3}.wp-block-group.vk-has-vivid-purple-color{border-color:#9b51e0}.wp-block-group.vk-has-vivid-purple-color .wp-block-group__inner-container{border-color:#9b51e0}.wp-block-group.vk-has-very-light-gray-color{border-color:#eee}.wp-block-group.vk-has-very-light-gray-color .wp-block-group__inner-container{border-color:#eee}.wp-block-group.vk-has-cyan-bluish-gray-color{border-color:#abb8c3}.wp-block-group.vk-has-cyan-bluish-gray-color .wp-block-group__inner-container{border-color:#abb8c3}.wp-block-group.vk-has-very-dark-gray-color{border-color:#313131}.wp-block-group.vk-has-very-dark-gray-color .wp-block-group__inner-container{border-color:#313131}.wp-block-group.vk-has-white-color{border-color:#fff}.wp-block-group.vk-has-white-color .wp-block-group__inner-container{border-color:#fff}.wp-block-group.vk-has-vk-color-primary-color{border-color:var(--vk-color-primary)}.wp-block-group.vk-has-vk-color-primary-color .wp-block-group__inner-container{border-color:var(--vk-color-primary)}.wp-block-group.vk-has-vk-color-primary-dark-color{border-color:var(--vk-color-primary-dark)}.wp-block-group.vk-has-vk-color-primary-dark-color .wp-block-group__inner-container{border-color:var(--vk-color-primary-dark)}.wp-block-group.vk-has-vk-color-primary-vivid-color{border-color:var(--vk-color-primary-vivid)}.wp-block-group.vk-has-vk-color-primary-vivid-color .wp-block-group__inner-container{border-color:var(--vk-color-primary-vivid)}.wp-block-group.vk-has-vk-color-custom-1-color{border-color:var(--vk-color-custom-1)}.wp-block-group.vk-has-vk-color-custom-1-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-1)}.wp-block-group.vk-has-vk-color-custom-2-color{border-color:var(--vk-color-custom-2)}.wp-block-group.vk-has-vk-color-custom-2-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-2)}.wp-block-group.vk-has-vk-color-custom-3-color{border-color:var(--vk-color-custom-3)}.wp-block-group.vk-has-vk-color-custom-3-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-3)}.wp-block-group.vk-has-vk-color-custom-4-color{border-color:var(--vk-color-custom-4)}.wp-block-group.vk-has-vk-color-custom-4-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-4)}.wp-block-group.vk-has-vk-color-custom-5-color{border-color:var(--vk-color-custom-5)}.wp-block-group.vk-has-vk-color-custom-5-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-5)}.is-style-vk-group-solid{border:solid 3px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-solid h2,.is-style-vk-group-solid h3,.is-style-vk-group-solid h4,.is-style-vk-group-solid h5,.is-style-vk-group-solid h6{margin-bottom:1rem}.is-style-vk-group-solid ul,.is-style-vk-group-solid ol{margin-top:0}.is-style-vk-group-solid ul li:last-child,.is-style-vk-group-solid ol li:last-child{margin-bottom:0}.is-style-vk-group-solid-roundcorner{border:solid 3px;border-radius:8px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-solid-roundcorner h2,.is-style-vk-group-solid-roundcorner h3,.is-style-vk-group-solid-roundcorner h4,.is-style-vk-group-solid-roundcorner h5,.is-style-vk-group-solid-roundcorner h6{margin-bottom:1rem}.is-style-vk-group-solid-roundcorner ul,.is-style-vk-group-solid-roundcorner ol{margin-top:0}.is-style-vk-group-solid-roundcorner ul li:last-child,.is-style-vk-group-solid-roundcorner ol li:last-child{margin-bottom:0}.is-style-vk-group-dotted{border:dotted 1px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-dotted h2,.is-style-vk-group-dotted h3,.is-style-vk-group-dotted h4,.is-style-vk-group-dotted h5,.is-style-vk-group-dotted h6{margin-bottom:1rem}.is-style-vk-group-dotted ul,.is-style-vk-group-dotted ol{margin-top:0}.is-style-vk-group-dotted ul li:last-child,.is-style-vk-group-dotted ol li:last-child{margin-bottom:0}.is-style-vk-group-dashed{border:dashed 2px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-dashed h2,.is-style-vk-group-dashed h3,.is-style-vk-group-dashed h4,.is-style-vk-group-dashed h5,.is-style-vk-group-dashed h6{margin-bottom:1rem}.is-style-vk-group-dashed ul,.is-style-vk-group-dashed ol{margin-top:0}.is-style-vk-group-dashed ul li:last-child,.is-style-vk-group-dashed ol li:last-child{margin-bottom:0}.is-style-vk-group-double{border:double 5px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-double h2,.is-style-vk-group-double h3,.is-style-vk-group-double h4,.is-style-vk-group-double h5,.is-style-vk-group-double h6{margin-bottom:1rem}.is-style-vk-group-double ul,.is-style-vk-group-double ol{margin-top:0}.is-style-vk-group-double ul li:last-child,.is-style-vk-group-double ol li:last-child{margin-bottom:0}.is-style-vk-group-stitch{margin:1em auto;padding:.5em;border-radius:8px}.is-style-vk-group-stitch h2,.is-style-vk-group-stitch h3,.is-style-vk-group-stitch h4,.is-style-vk-group-stitch h5,.is-style-vk-group-stitch h6{margin-bottom:1rem}.is-style-vk-group-stitch ul,.is-style-vk-group-stitch ol{margin-top:0}.is-style-vk-group-stitch ul li:last-child,.is-style-vk-group-stitch ol li:last-child{margin-bottom:0}.is-style-vk-group-stitch .wp-block-group__inner-container{border:dashed 2px;border-radius:8px;padding:1.8em}.is-style-vk-group-top-bottom-border{border-top:solid 1px;border-bottom:solid 1px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem);padding-left:0;padding-right:0}.is-style-vk-group-top-bottom-border h2,.is-style-vk-group-top-bottom-border h3,.is-style-vk-group-top-bottom-border h4,.is-style-vk-group-top-bottom-border h5,.is-style-vk-group-top-bottom-border h6{margin-bottom:1rem}.is-style-vk-group-top-bottom-border ul,.is-style-vk-group-top-bottom-border ol{margin-top:0}.is-style-vk-group-top-bottom-border ul li:last-child,.is-style-vk-group-top-bottom-border ol li:last-child{margin-bottom:0}.is-style-vk-group-shadow{-webkit-box-shadow:0px 0px 5px rgba(0,0,0,.2);box-shadow:0px 0px 5px rgba(0,0,0,.2);padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-shadow h2,.is-style-vk-group-shadow h3,.is-style-vk-group-shadow h4,.is-style-vk-group-shadow h5,.is-style-vk-group-shadow h6{margin-bottom:1rem}.is-style-vk-group-shadow ul,.is-style-vk-group-shadow ol{margin-top:0}.is-style-vk-group-shadow ul li:last-child,.is-style-vk-group-shadow ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-info{background-color:#d9edf7;color:#31708f;border-radius:3px;border:1px solid #bce8f1;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-info h2,.is-style-vk-group-alert-info h3,.is-style-vk-group-alert-info h4,.is-style-vk-group-alert-info h5,.is-style-vk-group-alert-info h6{margin-bottom:1rem}.is-style-vk-group-alert-info ul,.is-style-vk-group-alert-info ol{margin-top:0}.is-style-vk-group-alert-info ul li:last-child,.is-style-vk-group-alert-info ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-success{background-color:#dff0d8;color:#3c763d;border-radius:3px;border:1px solid #d6e9c6;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-success h2,.is-style-vk-group-alert-success h3,.is-style-vk-group-alert-success h4,.is-style-vk-group-alert-success h5,.is-style-vk-group-alert-success h6{margin-bottom:1rem}.is-style-vk-group-alert-success ul,.is-style-vk-group-alert-success ol{margin-top:0}.is-style-vk-group-alert-success ul li:last-child,.is-style-vk-group-alert-success ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-radius:3px;border:1px solid #faebcc;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-warning h2,.is-style-vk-group-alert-warning h3,.is-style-vk-group-alert-warning h4,.is-style-vk-group-alert-warning h5,.is-style-vk-group-alert-warning h6{margin-bottom:1rem}.is-style-vk-group-alert-warning ul,.is-style-vk-group-alert-warning ol{margin-top:0}.is-style-vk-group-alert-warning ul li:last-child,.is-style-vk-group-alert-warning ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-danger{background-color:#f2dede;color:#a94442;border-radius:3px;border:1px solid #ebccd1;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-danger h2,.is-style-vk-group-alert-danger h3,.is-style-vk-group-alert-danger h4,.is-style-vk-group-alert-danger h5,.is-style-vk-group-alert-danger h6{margin-bottom:1rem}.is-style-vk-group-alert-danger ul,.is-style-vk-group-alert-danger ol{margin-top:0}.is-style-vk-group-alert-danger ul li:last-child,.is-style-vk-group-alert-danger ol li:last-child{margin-bottom:0}.wp-block-embed-youtube iframe{width:100%}.has-text-align-right{text-align:right}.has-text-align-left{text-align:left}.has-text-align-center{text-align:center}.wp-block-social-links{-ms-flex-wrap:wrap;flex-wrap:wrap}@media(min-width: 1400px){.col-xxl-2{-webkit-box-flex:0;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-xxl-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xxl-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-xxl-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xxl-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}}
|
1 |
+
:root{--vk-margin-elem:2rem}.text-nowrap{white-space:nowrap}:root{--vk-margin-xs: 0.75rem;--vk-margin-sm: 1.5rem;--vk-margin-md: 2.4rem;--vk-margin-lg: 4rem;--vk-margin-xl: 6rem}.vk_block-margin-0--margin-top{margin-top:0 !important}.vk_block-margin-0--margin-top>table{margin-top:0}.vk_block-margin-0--margin-bottom{margin-bottom:0 !important}.vk_block-margin-0--margin-bottom>table{margin-bottom:0}.vk_block-margin-xs{margin-top:var(--vk-margin-xs)}.vk_block-margin-xs--margin-top{margin-top:var(--vk-margin-xs) !important}.vk_block-margin-xs--margin-bottom{margin-bottom:var(--vk-margin-xs) !important}.vk_block-margin-xs--height{height:var(--vk-margin-xs)}.vk_block-margin-sm{margin-top:var(--vk-margin-sm)}.vk_block-margin-sm--margin-top{margin-top:var(--vk-margin-sm) !important}.vk_block-margin-sm--margin-bottom{margin-bottom:var(--vk-margin-sm) !important}.vk_block-margin-sm--height{height:var(--vk-margin-sm)}.vk_block-margin-md{margin-top:var(--vk-margin-md)}.vk_block-margin-md--margin-top{margin-top:var(--vk-margin-md) !important}.vk_block-margin-md--margin-bottom{margin-bottom:var(--vk-margin-md) !important}.vk_block-margin-md--height{height:var(--vk-margin-md)}.vk_block-margin-lg{margin-top:var(--vk-margin-lg)}.vk_block-margin-lg--margin-top{margin-top:var(--vk-margin-lg) !important}.vk_block-margin-lg--margin-bottom{margin-bottom:var(--vk-margin-lg) !important}.vk_block-margin-lg--height{height:var(--vk-margin-lg)}.vk_block-margin-xl{margin-top:var(--vk-margin-xl)}.vk_block-margin-xl--margin-top{margin-top:var(--vk-margin-xl) !important}.vk_block-margin-xl--margin-bottom{margin-bottom:var(--vk-margin-xl) !important}.vk_block-margin-xl--height{height:var(--vk-margin-xl)}ul.is-style-vk-arrow-mark,ul.is-style-vk-triangle-mark,ul.is-style-vk-check-mark,ul.is-style-vk-check-circle-mark,ul.is-style-vk-check-square-mark,ul.is-style-vk-handpoint-mark,ul.is-style-vk-pencil-mark,ul.is-style-vk-smile-mark,ul.is-style-vk-frown-mark,ul.is-style-vk-numbered-circle-mark,ul.is-style-vk-numbered-square-mark,ol.is-style-vk-arrow-mark,ol.is-style-vk-triangle-mark,ol.is-style-vk-check-mark,ol.is-style-vk-check-circle-mark,ol.is-style-vk-check-square-mark,ol.is-style-vk-handpoint-mark,ol.is-style-vk-pencil-mark,ol.is-style-vk-smile-mark,ol.is-style-vk-frown-mark,ol.is-style-vk-numbered-circle-mark,ol.is-style-vk-numbered-square-mark{-webkit-padding-start:2em;padding-inline-start:2em}ul.is-style-vk-arrow-mark li,ul.is-style-vk-triangle-mark li,ul.is-style-vk-check-mark li,ul.is-style-vk-check-circle-mark li,ul.is-style-vk-check-square-mark li,ul.is-style-vk-handpoint-mark li,ul.is-style-vk-pencil-mark li,ul.is-style-vk-smile-mark li,ul.is-style-vk-frown-mark li,ul.is-style-vk-numbered-circle-mark li,ul.is-style-vk-numbered-square-mark li,ol.is-style-vk-arrow-mark li,ol.is-style-vk-triangle-mark li,ol.is-style-vk-check-mark li,ol.is-style-vk-check-circle-mark li,ol.is-style-vk-check-square-mark li,ol.is-style-vk-handpoint-mark li,ol.is-style-vk-pencil-mark li,ol.is-style-vk-smile-mark li,ol.is-style-vk-frown-mark li,ol.is-style-vk-numbered-circle-mark li,ol.is-style-vk-numbered-square-mark li{list-style:none;position:relative;margin-top:0;margin-left:0;margin:calc( var(--vk-size-text) * 0.8 ) 0;line-height:calc( var(--vk-size-text) * 1.65 )}ul.is-style-vk-numbered-circle-mark,ol.is-style-vk-numbered-circle-mark{counter-reset:number;list-style-type:none}ul.is-style-vk-numbered-circle-mark li,ol.is-style-vk-numbered-circle-mark li{position:relative;list-style:none;padding-left:.5em}ul.is-style-vk-numbered-circle-mark li:before,ol.is-style-vk-numbered-circle-mark li:before{position:absolute;left:0;counter-increment:number;content:counter(number);margin-left:-1.8em;background:#222;color:#fff;text-indent:0;display:inline-block;font-weight:bold;border-radius:50%;font-size:calc( var(--vk-size-text) * 1 );line-height:calc( var(--vk-size-text) * 1.8 );width:26px;height:26px;text-align:center}ul.is-style-vk-numbered-circle-mark li ul,ul.is-style-vk-numbered-circle-mark li ol,ol.is-style-vk-numbered-circle-mark li ul,ol.is-style-vk-numbered-circle-mark li ol{counter-reset:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-circle-mark li ul li:before,ul.is-style-vk-numbered-circle-mark li ol li:before,ol.is-style-vk-numbered-circle-mark li ul li:before,ol.is-style-vk-numbered-circle-mark li ol li:before{counter-increment:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-square-mark,ol.is-style-vk-numbered-square-mark{counter-reset:number;list-style-type:none}ul.is-style-vk-numbered-square-mark li,ol.is-style-vk-numbered-square-mark li{position:relative;list-style:none;padding-left:.5em}ul.is-style-vk-numbered-square-mark li:before,ol.is-style-vk-numbered-square-mark li:before{position:absolute;left:-0.3em;counter-increment:number;content:counter(number);margin-left:-25px;background:#222;color:#fff;text-indent:0;display:inline-block;font-weight:bold;font-size:calc( var(--vk-size-text) * 1 );line-height:calc( var(--vk-size-text) * 1.8 );width:26px;height:26px;text-align:center;border-radius:2px}ul.is-style-vk-numbered-square-mark li ul,ul.is-style-vk-numbered-square-mark li ol,ol.is-style-vk-numbered-square-mark li ul,ol.is-style-vk-numbered-square-mark li ol{counter-reset:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-square-mark li ul li:before,ul.is-style-vk-numbered-square-mark li ol li:before,ol.is-style-vk-numbered-square-mark li ul li:before,ol.is-style-vk-numbered-square-mark li ol li:before{counter-increment:num_inner;content:counter(num_inner)}ul.is-style-vk-numbered-circle-mark.fa-lg li::before,ul.is-style-vk-numbered-square-mark.fa-lg li::before,ol.is-style-vk-numbered-circle-mark.fa-lg li::before,ol.is-style-vk-numbered-square-mark.fa-lg li::before{left:-0.8em}ul.is-style-vk-numbered-circle-mark.fa-2x li,ul.is-style-vk-numbered-square-mark.fa-2x li,ol.is-style-vk-numbered-circle-mark.fa-2x li,ol.is-style-vk-numbered-square-mark.fa-2x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-2x li::before,ul.is-style-vk-numbered-square-mark.fa-2x li::before,ol.is-style-vk-numbered-circle-mark.fa-2x li::before,ol.is-style-vk-numbered-square-mark.fa-2x li::before{left:-1.1em}ul.is-style-vk-numbered-circle-mark.fa-3x li,ul.is-style-vk-numbered-square-mark.fa-3x li,ol.is-style-vk-numbered-circle-mark.fa-3x li,ol.is-style-vk-numbered-square-mark.fa-3x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-3x li::before,ul.is-style-vk-numbered-square-mark.fa-3x li::before,ol.is-style-vk-numbered-circle-mark.fa-3x li::before,ol.is-style-vk-numbered-square-mark.fa-3x li::before{left:-1.4em}ul.is-style-vk-numbered-circle-mark.fa-4x li,ul.is-style-vk-numbered-square-mark.fa-4x li,ol.is-style-vk-numbered-circle-mark.fa-4x li,ol.is-style-vk-numbered-square-mark.fa-4x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-4x li::before,ul.is-style-vk-numbered-square-mark.fa-4x li::before,ol.is-style-vk-numbered-circle-mark.fa-4x li::before,ol.is-style-vk-numbered-square-mark.fa-4x li::before{left:-1.5em}ul.is-style-vk-numbered-circle-mark.fa-5x li,ul.is-style-vk-numbered-square-mark.fa-5x li,ol.is-style-vk-numbered-circle-mark.fa-5x li,ol.is-style-vk-numbered-square-mark.fa-5x li{line-height:1.25em}ul.is-style-vk-numbered-circle-mark.fa-5x li::before,ul.is-style-vk-numbered-square-mark.fa-5x li::before,ol.is-style-vk-numbered-circle-mark.fa-5x li::before,ol.is-style-vk-numbered-square-mark.fa-5x li::before{left:-1.6em}ul.is-style-vk-arrow-mark li::before,ol.is-style-vk-arrow-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-triangle-mark li::before,ol.is-style-vk-triangle-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-mark li::before,ol.is-style-vk-check-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-circle-mark li::before,ol.is-style-vk-check-circle-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-check-square-mark li::before,ol.is-style-vk-check-square-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-handpoint-mark li::before,ol.is-style-vk-handpoint-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-pencil-mark li::before,ol.is-style-vk-pencil-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-smile-mark li::before,ol.is-style-vk-smile-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.is-style-vk-frown-mark li::before,ol.is-style-vk-frown-mark li::before{font-family:"Font Awesome 5 Free";font-weight:900;position:absolute;content:"";left:-1.5em}ul.is-style-vk-default li::before,ol.is-style-vk-default li::before{font-size:22px;line-height:1.1em}ul.vk-has-pale-pink-color li::marker,ol.vk-has-pale-pink-color li::marker{color:#f78da7}ul.vk-has-pale-pink-color li::before,ol.vk-has-pale-pink-color li::before{color:#f78da7}ul.is-style-vk-numbered-circle-mark.vk-has-pale-pink-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-pale-pink-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-pale-pink-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-pale-pink-color li::before{color:#fff;background-color:#f78da7}ul.vk-has-vivid-red-color li::marker,ol.vk-has-vivid-red-color li::marker{color:#cf2e2e}ul.vk-has-vivid-red-color li::before,ol.vk-has-vivid-red-color li::before{color:#cf2e2e}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-red-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-red-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-red-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-red-color li::before{color:#fff;background-color:#cf2e2e}ul.vk-has-luminous-vivid-orange-color li::marker,ol.vk-has-luminous-vivid-orange-color li::marker{color:#ff6900}ul.vk-has-luminous-vivid-orange-color li::before,ol.vk-has-luminous-vivid-orange-color li::before{color:#ff6900}ul.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-orange-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-orange-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-orange-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-orange-color li::before{color:#fff;background-color:#ff6900}ul.vk-has-luminous-vivid-amber-color li::marker,ol.vk-has-luminous-vivid-amber-color li::marker{color:#fcb900}ul.vk-has-luminous-vivid-amber-color li::before,ol.vk-has-luminous-vivid-amber-color li::before{color:#fcb900}ul.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-amber-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-amber-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-luminous-vivid-amber-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-luminous-vivid-amber-color li::before{color:#fff;background-color:#fcb900}ul.vk-has-light-green-cyan-color li::marker,ol.vk-has-light-green-cyan-color li::marker{color:#7bdcb5}ul.vk-has-light-green-cyan-color li::before,ol.vk-has-light-green-cyan-color li::before{color:#7bdcb5}ul.is-style-vk-numbered-circle-mark.vk-has-light-green-cyan-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-light-green-cyan-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-light-green-cyan-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-light-green-cyan-color li::before{color:#fff;background-color:#7bdcb5}ul.vk-has-vivid-green-cyan-color li::marker,ol.vk-has-vivid-green-cyan-color li::marker{color:#00d084}ul.vk-has-vivid-green-cyan-color li::before,ol.vk-has-vivid-green-cyan-color li::before{color:#00d084}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-green-cyan-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-green-cyan-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-green-cyan-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-green-cyan-color li::before{color:#fff;background-color:#00d084}ul.vk-has-pale-cyan-blue-color li::marker,ol.vk-has-pale-cyan-blue-color li::marker{color:#8ed1fc}ul.vk-has-pale-cyan-blue-color li::before,ol.vk-has-pale-cyan-blue-color li::before{color:#8ed1fc}ul.is-style-vk-numbered-circle-mark.vk-has-pale-cyan-blue-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-pale-cyan-blue-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-pale-cyan-blue-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-pale-cyan-blue-color li::before{color:#fff;background-color:#8ed1fc}ul.vk-has-vivid-cyan-blue-color li::marker,ol.vk-has-vivid-cyan-blue-color li::marker{color:#0693e3}ul.vk-has-vivid-cyan-blue-color li::before,ol.vk-has-vivid-cyan-blue-color li::before{color:#0693e3}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-cyan-blue-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-cyan-blue-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-cyan-blue-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-cyan-blue-color li::before{color:#fff;background-color:#0693e3}ul.vk-has-vivid-purple-color li::marker,ol.vk-has-vivid-purple-color li::marker{color:#9b51e0}ul.vk-has-vivid-purple-color li::before,ol.vk-has-vivid-purple-color li::before{color:#9b51e0}ul.is-style-vk-numbered-circle-mark.vk-has-vivid-purple-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vivid-purple-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vivid-purple-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vivid-purple-color li::before{color:#fff;background-color:#9b51e0}ul.vk-has-very-light-gray-color li::marker,ol.vk-has-very-light-gray-color li::marker{color:#eee}ul.vk-has-very-light-gray-color li::before,ol.vk-has-very-light-gray-color li::before{color:#eee}ul.is-style-vk-numbered-circle-mark.vk-has-very-light-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-very-light-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-very-light-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-very-light-gray-color li::before{color:#fff;background-color:#eee}ul.vk-has-cyan-bluish-gray-color li::marker,ol.vk-has-cyan-bluish-gray-color li::marker{color:#abb8c3}ul.vk-has-cyan-bluish-gray-color li::before,ol.vk-has-cyan-bluish-gray-color li::before{color:#abb8c3}ul.is-style-vk-numbered-circle-mark.vk-has-cyan-bluish-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-cyan-bluish-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-cyan-bluish-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-cyan-bluish-gray-color li::before{color:#fff;background-color:#abb8c3}ul.vk-has-very-dark-gray-color li::marker,ol.vk-has-very-dark-gray-color li::marker{color:#313131}ul.vk-has-very-dark-gray-color li::before,ol.vk-has-very-dark-gray-color li::before{color:#313131}ul.is-style-vk-numbered-circle-mark.vk-has-very-dark-gray-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-very-dark-gray-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-very-dark-gray-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-very-dark-gray-color li::before{color:#fff;background-color:#313131}ul.vk-has-white-color li::marker,ol.vk-has-white-color li::marker{color:#fff}ul.vk-has-white-color li::before,ol.vk-has-white-color li::before{color:#fff}ul.is-style-vk-numbered-circle-mark.vk-has-white-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-white-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-white-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-white-color li::before{color:#fff;background-color:#fff}ul.vk-has-vk-color-primary-color li::marker,ol.vk-has-vk-color-primary-color li::marker{color:var(--vk-color-primary)}ul.vk-has-vk-color-primary-color li::before,ol.vk-has-vk-color-primary-color li::before{color:var(--vk-color-primary)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-color li::before{color:#fff;background-color:var(--vk-color-primary)}ul.vk-has-vk-color-primary-dark-color li::marker,ol.vk-has-vk-color-primary-dark-color li::marker{color:var(--vk-color-primary-dark)}ul.vk-has-vk-color-primary-dark-color li::before,ol.vk-has-vk-color-primary-dark-color li::before{color:var(--vk-color-primary-dark)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-dark-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-dark-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-dark-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-dark-color li::before{color:#fff;background-color:var(--vk-color-primary-dark)}ul.vk-has-vk-color-primary-vivid-color li::marker,ol.vk-has-vk-color-primary-vivid-color li::marker{color:var(--vk-color-primary-vivid)}ul.vk-has-vk-color-primary-vivid-color li::before,ol.vk-has-vk-color-primary-vivid-color li::before{color:var(--vk-color-primary-vivid)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-vivid-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-vivid-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-primary-vivid-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-primary-vivid-color li::before{color:#fff;background-color:var(--vk-color-primary-vivid)}ul.vk-has-vk-color-custom-1-color li::marker,ol.vk-has-vk-color-custom-1-color li::marker{color:var(--vk-color-custom-1)}ul.vk-has-vk-color-custom-1-color li::before,ol.vk-has-vk-color-custom-1-color li::before{color:var(--vk-color-custom-1)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-1-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-1-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-1-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-1-color li::before{color:#fff;background-color:var(--vk-color-custom-1)}ul.vk-has-vk-color-custom-2-color li::marker,ol.vk-has-vk-color-custom-2-color li::marker{color:var(--vk-color-custom-2)}ul.vk-has-vk-color-custom-2-color li::before,ol.vk-has-vk-color-custom-2-color li::before{color:var(--vk-color-custom-2)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-2-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-2-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-2-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-2-color li::before{color:#fff;background-color:var(--vk-color-custom-2)}ul.vk-has-vk-color-custom-3-color li::marker,ol.vk-has-vk-color-custom-3-color li::marker{color:var(--vk-color-custom-3)}ul.vk-has-vk-color-custom-3-color li::before,ol.vk-has-vk-color-custom-3-color li::before{color:var(--vk-color-custom-3)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-3-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-3-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-3-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-3-color li::before{color:#fff;background-color:var(--vk-color-custom-3)}ul.vk-has-vk-color-custom-4-color li::marker,ol.vk-has-vk-color-custom-4-color li::marker{color:var(--vk-color-custom-4)}ul.vk-has-vk-color-custom-4-color li::before,ol.vk-has-vk-color-custom-4-color li::before{color:var(--vk-color-custom-4)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-4-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-4-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-4-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-4-color li::before{color:#fff;background-color:var(--vk-color-custom-4)}ul.vk-has-vk-color-custom-5-color li::marker,ol.vk-has-vk-color-custom-5-color li::marker{color:var(--vk-color-custom-5)}ul.vk-has-vk-color-custom-5-color li::before,ol.vk-has-vk-color-custom-5-color li::before{color:var(--vk-color-custom-5)}ul.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-5-color li::before,ul.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-5-color li::before,ol.is-style-vk-numbered-circle-mark.vk-has-vk-color-custom-5-color li::before,ol.is-style-vk-numbered-square-mark.vk-has-vk-color-custom-5-color li::before{color:#fff;background-color:var(--vk-color-custom-5)}.wp-block-group h3:first-child,.wp-block-group h4:first-child{margin-top:0}.wp-block-group p:last-child,.wp-block-group ul:last-child,.wp-block-group ol:last-child,.wp-block-group dl:last-child,.wp-block-group table:last-child,.wp-block-group .wp-block-columns:last-child{margin-bottom:0}.wp-block-group.vk-has-pale-pink-color{border-color:#f78da7}.wp-block-group.vk-has-pale-pink-color .wp-block-group__inner-container{border-color:#f78da7}.wp-block-group.vk-has-vivid-red-color{border-color:#cf2e2e}.wp-block-group.vk-has-vivid-red-color .wp-block-group__inner-container{border-color:#cf2e2e}.wp-block-group.vk-has-luminous-vivid-orange-color{border-color:#ff6900}.wp-block-group.vk-has-luminous-vivid-orange-color .wp-block-group__inner-container{border-color:#ff6900}.wp-block-group.vk-has-luminous-vivid-amber-color{border-color:#fcb900}.wp-block-group.vk-has-luminous-vivid-amber-color .wp-block-group__inner-container{border-color:#fcb900}.wp-block-group.vk-has-light-green-cyan-color{border-color:#7bdcb5}.wp-block-group.vk-has-light-green-cyan-color .wp-block-group__inner-container{border-color:#7bdcb5}.wp-block-group.vk-has-vivid-green-cyan-color{border-color:#00d084}.wp-block-group.vk-has-vivid-green-cyan-color .wp-block-group__inner-container{border-color:#00d084}.wp-block-group.vk-has-pale-cyan-blue-color{border-color:#8ed1fc}.wp-block-group.vk-has-pale-cyan-blue-color .wp-block-group__inner-container{border-color:#8ed1fc}.wp-block-group.vk-has-vivid-cyan-blue-color{border-color:#0693e3}.wp-block-group.vk-has-vivid-cyan-blue-color .wp-block-group__inner-container{border-color:#0693e3}.wp-block-group.vk-has-vivid-purple-color{border-color:#9b51e0}.wp-block-group.vk-has-vivid-purple-color .wp-block-group__inner-container{border-color:#9b51e0}.wp-block-group.vk-has-very-light-gray-color{border-color:#eee}.wp-block-group.vk-has-very-light-gray-color .wp-block-group__inner-container{border-color:#eee}.wp-block-group.vk-has-cyan-bluish-gray-color{border-color:#abb8c3}.wp-block-group.vk-has-cyan-bluish-gray-color .wp-block-group__inner-container{border-color:#abb8c3}.wp-block-group.vk-has-very-dark-gray-color{border-color:#313131}.wp-block-group.vk-has-very-dark-gray-color .wp-block-group__inner-container{border-color:#313131}.wp-block-group.vk-has-white-color{border-color:#fff}.wp-block-group.vk-has-white-color .wp-block-group__inner-container{border-color:#fff}.wp-block-group.vk-has-vk-color-primary-color{border-color:var(--vk-color-primary)}.wp-block-group.vk-has-vk-color-primary-color .wp-block-group__inner-container{border-color:var(--vk-color-primary)}.wp-block-group.vk-has-vk-color-primary-dark-color{border-color:var(--vk-color-primary-dark)}.wp-block-group.vk-has-vk-color-primary-dark-color .wp-block-group__inner-container{border-color:var(--vk-color-primary-dark)}.wp-block-group.vk-has-vk-color-primary-vivid-color{border-color:var(--vk-color-primary-vivid)}.wp-block-group.vk-has-vk-color-primary-vivid-color .wp-block-group__inner-container{border-color:var(--vk-color-primary-vivid)}.wp-block-group.vk-has-vk-color-custom-1-color{border-color:var(--vk-color-custom-1)}.wp-block-group.vk-has-vk-color-custom-1-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-1)}.wp-block-group.vk-has-vk-color-custom-2-color{border-color:var(--vk-color-custom-2)}.wp-block-group.vk-has-vk-color-custom-2-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-2)}.wp-block-group.vk-has-vk-color-custom-3-color{border-color:var(--vk-color-custom-3)}.wp-block-group.vk-has-vk-color-custom-3-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-3)}.wp-block-group.vk-has-vk-color-custom-4-color{border-color:var(--vk-color-custom-4)}.wp-block-group.vk-has-vk-color-custom-4-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-4)}.wp-block-group.vk-has-vk-color-custom-5-color{border-color:var(--vk-color-custom-5)}.wp-block-group.vk-has-vk-color-custom-5-color .wp-block-group__inner-container{border-color:var(--vk-color-custom-5)}.is-style-vk-group-solid{border:solid 3px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-solid h2,.is-style-vk-group-solid h3,.is-style-vk-group-solid h4,.is-style-vk-group-solid h5,.is-style-vk-group-solid h6{margin-bottom:1rem}.is-style-vk-group-solid ul,.is-style-vk-group-solid ol{margin-top:0}.is-style-vk-group-solid ul li:last-child,.is-style-vk-group-solid ol li:last-child{margin-bottom:0}.is-style-vk-group-solid-roundcorner{border:solid 3px;border-radius:8px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-solid-roundcorner h2,.is-style-vk-group-solid-roundcorner h3,.is-style-vk-group-solid-roundcorner h4,.is-style-vk-group-solid-roundcorner h5,.is-style-vk-group-solid-roundcorner h6{margin-bottom:1rem}.is-style-vk-group-solid-roundcorner ul,.is-style-vk-group-solid-roundcorner ol{margin-top:0}.is-style-vk-group-solid-roundcorner ul li:last-child,.is-style-vk-group-solid-roundcorner ol li:last-child{margin-bottom:0}.is-style-vk-group-dotted{border:dotted 1px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-dotted h2,.is-style-vk-group-dotted h3,.is-style-vk-group-dotted h4,.is-style-vk-group-dotted h5,.is-style-vk-group-dotted h6{margin-bottom:1rem}.is-style-vk-group-dotted ul,.is-style-vk-group-dotted ol{margin-top:0}.is-style-vk-group-dotted ul li:last-child,.is-style-vk-group-dotted ol li:last-child{margin-bottom:0}.is-style-vk-group-dashed{border:dashed 2px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-dashed h2,.is-style-vk-group-dashed h3,.is-style-vk-group-dashed h4,.is-style-vk-group-dashed h5,.is-style-vk-group-dashed h6{margin-bottom:1rem}.is-style-vk-group-dashed ul,.is-style-vk-group-dashed ol{margin-top:0}.is-style-vk-group-dashed ul li:last-child,.is-style-vk-group-dashed ol li:last-child{margin-bottom:0}.is-style-vk-group-double{border:double 5px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-double h2,.is-style-vk-group-double h3,.is-style-vk-group-double h4,.is-style-vk-group-double h5,.is-style-vk-group-double h6{margin-bottom:1rem}.is-style-vk-group-double ul,.is-style-vk-group-double ol{margin-top:0}.is-style-vk-group-double ul li:last-child,.is-style-vk-group-double ol li:last-child{margin-bottom:0}.is-style-vk-group-stitch{margin:1em auto;padding:.5em;border-radius:8px}.is-style-vk-group-stitch h2,.is-style-vk-group-stitch h3,.is-style-vk-group-stitch h4,.is-style-vk-group-stitch h5,.is-style-vk-group-stitch h6{margin-bottom:1rem}.is-style-vk-group-stitch ul,.is-style-vk-group-stitch ol{margin-top:0}.is-style-vk-group-stitch ul li:last-child,.is-style-vk-group-stitch ol li:last-child{margin-bottom:0}.is-style-vk-group-stitch .wp-block-group__inner-container{border:dashed 2px;border-radius:8px;padding:1.8em}.is-style-vk-group-top-bottom-border{border-top:solid 1px;border-bottom:solid 1px;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem);padding-left:0;padding-right:0}.is-style-vk-group-top-bottom-border h2,.is-style-vk-group-top-bottom-border h3,.is-style-vk-group-top-bottom-border h4,.is-style-vk-group-top-bottom-border h5,.is-style-vk-group-top-bottom-border h6{margin-bottom:1rem}.is-style-vk-group-top-bottom-border ul,.is-style-vk-group-top-bottom-border ol{margin-top:0}.is-style-vk-group-top-bottom-border ul li:last-child,.is-style-vk-group-top-bottom-border ol li:last-child{margin-bottom:0}.is-style-vk-group-shadow{-webkit-box-shadow:0px 0px 5px rgba(0,0,0,.2);box-shadow:0px 0px 5px rgba(0,0,0,.2);padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-shadow h2,.is-style-vk-group-shadow h3,.is-style-vk-group-shadow h4,.is-style-vk-group-shadow h5,.is-style-vk-group-shadow h6{margin-bottom:1rem}.is-style-vk-group-shadow ul,.is-style-vk-group-shadow ol{margin-top:0}.is-style-vk-group-shadow ul li:last-child,.is-style-vk-group-shadow ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-info{background-color:#d9edf7;color:#31708f;border-radius:3px;border:1px solid #bce8f1;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-info h2,.is-style-vk-group-alert-info h3,.is-style-vk-group-alert-info h4,.is-style-vk-group-alert-info h5,.is-style-vk-group-alert-info h6{margin-bottom:1rem}.is-style-vk-group-alert-info ul,.is-style-vk-group-alert-info ol{margin-top:0}.is-style-vk-group-alert-info ul li:last-child,.is-style-vk-group-alert-info ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-success{background-color:#dff0d8;color:#3c763d;border-radius:3px;border:1px solid #d6e9c6;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-success h2,.is-style-vk-group-alert-success h3,.is-style-vk-group-alert-success h4,.is-style-vk-group-alert-success h5,.is-style-vk-group-alert-success h6{margin-bottom:1rem}.is-style-vk-group-alert-success ul,.is-style-vk-group-alert-success ol{margin-top:0}.is-style-vk-group-alert-success ul li:last-child,.is-style-vk-group-alert-success ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-warning{background-color:#fcf8e3;color:#8a6d3b;border-radius:3px;border:1px solid #faebcc;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-warning h2,.is-style-vk-group-alert-warning h3,.is-style-vk-group-alert-warning h4,.is-style-vk-group-alert-warning h5,.is-style-vk-group-alert-warning h6{margin-bottom:1rem}.is-style-vk-group-alert-warning ul,.is-style-vk-group-alert-warning ol{margin-top:0}.is-style-vk-group-alert-warning ul li:last-child,.is-style-vk-group-alert-warning ol li:last-child{margin-bottom:0}.is-style-vk-group-alert-danger{background-color:#f2dede;color:#a94442;border-radius:3px;border:1px solid #ebccd1;padding:1.8em;margin-top:var(--vk-margin-elem);margin-bottom:var(--vk-margin-elem)}.is-style-vk-group-alert-danger h2,.is-style-vk-group-alert-danger h3,.is-style-vk-group-alert-danger h4,.is-style-vk-group-alert-danger h5,.is-style-vk-group-alert-danger h6{margin-bottom:1rem}.is-style-vk-group-alert-danger ul,.is-style-vk-group-alert-danger ol{margin-top:0}.is-style-vk-group-alert-danger ul li:last-child,.is-style-vk-group-alert-danger ol li:last-child{margin-bottom:0}.wp-block-embed-youtube iframe{width:100%}.has-text-align-right{text-align:right}.has-text-align-left{text-align:left}.has-text-align-center{text-align:center}.wp-block-social-links{-ms-flex-wrap:wrap;flex-wrap:wrap}@media(min-width: 1400px){.col-xxl-2{-webkit-box-flex:0;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;max-width:16.66667%}.col-xxl-3{-webkit-box-flex:0;-ms-flex:0 0 25%;flex:0 0 25%;max-width:25%}.col-xxl-4{-webkit-box-flex:0;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;max-width:33.33333%}.col-xxl-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%}.col-xxl-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%}}
|
build/vk_blocks_options.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body{--admin-sidebar-width: 160px;--admin-sidebar-folded-width: 36px;--admin-vk-blocks-snacbar-margin: 22px}.components-snackbar{position:fixed;bottom:var(--admin-vk-blocks-snacbar-margin);left:calc(var(--admin-sidebar-width) + var(--admin-vk-blocks-snacbar-margin))}.folded .components-snackbar{left:calc(var(--admin-sidebar-folded-width) + var(--admin-vk-blocks-snacbar-margin))}.vk_admin_selectControl{width:50%}.vk_admin_marginUnit{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:1em}.vk_admin_marginUnit span{margin-right:4px}.vk_admin_marginUnit .components-base-control__field{margin-bottom:0}.vk_admin_selectControl.unit-select{width:7em}.spacer-input li{display:-webkit-box;display:-ms-flexbox;display:flex}.spacer-input .margin_size_input{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.spacer-input .margin_size_input input{width:5em !important}.spacer-input .margin_size_input .components-input-control__container{background-color:unset}.spacer-input .margin_size_input .components-input-control__container .components-input-control__input{margin:0 10px;background-color:#fff}.spacer-input .margin_size_input .components-input-control__container .components-input-control__backdrop{margin:0 10px;border:1px solid #ccc}.vk_admin_page .adminMain_main .balloonIconList{margin-left:0}.vk_admin_page .adminMain_main .balloonIconList li{list-style:none}.balloonIconList{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.balloonIconList li{-webkit-box-sizing:border-box;box-sizing:border-box;width:29.5%;padding:20px 15px 15px;margin:10px;border:1px solid #ccc;border-radius:5px;background-color:rgba(255,255,255,.9);-webkit-box-shadow:inset 0px 0px 0px 1px #fff;box-shadow:inset 0px 0px 0px 1px #fff}.balloonIconList_iconFrame{width:100px;margin:0 auto .5rem}.balloonIconList_iconFrame_src{width:100px;height:100px;-o-object-fit:cover;object-fit:cover;border-radius:50%;border:1px solid #e5e5e5}.balloonIconList li .button{width:49%;margin-top:5px;-webkit-box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,.7);box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,.7)}.balloonIconList li .button.button-set{color:#464646;border-color:#999;float:left}.balloonIconList li .button.button-delete{color:#c00;border-color:#c00;float:right}.balloonIconList_name_input input[type=text]{display:block;width:100%;text-align:center;border-color:#ccc;-webkit-box-shadow:inset 1px 1px 2px 0 rgba(0,0,0,.1);box-shadow:inset 1px 1px 2px 0 rgba(0,0,0,.1)}.balloonIconList_nameLabel{clear:both;display:block;overflow:hidden;padding-top:.5rem;padding-bottom:.3rem}
|
1 |
+
body{--admin-sidebar-width: 160px;--admin-sidebar-folded-width: 36px;--admin-vk-blocks-snacbar-margin: 22px}.components-snackbar{position:fixed;bottom:var(--admin-vk-blocks-snacbar-margin);left:calc(var(--admin-sidebar-width) + var(--admin-vk-blocks-snacbar-margin))}.folded .components-snackbar{left:calc(var(--admin-sidebar-folded-width) + var(--admin-vk-blocks-snacbar-margin))}.vk_admin_selectControl{width:50%}.vk_admin_page .adminMain #adminContent_main,.vk_admin_page .adminMain.column_3{overflow:visible}.vk_admin_page section{padding-bottom:1.5em}.vk_admin_page .submit.sticky{position:sticky;bottom:0;background-color:rgba(240,240,240,.8)}.vk_admin_page .submit.sticky .update-button{padding:0 3em}.vk_admin_marginUnit{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:1em}.vk_admin_marginUnit span{margin-right:4px}.vk_admin_marginUnit .components-base-control__field{margin-bottom:0}.vk_admin_selectControl.unit-select{width:7em}.spacer-input li{display:-webkit-box;display:-ms-flexbox;display:flex}.spacer-input__size-name{min-width:90px}.spacer-input .margin_size_input{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.spacer-input .margin_size_input input{width:5em !important}.spacer-input .margin_size_input .components-input-control__container{background-color:unset}.spacer-input .margin_size_input .components-input-control__container .components-input-control__input{margin:0 10px;background-color:#fff}.spacer-input .margin_size_input .components-input-control__container .components-input-control__backdrop{margin:0 10px;border:1px solid #ccc}.vk_admin_page .adminMain_main .balloonIconList{margin-left:0}.vk_admin_page .adminMain_main .balloonIconList li{list-style:none}.balloonIconList{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.balloonIconList li{-webkit-box-sizing:border-box;box-sizing:border-box;width:29.5%;padding:20px 15px 15px;margin:10px;border:1px solid #ccc;border-radius:5px;background-color:rgba(255,255,255,.9);-webkit-box-shadow:inset 0px 0px 0px 1px #fff;box-shadow:inset 0px 0px 0px 1px #fff}.balloonIconList_iconFrame{width:100px;margin:0 auto .5rem}.balloonIconList_iconFrame_src{width:100px;height:100px;-o-object-fit:cover;object-fit:cover;border-radius:50%;border:1px solid #e5e5e5}.balloonIconList li .button{width:49%;margin-top:5px;-webkit-box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,.7);box-shadow:inset 0px 0px 0px 1px rgba(255,255,255,.7)}.balloonIconList li .button.button-set{color:#464646;border-color:#999;float:left}.balloonIconList li .button.button-delete{color:#c00;border-color:#c00;float:right}.balloonIconList_name_input input[type=text]{display:block;width:100%;text-align:center;border-color:#ccc;-webkit-box-shadow:inset 1px 1px 2px 0 rgba(0,0,0,.1);box-shadow:inset 1px 1px 2px 0 rgba(0,0,0,.1)}.balloonIconList_nameLabel{clear:both;display:block;overflow:hidden;padding-top:.5rem;padding-bottom:.3rem}
|
inc/vk-admin/package/_scss/vk_admin.scss
CHANGED
@@ -1,5 +1,63 @@
|
|
1 |
@charset "utf-8";
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
$text-size : 14px;
|
5 |
$line-height : 1.7;
|
@@ -264,17 +322,8 @@ body {
|
|
264 |
}
|
265 |
|
266 |
.adminMain {
|
267 |
-
display: block;
|
268 |
-
overflow: hidden;
|
269 |
-
width: 74%;
|
270 |
-
float: left;
|
271 |
|
272 |
#adminContent_sub {
|
273 |
-
display: block;
|
274 |
-
overflow: hidden;
|
275 |
-
width: 23%;
|
276 |
-
float: left;
|
277 |
-
padding-bottom: 10px;
|
278 |
|
279 |
.notice {
|
280 |
padding-bottom: 10px;
|
@@ -289,24 +338,9 @@ body {
|
|
289 |
}
|
290 |
|
291 |
#adminContent_main {
|
292 |
-
display: block;
|
293 |
-
overflow: hidden;
|
294 |
-
width: 74%;
|
295 |
-
float: right;
|
296 |
-
min-height: 300px;
|
297 |
-
|
298 |
.form_horizontal_item {
|
299 |
margin-right: 1em;
|
300 |
}
|
301 |
-
|
302 |
-
.setting-content {}
|
303 |
-
|
304 |
-
}
|
305 |
-
|
306 |
-
&.column_2 {
|
307 |
-
#adminContent_main {
|
308 |
-
width: 100%;
|
309 |
-
}
|
310 |
}
|
311 |
|
312 |
&_main {
|
@@ -354,12 +388,6 @@ body {
|
|
354 |
}
|
355 |
|
356 |
.adminSub {
|
357 |
-
display: block;
|
358 |
-
overflow: hidden;
|
359 |
-
width: 24%;
|
360 |
-
float: right;
|
361 |
-
padding-bottom: 10px;
|
362 |
-
|
363 |
.infoBox {
|
364 |
display: block;
|
365 |
overflow: hidden;
|
1 |
@charset "utf-8";
|
2 |
+
|
3 |
+
/*-------------------------------------------*/
|
4 |
+
/* Layout
|
5 |
+
/*-------------------------------------------*/
|
6 |
+
.vk_admin_page {
|
7 |
+
--vk-admin-layout-gap: 30px;
|
8 |
+
}
|
9 |
+
|
10 |
+
.adminLayout {
|
11 |
+
display: grid;
|
12 |
+
gap: var(--vk-admin-layout-gap);
|
13 |
+
|
14 |
+
.adminMain {
|
15 |
+
display: grid;
|
16 |
+
gap: var(--vk-admin-layout-gap);
|
17 |
+
}
|
18 |
+
|
19 |
+
@media (min-width: 992px) {
|
20 |
+
.adminMain.column_3 {
|
21 |
+
grid-template-columns: 240px auto;
|
22 |
+
}
|
23 |
+
}
|
24 |
+
|
25 |
+
@media (min-width: 1400px) {
|
26 |
+
grid-template-columns: auto 300px;
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
/*-------------------------------------------*/
|
31 |
+
/* サイドバーの固定処理
|
32 |
+
/*-------------------------------------------*/
|
33 |
+
.adminLayout {
|
34 |
+
|
35 |
+
@media (min-width: 992px) {
|
36 |
+
.adminMain_sub_inner {
|
37 |
+
position: sticky;
|
38 |
+
top: 30px;
|
39 |
+
}
|
40 |
+
|
41 |
+
}
|
42 |
+
|
43 |
+
@media (min-width: 1400px) {
|
44 |
+
.adminSub {
|
45 |
+
display: grid;
|
46 |
+
align-items: end; // end 指定しないと下端吸着しない
|
47 |
+
|
48 |
+
&_inner {
|
49 |
+
position: sticky;
|
50 |
+
bottom: 30px;
|
51 |
+
|
52 |
+
}
|
53 |
+
|
54 |
+
}
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
/*-------------------------------------------*/
|
59 |
+
/* common
|
60 |
+
/*-------------------------------------------*/
|
61 |
|
62 |
$text-size : 14px;
|
63 |
$line-height : 1.7;
|
322 |
}
|
323 |
|
324 |
.adminMain {
|
|
|
|
|
|
|
|
|
325 |
|
326 |
#adminContent_sub {
|
|
|
|
|
|
|
|
|
|
|
327 |
|
328 |
.notice {
|
329 |
padding-bottom: 10px;
|
338 |
}
|
339 |
|
340 |
#adminContent_main {
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
.form_horizontal_item {
|
342 |
margin-right: 1em;
|
343 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
}
|
345 |
|
346 |
&_main {
|
388 |
}
|
389 |
|
390 |
.adminSub {
|
|
|
|
|
|
|
|
|
|
|
|
|
391 |
.infoBox {
|
392 |
display: block;
|
393 |
overflow: hidden;
|
inc/vk-admin/package/class-vk-admin.php
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
/*
|
4 |
このファイルの元ファイルは
|
5 |
https://github.com/vektor-inc/vektor-wp-libraries
|
@@ -11,13 +10,13 @@ https://github.com/vektor-inc/vektor-wp-libraries
|
|
11 |
|
12 |
if ( ! class_exists( 'Vk_Admin' ) ) {
|
13 |
/*
|
14 |
-
congif.phpの方で既に ! class_exists( 'Vk_Admin' )
|
15 |
今後読み込みファイルが増えた時にVk-Adminの中で別のファイルを読み込むために
|
16 |
このファイルにも更にclass_exists( 'Vk_Admin' ) がある。
|
17 |
*/
|
18 |
class Vk_Admin {
|
19 |
|
20 |
-
public static $version = '2.
|
21 |
|
22 |
static function init() {
|
23 |
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_common_css' ) );
|
@@ -406,12 +405,14 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
|
|
406 |
if ( ! $display ) {
|
407 |
return;
|
408 |
}
|
409 |
-
$adminSub = '<div class="adminSub
|
|
|
410 |
if ( 'ja' == get_locale() ) {
|
411 |
$adminSub .= '<div class="infoBox">' . self::get_news_body() . '</div>' . "\n";
|
412 |
}
|
413 |
$adminSub .= '<div class="vk-admin-banner">' . self::get_admin_banner() . '</div>' . "\n";
|
414 |
|
|
|
415 |
$adminSub .= '</div><!-- [ /.adminSub ] -->' . "\n";
|
416 |
return $adminSub;
|
417 |
}
|
@@ -422,37 +423,40 @@ if ( ! class_exists( 'Vk_Admin' ) ) {
|
|
422 |
public static function admin_page_frame( $get_page_title, $the_body_callback, $get_logo_html = '', $get_menu_html = '', $get_layout = 'column_3' ) {
|
423 |
?>
|
424 |
<div class="wrap vk_admin_page">
|
425 |
-
|
426 |
-
<div class="adminMain <?php echo $get_layout; ?>">
|
427 |
-
|
428 |
-
<?php if ( $get_layout == 'column_3' ) : ?>
|
429 |
-
<div id="adminContent_sub" class="scrTracking adminMain_sub">
|
430 |
<div class="pageLogo"><?php echo $get_logo_html; ?></div>
|
431 |
-
|
432 |
-
<h2 class="page_title"><?php echo $get_page_title; ?></h2>
|
433 |
-
<?php endif; ?>
|
434 |
-
<div class="vk_option_nav">
|
435 |
-
<ul>
|
436 |
-
<?php echo $get_menu_html; ?>
|
437 |
-
</ul>
|
438 |
-
</div>
|
439 |
-
</div><!-- [ /#adminContent_sub ] -->
|
440 |
-
<?php endif; ?>
|
441 |
-
|
442 |
-
<?php if ( $get_layout == 'column_2' ) : ?>
|
443 |
-
<div class="pageLogo"><?php echo $get_logo_html; ?></div>
|
444 |
-
<?php if ( $get_page_title ) : ?>
|
445 |
<h1 class="page_title"><?php echo $get_page_title; ?></h1>
|
446 |
<?php endif; ?>
|
447 |
<?php endif; ?>
|
448 |
|
449 |
-
|
450 |
-
<?php
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
456 |
|
457 |
</div><!-- [ /.vkExUnit_admin_page ] -->
|
458 |
<?php
|
1 |
<?php
|
|
|
2 |
/*
|
3 |
このファイルの元ファイルは
|
4 |
https://github.com/vektor-inc/vektor-wp-libraries
|
10 |
|
11 |
if ( ! class_exists( 'Vk_Admin' ) ) {
|
12 |
/*
|
13 |
+
congif.phpの方で既に ! class_exists( 'Vk_Admin' ) しているが
|
14 |
今後読み込みファイルが増えた時にVk-Adminの中で別のファイルを読み込むために
|
15 |
このファイルにも更にclass_exists( 'Vk_Admin' ) がある。
|
16 |
*/
|
17 |
class Vk_Admin {
|
18 |
|
19 |
+
public static $version = '2.6.0';
|
20 |
|
21 |
static function init() {
|
22 |
add_action( 'admin_enqueue_scripts', array( __CLASS__, 'admin_common_css' ) );
|
405 |
if ( ! $display ) {
|
406 |
return;
|
407 |
}
|
408 |
+
$adminSub = '<div class="adminSub">' . "\n";
|
409 |
+
$adminSub .= '<div class="adminSub_inner">' . "\n";
|
410 |
if ( 'ja' == get_locale() ) {
|
411 |
$adminSub .= '<div class="infoBox">' . self::get_news_body() . '</div>' . "\n";
|
412 |
}
|
413 |
$adminSub .= '<div class="vk-admin-banner">' . self::get_admin_banner() . '</div>' . "\n";
|
414 |
|
415 |
+
$adminSub .= '</div><!-- [ /.adminSub_inner ] -->' . "\n";
|
416 |
$adminSub .= '</div><!-- [ /.adminSub ] -->' . "\n";
|
417 |
return $adminSub;
|
418 |
}
|
423 |
public static function admin_page_frame( $get_page_title, $the_body_callback, $get_logo_html = '', $get_menu_html = '', $get_layout = 'column_3' ) {
|
424 |
?>
|
425 |
<div class="wrap vk_admin_page">
|
426 |
+
<?php if ( $get_layout == 'column_2' ) : ?>
|
|
|
|
|
|
|
|
|
427 |
<div class="pageLogo"><?php echo $get_logo_html; ?></div>
|
428 |
+
<?php if ( $get_page_title ) : ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
429 |
<h1 class="page_title"><?php echo $get_page_title; ?></h1>
|
430 |
<?php endif; ?>
|
431 |
<?php endif; ?>
|
432 |
|
433 |
+
<div class="adminLayout">
|
434 |
+
<div class="adminMain <?php echo $get_layout; ?>">
|
435 |
+
|
436 |
+
<?php if ( $get_layout == 'column_3' ) : ?>
|
437 |
+
<div id="adminContent_sub" class="scrTracking adminMain_sub">
|
438 |
+
<div class="adminMain_sub_inner">
|
439 |
+
<div class="pageLogo"><?php echo $get_logo_html; ?></div>
|
440 |
+
<?php if ( $get_page_title ) : ?>
|
441 |
+
<h2 class="page_title"><?php echo $get_page_title; ?></h2>
|
442 |
+
<?php endif; ?>
|
443 |
+
<div class="vk_option_nav">
|
444 |
+
<ul>
|
445 |
+
<?php echo $get_menu_html; ?>
|
446 |
+
</ul>
|
447 |
+
</div>
|
448 |
+
</div>
|
449 |
+
</div><!-- [ /#adminContent_sub ] -->
|
450 |
+
<?php endif; ?>
|
451 |
+
|
452 |
+
<div id="adminContent_main" class="adminMain_main">
|
453 |
+
<?php call_user_func_array( $the_body_callback, array() ); ?>
|
454 |
+
</div><!-- [ /#adminContent_main ] -->
|
455 |
+
|
456 |
+
</div><!-- [ /.adminMain ] -->
|
457 |
+
|
458 |
+
<?php echo self::admin_sub(); ?>
|
459 |
+
</div>
|
460 |
|
461 |
</div><!-- [ /.vkExUnit_admin_page ] -->
|
462 |
<?php
|
inc/vk-admin/package/css/vk_admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body{margin:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-warning{color:#a94442}#dashboard-widgets .vk-metabox-sub-title,.vk-metabox-sub-title{display:block;overflow:hidden;border-bottom:1px solid #e5e5e5;margin-top:1em;padding-bottom:.3em}#dashboard-widgets .vk-metabox-sub-title .dashicons,.vk-metabox-sub-title .dashicons{position:relative;top:-2px;margin-left:3px}.vk-metabox-more-link{float:right;font-size:12px}.vk-metabox-post-list{margin-bottom:2em}.vk-metabox-post-list li{border-bottom:1px dotted #ccc;padding-bottom:3px;display:flex}.vk-metabox-post-list li .date{font-size:11px;margin-right:1em;width:75px;white-space:nowrap}.vk-metabox-post-list li a{width:100%}.vk-admin-banner{display:block;overflow:hidden}.vk-admin-banner a.admin_banner{display:block;margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0 0 0 1px #fff}.vk-admin-banner a.admin_banner img{max-width:100%;height:auto;display:block}.vk-admin-banner a.admin_banner img:hover{opacity:.7}.vk-admin-banner .vektor_logo{margin-top:1em}.vk-admin-banner .vektor_logo img{width:150px;float:right}#vk_dashboard_widget .vk-admin-banner-grid{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}#vk_dashboard_widget .vk-admin-banner-grid a.admin_banner{width:48%}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block!important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page li,.vk_admin_page p,.vk_admin_page td{line-height:1.7;font-size:14px}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000;border-radius:4px}.vk_admin_page h5{font-size:16px;margin-bottom:1em}.vk_admin_page .form-table td p,.vk_admin_page p{margin-bottom:1em;font-size:14px;line-height:1.7}.vk_admin_page .form-table td p:last-child,.vk_admin_page p:last-child{margin-bottom:0}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl{line-height:1.5}.vk_admin_page dl dt{font-weight:700;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain
|
1 |
+
.vk_admin_page{--vk-admin-layout-gap:30px}.adminLayout{display:grid;gap:var(--vk-admin-layout-gap)}.adminLayout .adminMain{display:grid;gap:var(--vk-admin-layout-gap)}body{margin:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-warning{color:#a94442}#dashboard-widgets .vk-metabox-sub-title,.vk-metabox-sub-title{display:block;overflow:hidden;border-bottom:1px solid #e5e5e5;margin-top:1em;padding-bottom:.3em}#dashboard-widgets .vk-metabox-sub-title .dashicons,.vk-metabox-sub-title .dashicons{position:relative;top:-2px;margin-left:3px}.vk-metabox-more-link{float:right;font-size:12px}.vk-metabox-post-list{margin-bottom:2em}.vk-metabox-post-list li{border-bottom:1px dotted #ccc;padding-bottom:3px;display:flex}.vk-metabox-post-list li .date{font-size:11px;margin-right:1em;width:75px;white-space:nowrap}.vk-metabox-post-list li a{width:100%}.vk-admin-banner{display:block;overflow:hidden}.vk-admin-banner a.admin_banner{display:block;margin-bottom:1em;border:1px solid #ccc;box-shadow:inset 0 0 0 1px #fff}.vk-admin-banner a.admin_banner img{max-width:100%;height:auto;display:block}.vk-admin-banner a.admin_banner img:hover{opacity:.7}.vk-admin-banner .vektor_logo{margin-top:1em}.vk-admin-banner .vektor_logo img{width:150px;float:right}#vk_dashboard_widget .vk-admin-banner-grid{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}#vk_dashboard_widget .vk-admin-banner-grid a.admin_banner{width:48%}.wp-core-ui .button-block{display:block;width:100%;text-align:center}.logo_exUnit{display:block;overflow:hidden;text-align:center;margin-bottom:10px;border-bottom:1px solid #ccc}.logo_exUnit img{width:150px;max-width:100%}.vk_option_nav{display:block!important;overflow:hidden}.vk_option_nav ul{display:block;overflow:hidden;margin:0;padding:0}.vk_option_nav ul li{display:block;border:1px solid #ccc;margin-bottom:0;border-bottom:none;background-color:#fff}.vk_option_nav ul li:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.vk_option_nav ul li:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-bottom:1px solid #ccc}.vk_option_nav ul li:hover{background-color:#666}.vk_option_nav ul li a{display:block;overflow:hidden;padding:.5em;text-decoration:none;color:#666;font-size:12px}.vk_option_nav ul li:hover a{color:#fff;border:none}.vk_option_nav ul li.current{background-color:#333;color:#fff}.vk_option_nav ul li.current a{color:#fff}.vk_admin_page{padding-top:1em}.vk_admin_page li,.vk_admin_page p,.vk_admin_page td{line-height:1.7;font-size:14px}.vk_admin_page h2.page_title{font-size:16px;text-align:center;line-height:140%;margin:10px 0 20px}.vk_admin_page h3{background-color:#333;color:#fff;padding:10px 15px;font-size:150%;margin-top:0;border-left:5px solid #e50000;border-radius:4px}.vk_admin_page h5{font-size:16px;margin-bottom:1em}.vk_admin_page .form-table td p,.vk_admin_page p{margin-bottom:1em;font-size:14px;line-height:1.7}.vk_admin_page .form-table td p:last-child,.vk_admin_page p:last-child{margin-bottom:0}.vk_admin_page input[type=text]{width:50%}.vk_admin_page select{width:50%}.vk_admin_page dl{line-height:1.5}.vk_admin_page dl dt{font-weight:700;margin-bottom:5px}.vk_admin_page dl dd{margin-left:0}.vk_admin_page tr.dev_object{display:none}.vk_admin_page .pageLogo{text-align:center}.vk_admin_page .pageLogo img{max-width:150px;margin:0 auto}.vk_admin_page .adminMain #adminContent_sub .notice{padding-bottom:10px}.vk_admin_page .adminMain #adminContent_sub .button{white-space:normal;margin:5px 0;padding:.5em 1em;line-height:1.4}.vk_admin_page .adminMain #adminContent_main .form_horizontal_item{margin-right:1em}.vk_admin_page .adminMain_main ol,.vk_admin_page .adminMain_main ul{margin-top:0;margin-left:1.5em;padding-top:0}.vk_admin_page .adminMain_main ol>li{list-style:decimal}.vk_admin_page .adminMain_main ul>li{list-style:disc}.vk_admin_page .adminMain_main li ol,.vk_admin_page .adminMain_main li ul{margin-top:.5em}.vk_admin_page .adminMain_main ul.no-style{margin-left:0}.vk_admin_page .adminMain_main ul.no-style ul{margin-left:1.5em}.vk_admin_page .adminMain_main ul.no-style li{list-style:none}.vk_admin_page .adminMain_main_content{margin-bottom:3em}.vk_admin_page .adminMain_main input[type=text]{margin-bottom:5px}.vk_admin_page .adminSub .infoBox{display:block;overflow:hidden;padding:1em;margin-bottom:1em;background-color:#fff;border-radius:4px}.vk_admin_page .adminSub .vk-metabox-sub-title{background-color:#ccc;width:auto;padding:5px 10px;border-radius:3px;margin-top:0;margin-bottom:15px}.vk_admin_page .adminSub .vk-metabox-more-link{display:none}.vk_admin_page .alert{border-radius:4px;padding:.8em;font-weight:400}.vk_admin_page .alert-danger{border:1px solid #ebccd1;background-color:#f2dede;color:#a94442}.wp-full-overlay-sidebar{font-size:14px}.admin-custom-section,.admin_widget_section{display:block;overflow:hidden;margin:1.5em 0}.admin-custom-section p,.admin_widget_section p{margin-top:.5em}.admin-custom-h2,.admin_widget_h2{box-sizing:border-box;margin:1em 0 1em;padding:.8em 1em;width:100%;border:solid 1px #ddd;border-radius:5px;background:#555;color:#fff;font-size:1.1em}.admin-custom-h3,.admin_widget_h3{box-sizing:border-box;padding:.4em 0;margin-bottom:.3em;width:100%;border-bottom:solid 1px #ddd;font-size:1em}.admin-custom-discription{margin-top:.5em}input[type=checkbox].admin-custom-input,input[type=checkbox].admin_widget_input,input[type=color].admin-custom-input,input[type=color].admin_widget_input,input[type=date].admin-custom-input,input[type=date].admin_widget_input,input[type=datetime-local].admin-custom-input,input[type=datetime-local].admin_widget_input,input[type=datetime].admin-custom-input,input[type=datetime].admin_widget_input,input[type=email].admin-custom-input,input[type=email].admin_widget_input,input[type=month].admin-custom-input,input[type=month].admin_widget_input,input[type=number].admin-custom-input,input[type=number].admin_widget_input,input[type=password].admin-custom-input,input[type=password].admin_widget_input,input[type=radio].admin-custom-input,input[type=radio].admin_widget_input,input[type=search].admin-custom-input,input[type=search].admin_widget_input,input[type=tel].admin-custom-input,input[type=tel].admin_widget_input,input[type=text].admin-custom-input,input[type=text].admin_widget_input,input[type=time].admin-custom-input,input[type=time].admin_widget_input,input[type=url].admin-custom-input,input[type=url].admin_widget_input,input[type=week].admin-custom-input,input[type=week].admin_widget_input,select.admin-custom-input,select.admin_widget_input,textarea.admin-custom-input,textarea.admin_widget_input{width:100%;margin:.3em 0}.admin-custom-thumb-outer,.admin_widget_thumb_outer{position:relative;overflow:hidden;z-index:2;margin:3px 0;min-height:70px;border:1px solid #e5e5e5;background-color:#f5f5f5;width:100%}.admin-custom-thumb-outer:before,.admin_widget_thumb_outer:before{position:absolute;top:50%;left:50%;z-index:1;margin:-8px 0 0 -30px;color:#999;content:"No Image"}.admin-custom-thumb,.admin_widget_thumb{position:relative;z-index:3;display:block;width:100%;height:auto}.vk_checklist_item-style-vertical{display:flex}.vk_checklist_item .vk_checklist_item_input{margin-top:0}.vk-admin-inline-radio{display:flex;border-radius:3px;overflow:hidden;border:1px solid #b6b6b6}.vk-admin-inline-radio div{position:relative;flex:1}.vk-admin-inline-radio input{width:100%;height:60px;opacity:0}.vk-admin-inline-radio label{position:absolute;top:0;left:0;color:#b6b6b6;width:100%;height:100%;background:#fff;display:flex;align-items:center;justify-content:center;pointer-events:none;border-right:1px solid #b6b6b6}.vk-admin-inline-radio div:last-child label{border-right:0}.vk-admin-inline-radio input:checked+label{background:#d81b60;font-weight:500;color:#fff}@media (min-width:992px){.adminLayout .adminMain.column_3{grid-template-columns:240px auto}.adminLayout .adminMain_sub_inner{position:sticky;top:30px}}@media (min-width:1400px){.adminLayout{grid-template-columns:auto 300px}.adminLayout .adminSub{display:grid;align-items:end}.adminLayout .adminSub_inner{position:sticky;bottom:30px}}@media (max-width:991px){.vk_admin_page .adminSub .adminMain table.form-table td,.vk_admin_page .adminSub .adminMain table.form-table th{display:block}.vk_admin_page .adminSub .adminMain table.form-table th{background-color:#ccc;width:auto;padding:10px;border-radius:3px}}
|
inc/vk-admin/package/js/vk_admin.js
CHANGED
@@ -59,101 +59,3 @@ jQuery(document).ready(function($){
|
|
59 |
jQuery(this).next().slideToggle();
|
60 |
});
|
61 |
});
|
62 |
-
|
63 |
-
/*-------------------------------------------*/
|
64 |
-
/* スクロール時の位置固定
|
65 |
-
/*-------------------------------------------*/
|
66 |
-
jQuery(document).ready(function(){
|
67 |
-
|
68 |
-
// サイドバー要素のデフォルトの絶対位置
|
69 |
-
var default_offset = jQuery('.scrTracking').offset();
|
70 |
-
|
71 |
-
// コンテンツエリアの高さを取得
|
72 |
-
var contentHeight = jQuery('.adminMain').height();
|
73 |
-
|
74 |
-
navMove( default_offset, contentHeight );
|
75 |
-
|
76 |
-
// スクロールしたら
|
77 |
-
jQuery(window).scroll(function () {
|
78 |
-
navMove( default_offset, contentHeight );
|
79 |
-
});
|
80 |
-
jQuery(window).resize(function(){
|
81 |
-
navMove( default_offset, contentHeight );
|
82 |
-
});
|
83 |
-
});
|
84 |
-
|
85 |
-
function navMove( default_offset, contentHeight ){
|
86 |
-
|
87 |
-
// ウィンドウの高さを取得
|
88 |
-
var windowHeight = jQuery(window).height();
|
89 |
-
|
90 |
-
// スクロール量
|
91 |
-
var scrollHeight = jQuery(this).scrollTop();
|
92 |
-
|
93 |
-
var marginBottom = 15;
|
94 |
-
|
95 |
-
jQuery('.scrTracking').each(function(i){
|
96 |
-
|
97 |
-
// サイドバー要素の高さ
|
98 |
-
var itemHeight = jQuery(this).height();
|
99 |
-
|
100 |
-
// ウィンドウサイズからはみ出すサイズ
|
101 |
-
if ( itemHeight < windowHeight ){
|
102 |
-
var overHeight = 0;
|
103 |
-
} else {
|
104 |
-
var overHeight = itemHeight - windowHeight;
|
105 |
-
}
|
106 |
-
|
107 |
-
if ( scrollHeight < contentHeight ){ // これがないと延々とスクロールする
|
108 |
-
|
109 |
-
if ( windowHeight < itemHeight ) {
|
110 |
-
// アイテムがウィンドウサイズより高い場合
|
111 |
-
|
112 |
-
if ( scrollHeight > overHeight ) {
|
113 |
-
// はみ出してる高さよりスクロールが大きい場合
|
114 |
-
// スクロール量からはみ出してる高さを引いた余白を追加
|
115 |
-
var marginTop = scrollHeight - overHeight - default_offset['top'] - marginBottom;
|
116 |
-
jQuery(this).css({"margin-top":marginTop});
|
117 |
-
} else {
|
118 |
-
// はみ出してる高さよりスクロールが小さい場合
|
119 |
-
jQuery(this).css({"margin-top":0});
|
120 |
-
}
|
121 |
-
|
122 |
-
} else {
|
123 |
-
// アイテムがウィンドウサイズより低い場合
|
124 |
-
jQuery(this).css({ "margin-top" : scrollHeight });
|
125 |
-
}
|
126 |
-
}
|
127 |
-
|
128 |
-
});
|
129 |
-
}
|
130 |
-
|
131 |
-
|
132 |
-
/*-------------------------------------------*/
|
133 |
-
/* ページ内リンクで頭出しの余白を適切にする
|
134 |
-
/*-------------------------------------------*/
|
135 |
-
jQuery(document).ready(function(){
|
136 |
-
if(!jQuery('body').hasClass('exunit_page_vkExUnit_main_setting')){ return; }
|
137 |
-
// 一つ目のセクションの位置を取得
|
138 |
-
var default_offset = jQuery('.adminMain section:first-child').offset();
|
139 |
-
|
140 |
-
// 全てのセクションの上に余白を追加(頭出しがきれいになるようにするため)
|
141 |
-
jQuery('.adminMain section').each(function(i){
|
142 |
-
if (i != 0){ // 読み込んだ時、一つ目は余白要らない
|
143 |
-
jQuery(this).css({"padding-top":default_offset["top"]});
|
144 |
-
}
|
145 |
-
});
|
146 |
-
|
147 |
-
jQuery(window).scroll(function () {
|
148 |
-
// スクロール量を取得
|
149 |
-
var scroll = jQuery(this).scrollTop();
|
150 |
-
|
151 |
-
if ( scroll < default_offset["top"] ){
|
152 |
-
// スクロールが少ない場合は最初のセクションに余白を入れない
|
153 |
-
jQuery('.adminMain section:first-child').css({"padding-top":0});
|
154 |
-
} else {
|
155 |
-
// ある程度スクロールしている状態ならば余白を入れる
|
156 |
-
jQuery('.adminMain section:first-child').css({"padding-top":default_offset["top"]});
|
157 |
-
}
|
158 |
-
});
|
159 |
-
});
|
59 |
jQuery(this).next().slideToggle();
|
60 |
});
|
61 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/vk-blocks-config.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Load VK Blocks Files
|
|
|
|
|
4 |
*
|
5 |
* @package vk-blocks
|
6 |
*/
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Load VK Blocks Inc Files
|
4 |
+
*
|
5 |
+
* このファイルはinc直下にある各ロードするファイルを読み込むだけ
|
6 |
*
|
7 |
* @package vk-blocks
|
8 |
*/
|
inc/vk-blocks/admin/admin.php
CHANGED
@@ -167,7 +167,7 @@ function vk_blocks_options_enqueue_scripts( $hook_suffix ) {
|
|
167 |
'vk-blocks-admin-js',
|
168 |
'vkBlocksObject',
|
169 |
array(
|
170 |
-
'options' =>
|
171 |
'balloonMeta' => VK_Blocks_Options::get_balloon_meta_options(),
|
172 |
'imageNumber' => VK_Blocks_Options::balloon_image_number(),
|
173 |
'isLicenseSetting' => vk_blocks_is_license_setting(),
|
167 |
'vk-blocks-admin-js',
|
168 |
'vkBlocksObject',
|
169 |
array(
|
170 |
+
'options' => VK_Blocks_Options::get_options(),
|
171 |
'balloonMeta' => VK_Blocks_Options::get_balloon_meta_options(),
|
172 |
'imageNumber' => VK_Blocks_Options::balloon_image_number(),
|
173 |
'isLicenseSetting' => vk_blocks_is_license_setting(),
|
inc/vk-blocks/build/admin-build.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-media-utils'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-media-utils'), 'version' => '50d6193663d7c4fecb6c05f672483a78');
|
inc/vk-blocks/build/admin-build.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){"use strict";var e={466:function(e,t,n){e.exports=n.p+"images/no-image.0a9958a4.png"}},t={};function n(o){var l=t[o];if(void 0!==l)return l.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");o.length&&(e=o[o.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}();var o={};!function(){function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function t(t,n){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,l,r=[],_n=!0,c=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){c=!0,l=e}finally{try{_n||null==n.return||n.return()}finally{if(c)throw l}}return r}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?e(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(o,{u:function(){return x}});var l=window.wp.element;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=window.wp.i18n,a=window.wp.components,i=window.wp.apiFetch,s=n.n(i),u=function(e){var n=e.vkBlocksOption,o=e.vkBlocksBalloonMeta,r=t((0,l.useState)(!1),2),i=r[0],u=r[1],b=t((0,l.useState)(""),2),k=b[0],m=b[1];return(0,l.useEffect)((function(){k&&setTimeout((function(){m()}),3e3)}),[k]),(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:"submit"},(0,l.createElement)(a.Button,{className:"update-button",isPrimary:!0,onClick:function(){u(!0),s()({path:"/vk-blocks/v1/update_vk_blocks_options",method:"POST",data:{vkBlocksOption:n,vkBlocksBalloonMeta:o}}).then((function(){setTimeout((function(){u(!1),m(!0)}),600)}))},isBusy:i},(0,c.__)("Save setting","vk-blocks")),k&&(0,l.createElement)("div",null,(0,l.createElement)(a.Snackbar,null,(0,c.__)("Save Success","vk-blocks")," "))))};function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(){var e=(0,l.useContext)(x),t=e.vkBlocksOption,n=e.setVkBlocksOption,o=e.vkBlocksBalloonMeta;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("section",null,(0,l.createElement)("h3",{id:"license-setting"},(0,c.__)("License key","vk-blocks")),(0,l.createElement)("p",null,(0,c.__)("Enter a valid Lightning G3 Pro Pack or Lightning Pro license key.","vk-blocks")),(0,l.createElement)("p",null,(0,c.__)("Once you enter the license key you will be able to do a one click update from the administration screen.","vk-blocks")),(0,l.createElement)(a.TextControl,{id:"vk-blocks-pro-license-key",label:(0,c.__)("License key","vk-blocks"),className:"admin-text-control",name:"vk_blocks_options[vk_blocks_pro_license_key]",value:t.vk_blocks_pro_license_key?t.vk_blocks_pro_license_key:"",onChange:function(e){e=e.trim(),n(k(k({},t),{},{vk_blocks_pro_license_key:e}))}})),(0,l.createElement)(u,{vkBlocksOption:t,vkBlocksBalloonMeta:o}))}var p=window.wp.mediaUtils,_=n(466);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(){var e=(0,l.useContext)(x),t=e.vkBlocksOption,n=e.setVkBlocksOption,o=e.vkBlocksBalloonMeta,i=e.setVkBlocksBalloonMeta,s=vkBlocksObject.imageNumber;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("section",null,(0,l.createElement)("h3",{id:"balloon-setting"},(0,c.__)("Balloon Setting","vk-blocks")),(0,l.createElement)("h4",{id:"balloon-border-width-setting"},(0,c.__)("Balloon Border Width Setting","vk-blocks")),(0,l.createElement)(a.SelectControl,{id:"balloon-border-width-selector",className:"vk_admin_selectControl",name:"vk_blocks_options[balloon_border_width]",value:!!t.balloon_border_width&&t.balloon_border_width,onChange:function(e){n(f(f({},t),{},{balloon_border_width:e}))},options:[{label:(0,c.__)("1px","vk-blocks"),value:1},{label:(0,c.__)("2px","vk-blocks"),value:2},{label:(0,c.__)("3px","vk-blocks"),value:3},{label:(0,c.__)("4px","vk-blocks"),value:4}]})),(0,l.createElement)(u,{vkBlocksOption:t,vkBlocksBalloonMeta:o}),(0,l.createElement)("h4",{id:"balloon-image-setting"},(0,c.__)("Balloon Image Setting","vk-blocks")),(0,l.createElement)("p",null,(0,c.__)("You can register frequently used icon images for speech bubble blocks.","vk-blocks"),(0,c.__)("If you change image or name that please click Save Changes button.","vk-blocks")),(0,l.createElement)("ul",{className:"balloonIconList"},function(){for(var e=[],t=function(t){e.push((0,l.createElement)("li",{key:t},(0,l.createElement)(p.MediaUpload,{label:(0,c.__)("image","vk-blocks"),onSelect:function(e){i(f(f({},o),{},{default_icons:f(f({},o.default_icons),{},r({},t,f(f({},o.default_icons[t]),{},{src:e.url})))}))},type:"image",allowedTypes:["image"],value:!o.default_icons[t].src&&o.default_icons[t].src,render:function(e){var n=e.open;return(0,l.createElement)(l.Fragment,null,o.default_icons[t].src?(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:"balloonIconList_iconFrame"},(0,l.createElement)("div",{style:{width:"100px",height:"100px",objectFit:"cover"}},(0,l.createElement)("img",{id:"balloonIconList_iconFrame_src_".concat(t),className:"balloonIconList_iconFrame_src",src:""===o.default_icons[t].src||void 0===o.default_icons[t].src?_:o.default_icons[t].src,alt:""}))),(0,l.createElement)(a.Button,{onClick:n,className:"button button-block button-set"},(0,c.__)("Select","vk-blocks")),(0,l.createElement)(a.Button,{className:"button button-block button-delete",onClick:function(){i(f(f({},o),{},{default_icons:f(f({},o.default_icons),{},r({},t,f(f({},o.default_icons[t]),{},{src:""})))}))}},(0,c.__)("Delete","vk-blocks"))):(0,l.createElement)(l.Fragment,null,(0,l.createElement)("div",{className:"balloonIconList_iconFrame"},(0,l.createElement)("div",{style:{width:"100px",height:"100px",objectFit:"cover"}},(0,l.createElement)("img",{className:"balloonIconList_iconFrame_src",src:_,alt:""}))),(0,l.createElement)(a.Button,{onClick:n,className:"button button-block button-set"},(0,c.__)("Select","vk-blocks")),(0,l.createElement)(a.Button,{className:"button button-block button-delete",onClick:function(){i(f(f({},o),{},{default_icons:f(f({},o.default_icons),{},r({},t,f(f({},o.default_icons[t]),{},{src:""})))}))}},(0,c.__)("Delete","vk-blocks"))))}}),(0,l.createElement)("label",{htmlFor:"icon_title",className:"balloonIconList_nameLabel"},(0,c.__)("Balloon Image Name","vk-blocks")),(0,l.createElement)(a.TextControl,{id:"icon_title_".concat(t),className:"balloonIconList_name_input",name:"vk_blocks_balloon_meta[default_icons][".concat(t,"][name]"),onChange:function(e){i(f(f({},o),{},{default_icons:f(f({},o.default_icons),{},r({},t,f(f({},o.default_icons[t]),{},{name:e})))}))},value:""===o.default_icons[t].name||void 0===o.default_icons[t].name||null===o.default_icons[t].name?"":o.default_icons[t].name})))},n=1;n<=s;n++)t(n);return e}()),(0,l.createElement)(u,{vkBlocksOption:t,vkBlocksBalloonMeta:o}))}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=[{marginLabel:(0,c.__)("Small","vk-blocks"),marginValue:"sm"},{marginLabel:(0,c.__)("Medium","vk-blocks"),marginValue:"md"},{marginLabel:(0,c.__)("Large","vk-blocks"),marginValue:"lg"}],h=[{deviceLabel:(0,c.__)("PC","vk-blocks"),deviceValue:"pc"},{deviceLabel:(0,c.__)("Tablet","vk-blocks"),deviceValue:"tablet"},{deviceLabel:(0,c.__)("Mobile","vk-blocks"),deviceValue:"mobile"}];function E(){var e=(0,l.useContext)(x),t=e.vkBlocksOption,n=e.setVkBlocksOption,o=e.vkBlocksBalloonMeta;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("section",null,(0,l.createElement)("h3",{id:"margin-setting"},(0,c.__)("Common Margin Setting","vk-blocks")),(0,l.createElement)("p",null,(0,c.__)("Please specify the size of the common margin used for responsive spacers, etc.","vk-blocks")),(0,l.createElement)("div",{className:"vk_admin_marginUnit"},(0,l.createElement)("span",null,(0,c.__)("Unit","vk-blocks")),(0,l.createElement)(a.SelectControl,{name:"vk_blocks_options[margin_unit]",className:"vk_admin_selectControl unit-select",value:t.margin_unit,onChange:function(e){n(O(O({},t),{},{margin_unit:e}))},options:[{label:(0,c.__)("px","vk-blocks"),value:"px"},{label:(0,c.__)("em","vk-blocks"),value:"em"},{label:(0,c.__)("rem","vk-blocks"),value:"rem"}]})),(0,l.createElement)("ul",{className:"no-style spacer-input"},y.map((function(e){var o=e.marginLabel,i=e.marginValue;return(0,l.createElement)("li",{key:o},(0,l.createElement)("span",null,(0,c.__)("Margin","vk-blocks")," [ ",o," ","] :"),h.map((function(e){var o=e.deviceLabel,c=e.deviceValue;return(0,l.createElement)(a.__experimentalNumberControl,{className:"margin_size_input",key:o,label:o,name:"vk_blocks_options[margin_size][".concat(i,"][").concat(c,"]"),step:"0.05",value:t.margin_size[i][c]?t.margin_size[i][c]:"",onChange:function(e){n(O(O({},t),{},{margin_size:O(O({},t.margin_size),{},r({},i,O(O({},t.margin_size[i]),{},r({},c,e))))}))}})})))})))),(0,l.createElement)(u,{vkBlocksOption:t,vkBlocksBalloonMeta:o}))}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(){var e,t=(0,l.useContext)(x),n=t.vkBlocksOption,o=t.setVkBlocksOption,r=t.vkBlocksBalloonMeta;return e="true"===n.load_separate_option||!(!n.load_separate_option||!n.load_separate_option),(0,l.createElement)(l.Fragment,null,(0,l.createElement)("section",null,(0,l.createElement)("h3",{id:"load-separete-setting"},(0,c.__)("Load Separate Setting","vk-blocks")),(0,l.createElement)("p",null,(0,c.__)("Note that the order in which CSS/JS are loaded will change.","vk-blocks")),(0,l.createElement)(a.CheckboxControl,{name:"vk_blocks_options[load_separate_option]",label:(0,c.__)("Load Separate Option on","vk-blocks"),checked:e,onChange:function(e){o(B(B({},n),{},{load_separate_option:e}))}})),(0,l.createElement)(u,{vkBlocksOption:n,vkBlocksBalloonMeta:r}))}function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function C(){var e=(0,l.useContext)(x),t=e.vkBlocksOption,n=e.setVkBlocksOption,o=e.vkBlocksBalloonMeta;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)("section",null,(0,l.createElement)("h3",{id:"faq-setting"},(0,c.__)("FAQ Block Setting","vk-blocks")),(0,l.createElement)(a.SelectControl,{name:"vk_blocks_options[new_faq_accordion]",className:"vk_admin_selectControl",value:t.new_faq_accordion,onChange:function(e){n(S(S({},t),{},{new_faq_accordion:e}))},options:[{label:(0,c.__)("Disable accordion","vk-blocks"),value:"disable"},{label:(0,c.__)("Enable accordion and default open","vk-blocks"),value:"open"},{label:(0,c.__)("Enable accordion and default close","vk-blocks"),value:"close"}]})),(0,l.createElement)(u,{vkBlocksOption:t,vkBlocksBalloonMeta:o}))}var x=(0,l.createContext)();(0,l.render)((0,l.createElement)((function(){var e=t((0,l.useState)(vkBlocksObject.options),2),n=e[0],o=e[1],r=t((0,l.useState)(vkBlocksObject.balloonMeta),2),c=r[0],a=r[1];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(x.Provider,{value:{vkBlocksOption:n,setVkBlocksOption:o,vkBlocksBalloonMeta:c,setVkBlocksBalloonMeta:a}},vkBlocksObject.isLicenseSetting&&(0,l.createElement)(m,null),(0,l.createElement)(d,null),(0,l.createElement)(E,null),(0,l.createElement)(j,null),vkBlocksObject.isPro&&(0,l.createElement)(C,null)))}),null),document.getElementById("vk-blocks-admin"))}()}();
|
1 |
+
!function(){var e={184:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var c=r.apply(null,n);c&&e.push(c)}}else if("object"===l)if(n.toString===Object.prototype.toString)for(var a in n)o.call(n,a)&&n[a]&&e.push(a);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},466:function(e,t,n){"use strict";e.exports=n.p+"images/no-image.0a9958a4.png"}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var l=t[o]={exports:{}};return e[o](l,l.exports,n),l.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");o.length&&(e=o[o.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}();var o={};!function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function t(t,n){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,l=[],_n=!0,c=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(l.push(o.value),!t||l.length!==t);_n=!0);}catch(e){c=!0,r=e}finally{try{_n||null==n.return||n.return()}finally{if(c)throw r}}return l}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?e(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(o,{u:function(){return N}});var r=window.wp.element;function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=window.wp.i18n,a=window.wp.components;function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){var e=(0,r.useContext)(N),t=e.vkBlocksOption,n=e.setVkBlocksOption;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)("h3",{id:"license-setting"},(0,c.__)("License key","vk-blocks")),(0,r.createElement)("p",null,(0,c.__)("Enter a valid Lightning G3 Pro Pack or Lightning Pro license key.","vk-blocks")),(0,r.createElement)("p",null,(0,c.__)("Once you enter the license key you will be able to do a one click update from the administration screen.","vk-blocks")),(0,r.createElement)(a.TextControl,{id:"vk-blocks-pro-license-key",label:(0,c.__)("License key","vk-blocks"),className:"admin-text-control",name:"vk_blocks_options[vk_blocks_pro_license_key]",value:t.vk_blocks_pro_license_key?t.vk_blocks_pro_license_key:"",onChange:function(e){e=e.trim(),n(s(s({},t),{},{vk_blocks_pro_license_key:e}))}})))}var b=window.wp.mediaUtils,m=n(466);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(){var e=(0,r.useContext)(N),t=e.vkBlocksOption,n=e.setVkBlocksOption,o=e.vkBlocksBalloonMeta,i=e.setVkBlocksBalloonMeta,s=vkBlocksObject.imageNumber;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)("h3",{id:"balloon-setting"},(0,c.__)("Balloon Setting","vk-blocks")),(0,r.createElement)("h4",{id:"balloon-border-width-setting"},(0,c.__)("Balloon Border Width Setting","vk-blocks")),(0,r.createElement)(a.SelectControl,{id:"balloon-border-width-selector",className:"vk_admin_selectControl",name:"vk_blocks_options[balloon_border_width]",value:!!t.balloon_border_width&&t.balloon_border_width,onChange:function(e){n(k(k({},t),{},{balloon_border_width:e}))},options:[{label:(0,c.__)("1px","vk-blocks"),value:1},{label:(0,c.__)("2px","vk-blocks"),value:2},{label:(0,c.__)("3px","vk-blocks"),value:3},{label:(0,c.__)("4px","vk-blocks"),value:4}]})),(0,r.createElement)("h4",{id:"balloon-image-setting"},(0,c.__)("Balloon Image Setting","vk-blocks")),(0,r.createElement)("p",null,(0,c.__)("You can register frequently used icon images for speech bubble blocks.","vk-blocks"),(0,c.__)("If you change image or name that please click Save Changes button.","vk-blocks")),(0,r.createElement)("ul",{className:"balloonIconList"},function(){for(var e=[],t=function(t){e.push((0,r.createElement)("li",{key:t},(0,r.createElement)(b.MediaUpload,{label:(0,c.__)("image","vk-blocks"),onSelect:function(e){i(k(k({},o),{},{default_icons:k(k({},o.default_icons),{},l({},t,k(k({},o.default_icons[t]),{},{src:e.url})))}))},type:"image",allowedTypes:["image"],value:!o.default_icons[t].src&&o.default_icons[t].src,render:function(e){var n=e.open;return(0,r.createElement)(r.Fragment,null,o.default_icons[t].src?(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"balloonIconList_iconFrame"},(0,r.createElement)("div",{style:{width:"100px",height:"100px",objectFit:"cover"}},(0,r.createElement)("img",{id:"balloonIconList_iconFrame_src_".concat(t),className:"balloonIconList_iconFrame_src",src:""===o.default_icons[t].src||void 0===o.default_icons[t].src?m:o.default_icons[t].src,alt:""}))),(0,r.createElement)(a.Button,{onClick:n,className:"button button-block button-set"},(0,c.__)("Select","vk-blocks")),(0,r.createElement)(a.Button,{className:"button button-block button-delete",onClick:function(){i(k(k({},o),{},{default_icons:k(k({},o.default_icons),{},l({},t,k(k({},o.default_icons[t]),{},{src:""})))}))}},(0,c.__)("Delete","vk-blocks"))):(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"balloonIconList_iconFrame"},(0,r.createElement)("div",{style:{width:"100px",height:"100px",objectFit:"cover"}},(0,r.createElement)("img",{className:"balloonIconList_iconFrame_src",src:m,alt:""}))),(0,r.createElement)(a.Button,{onClick:n,className:"button button-block button-set"},(0,c.__)("Select","vk-blocks")),(0,r.createElement)(a.Button,{className:"button button-block button-delete",onClick:function(){i(k(k({},o),{},{default_icons:k(k({},o.default_icons),{},l({},t,k(k({},o.default_icons[t]),{},{src:""})))}))}},(0,c.__)("Delete","vk-blocks"))))}}),(0,r.createElement)("label",{htmlFor:"icon_title",className:"balloonIconList_nameLabel"},(0,c.__)("Balloon Image Name","vk-blocks")),(0,r.createElement)(a.TextControl,{id:"icon_title_".concat(t),className:"balloonIconList_name_input",name:"vk_blocks_balloon_meta[default_icons][".concat(t,"][name]"),onChange:function(e){i(k(k({},o),{},{default_icons:k(k({},o.default_icons),{},l({},t,k(k({},o.default_icons[t]),{},{name:e})))}))},value:""===o.default_icons[t].name||void 0===o.default_icons[t].name||null===o.default_icons[t].name?"":o.default_icons[t].name})))},n=1;n<=s;n++)t(n);return e}()))}function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=[{marginLabel:(0,c.__)("XS","vk-blocks"),marginValue:"xs"},{marginLabel:(0,c.__)("S","vk-blocks"),marginValue:"sm"},{marginLabel:(0,c.__)("M","vk-blocks"),marginValue:"md"},{marginLabel:(0,c.__)("L","vk-blocks"),marginValue:"lg"},{marginLabel:(0,c.__)("XL","vk-blocks"),marginValue:"xl"}],g=[{deviceLabel:(0,c.__)("PC","vk-blocks"),deviceValue:"pc"},{deviceLabel:(0,c.__)("Tablet","vk-blocks"),deviceValue:"tablet"},{deviceLabel:(0,c.__)("Mobile","vk-blocks"),deviceValue:"mobile"}];function O(){var e=(0,r.useContext)(N),t=e.vkBlocksOption,n=e.setVkBlocksOption;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)("h3",{id:"margin-setting"},(0,c.__)("Common Margin Setting","vk-blocks")),(0,r.createElement)("p",null,(0,c.__)("Please specify the size of the common margin used for responsive spacers, etc.","vk-blocks")),(0,r.createElement)("div",{className:"vk_admin_marginUnit"},(0,r.createElement)("span",null,(0,c.__)("Unit","vk-blocks")),(0,r.createElement)(a.SelectControl,{name:"vk_blocks_options[margin_unit]",className:"vk_admin_selectControl unit-select",value:t.margin_unit,onChange:function(e){n(f(f({},t),{},{margin_unit:e}))},options:[{label:(0,c.__)("px","vk-blocks"),value:"px"},{label:(0,c.__)("em","vk-blocks"),value:"em"},{label:(0,c.__)("rem","vk-blocks"),value:"rem"}]})),(0,r.createElement)("ul",{className:"no-style spacer-input"},d.map((function(e){var o=e.marginLabel,i=e.marginValue;return(0,r.createElement)("li",{key:o},(0,r.createElement)("span",{className:"spacer-input__size-name"},(0,c.__)("Margin","vk-blocks")," [ ",o," ","]"),g.map((function(e){var o=e.deviceLabel,c=e.deviceValue;return(0,r.createElement)(a.__experimentalNumberControl,{className:"margin_size_input",key:o,label:o,name:"vk_blocks_options[margin_size][".concat(i,"][").concat(c,"]"),step:"0.05",value:t.margin_size[i][c]?t.margin_size[i][c]:"",onChange:function(e){n(f(f({},t),{},{margin_size:f(f({},t.margin_size),{},l({},i,f(f({},t.margin_size[i]),{},l({},c,e))))}))}})})))})))))}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(){var e,t=(0,r.useContext)(N),n=t.vkBlocksOption,o=t.setVkBlocksOption;return e="true"===n.load_separate_option||!(!n.load_separate_option||!n.load_separate_option),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)("h3",{id:"load-separete-setting"},(0,c.__)("Load Separate Setting","vk-blocks")),(0,r.createElement)("p",null,(0,c.__)("Note that the order in which CSS/JS are loaded will change.","vk-blocks")),(0,r.createElement)(a.CheckboxControl,{name:"vk_blocks_options[load_separate_option]",label:(0,c.__)("Load Separate Option on","vk-blocks"),checked:e,onChange:function(e){o(h(h({},n),{},{load_separate_option:e}))}})))}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(){var e=(0,r.useContext)(N),t=e.vkBlocksOption,n=e.setVkBlocksOption;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)("h3",{id:"faq-setting"},(0,c.__)("FAQ Block Setting","vk-blocks")),(0,r.createElement)(a.SelectControl,{name:"vk_blocks_options[new_faq_accordion]",className:"vk_admin_selectControl",value:t.new_faq_accordion,onChange:function(e){n(j(j({},t),{},{new_faq_accordion:e}))},options:[{label:(0,c.__)("Disable accordion","vk-blocks"),value:"disable"},{label:(0,c.__)("Enable accordion and default open","vk-blocks"),value:"open"},{label:(0,c.__)("Enable accordion and default close","vk-blocks"),value:"close"}]})))}var S=window.wp.apiFetch,B=n.n(S),C=n(184),x=n.n(C),L=function(e){var n=e.vkBlocksOption,o=e.vkBlocksBalloonMeta,l=e.classOption,i=t((0,r.useState)(!1),2),s=i[0],u=i[1],b=t((0,r.useState)(""),2),m=b[0],p=b[1];return(0,r.useEffect)((function(){m&&setTimeout((function(){p()}),3e3)}),[m]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:x()("submit",l)},(0,r.createElement)(a.Button,{className:"update-button",isPrimary:!0,onClick:function(){u(!0),B()({path:"/vk-blocks/v1/update_vk_blocks_options",method:"POST",data:{vkBlocksOption:n,vkBlocksBalloonMeta:o}}).then((function(){setTimeout((function(){u(!1),p(!0)}),600)}))},isBusy:s},(0,c.__)("Save setting","vk-blocks")),m&&(0,r.createElement)("div",null,(0,r.createElement)(a.Snackbar,null,(0,c.__)("Save Success","vk-blocks")," "))))},N=(0,r.createContext)();(0,r.render)((0,r.createElement)((function(){var e=t((0,r.useState)(vkBlocksObject.options),2),n=e[0],o=e[1],l=t((0,r.useState)(vkBlocksObject.balloonMeta),2),c=l[0],a=l[1];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(N.Provider,{value:{vkBlocksOption:n,setVkBlocksOption:o,vkBlocksBalloonMeta:c,setVkBlocksBalloonMeta:a}},vkBlocksObject.isLicenseSetting&&(0,r.createElement)(u,null),(0,r.createElement)(_,null),(0,r.createElement)(O,null),(0,r.createElement)(E,null),vkBlocksObject.isPro&&(0,r.createElement)(P,null),(0,r.createElement)(L,{classOption:"sticky",vkBlocksOption:n,vkBlocksBalloonMeta:c})))}),null),document.getElementById("vk-blocks-admin"))}()}();
|
inc/vk-blocks/build/block-build.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-notices', 'wp-primitives', 'wp-rich-text', 'wp-server-side-render'), 'version' => '0fcf32495860de4f7b33fa39e54f8480');
|
inc/vk-blocks/build/block-build.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
!function(){var e={184:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var l=a.apply(null,n);l&&e.push(l)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var c in n)o.call(n,c)&&n[c]&&e.push(c);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},960:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},790:function(e,t,n){"use strict";var o,a=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var l=n(960),c=new Map([[l.ElementType.Tag,1],[l.ElementType.Script,1],[l.ElementType.Style,1],[l.ElementType.Directive,1],[l.ElementType.Text,3],[l.ElementType.CDATA,4],[l.ElementType.Comment,8],[l.ElementType.Root,9]]),i=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=c.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();t.Node=i;var s=function(e){function t(t,n){var o=e.call(this,t)||this;return o.data=n,o}return a(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(i);t.DataNode=s;var u=function(e){function t(t){return e.call(this,l.ElementType.Text,t)||this}return a(t,e),t}(s);t.Text=u;var m=function(e){function t(t){return e.call(this,l.ElementType.Comment,t)||this}return a(t,e),t}(s);t.Comment=m;var p=function(e){function t(t,n){var o=e.call(this,l.ElementType.Directive,n)||this;return o.name=t,o}return a(t,e),t}(s);t.ProcessingInstruction=p;var v=function(e){function t(t,n){var o=e.call(this,t)||this;return o.children=n,o}return a(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(i);t.NodeWithChildren=v;var f=function(e){function t(t){return e.call(this,l.ElementType.Root,t)||this}return a(t,e),t}(v);t.Document=f;var b=function(e){function t(t,n,o,a){void 0===o&&(o=[]),void 0===a&&(a="script"===t?l.ElementType.Script:"style"===t?l.ElementType.Style:l.ElementType.Tag);var r=e.call(this,a,o)||this;return r.name=t,r.attribs=n,r}return a(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,o;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(o=e["x-attribsPrefix"])||void 0===o?void 0:o[t]}}))},enumerable:!1,configurable:!0}),t}(v);function d(e){return(0,l.isTag)(e)}function k(e){return e.type===l.ElementType.CDATA}function _(e){return e.type===l.ElementType.Text}function h(e){return e.type===l.ElementType.Comment}function g(e){return e.type===l.ElementType.Directive}function y(e){return e.type===l.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),_(e))n=new u(e.data);else if(h(e))n=new m(e.data);else if(d(e)){var o=t?x(e.children):[],a=new b(e.name,r({},e.attribs),o);o.forEach((function(e){return e.parent=a})),null!=e.namespace&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=r({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=r({},e["x-attribsPrefix"])),n=a}else if(k(e)){o=t?x(e.children):[];var c=new v(l.ElementType.CDATA,o);o.forEach((function(e){return e.parent=c})),n=c}else if(y(e)){o=t?x(e.children):[];var i=new f(o);o.forEach((function(e){return e.parent=i})),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),n=i}else{if(!g(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new p(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function x(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=b,t.isTag=d,t.isCDATA=k,t.isText=_,t.isComment=h,t.isDirective=g,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},885:function(e){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},276:function(e,t,n){var o="html",a="head",r="body",l=/<([a-zA-Z]+[0-9]?)/,c=/<head.*>/i,i=/<body.*>/i,s=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var m=new window.DOMParser;s=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),m.parseFromString(e,"text/html")}}if(document.implementation){var p=n(507).isIE,v=document.implementation.createHTMLDocument(p()?"html-dom-parser":void 0);s=function(e,t){return t?(v.documentElement.getElementsByTagName(t)[0].innerHTML=e,v):(v.documentElement.innerHTML=e,v)}}var f,b=document.createElement("template");b.content&&(f=function(e){return b.innerHTML=e,b.content.childNodes}),e.exports=function(e){var t,n,m,p,v=e.match(l);switch(v&&v[1]&&(t=v[1].toLowerCase()),t){case o:return n=u(e),c.test(e)||(m=n.getElementsByTagName(a)[0])&&m.parentNode.removeChild(m),i.test(e)||(m=n.getElementsByTagName(r)[0])&&m.parentNode.removeChild(m),n.getElementsByTagName(o);case a:case r:return p=s(e).getElementsByTagName(t),i.test(e)&&c.test(e)?p[0].parentNode.childNodes:p;default:return f?f(e):s(e,r).getElementsByTagName(r)[0].childNodes}}},152:function(e,t,n){var o=n(276),a=n(507).formatDOM,r=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(r);return n&&n[1]&&(t=n[1]),a(o(e),null,t)}},507:function(e,t,n){for(var o,a=n(885),r=n(790),l=a.CASE_SENSITIVE_TAG_NAMES,c=r.Comment,i=r.Element,s=r.ProcessingInstruction,u=r.Text,m={},p=0,v=l.length;p<v;p++)o=l[p],m[o.toLowerCase()]=o;function f(e){for(var t,n={},o=0,a=e.length;o<a;o++)n[(t=e[o]).name]=t.value;return n}function b(e){return function(e){return m[e]}(e=e.toLowerCase())||e}e.exports={formatAttributes:f,formatDOM:function e(t,n,o){n=n||null;for(var a=[],r=0,l=t.length;r<l;r++){var m,p=t[r];switch(p.nodeType){case 1:(m=new i(b(p.nodeName),f(p.attributes))).children=e(p.childNodes,m);break;case 3:m=new u(p.nodeValue);break;case 8:m=new c(p.nodeValue);break;default:continue}var v=a[r-1]||null;v&&(v.next=m),m.parent=n,m.prev=v,m.next=null,a.push(m)}return o&&((m=new s(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=a[0]||null,m.parent=n,a.unshift(m),a[1]&&(a[1].prev=a[0])),a},isIE:function(){return/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},488:function(e,t,n){var o=n(670),a=n(484),r=n(152);r="function"==typeof r.default?r.default:r;var l={lowerCaseAttributeNames:!1};function c(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:o(r(e,(t=t||{}).htmlparser2||l),t)}c.domToReact=o,c.htmlToDOM=r,c.attributesToProps=a,c.Element=n(790).Element,e.exports=c,e.exports.default=c},484:function(e,t,n){var o=n(726),a=n(606);function r(e){return o.possibleStandardNames[e]}e.exports=function(e){var t,n,l,c,i,s={},u=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(l=e[t],o.isCustomAttribute(t))s[t]=l;else if(c=r(n=t.toLowerCase()))switch(i=o.getPropertyInfo(c),"checked"!==c&&"value"!==c||u||(c=r("default"+n)),s[c]=l,i&&i.type){case o.BOOLEAN:s[c]=!0;break;case o.OVERLOADED_BOOLEAN:""===l&&(s[c]=!0)}else a.PRESERVE_CUSTOM_ATTRIBUTES&&(s[t]=l);return a.setStyleProp(e.style,s),s}},670:function(e,t,n){var o=n(196),a=n(484),r=n(606),l=r.setStyleProp,c=r.canTextBeChildOfNode;function i(e){return r.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&r.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var r,s,u,m,p,v=(n=n||{}).library||o,f=v.cloneElement,b=v.createElement,d=v.isValidElement,k=[],_="function"==typeof n.replace,h=n.trim,g=0,y=t.length;g<y;g++)if(r=t[g],_&&d(u=n.replace(r)))y>1&&(u=f(u,{key:u.key||g})),k.push(u);else if("text"!==r.type){switch(m=r.attribs,i(r)?l(m.style,m):m&&(m=a(m)),p=null,r.type){case"script":case"style":r.children[0]&&(m.dangerouslySetInnerHTML={__html:r.children[0].data});break;case"tag":"textarea"===r.name&&r.children[0]?m.defaultValue=r.children[0].data:r.children&&r.children.length&&(p=e(r.children,n));break;default:continue}y>1&&(m.key=g),k.push(b(r.name,m,p))}else{if((s=!r.data.trim().length)&&r.parent&&!c(r.parent))continue;if(h&&s)continue;k.push(r.data)}return 1===k.length?k[0]:k}},606:function(e,t,n){var o=n(196),a=n(476).default,r={reactCompat:!0},l=o.version.split(".")[0]>=16,c=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:l,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,o,a="function"==typeof t,r={},l={};for(n in e)o=e[n],a&&(r=t(n,o))&&2===r.length?l[r[0]]=r[1]:"string"==typeof o&&(l[o]=n);return l},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=a(e,r)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!c.has(e.name)},elementsWithNoTextChildren:c}},139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,i=/^\s+|\s+$/g,s="";function u(e){return e?e.replace(i,s):s}e.exports=function(e,i){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];i=i||{};var m=1,p=1;function v(e){var t=e.match(n);t&&(m+=t.length);var o=e.lastIndexOf("\n");p=~o?e.length-o:p+e.length}function f(){var e={line:m,column:p};return function(t){return t.position=new b(e),h(),t}}function b(e){this.start=e,this.end={line:m,column:p},this.source=i.source}b.prototype.content=e;var d=[];function k(t){var n=new Error(i.source+":"+m+":"+p+": "+t);if(n.reason=t,n.filename=i.source,n.line=m,n.column=p,n.source=e,!i.silent)throw n;d.push(n)}function _(t){var n=t.exec(e);if(n){var o=n[0];return v(o),e=e.slice(o.length),n}}function h(){_(o)}function g(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return k("End of comment missing");var o=e.slice(2,n-2);return p+=2,v(o),e=e.slice(n),p+=2,t({type:"comment",comment:o})}}function E(){var e=f(),n=_(a);if(n){if(y(),!_(r))return k("property missing ':'");var o=_(l),i=e({type:"declaration",property:u(n[0].replace(t,s)),value:o?u(o[0].replace(t,s)):s});return _(c),i}}return h(),function(){var e,t=[];for(g(t);e=E();)!1!==e&&(t.push(e),g(t));return t}()}},726:function(e,t,n){"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function a(e,t,n,o,a,r,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=l}Object.defineProperty(t,"__esModule",{value:!0});var r={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){r[e]=new a(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t,n,l=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,r=[],_n=!0,l=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){l=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(l)throw a}}return r}}(t,n)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],i=l[1];r[c]=new a(c,1,!1,i,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){r[e]=new a(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){r[e]=new a(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){r[e]=new a(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){r[e]=new a(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){r[e]=new a(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){r[e]=new a(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){r[e]=new a(e,5,!1,e.toLowerCase(),null,!1,!1)}));var l=/[\-\:]([a-z])/g,c=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(l,c);r[t]=new a(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(l,c);r[t]=new a(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(l,c);r[t]=new a(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){r[e]=new a(e,1,!1,e.toLowerCase(),null,!1,!1)})),r.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){r[e]=new a(e,1,!1,e.toLowerCase(),null,!0,!0)}));var i=n(229),s=i.CAMELCASE,u=i.SAME,m=i.possibleStandardNames,p=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),v=Object.keys(m).reduce((function(e,t){var n=m[t];return n===u?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return r.hasOwnProperty(e)?r[e]:null},t.isCustomAttribute=p,t.possibleStandardNames=v},229:function(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},476:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var a=o(n(848)),r=n(678);t.default=function(e,t){var n={};return e&&"string"==typeof e?(a.default(e,(function(e,o){e&&o&&(n[r.camelCase(e,t)]=o)})),n):n}},678:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,a=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,l=function(e,t){return t.toUpperCase()},c=function(e,t){return t+"-"};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||a.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(r,c)),e.replace(o,l))}},848:function(e,t,n){var o=n(139);e.exports=function(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var r,l,c=o(e),i="function"==typeof t,s=0,u=c.length;s<u;s++)r=(n=c[s]).property,l=n.value,i?t(r,l,n):l&&(a||(a={}),a[r]=l);return a}},196:function(e){"use strict";e.exports=window.React}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};n.r(e),n.d(e,{metadata:function(){return oe},name:function(){return ae},settings:function(){return re}});var t={};n.r(t),n.d(t,{metadata:function(){return ce},name:function(){return ue},settings:function(){return me}});var o={};n.r(o),n.d(o,{metadata:function(){return Me},name:function(){return Fe},settings:function(){return je}});var a={};n.r(a),n.d(a,{metadata:function(){return Le},name:function(){return vt},settings:function(){return ft}});var r={};n.r(r),n.d(r,{metadata:function(){return yt},name:function(){return Xt},settings:function(){return $t}});var l={};n.r(l),n.d(l,{metadata:function(){return pn},name:function(){return vn},settings:function(){return fn}});var c={};n.r(c),n.d(c,{metadata:function(){return En},name:function(){return xn},settings:function(){return Cn}});var i={};n.r(i),n.d(i,{metadata:function(){return Sn},name:function(){return Rn},settings:function(){return An}});var s={};n.r(s),n.d(s,{metadata:function(){return Hn},name:function(){return Un},settings:function(){return Dn}});var u={};n.r(u),n.d(u,{metadata:function(){return Xn},name:function(){return $n},settings:function(){return Kn}});var m={};n.r(m),n.d(m,{metadata:function(){return Mo},name:function(){return jo},settings:function(){return Ho}});var p={};n.r(p),n.d(p,{metadata:function(){return Do},name:function(){return Ko},settings:function(){return Qo}});var v={};n.r(v),n.d(v,{metadata:function(){return aa},name:function(){return ra},settings:function(){return la}});var f={};n.r(f),n.d(f,{metadata:function(){return ma},name:function(){return pa},settings:function(){return va}});var b={};n.r(b),n.d(b,{metadata:function(){return ba},name:function(){return Ia},settings:function(){return Ra}});var d={};n.r(d),n.d(d,{metadata:function(){return fr},name:function(){return br},settings:function(){return dr}});var k={};n.r(k),n.d(k,{metadata:function(){return _r},name:function(){return Vr},settings:function(){return qr}});var _={};function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(_),n.d(_,{metadata:function(){return Kr},name:function(){return Qr},settings:function(){return el}}),window.wp.coreData,window.wp.notices;var g=window.wp.blocks;function y(e,t){const n=C(e),o=C(t),a=n.pop(),r=o.pop(),l=w(n,o);return 0!==l?l:a&&r?w(a.split("."),r.split(".")):a||r?a?-1:1:0}const E=(e,t,n)=>{R(n);const o=y(e,t);return S[n].includes(o)};y.validate=e=>"string"==typeof e&&/^[v\d]/.test(e)&&x.test(e),y.compare=E,y.sastisfies=(e,t)=>{const n=t.match(/^([<>=~^]+)/),o=n?n[1]:"=";if("^"!==o&&"~"!==o)return E(e,t,o);const[a,r,l]=C(e),[c,i,s]=C(t);return 0===B(a,c)&&("^"===o?w([r,l],[i,s])>=0:0===B(r,i)&&B(l,s)>=0)};const x=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,C=e=>{if("string"!=typeof e)throw new TypeError("Invalid argument expected string");const t=e.match(x);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},N=e=>"*"===e||"x"===e||"X"===e,T=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},B=(e,t)=>{if(N(e)||N(t))return 0;const[n,o]=((e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t])(T(e),T(t));return n>o?1:n<o?-1:0},w=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=B(e[n]||0,t[n]||0);if(0!==o)return o}return 0},S={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},I=Object.keys(S),R=e=>{if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===I.indexOf(e))throw new Error(`Invalid operator, expected one of ${I.join("|")}`)};var A,O,z,P=window.wp.element,M=window.wp.i18n,F=(0,M.__)("Lorem ipsum dolor","vk-blocks"),j=(0,M.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ","vk-blocks"),H=(0,M.__)("Lorem ipsum","vk-blocks"),L='<i class="fas fa-user"></i>',U="https://demo.dev3.biz/lightning-pro/wp-content/uploads/2018/02/agent-18762_1920-200x300.jpg",D="#8ed1fc",V="https://example.com",q=('{"alt":"Example Image","sizes":{"full":{"url":"'.concat(U,'"}}}'),(0,M.__)("Theoretical Physicist","vk-blocks")),W=(0,M.__)("Profile","vk-blocks"),J=(0,M.__)("Albert Einstein","vk-blocks"),Z=(0,M.__)("14 March 1879 – 18 April 1955","vk-blocks"),G=n(196);function Y(){return Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Y.apply(this,arguments)}var X,$,K,Q=window.wp.blockEditor,ee=[{attributes:{style:{type:"string",default:"info"},content:{type:"string",source:"html",selector:"p"}},save:function(e){var t=e.attributes,n=t.style,o=t.content;return(0,P.createElement)("div",{className:"alert alert-".concat(n)},(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:o}))}}],te=ee,ne=window.wp.components,oe=JSON.parse('{"apiVersion":2,"name":"vk-blocks/alert","category":"vk-blocks-cat","title":"Alert","description":"A colored box with four statuses, including annotations and alerts.","textdomain":"vk-blocks","attributes":{"style":{"type":"string","default":"info"},"content":{"type":"string","source":"html","selector":"p"}},"supports":{"className":true}}'),ae=oe.name,re={icon:(0,P.createElement)((function(e){return G.createElement("svg",Y({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),A||(A=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),O||(O=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),z||(z=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 8.5a8.5 8.5 0 0 1-12.12 7.7l.18-.2a1.61 1.61 0 0 0-1.17-2.72H8.62c.06-.67-.3-1.43-1.04-1.69A8.5 8.5 0 1 1 24 8.5zm-7.86.7H14.9L14 6.27V4h3v2.28l-.86 2.91zm.86 1.29V13h-3v-2.51h3z",fill:"#000"})))}),null),example:{attributes:{style:"info",content:j}},save:function(e){var t=e.attributes,n=t.style,o=t.content;return(0,P.createElement)("div",Q.useBlockProps.save({className:"alert alert-".concat(n)}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:o}))},edit:function(e){var t=e.attributes,n=e.setAttributes,o=t.style,a=t.content,r=(0,Q.useBlockProps)({className:"alert alert-".concat(o)});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Style Settings","vk-blocks")},(0,P.createElement)(ne.SelectControl,{value:o,onChange:function(e){return n({style:e})},options:[{label:(0,M.__)("Success","vk-blocks"),value:"success"},{label:(0,M.__)("Info","vk-blocks"),value:"info"},{label:(0,M.__)("Warning","vk-blocks"),value:"warning"},{label:(0,M.__)("Danger","vk-blocks"),value:"danger"}]}))),(0,P.createElement)("div",r,(0,P.createElement)(Q.RichText,{tagName:"p",onChange:function(e){return n({content:e})},value:a})))},deprecated:te};function le(){return le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},le.apply(this,arguments)}var ce=JSON.parse('{"apiVersion":2,"name":"vk-blocks/ancestor-page-list","category":"vk-blocks-cat","title":"Page list from ancestor","attributes":{"ancestorTitleDisplay":{"type":"boolean","default":true},"ancestorTitleTagName":{"type":"string","default":"h4"},"ancestorTitleClassName":{"type":"string","default":null},"ancestorTitleLink":{"type":"boolean","default":false},"displayHasChildOnly":{"type":"boolean","default":false},"hiddenGrandChild":{"type":"boolean","default":false}},"description":"Display Page list from ancestor page","textdomain":"vk-blocks","supports":{"className":true}}'),ie=window.wp.serverSideRender,se=n.n(ie),ue=ce.name,me={icon:(0,P.createElement)((function(e){return G.createElement("svg",le({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),X||(X=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 6.5C4 7.33 4.67 8 5.5 8 6.32 8 7 7.33 7 6.5 7 5.68 6.32 5 5.5 5 4.67 5 4 5.68 4 6.5ZM20 6H9v1h11V6ZM7 11.5l-1.967.008h-.005c-.364 0-.71.126-.987.343A1.504 1.504 0 0 1 5.5 10c.82-.001 1.5.679 1.5 1.499Zm4.109 5.5.946-.997A.056.056 0 0 0 12.06 16H20v1h-8.891ZM20 11H9v1h11v-1Z",fill:"#000"})),$||($=G.createElement("path",{d:"m10.89 14.778-3.267.007a.11.11 0 0 0-.102.076l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L6.7 18.105h.007l1.042 3.397c.022.076-.03.144-.103.144h-1.02a.104.104 0 0 1-.102-.076L6 19.83c-.029-.106-.168-.106-.205-.007l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.15c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z",fill:"#000"})),K||(K=G.createElement("path",{d:"m7.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.108c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})))}),null),example:{attributes:{hiddenGrandChild:!1}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.name,a=t.ancestorTitleDisplay,r=t.ancestorTitleTagName,l=t.ancestorTitleClassName,c=t.ancestorTitleLink,i=t.displayHasChildOnly,s=t.hiddenGrandChild;t.name=o;var u=(0,Q.useBlockProps)();return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Ancestor Page List Setting","vk-blocks")},(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Display Ancestor Page Title","vk-blocks"),checked:a,onChange:function(e){return n({ancestorTitleDisplay:e})}}),(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Archive title tag","vk-blocks"),value:r,onChange:function(e){return n({ancestorTitleTagName:e})},options:[{value:"h2",label:(0,M.__)("h2","vk-blocks")},{value:"h3",label:(0,M.__)("h3","vk-blocks")},{value:"h4",label:(0,M.__)("h4","vk-blocks")},{value:"h5",label:(0,M.__)("h5","vk-blocks")},{value:"h6",label:(0,M.__)("h6","vk-blocks")}]}),(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Ancestor page title class name","vk-blocks"),value:l,className:"mt-0 mb-3",onChange:function(e){return n({ancestorTitleClassName:e})}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Add link to ancestor page title","vk-blocks"),checked:c,onChange:function(e){return n({ancestorTitleLink:e})}}),(0,P.createElement)("hr",null),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("If there is no child page, the block itself is not displayed","vk-blocks"),checked:i,onChange:function(e){return n({displayHasChildOnly:e})}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Don't display inactive grand child pages","vk-blocks"),checked:s,onChange:function(e){return n({hiddenGrandChild:e})}}))),(0,P.createElement)("div",u,(0,P.createElement)(se(),{block:"vk-blocks/ancestor-page-list",attributes:t})))}},pe=function(e){var t=!1;return e&&null!==e.match(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/)&&(t=!0),t};function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be,de,ke,_e,he=fe(fe({},{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null}}),{},{balloonImageType:{type:"string",default:"normal"}}),ge=fe(fe({},he),{},{balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"}}),ye=fe(fe({},ge),{},{balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"},balloonBorder:{type:"boolean",default:!1},balloonImageBorder:{type:"boolean",default:!1},balloonBorderWidth:{type:"string",default:"thin"},balloonBorderColor:{type:"string",default:null},balloonType:{type:"string",default:"type-speech"}}),Ee=fe(fe({},ye),{},{balloonBorderColor:{type:"string",default:"#cccccc"},balloonBgColor:{type:"string",default:"#f5f5f5"}}),xe=[{attributes:Ee,save:function(e){var t=e.attributes,n=t.balloonName,o=t.balloonType,a=t.balloonBorder,r=t.balloonImageBorder,l=t.balloonBorderColor,c=t.balloonBgColor,i=t.balloonAlign,s=t.IconImage,u=t.balloonImageType,m=t.balloonAnimation,p="",v="",f="",b={},d="",k="",_={},h={};!0===a?(p+="vk_balloon_content-border-true",!0===r?v+="vk_balloon_icon_image-border-true":v="",void 0!==l&&(v+=" has-text-color",p+=" has-text-color",pe(l)||(v+=" has-".concat(l,"-color"),p+=" has-".concat(l,"-color"))),pe(l)&&!pe(c)?b={borderColor:"".concat(l)}:!pe(l)&&pe(c)?b={background:"".concat(c)}:pe(l)&&pe(c)&&(b={borderColor:"".concat(l),background:"".concat(c)}),"position-left"===i?("type-speech"===o?(void 0!==c&&(d+=" has-text-color",pe(c)||(d+=" has-".concat(c,"-color"))),void 0!==l&&(k+=" has-text-color",pe(l)||(k+=" has-".concat(l,"-color")))):"type-think"===o&&(void 0!==l&&(d+=" has-text-color",pe(l)||(d+=" has-".concat(l,"-color"))),void 0!==l&&(k+=" has-text-color",pe(l)||(k+=" has-".concat(l,"-color")))),pe(l)&&(h={borderColor:"transparent transparent transparent ".concat(c)}),pe(c)&&(_={borderColor:"transparent ".concat(c," transparent transparent")})):"position-right"===i&&("type-speech"===o?(void 0!==c&&(d+=" has-text-color",pe(c)||(d+=" has-".concat(c,"-color"))),void 0!==l&&(k+=" has-text-color",pe(l)||(k+=" has-".concat(l,"-color")))):"type-think"===o&&void 0!==l&&(d+=" has-text-color",k+=" has-text-color",pe(l)||(d+=" has-".concat(l,"-color"),k+=" has-".concat(l,"-color"))),pe(l)&&(h={borderColor:"transparent ".concat(l," transparent transparent")}),pe(c)&&(_={borderColor:"transparent transparent transparent ".concat(c)}))):void 0!==c&&(v="",void 0!==c&&pe(c)&&(b={background:"".concat(c)}),"position-left"===i?("type-speech"===o&&void 0!==c&&(d+=" has-text-color",pe(c)||(d+=" has-".concat(c,"-color"))),pe(l)&&(h={borderColor:"transparent transparent transparent ".concat(c)}),pe(c)&&(_={borderColor:"transparent ".concat(c," transparent transparent")})):"position-right"===i&&("type-speech"===o&&void 0!==c&&(d+=" has-text-color",pe(c)||(d+=" has-".concat(c,"-color"))),pe(c)&&(_={borderColor:"transparent transparent transparent ".concat(c)}))),void 0!==c&&(f+=" has-background-color",pe(c)||(f+=" has-".concat(c,"-background-color")));var g=Q.useBlockProps.save({className:"vk_balloon vk_balloon-".concat(i," vk_balloon-").concat(o," vk_balloon-animation-").concat(m)});return(0,P.createElement)("div",g,(0,P.createElement)("div",{className:"vk_balloon_icon"},s?(0,P.createElement)("figure",null,(0,P.createElement)("img",{className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(u," ").concat(v),style:b,src:s,alt:""}),(0,P.createElement)(Q.RichText.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:n})):""),(0,P.createElement)("div",{className:"vk_balloon_content_outer"},(0,P.createElement)("div",{className:"vk_balloon_content ".concat(f," ").concat(p),style:b},(0,P.createElement)("span",{className:"vk_balloon_content_before ".concat(d),style:_}),(0,P.createElement)("span",{className:"vk_balloon_content_after ".concat(k),style:h}),(0,P.createElement)(Q.InnerBlocks.Content,null))))}},{attributes:Ee,save:function(e){var t,n,o,a,r,l=e.attributes,c=l.balloonName,i=l.balloonType,s=l.balloonBorder,u=l.balloonImageBorder,m=l.balloonBorderColor,p=l.balloonBgColor,v=l.balloonAlign,f=l.IconImage,b=l.balloonImageType,d=l.balloonAnimation;return!0===s?(t="vk_balloon_content-border-true",n=!0===u?"vk_balloon_icon_image-border-true":"",o=m,a=p):(t="",n="",o=p,a=p),r="position-right"===v?"transparent transparent transparent ".concat(a):"transparent ".concat(a," transparent transparent"),(0,P.createElement)("div",Q.useBlockProps.save({className:"vk_balloon vk_balloon-".concat(v," vk_balloon-").concat(i," vk_balloon-animation-").concat(d)}),(0,P.createElement)("div",{className:"vk_balloon_icon"},f?(0,P.createElement)("figure",null,(0,P.createElement)("img",{className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(b," ").concat(n),style:{borderColor:o},src:f,alt:""}),(0,P.createElement)(Q.RichText.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:c})):""),(0,P.createElement)("div",{className:"vk_balloon_content_outer"},(0,P.createElement)("div",{className:"vk_balloon_content ".concat(t),style:{backgroundColor:a,borderColor:o}},(0,P.createElement)("span",{className:"vk_balloon_content_before",style:{borderColor:r}}),(0,P.createElement)("span",{className:"vk_balloon_content_after",style:{borderColor:r}}),(0,P.createElement)(Q.InnerBlocks.Content,null))))}}];function Ce(){return Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ce.apply(this,arguments)}function Ne(){return Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ne.apply(this,arguments)}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Be(e,t){if(e){if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Te(e,t):void 0}}function we(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,r=[],_n=!0,l=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){l=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(l)throw a}}return r}}(e,t)||Be(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Se,Ie,Re,Ae=window.wp.apiFetch,Oe=n.n(Ae),ze=window.wp.data,Pe=function(e){var t=e.schema,n=e.setAttributes,o=function(e){var t;if(e){var n=(0,ze.select)("core/block-editor").getSettings().colors,o=(0,Q.getColorObjectByAttributeValues)(n,e);t=void 0!==o.color?o.color:e}return t}(e.attributes[t]);return(0,P.createElement)(Q.ColorPalette,{value:o,onChange:function(e){var o=(0,ze.select)("core/block-editor").getSettings().colors,a=(0,Q.getColorObjectByColorValue)(o,e);n(h({},t,void 0!==a?a.slug:e))}})},Me=JSON.parse('{"apiVersion":2,"name":"vk-blocks/balloon","title":"Ballon","description":"These speech balloons are perfect for recreating conversations.","category":"vk-blocks-cat","attributes":{"content":{"source":"html","selector":"p"},"balloonName":{"source":"html","selector":"figcaption"},"balloonType":{"type":"string","default":"type-speech"},"balloonFullWidth":{"type":"boolean","default":false},"balloonBorder":{"type":"boolean","default":false},"balloonImageBorder":{"type":"boolean","default":false},"balloonBorderWidth":{"type":"string","default":"thin"},"balloonBorderColor":{"type":"string"},"balloonBgColor":{"type":"string"},"balloonAlign":{"type":"string","default":"position-left"},"IconImage":{"type":"string","defaul":null},"balloonImageType":{"type":"string","default":"normal"},"balloonAnimation":{"type":"string","default":"none"}},"textdomain":"vk-blocks","supports":{"className":true}}'),Fe=Me.name,je={icon:(0,P.createElement)((function(e){return G.createElement("svg",Ce({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),be||(be=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 1.2H8.71c-.99 0-1.8.8-1.8 1.8v.27c0 .96-.62 1.8-1.53 2.1l-.93.3 1.15.48c.8.34 1.31 1.12 1.31 1.98 0 .92.75 1.67 1.67 1.67H18c1 0 1.8-.8 1.8-1.8V3c0-1-.8-1.8-1.8-1.8zM5.13 7.25c.35.15.58.5.58.88A2.87 2.87 0 0 0 8.58 11H18a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H8.71a3 3 0 0 0-3 3v.27a1 1 0 0 1-.7.95L1 5.5l4.13 1.75z",fill:"#000"})),de||(de=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.89 6.1H9V4.9h.89v1.2zm2.67 0h-1.78V4.9h1.78v1.2zm2.66 0h-1.78V4.9h1.78v1.2zm1.78 0h-.89V4.9H17v1.2zm4.21 10.6c0 .3.16.58.41.75L24 19l-2.23 1.09a1 1 0 0 0-.56.9 3 3 0 0 1-3 3.01H14a3 3 0 0 1-3-3v-3.89l1.06-1.1c.43-.46.53-1.05.38-1.57.45-.28.99-.44 1.56-.44h4.52a2.7 2.7 0 0 1 2.7 2.7zm-3 6.1H14c-1 0-1.8-.8-1.8-1.8v-4c0-1 .8-1.8 1.8-1.8h4.52c.82 0 1.5.67 1.5 1.5 0 .7.35 1.37.95 1.75l.6.4-.32.16A2.2 2.2 0 0 0 20 21c0 1-.8 1.81-1.8 1.81z",fill:"#000"})),ke||(ke=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),_e||(_e=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{attributes:{balloonName:H,balloonType:"type-speech",balloonBgColor:"#f5f5f5",balloonAlign:"position-left",IconImage:U,balloonImageType:"normal"},innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]},edit:function(e){var t,n,o=e.attributes,a=e.setAttributes,r=o.content,l=o.balloonName,c=o.balloonType,i=o.balloonBorder,s=o.balloonFullWidth,u=o.balloonImageBorder,m=o.balloonBorderColor,p=o.balloonBgColor,v=o.balloonAlign,f=o.IconImage,b=o.balloonImageType,d=o.balloonAnimation,k=we((0,P.useState)(null),2),_=k[0],h=k[1];(0,P.useEffect)((function(){Oe()({path:"/vk-blocks/v1/block-meta/balloon/",method:"GET",parse:!0}).then((function(e){h(e)}))}),[]),_&&_.default_icons&&(t=Object.keys(_.default_icons).map((function(e){var t=_.default_icons[e],n="";return t.src&&(n=(0,P.createElement)("div",{key:e},(0,P.createElement)(ne.Button,{onClick:function(){a({IconImage:t.src}),a({balloonName:t.name})},className:"button button-large components-button"},(0,P.createElement)("img",{className:"icon-image",src:t.src,alt:t.name})))),n}))),"type-serif"===c&&a({balloonType:"type-speech"}),null==b&&a({balloonImageType:"normal"}),null==d&&a({balloonAnimation:"none"}),null==i&&a({balloonBorder:!1}),null==u&&a({balloonImageBorder:!1});var g="",y="",E="",x={},C={},N="",T="",B={},w={},S={};S&&(C=S,x=S),"background"in x&&delete x.background,!0===i?(n=(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Border","vk-blocks")," "),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Add border to balloon","vk-blocks"),checked:i,onChange:function(e){return a({balloonBorder:e})}}),(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)(" Image Border","vk-blocks")),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Add border to image","vk-blocks"),className:"mb-1",checked:u,onChange:function(e){return a({balloonImageBorder:e})}}),(0,P.createElement)("p",null,(0,M.__)("* You can change border width on Setting > VK Blocks","vk-blocks")," "),(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Border color of speech balloon","vk-blocks")),(0,P.createElement)(Pe,Ne({schema:"balloonBorderColor"},e))),g+="vk_balloon_content-border-true",!0===u?y+="vk_balloon_icon_image-border-true":y="",void 0!==m&&(y+=" has-text-color",g+=" has-text-color",pe(m)||(y+=" has-".concat(m,"-color"),g+=" has-".concat(m,"-color"))),pe(m)&&!pe(p)?(C={borderColor:"".concat(m)},x={borderColor:"".concat(m)}):!pe(m)&&pe(p)?C={background:"".concat(p)}:pe(m)&&pe(p)&&(C={borderColor:"".concat(m),background:"".concat(p)},x={borderColor:"".concat(m)}),"position-left"===v?("type-speech"===c?(void 0!==p&&(N+=" has-text-color",pe(p)||(N+=" has-".concat(p,"-color"))),void 0!==m&&(T+=" has-text-color",pe(m)||(T+=" has-".concat(m,"-color")))):"type-think"===c&&(void 0!==m&&(N+=" has-text-color",pe(m)||(N+=" has-".concat(m,"-color"))),void 0!==m&&(T+=" has-text-color",pe(m)||(T+=" has-".concat(m,"-color")))),pe(m)&&(w={borderColor:"transparent transparent transparent ".concat(p)}),pe(p)&&(B={borderColor:"transparent ".concat(p," transparent transparent")})):"position-right"===v&&("type-speech"===c?(void 0!==p&&(N+=" has-text-color",pe(p)||(N+=" has-".concat(p,"-color"))),void 0!==m&&(T+=" has-text-color",pe(m)||(T+=" has-".concat(m,"-color")))):"type-think"===c&&void 0!==m&&(N+=" has-text-color",T+=" has-text-color",pe(m)||(N+=" has-".concat(m,"-color"),T+=" has-".concat(m,"-color"))),pe(m)&&(w={borderColor:"transparent ".concat(m," transparent transparent")}),pe(p)&&(B={borderColor:"transparent transparent transparent ".concat(p)}))):(n=(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Border","vk-blocks")),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Add border to balloon","vk-blocks"),checked:i,onChange:function(e){return a({balloonBorder:e})}})),y="",void 0!==p&&pe(p)&&(C={background:"".concat(p)}),"position-left"===v?("type-speech"===c&&void 0!==p&&(N+=" has-text-color",pe(p)||(N+=" has-".concat(p,"-color"))),pe(m)&&(w={borderColor:"transparent transparent transparent ".concat(p)}),pe(p)&&(B={borderColor:"transparent ".concat(p," transparent transparent")})):"position-right"===v&&("type-speech"===c&&void 0!==p&&(N+=" has-text-color",pe(p)||(N+=" has-".concat(p,"-color"))),pe(p)&&(B={borderColor:"transparent transparent transparent ".concat(p)}))),void 0!==p&&(E+=" has-background-color",pe(p)||(E+=" has-".concat(p,"-background-color"))),s&&(g+=" vk_balloon_content_fullwidth");var I=(0,Q.useBlockProps)({className:"vk_balloon vk_balloon-".concat(v," vk_balloon-").concat(c," vk_balloon-animation-").concat(d)});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Balloon setting","vk-blocks")},(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Position","vk-blocks")),(0,P.createElement)("p",{className:"mb-1"},(0,M.__)("Please specify the layout of the balloon.","vk-blocks")," "),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"position-left"===v,isSecondary:"position-left"!==v,onClick:function(){return a({balloonAlign:"position-left"})}},(0,M.__)("Left","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"position-right"===v,isSecondary:"position-right"!==v,onClick:function(){return a({balloonAlign:"position-right"})}},(0,M.__)("Right","vk-blocks"))),(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Type","vk-blocks")),(0,P.createElement)("p",{className:"mb-1"},(0,M.__)("Please select the type of balloon.","vk-blocks")," "),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"type-speech"===c,isSecondary:"type-speech"!==c,onClick:function(){return a({balloonType:"type-speech"})}},(0,M.__)("Speech","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"type-think"===c,isSecondary:"type-think"!==c,onClick:function(){return a({balloonType:"type-think"})}},(0,M.__)("Thinking","vk-blocks"))),(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Image Style","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"normal"===b,isSecondary:"normal"!==b,onClick:function(){return a({balloonImageType:"normal"})}},(0,M.__)("Normal","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"rounded"===b,isSecondary:"rounded"!==b,onClick:function(){return a({balloonImageType:"rounded"})}},(0,M.__)("Rounded","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"circle"===b,isSecondary:"circle"!==b,onClick:function(){return a({balloonImageType:"circle"})}},(0,M.__)("Circle","vk-blocks"))),(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Width","vk-blocks")),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("100%","vk-blocks"),checked:s,onChange:function(e){return a({balloonFullWidth:e})}})),n,(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Background color of speech balloon","vk-blocks")),(0,P.createElement)(Pe,Ne({schema:"balloonBgColor"},e))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Default Icon Setting","vk-blocks")},(0,P.createElement)("div",{className:"icon-image-list mb-2"},t),(0,P.createElement)("div",null,(0,M.__)("You can register default icons from Settings > VK Blocks in Admin.","vk-blocks"))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Animation setting","vk-blocks")},(0,P.createElement)("p",{className:"mb-1"},(0,M.__)("Please select the type of animation.","vk-blocks")," "),(0,P.createElement)(ne.SelectControl,{value:d,onChange:function(e){return a({balloonAnimation:e})},options:[{value:"none",label:(0,M.__)("None","vk-blocks")},{value:"trembling",label:(0,M.__)("Trembling","vk-blocks")},{value:"trembling-x",label:(0,M.__)("Trembling X","vk-blocks")},{value:"pounding",label:(0,M.__)("Pounding","vk-blocks")},{value:"shaking",label:(0,M.__)("Shaking","vk-blocks")}]}))),(0,P.createElement)("div",I,(0,P.createElement)("div",{className:"vk_balloon_icon"},(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return a({IconImage:e.sizes.full.url})},type:"image",className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(b," ").concat(y),value:f,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:f?"image-button":"button button-large"},f?(0,P.createElement)("img",{className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(b," ").concat(y),style:x,src:f,alt:(0,M.__)("Upload image","vk-blocks")}):(0,M.__)("Select image","vk-blocks"))}}),(0,P.createElement)(Q.RichText,{tagName:"figcaption",className:"vk_balloon_icon_name",onChange:function(e){return a({balloonName:e})},value:l,placeholder:(0,M.__)("Icon Name","vk-blocks")})),(0,P.createElement)("div",{className:"vk_balloon_content_outer"},(0,P.createElement)("div",{className:"vk_balloon_content ".concat(E," ").concat(g),style:C},(0,P.createElement)("span",{className:"vk_balloon_content_before ".concat(N),style:B}),(0,P.createElement)("span",{className:"vk_balloon_content_after ".concat(T),style:w}),(0,P.createElement)(Q.InnerBlocks,{templateLock:!1,template:[["core/paragraph",{content:r}]]})))))},save:function(e){var t=e.attributes,n=t.balloonName,o=t.balloonType,a=t.balloonBorder,r=t.balloonFullWidth,l=t.balloonImageBorder,c=t.balloonBorderColor,i=t.balloonBgColor,s=t.balloonAlign,u=t.IconImage,m=t.balloonImageType,p=t.balloonAnimation,v="",f="",b="",d={},k={},_="",h="",g={},y={},E={};E&&(k=E,d=E),"background"in d&&delete d.background,!0===a?(v+="vk_balloon_content-border-true",!0===l?f+="vk_balloon_icon_image-border-true":f="",void 0!==c&&(f+=" has-text-color",v+=" has-text-color",pe(c)||(f+=" has-".concat(c,"-color"),v+=" has-".concat(c,"-color"))),pe(c)&&!pe(i)?(k={borderColor:"".concat(c)},d={borderColor:"".concat(c)}):!pe(c)&&pe(i)?k={background:"".concat(i)}:pe(c)&&pe(i)&&(k={borderColor:"".concat(c),background:"".concat(i)},d={borderColor:"".concat(c)}),"position-left"===s?("type-speech"===o?(void 0!==i&&(_+=" has-text-color",pe(i)||(_+=" has-".concat(i,"-color"))),void 0!==c&&(h+=" has-text-color",pe(c)||(h+=" has-".concat(c,"-color")))):"type-think"===o&&(void 0!==c&&(_+=" has-text-color",pe(c)||(_+=" has-".concat(c,"-color"))),void 0!==c&&(h+=" has-text-color",pe(c)||(h+=" has-".concat(c,"-color")))),pe(c)&&(y={borderColor:"transparent transparent transparent ".concat(i)}),pe(i)&&(g={borderColor:"transparent ".concat(i," transparent transparent")})):"position-right"===s&&("type-speech"===o?(void 0!==i&&(_+=" has-text-color",pe(i)||(_+=" has-".concat(i,"-color"))),void 0!==c&&(h+=" has-text-color",pe(c)||(h+=" has-".concat(c,"-color")))):"type-think"===o&&void 0!==c&&(_+=" has-text-color",h+=" has-text-color",pe(c)||(_+=" has-".concat(c,"-color"),h+=" has-".concat(c,"-color"))),pe(c)&&(y={borderColor:"transparent ".concat(c," transparent transparent")}),pe(i)&&(g={borderColor:"transparent transparent transparent ".concat(i)}))):void 0!==i&&(f="",void 0!==i&&pe(i)&&(k={background:"".concat(i)}),"position-left"===s?("type-speech"===o&&void 0!==i&&(_+=" has-text-color",pe(i)||(_+=" has-".concat(i,"-color"))),pe(c)&&(y={borderColor:"transparent transparent transparent ".concat(i)}),pe(i)&&(g={borderColor:"transparent ".concat(i," transparent transparent")})):"position-right"===s&&("type-speech"===o&&void 0!==i&&(_+=" has-text-color",pe(i)||(_+=" has-".concat(i,"-color"))),pe(i)&&(g={borderColor:"transparent transparent transparent ".concat(i)}))),void 0!==i&&(b+=" has-background-color",pe(i)||(b+=" has-".concat(i,"-background-color"))),r&&(v+=" vk_balloon_content_fullwidth");var x=Q.useBlockProps.save({className:"vk_balloon vk_balloon-".concat(s," vk_balloon-").concat(o," vk_balloon-animation-").concat(p)});return(0,P.createElement)("div",x,(0,P.createElement)("div",{className:"vk_balloon_icon"},u?(0,P.createElement)("figure",null,(0,P.createElement)("img",{className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(m," ").concat(f),style:d,src:u,alt:""}),(0,P.createElement)(Q.RichText.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:n})):""),(0,P.createElement)("div",{className:"vk_balloon_content_outer"},(0,P.createElement)("div",{className:"vk_balloon_content ".concat(b," ").concat(v),style:k},(0,P.createElement)("span",{className:"vk_balloon_content_before ".concat(_),style:g}),(0,P.createElement)("span",{className:"vk_balloon_content_after ".concat(h),style:y}),(0,P.createElement)(Q.InnerBlocks.Content,null))))},deprecated:xe};function He(){return He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},He.apply(this,arguments)}var Le=JSON.parse('{"apiVersion":2,"name":"vk-blocks/border-box","title":"Border Box","category":"vk-blocks-cat","attributes":{"heading":{"type":"string","source":"html","selector":"h4"},"color":{"type":"string"},"borderColor":{"type":"string"},"bgColor":{"type":"string","default":"transparent"},"faIcon":{"type":"string","default":""},"bodyAlign":{"type":"string"}},"description":"This is a border box where you can place headings to attract attention.","textdomain":"vk-blocks","supports":{"className":true}}'),Ue=n(184),De=n.n(Ue);function Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function We(e,t,n){return t&&qe(e.prototype,t),n&&qe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Je(e,t){return Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Je(e,t)}function Ze(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Je(e,t)}function Ge(e){return Ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ge(e)}function Ye(e,t){if(t&&("object"===Ge(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Xe(e)}var $e=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(e){var t;return Ve(this,a),(t=o.call(this,e)).state={open:!1},t.buttonRef=(0,P.createRef)(),t}return We(a,[{key:"render",value:function(){var e=this,t="apc-icon-btn components-button is-secondary is-small";return(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:"components-base-control"},(0,P.createElement)("div",{className:"vk-blocks-button-icon-control__wrapper components-base-control__field"},(0,P.createElement)(ne.Button,{isTertiary:!0,className:"".concat(t," mb-1"),onClick:function(){e.setState({open:!e.state.open})},ref:this.buttonRef},this.props.label),this.state.open&&this.buttonRef.current&&(0,P.createElement)(ne.Popover,{anchorRect:this.buttonRef.current.getBoundingClientRect(),children:this.props.renderComp,onFocusOutside:function(n){n.relatedTarget&&!n.relatedTarget.closest(".".concat(t))&&n.relatedTarget!==e.buttonRef.current&&e.setState({open:!1})},focusOnMount:"container",className:"vk-blocks-advanced-popover-control"}))))}}]),a}(P.Component),Ke=function(e){var t=e.attributeName,n=e.attributes,o=e.setAttributes,a=vkFontAwesome.iconsUrl,r=vkFontAwesome.iconFamily,l=vkFontAwesome.versions,c=vkFontAwesome.currentVersion,i=we((0,P.useState)(!1),2),s=i[0],u=i[1],m=we((0,P.useState)(),2),p=m[0],v=m[1];(0,P.useEffect)((function(){v(c)}),[]);var f=(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.BaseControl,{className:"components-base-control__label",id:"vk_fa_icon_list",label:(0,M.__)("Icon","vk-blocks")+" ( "+r+" ) "},(0,P.createElement)(ne.RadioControl,{className:"vk_icon_list",selected:n[t],options:[{label:(0,P.createElement)("i",{className:"fas fa-arrow-right"}),value:'<i class="fas fa-arrow-right"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-down"}),value:'<i class="fas fa-arrow-down"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-left"}),value:'<i class="fas fa-arrow-left"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-circle-right"}),value:'<i class="fas fa-arrow-circle-right"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-circle-down"}),value:'<i class="fas fa-arrow-circle-down"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-circle-left"}),value:'<i class="fas fa-arrow-circle-left"></i>'},{label:(0,P.createElement)("i",{className:"far fa-arrow-alt-circle-right"}),value:'<i class="far fa-arrow-alt-circle-right"></i>'},{label:(0,P.createElement)("i",{className:"far fa-arrow-alt-circle-down"}),value:'<i class="far fa-arrow-alt-circle-down"></i>'},{label:(0,P.createElement)("i",{className:"far fa-arrow-alt-circle-left"}),value:'<i class="far fa-arrow-alt-circle-left"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-external-link-square-alt"}),value:'<i class="fas fa-external-link-square-alt"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-external-link-alt"}),value:'<i class="fas fa-external-link-alt"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-download"}),value:'<i class="fas fa-download"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-exclamation-triangle"}),value:'<i class="fas fa-exclamation-triangle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-exclamation-circle"}),value:'<i class="fas fa-exclamation-circle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-exclamation"}),value:'<i class="fas fa-exclamation"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-question"}),value:'<i class="fas fa-question"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-question-circle"}),value:'<i class="fas fa-question-circle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-info-circle"}),value:'<i class="fas fa-info-circle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-info"}),value:'<i class="fas fa-info"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-check"}),value:'<i class="fas fa-check"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-check-square"}),value:'<i class="fas fa-check-square"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-check-circle"}),value:'<i class="fas fa-check-circle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-phone"}),value:'<i class="fas fa-phone"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-phone-square"}),value:'<i class="fas fa-phone-square"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-mobile-alt"}),value:'<i class="fas fa-mobile-alt"></i>'},{label:(0,P.createElement)("i",{className:"far fa-envelope"}),value:'<i class="far fa-envelope"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-user"}),value:'<i class="fas fa-user"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-users"}),value:'<i class="fas fa-users"></i>'},{label:(0,P.createElement)("i",{className:"far fa-file-alt"}),value:'<i class="far fa-file-alt"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-file-alt"}),value:'<i class="fas fa-file-alt"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-file"}),value:'<i class="fas fa-file"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-file-pdf"}),value:'<i class="fas fa-file-pdf"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-building"}),value:'<i class="fas fa-building"></i>'},{label:(0,P.createElement)("i",{className:"fab fa-twitter"}),value:'<i class="fab fa-twitter"></i>'},{label:(0,P.createElement)("i",{className:"fab fa-facebook-square"}),value:'<i class="fab fa-facebook-square"></i>'},{label:(0,P.createElement)("i",{className:"fab fa-line"}),value:'<i class="fab fa-line"></i>'}],onChange:function(e){return o(h({},t,e))}})),(0,P.createElement)("hr",null),(0,P.createElement)(ne.ExternalLink,{href:a,className:"components-button is-primary mt-1"},(0,M.__)("Font Awesome icon list","vk-blocks")),(0,P.createElement)("p",{className:"mt-1"},(0,M.__)("If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.","vk-blocks"),(0,P.createElement)("br",null),(0,M.__)('Ex) <i class="fas fa-arrow-circle-right"></i>',"vk-blocks")),(0,P.createElement)("hr",null),(0,P.createElement)(ne.SelectControl,{label:"Font Awesome Version",value:p,options:l,onChange:function(e){return v(e)},className:"mt-1"}),(0,P.createElement)("p",{className:"mt-1"},(0,M.__)("When you click save button, the window will be reloaded and this setting will be applied.","vk-blocks")),(0,P.createElement)(ne.Button,{isPrimary:!0,disabled:s,onClick:function(){u(!0),Oe()({path:"/vk-blocks/v1/options/vk_font_awesome_version/",method:"POST",data:p}).then((function(){u(!1),window.location.reload()})).catch((function(){u(!1)}))}},(0,M.__)("Save","vk-blocks")));return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.TextControl,{value:n[t],onChange:function(e){return o(h({},t,e))},placeholder:'<i class="fas fa-arrow-circle-right"></i>',className:"mb-0"}),(0,P.createElement)($e,{label:(0,M.__)("Select Icon","vk-blocks"),renderComp:f,setAttributes:o}))},Qe=n(488),et=(Qe.domToReact,Qe.htmlToDOM,Qe.attributesToProps,Qe.Element,Qe),tt=function(e){var t,n,o=e.setAttributes,a=e.attributes,r=e.for_,l=e.className,c=a.heading,i=a.color,s=a.faIcon;"edit"===r?(t=(0,P.createElement)(Q.InnerBlocks,null),n=(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return o({heading:e})},value:c,placeholder:(0,M.__)("Please enter a title.","vk-blocks")})):(t=(0,P.createElement)(Q.InnerBlocks.Content,null),n=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:c}));var u=l;return-1===l.indexOf("is-style-")&&(u=De()(l,"is-style-vk_borderBox-style-solid-kado-tit-tab")),(0,P.createElement)("div",{className:"vk_borderBox vk_borderBox-color-".concat(i," ").concat(u)},(0,P.createElement)("div",{className:"vk_borderBox_title_container"},(0,P.createElement)("i",{className:"".concat(s)}),n),(0,P.createElement)("div",{className:"vk_borderBox_body"},t))},nt=function(e){var t,n,o=e.setAttributes,a=e.attributes,r=e.for_,l=e.className,c=a.heading,i=a.color,s=a.faIcon,u=a.bgColor;"edit"===r?(t=(0,P.createElement)(Q.InnerBlocks,null),n=(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return o({heading:e})},value:c,placeholder:(0,M.__)("Please enter a title.","vk-blocks")})):(t=(0,P.createElement)(Q.InnerBlocks.Content,null),n=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:c}));var m,p=l;return-1===l.indexOf("is-style-")&&(p=De()(l,"is-style-vk_borderBox-style-solid-kado-tit-tab")),m=-1===s.indexOf('<i class="')?'<i class="'.concat(s,'"></i>'):s,(0,P.createElement)("div",{className:"vk_borderBox vk_borderBox-color-".concat(i," vk_borderBox-background-").concat(u," ").concat(p)},(0,P.createElement)("div",{className:"vk_borderBox_title_container"},et(m),n),(0,P.createElement)("div",{className:"vk_borderBox_body"},t))};function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function at(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rt,lt,ct,it={heading:{type:"string",source:"html",selector:"h4"},color:{type:"string",default:"red"},faIcon:{type:"string",default:""}},st=at(at({},it),{},{bgColor:{type:"string",default:"transparent"}}),ut=at(at({},st),{},{borderColor:{type:"string"}}),mt=[{attributes:at(at({},ut),{},{color:{type:"string"}}),save:function(e){var t,n,o=e.attributes,a=o.heading,r=o.faIcon,l=o.color,c=o.bgColor,i=o.borderColor,s=(0,P.createElement)(Q.InnerBlocks.Content,null),u=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:a,"ß":!0}),m=De()("vk_borderBox",(h(t={},"vk_borderBox-color-".concat(l),!!l),h(t,"vk_borderBox-background-".concat(c),!!c),h(t,"has-text-color",!!i),h(t,"has-".concat(i,"-color"),!!i&&!pe(i)),t)),p={};void 0!==i&&pe(i)&&(p={color:"".concat(i)});var v=Q.useBlockProps.save({className:m,style:p});-1===v.className.indexOf("is-style-")&&(v.className+=" is-style-vk_borderBox-style-solid-kado-tit-tab");var f=!1;(-1<v.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-tab")||-1<v.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-banner")||-1<v.className.indexOf("is-style-vk_borderBox-style-solid-round-tit-tab"))&&(f=!0);var b,d=De()("vk_borderBox_title_container",(h(n={},"has-background",f&&!!i),h(n,"has-".concat(i,"-background-color"),f&&!!i&&!pe(i)),n)),k={};if(f&&void 0!==i&&pe(i)&&(k={backgroundColor:"".concat(i)}),-1<v.className.indexOf("vk_borderBox-style-solid-kado-iconFeature")&&!l){var _,g="",y=De()("vk_borderBox_icon_border",(h(_={},"has-background",!!i),h(_,"has-".concat(i,"-background-color"),!!i&&!pe(i)),_));void 0!==i&&pe(i)&&(g="background-color: ".concat(i,";")),b='<div class="'.concat(De()(y),'" style="').concat(g,'">').concat(r,"</div>")}else b=-1===r.indexOf('<i class="')?'<i class="'.concat(r,'"></i>'):r;return(0,P.createElement)("div",v,(0,P.createElement)("div",{className:d,style:k},et(b),u),(0,P.createElement)("div",{className:"vk_borderBox_body"},s))}},{attributes:ut,save:function(e){var t,n=e.attributes,o=n.heading,a=n.color,r=n.faIcon,l=n.bgColor,c=(0,P.createElement)(Q.InnerBlocks.Content,null),i=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:o}),s=Q.useBlockProps.save({className:"vk_borderBox vk_borderBox-color-".concat(a," vk_borderBox-background-").concat(l)});return-1===s.className.indexOf("is-style-")&&(s.className+=" is-style-vk_borderBox-style-solid-kado-tit-tab"),t=-1===r.indexOf('<i class="')?'<i class="'.concat(r,'"></i>'):r,(0,P.createElement)("div",s,(0,P.createElement)("div",{className:"vk_borderBox_title_container"},et(t),i),(0,P.createElement)("div",{className:"vk_borderBox_body"},c))}},{attributes:st,save:function(e){return(0,P.createElement)(nt,Ne({for_:"save"},e))}},{attributes:it,save:function(e){return(0,P.createElement)(tt,Ne({for_:"save"},e))}}],pt=mt,vt=Le.name,ft={icon:(0,P.createElement)((function(e){return G.createElement("svg",He({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Se||(Se=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1a1 1 0 0 0-1 1v11.28h1.5V7.5h21v13H10.2l.46 1.5H23a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-9V2a1 1 0 0 0-1-1H1zm9 3.75H4v-1.5h6v1.5z",fill:"#000"})),Ie||(Ie=G.createElement("path",{d:"M.87 22 0 19.47V21c0 .5.38.93.87 1zm9.76-4.5H20v-1h-8.42l-.95 1zm1.82-3H20v-1h-8.29c.38.22.64.59.74 1zm7.55-3v-1H4v1h16zm-9.11 3.28H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Re||(Re=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),category:"vk-blocks-cat",example:{attributes:{heading:F,faIcon:L},innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]},styles:[{name:"vk_borderBox-style-solid-kado-tit-tab",label:(0,M.__)("Solid Angle Tab","vk-blocks"),isDefault:!0},{name:"vk_borderBox-style-solid-round-tit-tab",label:(0,M.__)("Solid Round Tab","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-banner",label:(0,M.__)("Solid Angle Banner","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-onborder",label:(0,M.__)("Solid Angle Onborder","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-inner",label:(0,M.__)("Solid Angle Inner","vk-blocks")},{name:"vk_borderBox-style-solid-kado-iconFeature",label:(0,M.__)("Solid Angle iconFeature","vk-blocks")}],edit:function(e){var t,n,o=e.attributes,a=e.setAttributes,r=o.heading,l=o.faIcon,c=o.color,i=o.bgColor,s=o.borderColor,u=o.bodyAlign,m=vkFontAwesome.iconFamily,p=(0,P.createElement)(Q.InnerBlocks,{templateLock:!1,template:[["core/paragraph"]]}),v=(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return a({heading:e})},value:r,placeholder:(0,M.__)("Please enter a title.","vk-blocks")}),f=De()("vk_borderBox",(h(t={},"vk_borderBox-color-".concat(c),!!c),h(t,"vk_borderBox-background-".concat(i),!!i),h(t,"has-text-color",!!s),h(t,"has-".concat(s,"-color"),!!s&&!pe(s)),t)),b={};void 0!==s&&pe(s)&&(b={color:"".concat(s)});var d=(0,Q.useBlockProps)({className:De()(f),style:b});-1===d.className.indexOf("is-style-")&&(d.className+=" is-style-vk_borderBox-style-solid-kado-tit-tab");var k={red:"#dc3545",orange:"#ffa536",blue:"#4267b2",green:"#28a745",black:"#222222"};if(c)a({borderColor:k[c]}),a({color:""});else if(o.className&&o.className.match(/vk_borderBox-color-\w*/)){var _=o.className.split(" ").filter((function(e){return!e.match(/vk_borderBox-color-\w*/)}));a({className:De()(_)}),a({borderColor:k.red})}var g=!1;(-1<d.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-tab")||-1<d.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-banner")||-1<d.className.indexOf("is-style-vk_borderBox-style-solid-round-tit-tab"))&&(g=!0);var y,E=De()("vk_borderBox_title_container",(h(n={},"has-background",g&&!!s),h(n,"has-".concat(s,"-background-color"),g&&!!s&&!pe(s)),n)),x={};if(g&&void 0!==s&&pe(s)&&(x={backgroundColor:"".concat(s)}),-1<d.className.indexOf("vk_borderBox-style-solid-kado-iconFeature")&&!c){var C,N="",T=De()("vk_borderBox_icon_border",(h(C={},"has-background",!!s),h(C,"has-".concat(s,"-background-color"),!!s&&!pe(s)),C));void 0!==s&&pe(s)&&(N="background-color: ".concat(s,";")),y='<div class="'.concat(De()(T),'" style="').concat(N,'">').concat(l,"</div>")}else y=-1===l.indexOf('<i class="')?'<i class="'.concat(l,'"></i>'):l;var B=De()("vk_borderBox_body",h({},"vk_borderBox_body-align-".concat(u),!!u));return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(Q.BlockAlignmentControl,{value:u,onChange:function(e){return a({bodyAlign:e})},controls:["left","center","right"]})),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Margin","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("p",null,(0,M.__)("The margin-top of the first element and the margin-bottom of the last element in the border block will be automatically set to 0.If you want to add margins at the beginning and end, use a spacer block to specify height instead of margin.","vk-blocks")))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Color","vk-blocks")},(0,P.createElement)(ne.BaseControl,{id:"border-color",label:(0,M.__)("Border Color","vk-blocks")},(0,P.createElement)(Pe,Ne({schema:"borderColor"},e))),(0,P.createElement)(ne.BaseControl,{id:"background-color",label:(0,M.__)("Background Color","vk-blocks")},(0,P.createElement)(ne.SelectControl,{value:i,onChange:function(e){return a({bgColor:e})},options:[{value:"transparent",label:(0,M.__)("Transparent","vk-blocks")},{value:"white",label:(0,M.__)("White","vk-blocks")}]}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Icon","vk-blocks")},(0,P.createElement)(ne.BaseControl,{id:"dot-fa",label:(0,M.__)("Icon","vk-blocks")+" ( "+m+" )"},(0,P.createElement)(Ke,{attributeName:"faIcon",attributes:o,setAttributes:a})))),(0,P.createElement)("div",d,(0,P.createElement)("div",{className:De()(E),style:x},et(y),v),(0,P.createElement)("div",{className:B},p)))},save:function(e){var t,n,o=e.attributes,a=o.heading,r=o.faIcon,l=o.color,c=o.bgColor,i=o.borderColor,s=o.bodyAlign,u=(0,P.createElement)(Q.InnerBlocks.Content,null),m=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:a,"ß":!0}),p=De()("vk_borderBox",(h(t={},"vk_borderBox-color-".concat(l),!!l),h(t,"vk_borderBox-background-".concat(c),!!c),h(t,"has-text-color",!!i),h(t,"has-".concat(i,"-color"),!!i&&!pe(i)),t)),v={};void 0!==i&&pe(i)&&(v={color:"".concat(i)});var f=Q.useBlockProps.save({className:p,style:v});-1===f.className.indexOf("is-style-")&&(f.className+=" is-style-vk_borderBox-style-solid-kado-tit-tab");var b=!1;(-1<f.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-tab")||-1<f.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-banner")||-1<f.className.indexOf("is-style-vk_borderBox-style-solid-round-tit-tab"))&&(b=!0);var d,k=De()("vk_borderBox_title_container",(h(n={},"has-background",b&&!!i),h(n,"has-".concat(i,"-background-color"),b&&!!i&&!pe(i)),n)),_={};if(b&&void 0!==i&&pe(i)&&(_={backgroundColor:"".concat(i)}),-1<f.className.indexOf("vk_borderBox-style-solid-kado-iconFeature")&&!l){var g,y="",E=De()("vk_borderBox_icon_border",(h(g={},"has-background",!!i),h(g,"has-".concat(i,"-background-color"),!!i&&!pe(i)),g));void 0!==i&&pe(i)&&(y="background-color: ".concat(i,";")),d='<div class="'.concat(De()(E),'" style="').concat(y,'">').concat(r,"</div>")}else d=-1===r.indexOf('<i class="')?'<i class="'.concat(r,'"></i>'):r;var x=De()("vk_borderBox_body",h({},"vk_borderBox_body-align-".concat(s),!!s));return(0,P.createElement)("div",f,(0,P.createElement)("div",{className:k,style:_},et(d),m),(0,P.createElement)("div",{className:x},u))},deprecated:pt};function bt(){return bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bt.apply(this,arguments)}var dt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbIconSizeBefore,m=this.props.lbIconSizeAfter,p=this.props.lbRichtext,v=this.props.lbsubCaption,f="",b="",d="";if(f="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?f+=" btn has-background has-vk-color-".concat(n,"-background-color"):(f+=" btn has-background",pe(t)||(f+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(f+=" btn has-text-color",pe(e)||(f+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?f+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(f+=" btn has-text-color is-style-outline",pe(t)||(f+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?f+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(f+=" has-text-color vk_button_link-type-text",pe(t)||(f+=" has-".concat(t,"-color")))),f="".concat(f," btn-").concat(r),"block"===a&&(f="".concat(f," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var k=i.match(/class="(.*?)"/)[1];k+=" vk_button_link_before";var _=u?" style='font-size: ".concat(u,"'"):"";b='<i class="'.concat(k,'"').concat(_,"></i>")}if(s){var h=s.match(/class="(.*?)"/)[1];h+=" vk_button_link_after";var g=m?" style='font-size: ".concat(m,"'"):"";d='<i class="'.concat(h,'"').concat(g,"></i>")}return(0,P.createElement)("a",{href:l,style:null,className:f,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},(0,P.createElement)("div",{className:"vk_button_link_caption"},et(b),p,et(d)),v&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},v))}}]),a}(P.Component),kt=window.wp.primitives,_t=(0,P.createElement)(kt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,P.createElement)(kt.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"})),ht=(0,P.createElement)(kt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,P.createElement)(kt.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),gt=(0,P.createElement)(kt.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,P.createElement)(kt.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"})),yt=JSON.parse('{"apiVersion":2,"name":"vk-blocks/button","title":"Button","category":"vk-blocks-cat","attributes":{"content":{"type":"string","source":"html","selector":"span"},"subCaption":{"type":"string"},"buttonUrl":{"type":"string"},"buttonTarget":{"type":"Boolean","default":false},"buttonSize":{"type":"string","default":"md"},"buttonType":{"type":"string","default":"0"},"buttonColor":{"type":"string","default":"primary"},"buttonTextColorCustom":{"type":"string"},"buttonColorCustom":{"type":"string"},"buttonAlign":{"type":"string","default":"left"},"buttonWidthMobile":{"type":"number","default":0},"buttonWidthTablet":{"type":"number","default":0},"buttonWidth":{"type":"number","default":0},"outerGap":{"type":"string","default":null},"fontAwesomeIconBefore":{"type":"string"},"fontAwesomeIconAfter":{"type":"string"},"iconSizeBefore":{"type":"string","default":null},"iconSizeAfter":{"type":"string","default":null},"clientId":{"type":"string"},"blockId":{"type":"string"},"old_1_31_0":{"type":"string","default":true}},"description":"A button link that can display icons before and after.","textdomain":"vk-blocks","supports":{"className":true,"anchor":true}}');var Et=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,m="",p={},v="",f="";if(p=null,m="".concat(m="vk_button_link","0"===n||null===n||"1"===n?" btn":" vk_button_link-type-text"),"0"===n||null===n?"undefined"===e||null==e?(m="".concat(m," btn-").concat(t),p=null):p={backgroundColor:"".concat(e),border:"1px solid ".concat(e),color:"#fff"}:"1"===n?"undefined"===e||null==e?(m="".concat(m," btn-outline-").concat(t),p=null):p={backgroundColor:"transparent",border:"1px solid ".concat(e),color:"".concat(e)}:"2"===n&&("undefined"===e||null==e?(m="".concat(m," btn-outline-").concat(t),p=null):p={color:"".concat(e)}),m="".concat(m," btn-").concat(a),"block"===o&&(m="".concat(m," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var b=(c=c.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_before ",v=b.join("")}if(i){var d=(i=i.replace(/ fas/g,"fas")).split(" ");d[1]=" "+d[1]+" vk_button_link_after ",f=d.join("")}return(0,P.createElement)("a",{href:r,style:p,className:m,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener"},et(v),s,et(f),u&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},u))}}]),a}(P.Component);var xt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,m="",p="",v="";if(m="vk_button_link","0"!==n&&null!==n&&"1"!==n&&(m+=" vk_button_link-type-text"),"0"===n||null===n?"custom"!==t&&void 0===e?m+=" vk_button_btn has-background has-vk-color-".concat(t,"-background-color"):(m+=" has-background",pe(e)?m+=" vk_button_btn":m+=" vk_button_btn has-".concat(e,"-background-color")):"1"===n?"custom"!==t&&void 0===e?m+=" vk_button_btn has-text-color has-vk-color-".concat(t,"-color is-style-outline"):(m+=" has-text-color",pe(e)?m+=" vk_button_btn":m+=" vk_button_btn has-".concat(e,"-color is-style-outline")):"2"===n&&("custom"!==t&&void 0===e?m+=" has-text-color has-vk-color-".concat(t,"-color"):(m+=" has-text-color",pe(e)?m+="":m+=" has-".concat(e,"-color"))),m="".concat(m," btn-").concat(a),"block"===o&&(m="".concat(m," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var f=(c=c.replace(/ fas/g,"fas")).split(" ");f[1]=" "+f[1]+" vk_button_link_before ",p=f.join("")}if(i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_after ",v=b.join("")}return(0,P.createElement)("a",{href:r,style:null,className:m,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener"},et(p),s,et(v),u&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},u))}}]),a}(P.Component);var Ct=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,m="",p="",v="";if(m="vk_button_link","0"===n||null===n?"custom"!==t&&void 0===e?m+=" btn has-background has-vk-color-".concat(t,"-background-color"):(m+=" btn has-background",pe(e)||(m+=" has-".concat(e,"-background-color"))):"1"===n?"custom"!==t&&void 0===e?m+=" btn has-text-color is-style-outline has-vk-color-".concat(t,"-color"):(m+=" btn has-text-color is-style-outline",pe(e)||(m+=" has-".concat(e,"-color"))):"2"===n&&("custom"!==t&&void 0===e?m+=" has-text-color vk_button_link-type-text has-vk-color-".concat(t,"-color"):(m+=" has-text-color vk_button_link-type-text",pe(e)||(m+=" has-".concat(e,"-color")))),m="".concat(m," btn-").concat(a),"block"===o&&(m="".concat(m," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var f=(c=c.replace(/ fas/g,"fas")).split(" ");f[1]=" "+f[1]+" vk_button_link_before ",p=f.join("")}if(i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_after ",v=b.join("")}return(0,P.createElement)("a",{href:r,style:null,className:m,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener"},et(p),s,et(v),u&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},u))}}]),a}(P.Component);var Nt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,m="",p="",v="";if(m="vk_button_link","0"===n||null===n?"custom"!==t&&void 0===e?m+=" btn has-background has-vk-color-".concat(t,"-background-color"):(m+=" btn has-background",pe(e)||(m+=" has-".concat(e,"-background-color"))):"1"===n?"custom"!==t&&void 0===e?m+=" btn has-text-color is-style-outline has-vk-color-".concat(t,"-color"):(m+=" btn has-text-color is-style-outline",pe(e)||(m+=" has-".concat(e,"-color"))):"2"===n&&("custom"!==t&&void 0===e?m+=" has-text-color vk_button_link-type-text has-vk-color-".concat(t,"-color"):(m+=" has-text-color vk_button_link-type-text",pe(e)||(m+=" has-".concat(e,"-color")))),m="".concat(m," btn-").concat(a),"block"===o&&(m="".concat(m," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var f=(c=c.replace(/ fas/g,"fas")).split(" ");f[1]=" "+f[1]+" vk_button_link_before ",p=f.join("")}if(i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_after ",v=b.join("")}return(0,P.createElement)("a",{href:r,style:null,className:m,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener"},et(p),s,et(v),u&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},u))}}]),a}(P.Component);var Tt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",v="",f="";if(p="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?p+=" btn has-background has-vk-color-".concat(n,"-background-color"):(p+=" btn has-background",pe(t)||(p+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(p+=" btn has-text-color",pe(e)||(p+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?p+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(p+=" btn has-text-color is-style-outline",pe(t)||(p+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?p+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(p+=" has-text-color vk_button_link-type-text",pe(t)||(p+=" has-".concat(t,"-color")))),p="".concat(p," btn-").concat(r),"block"===a&&(p="".concat(p," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_before ",v=b.join("")}if(s){var d=(s=s.replace(/ fas/g,"fas")).split(" ");d[1]=" "+d[1]+" vk_button_link_after ",f=d.join("")}return(0,P.createElement)("a",{href:l,style:null,className:p,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},et(v),u,et(f),m&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},m))}}]),a}(P.Component);var Bt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",v="",f="";if(p="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?p+=" btn has-background has-vk-color-".concat(n,"-background-color"):(p+=" btn has-background",pe(t)||(p+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(p+=" btn has-text-color",pe(e)||(p+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?p+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(p+=" btn has-text-color is-style-outline",pe(t)||(p+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?p+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(p+=" has-text-color vk_button_link-type-text",pe(t)||(p+=" has-".concat(t,"-color")))),p="".concat(p," btn-").concat(r),"block"===a&&(p="".concat(p," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_before ",v=b.join("")}if(s){var d=(s=s.replace(/ fas/g,"fas")).split(" ");d[1]=" "+d[1]+" vk_button_link_after ",f=d.join("")}return(0,P.createElement)("a",{href:l,style:null,className:p,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},et(v),u,et(f),m&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},m))}}]),a}(P.Component);var wt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",v="",f="";if(p="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?p+=" btn has-background has-vk-color-".concat(n,"-background-color"):(p+=" btn has-background",pe(t)||(p+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(p+=" btn has-text-color",pe(e)||(p+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?p+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(p+=" btn has-text-color is-style-outline",pe(t)||(p+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?p+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(p+=" has-text-color vk_button_link-type-text",pe(t)||(p+=" has-".concat(t,"-color")))),p="".concat(p," btn-").concat(r),"block"===a&&(p="".concat(p," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var b=i.match(/class="(.*?)"/)[1];v='<i class="'.concat(b+=" vk_button_link_before",'"></i>')}if(s){var d=s.match(/class="(.*?)"/)[1];f='<i class="'.concat(d+=" vk_button_link_after",'"></i>')}return(0,P.createElement)("a",{href:l,style:null,className:p,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},et(v),u,et(f),m&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},m))}}]),a}(P.Component);var St=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",v="",f="";if(p="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?p+=" btn has-background has-vk-color-".concat(n,"-background-color"):(p+=" btn has-background",pe(t)||(p+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(p+=" btn has-text-color",pe(e)||(p+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?p+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(p+=" btn has-text-color is-style-outline",pe(t)||(p+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?p+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(p+=" has-text-color vk_button_link-type-text",pe(t)||(p+=" has-".concat(t,"-color")))),p="".concat(p," btn-").concat(r),"block"===a&&(p="".concat(p," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var b=i.match(/class="(.*?)"/)[1];v='<i class="'.concat(b+=" vk_button_link_before",'"></i>')}if(s){var d=s.match(/class="(.*?)"/)[1];f='<i class="'.concat(d+=" vk_button_link_after",'"></i>')}return(0,P.createElement)("a",{href:l,style:null,className:p,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},et(v),u,et(f),m&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},m))}}]),a}(P.Component);function It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var At=Rt(Rt({},{content:{type:"string",source:"html",selector:"span"},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}}),{},{subCaption:{type:"string",default:""}}),Ot=Rt(Rt({},At),{},{buttonUrl:{type:"string"},buttonColorCustom:{type:"string"},fontAwesomeIconBefore:{type:"string"},fontAwesomeIconAfter:{type:"string"},subCaption:{type:"string"},clientId:{type:"string"}}),zt=Rt(Rt({},Ot),{},{blockId:{type:"string"}}),Pt=Rt(Rt({},zt),{},{buttonTextColorCustom:{type:"string"}}),Mt=Rt(Rt({},Pt),{},{buttonWidth:{type:"number",default:0}}),Ft=Rt(Rt({},Mt),{},{buttonWidthMobile:{type:"number",default:0},buttonWidthTablet:{type:"number",default:0},buttonWidth:{type:"number",default:0}}),jt=Rt(Rt({},Ft),{},{old_1_31_0:{type:"string",default:!0}}),Ht=[{attributes:Rt(Rt({},jt),{},{outerGap:{type:"string",default:null}}),save:function(e){var t=e.attributes,n=t.content,o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonTextColorCustom,u=t.buttonColorCustom,m=t.buttonAlign,p=t.buttonWidthMobile,v=t.buttonWidthTablet,f=t.buttonWidth,b=t.outerGap,d=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter,_=t.blockId,h="";h=void 0!==u&&pe(u)||b?"vk_button vk_button-color-custom vk_button-".concat(_):"vk_button vk_button-color-custom",p||v||f?(p&&(h+=" vk_button-width-mobile-".concat(p)),v&&(h+=" vk_button-width-tablet-".concat(v)),f&&(h+=" vk_button-width-".concat(f))):h+=" vk_button-align-".concat(m);var g=Q.useBlockProps.save({className:h});return(0,P.createElement)("div",g,(0,P.createElement)(St,{lbTextColorCustom:s,lbColorCustom:u,lbColor:i,lbType:c,lbAlign:m,lbSize:l,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:d,lbFontAwesomeIconAfter:k,lbsubCaption:o,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:jt,save:function(e){var t=e.attributes,n=t.content,o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonTextColorCustom,u=t.buttonColorCustom,m=t.buttonAlign,p=t.buttonWidthMobile,v=t.buttonWidthTablet,f=t.buttonWidth,b=t.fontAwesomeIconBefore,d=t.fontAwesomeIconAfter,k=t.blockId,_="";_=void 0!==s&&pe(s)||void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-".concat(k):"vk_button vk_button-color-custom",p||v||f?(p&&(_+=" vk_button-width-mobile-".concat(p)),v&&(_+=" vk_button-width-tablet-".concat(v)),f&&(_+=" vk_button-width-".concat(f))):_+=" vk_button-align-".concat(m);var h=Q.useBlockProps.save({className:_});return(0,P.createElement)("div",h,(0,P.createElement)(wt,{lbTextColorCustom:s,lbColorCustom:u,lbColor:i,lbType:c,lbAlign:m,lbSize:l,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:b,lbFontAwesomeIconAfter:d,lbsubCaption:o,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:Ft,save:function(e){var t=e.attributes,n=t.content,o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonTextColorCustom,u=t.buttonColorCustom,m=t.buttonAlign,p=t.buttonWidth,v=t.fontAwesomeIconBefore,f=t.fontAwesomeIconAfter,b=t.blockId,d="";d=void 0!==s&&pe(s)||void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-".concat(b):"vk_button vk_button-color-custom",d+=p?" vk_button-width-".concat(p):" vk_button-align-".concat(m);var k=Q.useBlockProps.save({className:d});return(0,P.createElement)("div",k,(0,P.createElement)(Bt,{lbTextColorCustom:s,lbColorCustom:u,lbColor:i,lbType:c,lbAlign:m,lbSize:l,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:v,lbFontAwesomeIconAfter:f,lbsubCaption:o,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:Mt,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonTextColorCustom,m=n.buttonColorCustom,p=n.buttonAlign,v=n.fontAwesomeIconBefore,f=n.fontAwesomeIconAfter,b=n.blockId;t=void 0!==u&&pe(u)||void 0!==m&&pe(m)?"vk_button vk_button-color-custom vk_button-align-".concat(p," vk_button-").concat(b):"vk_button vk_button-color-custom vk_button-align-".concat(p);var d=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",d,(0,P.createElement)(Tt,{lbTextColorCustom:u,lbColorCustom:m,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:v,lbFontAwesomeIconAfter:f,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}},{attributes:zt,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonColorCustom,m=n.buttonAlign,p=n.fontAwesomeIconBefore,v=n.fontAwesomeIconAfter,f=n.blockId;t=void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-align-".concat(m," vk_button-").concat(f):"vk_button vk_button-color-custom vk_button-align-".concat(m);var b=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",b,(0,P.createElement)(Nt,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:v,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}},{attributes:Ot,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonColorCustom,m=n.buttonAlign,p=n.fontAwesomeIconBefore,v=n.fontAwesomeIconAfter,f=n.clientId;t=void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-align-".concat(m," vk_button-").concat(f):"vk_button vk_button-color-custom vk_button-align-".concat(m);var b=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",b,(0,P.createElement)(Ct,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:v,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}},{attributes:Ot,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonColorCustom,m=n.buttonAlign,p=n.fontAwesomeIconBefore,v=n.fontAwesomeIconAfter,f=n.clientId;t=void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-align-".concat(m," vk_button-").concat(f):"vk_button vk_button-color-custom vk_button-align-".concat(m);var b=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",b,(0,P.createElement)(xt,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:v,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}},{attributes:At,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonColorCustom,m=n.buttonAlign,p=n.fontAwesomeIconBefore,v=n.fontAwesomeIconAfter;t=u&&"undefined"!==u?"vk_button vk_button-color-custom vk_button-align-".concat(m):"vk_button vk_button-align-".concat(m);var f=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",f,(0,P.createElement)(Et,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:v,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}}];function Lt(e){var t,n,o,a,r,l=e.el,c=(t=e.attributes,n=t.buttonColorCustom,o=t.buttonType,a=t.clientId,r="",void 0!==n&&pe(n)&&("0"!==o&&null!==o||(r+=".vk_button-".concat(a," .has-background {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"1"===o&&(r+=".vk_button-".concat(a," .has-text-color.is-style-outline {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}\n\t\t\t.vk_button-").concat(a," .has-text-color.is-style-outline:hover {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"2"===o&&(r=".vk_button-".concat(a," .has-text-color.vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}\n\t\t\t.vk_button-").concat(a," .has-text-color.vk_button_link-type-text:hover {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}"))),r);return""!==c?(0,P.createElement)(P.Fragment,null,l,(0,P.createElement)("style",{type:"text/css"},c)):(0,P.createElement)(P.Fragment,null,l)}function Ut(e){var t,n,o,a,r,l,c=e.el,i=(t=e.attributes,n=t.buttonTextColorCustom,o=t.buttonColorCustom,a=t.buttonType,r=t.blockId,l="",void 0!==o&&pe(o)&&("0"!==a&&null!==a||(l+=".vk_button-".concat(r," .has-background {\n\t\t\t\tbackground-color: ").concat(o,";\n\t\t\t\tborder: 1px solid ").concat(o,";\n\t\t\t}")),"1"===a&&(l+=".vk_button-".concat(r," .has-text-color.is-style-outline {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(o,";\n\t\t\t\tcolor: ").concat(o,";\n\t\t\t}\n\t\t\t.vk_button-").concat(r," .has-text-color.is-style-outline:hover {\n\t\t\t\tbackground-color: ").concat(o,";\n\t\t\t\tborder: 1px solid ").concat(o,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"2"===a&&(l=".vk_button-".concat(r," .has-text-color.vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(o,";\n\t\t\t}"))),void 0!==n&&pe(n)&&("0"!==a&&null!==a||(l+=" .vk_button-".concat(r," .has-text-color {\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}"))),l);return""!==i?(0,P.createElement)(P.Fragment,null,c,(0,P.createElement)("style",{type:"text/css"},i)):(0,P.createElement)(P.Fragment,null,c)}var Dt,Vt,qt,Wt=[function(e){var t=e.el,n=e.attributes,o=function(e){var t=e.buttonTextColorCustom,n=e.buttonColorCustom,o=e.buttonType,a=e.blockId,r="";return void 0!==n&&pe(n)&&("0"!==o&&null!==o||(r+=".vk_button-".concat(a," .has-background {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t}")),"1"===o&&(r+=".vk_button-".concat(a," .has-text-color.is-style-outline {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}\n\t\t\t.vk_button-").concat(a," .has-text-color.is-style-outline:hover {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"2"===o&&(r=".vk_button-".concat(a," .has-text-color.vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}"))),void 0!==t&&pe(t)&&("0"!==o&&null!==o||(r+=" .vk_button-".concat(a," .has-text-color {\n\t\t\t\tcolor: ").concat(t,";\n\t\t\t}"))),r}(n),a=function(e,t){var n=e.buttonWidthMobile,o=e.buttonWidthTablet,a=e.buttonWidth,r=e.outerGap,l=e.blockId,c="",i=".vk_button";return r&&(n&&(c+="@media (max-width: 575.98px) {\n\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(n,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(n,"))) - 1px);\n\t\t\t\t}\n\t\t\t}")),o&&(c+="@media(min-width: 576px) and (max-width: 991.98px) {\n\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(o,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(o,"))) - 1px);\n\t\t\t\t}\n\t\t\t}")),a&&(c+="@media (min-width: 992px) {\n\t\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(a,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(a,"))) - 1px );\n\t\t\t\t}\n\t\t\t}"))),c}(n);return""!==o||""!==a?(0,P.createElement)(P.Fragment,null,t,(0,P.createElement)("style",{type:"text/css"},o," ",a)):(0,P.createElement)(P.Fragment,null,t)},Ut,Ut,Ut,Lt,Lt,function(e){var t,n,o,a,r,l=e.el,c=(t=e.attributes,n=t.clientId,o=t.buttonType,a=t.buttonColorCustom,r="",void 0!==a&&pe(a)&&("0"!==o&&null!==o||(r="\n\t\t\t.vk_button-".concat(n," .has-background {\n\t\t\t\tbackground-color: ").concat(a,";\n\t\t\t\tborder: 1px solid ").concat(a,";\n\t\t\t\tcolor: #fff;\n\t\t\t}\n\t\t\t")),"1"===o&&(r="\n\t\t\t.vk_button-".concat(n," .has-text-color {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(a,";\n\t\t\t\tcolor: ").concat(a,";\n\t\t\t}\n\t\t\t.vk_button-").concat(n," .has-text-color:hover {\n\t\t\t\tbackground-color: ").concat(a,";\n\t\t\t\tborder: 1px solid ").concat(a,";\n\t\t\t\tcolor: #fff;\n\t\t\t}\n\t\t\t")),"2"===o&&(r="\n\t\t\t.vk_button-".concat(n," .vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(a,";\n\t\t\t}\n\t\t\t"))),r);return""!==c?(0,P.createElement)(P.Fragment,null,l,(0,P.createElement)("style",{type:"text/css"},c)):(0,P.createElement)(P.Fragment,null,l)},function(e){return e.el}],Jt={from:[{type:"block",isMultiBlock:!1,blocks:["core/paragraph"],transform:function(e){var t=e.content,n=document.createElement("div");n.innerHTML=t;var o=n.innerText||"",a=n.querySelector("a"),r=null==a?void 0:a.getAttribute("href"),l=!(null==a||!a.getAttribute("target"));return(0,g.createBlock)(yt.name,{content:o,buttonUrl:r,buttonTarget:l})},isMatch:function(e){var t=document.createElement("div");t.innerHTML=e.content;var n=t.innerText||"",o=t.querySelectorAll("a");return n.length<=30&&o.length<=1}}]},Zt=Jt,Gt=window.wp.hooks,Yt=window.wp.compose,Xt=yt.name,$t={icon:(0,P.createElement)((function(e){return G.createElement("svg",bt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),rt||(rt=G.createElement("path",{d:"M5 8h14c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-6.94l-1.43 1.5H19a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v4.78h.27l.24-.69c.17-.47.54-.83.99-1V8.5c0-.28.22-.5.5-.5z",fill:"#000"})),lt||(lt=G.createElement("path",{d:"M8.5 12.5a1.6 1.6 0 0 0-.5-.68v-.32h8v1H8.5zm2.39 2.28H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),ct||(ct=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{attributes:{content:H,subCaption:F,buttonUrl:V,buttonTarget:!1,buttonSize:"md",buttonType:"0",buttonColor:"primary",buttonTextColorCustom:"undefined",buttonColorCustom:"undefined",buttonAlign:"left",buttonWidthMobile:0,buttonWidthTablet:0,outerGap:null,buttonWidth:0,fontAwesomeIconBefore:L,fontAwesomeIconAfter:L,iconSizeBefore:null,iconSizeAfter:null}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.content,r=t.subCaption,l=t.buttonUrl,c=t.buttonTarget,i=t.buttonSize,s=t.buttonType,u=t.buttonColor,m=t.buttonTextColorCustom,p=t.buttonColorCustom,v=t.buttonAlign,f=t.buttonWidthMobile,b=t.buttonWidthTablet,d=t.buttonWidth,k=t.outerGap,_=t.fontAwesomeIconBefore,h=t.fontAwesomeIconAfter,g=t.iconSizeBefore,y=t.iconSizeAfter,E=t.blockId,x=t.old_1_31_0,C=vkFontAwesome.iconFamily;(0,P.useEffect)((function(){void 0!==t.clientId&&n({clientId:void 0}),void 0!==E&&!1!==function(e){return!!(0,ze.select)("core/block-editor").getBlockParentsByBlockName(e,["core/block"]).length}(o)||n({blockId:o}),null!==l&&"null"!==l&&"undefined"!==l&&""!==l||n({buttonUrl:void 0}),void 0===p&&n({buttonTextColorCustom:void 0}),null!==p&&"null"!==p&&"undefined"!==p&&""!==p||n({buttonColorCustom:void 0}),null!==_&&"null"!==_&&"undefined"!==_&&""!==_||n({fontAwesomeIconBefore:void 0}),null!==h&&"null"!==h&&"undefined"!==h&&""!==h||n({fontAwesomeIconAfter:void 0}),null!==r&&"null"!==r&&"undefined"!==r&&""!==r||n({subCaption:void 0}),void 0===x&&(void 0===f&&n({buttonWidthMobile:d}),void 0===b&&n({buttonWidthTablet:d}),n({old_1_31_0:!0}))}),[o]);var N=(0,ze.dispatch)("core/block-editor").updateBlockAttributes;(0,P.useEffect)((function(){"custom"!==u?(N(o,{buttonTextColorCustom:void 0}),N(o,{buttonColorCustom:void 0})):void 0===p&&"custom"===u&&(N(o,{buttonColor:"primary"}),N(o,{buttonTextColorCustom:void 0}))}),[u]),(0,P.useEffect)((function(){void 0!==p?N(o,{buttonColor:"custom"}):"custom"===u&&N(o,{buttonColor:"primary"})}),[p]);var T,B=!!(0,ze.select)("core/block-editor").getBlockParentsByBlockName(o,["vk-blocks/button-outer"]).length;T=void 0!==p&&pe(p)||void 0!==m&&pe(m)||k?"vk_button vk_button-color-custom vk_button-".concat(E):"vk_button vk_button-color-custom",B?(f&&(T+=" vk_button-width-mobile-".concat(f)),b&&(T+=" vk_button-width-tablet-".concat(b)),d&&(T+=" vk_button-width-".concat(d))):(T+=" vk_button-align-".concat(v),n({buttonWidth:0}));var w=[{value:"px",label:"px",default:16},{value:"em",label:"em",default:1},{value:"rem",label:"rem",default:1}],S=(0,Q.useBlockProps)({className:T});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.BlockControls,null,(0,P.createElement)(ne.ToolbarGroup,null,(0,P.createElement)(ne.Dropdown,{renderToggle:function(e){var t=e.isOpen,o=e.onToggle;return(0,P.createElement)(ne.ToolbarButton,{"aria-expanded":t,icon:""!==l&&t?_t:ht,isActive:!(""===l||!t),label:""!==l&&t?(0,M.__)("Unlink"):(0,M.__)("Input Link URL","vk-blocks"),onClick:function(){t&&""!==l&&n({buttonUrl:""}),o()}})},renderContent:function(e){return(0,P.createElement)("div",{className:"block-editor-url-input__button block-editor-link-control"},(0,P.createElement)("form",{className:"block-editor-link-control__search-input-wrapper",onSubmit:function(){e.onClose()}},(0,P.createElement)("div",{className:"block-editor-link-control__search-input"},(0,P.createElement)(Q.URLInput,{value:l,onChange:function(e){n({buttonUrl:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:c,onChange:function(e){return n({buttonTarget:e})}}),(0,P.createElement)("div",{className:"block-editor-link-control__search-actions"},(0,P.createElement)(ne.Button,{icon:gt,label:(0,M.__)("Submit"),type:"submit"})))))}}))),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Button setting","vk-blocks")},(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Sub Caption","vk-blocks"),value:r,className:"mt-0 mb-3",onChange:function(e){return n({subCaption:e})},placeholder:"Sub Caption"}),(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Button Size:","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"lg"===i,isSecondary:"lg"!==i,onClick:function(){return n({buttonSize:"lg"})}},(0,M.__)("Large","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"md"===i,isSecondary:"md"!==i,onClick:function(){return n({buttonSize:"md"})}},(0,M.__)("Normal","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"sm"===i,isSecondary:"sm"!==i,onClick:function(){return n({buttonSize:"sm"})}},(0,M.__)("Small","vk-blocks"))),!B&&(0,P.createElement)(P.Fragment,null,(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Button Position:","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"left"===v,isSecondary:"left"!==v,onClick:function(){return n({buttonAlign:"left"})}},(0,M.__)("Left","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"center"===v,isSecondary:"center"!==v,onClick:function(){return n({buttonAlign:"center"})}},(0,M.__)("Center","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"right"===v,isSecondary:"right"!==v,onClick:function(){return n({buttonAlign:"right"})}},(0,M.__)("Right","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"wide"===v,isSecondary:"wide"!==v,onClick:function(){return n({buttonAlign:"wide"})}},(0,M.__)("Wide","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"block"===v,isSecondary:"block"!==v,onClick:function(){return n({buttonAlign:"block"})}},(0,M.__)("Block","vk-blocks")))),B&&(0,P.createElement)(P.Fragment,null,(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Button Width:","vk-blocks")),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Mobile","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:25===f,isSecondary:25!==f,onClick:function(){return n({buttonWidthMobile:25===f?0:25})}},(0,M.__)("25%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:50===f,isSecondary:50!==f,onClick:function(){return n({buttonWidthMobile:50===f?0:50})}},(0,M.__)("50%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:75===f,isSecondary:75!==f,onClick:function(){return n({buttonWidthMobile:75===f?0:75})}},(0,M.__)("75%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:100===f,isSecondary:100!==f,onClick:function(){return n({buttonWidthMobile:100===f?0:100})}},(0,M.__)("100%","vk-blocks"))),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Tablet","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:25===b,isSecondary:25!==b,onClick:function(){return n({buttonWidthTablet:25===b?0:25})}},(0,M.__)("25%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:50===b,isSecondary:50!==b,onClick:function(){return n({buttonWidthTablet:50===b?0:50})}},(0,M.__)("50%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:75===b,isSecondary:75!==b,onClick:function(){return n({buttonWidthTablet:75===b?0:75})}},(0,M.__)("75%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:100===b,isSecondary:100!==b,onClick:function(){return n({buttonWidthTablet:100===b?0:100})}},(0,M.__)("100%","vk-blocks"))),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("PC","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:25===d,isSecondary:25!==d,onClick:function(){return n({buttonWidth:25===d?0:25})}},(0,M.__)("25%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:50===d,isSecondary:50!==d,onClick:function(){return n({buttonWidth:50===d?0:50})}},(0,M.__)("50%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:75===d,isSecondary:75!==d,onClick:function(){return n({buttonWidth:75===d?0:75})}},(0,M.__)("75%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:100===d,isSecondary:100!==d,onClick:function(){return n({buttonWidth:100===d?0:100})}},(0,M.__)("100%","vk-blocks")))),(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Button Style:","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-2"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"0"===s,isSecondary:"0"!==s,onClick:function(){return n({buttonType:"0"})}},(0,M.__)("Solid color","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"1"===s,isSecondary:"1"!==s,onClick:function(){n({buttonType:"1"}),n({buttonTextColorCustom:void 0})}},(0,M.__)("No background","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"2"===s,isSecondary:"2"!==s,onClick:function(){n({buttonType:"2"}),n({buttonTextColorCustom:void 0})}},(0,M.__)("Text only","vk-blocks"))),(0,P.createElement)("p",{className:"mb-3"},(0,M.__)('If you select "No background", that you need to select a Custom Color.',"vk-blocks")),(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Color","vk-blocks")),(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Default Color (Bootstrap)","vk-blocks"),value:u,options:[{label:(0,M.__)("Primary","vk-blocks"),value:"primary"},{label:(0,M.__)("Secondary","vk-blocks"),value:"secondary"},{label:(0,M.__)("Success","vk-blocks"),value:"success"},{label:(0,M.__)("Info","vk-blocks"),value:"info"},{label:(0,M.__)("Warning","vk-blocks"),value:"warning"},{label:(0,M.__)("Danger","vk-blocks"),value:"danger"},{label:(0,M.__)("Light","vk-blocks"),value:"light"},{label:(0,M.__)("Dark","vk-blocks"),value:"dark"},{label:(0,M.__)("Custom Color","vk-blocks"),value:"custom"}],onChange:function(e){return n({buttonColor:e})}}),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Custom Color","vk-blocks"),id:"vk_block_button_custom_color"},(0,P.createElement)(ne.BaseControl,{id:"vk_block_button_custom_background_color",label:"0"===s||null===s?(0,M.__)("Background Color","vk-blocks"):(0,M.__)("Button Color","vk-blocks"),help:(0,M.__)("This color palette overrides the default color. If you want to use the default color, click the clear button.","vk-blocks")},(0,P.createElement)(Pe,Ne({schema:"buttonColorCustom"},e))),("0"===s||null===s)&&void 0!==p&&(0,P.createElement)(ne.BaseControl,{id:"vk_block_button_custom_text_color",label:(0,M.__)("Text Color","vk-blocks")},(0,P.createElement)(Pe,Ne({schema:"buttonTextColorCustom"},e)))),(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Icon","vk-blocks")+" ( "+C+" )"),(0,P.createElement)(ne.BaseControl,{id:"vk_block_button_fa_before_text",label:(0,M.__)("Before text","vk-blocks")},(0,P.createElement)(Ke,Ne({attributeName:"fontAwesomeIconBefore"},e)),(0,P.createElement)(ne.__experimentalUnitControl,{label:(0,M.__)("Size","vk-blocks"),value:g,units:w,onChange:function(e){n({iconSizeBefore:parseFloat(e)?e:null})}})),(0,P.createElement)("hr",null),(0,P.createElement)(ne.BaseControl,{id:"vk_block_button_fa_after_text",label:(0,M.__)("After text","vk-blocks")},(0,P.createElement)(Ke,Ne({attributeName:"fontAwesomeIconAfter"},e)),(0,P.createElement)(ne.__experimentalUnitControl,{label:(0,M.__)("Size","vk-blocks"),value:y,units:w,onChange:function(e){n({iconSizeAfter:parseFloat(e)?e:null})}}))))),(0,P.createElement)("div",S,(0,P.createElement)(dt,{lbTextColorCustom:m,lbColorCustom:p,lbColor:u,lbType:s,lbAlign:v,lbSize:i,lbFontAwesomeIconBefore:_,lbFontAwesomeIconAfter:h,lbIconSizeBefore:g,lbIconSizeAfter:y,lbsubCaption:r,lbRichtext:(0,P.createElement)(Q.RichText,{tagName:"span",className:"vk_button_link_txt",onChange:function(e){return n({content:e})},value:a,placeholder:(0,M.__)("Input text","vk-blocks"),allowedFormats:["core/bold","core/italic","core/strikethrough","core/superscript","core/subscript","vk-blocks/responsive-br","vk-blocks/nowrap","vk-blocks/inline-font-size"],isSelected:!0})})))},save:function(e){var t=e.attributes,n=t.content,o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonTextColorCustom,u=t.buttonColorCustom,m=t.buttonAlign,p=t.buttonWidthMobile,v=t.buttonWidthTablet,f=t.buttonWidth,b=t.outerGap,d=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter,_=t.iconSizeBefore,h=t.iconSizeAfter,g=t.blockId,y="";y=void 0!==u&&pe(u)||void 0!==s&&pe(s)||b?"vk_button vk_button-color-custom vk_button-".concat(g):"vk_button vk_button-color-custom",p||v||f?(p&&(y+=" vk_button-width-mobile-".concat(p)),v&&(y+=" vk_button-width-tablet-".concat(v)),f&&(y+=" vk_button-width-".concat(f))):y+=" vk_button-align-".concat(m);var E=Q.useBlockProps.save({className:y});return(0,P.createElement)("div",E,(0,P.createElement)(dt,{lbTextColorCustom:s,lbColorCustom:u,lbColor:i,lbType:c,lbAlign:m,lbSize:l,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:d,lbFontAwesomeIconAfter:k,lbIconSizeBefore:_,lbIconSizeAfter:h,lbsubCaption:o,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))},deprecated:Ht,transforms:Zt},Kt=function(e){var t=e.buttonTextColorCustom,n=e.buttonColorCustom,o=e.buttonType,a=e.blockId,r="";return void 0!==n&&pe(n)&&("0"!==o&&null!==o||(r+=".vk_button-".concat(a," .has-background {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t}")),"1"===o&&(r+=".vk_button-".concat(a," .has-text-color.is-style-outline {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}\n\t\t\t.vk_button-").concat(a," .has-text-color.is-style-outline:hover {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"2"===o&&(r=".vk_button-".concat(a," .has-text-color.vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}"))),void 0!==t&&pe(t)&&("0"!==o&&null!==o||(r+=" .vk_button-".concat(a," .has-text-color {\n\t\t\t\tcolor: ").concat(t,";\n\t\t\t}"))),r},Qt=function(e,t){var n=e.buttonWidthMobile,o=e.buttonWidthTablet,a=e.buttonWidth,r=e.outerGap,l=e.blockId,c="",i=t?".vk_button":".vk_buttons .vk_buttons_col .block-editor-block-list__layout .vk_button";return r&&(n&&(c+="@media (max-width: 575.98px) {\n\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(n,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(n,"))) - 1px);\n\t\t\t\t}\n\t\t\t}")),o&&(c+="@media(min-width: 576px) and (max-width: 991.98px) {\n\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(o,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(o,"))) - 1px);\n\t\t\t\t}\n\t\t\t}")),a&&(c+="@media (min-width: 992px) {\n\t\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(a,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(a,"))) - 1px );\n\t\t\t\t}\n\t\t\t}"))),c},en=(0,Yt.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes;if("vk-blocks/button"===t.name){var o=Kt(n),a=Qt(n,!1);return""!==o||""!==a?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,t),(0,P.createElement)("style",{type:"text/css"},o," ",a)):(0,P.createElement)(e,t)}return(0,P.createElement)(e,t)}}),"VKButtonInlineEditorCss");function tn(){return tn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},tn.apply(this,arguments)}function nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function on(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/button",en),(0,Gt.addFilter)("blocks.getSaveElement","vk-blocks/button",(function(e,t,n){if("vk-blocks/button"===t.name){var o=Ht.findIndex((function(e){return e.save===t.save}));if(-1===o){var a=Kt(n),r=Qt(n,!0);return""!==a||""!==r?(0,P.createElement)(P.Fragment,null,e,(0,P.createElement)("style",{type:"text/css"},a," ",r)):e}var l=Wt[o];return(0,P.createElement)(l,{el:e,attributes:n})}return e}),11);var an,rn,ln,cn,sn={heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"}},un=[{attributes:sn,save:function(e){var t=e.attributes,n=e.className,o=t.heading,a=t.content;return(0,P.createElement)("dl",{className:"".concat(n," vk_faq")},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:o}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_faq_content",value:a}))}},{attributes:sn,save:function(e){var t=e.attributes,n=t.heading,o=t.content;return(0,P.createElement)("dl",{className:"vk_faq"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_faq_content",value:o}))}},{attributes:on({},sn),save:function(e){var t=e.attributes.heading;return(0,P.createElement)("dl",{className:"vk_faq"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:t}),(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks.Content,null)))}},{attributes:on({},sn),save:function(e){var t=e.attributes.heading;return(0,P.createElement)("dl",{className:"vk_faq [accordion_trigger_switch]"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:t}),(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks.Content,null)))}}],mn=un,pn=JSON.parse('{"apiVersion":2,"name":"vk-blocks/faq","title":"Classic FAQ","category":"vk-blocks-cat","description":"Displays a combination of questions and answers.","textdomain":"vk-blocks","attributes":{"heading":{"type":"string","source":"html","selector":"dt"}},"supports":{"anchor":true}}'),vn=pn.name,fn={icon:(0,P.createElement)((function(e){return G.createElement("svg",tn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Dt||(Dt=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Vt||(Vt=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),qt||(qt=G.createElement("path",{d:"M5.07 0C3.57 0 2.35.49 1.4 1.47A5.2 5.2 0 0 0 0 5.24c0 1.54.48 2.81 1.43 3.79a4.87 4.87 0 0 0 3.64 1.44c1 0 1.85-.2 2.36-.53l1.35 1.39 1.38-1.38-1.19-1.21c.73-.9 1.17-2.1 1.17-3.5A4.9 4.9 0 0 0 5.07 0zM3.08 5.24c0-1.63.73-2.75 1.97-2.75 1.12 0 2 .9 2 2.75 0 .51-.06.93-.19 1.33l-.84-.86-1.39 1.35.84.86c-.14.05-.26.06-.4.06-1.16 0-1.99-.95-1.99-2.74zM13.52 7c-.91 0-1.69.64-1.69 1.55 0 .45.14.86.62 1.45-.96.47-1.45 1.17-1.45 1.96 0 1.25.89 2.04 2.09 2.04.73 0 1.3-.28 1.81-.8l.53.67H17l-1.31-1.61c.32-.43.55-.98.62-1.67h-1.1c-.04.3-.13.59-.24.8l-.83-1.07c.75-.43 1.14-.99 1.14-1.7 0-1.07-.81-1.62-1.76-1.62zM13 8.5c0-.36.27-.6.57-.6.33 0 .6.3.6.65 0 .42-.2.68-.67.97-.41-.5-.5-.73-.5-1.02zm-.78 3.5c0-.48.33-.87.9-1.13l1.1 1.42c-.36.44-.7.6-1.08.6a.93.93 0 0 1-.92-.9zm5.34 2L14 24h2.98l.45-1.43h3.07l.41 1.43H24l-3.52-10h-2.92zm1.45 3.35h.03l.87 3.08h-1.83l.93-3.08z",fill:"#000"})))}),null),styles:[{name:"vk_faq-normal",label:(0,M.__)("Normal","vk-blocks"),isDefault:!0},{name:"vk_faq-bgfill-circle",label:(0,M.__)("Bgfill Circle","vk-blocks")},{name:"vk_faq-bgfill-square",label:(0,M.__)("Bgfill Square","vk-blocks")},{name:"vk_faq-bgfill-rounded",label:(0,M.__)("Bgfill Rounded","vk-blocks")},{name:"vk_faq-border-circle",label:(0,M.__)("Border Circle","vk-blocks")},{name:"vk_faq-border-square",label:(0,M.__)("Border Square","vk-blocks")},{name:"vk_faq-border-rounded",label:(0,M.__)("Border Rounded","vk-blocks")}],example:{attributes:{heading:F},innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]},save:function(e){var t=e.attributes.heading;return(0,P.createElement)("dl",Q.useBlockProps.save({className:"vk_faq [accordion_trigger_switch]"}),(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:t}),(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks.Content,null)))},edit:function(e){var t,n=e.attributes,o=e.setAttributes;t=vk_blocks_check.is_pro?(0,M.__)("If you want to be collapsing this block, you can set it at Setting > VK Blocks","vk-blocks"):(0,M.__)("You can be collapsing this block at VK Blocks Pro","vk-blocks");var a=n.heading,r=[["core/paragraph",{content:n.content}]],l=(0,Q.useBlockProps)({className:"vk_faq [accordion_trigger_switch]"});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Accordion Setting","vk-blocks")},(0,P.createElement)(ne.PanelRow,null,t))),(0,P.createElement)("dl",l,(0,P.createElement)(Q.RichText,{tagName:"dt",className:"vk_faq_title",onChange:function(e){return o({heading:e})},value:a,placeholder:(0,M.__)("Please enter a question.","vk-blocks")}),(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks,{template:r}))))},deprecated:mn};function bn(){return bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bn.apply(this,arguments)}var dn,kn,hn,gn={heading:{type:"string",source:"html",selector:"dt"},content:{type:"string"}},yn=[{attributes:gn,save:function(){return(0,P.createElement)("dl",Q.useBlockProps.save({className:"vk_faq [accordion_trigger_switch]"}),(0,P.createElement)(Q.InnerBlocks.Content,null))}},{attributes:gn,save:function(){return(0,P.createElement)("dl",{className:"vk_faq"},(0,P.createElement)(Q.InnerBlocks.Content,null))}}],En=JSON.parse('{"apiVersion":2,"name":"vk-blocks/faq2","category":"vk-blocks-cat","title":"New FAQ","description":"It displays a combination of questions and answers. You can freely add blocks to the question area as well.","textdomain":"vk-blocks","supports":{"anchor":true,"className":true}}'),xn=En.name,Cn={icon:(0,P.createElement)((function(e){return G.createElement("svg",bn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),an||(an=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),rn||(rn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),ln||(ln=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 0h-8v8h8V0zm-4.75 1v2.25H17v1.5h2.25V7h1.5V4.75H23v-1.5h-2.25V1h-1.5z",fill:"#000"})),cn||(cn=G.createElement("path",{d:"M5.07 0C3.57 0 2.35.49 1.4 1.47A5.2 5.2 0 0 0 0 5.24c0 1.54.48 2.81 1.43 3.79a4.87 4.87 0 0 0 3.64 1.44c1 0 1.85-.2 2.36-.53l1.35 1.39 1.38-1.38-1.19-1.21c.73-.9 1.17-2.1 1.17-3.5A4.9 4.9 0 0 0 5.07 0zM3.08 5.24c0-1.63.73-2.75 1.97-2.75 1.12 0 2 .9 2 2.75 0 .51-.06.93-.19 1.33l-.84-.86-1.39 1.35.84.86c-.14.05-.26.06-.4.06-1.16 0-1.99-.95-1.99-2.74zM13.52 7c-.91 0-1.69.64-1.69 1.55 0 .45.14.86.62 1.45-.96.47-1.45 1.17-1.45 1.96 0 1.25.89 2.04 2.09 2.04.73 0 1.3-.28 1.81-.8l.53.67H17l-1.31-1.61c.32-.43.55-.98.62-1.67h-1.1c-.04.3-.13.59-.24.8l-.83-1.07c.75-.43 1.14-.99 1.14-1.7 0-1.07-.81-1.62-1.76-1.62zM13 8.5c0-.36.27-.6.57-.6.33 0 .6.3.6.65 0 .42-.2.68-.67.97-.41-.5-.5-.73-.5-1.02zm-.78 3.5c0-.48.33-.87.9-1.13l1.1 1.42c-.36.44-.7.6-1.08.6a.93.93 0 0 1-.92-.9zm5.34 2L14 24h2.98l.45-1.43h3.07l.41 1.43H24l-3.52-10h-2.92zm1.45 3.35h.03l.87 3.08h-1.83l.93-3.08z",fill:"#000"})))}),null),styles:[{name:"vk_faq-normal",label:(0,M.__)("Normal","vk-blocks"),isDefault:!0},{name:"vk_faq-bgfill-circle",label:(0,M.__)("Bgfill Circle","vk-blocks")},{name:"vk_faq-bgfill-square",label:(0,M.__)("Bgfill Square","vk-blocks")},{name:"vk_faq-bgfill-rounded",label:(0,M.__)("Bgfill Rounded","vk-blocks")},{name:"vk_faq-border-circle",label:(0,M.__)("Border Circle","vk-blocks")},{name:"vk_faq-border-square",label:(0,M.__)("Border Square","vk-blocks")},{name:"vk_faq-border-rounded",label:(0,M.__)("Border Rounded","vk-blocks")}],example:{innerBlocks:[{name:"vk-blocks/faq2-q",innerBlocks:[{name:"core/paragraph",attributes:{content:F}}]},{name:"vk-blocks/faq2-a",innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]}]},edit:function(){var e,t=(0,Q.useBlockProps)({className:"vk_faq"});return e=vk_blocks_check.is_pro?(0,M.__)("If you want to be collapsing this block, you can set it at Setting > VK Blocks","vk-blocks"):(0,M.__)("You can be collapsing this block at VK Blocks Pro","vk-blocks"),(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Accordion Setting","vk-blocks")},(0,P.createElement)(ne.PanelRow,null,e))),(0,P.createElement)("div",t,(0,P.createElement)("div",{className:"vk_faq-header"}),(0,P.createElement)("dl",{className:"vk_faq-body"},(0,P.createElement)(Q.InnerBlocks,{allowedBlocks:["vk-blocks/faq2-q","vk-blocks/faq2-a"],template:[["vk-blocks/faq2-q"],["vk-blocks/faq2-a"]],templateLock:"all"})),(0,P.createElement)("div",{className:"vk_faq-footer"})))},save:function(){var e=Q.useBlockProps.save({className:"vk_faq [accordion_trigger_switch]"});return(0,P.createElement)("div",e,(0,P.createElement)("div",{className:"vk_faq-header"}),(0,P.createElement)("dl",{className:"vk_faq-body"},(0,P.createElement)(Q.InnerBlocks.Content,null)),(0,P.createElement)("div",{className:"vk_faq-footer"}))},deprecated:yn};function Nn(){return Nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nn.apply(this,arguments)}var Tn,Bn,wn,Sn=JSON.parse('{"apiVersion":2,"name":"vk-blocks/faq2-a","category":"vk-blocks-cat","title":"FAQ Answer","parent":["vk-blocks/faq2"],"description":"Answer area where you can add blocks freely.","textdomain":"vk-blocks","supports":{"anchor":true,"reusable":false}}'),In=[{attributes:{},save:function(){return(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks.Content,null))}}],Rn=Sn.name,An={icon:(0,P.createElement)((function(e){return G.createElement("svg",Nn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),dn||(dn=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),kn||(kn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),hn||(hn=G.createElement("path",{d:"M14.99 0 10 14h4.17l.63-2h4.3l.57 2H24L19.07 0h-4.08zm2.03 4.69h.04L18.27 9h-2.56l1.3-4.31z",fill:"#000"})))}),null),example:{innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]},edit:function(){var e=(0,Q.useBlockProps)({className:"vk_faq_content"});return(0,P.createElement)("dd",e,(0,P.createElement)(Q.InnerBlocks,{templateLock:!1,template:[["core/paragraph"]]}))},save:function(){return(0,P.createElement)("dd",Q.useBlockProps.save({className:"vk_faq_content"}),(0,P.createElement)(Q.InnerBlocks.Content,null))},deprecated:In};function On(){return On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},On.apply(this,arguments)}var zn,Pn,Mn,Fn,jn,Hn=JSON.parse('{"apiVersion":2,"name":"vk-blocks/faq2-q","title":"FAQ Question","category":"vk-blocks-cat","parent":["vk-blocks/faq2"],"description":"Question area where you can freely add blocks.","textdomain":"vk-blocks","supports":{"anchor":true,"className":true,"reusable":false}}'),Ln=[{attributes:{},save:function(){return(0,P.createElement)("dt",{className:"vk_faq_title"},(0,P.createElement)(Q.InnerBlocks.Content,null))}}],Un=Hn.name,Dn={icon:(0,P.createElement)((function(e){return G.createElement("svg",On({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Tn||(Tn=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Bn||(Bn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),wn||(wn=G.createElement("path",{d:"M16.98 0c-2.06 0-3.74.7-5.03 2.08A7.44 7.44 0 0 0 10 7.4a7.5 7.5 0 0 0 1.97 5.36 6.62 6.62 0 0 0 5.01 2.03c1.37 0 2.55-.3 3.26-.75L22.09 16 24 14.06l-1.64-1.72c1-1.26 1.6-2.97 1.6-4.94 0-2.18-.65-3.98-1.95-5.34A6.67 6.67 0 0 0 16.98 0zm-2.74 7.4c0-2.3 1-3.88 2.72-3.88 1.54 0 2.76 1.27 2.76 3.88 0 .73-.1 1.32-.27 1.88l-1.16-1.21-1.9 1.9 1.15 1.22c-.2.06-.37.08-.56.08-1.6 0-2.74-1.34-2.74-3.87z",fill:"#000"})))}),null),example:{innerBlocks:[{name:"core/paragraph",attributes:{content:F}}]},edit:function(){var e=(0,Q.useBlockProps)({className:"vk_faq_title"});return(0,P.createElement)("dt",e,(0,P.createElement)(Q.InnerBlocks,{templateLock:!1,template:[["core/paragraph"]]}))},save:function(){return(0,P.createElement)("dt",Q.useBlockProps.save({className:"vk_faq_title"}),(0,P.createElement)(Q.InnerBlocks.Content,null))},deprecated:Ln},Vn={heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"},arrowFlag:{type:"string",default:"vk_flow-arrow-on"},insertImage:{type:"string",default:null}},qn=[{attributes:Vn,save:function(e){var t=e.attributes,n=t.heading,o=t.content,a=t.insertImage,r=t.arrowFlag;return(0,P.createElement)("div",Q.useBlockProps.save({className:"".concat(r," vk_flow")}),(0,P.createElement)("div",{className:"vk_flow_frame"},(0,P.createElement)("dl",{className:"vk_flow_frame_text"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),a&&(0,P.createElement)("div",{className:"vk_flow_frame_image"},(0,P.createElement)("img",{src:a,alt:""}))))}},{attributes:Vn,save:function(e){var t=e.attributes,n=t.heading,o=t.content,a=t.insertImage,r=t.arrowFlag;return(0,P.createElement)("div",{className:"".concat(r," vk_flow")},(0,P.createElement)("div",{className:"vk_flow_frame"},(0,P.createElement)("dl",{className:"vk_flow_frame_text"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),a?(0,P.createElement)("div",{className:"vk_flow_frame_image"},(0,P.createElement)("img",{src:a,alt:""})):""))}}],Wn=qn;function Jn(){return Jn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Jn.apply(this,arguments)}var Zn,Gn,Yn,Xn=JSON.parse('{"apiVersion":2,"name":"vk-blocks/flow","category":"vk-blocks-cat","title":"Flow","attributes":{"heading":{"type":"string","source":"html","selector":"dt"},"content":{"type":"string","source":"html","selector":"dd"},"arrowFlag":{"type":"string","default":"vk_flow-arrow-on"},"insertImage":{"type":"string","default":null},"insertImageAlt":{"type":"string","default":null}},"description":"Displays a sequential description in time series.","textdomain":"vk-blocks","supports":{"className":true}}'),$n=Xn.name,Kn={icon:(0,P.createElement)((function(e){return G.createElement("svg",Jn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),zn||(zn=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Pn||(Pn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),Mn||(Mn=G.createElement("path",{d:"M12.5 14 9 10h7l-3.5 4z",fill:"#000"})),Fn||(Fn=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 1H1v6h22V1zM0 0v8h24V0H0z",fill:"#000"})),jn||(jn=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 4.5H4v-1h16v1z",fill:"#000"})))}),null),example:{attributes:{heading:F,content:j,arrowFlag:"vk_flow-arrow-on",insertImage:U}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.heading,r=t.content,l=t.insertImage,c=t.arrowFlag,i=t.insertImageAlt,s=(0,Q.useBlockProps)({className:"".concat(c," vk_flow")});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Display of arrow","vk-blocks")},(0,P.createElement)(ne.RadioControl,{selected:c,options:[{label:(0,M.__)("Arrow display","vk-blocks"),value:"vk_flow-arrow-on"},{label:(0,M.__)("Arrow hidden","vk-blocks"),value:"vk_flow-arrow-off"}],onChange:function(e){return n({arrowFlag:e})}}))),(0,P.createElement)("div",s,(0,P.createElement)("div",{className:"vk_flow_frame"},(0,P.createElement)("dl",{className:"vk_flow_frame_text"},(0,P.createElement)(Q.RichText,{key:"".concat(o,"2"),tagName:"dt",className:"vk_flow_frame_text_title",onChange:function(e){return n({heading:e})},value:a,placeholder:(0,M.__)("Input title","vk-blocks")}),(0,P.createElement)(Q.RichText,{key:"".concat(o,"3"),tagName:"dd",className:"vk_flow_frame_text_content",onChange:function(e){return n({content:e})},value:r,placeholder:(0,M.__)("Input content","vk-blocks")})),(0,P.createElement)("div",{className:"vk_flow_frame_image"},(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){n({insertImage:e.url}),n({insertImageAlt:e.alt})},type:"image",className:"vk_flow_frame_image",value:l,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:l?"image-button":"button button-large"},l?(0,P.createElement)("img",{className:"icon-image",src:l,alt:i}):(0,M.__)("Select image","vk-blocks"))}})))))},save:function(e){var t=e.attributes,n=t.heading,o=t.content,a=t.insertImage,r=t.insertImageAlt,l=t.arrowFlag;return(0,P.createElement)("div",Q.useBlockProps.save({className:"".concat(l," vk_flow")}),(0,P.createElement)("div",{className:"vk_flow_frame"},(0,P.createElement)("dl",{className:"vk_flow_frame_text"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),a&&(0,P.createElement)("div",{className:"vk_flow_frame_image"},(0,P.createElement)("img",{src:a,alt:r}))))},deprecated:Wn};function Qn(){return Qn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Qn.apply(this,arguments)}var eo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,d=this.props.for_,k="vk_heading vk_heading-style-".concat(p),_="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},"edit"===d?(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):"save"===d?(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):void 0}}]),a}(P.Component);var to=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,d=this.props.className,k=De()(d,"vk_heading vk_heading-style-".concat(p)),_="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}())}}]),a}(P.Component);var no=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,d=this.props.for_,k="vk_heading vk_heading-style-".concat(p),_="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},"edit"===d?(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):"save"===d?(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):void 0}}]),a}(P.Component);var oo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,d=this.props.for_,k="vk_heading vk_heading-style-".concat(p),_="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},"edit"===d?(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):"save"===d?(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):void 0}}]),a}(P.Component);var ao,ro=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,d=this.props.for_,k="vk_heading vk_heading-style-".concat(p),_="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},"edit"===d?(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):"save"===d?(0,P.createElement)("div",{className:k,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:_,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):void 0}}]),a}(P.Component),lo=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},co=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,d=o.titleMarginBottom,k=o.outerMarginBottom,_=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);k&&(t={marginBottom:k+"rem"}),n=d?{color:s,fontSize:u+"rem",marginBottom:d+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(_){g=g||"#000000";var B=_.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},lo(l,I,n,E),S)}if("save"===r){var R;R=0<(i.match(/span/g)||[]).length?et(i):(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i});var A,O=(0,P.createElement)(P.Fragment,null,et(N),R,et(T));return"on"===p&&(A=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},lo(l,O,n,E),A)}},io=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},so=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,d=o.titleMarginBottom,k=o.outerMarginBottom,_=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);k&&(t={marginBottom:k+"rem"}),n=d?{color:s,fontSize:u+"rem",marginBottom:d+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(_){g=g||"#000000";var B=_.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},io(l,I,n,E),S)}if("save"===r){var R,A=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i}),et(T));return"on"===p&&(R=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},io(l,A,n,E),R)}},uo=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},mo=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,d=o.titleMarginBottom,k=o.outerMarginBottom,_=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);k&&(t={marginBottom:k+"rem"}),n=null!=d?{color:s,fontSize:u+"rem",marginBottom:d+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(_){g=g||"#000000";var B=_.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},uo(l,I,n,E),S)}if("save"===r){var R,A=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i}),et(T));return"on"===p&&(R=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},uo(l,A,n,E),R)}},po=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},vo=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,d=o.titleMarginBottom,k=o.outerMarginBottom,_=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);k&&(t={marginBottom:k+"rem"}),n=d?{color:s,fontSize:u+"rem",marginBottom:d+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(_){g=g||"#000000";var B=_.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},po(l,I,n,E),S)}if("save"===r){var R,A=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i}),et(T));return"on"===p&&(R=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},po(l,A,n,E),R)}},fo=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},bo=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,d=o.titleMarginBottom,k=o.outerMarginBottom,_=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);k&&(t={marginBottom:k+"rem"}),n=null!=d?{color:s,fontSize:u+"rem",marginBottom:d+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(_){g=g||"#000000";var B=_.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},fo(l,I,n,E),S)}if("save"===r){var R,A=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i}),et(T));return"on"===p&&(R=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},fo(l,A,n,E),R)}};function ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ko(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ko(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ho={level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number"},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2}},go=_o(_o({},ho),{},{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}}),yo=_o(_o({},go),{},{title:{type:"string",source:"html",selector:"span",default:""},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""},fontAwesomeIconColor:{type:"string",default:"#000000"}}),Eo=_o(_o({},yo),{},{subTextFlag:{type:"string",default:"off"}}),xo=_o(_o({},Eo),{},{outerMarginBottom:{type:"number",default:0},titleMarginBottom:{type:"number",default:1},titleColor:{type:"string",default:"#000000"},subTextColor:{type:"string",default:"#000000"}}),Co=_o(_o({},xo),{},{outerMarginBottom:{type:"number",default:null},titleMarginBottom:{type:"number",default:null},titleColor:{type:"string",default:null},subTextColor:{type:"string",default:null},fontAwesomeIconColor:{type:"string",default:"#000000"}}),No=_o(_o({},Co),{},(h(ao={titleSize:{type:"number",default:2},subTextSize:{type:"number",default:1.2},subTextColor:{type:"string"}},"subTextSize",{type:"number"}),h(ao,"fontAwesomeIconColor",{type:"string"}),ao)),To=_o(_o({},No),{},{titleColor:{type:"string"},titleSize:{type:"number"}}),Bo=[{attributes:To,save:function(e){var t,n,o=e.attributes,a=o.level,r=o.align,l=o.title,c=o.titleColor,i=o.titleSize,s=o.subText,u=o.subTextFlag,m=o.subTextColor,p=o.subTextSize,v=o.titleStyle,f=o.titleMarginBottom,b=o.outerMarginBottom,d=o.fontAwesomeIconBefore,k=o.fontAwesomeIconAfter,_=o.fontAwesomeIconColor,g="vk_heading vk_heading-style-".concat(v),y={marginBottom:null!=b?b+"rem":void 0},E="";void 0!==c&&(E+="has-text-color",pe(c)||(E+=" has-".concat(c,"-color")));var x=De()("vk_heading_title",(h(t={},"vk_heading_title-style-".concat(v),!!v),h(t,"".concat(E),!!E),t)),C={color:null!=c&&pe(c)?c:void 0,fontSize:null!=i?i+"rem":void 0,marginBottom:null!=f?f+"rem":void 0,textAlign:null!=r?r:void 0},N="";void 0!==m&&(N+="has-text-color",pe(m)||(N+=" has-".concat(m,"-color")));var T=De()("vk_heading_subtext",(h(n={},"vk_heading_subtext-style-".concat(v),!!v),h(n,"".concat(N),!!N),n)),B={color:null!=m&&pe(m)?m:void 0,fontSize:null!=p?p+"rem":void 0,textAlign:null!=r?r:void 0},w="";void 0!==_&&(w+="has-text-color",pe(_)||(w+=" has-".concat(_,"-color")));var S=_&&pe(_)?'style="color:'.concat(_,';"'):"",I=d,R=k;if(I&&w){var A=I.split('<i class="');A[0]=A[0]+'<i class="'.concat(w," "),I=A.join("")}if(R&&w){var O=R.split('<i class="');O[0]=O[0]+'<i class="'.concat(w," "),R=O.join("")}if(I&&S){var z=I.split("<i");z[0]=z[0]+"<i ".concat(S," "),I=z.join("")}if(R&&S){var M=R.split("<i");M[0]=M[0]+"<i ".concat(S," "),R=M.join("")}var F,j=(0,P.createElement)(P.Fragment,null,et(I),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:l}),et(R));"on"===u&&(F=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:s,style:B,className:T}));var H=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",H,(0,P.createElement)("div",{className:g,style:y},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(a,j,C,x),F))}},{attributes:To,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f=t.fontAwesomeIconBefore,b=t.fontAwesomeIconAfter,d=t.fontAwesomeIconColor,k="vk_heading vk_heading-style-".concat(m),_={marginBottom:null!=v?v+"rem":void 0},h={color:null!=r?r:void 0,fontSize:null!=l?l+"rem":void 0,marginBottom:null!=p?p+"rem":void 0,textAlign:null!=o?o:void 0},g="vk_heading_title vk_heading_title-style-".concat(m),y={color:null!=s?s:void 0,fontSize:null!=u?u+"rem":void 0,textAlign:null!=o?o:void 0},E="vk_heading_subtext vk_heading_subtext-style-".concat(m),x="",C="",N=d?'style="color:'.concat(d,';"'):"";if(f){var T=f.split("<i");T[0]=T[0]+"<i ".concat(N," "),x=T.join("")}if(b){var B=b.split("<i");B[0]=B[0]+"<i ".concat(N," "),C=B.join("")}var w,S=(0,P.createElement)(P.Fragment,null,et(x),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:a}),et(C));"on"===i&&(w=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:y,className:E}));var I=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",I,(0,P.createElement)("div",{className:k,style:_},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(n,S,h,g),w))}},{attributes:No,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f=t.fontAwesomeIconBefore,b=t.fontAwesomeIconAfter,d=t.fontAwesomeIconColor,k="vk_heading vk_heading-style-".concat(m),_={marginBottom:null!=v?v+"rem":void 0},h={color:null!=r?r:void 0,fontSize:null!=l?l+"rem":void 0,marginBottom:null!=p?p+"rem":void 0,textAlign:null!=o?o:void 0},g="vk_heading_title vk_heading_title-style-".concat(m),y={color:null!=s?s:void 0,fontSize:null!=u?u+"rem":void 0,textAlign:null!=o?o:void 0},E="vk_heading_subtext vk_heading_subtext-style-".concat(m),x="",C="",N=d?'style="color:'.concat(d,';"'):"";if(f){var T=f.split("<i");T[0]=T[0]+"<i ".concat(N," "),x=T.join("")}if(b){var B=b.split("<i");B[0]=B[0]+"<i ".concat(N," "),C=B.join("")}var w,S=(0,P.createElement)(P.Fragment,null,et(x),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:a}),et(C));"on"===i&&(w=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:y,className:E}));var I=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",I,(0,P.createElement)("div",{className:k,style:_},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(n,S,h,g),w))}},{attributes:Co,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f=t.fontAwesomeIconBefore,b=t.fontAwesomeIconAfter,d=t.fontAwesomeIconColor,k="vk_heading vk_heading-style-".concat(m),_={marginBottom:null!=v?v+"rem":void 0},h={color:null!=r?r:void 0,fontSize:null!=l?l+"rem":void 0,marginBottom:null!=p?p+"rem":void 0,textAlign:null!=o?o:void 0},g="vk_heading_title vk_heading_title-style-".concat(m),y={color:null!=s?s:void 0,fontSize:null!=u?u+"rem":void 0,textAlign:null!=o?o:void 0},E="vk_heading_subtext vk_heading_subtext-style-".concat(m),x="",C="";if(f){d=d||"#000000";var N=f.split("<i");N[0]=N[0]+'<i style="color:'.concat(d,';" '),x=N.join("")}if(b){d=d||"#000000";var T=b.split("<i");T[0]=T[0]+'<i style="color:'.concat(d,';" '),C=T.join("")}var B,w=(0,P.createElement)(P.Fragment,null,et(x),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:a}),et(C));"on"===i&&(B=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:y,className:E}));var S=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",S,(0,P.createElement)("div",{className:k,style:_},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(n,w,h,g),B))}},{attributes:xo,save:function(e){var t,n,o=e.attributes,a=o.level,r=o.align,l=o.title,c=o.titleColor,i=o.titleSize,s=o.subText,u=o.subTextFlag,m=o.subTextColor,p=o.subTextSize,v=o.titleStyle,f=o.titleMarginBottom,b=o.outerMarginBottom,d=o.fontAwesomeIconBefore,k=o.fontAwesomeIconAfter,_=o.fontAwesomeIconColor,h="vk_heading vk_heading-style-".concat(v);b&&(t={marginBottom:b+"rem"}),n=null!=f?{color:c,fontSize:i+"rem",marginBottom:f+"rem",textAlign:r}:{color:c,fontSize:i+"rem",textAlign:r};var g="vk_heading_title vk_heading_title-style-".concat(v),y={color:m,fontSize:p+"rem",textAlign:r},E="vk_heading_subtext vk_heading_subtext-style-".concat(v),x="",C="";if(d){_=_||"#000000";var N=d.split("<i");N[0]=N[0]+'<i style="color:'.concat(_,';" '),x=N.join("")}if(k){_=_||"#000000";var T=k.split("<i");T[0]=T[0]+'<i style="color:'.concat(_,';" '),C=T.join("")}var B,w=(0,P.createElement)(P.Fragment,null,et(x),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:l}),et(C));"on"===u&&(B=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:s,style:y,className:E}));var S=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",S,(0,P.createElement)("div",{className:h,style:t},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(a,w,n,g),B))}},{attributes:Eo,save:function(e){return(0,P.createElement)("div",null,(0,P.createElement)(bo,Ne({},e,{for_:"save"})))}},{attributes:Eo,save:function(e){return(0,P.createElement)("div",null,(0,P.createElement)(vo,Ne({},e,{for_:"save"})))}},{attributes:yo,save:function(e){var t=e.attributes;return(0,P.createElement)("div",{id:t.anchor},(0,P.createElement)(mo,Ne({},e,{for_:"save"})))}},{attributes:yo,save:function(e){var t=e.attributes;return(0,P.createElement)("div",{id:t.anchor},(0,P.createElement)(so,{attributes:t,for_:"save"}))}},{attributes:yo,save:function(e){return(0,P.createElement)("div",{id:e.attributes.anchor},(0,P.createElement)(co,Ne({},e,{for_:"save"})))}},{attributes:go,save:function(e){var t=e.attributes;return(0,P.createElement)("div",{id:t.anchor},(0,P.createElement)(ro,{attributes:t,for_:"save"}))}},{attributes:go,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)("div",{className:n,id:"vk-htags-a181b726-7749-4bd8-9887-0306c0bc7bd5"},(0,P.createElement)(oo,{attributes:t,for_:"save"}))}},{attributes:go,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)("div",{className:n,id:"vk-htags--1"},(0,P.createElement)(no,{attributes:t,for_:"save"}))}},{attributes:go,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(to,{attributes:t,className:n,for_:"save"})}},{attributes:go,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f="h"+n;return(0,P.createElement)("div",{className:"vk_heading vk_heading-style-".concat(m),style:{marginBottom:v+"rem"}},(0,P.createElement)(Q.RichText.Content,{tagName:f,value:a,style:{color:r,fontSize:l+"rem",textAlign:o,marginBottom:p+"rem"},className:"vk_heading_title vk_heading_title-style-".concat(m)}),function(){if("on"===i)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(m)})}())}},{attributes:go,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f="h"+n;return(0,P.createElement)(P.Fragment,null,null===v?(0,P.createElement)("div",{className:"vk_heading vk_heading-style-".concat(m)},(0,P.createElement)(Q.RichText.Content,{tagName:f,value:a,style:{color:r,fontSize:l+"rem",textAlign:o},className:"vk_heading_title vk_heading_title-style-".concat(m)}),function(){if("on"===i)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(m)})}()):(0,P.createElement)("div",{className:"vk_heading vk_heading-style-".concat(m),style:{marginBottom:v+"rem"}},(0,P.createElement)(Q.RichText.Content,{tagName:f,value:a,style:{color:r,fontSize:l+"rem",textAlign:o,marginBottom:p+"rem"},className:"vk_heading_title vk_heading_title-style-".concat(m)}),function(){if("on"===i)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(m)})}()))}},{attributes:ho,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)("div",{className:n},(0,P.createElement)(eo,{attributes:t,for_:"save"}))}}],wo=Bo;function So(e){var t=e.level,n=e.isPressed,o=void 0!==n&&n,a={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return a.hasOwnProperty(t)?(0,P.createElement)(ne.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:o},(0,P.createElement)(ne.Path,{d:a[t]})):null}var Io=[1,2,3,4,5,6],Ro={className:"block-library-heading-level-dropdown vk-blocks-heading-level-dropdown"};function Ao(e){var t=e.selectedLevel,n=e.onChange;return(0,P.createElement)(ne.ToolbarDropdownMenu,{popoverProps:Ro,icon:(0,P.createElement)(So,{level:t}),label:(0,M.__)("Change heading level"),controls:Io.map((function(e){var o=e===t;return{icon:(0,P.createElement)(So,{level:e,isPressed:o}),label:(0,M.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
2 |
-
(0,M.__)("Heading %d"),e),isActive:o,onClick:function(){n(e)}}}))})}var Oo,zo,Po,Mo=JSON.parse('{"apiVersion":2,"name":"vk-blocks/heading","category":"vk-blocks-cat","title":"Heading","attributes":{"anchor":{"type":"string","source":"attribute","attribute":"id","selector":"*"},"level":{"type":"number","default":2},"align":{"type":"string"},"titleStyle":{"type":"string","default":"default"},"outerMarginBottom":{"type":"number","default":null},"title":{"type":"string","source":"html","selector":"span","default":""},"titleColor":{"type":"string"},"titleSize":{"type":"number"},"titleMarginBottom":{"type":"number","default":null},"subText":{"source":"html","selector":"p","default":""},"subTextFlag":{"type":"string","default":"off"},"subTextColor":{"type":"string"},"subTextSize":{"type":"number"},"fontAwesomeIconBefore":{"type":"string","default":""},"fontAwesomeIconAfter":{"type":"string","default":""},"fontAwesomeIconColor":{"type":"string"}},"description":"This is a heading that allows you to set text size, subtext, icon, and margin.","textdomain":"vk-blocks","supports":{"className":true,"customClassName":true,"anchor":true}}'),Fo={from:[{type:"block",blocks:["core/heading"],transform:function(e){var t={title:e.content};return(0,g.createBlock)("vk-blocks/heading",t)}}]},jo=Mo.name,Ho={icon:(0,P.createElement)((function(e){return G.createElement("svg",Qn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Zn||(Zn=G.createElement("path",{d:"M20 10V4h3v15h-3v-6h-6v6h-3v-1.89l1.06-1.1c.95-1 .28-2.64-1.06-2.73V4h3v6h6z",fill:"#000"})),Gn||(Gn=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Yn||(Yn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),category:"vk-blocks-cat",example:{attributes:{anchor:"",level:2,align:"center",titleStyle:"default",outerMarginBottom:0,title:F,titleColor:D,titleSize:2,titleMarginBottom:1,subText:F,subTextFlag:"on",subTextColor:D,subTextSize:1.2,fontAwesomeIconBefore:L,fontAwesomeIconAfter:"",fontAwesomeIconColor:D}},edit:function(e){var t,n,o=e.attributes,a=e.setAttributes,r=o.level,l=o.align,c=o.title,i=o.titleColor,s=o.titleSize,u=o.subText,m=o.subTextFlag,p=o.subTextColor,v=o.subTextSize,f=o.titleStyle,b=o.titleMarginBottom,d=o.outerMarginBottom,k=o.fontAwesomeIconBefore,_=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y=vkFontAwesome.iconFamily,E="vk_heading vk_heading-style-".concat(f),x={marginBottom:null!=d?d+"rem":void 0},C="";void 0!==i&&(C+="has-text-color",pe(i)||(C+=" has-".concat(i,"-color")));var N=De()("vk_heading_title",(h(t={},"vk_heading_title-style-".concat(f),!!f),h(t,"".concat(C),!!C),t)),T={color:null!=i&&pe(i)?i:void 0,fontSize:null!=s?s+"rem":void 0,marginBottom:null!=b?b+"rem":void 0,textAlign:null!=l?l:void 0},B="";void 0!==p&&(B+="has-text-color",pe(p)||(B+=" has-".concat(p,"-color")));var w=De()("vk_heading_subtext",(h(n={},"vk_heading_subtext-style-".concat(f),!!f),h(n,"".concat(B),!!B),n)),S={color:null!=p&&pe(p)?p:void 0,fontSize:null!=v?v+"rem":void 0,textAlign:null!=l?l:void 0},I="";void 0!==g&&(I+="has-text-color",pe(g)||(I+=" has-".concat(g,"-color")));var R=g&&pe(g)?'style="color:'.concat(g,';"'):"",A=k,O=_;if(A&&I){var z=A.split('<i class="');z[0]=z[0]+'<i class="'.concat(I," "),A=z.join("")}if(O&&I){var F=O.split('<i class="');F[0]=F[0]+'<i class="'.concat(I," "),O=F.join("")}if(A&&R){var j=A.split("<i");j[0]=j[0]+"<i ".concat(R," "),A=j.join("")}if(O&&R){var H=O.split("<i");H[0]=H[0]+"<i ".concat(R," "),O=H.join("")}var L,U=(0,P.createElement)(P.Fragment,null,et(A),(0,P.createElement)(Q.RichText,{tagName:"span",value:c,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(O));"on"===m&&(L=(0,P.createElement)(Q.RichText,{tagName:"p",value:u,onChange:function(e){return a({subText:e})},style:S,className:w,placeholder:(0,M.__)("Input sub text…","vk-blocks")}));var D=(0,Q.useBlockProps)({className:""});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(ne.ToolbarGroup,null,(0,P.createElement)(Ao,{selectedLevel:r,onChange:function(e){a({level:e})}})),(0,P.createElement)(Q.AlignmentToolbar,{value:l,onChange:function(e){a({align:e})}})),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Style Settings","vk-blocks")},(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Heading style","vk-blocks"),value:f,onChange:function(e){return a({titleStyle:e})},options:[{label:(0,M.__)("Default","vk-blocks"),value:"default"},{label:(0,M.__)("Plain","vk-blocks"),value:"plain"}]})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Margin Setting","vk-blocks")},(0,P.createElement)("p",null,(0,M.__)("Margin between Heading and sub text (rem)","vk-blocks")),(0,P.createElement)(ne.RangeControl,{value:b,onChange:function(e){a({titleMarginBottom:e})},min:-1,max:3,step:.1,allowReset:!0,resetFallbackValue:null}),(0,P.createElement)("p",null,(0,M.__)("Margin bottom size of after this block (rem)","vk-blocks")),(0,P.createElement)(ne.RangeControl,{value:d,onChange:function(e){a({outerMarginBottom:e})},min:-1,max:8,step:.1,allowReset:!0,resetFallbackValue:null})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Heading Settings","vk-blocks")},(0,P.createElement)(ne.RangeControl,{label:(0,M.__)("Text size (rem)","vk-blocks"),value:s,onChange:function(e){a({titleSize:e})},min:.5,max:4,step:.1,allowReset:!0,resetFallbackValue:null}),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Text Color","vk-blocks"),id:"vk_heading_textColor"},(0,P.createElement)(Pe,Ne({schema:"titleColor"},e)))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Icon","vk-blocks")+" ( "+y+" )"},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Before text","vk-blocks"),id:"vk_heading_beforeText"},(0,P.createElement)(Ke,Ne({attributeName:"fontAwesomeIconBefore"},e))),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("After text","vk-blocks"),id:"vk_heading_afterText"},(0,P.createElement)(Ke,Ne({attributeName:"fontAwesomeIconAfter"},e))),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon Color","vk-blocks"),id:"vk_heading_iconColor"},(0,P.createElement)(Pe,Ne({schema:"fontAwesomeIconColor"},e)))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Sub Text Settings","vk-blocks")},(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Position","vk-blocks"),selected:m,options:[{label:(0,M.__)("Display","vk-blocks"),value:"on"},{label:(0,M.__)("Hide","vk-blocks"),value:"off"}],onChange:function(e){return a({subTextFlag:e})}}),(0,P.createElement)("p",null,(0,M.__)("Text size (rem)","vk-blocks")),(0,P.createElement)(ne.RangeControl,{value:v,onChange:function(e){a({subTextSize:e})},min:.5,max:3,step:.1,allowReset:!0,resetFallbackValue:null}),(0,P.createElement)(Pe,Ne({schema:"subTextColor"},e)))),(0,P.createElement)("div",D,(0,P.createElement)("div",{className:E,style:x},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(r,U,T,N),L)))},save:function(e){var t,n,o=e.attributes,a=o.level,r=o.align,l=o.title,c=o.titleColor,i=o.titleSize,s=o.subText,u=o.subTextFlag,m=o.subTextColor,p=o.subTextSize,v=o.titleStyle,f=o.titleMarginBottom,b=o.outerMarginBottom,d=o.fontAwesomeIconBefore,k=o.fontAwesomeIconAfter,_=o.fontAwesomeIconColor,g="vk_heading vk_heading-style-".concat(v),y={marginBottom:null!=b?b+"rem":void 0},E="";void 0!==c&&(E+="has-text-color",pe(c)||(E+=" has-".concat(c,"-color")));var x=De()("vk_heading_title",(h(t={},"vk_heading_title-style-".concat(v),!!v),h(t,"".concat(E),!!E),t)),C={color:null!=c&&pe(c)?c:void 0,fontSize:null!=i?i+"rem":void 0,marginBottom:null!=f?f+"rem":void 0,textAlign:null!=r?r:void 0},N="";void 0!==m&&(N+="has-text-color",pe(m)||(N+=" has-".concat(m,"-color")));var T=De()("vk_heading_subtext",(h(n={},"vk_heading_subtext-style-".concat(v),!!v),h(n,"".concat(N),!!N),n)),B={color:null!=m&&pe(m)?m:void 0,fontSize:null!=p?p+"rem":void 0,textAlign:null!=r?r:void 0},w="";void 0!==_&&(w+="has-text-color",pe(_)||(w+=" has-".concat(_,"-color")));var S=_&&pe(_)?'style="color:'.concat(_,';"'):"",I=d,R=k;if(I&&w){var A=I.split('<i class="');A[0]=A[0]+'<i class="'.concat(w," "),I=A.join("")}if(R&&w){var O=R.split('<i class="');O[0]=O[0]+'<i class="'.concat(w," "),R=O.join("")}if(I&&S){var z=I.split("<i");z[0]=z[0]+"<i ".concat(S," "),I=z.join("")}if(R&&S){var M=R.split("<i");M[0]=M[0]+"<i ".concat(S," "),R=M.join("")}var F,j=(0,P.createElement)(P.Fragment,null,et(I),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:l}),et(R));"on"===u&&(F=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:s,style:B,className:T}));var H=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",H,(0,P.createElement)("div",{className:g,style:y},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(a,j,C,x),F))},transforms:Fo,deprecated:wo};function Lo(){return Lo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Lo.apply(this,arguments)}var Uo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbFontAwesomeIcon,t=this.props.lbSize,n=this.props.lbSizeUnit,o=this.props.lbMargin,a=this.props.lbMarginUnit,r=this.props.lbRadius,l=this.props.lbAlign,c=this.props.lbType,i=this.props.lbColor,s=this.props.lbUrl,u=this.props.lbTarget,m="vk_icon_frame";"center"===l?m+=" text-center":"right"===l&&(m+=" text-right");var p="vk_icon_border",v={};"0"===c?"undefined"!==i&&null!=i&&(p+=" has-background",pe(i)?v={backgroundColor:"".concat(i)}:p+=" has-".concat(i,"-background-color")):("undefined"!==i&&null!=i&&(p+=" has-text-color",pe(i)?v={color:"".concat(i)}:p+=" has-".concat(i,"-color")),m+="1"===c?" is-style-outline":" is-style-noline"),36===t&&"px"===n&&22===o&&"px"===a||(v.width="calc("+(t+n)+" + "+(2*o+a)+")",v.height=v.width),50!==r&&(v.borderRadius=r+"%");var f="";if(e){e=e.replace(/ fas/g,"fas");var b=null;36===t&&"px"===n||(b=" font-size:".concat(t).concat(n));var d=e.split(" ");d[0]=d[0]+' style="'.concat(b,';"'),d[1]=" "+d[1]+" vk_icon_font ",f=d.join("")}var k,_=(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:p,style:v},et(f)));return k=null!=s&&""!==s?(0,P.createElement)("a",{href:s,className:"vk_icon_link",target:u&&"_blank",rel:u&&"noopener noreferrer"},_):_,(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:m},k))}}]),a}(P.Component),Do=JSON.parse('{"apiVersion":2,"name":"vk-blocks/icon","category":"vk-blocks-cat","title":"Icon","attributes":{"faIcon":{"type":"string","default":"<i class=\\"fas fa-user\\"></i>"},"iconSize":{"type":"number","default":36},"iconSizeUnit":{"type":"string","default":"px"},"iconMargin":{"type":"number","default":22},"iconMarginUnit":{"type":"string","default":"px"},"iconRadius":{"type":"number","default":50},"iconAlign":{"type":"string","default":"left"},"iconType":{"type":"string","default":"0"},"iconColor":{"type":"string"},"iconUrl":{"type":"string"},"iconTarget":{"type":"Boolean","default":false}},"description":"Display icons with Font Awesome.","textdomain":"vk-blocks","supports":{"className":true,"anchor":true}}');var Vo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbFontAwesomeIcon,t=this.props.lbSize,n=this.props.lbSizeUnit,o=this.props.lbMargin,a=this.props.lbMarginUnit,r=this.props.lbRadius,l=this.props.lbAlign,c=this.props.lbType,i=this.props.lbColor,s=this.props.lbUrl,u=this.props.lbTarget,m="vk_icon_outer";"center"===l?m+=" vk_icon_align_center":"right"===l&&(m+=" vk_icon_align_right");var p="vk_icon_border",v={};"0"===c?"undefined"!==i&&(v={backgroundColor:"".concat(i),borderColor:"".concat(i)}):"1"===c?(p+=" vk_icon_border_frame","undefined"!==i&&(v={borderColor:"".concat(i)})):p+=" vk_icon_border_none",36===t&&"px"===n&&22===o&&"px"===a||(v.width="calc("+(t+n)+" + "+(2*o+a)+")",v.height=v.width),50!==r&&(v.borderRadius=r+"%");var f="";if(e){e=e.replace(/ fas/g,"fas");var b=null;"0"!==c&&"undefined"!==i&&(b="color:".concat(i));var d=null;36===t&&"px"===n||(d=" font-size:".concat(t).concat(n));var k=e.split(" ");k[0]=k[0]+' style="'.concat(b,"; ").concat(d,';"'),k[1]=" "+k[1]+" vk_icon_font ",f=k.join("")}var _,h=(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:p,style:v},et(f)));return _=null!=s&&""!==s?(0,P.createElement)("a",{href:s,className:"vk_icon_link",target:u&&"_blank",rel:u&&"noopener noreferrer"},h):h,(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:m},_))}}]),a}(P.Component);var qo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbFontAwesomeIcon,t=this.props.lbSize,n=this.props.lbSizeUnit,o=this.props.lbMargin,a=this.props.lbMarginUnit,r=this.props.lbRadius,l=this.props.lbAlign,c=this.props.lbType,i=this.props.lbColor,s=this.props.lbUrl,u=this.props.lbTarget,m="vk_icon_frame";"center"===l?m+=" vk_icon_align_center":"right"===l&&(m+=" vk_icon_align_right");var p="vk_icon_border",v={};"0"===c?"undefined"!==i&&null!=i&&(v={backgroundColor:"".concat(i),borderColor:"".concat(i)}):"1"===c?(p+=" vk_icon_border_frame","undefined"!==i&&null!=i&&(v={borderColor:"".concat(i)})):p+=" vk_icon_border_none",36===t&&"px"===n&&22===o&&"px"===a||(v.width="calc("+(t+n)+" + "+(2*o+a)+")",v.height=v.width),50!==r&&(v.borderRadius=r+"%");var f="";if(e){e=e.replace(/ fas/g,"fas");var b=null;"0"!==c&&"undefined"!==i&&null!=i&&(b="color:".concat(i));var d=null;36===t&&"px"===n||(d=" font-size:".concat(t).concat(n));var k=e.split(" ");k[0]=k[0]+' style="'.concat(b,"; ").concat(d,';"'),k[1]=" "+k[1]+" vk_icon_font ",f=k.join("")}var _,h=(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:p,style:v},et(f)));return _=null!=s&&""!==s?(0,P.createElement)("a",{href:s,className:"vk_icon_link",target:u&&"_blank",rel:u&&"noopener noreferrer"},h):h,(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:m},_))}}]),a}(P.Component);function Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zo,Go,Yo,Xo={faIcon:{type:"string",default:'<i class="fas fa-user"></i>'},iconSize:{type:"number",default:36},iconSizeUnit:{type:"string",default:"px"},iconMargin:{type:"number",default:22},iconMarginUnit:{type:"string",default:"px"},iconRadius:{type:"number",default:50},iconAlign:{type:"string",default:"left"},iconType:{type:"string",default:"0"},iconColor:{type:"string",default:"undefined"},iconUrl:{type:"string",default:""},iconTarget:{type:"Boolean",default:!1}},$o=[{attributes:Jo(Jo({},Xo),{},{iconColor:{type:"string"},iconUrl:{type:"string"}}),save:function(e){var t=e.attributes,n=t.faIcon,o=t.iconSize,a=t.iconSizeUnit,r=t.iconMargin,l=t.iconMarginUnit,c=t.iconRadius,i=t.iconAlign,s=t.iconType,u=t.iconColor,m=t.iconUrl,p=t.iconTarget;n&&!n.match(/<i/)&&(n='<i class="'.concat(n,'"></i>'));var v=Q.useBlockProps.save({className:"vk_icon"});return(0,P.createElement)("div",v,(0,P.createElement)(qo,{lbFontAwesomeIcon:n,lbSize:o,lbSizeUnit:a,lbMargin:r,lbMarginUnit:l,lbRadius:c,lbAlign:i,lbType:s,lbColor:u,lbUrl:m,lbTarget:p}))}},{attributes:Xo,save:function(e){var t=e.attributes,n=t.faIcon,o=t.iconSize,a=t.iconSizeUnit,r=t.iconMargin,l=t.iconMarginUnit,c=t.iconRadius,i=t.iconAlign,s=t.iconType,u=t.iconColor,m=t.iconUrl,p=t.iconTarget;n&&!n.match(/<i/)&&(n='<i class="'.concat(n,'"></i>'));var v=Q.useBlockProps.save({className:"vk_icon"});return(0,P.createElement)("div",v,(0,P.createElement)(Vo,{lbFontAwesomeIcon:n,lbSize:o,lbSizeUnit:a,lbMargin:r,lbMarginUnit:l,lbRadius:c,lbAlign:i,lbType:s,lbColor:u,lbUrl:m,lbTarget:p}))}}],Ko=Do.name,Qo={icon:(0,P.createElement)((function(e){return G.createElement("svg",Lo({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Oo||(Oo=G.createElement("path",{d:"M10.9 14.8H7.6a.1.1 0 0 0-.1.1l-.2.7c0 .1 0 .2.1.2h1.3c.1 0 .1.1.1.2l-2 2.2 1 3.4c0 .1 0 .1-.1.1h-1c-.1 0-.1 0-.1-.1L6 19.8c0-.1-.2-.1-.2 0L5.4 21v.1l.4 1.5.1.1h3.3a.1.1 0 0 0 .1-.1L8 18.3v-.1l3-3.2c0-.1 0-.2-.1-.2Z",fill:"#000"})),zo||(zo=G.createElement("path",{d:"M7 13H5a.1.1 0 0 0-.1.1l-.3.7c0 .1 0 .2.1.2h.8c.1 0 .1.1.1.2l-2.4 6.7c0 .1-.2.1-.2 0L1.4 16c0-.1 0-.2.1-.2h.9a.1.1 0 0 1 .1.1l.6 1.7c0 .1.2.1.2 0l1-2.7c0-.1 0-.2-.1-.2H.1a.31.31 0 0 0-.1.2l3.1 9c0 .1.2.1.2 0l3.8-10.8A.1.1 0 0 0 7 13Z",fill:"#D8141C"})),Po||(Po=G.createElement("path",{d:"M15.5 0a8.5 8.5 0 0 0-7.92 11.59 1.64 1.64 0 0 1 1 1.69h2.27A1.61 1.61 0 0 1 12.06 16l-.18.19A8.5 8.5 0 1 0 15.5 0Zm1.7 13.6h-3.4V6.8h3.4v6.8Zm0-8.3h-3.4V3.4h3.4v1.9Z",fill:"#0B0C0C"})))}),null),example:{attributes:{faIcon:L,iconSize:36,iconSizeUnit:"px",iconMargin:22,iconMarginUnit:"px",iconRadius:50,iconType:"0",iconAlign:"left",iconColor:"undefined",iconUrl:V,iconTarget:!1}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.faIcon,r=t.iconSize,l=t.iconSizeUnit,c=t.iconMargin,i=t.iconMarginUnit,s=t.iconRadius,u=t.iconAlign,m=t.iconType,p=t.iconColor,v=t.iconUrl,f=t.iconTarget,b=vkFontAwesome.iconFamily,d=(0,ze.select)("core/block-editor").getBlockParentsByBlockName(o,["vk-blocks/icon-outer"]),k="";d.length||(k=(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(Q.BlockAlignmentControl,{value:u,onChange:function(e){n({iconAlign:e})},controls:["left","center","right"]})));var _="px"===l?36:1,h="px"===i?22:1,g="";d.length||(g=(0,P.createElement)(P.Fragment,null,(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Size","vk-blocks")),(0,P.createElement)("div",{className:"vk_icon_custombox"},(0,P.createElement)(ne.TextControl,{className:"vk_icon_custombox_number",value:r,step:"px"===l?1:.1,min:0,onChange:function(e){var t=e?parseFloat(e):_;"px"===l&&(t=parseInt(t)),n({iconSize:t})},type:"number"}),(0,P.createElement)(ne.SelectControl,{className:"vk_icon_custombox_unit",value:l,onChange:function(e){n({iconSizeUnit:e}),"px"===e&&n({iconSize:parseInt(r)})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]}),(0,P.createElement)(ne.Button,{className:"vk_icon_custombox_reset",isSmall:!0,isSecondary:!0,onClick:function(){n({iconSize:36}),n({iconSizeUnit:"px"})}},(0,M.__)("Reset"))),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Margin","vk-blocks")),(0,P.createElement)("div",{className:"vk_icon_custombox"},(0,P.createElement)(ne.TextControl,{className:"vk_icon_custombox_number",value:c,step:"px"===i?1:.1,min:0,onChange:function(e){var t=e?parseFloat(e):h;"px"===i&&(t=parseInt(t)),n({iconMargin:t})},type:"number"}),(0,P.createElement)(ne.SelectControl,{className:"vk_icon_custombox_unit",value:i,onChange:function(e){n({iconMarginUnit:e}),"px"===e&&n({iconMargin:parseInt(c)})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]}),(0,P.createElement)(ne.Button,{className:"vk_icon_custombox_reset",isSmall:!0,isSecondary:!0,onClick:function(){n({iconMargin:22}),n({iconMarginUnit:"px"})}},(0,M.__)("Reset"))),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Border radius","vk-blocks"),id:"vk_icon-radius"},(0,P.createElement)(ne.RangeControl,{value:s,onChange:function(e){return n({iconRadius:void 0!==e?e:50})},min:0,max:50,allowReset:!0})),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Style","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"0"===m,isSecondary:"0"!==m,onClick:function(){return n({iconType:"0"})}},(0,M.__)("Solid color","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"1"===m,isSecondary:"1"!==m,onClick:function(){return n({iconType:"1"})}},(0,M.__)("Icon & Frame","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"2"===m,isSecondary:"2"!==m,onClick:function(){return n({iconType:"2"})}},(0,M.__)("Icon only","vk-blocks"))))),a&&!a.match(/<i/)&&(a='<i class="'.concat(a,'"></i>')),(0,P.useEffect)((function(){"undefined"===p&&n({iconColor:void 0})}),[o]);var y=(0,Q.useBlockProps)({className:"vk_icon"});return(0,P.createElement)(P.Fragment,null,k,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Icon Setting","vk-blocks")},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon","vk-blocks")+" ( "+b+" )",id:"vk_icon-font"},(0,P.createElement)(Ke,Ne({attributeName:"faIcon"},e))),g,(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Link URL","vk-blocks"),value:v,onChange:function(e){return n({iconUrl:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:f,onChange:function(e){n({iconTarget:e})}})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Color","vk-blocks")},(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)(Pe,Ne({schema:"iconColor"},e))))),(0,P.createElement)("div",y,(0,P.createElement)(Uo,{lbFontAwesomeIcon:a,lbSize:r,lbSizeUnit:l,lbMargin:c,lbMarginUnit:i,lbRadius:s,lbAlign:u,lbType:m,lbColor:p})))},save:function(e){var t=e.attributes,n=t.faIcon,o=t.iconSize,a=t.iconSizeUnit,r=t.iconMargin,l=t.iconMarginUnit,c=t.iconRadius,i=t.iconAlign,s=t.iconType,u=t.iconColor,m=t.iconUrl,p=t.iconTarget;n&&!n.match(/<i/)&&(n='<i class="'.concat(n,'"></i>'));var v=Q.useBlockProps.save({className:"vk_icon"});return(0,P.createElement)("div",v,(0,P.createElement)(Uo,{lbFontAwesomeIcon:n,lbSize:o,lbSizeUnit:a,lbMargin:r,lbMarginUnit:l,lbRadius:c,lbAlign:i,lbType:s,lbColor:u,lbUrl:m,lbTarget:p}))},deprecated:$o};function ea(){return ea=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ea.apply(this,arguments)}var ta,na,oa,aa=JSON.parse('{"apiVersion":2,"name":"vk-blocks/icon-outer","category":"vk-blocks-cat","title":"Icon Outer","attributes":{"iconSize":{"type":"number","default":36},"iconSizeUnit":{"type":"string","default":"px"},"iconMargin":{"type":"number","default":22},"iconMarginUnit":{"type":"string","default":"px"},"iconRadius":{"type":"number","default":50},"iconsJustify":{"type":"string","default":"left"},"iconType":{"type":"string","default":"0"}},"description":"Display the Font Awesome icons horizontally.","textdomain":"vk-blocks","supports":{"className":true}}'),ra=aa.name,la={icon:(0,P.createElement)((function(e){return G.createElement("svg",ea({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23.91 17.64"},e),Zo||(Zo=G.createElement("defs",null,G.createElement("style",null,".icon_svg__cls-1{fill-rule:evenodd}"))),">",Go||(Go=G.createElement("path",{className:"icon_svg__cls-1",d:"M1.15 6.21a3.67 3.67 0 0 0 1.57 1 3.57 3.57 0 0 0 1 .15H4l.33-.06a.37.37 0 0 1 0-.11l.32-.75a.11.11 0 0 1 .11-.11h1.53A3.65 3.65 0 1 0 .1 3.6a3.66 3.66 0 0 0 1 2.56ZM3 1.46h1.48v.81H3Zm0 1.46h1.48v2.93H3ZM11 7.16a3.65 3.65 0 0 1-1.58-1 3.63 3.63 0 0 1-1.07-2.51 3.66 3.66 0 1 1 3.93 3.7H12a3.47 3.47 0 0 1-1-.19Zm.3-4.89v-.81h1.46v.81Zm0 3.58V2.92h1.46v2.93ZM19.23 7.16a3.65 3.65 0 0 1-1.58-1 3.62 3.62 0 0 1-1-2.56 3.65 3.65 0 1 1 3.93 3.7h-.28a3.52 3.52 0 0 1-1.07-.14Zm.3-4.89v-.81H21v.81Zm0 3.58V2.92H21v2.93Z"})),Yo||(Yo=G.createElement("path",{d:"M10.9 8.47H7.6a.09.09 0 0 0-.1.1l-.2.7c0 .1 0 .2.1.2h1.3c.1 0 .1.1.1.2l-2 2.2 1 3.4c0 .1 0 .1-.1.1h-1c-.1 0-.1 0-.1-.1l-.6-1.8c0-.1-.2-.1-.2 0l-.4 1.2v.1l.4 1.5.1.1h3.3a.1.1 0 0 0 .1-.1L8 12v-.1l3-3.2c0-.13 0-.23-.1-.23Z"})),G.createElement("path",{d:"M7 6.67H5a.09.09 0 0 0-.1.1l-.3.7c0 .1 0 .2.1.2h.8c.1 0 .1.1.1.2l-2.4 6.7c0 .1-.2.1-.2 0l-1.6-4.9c0-.1 0-.2.1-.2h.9a.09.09 0 0 1 .1.1l.6 1.7c0 .1.2.1.2 0l1-2.7c0-.1 0-.2-.1-.2H.1a.3.3 0 0 0-.1.2l3.1 9c0 .1.2.1.2 0l3.8-10.8a.09.09 0 0 0-.1-.1Z",style:{fill:"#d8141c"}}))}),null),styles:[],example:{innerBlocks:[{name:"vk-blocks/icon"},{name:"vk-blocks/icon"}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.iconSize,r=t.iconSizeUnit,l=t.iconMargin,c=t.iconMarginUnit,i=t.iconRadius,s=t.iconsJustify,u=t.iconType,m=(0,ze.select)("core/block-editor").getBlocksByClientId,p=(0,ze.dispatch)("core/block-editor").updateBlockAttributes,v=m(o);(0,P.useEffect)((function(){v&&v[0]&&v[0].innerBlocks&&v[0].innerBlocks.forEach((function(e){p(e.clientId,{iconSize:a}),p(e.clientId,{iconSizeUnit:r}),p(e.clientId,{iconMargin:l}),p(e.clientId,{iconMarginUnit:c}),p(e.clientId,{iconRadius:i}),p(e.clientId,{iconType:u})}))}),[v,t,o]);var f=(0,Q.useBlockProps)({className:"vk_icons"}),b="px"===r?36:1,d="px"===c?22:1;return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(Q.JustifyContentControl,{allowedControls:["left","center","right","space-between"],value:s,onChange:function(e){return n({iconsJustify:e})},popoverProps:{position:"bottom right",isAlternate:!0}})),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Icon Common Setting","vk-blocks")},(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Size","vk-blocks")),(0,P.createElement)("div",{className:"vk_icon_custombox"},(0,P.createElement)(ne.TextControl,{className:"vk_icon_custombox_number",value:a,step:"px"===r?1:.1,min:0,onChange:function(e){var t=e?parseFloat(e):b;"px"===r&&(t=parseInt(t)),n({iconSize:t})},type:"number"}),(0,P.createElement)(ne.SelectControl,{className:"vk_icon_custombox_unit",value:r,onChange:function(e){n({iconSizeUnit:e}),"px"===e&&n({iconSize:parseInt(a)})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]}),(0,P.createElement)(ne.Button,{className:"vk_icon_custombox_reset",isSmall:!0,isSecondary:!0,onClick:function(){n({iconSize:36}),n({iconSizeUnit:"px"})}},(0,M.__)("Reset"))),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Margin","vk-blocks")),(0,P.createElement)("div",{className:"vk_icon_custombox"},(0,P.createElement)(ne.TextControl,{className:"vk_icon_custombox_number",value:l,step:"px"===c?1:.1,min:0,onChange:function(e){var t=e?parseFloat(e):d;"px"===c&&(t=parseInt(t)),n({iconMargin:t})},type:"number"}),(0,P.createElement)(ne.SelectControl,{className:"vk_icon_custombox_unit",value:c,onChange:function(e){n({iconMarginUnit:e}),"px"===e&&n({iconMargin:parseInt(l)})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]}),(0,P.createElement)(ne.Button,{className:"vk_icon_custombox_reset",isSmall:!0,isSecondary:!0,onClick:function(){n({iconMargin:22}),n({iconMarginUnit:"px"})}},(0,M.__)("Reset"))),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Border radius","vk-blocks"),id:"vk_icon-radius"},(0,P.createElement)(ne.RangeControl,{value:i,onChange:function(e){return n({iconRadius:void 0!==e?e:50})},min:0,max:50,allowReset:!0})),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Style","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"0"===u,isSecondary:"0"!==u,onClick:function(){return n({iconType:"0"})}},(0,M.__)("Solid color","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"1"===u,isSecondary:"1"!==u,onClick:function(){return n({iconType:"1"})}},(0,M.__)("Icon & Frame","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"2"===u,isSecondary:"2"!==u,onClick:function(){return n({iconType:"2"})}},(0,M.__)("Icon only","vk-blocks"))))),(0,P.createElement)("div",f,(0,P.createElement)("div",{className:"vk_icons_col vk_icons_col-justify-".concat(s)},(0,P.createElement)(Q.InnerBlocks,{allowedBlocks:["vk-blocks/icon"],template:[["vk-blocks/icon"],["vk-blocks/icon"]],templateLock:!1,orientation:"horizontal"}))))},save:function(e){var t=e.attributes.iconsJustify,n=Q.useBlockProps.save({className:"vk_icons"});return(0,P.createElement)("div",n,(0,P.createElement)("div",{className:"vk_icons_col vk_icons_col-justify-".concat(t)},(0,P.createElement)(Q.InnerBlocks.Content,null)))}};function ca(){return ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ca.apply(this,arguments)}var ia,sa,ua,ma=JSON.parse('{"apiVersion":2,"name":"vk-blocks/page-content","title":"Page Content","category":"vk-blocks-cat","attributes":{"TargetPost":{"type":"number","default":-1}},"description":"Displays the body content of the specified parent page.","textdomain":"vk-blocks","supports":{"className":true}}'),pa=ma.name,va={icon:(0,P.createElement)((function(e){return G.createElement("svg",ca({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ta||(ta=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 5.5H7a.5.5 0 0 0-.5.5v5.502l-1.467.006H5V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6.964l-.438-1.41.086-.09H17a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5Zm-4.745 10.25H14v-1.5h-1.634c.203.468.191 1.028-.11 1.5ZM8.502 12.5H16V11H8v.821c.23.179.398.418.502.679ZM8 7.75h8v1.5H8v-1.5Z",fill:"#1E1E1E"})),na||(na=G.createElement("path",{d:"m10.89 14.778-3.267.007a.11.11 0 0 0-.102.076l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L6.7 18.105h.007l1.042 3.397c.022.076-.03.144-.103.144h-1.02a.104.104 0 0 1-.102-.076L6 19.83c-.029-.106-.168-.106-.205-.007l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.15c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z",fill:"#000"})),oa||(oa=G.createElement("path",{d:"m7.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.108c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})))}),null),edit:function(e){var t,n,o,a=e.attributes,r=e.setAttributes,l=a.TargetPost,c=function(e){var t=[{label:(0,M.__)("Unspecified","vk-blocks"),value:-1}],n=e.map((function(e){return{label:e.title.rendered,value:e.id}}));return t.concat(n)}((t={slug:"page"},n={per_page:-1,status:"private,publish"},(0,ze.useSelect)((function(e){return e("core").getEntityRecords("postType",t.slug,n)||[]}),[t,n])));o=-1===l?(0,P.createElement)("div",{className:"alert alert-warning text-center"},(0,M.__)("Because no post is selected, The block Will not render","vk-blocks")):(0,P.createElement)(se(),{block:"vk-blocks/page-content",attributes:a});var i=(0,Q.useBlockProps)();return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Page Setting","vk-blocks"),initialOpen:!0},(0,P.createElement)(ne.BaseControl,{id:"vb-call-01"},(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Select Page","vk-blocks"),value:l,options:c,onChange:function(e){return r({TargetPost:parseInt(e,10)})}})))),(0,P.createElement)("div",i,o))}};function fa(){return fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},fa.apply(this,arguments)}var ba=JSON.parse('{"apiVersion":2,"name":"vk-blocks/pr-blocks","title":"PR Blocks (not recommended)","category":"vk-blocks-cat","attributes":{"heading1":{"type":"string","source":"html","selector":".vk_prBlocks_item_title-1"},"heading2":{"type":"string","source":"html","selector":".vk_prBlocks_item_title-2"},"heading3":{"type":"string","source":"html","selector":".vk_prBlocks_item_title-3"},"heading4":{"type":"string","source":"html","selector":".vk_prBlocks_item_title-4"},"content1":{"type":"string","source":"html","selector":"p.vk_prBlocks_item_summary-1"},"content2":{"type":"string","source":"html","selector":"p.vk_prBlocks_item_summary-2"},"content3":{"type":"string","source":"html","selector":"p.vk_prBlocks_item_summary-3"},"content4":{"type":"string","source":"html","selector":"p.vk_prBlocks_item_summary-4"},"url1":{"type":"string","default":""},"url2":{"type":"string","default":""},"url3":{"type":"string","default":""},"url4":{"type":"string","default":""},"urlOpenType1":{"type":"Boolean","default":false},"urlOpenType2":{"type":"Boolean","default":false},"urlOpenType3":{"type":"Boolean","default":false},"urlOpenType4":{"type":"Boolean","default":false},"icon1":{"type":"string","default":"<i class=\\"fas fa-file\\"></i>"},"icon2":{"type":"string","default":"<i class=\\"fas fa-file\\"></i>"},"icon3":{"type":"string","default":"<i class=\\"fas fa-file\\"></i>"},"icon4":{"type":"string","default":"<i class=\\"fas fa-file\\"></i>"},"color1":{"type":"string"},"color2":{"type":"string"},"color3":{"type":"string"},"color4":{"type":"string"},"bgType1":{"type":"string","default":"0"},"bgType2":{"type":"string","default":"0"},"bgType3":{"type":"string","default":"0"},"bgType4":{"type":"string","default":"0"},"insertImage1":{"type":"string","default":""},"insertImage2":{"type":"string","default":""},"insertImage3":{"type":"string","default":""},"insertImage4":{"type":"string","default":""}},"description":"This is a PR block where you can place images and icon. But currently, it is possible to create the same layout by combining Column Block and Icon Block, so this block is not recommended. Please check Columns category of Block Patterns.","textdomain":"vk-blocks","supports":{"className":true}}'),da=function(e){if("string"==typeof e){try{JSON.parse(e)}catch(e){return!0}return!1}return"object"!==Ge(e)||Array.isArray(e)},ka=((0,ze.select)("core/block-editor")?(0,ze.select)("core/block-editor"):(0,ze.select)("core/editor"),(0,ze.dispatch)("core/block-editor")?(0,ze.dispatch)("core/block-editor"):(0,ze.dispatch)("core/editor"),function(e){return function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(e)||(e=e.replace(/u0022/g,'"')),e});var _a=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.icon1,s=t.icon2,u=t.icon3,m=t.color1,p=t.color2,v=t.color3,f=t.bgType1,b=t.bgType2,d=t.bgType3,k=t.insertImage1,_=t.insertImage2,h=t.insertImage3,g=this.props.blockNum,y=this.props.blockNum-1,E=[i,s,u],x=[m,p,v],C=[f,b,d],N=[k,_,h],T="",B="",w=function(e){var t=e[y];if(da(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(ka(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},S=function(){if(N[y])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:w(N)},function(e){if(da(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(ka(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(N[y]));var e="",t={},n="";void 0!==x[y]&&("0"===C[y]?pe(x[y])?(e="has-background ",t={backgroundColor:"".concat(x[y])}):e="has-background has-".concat(x[y],"-background-color"):"1"===C[y]&&(pe(x[y])?(e="has-text-color",t={border:"1px solid ".concat(x[y])},n=x[y]):e="has-text-color has-".concat(x[y],"-color")));var o=E[y];o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>'));var a=o.split(" ");a[0]=""!==n?a[0]+' style="color:'.concat(n,'" '):a[0]+" ",a[1]=a[1]+" vk_prBlocks_item_icon ";var r=a.join("");return(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer ".concat(e),style:t},et(r))}(),I="";return"1"===C[y]&&(I="is-style-outline"),1===g?(T=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:(0,M.__)("Input Title","vk-blocks")}),B=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:r,placeholder:(0,M.__)("Input Content","vk-blocks")})):2===g?(T=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:o,placeholder:(0,M.__)("Input Title","vk-blocks")}),B=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:(0,M.__)("Input Content","vk-blocks")})):3===g&&(T=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:a,placeholder:(0,M.__)("Input Title","vk-blocks")}),B=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:(0,M.__)("Input Content","vk-blocks")})),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4 ".concat(I)},S,T,B)}}]),a}(P.Component);var ha=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.heading1,a=n.heading2,r=n.heading3,l=n.content1,c=n.content2,i=n.content3,s=n.url1,u=n.url2,m=n.url3,p=n.urlOpenType1,v=n.urlOpenType2,f=n.urlOpenType3,b=n.icon1,d=n.icon2,k=n.icon3,_=n.color1,h=n.color2,g=n.color3,y=n.bgType1,E=n.bgType2,x=n.bgType3,C=n.insertImage1,N=n.insertImage2,T=n.insertImage3,B=this.props.blockNum,w=this.props.blockNum-1,S=[o,a,r],I=[l,c,i],R=[s,u,m],A=[p,v,f],O=[b,d,k],z=[_,h,g],M=[y,E,x],F=[C,N,T],j=function(e){var t=e[w];if(da(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(ka(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=function(){if(F[w])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:j(F)},function(e){if(da(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(ka(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(F[w]));var e="",t={},n="";void 0!==z[w]&&("0"===M[w]?pe(z[w])?(e="has-background ",t={backgroundColor:"".concat(z[w])}):e="has-background has-".concat(z[w],"-background-color"):"1"===M[w]&&(pe(z[w])?(e="has-text-color",t={border:"1px solid ".concat(z[w])},n=z[w]):e="has-text-color has-".concat(z[w],"-color")));var o=O[w];o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>'));var a=o.split(" ");a[0]=""!==n?a[0]+' style="color:'.concat(n,'" '):a[0]+" ",a[1]=a[1]+" vk_prBlocks_item_icon ";var r=a.join("");return(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer ".concat(e),style:t},et(r))}(),L="";return"1"===M[w]&&(L="is-style-outline"),e=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),t=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]}),R[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4 ".concat(L)},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},H,e,t)):(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4 ".concat(L)},H,e,t)}}]),a}(P.Component);var ga=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,m=t.urlOpenType1,p=t.urlOpenType2,v=t.urlOpenType3,f=t.icon1,b=t.icon2,d=t.icon3,k=t.color1,_=t.color2,h=t.color3,g=t.bgType1,y=t.bgType2,E=t.bgType3,x=t.insertImage1,C=t.insertImage2,N=t.insertImage3,T=this.props.for_,B=this.props.blockNum,w=this.props.blockNum-1,S=[n,o,a],I=[r,l,c],R=[i,s,u],A=[m,p,v],O=[f,b,d],z=[k,_,h],F=[g,y,E],j=[x,C,N],H="",L="",U=j[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url(".concat(j[w],")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},(0,P.createElement)("img",{src:j[w],alt:""})):(z[w]||(z[w]="#0693e3"),"0"===F[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},(0,P.createElement)("i",{className:"".concat(O[w]," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},(0,P.createElement)("i",{className:"".concat(O[w]," vk_prBlocks_item_icon"),style:{color:z[w]}})));return"edit"===T?1===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",onChange:function(t){return e({heading1:t})},value:n,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:r,placeholder:(0,M.__)("Input Content","vk-blocks")})):2===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",onChange:function(t){return e({heading2:t})},value:o,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:(0,M.__)("Input Content","vk-blocks")})):3===B&&(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",onChange:function(t){return e({heading3:t})},value:a,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:(0,M.__)("Input Content","vk-blocks")})):"save"===T&&(H=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h1",value:S[w]}),L=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]})),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],target:A[w]?"_blank":"_self",className:"vk_prBlocks_item_link",rel:"noopener noreferrer"},U,H,L))}}]),a}(P.Component);var ya=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,m=t.urlOpenType1,p=t.urlOpenType2,v=t.urlOpenType3,f=t.icon1,b=t.icon2,d=t.icon3,k=t.color1,_=t.color2,h=t.color3,g=t.bgType1,y=t.bgType2,E=t.bgType3,x=t.insertImage1,C=t.insertImage2,N=t.insertImage3,T=this.props.for_,B=this.props.blockNum,w=this.props.blockNum-1,S=[n,o,a],I=[r,l,c],R=[i,s,u],A=[m,p,v],O=[f,b,d],z=[k,_,h],F=[g,y,E],j=[x,C,N],H="",L="",U=j[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:function(e){var t=e[w];if(da(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(ka(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}}(j)},function(e){if(da(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(ka(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(j[w])):(z[w]||(z[w]="#0693e3"),"0"===F[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},(0,P.createElement)("i",{className:"".concat(O[w]," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},(0,P.createElement)("i",{className:"".concat(O[w]," vk_prBlocks_item_icon"),style:{color:z[w]}})));return"edit"===T?1===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:r,placeholder:(0,M.__)("Input Content","vk-blocks")})):2===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:o,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:(0,M.__)("Input Content","vk-blocks")})):3===B&&(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:a,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:(0,M.__)("Input Content","vk-blocks")})):"save"===T&&(H=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),L=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]})),R[w]&&"save"===T?(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},U,H,L)):(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},U,H,L)}}]),a}(P.Component);var Ea=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,m=t.urlOpenType1,p=t.urlOpenType2,v=t.urlOpenType3,f=t.icon1,b=t.icon2,d=t.icon3,k=t.color1,_=t.color2,h=t.color3,g=t.bgType1,y=t.bgType2,E=t.bgType3,x=t.insertImage1,C=t.insertImage2,N=t.insertImage3,T=this.props.for_,B=this.props.blockNum,w=this.props.blockNum-1,S=[n,o,a],I=[r,l,c],R=[i,s,u],A=[m,p,v],O=[f,b,d],z=[k,_,h],F=[g,y,E],j=[x,C,N],H="",L="",U=function(e){var t=e[w];if(da(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(ka(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},D=function(){if(j[w])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:U(j)},function(e){if(da(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(ka(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(j[w]));var e;z[w]||(z[w]="#0693e3"),e="0"===F[w]?"#fff":z[w];var t=O[w];t&&!t.match(/<i/)&&(t='<i class="'.concat(t,'"></i>'));var n=t.split(" ");n[0]=n[0]+' style="color:'.concat(e,'" '),n[1]=n[1]+" vk_prBlocks_item_icon ";var o=n.join("");return"0"===F[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},et(o)):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},et(o))}();return"edit"===T?1===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:r,placeholder:(0,M.__)("Input Content","vk-blocks")})):2===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:o,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:(0,M.__)("Input Content","vk-blocks")})):3===B&&(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:a,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:(0,M.__)("Input Content","vk-blocks")})):"save"===T&&(H=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),L=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]})),R[w]&&"save"===T?(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},D,H,L)):(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},D,H,L)}}]),a}(P.Component);var xa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.heading1,a=n.heading2,r=n.heading3,l=n.content1,c=n.content2,i=n.content3,s=n.url1,u=n.url2,m=n.url3,p=n.urlOpenType1,v=n.urlOpenType2,f=n.urlOpenType3,b=n.icon1,d=n.icon2,k=n.icon3,_=n.color1,h=n.color2,g=n.color3,y=n.bgType1,E=n.bgType2,x=n.bgType3,C=n.insertImage1,N=n.insertImage2,T=n.insertImage3,B=this.props.blockNum,w=this.props.blockNum-1,S=[o,a,r],I=[l,c,i],R=[s,u,m],A=[p,v,f],O=[b,d,k],z=[_,h,g],M=[y,E,x],F=[C,N,T],j=function(e){var t=e[w];if(da(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(ka(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=function(){if(F[w])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:j(F)},function(e){if(da(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(ka(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(F[w]));var e;z[w]||(z[w]="#0693e3"),e="0"===M[w]?"#fff":z[w];var t=O[w];t&&!t.match(/<i/)&&(t='<i class="'.concat(t,'"></i>'));var n=t.split(" ");n[0]=n[0]+' style="color:'.concat(e,'" '),n[1]=n[1]+" vk_prBlocks_item_icon ";var o=n.join("");return"0"===M[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},et(o)):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},et(o))}();return e=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),t=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]}),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},H,e,t))}}]),a}(P.Component);var Ca,Na,Ta,Ba,wa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.heading1,a=n.heading2,r=n.heading3,l=n.content1,c=n.content2,i=n.content3,s=n.url1,u=n.url2,m=n.url3,p=n.urlOpenType1,v=n.urlOpenType2,f=n.urlOpenType3,b=n.icon1,d=n.icon2,k=n.icon3,_=n.color1,h=n.color2,g=n.color3,y=n.bgType1,E=n.bgType2,x=n.bgType3,C=n.insertImage1,N=n.insertImage2,T=n.insertImage3,B=this.props.blockNum,w=this.props.blockNum-1,S=[o,a,r],I=[l,c,i],R=[s,u,m],A=[p,v,f],O=[b,d,k],z=[_,h,g],M=[y,E,x],F=[C,N,T],j=function(e){var t=e[w];if(da(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(ka(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=function(){if(F[w])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:j(F)},function(e){if(da(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(ka(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(F[w]));var e;z[w]||(z[w]="#0693e3"),e="0"===M[w]?"#fff":z[w];var t=O[w];t&&!t.match(/<i/)&&(t='<i class="'.concat(t,'"></i>'));var n=t.split(" ");n[0]=n[0]+' style="color:'.concat(e,'" '),n[1]=n[1]+" vk_prBlocks_item_icon ";var o=n.join("");return"0"===M[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},et(o)):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},et(o))}();return e=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),t=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]}),R[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},H,e,t)):(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},H,e,t)}}]),a}(P.Component),Sa=[{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:".vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:""},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:'<i class="fas fa-file"></i>'},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:""};return t}(),save:function(e){var t=e.attributes,n=Q.useBlockProps.save({className:"vk_prBlocks row"});return(0,P.createElement)("div",n,(0,P.createElement)(wa,{attributes:t,blockNum:1}),(0,P.createElement)(wa,{attributes:t,blockNum:2}),(0,P.createElement)(wa,{attributes:t,blockNum:3}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:".vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:""},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:'<i class="fas fa-file"></i>'},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:""};return t}(),save:function(e){var t=e.attributes,n=Q.useBlockProps.save({className:"vk_prBlocks row"});return(0,P.createElement)("div",n,(0,P.createElement)(xa,{attributes:t,blockNum:1}),(0,P.createElement)(xa,{attributes:t,blockNum:2}),(0,P.createElement)(xa,{attributes:t,blockNum:3}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:".vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:""},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:'<i class="fas fa-file"></i>'},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:""};return t}(),save:function(e){var t,n=e.attributes,o=e.className;return t=o?"".concat(o," vk_prBlocks row"):"vk_prBlocks row",(0,P.createElement)("div",{className:t},(0,P.createElement)(Ea,{attributes:n,blockNum:1,for_:"save"}),(0,P.createElement)(Ea,{attributes:n,blockNum:2,for_:"save"}),(0,P.createElement)(Ea,{attributes:n,blockNum:3,for_:"save"}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:"h3.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}(),save:function(e){var t,n=e.attributes,o=e.className;return t=o?"".concat(o," vk_prBlocks row"):"vk_prBlocks row",(0,P.createElement)("div",{className:t},(0,P.createElement)(ya,{attributes:n,blockNum:1,for_:"save"}),(0,P.createElement)(ya,{attributes:n,blockNum:2,for_:"save"}),(0,P.createElement)(ya,{attributes:n,blockNum:3,for_:"save"}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:"h1.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}(),save:function(e){var t=e.attributes;return(0,P.createElement)("div",{className:"vk_prBlocks row"},(0,P.createElement)(ga,{attributes:t,blockNum:1,for_:"save"}),(0,P.createElement)(ga,{attributes:t,blockNum:2,for_:"save"}),(0,P.createElement)(ga,{attributes:t,blockNum:3,for_:"save"}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:"h3.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}(),save:function(e){var t=e.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,m=t.urlOpenType1,p=t.urlOpenType2,v=t.urlOpenType3,f=t.icon1,b=t.icon2,d=t.icon3,k=t.color1,_=t.color2,h=t.color3,g=t.bgType1,y=t.bgType2,E=t.bgType3,x=t.insertImage1,C=t.insertImage2,N=t.insertImage3;return(0,P.createElement)("div",{className:"vk_prBlocks row"},(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:i,target:m?"_blank":"_self",className:"vk_prBlocks_item_link"},x?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+x+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},(0,P.createElement)("img",{src:x,alt:""})):(k||(k="#0693e3",g="0"),"0"===g?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:k,border:"1px solid ".concat(k)}},(0,P.createElement)("i",{className:"".concat(f," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+k}},(0,P.createElement)("i",{className:"".concat(f," vk_prBlocks_item_icon"),style:{color:k}}))),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",value:n}),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",value:r}))),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:s,target:p?"_blank":"_self",className:"vk_prBlocks_item_link"},C?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+C+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},(0,P.createElement)("img",{src:C,alt:""})):(_||(_="#0693e3",y="0"),"0"===y?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:_,border:"1px solid ".concat(_)}},(0,P.createElement)("i",{className:"".concat(b," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+_}},(0,P.createElement)("i",{className:"".concat(b," vk_prBlocks_item_icon"),style:{color:_}}))),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",value:o}),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",value:l}))),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:u,target:v?"_blank":"_self",className:"vk_prBlocks_item_link"},N?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+N+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},(0,P.createElement)("img",{src:N,alt:""})):(h||(h="#0693e3",E="0"),"0"===E?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:h,border:"1px solid ".concat(h)}},(0,P.createElement)("i",{className:"".concat(d," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+h}},(0,P.createElement)("i",{className:"".concat(d," vk_prBlocks_item_icon"),style:{color:h}}))),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",value:a}),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",value:c}))))}}],Ia=ba.name,Ra={icon:(0,P.createElement)((function(e){return G.createElement("svg",fa({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ia||(ia=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.15 7.88A3 3 0 0 1 3 2a3 3 0 1 1-.85 5.88zm.25-4.01V3.2h1.2v.67H2.4zm0 2.93V4.4h1.2v2.4H2.4zm8.75 1.08A3 3 0 0 1 12 2a3 3 0 1 1-.85 5.88zm.25-4.01V3.2h1.2v.67h-1.2zm0 2.93V4.4h1.2v2.4h-1.2zm8.75 1.08A3 3 0 0 1 21 2a3 3 0 1 1-.85 5.88zm.25-4.01V3.2h1.2v.67h-1.2zm0 2.93V4.4h1.2v2.4h-1.2z",fill:"#000"})),sa||(sa=G.createElement("path",{d:"M24 10v1h-6v-1h6zm0 2v1h-6v-1h6zm0 2v1h-6v-1h6zm-9-3v-1H9v1h6zm0 2v-1H9v1h6zm0 2v-1h-2.77c.2.3.3.65.27 1H15zm-9-5v1H0v-1h6zm-2.63 3 .14-.41c.08-.23.2-.43.37-.59H0v1h3.37zm7.52 1.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),ua||(ua=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{heading1:H,heading2:H,heading3:H,content1:F,content2:F,content3:F,url1:V,url2:V,url3:V,urlOpenType1:!1,urlOpenType2:!1,urlOpenType3:!1,icon1:L,icon2:L,icon3:L,color1:D,color2:D,color3:D,bgType1:"0",bgType2:"0",bgType3:"0",insertImage1:"",insertImage2:"",insertImage3:""},edit:function(e){var t=e.attributes,n=e.setAttributes,o=t.url1,a=t.url2,r=t.url3,l=t.urlOpenType1,c=t.urlOpenType2,i=t.urlOpenType3,s=t.bgType1,u=t.bgType2,m=t.bgType3,p=t.insertImage1,v=t.insertImage2,f=t.insertImage3,b=vkFontAwesome.iconFamily,d=(0,Q.useBlockProps)({className:"vk_prBlocks row"}),k=function(e){if(da(e))return e?(0,P.createElement)("img",{className:"icon-image",src:e,alt:(0,M.__)("Upload image","vk-blocks")}):(0,M.__)("Select image","vk-blocks");var t=JSON.parse(ka(e));return e?(0,P.createElement)("img",{className:"icon-image",src:t.sizes.full.url,alt:t.alt}):(0,M.__)("Select image","vk-blocks")};return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("PR Block1 Setting","vk-blocks")},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Link URL:","vk-blocks"),id:"vk_prBlocks_linkUrl1"},(0,P.createElement)(ne.TextControl,{value:o,onChange:function(e){return n({url1:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:l,onChange:function(e){return n({urlOpenType1:e})}})),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon 1","vk-blocks")+" ( "+b+" )",id:"vk_prBlocks_Icon1"},(0,P.createElement)(Ke,Ne({attributeName:"icon1"},e)),(0,P.createElement)(Pe,Ne({schema:"color1"},e)),(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Icon Background:","vk-blocks"),selected:s,options:[{label:(0,M.__)("Solid color","vk-blocks"),value:"0"},{label:(0,M.__)("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType1:e})}})),(0,P.createElement)(ne.BaseControl,{help:(0,M.__)("When you have an image. Image is displayed with priority","vk-blocks")},(0,P.createElement)("h4",{className:"components-base-control__title"},(0,M.__)("PR Image 1","vk-blocks")),(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){da(e)?n({insertImage1:e.url}):n({insertImage1:JSON.stringify(e)})},type:"image",value:p,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:p?"image-button":"button button-large"},k(p))}}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("PR Block2 Setting","vk-blocks")},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Link URL:","vk-blocks"),id:"vk_prBlocks_linkUrl2"},(0,P.createElement)(ne.TextControl,{value:a,onChange:function(e){return n({url2:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:c,onChange:function(e){return n({urlOpenType2:e})}})),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon 2","vk-blocks")+" ( "+b+" )",id:"vk_prBlocks_Icon2"},(0,P.createElement)(Ke,Ne({attributeName:"icon2"},e)),(0,P.createElement)(Pe,Ne({schema:"color2"},e)),(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Icon Background:","vk-blocks"),selected:u,options:[{label:(0,M.__)("Solid color","vk-blocks"),value:"0"},{label:(0,M.__)("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType2:e})}})),(0,P.createElement)(ne.BaseControl,{help:(0,M.__)("When you have an image. Image is displayed with priority.","vk-blocks")},(0,P.createElement)("h4",{className:"components-base-control__title"},(0,M.__)("PR Image 2","vk-blocks")),(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){da(e)?n({insertImage2:e.url}):n({insertImage2:JSON.stringify(e)})},type:"image",value:v,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:v?"image-button":"button button-large"},k(v))}}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("PR Block3 Setting","vk-blocks")},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Link URL:","vk-blocks"),id:"vk_prBlocks_linkUrl3"},(0,P.createElement)(ne.TextControl,{value:r,onChange:function(e){return n({url3:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return n({urlOpenType3:e})}})),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon 3","vk-blocks")+" ( "+b+" )",id:"vk_prBlocks_Icon3"},(0,P.createElement)(Ke,Ne({attributeName:"icon3"},e)),(0,P.createElement)(Pe,Ne({schema:"color3"},e)),(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Icon Background:","vk-blocks"),selected:m,options:[{label:(0,M.__)("Solid color","vk-blocks"),value:"0"},{label:(0,M.__)("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType3:e})}})),(0,P.createElement)(ne.BaseControl,{help:(0,M.__)("When you have an image. Image is displayed with priority.","vk-blocks")},(0,P.createElement)("h4",{className:"components-base-control__title"},(0,M.__)("PR Image 3","vk-blocks")),(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){da(e)?n({insertImage3:e.url}):n({insertImage3:JSON.stringify(e)})},type:"image",value:f,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:f?"image-button":"button button-large"},k(f))}})))),(0,P.createElement)("div",d,(0,P.createElement)(_a,{attributes:t,setAttributes:n,blockNum:1}),(0,P.createElement)(_a,{attributes:t,setAttributes:n,blockNum:2}),(0,P.createElement)(_a,{attributes:t,setAttributes:n,blockNum:3})))},save:function(e){var t=e.attributes,n=Q.useBlockProps.save({className:"vk_prBlocks row"});return(0,P.createElement)("div",n,(0,P.createElement)(ha,{attributes:t,blockNum:1}),(0,P.createElement)(ha,{attributes:t,blockNum:2}),(0,P.createElement)(ha,{attributes:t,blockNum:3}))},deprecated:Sa};function Aa(){return Aa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Aa.apply(this,arguments)}var Oa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,o=e.fontAwesomeIconAfter,a="",r="";return n&&(a=(0,P.createElement)("i",{className:"".concat(n," vk_button_link_before")})),o&&(r=(0,P.createElement)("i",{className:"".concat(o," vk_button_link_after")})),(0,P.createElement)(P.Fragment,null,a,(0,P.createElement)("span",{className:"vk_button_link_txt"},t),r)}}]),a}(P.Component);var za=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=this.props.setAttributes,d=this.props.className,k=this.props.for_,_="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};return _="right"===f?De()(d,_,"vk_prContent-layout-imageRight"):De()(d,_,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=null==v?"none":"1px solid ".concat(v),(0,P.createElement)("div",{className:_},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===k?(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}}):p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks")),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===k?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y,rel:"noopener noreferrer"},(0,P.createElement)(Oa,{attributes:t})))}()))}}]),a}(P.Component);var Pa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,o=e.content,a=e.contentColor,r=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,u=e.buttonTarget,m=e.Image,p=e.ImageBorderColor,v=e.layout,f=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),b=this.props.for_,d="vk_prContent",k="vk_button",_="btn btn-block vk_button_link vk_prContent_colTxt_btn",h={};return d="".concat(d,"right"===v?" vk_prContent-layout-imageRight":" vk_prContent-layout-imageLeft"),i?(k="".concat(k," vk_button-color-custom"),_="".concat(_," btn-primary"),"0"===l?h={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(h={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(_="".concat(_," btn-").concat(c),h=null):"1"===l&&(_="".concat(_," btn-outline-").concat(c),h=null)),(0,P.createElement)("div",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===b?(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return f({Image:e.sizes.full.url})},type:" image",value:m,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:m?"image-button":"button button-large"},m?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:m,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:"1px solid ".concat(p)}}):(0,M.__)("Select image","vk-blocks"))}}):m?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:m,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:"1px solid ".concat(p)}}):(0,M.__)("Select image","vk-blocks")),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===b?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return f({title:e})},value:t,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:n}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return f({content:e})},value:o,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:a}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:o,style:{color:a}})),function(){if(""!==s&&void 0!==s)return(0,P.createElement)("div",{className:k},(0,P.createElement)("a",{href:r,className:_,target:u?"_blank":null,style:h,rel:"noopener noreferrer"},(0,P.createElement)(Oa,{attributes:e})))}()))}}]),a}(P.Component),Ma=function(e){return function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(e)||(e=e.replace(/u0022/g,'"')),e};function Fa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Xe(e);if(t){var a=Xe(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return Ye(this,n)}}var ja=function(e){Ze(n,e);var t=Fa(n);function n(){return Ve(this,n),t.apply(this,arguments)}return We(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,o=e.fontAwesomeIconAfter,a="",r="";return n&&(a=(0,P.createElement)("i",{className:"".concat(n," vk_button_link_before")})),o&&(r=(0,P.createElement)("i",{className:"".concat(o," vk_button_link_after")})),(0,P.createElement)(P.Fragment,null,a,(0,P.createElement)("span",{className:"vk_button_link_txt"},t),r)}}]),n}(P.Component),Ha=function(e){Ze(n,e);var t=Fa(n);function n(){return Ve(this,n),t.apply(this,arguments)}return We(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),d=this.props.className,k=this.props.for_,_="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};_="right"===f?De()(d,_,"vk_prContent-layout-imageRight"):De()(d,_,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:_},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(k)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===k?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y,rel:"noopener noreferrer"},(0,P.createElement)(ja,{attributes:t})))}()))}}]),n}(P.Component);var La=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.buttonText,o=t.fontAwesomeIconAfter,a="";return o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>')),o&&((e=o.split(" "))[1]=" "+e[1]+" vk_button_link_after ",a=e.join("")),(0,P.createElement)(P.Fragment,null,(0,P.createElement)("span",{className:"vk_button_link_txt"},n),et(a))}}]),a}(P.Component);var Ua=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=this.props.setAttributes,d=this.props.className,k=this.props.for_,_="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},E={};o&&""!==o&&(E={color:o});var x={};r&&""!==r&&(x={color:r}),_="right"===f?De()(d,_,"vk_prContent-layout-imageRight"):De()(d,_,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var C=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:_},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:C,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(k)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===k?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:E}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:x})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:E}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:x})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m&&"_blank",style:y,rel:m&&"noopener"},(0,P.createElement)(La,{attributes:t})))}()))}}]),a}(P.Component);var Da=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,o=e.content,a=e.contentColor,r=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,u=e.buttonTarget,m=e.Image,p=e.ImageBorderColor,v=e.layout,f=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),b=this.props.for_,d="vk_prContent",k="vk_button",_="btn btn-block vk_button_link vk_prContent_colTxt_btn",h={};return d="".concat(d,"right"===v?" vk_prContent-layout-imageRight":" vk_prContent-layout-imageLeft"),i?(k="".concat(k," vk_button-color-custom"),_="".concat(_," btn-primary"),"0"===l?h={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(h={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(_="".concat(_," btn-").concat(c),h=null):"1"===l&&(_="".concat(_," btn-outline-").concat(c),h=null)),(0,P.createElement)("article",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===b?(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return f({Image:e.sizes.full.url})},type:" image",value:m,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:m?"image-button":"button button-large"},m?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:m,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:"1px solid ".concat(p)}}):(0,M.__)("Select image","vk-blocks"))}}):m?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:m,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:"1px solid ".concat(p)}}):(0,M.__)("Select image","vk-blocks")),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===b?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return f({title:e})},value:t,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:n}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return f({content:e})},value:o,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:a}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:o,style:{color:a}})),function(){if(""!==s&&void 0!==s)return(0,P.createElement)("div",{className:k},(0,P.createElement)("a",{href:r,className:_,target:u?"_blank":null,rel:"noopener noreferrer",style:h},(0,P.createElement)(Oa,{attributes:e})))}()))}}]),a}(P.Component);var Va=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.buttonText,a=n.fontAwesomeIconBefore,r=n.fontAwesomeIconAfter,l="",c="";return a&&!a.match(/<i/)&&(a='<i class="'.concat(a,'"></i>')),r&&!r.match(/<i/)&&(r='<i class="'.concat(r,'"></i>')),a&&((e=a.split(" "))[1]=" "+e[1]+" vk_button_link_before ",l=e.join("")),r&&((t=r.split(" "))[1]=" "+t[1]+" vk_button_link_after ",c=t.join("")),(0,P.createElement)(P.Fragment,null,et(l),(0,P.createElement)("span",{className:"vk_button_link_txt"},o),et(c))}}]),a}(P.Component);var qa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),d=this.props.className,k=this.props.for_,_="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};_="right"===f?De()(d,_,"vk_prContent-layout-imageRight"):De()(d,_,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:_},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(k)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===k?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y,rel:"noopener noreferrer"},(0,P.createElement)(Va,{attributes:t})))}()))}}]),a}(P.Component);var Wa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),d=this.props.className,k=this.props.for_,_="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};_="right"===f?De()(d,_,"vk_prContent-layout-imageRight"):De()(d,_,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:_},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(k)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===k?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y},(0,P.createElement)(Va,{attributes:t})))}()))}}]),a}(P.Component);var Ja=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),d=this.props.className,k=this.props.for_,_="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};_="right"===f?De()(d,_,"vk_prContent-layout-imageRight"):De()(d,_,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:_},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(k)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===k?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y},(0,P.createElement)(Va,{attributes:t})))}()))}}]),a}(P.Component);var Za=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),d=this.props.className,k=this.props.for_,_="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};_="right"===f?De()(d,_,"vk_prContent-layout-imageRight"):De()(d,_,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:_},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(k)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===k?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m&&"_blank",style:y,rel:m&&"noopener"},(0,P.createElement)(Va,{attributes:t})))}()))}}]),a}(P.Component),Ga=function(e){var t,n="";return e&&!e.match(/<i/)&&(e='<i class="'.concat(e,'"></i>')),e&&((t=e.split(" "))[1]=" "+t[1]+" vk_button_link_before ",n=t.join("")),n},Ya=function(e){var t=e.Image,n=e.ImageBorderColor;if(!t)return(0,M.__)("Select Image","vk-blocks");var o=function(e){var t="none";return e&&(t="1px solid ".concat(e)),t}(n);if(t&&-1===t.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:t,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:o}});var a=JSON.parse(Ma(t));return a&&void 0!==a.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:a.sizes.full.url,alt:a.alt,style:{border:o}}):void 0};function Xa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xa(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ka,Qa,er,tr={title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string"},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string"},url:{type:"string",default:null},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:null},ImageBorderColor:{type:"string",default:null},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string"},fontAwesomeIconAfter:{type:"string"}},nr=$a($a({},tr),{},{titleColor:{type:"string",default:""},contentColor:{type:"string",default:""},url:{type:"string",default:""},buttonColorCustom:{type:"string",default:""},Image:{type:"string",default:"{}"},ImageBorderColor:{type:"string",default:""},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}}),or=$a($a({},nr),{},{fontAwesomeIconBefore:{type:"string",default:'<i class="fas fa-user"></i>'},fontAwesomeIconAfter:{type:"string",default:'<i class="fas fa-user"></i>'}}),ar=[{attributes:or,save:function(e){var t=e.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=t.fontAwesomeIconBefore,d=t.fontAwesomeIconAfter,k=function(e){return"vk_prContent vk_prContent-layout-image".concat("right"===e?"Right":"Left")}(f),_=function(e){var t="vk_button";return e&&(t="".concat(t," vk_button-color-custom")),t}(s),h=function(e,t,n){var o="btn btn-block vk_button_link vk_prContent_colTxt_btn";return t?o="".concat(o," btn-primary"):t||("0"===n?o="".concat(o," btn-").concat(e):"1"===n&&(o="".concat(o," btn-outline-").concat(e))),o}(i,s,c),g=function(e,t){var n=null;return"0"===t?n={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===t&&(n={backgroundColor:"transparent",border:"1px solid "+e,color:e}),n}(s,c),y=Ga(b),E=Ga(d);return(0,P.createElement)("div",Q.useBlockProps.save({className:k}),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},(0,P.createElement)(Ya,{Image:p,ImageBorderColor:v})),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}}),u&&(0,P.createElement)("div",{className:_},(0,P.createElement)("a",{href:l,className:h,rel:m?"noopener noreferrer":void 0,style:g,target:m?"_blank":void 0},et(y),(0,P.createElement)("span",{className:"vk_button_link_txt"},u),et(E)))))}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Ua,{attributes:t,className:n,for_:"save"})}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Za,{attributes:t,className:n,for_:"save"})}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Ja,{attributes:t,className:n,for_:"save"})}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Wa,{attributes:t,className:n,for_:"save"})}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(qa,{attributes:t,className:n,for_:"save"})}},{attributes:nr,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Da,{attributes:t,className:n,for_:"save"})}},{attributes:nr,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Ha,{attributes:t,className:n,for_:"save"})}},{attributes:tr,save:function(e){var t=e.attributes;return e.className,(0,P.createElement)(Pa,{attributes:t,for_:"save"})}},{attributes:tr,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(za,{attributes:t,className:n,for_:"save"})}}],rr=ar,lr=function(e){return"vk_prContent vk_prContent-layout-image".concat("right"===e?"Right":"Left")},cr=function(e){var t="vk_button";return e&&(t="".concat(t," vk_button-color-custom")),t},ir=function(e,t,n){var o="btn btn-block vk_button_link vk_prContent_colTxt_btn";return t?o="".concat(o," btn-primary"):t||("0"===n?o="".concat(o," btn-").concat(e):"1"===n&&(o="".concat(o," btn-outline-").concat(e))),o},sr=function(e,t){var n=null;return"0"===t?n={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===t&&(n={backgroundColor:"transparent",border:"1px solid "+e,color:e}),n},ur=function(e,t){var n,o="";return e&&!e.match(/<i/)&&(e='<i class="'.concat(e,'"></i>')),e&&((n=e.split(" "))[1]=" "+n[1]+" "+t+" ",o=n.join("")),o},mr=function(e){var t="none";return e&&(t="1px solid ".concat(e)),t},pr=function(e){var t,n=e.ImageBorderColor,o=e.setAttributes,a=e.Image,r=mr(n),l={};(t=a)&&-1===t.indexOf("{")?(l.setImage=function(e){return o({Image:e.sizes.full.url})},l.value=a,l.alt=(0,M.__)("Upload image","vk-blocks"),l.getImagePlaceHolder=function(e,t){return e?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:e,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:t}}):(0,M.__)("Select image","vk-blocks")}):(l.setImage=function(e){if(e){var t={alt:e.alt,sizes:{full:{url:e.sizes.full.url}}};o({Image:JSON.stringify(t)})}},l.value=JSON.parse(Ma(a)),l.alt=l.value.alt,l.getImagePlaceHolder=function(e,t){return null===(e=JSON.parse(Ma(e)))||void 0===e.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:e.sizes.full.url,alt:e.alt,style:{border:t}})});var c=null!=a&&""!==a&&"{}"!==a;return(0,P.createElement)(Q.MediaUpload,{onSelect:l.setImage,type:"image",value:l.value,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:c?"image-button":"button button-large"},l.getImagePlaceHolder(a,r))}})},vr=function(e){var t=e.Image,n=e.ImageBorderColor;if(!t)return(0,M.__)("Select Image","vk-blocks");var o=mr(n);if(t&&-1===t.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:t,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:o}});var a=JSON.parse(Ma(t));return a&&void 0!==a.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:a.sizes.full.url,alt:a.alt,style:{border:o}}):void 0},fr=JSON.parse('{"apiVersion":2,"name":"vk-blocks/pr-content","title":"PR Content","description":"This is PR content where you can place images, headlines, text, and buttons.","category":"vk-blocks-cat","attributes":{"title":{"source":"html","selector":".vk_prContent_colTxt_title"},"titleColor":{"type":"string","default":""},"content":{"source":"html","selector":".vk_prContent_colTxt_text"},"contentColor":{"type":"string","default":""},"url":{"type":"string","default":""},"buttonType":{"type":"string","default":"0"},"buttonColor":{"type":"string","default":"primary"},"buttonColorCustom":{"type":"string","default":""},"buttonText":{"source":"html","selector":".vk_button_link_txt","default":""},"buttonTarget":{"type":"Boolean","default":false},"Image":{"type":"string","default":"{}"},"ImageBorderColor":{"type":"string","default":""},"layout":{"type":"string","default":"left"},"fontAwesomeIconBefore":{"type":"string","default":"<i class=\'fas fa-user\'></i>"},"fontAwesomeIconAfter":{"type":"string","default":"<i class=\'fas fa-user\'></i>"}},"textdomain":"vk-blocks","supports":{"className":true}}'),br=fr.name,dr={icon:(0,P.createElement)((function(e){return G.createElement("svg",Aa({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ca||(Ca=G.createElement("path",{d:"M12 3H1v9.5h2.55a1.6 1.6 0 0 0-.04.09l-.24.69H0V2h13v11.5h-1.29a1.6 1.6 0 0 0-.82-.22H8.62c.02-.26-.02-.53-.12-.78H12V3zm3 1.5h9v1h-9v-1zM24 7h-9v1h9V7zm0-5h-9v1h9V2zm-6.5 9h4v1h-4v-1z",fill:"#000"})),Na||(Na=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 10.7c0-.32.13-.62.37-.85.23-.22.55-.35.88-.35h6.5c.33 0 .65.13.88.35.24.23.37.53.37.85v1.6c0 .32-.13.62-.37.85-.23.22-.55.35-.88.35h-6.5c-.33 0-.65-.13-.88-.35a1.18 1.18 0 0 1-.37-.85v-1.6zm1.25-.4a.43.43 0 0 0-.3.12.4.4 0 0 0-.12.28v1.6a.43.43 0 0 0 .42.4h6.5c.11 0 .22-.04.3-.12a.4.4 0 0 0 .12-.28v-1.6a.4.4 0 0 0-.13-.28.43.43 0 0 0-.29-.12h-6.5z",fill:"#000"})),Ta||(Ta=G.createElement("path",{d:"M5.62 6a1 1 0 0 1-1 .99 1 1 0 0 1-1-1 1 1 0 0 1 2 0zm5.48 4.83H2.15c-.42 0-.67-.52-.43-.9l1.44-2.2a.5.5 0 0 1 .85 0l.95 1.43c.2.3.6.33.82.04l2.2-2.8a.5.5 0 0 1 .79 0l2.73 3.5c.29.36.05.93-.4.93zm-.21 3.95H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Ba||(Ba=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{attributes:{title:F,titleColor:D,content:j,contentColor:D,url:V,buttonType:"0",buttonColor:"primary",buttonColorCustom:"",buttonText:H,buttonTarget:!1,Image:U,ImageBorderColor:D,layout:"left",fontAwesomeIconBefore:L,fontAwesomeIconAfter:L}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.title,r=t.titleColor,l=t.content,c=t.contentColor,i=t.url,s=t.buttonType,u=t.buttonColor,m=t.buttonColorCustom,p=t.buttonText,v=t.buttonTarget,f=t.Image,b=t.ImageBorderColor,d=t.layout,k=t.fontAwesomeIconBefore,_=t.fontAwesomeIconAfter,h=vkFontAwesome.iconFamily,g=lr(d),y=cr(m),E=ir(u,m,s),x=sr(m,s),C=ur(k,"vk_button_link_before"),N=ur(_,"vk_button_link_after"),T=(0,Q.useBlockProps)({className:g});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Color Setting","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_titleColor-".concat(o),label:(0,M.__)("Title Color","vk-blocks")},(0,P.createElement)(Q.ColorPalette,{value:r,onChange:function(e){return n({titleColor:e})}})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_contentColor-".concat(o),label:(0,M.__)("Content Color","vk-blocks")},(0,P.createElement)(Q.ColorPalette,{value:c,onChange:function(e){return n({contentColor:e})}})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_image-borderColor-".concat(o),label:(0,M.__)("Image Border Color","vk-blocks")},(0,P.createElement)(Q.ColorPalette,{value:b,onChange:function(e){return n({ImageBorderColor:e})}}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Button Setting","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_buttonText-".concat(o),label:(0,M.__)("Button Text","vk-blocks")},(0,P.createElement)(ne.TextControl,{value:p,onChange:function(e){return n({buttonText:e})},placeholder:"Input button text."})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_linkUrl-".concat(o),label:(0,M.__)("Link URL","vk-blocks")},(0,P.createElement)(ne.TextControl,{value:i,onChange:function(e){return n({url:e})},placeholder:"https://vektor-inc.co.jp/"})),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:v,onChange:function(e){return n({buttonTarget:e})}}),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_buttonType-".concat(o),label:(0,M.__)("Button Type","vk-blocks")},(0,P.createElement)(ne.RadioControl,{selected:s,options:[{label:(0,M.__)("Solid","vk-blocks"),value:"0"},{label:(0,M.__)("Ghost","vk-blocks"),value:"1"}],onChange:function(e){return n({buttonType:e})}})),(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Default Color:","vk-blocks"),selected:u,options:[{label:(0,M.__)("Primary","vk-blocks"),value:"primary"},{label:(0,M.__)("Secondary","vk-blocks"),value:"secondary"},{label:(0,M.__)("Success","vk-blocks"),value:"success"},{label:(0,M.__)("Info","vk-blocks"),value:"info"},{label:(0,M.__)("Warning","vk-blocks"),value:"warning"},{label:(0,M.__)("Danger","vk-blocks"),value:"danger"},{label:(0,M.__)("Light","vk-blocks"),value:"light"},{label:(0,M.__)("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return n({buttonColor:e})}}),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_buttonColor-".concat(o),label:(0,M.__)("Button Color","vk-blocks")},(0,P.createElement)(Q.ColorPalette,{value:m,onChange:function(e){return n({buttonColorCustom:e})}})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_icon-".concat(o)},(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Icon","vk-blocks")+" ( "+h+" )"),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_icon_beforeText".concat(o),label:(0,M.__)("Before text","vk-blocks")},(0,P.createElement)(Ke,{attributeName:"fontAwesomeIconBefore",attributes:t,setAttributes:n})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_icon_afterText-".concat(o),label:(0,M.__)("After text","vk-blocks")},(0,P.createElement)(Ke,{attributeName:"fontAwesomeIconAfter",attributes:t,setAttributes:n})))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Layout Setting","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Layout Type","vk-blocks"),selected:d,options:[{label:(0,M.__)("Right","vk-blocks"),value:"right"},{label:(0,M.__)("Left","vk-blocks"),value:"left"}],onChange:function(e){return n({layout:e})}}))),(0,P.createElement)("div",T,(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},(0,P.createElement)(pr,{ImageBorderColor:b,setAttributes:n,Image:f})),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return n({title:e})},value:a,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:r}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return n({content:e})},value:l,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:c}}),p&&(0,P.createElement)("div",{className:y},(0,P.createElement)("a",{href:i,className:E,target:v?"_blank":void 0,style:x,rel:v?"noopener noreferrer":void 0},et(C),(0,P.createElement)("span",{className:"vk_button_link_txt"},p),et(N))))))},save:function(e){var t=e.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=t.fontAwesomeIconBefore,d=t.fontAwesomeIconAfter,k=lr(f),_=cr(s),h=ir(i,s,c),g=sr(s,c),y=ur(b,"vk_button_link_before"),E=ur(d,"vk_button_link_after");return(0,P.createElement)("div",Q.useBlockProps.save({className:k}),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},(0,P.createElement)(vr,{Image:p,ImageBorderColor:v})),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}}),u&&(0,P.createElement)("div",{className:_},(0,P.createElement)("a",{href:l,className:h,rel:m?"noopener noreferrer":void 0,style:g,target:m?"_blank":void 0},et(y),(0,P.createElement)("span",{className:"vk_button_link_txt"},u),et(E)))))},deprecated:rr};function kr(){return kr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},kr.apply(this,arguments)}var _r=JSON.parse('{"apiVersion":2,"name":"vk-blocks/spacer","title":"Responsive Spacer","description":"Use responsive spacers to get the margins right.","category":"vk-blocks-cat","attributes":{"anchor":{"type":"string","default":null},"spaceType":{"type":"string","default":"margin-top"},"unit":{"type":"string","default":"px"},"pc":{"type":"number","default":40},"tablet":{"type":"number","default":30},"mobile":{"type":"number","default":20},"spaceSize":{"type":"string","default":"medium"}},"textdomain":"vk-blocks","supports":{"anchor":true}}');var hr=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.unit,n=e.pc,o=e.tablet,a=e.mobile;return(0,P.createElement)("div",{className:"vk_spacer"},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{height:n+t}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{height:o+t}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{height:a+t}}))}}]),a}(P.Component);var gr=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.unit,n=e.pc,o=e.tablet,a=e.mobile,r=this.props.className;return(0,P.createElement)("div",{className:"".concat(r," vk_spacer")},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{height:n+t}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{height:o+t}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{height:a+t}}))}}]),a}(P.Component);var yr=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.anchor,n=e.unit,o=e.pc,a=e.tablet,r=e.mobile,l=this.props.className;return(0,P.createElement)("div",{id:t,className:De()("vk_spacer",l)},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{height:o+n}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{height:a+n}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{height:r+n}}))}}]),a}(P.Component);var Er=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.anchor,n=e.spaceType,o=e.unit,a=e.pc,r=e.tablet,l=e.mobile,c=this.props.className;return"height"===n?(0,P.createElement)("div",{id:t,className:De()("vk_spacer",c)},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{height:a+o}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{height:r+o}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{height:l+o}})):"margin-top"===n?(0,P.createElement)("div",{id:t,className:De()("vk_spacer",c)},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{marginTop:a+o}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{marginTop:r+o}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{marginTop:l+o}})):void 0}}]),a}(P.Component),xr=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function Cr(e){var t=e.type,n=e.pcSize,o=e.tabletSize,a=e.mobileSize,r=e.unit;return"margin-top"===t?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(xr,{viewPort:"pc",style:{marginTop:n+r}}),(0,P.createElement)(xr,{viewPort:"tablet",style:{marginTop:o+r}}),(0,P.createElement)(xr,{viewPort:"mobile",style:{marginTop:a+r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(xr,{viewPort:"pc",style:{height:n+r}}),(0,P.createElement)(xr,{viewPort:"tablet",style:{height:o+r}}),(0,P.createElement)(xr,{viewPort:"mobile",style:{height:a+r}}))}var Nr=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function Tr(e){var t=e.spaceSize,n=e.type,o=e.pcSize,a=e.tabletSize,r=e.mobileSize,l=e.unit,c={small:"vk_block-margin-sm",medium:"vk_block-margin-md",large:"vk_block-margin-lg"};return void 0!==t&&c[t]?(0,P.createElement)("div",{className:c[t]}):"margin-top"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Nr,{viewPort:"pc",style:{marginTop:o+l}}),(0,P.createElement)(Nr,{viewPort:"tablet",style:{marginTop:a+l}}),(0,P.createElement)(Nr,{viewPort:"mobile",style:{marginTop:r+l}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Nr,{viewPort:"pc",style:{height:o+l}}),(0,P.createElement)(Nr,{viewPort:"tablet",style:{height:a+l}}),(0,P.createElement)(Nr,{viewPort:"mobile",style:{height:r+l}}))}var Br=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function wr(e){var t=e.spaceSize,n=e.type,o=e.pcSize,a=e.tabletSize,r=e.mobileSize,l=e.unit,c={small:"vk_block-margin-sm",medium:"vk_block-margin-md",large:"vk_block-margin-lg"};return void 0!==t&&c[t]?(0,P.createElement)("div",{className:c[t]}):"margin-top"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Br,{viewPort:"pc",style:{marginTop:o+l}}),(0,P.createElement)(Br,{viewPort:"tablet",style:{marginTop:a+l}}),(0,P.createElement)(Br,{viewPort:"mobile",style:{marginTop:r+l}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Br,{viewPort:"pc",style:{height:o+l}}),(0,P.createElement)(Br,{viewPort:"tablet",style:{height:a+l}}),(0,P.createElement)(Br,{viewPort:"mobile",style:{height:r+l}}))}function Sr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sr(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Rr={unit:{type:"string",default:"px"},pc:{type:"number",default:50},tablet:{type:"number",default:10},mobile:{type:"number",default:10},spaceType:{type:"string",default:"height"}},Ar=Ir(Ir({},Rr),{},{pc:{type:"number",default:40},tablet:{type:"number",default:30},mobile:{type:"number",default:20},anchor:{type:"string",default:null}}),Or=Ir(Ir({},Ar),{},{spaceSize:{type:"string",default:"medium"}}),zr=[{attributes:Or,save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile,i=t.spaceSize,s="vk_spacer";return"custom"!==i&&(s+=" vk_spacer-type-".concat(o)),(0,P.createElement)("div",Q.useBlockProps.save({className:s,id:n}),(0,P.createElement)(wr,{spaceSize:i,type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))}},{attributes:Or,save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile,i=t.spaceSize;return(0,P.createElement)("div",Q.useBlockProps.save({className:De()("vk_spacer"),id:n}),(0,P.createElement)(Tr,{spaceSize:i,type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))}},{attributes:Ar,save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile;return(0,P.createElement)("div",Q.useBlockProps.save({className:De()("vk_spacer"),id:n}),(0,P.createElement)(Cr,{type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))}},{attributes:Ar,save:function(e){var t=e.attributes;return(0,P.createElement)(Er,{attributes:t})}},{attributes:Ar,save:function(e){var t=e.attributes;return(0,P.createElement)(yr,{attributes:t})}},{attributes:Rr,save:function(e){var t=e.attributes;return(0,P.createElement)(gr,{attributes:t})}},{attributes:Rr,save:function(e){var t=e.attributes;return(0,P.createElement)(hr,{attributes:t})}}],Pr=function(e){var t=e.attributes,n=e.setAttributes,o=e.initial,a=t.pc,r=t.tablet,l=t.mobile,c=o.iPc,i=o.iTablet,s=o.iMobile;return a||(a=c),r||(r=i),l||(l=s),(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.TextControl,{label:(0,M.__)("PC","vk-blocks"),value:a,onChange:function(e){return n({pc:parseFloat(e)})},type:"number"}),(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Tablet","vk-blocks"),value:r,onChange:function(e){return n({tablet:parseFloat(e)})},type:"number"}),(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Mobile","vk-blocks"),value:l,onChange:function(e){return n({mobile:parseFloat(e)})},type:"number"}))},Mr=function(e){var t=e.attributes,n=e.setAttributes,o=t.unit;return(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Unit Type","vk-blocks"),value:o,onChange:function(e){return n({unit:e})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]})},Fr=function(e){var t=e.attributes,n=e.setAttributes,o=t.spaceType;return(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Space Type","vk-blocks"),value:o,onChange:function(e){return n({spaceType:e})},options:[{value:"height",label:(0,M.__)("height","vk-blocks")},{value:"margin-top",label:(0,M.__)("margin-top","vk-blocks")},{value:"margin-bottom",label:(0,M.__)("margin-bottom","vk-blocks")}]})},jr=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function Hr(e){var t=e.spaceSize,n=e.type,o=e.pcSize,a=e.tabletSize,r=e.mobileSize,l=e.unit,c={small:"vk_block-margin-sm",medium:"vk_block-margin-md",large:"vk_block-margin-lg"};return void 0!==t&&c[t]?"margin-top"===n?(0,P.createElement)("div",{className:c[t]+"--margin-top"}):"margin-bottom"===n?(0,P.createElement)("div",{className:c[t]+"--margin-bottom"}):(0,P.createElement)("div",{className:c[t]+"--height"}):"margin-top"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(jr,{viewPort:"pc",style:{marginTop:o+l}}),(0,P.createElement)(jr,{viewPort:"tablet",style:{marginTop:a+l}}),(0,P.createElement)(jr,{viewPort:"mobile",style:{marginTop:r+l}})):"margin-bottom"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(jr,{viewPort:"pc",style:{marginBottom:o+l}}),(0,P.createElement)(jr,{viewPort:"tablet",style:{marginBottom:a+l}}),(0,P.createElement)(jr,{viewPort:"mobile",style:{marginBottom:r+l}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(jr,{viewPort:"pc",style:{height:o+l}}),(0,P.createElement)(jr,{viewPort:"tablet",style:{height:a+l}}),(0,P.createElement)(jr,{viewPort:"mobile",style:{height:r+l}}))}var Lr,Ur,Dr,Vr=_r.name,qr={icon:(0,P.createElement)((function(e){return G.createElement("svg",kr({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ka||(Ka=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 0h16v1.5H8V0zm2.76 22.5H24V24H9.9c.55-.29.88-.89.86-1.5zm.75-5.92L15.93 21l5.3-5.3-1.03-1.03-3.55 3.55V5.78l3.21 3.2 1.03-1.02-2.48-2.48L15.93 3l-4.96 4.96L11.99 9l3.21-3.21v12.44l-2.79-2.79c-.07.2-.19.4-.35.57l-.55.58z",fill:"#000"})),Qa||(Qa=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),er||(er=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{anchor:null,spaceType:"height",unit:"px",pc:40,tablet:30,mobile:20,spaceSize:"custom"},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,a=e.clientId,r=e.anchor,l=t.spaceType,c=t.unit,i=t.pc,s=t.tablet,u=t.mobile,m=t.spaceSize,p="vk_spacer";"custom"!==m&&(p+=" vk_spacer-type-".concat(l)),(0,P.useEffect)((function(){void 0===m&&n({spaceSize:"custom"})}),[a]);var v=(0,Q.useBlockProps)({className:p,id:r}),f="custom"===m?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Mr,{attributes:t,setAttributes:n,className:o}),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Height for each device.","vk-blocks"),id:"vk_spacer-viewPort-".concat(a)},(0,P.createElement)(Pr,{attributes:t,setAttributes:n,className:o,initial:{iPc:40,iTablet:30,iMobile:20},id:"vk_spacer-viewPort-".concat(a)}))):"";return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Spacer Settings","vk-blocks")},(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"small"===m,isSecondary:"small"!==m,onClick:function(){return n({spaceSize:"small"})}},(0,M.__)("Small","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"medium"===m,isSecondary:"medium"!==m,onClick:function(){return n({spaceSize:"medium"})}},(0,M.__)("Medium","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"large"===m,isSecondary:"large"!==m,onClick:function(){return n({spaceSize:"large"})}},(0,M.__)("Large","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"custom"===m,isSecondary:"custom"!==m,onClick:function(){return n({spaceSize:"custom"})}},(0,M.__)("Custom","vk-blocks"))),(0,P.createElement)("p",null,(0,M.__)("You can change each common margin size from Setting > VK Blocks","vk-blocks")),(0,P.createElement)(Fr,{attributes:t,setAttributes:n,className:o}),f)),(0,P.createElement)("div",v,(0,P.createElement)(Hr,{spaceSize:m,type:l,pcSize:i,tabletSize:s,mobileSize:u,unit:c})))},save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile,i=t.spaceSize,s="vk_spacer";return"custom"!==i&&(s+=" vk_spacer-type-".concat(o)),(0,P.createElement)("div",Q.useBlockProps.save({className:s,id:n}),(0,P.createElement)(Hr,{spaceSize:i,type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))},deprecated:zr};function Wr(){return Wr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Wr.apply(this,arguments)}var Jr=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Xe(t);if(n){var a=Xe(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Ye(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.vk_staff_text_name,n=e.vk_staff_text_caption,o=e.vk_staff_text_role,a=e.vk_staff_text_profileTitle,r=e.vk_staff_text_profileText,l=e.vk_staff_photo_image,c=e.vk_staff_photo_image_alt,i=e.vk_staff_layout,s=e.vk_staff_nameColor,u=e.vk_staff_captionColor,m=e.vk_staff_positionColor,p=e.vk_staff_profileTitleColor,v=e.vk_staff_profileTextColor,f=e.vk_staff_photoBorder,b=e.vk_staff_fontFamily,d=this.props.setAttributes,k=this.props.className,_=this.props.for_,h="",g="vk_staff_text";return"1"===b&&(g=classnames(g,"vk_staff-headingFont-serif")),"edit"===_?h=(0,P.createElement)("div",{className:"".concat(k," vk_staff vk_staff-layout-").concat(i)},(0,P.createElement)("div",{className:g},(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_staff_text_name",style:{color:s},onChange:function(e){return d({vk_staff_text_name:e})},value:t,placeholder:(0,M.__)("Your Name","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_caption",style:{color:u},onChange:function(e){return d({vk_staff_text_caption:e})},value:n,placeholder:(0,M.__)("Caption","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_role",style:{color:m},onChange:function(e){return d({vk_staff_text_role:e})},value:o,placeholder:(0,M.__)("Role position","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:p},onChange:function(e){return d({vk_staff_text_profileTitle:e})},value:a,placeholder:(0,M.__)("Profile title","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_profileText",style:{color:v},onChange:function(e){return d({vk_staff_text_profileText:e})},value:r,placeholder:(0,M.__)("Profile text","vk-blocks")})),(0,P.createElement)("div",{className:"vk_staff_photo vk_staff_photo-border-".concat(f)},(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return d({vk_staff_photo_image:e.sizes.full.url})},type:"image",className:"vk_staff_photo_image",value:l,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:l?"image-button":"button button-large"},l?(0,P.createElement)("img",{className:"vk_staff_photo_image",src:l,alt:(0,M.__)(c,"vk-blocks")}):(0,M.__)("Select image","vk-blocks"))}}))):"save"===_&&(h=(0,P.createElement)("div",{className:"".concat(k," vk_staff vk_staff-layout-").concat(i)},(0,P.createElement)("div",{className:g},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",className:"vk_staff_text_name",style:{color:s},value:t}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_caption",style:{color:u},value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_role",style:{color:m},value:o}),(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:p},value:a}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_profileText",style:{color:v},value:r})),l?(0,P.createElement)("div",{className:"vk_staff_photo vk_staff_photo-border-".concat(f)},(0,P.createElement)("img",{className:"vk_staff_photo_image",src:l,alt:c?(0,M.__)(c,"vk-blocks"):""})):"")),h}}]),a}(P.Component);function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Yr={vk_staff_text_name:{type:"string",source:"html",selector:"h3"},vk_staff_text_caption:{type:"string",source:"html",selector:"p.vk_staff_text_caption"},vk_staff_text_role:{type:"string",source:"html",selector:"p.vk_staff_text_role"},vk_staff_text_profileTitle:{type:"string",source:"html",selector:"h4"},vk_staff_text_profileText:{type:"string",source:"html",selector:"p.vk_staff_text_profileText"},vk_staff_photo_image:{type:"string",default:""},vk_staff_photo_image_alt:{type:"string",default:"Profile Picture"},vk_staff_layout:{type:"string",default:"default"},vk_staff_nameColor:{type:"string",default:"inherit"},vk_staff_captionColor:{type:"string",default:"inherit"},vk_staff_positionColor:{type:"string",default:"inherit"},vk_staff_profileTitleColor:{type:"string",default:"inherit"},vk_staff_profileTextColor:{type:"string",default:"inherit"},vk_staff_photoBorder:{type:"string",default:"default"}},Xr=Gr(Gr({},Yr),{},{vk_staff_fontFamily:{type:"string",default:"0"}}),$r=[{attributes:Xr,save:function(e){var t,n=e.attributes,o=e.className,a=n.vk_staff_layout,r=n.vk_staff_text_name,l=n.vk_staff_text_caption,c=n.vk_staff_text_role,i=n.vk_staff_text_profileTitle,s=n.vk_staff_text_profileText,u=n.vk_staff_nameColor,m=n.vk_staff_captionColor,p=n.vk_staff_positionColor,v=n.vk_staff_profileTitleColor,f=n.vk_staff_profileTextColor,b=n.vk_staff_photo_image,d=n.vk_staff_photo_image_alt,k=n.vk_staff_photoBorder,_=n.vk_staff_fontFamily,g=De()("vk_staff",(h(t={},o,!!o),h(t,"vk_staff-layout-".concat(a),!!a),t)),y=De()("vk_staff_photo",h({},"vk_staff_photo-border-".concat(k),!!k)),E=De();return E="1"===_?De()("vk_staff_text",E,"vk_staff-headingFont-serif"):De()("vk_staff_text",E),(0,P.createElement)("div",Q.useBlockProps.save({className:g}),(0,P.createElement)("div",{className:E},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",className:"vk_staff_text_name",style:{color:u},value:r}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_caption",style:{color:m},value:l}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_role",style:{color:p},value:c}),(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:v},value:i}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_profileText",style:{color:f},value:s})),b&&(0,P.createElement)("div",{className:y},(0,P.createElement)("img",{className:"vk_staff_photo_image",src:b,alt:d})))}},{attributes:Xr,save:function(e){var t,n=e.attributes,o=e.className,a=n.vk_staff_layout,r=n.vk_staff_text_name,l=n.vk_staff_text_caption,c=n.vk_staff_text_role,i=n.vk_staff_text_profileTitle,s=n.vk_staff_text_profileText,u=n.vk_staff_nameColor,m=n.vk_staff_captionColor,p=n.vk_staff_positionColor,v=n.vk_staff_profileTitleColor,f=n.vk_staff_profileTextColor,b=n.vk_staff_photo_image,d=n.vk_staff_photo_image_alt,k=n.vk_staff_photoBorder,_=De()("vk_staff",(h(t={},o,!!o),h(t,"vk_staff-layout-".concat(a),!!a),t)),g=De()("vk_staff_photo",h({},"vk_staff_photo-border-".concat(k),!!k));return(0,P.createElement)("div",Q.useBlockProps.save({className:_}),(0,P.createElement)("div",{className:"vk_staff_text"},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",className:"vk_staff_text_name",style:{color:u},value:r}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_caption",style:{color:m},value:l}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_role",style:{color:p},value:c}),(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:v},value:i}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_profileText",style:{color:f},value:s})),b&&(0,P.createElement)("div",{className:g},(0,P.createElement)("img",{className:"vk_staff_photo_image",src:b,alt:d})))}},{attributes:Yr,save:function(e){var t=e.attributes;return(0,P.createElement)(Jr,{attributes:t,setAttributes:"",className:"",for_:"save"})}}],Kr=JSON.parse('{"apiVersion":2,"name":"vk-blocks/staff","category":"vk-blocks-cat","title":"Staff","description":"Used for staff introduction, company introduction, school introduction, menu, etc.","textdomain":"vk-blocks","attributes":{"vk_staff_text_name":{"type":"string","source":"html","selector":"h3"},"vk_staff_text_caption":{"type":"string","source":"html","selector":"p.vk_staff_text_caption"},"vk_staff_text_role":{"type":"string","source":"html","selector":"p.vk_staff_text_role"},"vk_staff_text_profileTitle":{"type":"string","source":"html","selector":"h4"},"vk_staff_text_profileText":{"type":"string","source":"html","selector":"p.vk_staff_text_profileText"},"vk_staff_photo_image":{"type":"string","default":""},"vk_staff_photo_image_alt":{"type":"string","default":"Profile Picture"},"vk_staff_layout":{"type":"string","default":"default"},"vk_staff_nameColor":{"type":"string"},"vk_staff_captionColor":{"type":"string"},"vk_staff_positionColor":{"type":"string"},"vk_staff_profileTitleColor":{"type":"string"},"vk_staff_profileTextColor":{"type":"string"},"vk_staff_photoBorder":{"type":"string","default":"default"},"vk_staff_fontFamily":{"type":"string","default":"0"}},"supports":{"className":true}}'),Qr=Kr.name,el={icon:(0,P.createElement)((function(e){return G.createElement("svg",Wr({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Lr||(Lr=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 4.5H2a.5.5 0 0 0-.5.5v8.28H0V5c0-1.1.9-2 2-2h20a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H10.04l-.44-1.41.08-.09H22a.5.5 0 0 0 .5-.5V5a.5.5 0 0 0-.5-.5zM8.1 11.9H12v1.2H8.62a1.7 1.7 0 0 0-.53-1.2zm-4.12 0c-.2.18-.37.42-.47.69l-.18.51H3v-1.2h.98zM12 10.6H3V9.4h9v1.2zM3 8h2V6H3v2zm6 0H7V6h2v2zm2 0h2V6h-2v2zm6.5 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm3.5 3.4c0 .33-.31.6-.7.6h-5.6c-.39 0-.7-.27-.7-.6v-.6c0-1 .94-1.8 2.1-1.8.14 0 .26.04.4.09.22.07.5.16 1 .16s.79-.1 1-.16c.15-.05.27-.09.4-.09 1.16 0 2.1.8 2.1 1.8v.6z",fill:"#000"})),Ur||(Ur=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Dr||(Dr=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{attributes:{vk_staff_text_name:J,vk_staff_text_caption:Z,vk_staff_text_role:q,vk_staff_text_profileTitle:W,vk_staff_text_profileText:j,vk_staff_photo_image:U,vk_staff_layout:"default",vk_staff_nameColor:"inherit",vk_staff_captionColor:"inherit",vk_staff_positionColor:"inherit",vk_staff_profileTitleColor:"inherit",vk_staff_profileTextColor:"inherit",vk_staff_photoBorder:"default"}},edit:function(e){var t,n=e.attributes,o=e.setAttributes,a=e.className,r=e.clientId,l="vk_staff_name-color-".concat(r),c="vk_staff_caption-color-".concat(r),i="vk_staff_position-color-".concat(r),s="vk_staff_profileTitle-color-".concat(r),u="vk_staff_profileText-color-".concat(r),m=n.vk_staff_layout,p=n.vk_staff_nameColor,v=n.vk_staff_captionColor,f=n.vk_staff_positionColor,b=n.vk_staff_profileTitleColor,d=n.vk_staff_profileTextColor,k=n.vk_staff_photo_image_alt,_=n.vk_staff_photoBorder,g=n.vk_staff_text_name,y=n.vk_staff_text_caption,E=n.vk_staff_text_role,x=n.vk_staff_text_profileTitle,C=n.vk_staff_text_profileText,N=n.vk_staff_photo_image,T=n.vk_staff_fontFamily,B=De()("vk_staff",(h(t={},a,!!a),h(t,"vk_staff-layout-".concat(m),!!m),t)),w=(0,Q.useBlockProps)({className:B}),S=De()("vk_staff_photo",h({},"vk_staff_photo-border-".concat(_),!!_)),I=De();I="1"===T?De()("vk_staff_text",I,"vk_staff-headingFont-serif"):De()("vk_staff_text",I);var R={},A="";void 0!==p&&(A+=" has-text-color",pe(p)?R={color:"".concat(p)}:A+=" has-".concat(p,"-color"));var O={},z="";void 0!==v&&(z+=" has-text-color",pe(v)?O={color:"".concat(v)}:z+=" has-".concat(v,"-color"));var F={},j="";void 0!==f&&(j+=" has-text-color",pe(f)?F={color:"".concat(f)}:j+=" has-".concat(f,"-color"));var H={},L="";void 0!==b&&(L+=" has-text-color",pe(b)?H={color:"".concat(b)}:L+=" has-".concat(b,"-color"));var U={},D="";return void 0!==d&&(D+=" has-text-color",pe(d)?U={color:"".concat(d)}:D+=" has-".concat(d,"-color")),(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Layout","vk-blocks")},(0,P.createElement)(ne.SelectControl,{value:m,onChange:function(e){return o({vk_staff_layout:e})},options:[{value:"default",label:(0,M.__)("Default","vk-blocks")},{value:"imageLeft",label:(0,M.__)("Image left","vk-blocks")}]})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Image border","vk-blocks")},(0,P.createElement)(ne.SelectControl,{value:_,onChange:function(e){return o({vk_staff_photoBorder:e})},options:[{value:"default",label:(0,M.__)("Default","vk-blocks")},{value:"none",label:(0,M.__)("None","vk-blocks")}]})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Alt text","vk-blocks")},(0,P.createElement)(ne.BaseControl,{help:(0,M.__)("Set the alt text for profile image","vk-blocks")},(0,P.createElement)(ne.TextControl,{value:k,onChange:function(e){return o({vk_staff_photo_image_alt:e})}}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Color","vk-blocks")},(0,P.createElement)(ne.BaseControl,{id:l,label:(0,M.__)("Staff name","vk-blocks")},(0,P.createElement)(Pe,Ne({id:l,schema:"vk_staff_nameColor"},e))),(0,P.createElement)(ne.BaseControl,{id:c,label:(0,M.__)("Name caption","vk-blocks")},(0,P.createElement)(Pe,Ne({id:c,schema:"vk_staff_captionColor"},e))),(0,P.createElement)(ne.BaseControl,{id:i,label:(0,M.__)("Role position","vk-blocks")},(0,P.createElement)(Pe,Ne({id:i,schema:"vk_staff_positionColor"},e))),(0,P.createElement)(ne.BaseControl,{id:s,label:(0,M.__)("Profile title","vk-blocks")},(0,P.createElement)(Pe,Ne({id:s,schema:"vk_staff_profileTitleColor"},e))),(0,P.createElement)(ne.BaseControl,{id:u,label:(0,M.__)("Profile text","vk-blocks")},(0,P.createElement)(Pe,Ne({id:u,schema:"vk_staff_profileTextColor"},e)))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Heading Font","vk-blocks")},(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Font","vk-blocks"),selected:T,options:[{label:(0,M.__)("Unspecified","vk-blocks"),value:"0"},{label:(0,M.__)("minchoBody","vk-blocks"),value:"1"}],onChange:function(e){return o({vk_staff_fontFamily:e})}}))),(0,P.createElement)("div",w,(0,P.createElement)("div",{className:I},(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_staff_text_name"+A,style:R,onChange:function(e){return o({vk_staff_text_name:e})},value:g,placeholder:(0,M.__)("Your Name","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_caption"+z,style:O,onChange:function(e){return o({vk_staff_text_caption:e})},value:y,placeholder:(0,M.__)("Caption","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_role"+j,style:F,onChange:function(e){return o({vk_staff_text_role:e})},value:E,placeholder:(0,M.__)("Role position","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_staff_text_profileTitle"+L,style:H,onChange:function(e){return o({vk_staff_text_profileTitle:e})},value:x,placeholder:(0,M.__)("Profile title","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_profileText"+D,style:U,onChange:function(e){return o({vk_staff_text_profileText:e})},value:C,placeholder:(0,M.__)("Profile text","vk-blocks")})),(0,P.createElement)("div",{className:S},(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return o({vk_staff_photo_image:e.sizes.full.url})},type:"image",value:N,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:N?"image-button":"button button-large"},N?(0,P.createElement)("img",{className:"vk_staff_photo_image",src:N,alt:k}):(0,M.__)("Select image","vk-blocks"))}}))))},save:function(e){var t,n=e.attributes,o=e.className,a=n.vk_staff_layout,r=n.vk_staff_text_name,l=n.vk_staff_text_caption,c=n.vk_staff_text_role,i=n.vk_staff_text_profileTitle,s=n.vk_staff_text_profileText,u=n.vk_staff_nameColor,m=n.vk_staff_captionColor,p=n.vk_staff_positionColor,v=n.vk_staff_profileTitleColor,f=n.vk_staff_profileTextColor,b=n.vk_staff_photo_image,d=n.vk_staff_photo_image_alt,k=n.vk_staff_photoBorder,_=n.vk_staff_fontFamily,g=De()("vk_staff",(h(t={},o,!!o),h(t,"vk_staff-layout-".concat(a),!!a),t)),y=De()("vk_staff_photo",h({},"vk_staff_photo-border-".concat(k),!!k)),E=De();E="1"===_?De()("vk_staff_text",E,"vk_staff-headingFont-serif"):De()("vk_staff_text",E);var x={},C="";void 0!==u&&(C+=" has-text-color",pe(u)?x={color:"".concat(u)}:C+=" has-".concat(u,"-color"));var N={},T="";void 0!==m&&(T+=" has-text-color",pe(m)?N={color:"".concat(m)}:T+=" has-".concat(m,"-color"));var B={},w="";void 0!==p&&(w+=" has-text-color",pe(p)?B={color:"".concat(p)}:w+=" has-".concat(p,"-color"));var S={},I="";void 0!==v&&(I+=" has-text-color",pe(v)?S={color:"".concat(v)}:I+=" has-".concat(v,"-color"));var R={},A="";return void 0!==f&&(A+=" has-text-color",pe(f)?R={color:"".concat(f)}:A+=" has-".concat(f,"-color")),(0,P.createElement)("div",Q.useBlockProps.save({className:g}),(0,P.createElement)("div",{className:E},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",className:"vk_staff_text_name"+C,style:x,value:r}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_caption"+T,style:N,value:l}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_role"+w,style:B,value:c}),(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_staff_text_profileTitle"+I,style:S,value:i}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_profileText"+A,style:R,value:s})),b&&(0,P.createElement)("div",{className:y},(0,P.createElement)("img",{className:"vk_staff_photo_image",src:b,alt:d})))},deprecated:$r},tl=window.lodash;(0,Gt.addFilter)("blocks.registerBlockType","vk-blocks/heading-style",(function(e){var t;return t=e.name,["core/heading"].includes(t)&&(e.attributes=(0,tl.assign)(e.attributes,{color:{type:"string"}})),e})),(0,g.registerBlockStyle)("core/heading",[{name:"vk-heading-default",label:(0,M.__)("Default","vk-blocks"),isDefault:!0},{name:"vk-heading-plain",label:(0,M.__)("Plain","vk-blocks")},{name:"vk-heading-background_fill_lightgray",label:(0,M.__)("Background fill lightgray","vk-blocks")},{name:"vk-heading-double_black",label:(0,M.__)("Double border top and bottom black","vk-blocks")},{name:"vk-heading-double_bottomborder_black",label:(0,M.__)("Double border bottom black","vk-blocks")},{name:"vk-heading-solid_black",label:(0,M.__)("Solid border top and bottom black","vk-blocks")},{name:"vk-heading-solid_bottomborder_black",label:(0,M.__)("Solid border bottom black","vk-blocks")},{name:"vk-heading-dotted_bottomborder_black",label:(0,M.__)("Dotted border bottom black","vk-blocks")},{name:"vk-heading-both_ends",label:(0,M.__)("Both ends","vk-blocks")},{name:"vk-heading-brackets_black",label:(0,M.__)("Brackets black","vk-blocks")}]);var nl=function(e){return["core/group"].includes(e)};(0,Gt.addFilter)("blocks.registerBlockType","vk-blocks/group-style",(function(e){return nl(e.name)&&(e.attributes=(0,tl.assign)(e.attributes,{color:{type:"string"}})),e}));var ol=(0,Yt.createHigherOrderComponent)((function(e){var t="";return function(n){return nl(n.name)&&n.isSelected?(t=n.attributes.color?n.attributes.color:"#fffd6b",(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,n),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Border Color","vk-blocks"),initialOpen:!1,className:"group-border-color-controle"},(0,P.createElement)(Q.ColorPalette,{value:t,disableCustomColors:!0,onChange:function(e){var o=function(e){switch(e){case"#f78da7":return"vk-has-pale-pink-color";case"#cf2e2e":return"vk-has-vivid-red-color";case"#ff6900":return"vk-has-luminous-vivid-orange-color";case"#fcb900":return"vk-has-luminous-vivid-amber-color";case"#7bdcb5":return"vk-has-light-green-cyan-color";case"#00d084":return"vk-has-vivid-green-cyan-color";case"#8ed1fc":return"vk-has-pale-cyan-blue-color";case"#0693e3":return"vk-has-vivid-cyan-blue-color";case"#9b51e0":return"vk-has-vivid-purple-color";case"#eee":return"vk-has-very-light-gray-color";case"#abb8c3":return"vk-has-cyan-bluish-gray-color";case"#313131":return"vk-has-very-dark-gray-color";case"#ffffff":return"vk-has-white-color"}}(e);if(n.attributes.className){var a=n.attributes.className,r=(a=a.split(" ")).filter((function(e){return-1===e.indexOf("vk-has-")}));r.push(o),o=r.join(" ")}t=e,n.setAttributes({className:o,color:e})}}))))):(0,P.createElement)(e,n)}}),"addMyCustomBlockControls");(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/group-style",ol),(0,g.registerBlockStyle)("core/group",[{name:"vk-group-solid",label:(0,M.__)("Solid","vk-blocks")},{name:"vk-group-solid-roundcorner",label:(0,M.__)("Solid Roundcorner","vk-blocks")},{name:"vk-group-dotted",label:(0,M.__)("Dotted","vk-blocks")},{name:"vk-group-dashed",label:(0,M.__)("Dashed","vk-blocks")},{name:"vk-group-double",label:(0,M.__)("Double","vk-blocks")},{name:"vk-group-stitch",label:(0,M.__)("Stitch","vk-blocks")},{name:"vk-group-top-bottom-border",label:(0,M.__)("Border Top Bottom","vk-blocks")},{name:"vk-group-shadow",label:(0,M.__)("Shadow","vk-blocks")},{name:"vk-group-alert-info",label:(0,M.__)("Info","vk-blocks")},{name:"vk-group-alert-success",label:(0,M.__)("Success","vk-blocks")},{name:"vk-group-alert-warning",label:(0,M.__)("Warning","vk-blocks")},{name:"vk-group-alert-danger",label:(0,M.__)("Danger","vk-blocks")}]);var al=function(e){return["core/list"].includes(e)};(0,Gt.addFilter)("blocks.registerBlockType","vk-blocks/list-style",(function(e){return al(e.name)&&(e.attributes=(0,tl.assign)(e.attributes,{color:{type:"string"}})),e}));var rl=(0,Yt.createHigherOrderComponent)((function(e){var t="";return function(n){var o=(0,ze.select)("core/block-editor").getSettings().colors;return function(e){var t=[];return e.forEach((function(e){t.push(e.slug)})),!!["black","cyan-bluish-gray","white","pale-pink","vivid-red","luminous-vivid-orange","luminous-vivid-amber","light-green-cyan","pale-cyan-blue","vivid-cyan-blue","vivid-purple"].every((function(e){return-1!==t.indexOf(e)}))}(o)&&al(n.name)&&n.isSelected?(t=n.attributes.color?n.attributes.color:"#fffd6b",(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,n),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("List Icon Color","vk-blocks"),initialOpen:!1,className:"list-color-controle"},(0,P.createElement)(Q.ColorPalette,{value:t,disableCustomColors:!0,onChange:function(e){var a=(0,Q.getColorObjectByColorValue)(o,e),r=n.attributes.className&&n.attributes.className.split(" "),l=r||[];r&&(l=r.filter((function(e){return!e.match(/vk-has-(.*)-color/)}))),void 0!==e&&l.push("vk-has-".concat(a.slug,"-color"));var c=l.join(" ");t=e,n.setAttributes({className:c,color:e})}}))))):(0,P.createElement)(e,n)}}),"addMyCustomBlockControls");(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/list-style",rl),(0,g.registerBlockStyle)("core/list",[{name:"vk-default",label:(0,M.__)("Default","vk-blocks"),isDefault:!0},{name:"vk-arrow-mark",label:(0,M.__)("Arrow","vk-blocks")},{name:"vk-triangle-mark",label:(0,M.__)("Triangle","vk-blocks")},{name:"vk-check-mark",label:(0,M.__)("Check","vk-blocks")},{name:"vk-check-square-mark",label:(0,M.__)("Check Square","vk-blocks")},{name:"vk-check-circle-mark",label:(0,M.__)("Check Circle","vk-blocks")},{name:"vk-handpoint-mark",label:(0,M.__)("Handpoint","vk-blocks")},{name:"vk-pencil-mark",label:(0,M.__)("Pencil","vk-blocks")},{name:"vk-smile-mark",label:(0,M.__)("Smile","vk-blocks")},{name:"vk-frown-mark",label:(0,M.__)("Frown","vk-blocks")},{name:"vk-numbered-circle-mark",label:(0,M.__)("Numbered Circle","vk-blocks")},{name:"vk-numbered-square-mark",label:(0,M.__)("Numbered Square","vk-blocks")}]),(0,g.registerBlockStyle)("core/image",[{name:"vk-image-rounded",label:(0,M.__)("Rounded02","vk-blocks")},{name:"vk-image-rounded",label:(0,M.__)("Rounded02","vk-blocks")},{name:"vk-image-border",label:(0,M.__)("Border","vk-blocks")},{name:"vk-image-photoFrame",label:(0,M.__)("Photo frame","vk-blocks")},{name:"vk-image-photoFrame-tilt-right",label:(0,M.__)("Photo frame Tilt Right","vk-blocks")},{name:"vk-image-photoFrame-tilt-left",label:(0,M.__)("Photo frame Tilt Left","vk-blocks")},{name:"vk-image-shadow",label:(0,M.__)("Shadow","vk-blocks")},{name:"vk-image-wave01",label:(0,M.__)("Wave01","vk-blocks")},{name:"vk-image-wave02",label:(0,M.__)("Wave02","vk-blocks")},{name:"vk-image-wave03",label:(0,M.__)("Wave03","vk-blocks")},{name:"vk-image-wave04",label:(0,M.__)("Wave04","vk-blocks")}]),(0,g.registerBlockStyle)("core/table",[{name:"vk-table-border-top-bottom",label:(0,M.__)("Border Top Bottom","vk-blocks")},{name:"vk-table-border",label:(0,M.__)("Border","vk-blocks")},{name:"vk-table-border-stripes",label:(0,M.__)("Border / Stripes","vk-blocks")}]);var ll=function(e,t){return-1!==e.indexOf(t)},cl=["vk-blocks/breadcrumb","vk-blocks/child-page","vk-blocks/post-list","vk-blocks/page-content","vk-blocks/ancestor-page-list","vk-blocks/share-button","vk-blocks/child-page-index","vk-blocks/contact-section","vk-blocks/page-list-ancestor","vk-blocks/sitemap"];(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/hidden-extension",(0,Yt.createHigherOrderComponent)((function(e){return function(t){if(k=t.name,_=void 0!==["core","vk-blocks"].find((function(e){return ll(k,e)})),void 0!==["vk-blocks/card-item","vk-blocks/icon-card-item","vk-blocks/icon","vk-blocks/select-post-list-item"].find((function(e){return ll(k,e)}))&&(_=!1),(0,g.hasBlockSupport)(k,"customClassName",!0)||(_=!1),_){t.attributes.vkb_hidden_xl&&!t.attributes.vkb_hidden_xxl&&(t.attributes.vkb_hidden_xxl=!0,t.attributes.vkb_hidden_xl_v2=!0,t.attributes.vkb_hidden_xl=!1);var n=t.name,o=t.attributes,a=t.setAttributes,r=o.vkb_hidden,l=o.vkb_hidden_xxl,c=o.vkb_hidden_xl_v2,i=o.vkb_hidden_xl,s=o.vkb_hidden_lg,u=o.vkb_hidden_md,m=o.vkb_hidden_sm,p=o.vkb_hidden_xs,v=o.className;(0,P.useEffect)((function(){var e;cl.includes(n)&&(r||l||c||i||s||u||m||p)&&a({className:De()((e={},h(e,v,v),h(e,"vk_hidden",r),h(e,"vk_hidden-xxl",l),h(e,"vk_hidden-xl-v2",c),h(e,"vk_hidden-xl",i),h(e,"vk_hidden-lg",s),h(e,"vk_hidden-md",u),h(e,"vk_hidden-sm",m),h(e,"vk_hidden-xs",p),e)),vkb_hidden:void 0,vkb_hidden_xxl:void 0,vkb_hidden_xl_v2:void 0,vkb_hidden_xl:void 0,vkb_hidden_lg:void 0,vkb_hidden_md:void 0,vkb_hidden_sm:void 0,vkb_hidden_xs:void 0}),/vk_hidden-xl_v2/.test(v)&&a({className:v.replace(/vk_hidden-xl_v2/,"vk_hidden-xl-v2")})}),[]);var f=v?v.split(" "):[],b=function(e){var t=[];return f.forEach((function(n){n===e&&t.push(e)})),t[0]===e},d=function(e,t){if(e)f.push(t);else{var n=f.indexOf(t);f.splice(n,1)}a({className:f.join(" ")})};return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,t),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Hidden Settings","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Hidden at screen size","vk-blocks"),id:"vk_hiddenControl-hiddenScreenSize"},(0,P.createElement)("p",null,(0,M.__)("Note : This function is display hidden only. Actually Block is output to HTML. Please don't use you must not visible item. Don't use it for blocks you really don't want to display.","vk-blocks")),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : all )","vk-blocks"),checked:b("vk_hidden"),onChange:function(e){d(e,"vk_hidden")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : xs )","vk-blocks"),checked:b("vk_hidden-xs"),onChange:function(e){d(e,"vk_hidden-xs")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : sm )","vk-blocks"),checked:b("vk_hidden-sm"),onChange:function(e){d(e,"vk_hidden-sm")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : md )","vk-blocks"),checked:b("vk_hidden-md"),onChange:function(e){d(e,"vk_hidden-md")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : lg )","vk-blocks"),checked:b("vk_hidden-lg"),onChange:function(e){d(e,"vk_hidden-lg")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : xl )","vk-blocks"),checked:b("vk_hidden-xl-v2"),onChange:function(e){d(e,"vk_hidden-xl-v2")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : xxl )","vk-blocks"),checked:b("vk_hidden-xxl"),onChange:function(e){d(e,"vk_hidden-xxl")}}),(0,P.createElement)("p",null,(0,M.__)("If you want to hide multiple blocks, that first you set to group block and the next, hide for the that group block.","vk-blocks"))))))}var k,_;return(0,P.createElement)(e,t)}}),"addHiddenSection")),(0,Gt.addFilter)("editor.BlockListBlock","vk-blocks/hidden-extension",(0,Yt.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes.className,o=n?n.split(" "):[],a=/vk_hidden/.test(o)?"vk_edit_hidden_warning":"",r=-1!==o.indexOf("vk_hidden")?a+" vk_edit_hidden_all":a,l=De()(r,t.className);return(0,P.createElement)(e,Ne({},t,{className:l}))}}),"addHiddenWarning"));var il,sl,ul=window.wp.richText;function ml(){return ml=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ml.apply(this,arguments)}var pl=function(e){return G.createElement("svg",ml({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),il||(il=G.createElement("path",{d:"M20 4.804c-.001-.443-.435-.803-.971-.804H12.58c-.187 0-.36.043-.508.118-.277.142-.463.395-.463.685V12.5L20 12.5V4.804ZM19.955 15.32v-1.56H12.04c.504.521.64 1.368.19 2.028.761.625 1.903 1.869 1.902 3.712l3.254.001c0-2.765 2.57-4.182 2.57-4.182ZM17.098 22.015l-2.403 1.04-.097-2.555h2.5v1.515ZM10.89 14.778l-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L6.7 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L6 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.15c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z"})),sl||(sl=G.createElement("path",{d:"m7.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.108c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})))};function vl(e,t){if("rgba"===e.substring(0,4))return e;var n=e.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i),o=null;return n&&(o=n.slice(1,4).map((function(e){return parseInt(e,16)}))),(n=e.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i))&&(o=n.slice(1,4).map((function(e){return 17*parseInt(e,16)}))),o?"rgba(".concat(o[0],", ").concat(o[1],", ").concat(o[2],", ").concat(t,")"):null}var fl,bl,dl,kl="vk-blocks/highlighter",_l=function(e){var t=e.color,n=e.value,o=e.onChange;t=function(e){return void 0===e&&(e="#fffd6b"),e}(t),o((0,ul.applyFormat)(n,{type:kl,attributes:{data:t,style:"background: linear-gradient(transparent 60%,".concat(vl(t,.7)," 0);")}}))};function hl(){return hl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},hl.apply(this,arguments)}(0,ul.registerFormatType)(kl,{title:(0,M.__)("Highlighter","vk-blocks"),tagName:"span",className:"vk_highlighter",attributes:{data:"data-color",style:"style"},edit:function(e){var t,n=e.value,o=e.isActive,a=e.onChange,r=e.contentRef,l="primary";if(o){var c=(0,ul.getActiveFormat)(n,kl);t=c.attributes.data}var i={};if(t){var s=vl(t,.7);i={color:"initial",background:"linear-gradient(transparent 60%, ".concat(s," 0)")}}var u=(0,ul.useAnchorRef)({ref:r,value:n}),m=we((0,P.useState)(!1),2),p=m[0],v=m[1],f=(0,P.useCallback)((function(){return v(!0)}),[v]),b=(0,P.useCallback)((function(){return v(!1)}),[v]);return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichTextShortcut,{type:l,character:"h",onUse:function(){return v(!0)}}),(0,P.createElement)(Q.RichTextToolbarButton,{title:(0,M.__)("Highlighter","vk-blocks"),onClick:function(){void 0===t&&_l({heightlightColor:t,value:n,onChange:a}),v(!0),f(!0)},shortcutType:l,shortcutCharacter:"h",className:"format-library-text-color-button",isActive:o,icon:(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.Icon,{icon:pl,style:i}))}),p&&(0,P.createElement)(ne.Popover,{value:n,className:"vk-blocks-format-popover components-inline-color-popover",anchorRef:u,onClose:b},(0,P.createElement)(Q.ColorPalette,{value:t,onChange:function(e){e?_l({color:e,value:n,onChange:a}):a((0,ul.removeFormat)(n,kl)),v(!1)}})))}});var gl,yl,El,xl=function(e){return G.createElement("svg",hl({fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),fl||(fl=G.createElement("path",{clipRule:"evenodd",d:"M9.303 12.137c.242.334.35.755.315 1.146l2.271-.005c1.006 0 1.663.859 1.61 1.722h3.121l1.12 3h2.25L14.5 4h-2l-3.197 8.137zM11.12 13l2.38-6.33L15.88 13h-4.76z"})),bl||(bl=G.createElement("path",{d:"m11.89 14.778-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L7.7 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L7 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084h3.288c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19z"})),dl||(dl=G.createElement("path",{d:"m8.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H1.108c-.074 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152z",fill:"#D8141C"})))},Cl="vk-blocks/inline-font-size";function Nl(){return Nl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nl.apply(this,arguments)}(0,ul.registerFormatType)(Cl,{title:(0,M.__)("Inline font size","vk-blocks"),tagName:"span",className:"vk_inline-font-size",attributes:{data:"data-fontSize",style:"style"},edit:function(e){var t,n,o=e.value,a=e.isActive,r=e.onChange,l=e.contentRef;if(a){var c=(0,ul.getActiveFormat)(o,Cl);t=c.attributes.data,n=c.attributes.style.replace("font-size:",""),void 0===t&&n&&(t=n)}var i=(0,ul.useAnchorRef)({ref:l,value:o}),s=we((0,P.useState)(!1),2),u=s[0],m=s[1],p=(0,P.useCallback)((function(){return m(!0)}),[m]),v=(0,P.useCallback)((function(){return m(!1)}),[m]),f=!(0,tl.isEmpty)(o)||!t;if(!f&&!a)return null;var b=[{name:(0,M.__)("Small","vk-blocks"),slug:"small",size:"12px"},{name:(0,M.__)("Normal","vk-blocks"),slug:"normal",size:"16px"},{name:(0,M.__)("Big","vk-blocks"),slug:"big",size:"18px"},{name:(0,M.__)("Extra big","vk-blocks"),slug:"extra-big",size:"21px"}],d=parseInt(n)||16;return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichTextToolbarButton,{title:(0,M.__)("Inline Font Size","vk-blocks"),onClick:f?p:function(){return r((0,ul.removeFormat)(o,Cl))},shortcutType:"primary",shortcutCharacter:"h",className:"format-library-text-color-button",isActive:a,icon:(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.Icon,{icon:xl,style:{width:"24px",height:"24px"}}))}),u&&(0,P.createElement)(ne.Popover,{className:"vk-blocks-format-popover components-inline-color-popover",anchorRef:i,onClose:v},(0,P.createElement)("div",{style:{width:"200px"}},(0,P.createElement)(ne.FontSizePicker,{fontSizes:b,value:t,fallbackFontSize:void 0!==window.wpVersion&&null!==window.wpVersion&&y(window.wpVersion,"5.9")<0&&d,withSlider:void 0!==window.wpVersion&&null!==window.wpVersion&&y(window.wpVersion,"5.9")<0,onChange:function(e){r(e?(0,ul.applyFormat)(o,{type:Cl,attributes:{data:"".concat(e),style:"font-size: ".concat(e,";")}}):(0,ul.removeFormat)(o,Cl))}}),(0,P.createElement)(ne.Button,{onClick:function(){m(!1)},isSmall:!0,isSecondary:!0,style:{marginTop:"16px",padding:"0 16px",height:"30px"}},(0,M.__)("Apply","vk-blocks")))))}});var Tl,Bl,wl=function(e){return G.createElement("svg",Nl({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),gl||(gl=G.createElement("path",{d:"M4 11.884V4h1.5v7.506l-.467.002h-.005A1.609 1.609 0 0 0 4 11.884ZM11.947 16.117l.818.818 4.96-4.962-4.96-4.961-1.027 1.026 3.21 3.21H6.725v.253l.296-.001c.847 0 1.378.563 1.545 1.2h6.38l-2.466 2.465c-.05.297-.187.588-.426.838l-.108.114ZM20.08 4v16h-1.5V4h1.5Z"})),yl||(yl=G.createElement("path",{d:"m10.89 14.778-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L6.7 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L6 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.15c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z"})),El||(El=G.createElement("path",{d:"m7.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.108c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})))};function Sl(){return Sl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Sl.apply(this,arguments)}(0,ul.registerFormatType)("vk-blocks/nowrap",{title:(0,M.__)("No wrap","vk-blocks"),tagName:"span",className:"text-nowrap",edit:function(e){var t=e.value,n=e.isActive;return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichTextToolbarButton,{icon:wl,title:(0,M.__)("No wrap","vk-blocks"),onClick:function(){e.onChange((0,ul.toggleFormat)(t,{type:"vk-blocks/nowrap"}))},isActive:n}))}});var Il=function(e){return G.createElement("svg",Sl({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Tl||(Tl=G.createElement("path",{d:"M20 2v7.59H6.78l3.2 3.2-.48.5h-.88c.07-.83-.5-1.79-1.6-1.79h-.38L4 8.86 8.96 3.9 10 4.93l-3.21 3.2H18.5V2H20zm-9.11 12.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Bl||(Bl=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))},Rl=["xs","sm","md","lg","xl","xxl"];(0,ul.registerFormatType)("vk-blocks/responsive-br",{title:(0,M.__)("Responsive Br","vk-blocks"),tagName:"br",className:null,edit:function(e){var t=e.onChange,n=e.value;return(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(ne.ToolbarGroup,null,(0,P.createElement)(ne.ToolbarItem,null,(function(e){return(0,P.createElement)(ne.DropdownMenu,{icon:(0,P.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"},(0,P.createElement)("path",{d:"M20 2v7.59H6.78l3.2 3.2-.48.5h-.88c.07-.83-.5-1.79-1.6-1.79h-.38L4 8.86 8.96 3.9 10 4.93l-3.21 3.2H18.5V2H20zM10.89 14.78H7.62a.11.11 0 00-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 01-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 000 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"}),(0,P.createElement)("path",{d:"M7.02 13H5.03a.11.11 0 00-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 01-.2 0l-1.7-4.85a.11.11 0 01.1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 00-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),toggleProps:e,label:(0,M.__)("Responsive BR","vk-blocks"),controls:Rl.map((function(e){return{title:(0,M.__)("Responsive BR ","vk-blocks")+"( ".concat(e," )"),icon:(0,P.createElement)(Il,null),onClick:function(){!function(e,t,n){t((0,ul.insert)(e,"[br-".concat(n,"]"),e.start,e.end))}(n,t,e)}}}))})}))))}});var Al=(0,P.createElement)(ne.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,P.createElement)(ne.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8 0h16v1.5H8V0zm2.76 22.5H24V24H9.9c.55-.29.88-.89.86-1.5zm.75-5.92L15.93 21l5.3-5.3-1.03-1.03-3.55 3.55V5.78l3.21 3.2 1.03-1.02-2.48-2.48L15.93 3l-4.96 4.96L11.99 9l3.21-3.21v12.44l-2.79-2.79c-.07.2-.19.4-.35.57l-.55.58z"}),(0,P.createElement)(ne.Path,{d:"M10.89 14.78H7.62a.11.11 0 00-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 01-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 000 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z"}),(0,P.createElement)(ne.Path,{d:"M7.02 13H5.03a.11.11 0 00-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 01-.2 0l-1.7-4.85a.11.11 0 01.1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 00-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),Ol=(0,P.createElement)(ne.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,P.createElement)(ne.Path,{d:"M23.5 22h-12v-1.5h12V22ZM18.3 2.779l3.55 3.551 1.027-1.026L17.573 0 12.27 5.304l1.027 1.026 3.55-3.55V17.5H18.3V2.78ZM11.39 14.778l-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L7.2 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L6.5 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.65c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z"}),(0,P.createElement)(ne.Path,{d:"m7.522 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.608c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})),zl=(0,P.createElement)(ne.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,P.createElement)(ne.Path,{d:"m11.39 14.778-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L7.2 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L6.5 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.65c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z"}),(0,P.createElement)(ne.Path,{d:"m7.522 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.608c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"}),(0,P.createElement)(ne.Path,{d:"M11.5 0h12v1.5h-12V0ZM16.7 19.221l-3.55-3.551-1.027 1.026L17.427 22l5.303-5.304-1.027-1.026-3.55 3.551V4.5H16.7v14.721Z"}));function Pl(e){return function(e){if(Array.isArray(e))return Te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Be(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ml=function(e,t){return-1!==e.indexOf(t)};function Fl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function jl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fl(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Hl=[{title:(0,M.__)("Top lg","vk-blocks"),marginClass:"vk_block-margin-lg--margin-top",flag:"top"},{title:(0,M.__)("Top md","vk-blocks"),marginClass:"vk_block-margin-md--margin-top",flag:"top"},{title:(0,M.__)("Top sm","vk-blocks"),marginClass:"vk_block-margin-sm--margin-top",flag:"top"},{title:(0,M.__)("Top 0","vk-blocks"),marginClass:"vk_block-margin-0--margin-top",flag:"top"}],Ll=[{title:(0,M.__)("Bottom 0","vk-blocks"),marginClass:"vk_block-margin-0--margin-bottom",flag:"bottom"},{title:(0,M.__)("Bottom sm","vk-blocks"),marginClass:"vk_block-margin-sm--margin-bottom",flag:"bottom"},{title:(0,M.__)("Bottom md","vk-blocks"),marginClass:"vk_block-margin-md--margin-bottom",flag:"bottom"},{title:(0,M.__)("Bottom lg","vk-blocks"),marginClass:"vk_block-margin-lg--margin-bottom",flag:"bottom"}],Ul=[].concat(Hl,Ll),Dl=["vk-blocks/breadcrumb","vk-blocks/child-page","vk-blocks/post-list","vk-blocks/page-content","vk-blocks/share-button","vk-blocks/child-page-index","vk-blocks/contact-section","vk-blocks/page-list-ancestor","vk-blocks/sitemap"];function Vl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ql(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vl(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(0,Gt.addFilter)("blocks.registerBlockType","vk-blocks/margin-extension",(function(e){return Dl.includes(e.name)&&(e.attributes=jl(jl({},e.attributes),{marginTop:{type:"string"},marginBottom:{type:"string"}})),e})),(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/margin-extension",(0,Yt.createHigherOrderComponent)((function(e){return function(t){var n=t.name,o=t.attributes,a=t.setAttributes,r=o.marginTop,l=o.marginBottom,c=o.className,i=Hl,s=Ll,u=Ul,m=c||"",p=/vk_block-margin-(0|sm|md|lg)--margin-top/,v=/vk_block-margin-(0|sm|md|lg)--margin-bottom/,f=Dl,b=p.test(r),d=v.test(l);(0,P.useEffect)((function(){var e;f.includes(n)&&(b||d)&&(a({className:De()((e={},h(e,m,m),h(e,r,b),h(e,l,d),e))}),a({marginTop:void 0}),a({marginBottom:void 0}))}),[]);var k=m?m.split(" "):[],_=k.filter((function(e){return e.match(p)})),y=k.filter((function(e){return e.match(v)})),E=_.slice(-1)[0],x=y.slice(-1)[0],C=(0,tl.find)(i,(function(e){return e.marginClass===E})),N=(0,tl.find)(s,(function(e){return e.marginClass===x}));return function(e){for(var t=e.blockName,n=e.addExclude,o=void 0!==["core","vk-blocks"].find((function(e){return Ml(t,e)})),a=(0,g.getBlockTypes)(),r=a.filter((function(e){return!1===e.supports.customClassName})).map((function(e){return e.name})),l=[],c=0;c<a.length;c++)a[c].name.match(/core/)&&"save"===a[c].save.name&&l.push(a[c]);return void 0!==[].concat(["core/archives","core/audio","core/calendar","core/categories","core/latest-comments","core/latest-posts","core/page-list","core/pattern","core/block","core/rss","core/search","core/social-link","core/tag-cloud","core/site-logo","core/site-title","core/site-tagline","core/template-part","core/post-title","core/post-excerpt","core/post-featured-image","core/post-content","core/post-author","core/post-date","core/post-terms","core/post-navigation-link","core/query-pagination-next","core/query-pagination-numbers","core/query-pagination-previous","core/post-comments","core/loginout","core/term-description","core/query-title"],Pl(r),Pl(n)).find((function(e){return Ml(t,e)}))&&(o=!1),o}({blockName:n,addExclude:["vk-blocks/slider-item","vk-blocks/card-item","vk-blocks/icon-card-item","vk-blocks/select-post-list-item"]})?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,t),(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(ne.ToolbarDropdownMenu,{icon:(0,P.createElement)(P.Fragment,null,C&&!N&&Ol,!C&&N&&zl,C&&N&&Al,!C&&!N&&Al,C||N?(0,P.createElement)("span",{style:{marginLeft:"8px"}},C&&C.title,C&&N&&(0,P.createElement)("br",null),N&&N.title):null),label:(0,M.__)("Margin the block","vk-blocks"),controls:u.map((function(e){var t=e.marginClass,n=e.flag,o=E===t||x===t;return jl(jl({},e),{},{isActive:o,icon:"top"===n?Ol:zl,onClick:function(){var e=function(e,t,n){if(void 0===n)return e.push(t),e;if(e.includes(t)){var o=e.indexOf(t);return e.splice(o,1),e}var a=e.indexOf(n);return e.splice(a,1),e.push(t),e}(k,t,"top"===n?E:x);a({className:e.join(" ")})}})}))}))):(0,P.createElement)(e,t)}}),"addMarginSection"));var Wl=[],Jl=[e,o,a,r,l,c,i,s,u,m,p,v,f,b,d,k,_,t],Zl=function(){return Jl.concat(Wl)},Gl=function(e){if(e){var t=e.metadata,n=e.settings,o=e.name;void 0!==window.wpVersion&&null!==window.wpVersion&&y(window.wpVersion,"5.5")<0?(delete t.name,n=ql(ql({},n),t)):t&&(0,g.unstable__bootstrapServerSideBlockDefinitions)(h({},o,t)),"function"!=typeof getBlockSettingsFromMetadata?(0,g.registerBlockType)(o,n):t&&(0,g.registerBlockType)(t,n)}};!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zl();e.forEach(Gl)}()}()}();
|
1 |
+
!function(){var e={184:function(e,t){var n;!function(){"use strict";var o={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var l=a.apply(null,n);l&&e.push(l)}}else if("object"===r)if(n.toString===Object.prototype.toString)for(var c in n)o.call(n,c)&&n[c]&&e.push(c);else e.push(n.toString())}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},960:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},790:function(e,t,n){"use strict";var o,a=this&&this.__extends||(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var l=n(960),c=new Map([[l.ElementType.Tag,1],[l.ElementType.Script,1],[l.ElementType.Style,1],[l.ElementType.Directive,1],[l.ElementType.Text,3],[l.ElementType.CDATA,4],[l.ElementType.Comment,8],[l.ElementType.Root,9]]),i=function(){function e(e){this.type=e,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){var e;return null!==(e=c.get(this.type))&&void 0!==e?e:1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();t.Node=i;var s=function(e){function t(t,n){var o=e.call(this,t)||this;return o.data=n,o}return a(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(i);t.DataNode=s;var u=function(e){function t(t){return e.call(this,l.ElementType.Text,t)||this}return a(t,e),t}(s);t.Text=u;var m=function(e){function t(t){return e.call(this,l.ElementType.Comment,t)||this}return a(t,e),t}(s);t.Comment=m;var p=function(e){function t(t,n){var o=e.call(this,l.ElementType.Directive,n)||this;return o.name=t,o}return a(t,e),t}(s);t.ProcessingInstruction=p;var v=function(e){function t(t,n){var o=e.call(this,t)||this;return o.children=n,o}return a(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(i);t.NodeWithChildren=v;var f=function(e){function t(t){return e.call(this,l.ElementType.Root,t)||this}return a(t,e),t}(v);t.Document=f;var b=function(e){function t(t,n,o,a){void 0===o&&(o=[]),void 0===a&&(a="script"===t?l.ElementType.Script:"style"===t?l.ElementType.Style:l.ElementType.Tag);var r=e.call(this,a,o)||this;return r.name=t,r.attribs=n,r}return a(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,o;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(o=e["x-attribsPrefix"])||void 0===o?void 0:o[t]}}))},enumerable:!1,configurable:!0}),t}(v);function k(e){return(0,l.isTag)(e)}function _(e){return e.type===l.ElementType.CDATA}function d(e){return e.type===l.ElementType.Text}function h(e){return e.type===l.ElementType.Comment}function g(e){return e.type===l.ElementType.Directive}function y(e){return e.type===l.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),d(e))n=new u(e.data);else if(h(e))n=new m(e.data);else if(k(e)){var o=t?x(e.children):[],a=new b(e.name,r({},e.attribs),o);o.forEach((function(e){return e.parent=a})),null!=e.namespace&&(a.namespace=e.namespace),e["x-attribsNamespace"]&&(a["x-attribsNamespace"]=r({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(a["x-attribsPrefix"]=r({},e["x-attribsPrefix"])),n=a}else if(_(e)){o=t?x(e.children):[];var c=new v(l.ElementType.CDATA,o);o.forEach((function(e){return e.parent=c})),n=c}else if(y(e)){o=t?x(e.children):[];var i=new f(o);o.forEach((function(e){return e.parent=i})),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),n=i}else{if(!g(e))throw new Error("Not implemented yet: ".concat(e.type));var s=new p(e.name,e.data);null!=e["x-name"]&&(s["x-name"]=e["x-name"],s["x-publicId"]=e["x-publicId"],s["x-systemId"]=e["x-systemId"]),n=s}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function x(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=b,t.isTag=k,t.isCDATA=_,t.isText=d,t.isComment=h,t.isDirective=g,t.isDocument=y,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},885:function(e){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},276:function(e,t,n){var o="html",a="head",r="body",l=/<([a-zA-Z]+[0-9]?)/,c=/<head.*>/i,i=/<body.*>/i,s=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var m=new window.DOMParser;s=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),m.parseFromString(e,"text/html")}}if(document.implementation){var p=n(507).isIE,v=document.implementation.createHTMLDocument(p()?"html-dom-parser":void 0);s=function(e,t){return t?(v.documentElement.getElementsByTagName(t)[0].innerHTML=e,v):(v.documentElement.innerHTML=e,v)}}var f,b=document.createElement("template");b.content&&(f=function(e){return b.innerHTML=e,b.content.childNodes}),e.exports=function(e){var t,n,m,p,v=e.match(l);switch(v&&v[1]&&(t=v[1].toLowerCase()),t){case o:return n=u(e),c.test(e)||(m=n.getElementsByTagName(a)[0])&&m.parentNode.removeChild(m),i.test(e)||(m=n.getElementsByTagName(r)[0])&&m.parentNode.removeChild(m),n.getElementsByTagName(o);case a:case r:return p=s(e).getElementsByTagName(t),i.test(e)&&c.test(e)?p[0].parentNode.childNodes:p;default:return f?f(e):s(e,r).getElementsByTagName(r)[0].childNodes}}},152:function(e,t,n){var o=n(276),a=n(507).formatDOM,r=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(r);return n&&n[1]&&(t=n[1]),a(o(e),null,t)}},507:function(e,t,n){for(var o,a=n(885),r=n(790),l=a.CASE_SENSITIVE_TAG_NAMES,c=r.Comment,i=r.Element,s=r.ProcessingInstruction,u=r.Text,m={},p=0,v=l.length;p<v;p++)o=l[p],m[o.toLowerCase()]=o;function f(e){for(var t,n={},o=0,a=e.length;o<a;o++)n[(t=e[o]).name]=t.value;return n}function b(e){return function(e){return m[e]}(e=e.toLowerCase())||e}e.exports={formatAttributes:f,formatDOM:function e(t,n,o){n=n||null;for(var a=[],r=0,l=t.length;r<l;r++){var m,p=t[r];switch(p.nodeType){case 1:(m=new i(b(p.nodeName),f(p.attributes))).children=e(p.childNodes,m);break;case 3:m=new u(p.nodeValue);break;case 8:m=new c(p.nodeValue);break;default:continue}var v=a[r-1]||null;v&&(v.next=m),m.parent=n,m.prev=v,m.next=null,a.push(m)}return o&&((m=new s(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=a[0]||null,m.parent=n,a.unshift(m),a[1]&&(a[1].prev=a[0])),a},isIE:function(){return/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},488:function(e,t,n){var o=n(670),a=n(484),r=n(152);r="function"==typeof r.default?r.default:r;var l={lowerCaseAttributeNames:!1};function c(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:o(r(e,(t=t||{}).htmlparser2||l),t)}c.domToReact=o,c.htmlToDOM=r,c.attributesToProps=a,c.Element=n(790).Element,e.exports=c,e.exports.default=c},484:function(e,t,n){var o=n(726),a=n(606);function r(e){return o.possibleStandardNames[e]}e.exports=function(e){var t,n,l,c,i,s={},u=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(l=e[t],o.isCustomAttribute(t))s[t]=l;else if(c=r(n=t.toLowerCase()))switch(i=o.getPropertyInfo(c),"checked"!==c&&"value"!==c||u||(c=r("default"+n)),s[c]=l,i&&i.type){case o.BOOLEAN:s[c]=!0;break;case o.OVERLOADED_BOOLEAN:""===l&&(s[c]=!0)}else a.PRESERVE_CUSTOM_ATTRIBUTES&&(s[t]=l);return a.setStyleProp(e.style,s),s}},670:function(e,t,n){var o=n(196),a=n(484),r=n(606),l=r.setStyleProp,c=r.canTextBeChildOfNode;function i(e){return r.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&r.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var r,s,u,m,p,v=(n=n||{}).library||o,f=v.cloneElement,b=v.createElement,k=v.isValidElement,_=[],d="function"==typeof n.replace,h=n.trim,g=0,y=t.length;g<y;g++)if(r=t[g],d&&k(u=n.replace(r)))y>1&&(u=f(u,{key:u.key||g})),_.push(u);else if("text"!==r.type){switch(m=r.attribs,i(r)?l(m.style,m):m&&(m=a(m)),p=null,r.type){case"script":case"style":r.children[0]&&(m.dangerouslySetInnerHTML={__html:r.children[0].data});break;case"tag":"textarea"===r.name&&r.children[0]?m.defaultValue=r.children[0].data:r.children&&r.children.length&&(p=e(r.children,n));break;default:continue}y>1&&(m.key=g),_.push(b(r.name,m,p))}else{if((s=!r.data.trim().length)&&r.parent&&!c(r.parent))continue;if(h&&s)continue;_.push(r.data)}return 1===_.length?_[0]:_}},606:function(e,t,n){var o=n(196),a=n(476).default,r={reactCompat:!0},l=o.version.split(".")[0]>=16,c=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:l,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,o,a="function"==typeof t,r={},l={};for(n in e)o=e[n],a&&(r=t(n,o))&&2===r.length?l[r[0]]=r[1]:"string"==typeof o&&(l[o]=n);return l},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=a(e,r)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!c.has(e.name)},elementsWithNoTextChildren:c}},139:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,o=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,i=/^\s+|\s+$/g,s="";function u(e){return e?e.replace(i,s):s}e.exports=function(e,i){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];i=i||{};var m=1,p=1;function v(e){var t=e.match(n);t&&(m+=t.length);var o=e.lastIndexOf("\n");p=~o?e.length-o:p+e.length}function f(){var e={line:m,column:p};return function(t){return t.position=new b(e),h(),t}}function b(e){this.start=e,this.end={line:m,column:p},this.source=i.source}b.prototype.content=e;var k=[];function _(t){var n=new Error(i.source+":"+m+":"+p+": "+t);if(n.reason=t,n.filename=i.source,n.line=m,n.column=p,n.source=e,!i.silent)throw n;k.push(n)}function d(t){var n=t.exec(e);if(n){var o=n[0];return v(o),e=e.slice(o.length),n}}function h(){d(o)}function g(e){var t;for(e=e||[];t=y();)!1!==t&&e.push(t);return e}function y(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;s!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,s===e.charAt(n-1))return _("End of comment missing");var o=e.slice(2,n-2);return p+=2,v(o),e=e.slice(n),p+=2,t({type:"comment",comment:o})}}function E(){var e=f(),n=d(a);if(n){if(y(),!d(r))return _("property missing ':'");var o=d(l),i=e({type:"declaration",property:u(n[0].replace(t,s)),value:o?u(o[0].replace(t,s)):s});return d(c),i}}return h(),function(){var e,t=[];for(g(t);e=E();)!1!==e&&(t.push(e),g(t));return t}()}},726:function(e,t,n){"use strict";function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function a(e,t,n,o,a,r,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=l}Object.defineProperty(t,"__esModule",{value:!0});var r={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){r[e]=new a(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t,n,l=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,r=[],_n=!0,l=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){l=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(l)throw a}}return r}}(t,n)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],i=l[1];r[c]=new a(c,1,!1,i,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){r[e]=new a(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){r[e]=new a(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){r[e]=new a(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){r[e]=new a(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){r[e]=new a(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){r[e]=new a(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){r[e]=new a(e,5,!1,e.toLowerCase(),null,!1,!1)}));var l=/[\-\:]([a-z])/g,c=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(l,c);r[t]=new a(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(l,c);r[t]=new a(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(l,c);r[t]=new a(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){r[e]=new a(e,1,!1,e.toLowerCase(),null,!1,!1)})),r.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){r[e]=new a(e,1,!1,e.toLowerCase(),null,!0,!0)}));var i=n(229),s=i.CAMELCASE,u=i.SAME,m=i.possibleStandardNames,p=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),v=Object.keys(m).reduce((function(e,t){var n=m[t];return n===u?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return r.hasOwnProperty(e)?r[e]:null},t.isCustomAttribute=p,t.possibleStandardNames=v},229:function(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},476:function(e,t,n){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var a=o(n(848)),r=n(678);t.default=function(e,t){var n={};return e&&"string"==typeof e?(a.default(e,(function(e,o){e&&o&&(n[r.camelCase(e,t)]=o)})),n):n}},678:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,o=/-([a-z])/g,a=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,l=function(e,t){return t.toUpperCase()},c=function(e,t){return t+"-"};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||a.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),t.reactCompat||(e=e.replace(r,c)),e.replace(o,l))}},848:function(e,t,n){var o=n(139);e.exports=function(e,t){var n,a=null;if(!e||"string"!=typeof e)return a;for(var r,l,c=o(e),i="function"==typeof t,s=0,u=c.length;s<u;s++)r=(n=c[s]).property,l=n.value,i?t(r,l,n):l&&(a||(a={}),a[r]=l);return a}},196:function(e){"use strict";e.exports=window.React}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};n.r(e),n.d(e,{metadata:function(){return oe},name:function(){return ae},settings:function(){return re}});var t={};n.r(t),n.d(t,{metadata:function(){return ce},name:function(){return ue},settings:function(){return me}});var o={};n.r(o),n.d(o,{metadata:function(){return Me},name:function(){return Fe},settings:function(){return je}});var a={};n.r(a),n.d(a,{metadata:function(){return Le},name:function(){return vt},settings:function(){return ft}});var r={};n.r(r),n.d(r,{metadata:function(){return yt},name:function(){return Yt},settings:function(){return $t}});var l={};n.r(l),n.d(l,{metadata:function(){return pn},name:function(){return vn},settings:function(){return fn}});var c={};n.r(c),n.d(c,{metadata:function(){return En},name:function(){return xn},settings:function(){return Cn}});var i={};n.r(i),n.d(i,{metadata:function(){return Sn},name:function(){return Rn},settings:function(){return An}});var s={};n.r(s),n.d(s,{metadata:function(){return Hn},name:function(){return Un},settings:function(){return Dn}});var u={};n.r(u),n.d(u,{metadata:function(){return Yn},name:function(){return $n},settings:function(){return Kn}});var m={};n.r(m),n.d(m,{metadata:function(){return Mo},name:function(){return jo},settings:function(){return Ho}});var p={};n.r(p),n.d(p,{metadata:function(){return Do},name:function(){return Ko},settings:function(){return Qo}});var v={};n.r(v),n.d(v,{metadata:function(){return aa},name:function(){return ra},settings:function(){return la}});var f={};n.r(f),n.d(f,{metadata:function(){return ma},name:function(){return pa},settings:function(){return va}});var b={};n.r(b),n.d(b,{metadata:function(){return ba},name:function(){return Ia},settings:function(){return Ra}});var k={};n.r(k),n.d(k,{metadata:function(){return fr},name:function(){return br},settings:function(){return kr}});var _={};n.r(_),n.d(_,{metadata:function(){return dr},name:function(){return Wr},settings:function(){return Jr}});var d={};function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.r(d),n.d(d,{metadata:function(){return el},name:function(){return tl},settings:function(){return nl}}),window.wp.coreData,window.wp.notices;var g=window.wp.blocks;function y(e,t){const n=C(e),o=C(t),a=n.pop(),r=o.pop(),l=w(n,o);return 0!==l?l:a&&r?w(a.split("."),r.split(".")):a||r?a?-1:1:0}const E=(e,t,n)=>{R(n);const o=y(e,t);return S[n].includes(o)};y.validate=e=>"string"==typeof e&&/^[v\d]/.test(e)&&x.test(e),y.compare=E,y.sastisfies=(e,t)=>{const n=t.match(/^([<>=~^]+)/),o=n?n[1]:"=";if("^"!==o&&"~"!==o)return E(e,t,o);const[a,r,l]=C(e),[c,i,s]=C(t);return 0===B(a,c)&&("^"===o?w([r,l],[i,s])>=0:0===B(r,i)&&B(l,s)>=0)};const x=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,C=e=>{if("string"!=typeof e)throw new TypeError("Invalid argument expected string");const t=e.match(x);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},N=e=>"*"===e||"x"===e||"X"===e,T=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},B=(e,t)=>{if(N(e)||N(t))return 0;const[n,o]=((e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t])(T(e),T(t));return n>o?1:n<o?-1:0},w=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const o=B(e[n]||0,t[n]||0);if(0!==o)return o}return 0},S={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},I=Object.keys(S),R=e=>{if("string"!=typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===I.indexOf(e))throw new Error(`Invalid operator, expected one of ${I.join("|")}`)};var A,O,z,P=window.wp.element,M=window.wp.i18n,F=(0,M.__)("Lorem ipsum dolor","vk-blocks"),j=(0,M.__)("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ","vk-blocks"),H=(0,M.__)("Lorem ipsum","vk-blocks"),L='<i class="fas fa-user"></i>',U="https://demo.dev3.biz/lightning-pro/wp-content/uploads/2018/02/agent-18762_1920-200x300.jpg",D="#8ed1fc",V="https://example.com",q=('{"alt":"Example Image","sizes":{"full":{"url":"'.concat(U,'"}}}'),(0,M.__)("Theoretical Physicist","vk-blocks")),W=(0,M.__)("Profile","vk-blocks"),J=(0,M.__)("Albert Einstein","vk-blocks"),Z=(0,M.__)("14 March 1879 – 18 April 1955","vk-blocks"),G=n(196);function X(){return X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},X.apply(this,arguments)}var Y,$,K,Q=window.wp.blockEditor,ee=[{attributes:{style:{type:"string",default:"info"},content:{type:"string",source:"html",selector:"p"}},save:function(e){var t=e.attributes,n=t.style,o=t.content;return(0,P.createElement)("div",{className:"alert alert-".concat(n)},(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:o}))}}],te=ee,ne=window.wp.components,oe=JSON.parse('{"apiVersion":2,"name":"vk-blocks/alert","category":"vk-blocks-cat","title":"Alert","description":"A colored box with four statuses, including annotations and alerts.","textdomain":"vk-blocks","attributes":{"style":{"type":"string","default":"info"},"content":{"type":"string","source":"html","selector":"p"}},"supports":{"className":true}}'),ae=oe.name,re={icon:(0,P.createElement)((function(e){return G.createElement("svg",X({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),A||(A=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),O||(O=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),z||(z=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 8.5a8.5 8.5 0 0 1-12.12 7.7l.18-.2a1.61 1.61 0 0 0-1.17-2.72H8.62c.06-.67-.3-1.43-1.04-1.69A8.5 8.5 0 1 1 24 8.5zm-7.86.7H14.9L14 6.27V4h3v2.28l-.86 2.91zm.86 1.29V13h-3v-2.51h3z",fill:"#000"})))}),null),example:{attributes:{style:"info",content:j}},save:function(e){var t=e.attributes,n=t.style,o=t.content;return(0,P.createElement)("div",Q.useBlockProps.save({className:"alert alert-".concat(n)}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:o}))},edit:function(e){var t=e.attributes,n=e.setAttributes,o=t.style,a=t.content,r=(0,Q.useBlockProps)({className:"alert alert-".concat(o)});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Style Settings","vk-blocks")},(0,P.createElement)(ne.SelectControl,{value:o,onChange:function(e){return n({style:e})},options:[{label:(0,M.__)("Success","vk-blocks"),value:"success"},{label:(0,M.__)("Info","vk-blocks"),value:"info"},{label:(0,M.__)("Warning","vk-blocks"),value:"warning"},{label:(0,M.__)("Danger","vk-blocks"),value:"danger"}]}))),(0,P.createElement)("div",r,(0,P.createElement)(Q.RichText,{tagName:"p",onChange:function(e){return n({content:e})},value:a})))},deprecated:te};function le(){return le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},le.apply(this,arguments)}var ce=JSON.parse('{"apiVersion":2,"name":"vk-blocks/ancestor-page-list","category":"vk-blocks-cat","title":"Page list from ancestor","attributes":{"ancestorTitleDisplay":{"type":"boolean","default":true},"ancestorTitleTagName":{"type":"string","default":"h4"},"ancestorTitleClassName":{"type":"string","default":null},"ancestorTitleLink":{"type":"boolean","default":false},"displayHasChildOnly":{"type":"boolean","default":false},"hiddenGrandChild":{"type":"boolean","default":false}},"description":"Display Page list from ancestor page","textdomain":"vk-blocks","supports":{"className":true}}'),ie=window.wp.serverSideRender,se=n.n(ie),ue=ce.name,me={icon:(0,P.createElement)((function(e){return G.createElement("svg",le({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Y||(Y=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 6.5C4 7.33 4.67 8 5.5 8 6.32 8 7 7.33 7 6.5 7 5.68 6.32 5 5.5 5 4.67 5 4 5.68 4 6.5ZM20 6H9v1h11V6ZM7 11.5l-1.967.008h-.005c-.364 0-.71.126-.987.343A1.504 1.504 0 0 1 5.5 10c.82-.001 1.5.679 1.5 1.499Zm4.109 5.5.946-.997A.056.056 0 0 0 12.06 16H20v1h-8.891ZM20 11H9v1h11v-1Z",fill:"#000"})),$||($=G.createElement("path",{d:"m10.89 14.778-3.267.007a.11.11 0 0 0-.102.076l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L6.7 18.105h.007l1.042 3.397c.022.076-.03.144-.103.144h-1.02a.104.104 0 0 1-.102-.076L6 19.83c-.029-.106-.168-.106-.205-.007l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.15c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z",fill:"#000"})),K||(K=G.createElement("path",{d:"m7.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.108c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})))}),null),example:{attributes:{hiddenGrandChild:!1}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.name,a=t.ancestorTitleDisplay,r=t.ancestorTitleTagName,l=t.ancestorTitleClassName,c=t.ancestorTitleLink,i=t.displayHasChildOnly,s=t.hiddenGrandChild;t.name=o;var u=(0,Q.useBlockProps)();return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Ancestor Page List Setting","vk-blocks")},(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Display Ancestor Page Title","vk-blocks"),checked:a,onChange:function(e){return n({ancestorTitleDisplay:e})}}),(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Archive title tag","vk-blocks"),value:r,onChange:function(e){return n({ancestorTitleTagName:e})},options:[{value:"h2",label:(0,M.__)("h2","vk-blocks")},{value:"h3",label:(0,M.__)("h3","vk-blocks")},{value:"h4",label:(0,M.__)("h4","vk-blocks")},{value:"h5",label:(0,M.__)("h5","vk-blocks")},{value:"h6",label:(0,M.__)("h6","vk-blocks")}]}),(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Ancestor page title class name","vk-blocks"),value:l,className:"mt-0 mb-3",onChange:function(e){return n({ancestorTitleClassName:e})}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Add link to ancestor page title","vk-blocks"),checked:c,onChange:function(e){return n({ancestorTitleLink:e})}}),(0,P.createElement)("hr",null),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("If there is no child page, the block itself is not displayed","vk-blocks"),checked:i,onChange:function(e){return n({displayHasChildOnly:e})}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Don't display inactive grand child pages","vk-blocks"),checked:s,onChange:function(e){return n({hiddenGrandChild:e})}}))),(0,P.createElement)("div",u,(0,P.createElement)(se(),{block:"vk-blocks/ancestor-page-list",attributes:t})))}},pe=function(e){var t=!1;return e&&null!==e.match(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/)&&(t=!0),t};function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be,ke,_e,de,he=fe(fe({},{content:{source:"html",selector:"p"},balloonName:{source:"html",selector:"figcaption"},balloonType:{type:"string",default:"type-serif"},balloonBgColor:{type:"string"},balloonAlign:{type:"string",default:"position-left"},IconImage:{type:"string",default:null}}),{},{balloonImageType:{type:"string",default:"normal"}}),ge=fe(fe({},he),{},{balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"}}),ye=fe(fe({},ge),{},{balloonImageType:{type:"string",default:"normal"},balloonAnimation:{type:"string",default:"none"},balloonBorder:{type:"boolean",default:!1},balloonImageBorder:{type:"boolean",default:!1},balloonBorderWidth:{type:"string",default:"thin"},balloonBorderColor:{type:"string",default:null},balloonType:{type:"string",default:"type-speech"}}),Ee=fe(fe({},ye),{},{balloonBorderColor:{type:"string",default:"#cccccc"},balloonBgColor:{type:"string",default:"#f5f5f5"}}),xe=[{attributes:Ee,save:function(e){var t=e.attributes,n=t.balloonName,o=t.balloonType,a=t.balloonBorder,r=t.balloonImageBorder,l=t.balloonBorderColor,c=t.balloonBgColor,i=t.balloonAlign,s=t.IconImage,u=t.balloonImageType,m=t.balloonAnimation,p="",v="",f="",b={},k="",_="",d={},h={};!0===a?(p+="vk_balloon_content-border-true",!0===r?v+="vk_balloon_icon_image-border-true":v="",void 0!==l&&(v+=" has-text-color",p+=" has-text-color",pe(l)||(v+=" has-".concat(l,"-color"),p+=" has-".concat(l,"-color"))),pe(l)&&!pe(c)?b={borderColor:"".concat(l)}:!pe(l)&&pe(c)?b={background:"".concat(c)}:pe(l)&&pe(c)&&(b={borderColor:"".concat(l),background:"".concat(c)}),"position-left"===i?("type-speech"===o?(void 0!==c&&(k+=" has-text-color",pe(c)||(k+=" has-".concat(c,"-color"))),void 0!==l&&(_+=" has-text-color",pe(l)||(_+=" has-".concat(l,"-color")))):"type-think"===o&&(void 0!==l&&(k+=" has-text-color",pe(l)||(k+=" has-".concat(l,"-color"))),void 0!==l&&(_+=" has-text-color",pe(l)||(_+=" has-".concat(l,"-color")))),pe(l)&&(h={borderColor:"transparent transparent transparent ".concat(c)}),pe(c)&&(d={borderColor:"transparent ".concat(c," transparent transparent")})):"position-right"===i&&("type-speech"===o?(void 0!==c&&(k+=" has-text-color",pe(c)||(k+=" has-".concat(c,"-color"))),void 0!==l&&(_+=" has-text-color",pe(l)||(_+=" has-".concat(l,"-color")))):"type-think"===o&&void 0!==l&&(k+=" has-text-color",_+=" has-text-color",pe(l)||(k+=" has-".concat(l,"-color"),_+=" has-".concat(l,"-color"))),pe(l)&&(h={borderColor:"transparent ".concat(l," transparent transparent")}),pe(c)&&(d={borderColor:"transparent transparent transparent ".concat(c)}))):void 0!==c&&(v="",void 0!==c&&pe(c)&&(b={background:"".concat(c)}),"position-left"===i?("type-speech"===o&&void 0!==c&&(k+=" has-text-color",pe(c)||(k+=" has-".concat(c,"-color"))),pe(l)&&(h={borderColor:"transparent transparent transparent ".concat(c)}),pe(c)&&(d={borderColor:"transparent ".concat(c," transparent transparent")})):"position-right"===i&&("type-speech"===o&&void 0!==c&&(k+=" has-text-color",pe(c)||(k+=" has-".concat(c,"-color"))),pe(c)&&(d={borderColor:"transparent transparent transparent ".concat(c)}))),void 0!==c&&(f+=" has-background-color",pe(c)||(f+=" has-".concat(c,"-background-color")));var g=Q.useBlockProps.save({className:"vk_balloon vk_balloon-".concat(i," vk_balloon-").concat(o," vk_balloon-animation-").concat(m)});return(0,P.createElement)("div",g,(0,P.createElement)("div",{className:"vk_balloon_icon"},s?(0,P.createElement)("figure",null,(0,P.createElement)("img",{className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(u," ").concat(v),style:b,src:s,alt:""}),(0,P.createElement)(Q.RichText.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:n})):""),(0,P.createElement)("div",{className:"vk_balloon_content_outer"},(0,P.createElement)("div",{className:"vk_balloon_content ".concat(f," ").concat(p),style:b},(0,P.createElement)("span",{className:"vk_balloon_content_before ".concat(k),style:d}),(0,P.createElement)("span",{className:"vk_balloon_content_after ".concat(_),style:h}),(0,P.createElement)(Q.InnerBlocks.Content,null))))}},{attributes:Ee,save:function(e){var t,n,o,a,r,l=e.attributes,c=l.balloonName,i=l.balloonType,s=l.balloonBorder,u=l.balloonImageBorder,m=l.balloonBorderColor,p=l.balloonBgColor,v=l.balloonAlign,f=l.IconImage,b=l.balloonImageType,k=l.balloonAnimation;return!0===s?(t="vk_balloon_content-border-true",n=!0===u?"vk_balloon_icon_image-border-true":"",o=m,a=p):(t="",n="",o=p,a=p),r="position-right"===v?"transparent transparent transparent ".concat(a):"transparent ".concat(a," transparent transparent"),(0,P.createElement)("div",Q.useBlockProps.save({className:"vk_balloon vk_balloon-".concat(v," vk_balloon-").concat(i," vk_balloon-animation-").concat(k)}),(0,P.createElement)("div",{className:"vk_balloon_icon"},f?(0,P.createElement)("figure",null,(0,P.createElement)("img",{className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(b," ").concat(n),style:{borderColor:o},src:f,alt:""}),(0,P.createElement)(Q.RichText.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:c})):""),(0,P.createElement)("div",{className:"vk_balloon_content_outer"},(0,P.createElement)("div",{className:"vk_balloon_content ".concat(t),style:{backgroundColor:a,borderColor:o}},(0,P.createElement)("span",{className:"vk_balloon_content_before",style:{borderColor:r}}),(0,P.createElement)("span",{className:"vk_balloon_content_after",style:{borderColor:r}}),(0,P.createElement)(Q.InnerBlocks.Content,null))))}}];function Ce(){return Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ce.apply(this,arguments)}function Ne(){return Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ne.apply(this,arguments)}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Be(e,t){if(e){if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Te(e,t):void 0}}function we(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,a,r=[],_n=!0,l=!1;try{for(n=n.call(e);!(_n=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);_n=!0);}catch(e){l=!0,a=e}finally{try{_n||null==n.return||n.return()}finally{if(l)throw a}}return r}}(e,t)||Be(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Se,Ie,Re,Ae=window.wp.apiFetch,Oe=n.n(Ae),ze=window.wp.data,Pe=function(e){var t=e.schema,n=e.setAttributes,o=function(e){var t;if(e){var n=(0,ze.select)("core/block-editor").getSettings().colors,o=(0,Q.getColorObjectByAttributeValues)(n,e);t=void 0!==o.color?o.color:e}return t}(e.attributes[t]);return(0,P.createElement)(Q.ColorPalette,{value:o,onChange:function(e){var o=(0,ze.select)("core/block-editor").getSettings().colors,a=(0,Q.getColorObjectByColorValue)(o,e);n(h({},t,void 0!==a?a.slug:e))}})},Me=JSON.parse('{"apiVersion":2,"name":"vk-blocks/balloon","title":"Ballon","description":"These speech balloons are perfect for recreating conversations.","category":"vk-blocks-cat","attributes":{"content":{"source":"html","selector":"p"},"balloonName":{"source":"html","selector":"figcaption"},"balloonType":{"type":"string","default":"type-speech"},"balloonFullWidth":{"type":"boolean","default":false},"balloonBorder":{"type":"boolean","default":false},"balloonImageBorder":{"type":"boolean","default":false},"balloonBorderWidth":{"type":"string","default":"thin"},"balloonBorderColor":{"type":"string"},"balloonBgColor":{"type":"string"},"balloonAlign":{"type":"string","default":"position-left"},"IconImage":{"type":"string","defaul":null},"balloonImageType":{"type":"string","default":"normal"},"balloonAnimation":{"type":"string","default":"none"}},"textdomain":"vk-blocks","supports":{"className":true}}'),Fe=Me.name,je={icon:(0,P.createElement)((function(e){return G.createElement("svg",Ce({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),be||(be=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 1.2H8.71c-.99 0-1.8.8-1.8 1.8v.27c0 .96-.62 1.8-1.53 2.1l-.93.3 1.15.48c.8.34 1.31 1.12 1.31 1.98 0 .92.75 1.67 1.67 1.67H18c1 0 1.8-.8 1.8-1.8V3c0-1-.8-1.8-1.8-1.8zM5.13 7.25c.35.15.58.5.58.88A2.87 2.87 0 0 0 8.58 11H18a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3H8.71a3 3 0 0 0-3 3v.27a1 1 0 0 1-.7.95L1 5.5l4.13 1.75z",fill:"#000"})),ke||(ke=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.89 6.1H9V4.9h.89v1.2zm2.67 0h-1.78V4.9h1.78v1.2zm2.66 0h-1.78V4.9h1.78v1.2zm1.78 0h-.89V4.9H17v1.2zm4.21 10.6c0 .3.16.58.41.75L24 19l-2.23 1.09a1 1 0 0 0-.56.9 3 3 0 0 1-3 3.01H14a3 3 0 0 1-3-3v-3.89l1.06-1.1c.43-.46.53-1.05.38-1.57.45-.28.99-.44 1.56-.44h4.52a2.7 2.7 0 0 1 2.7 2.7zm-3 6.1H14c-1 0-1.8-.8-1.8-1.8v-4c0-1 .8-1.8 1.8-1.8h4.52c.82 0 1.5.67 1.5 1.5 0 .7.35 1.37.95 1.75l.6.4-.32.16A2.2 2.2 0 0 0 20 21c0 1-.8 1.81-1.8 1.81z",fill:"#000"})),_e||(_e=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),de||(de=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{attributes:{balloonName:H,balloonType:"type-speech",balloonBgColor:"#f5f5f5",balloonAlign:"position-left",IconImage:U,balloonImageType:"normal"},innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]},edit:function(e){var t,n,o=e.attributes,a=e.setAttributes,r=o.content,l=o.balloonName,c=o.balloonType,i=o.balloonBorder,s=o.balloonFullWidth,u=o.balloonImageBorder,m=o.balloonBorderColor,p=o.balloonBgColor,v=o.balloonAlign,f=o.IconImage,b=o.balloonImageType,k=o.balloonAnimation,_=we((0,P.useState)(null),2),d=_[0],h=_[1];(0,P.useEffect)((function(){Oe()({path:"/vk-blocks/v1/block-meta/balloon/",method:"GET",parse:!0}).then((function(e){h(e)}))}),[]),d&&d.default_icons&&(t=Object.keys(d.default_icons).map((function(e){var t=d.default_icons[e],n="";return t.src&&(n=(0,P.createElement)("div",{key:e},(0,P.createElement)(ne.Button,{onClick:function(){a({IconImage:t.src}),a({balloonName:t.name})},className:"button button-large components-button"},(0,P.createElement)("img",{className:"icon-image",src:t.src,alt:t.name})))),n}))),"type-serif"===c&&a({balloonType:"type-speech"}),null==b&&a({balloonImageType:"normal"}),null==k&&a({balloonAnimation:"none"}),null==i&&a({balloonBorder:!1}),null==u&&a({balloonImageBorder:!1});var g="",y="",E="",x={},C={},N="",T="",B={},w={},S={};S&&(C=S,x=S),"background"in x&&delete x.background,!0===i?(n=(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Border","vk-blocks")," "),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Add border to balloon","vk-blocks"),checked:i,onChange:function(e){return a({balloonBorder:e})}}),(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)(" Image Border","vk-blocks")),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Add border to image","vk-blocks"),className:"mb-1",checked:u,onChange:function(e){return a({balloonImageBorder:e})}}),(0,P.createElement)("p",null,(0,M.__)("* You can change border width on Setting > VK Blocks","vk-blocks")," "),(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Border color of speech balloon","vk-blocks")),(0,P.createElement)(Pe,Ne({schema:"balloonBorderColor"},e))),g+="vk_balloon_content-border-true",!0===u?y+="vk_balloon_icon_image-border-true":y="",void 0!==m&&(y+=" has-text-color",g+=" has-text-color",pe(m)||(y+=" has-".concat(m,"-color"),g+=" has-".concat(m,"-color"))),pe(m)&&!pe(p)?(C={borderColor:"".concat(m)},x={borderColor:"".concat(m)}):!pe(m)&&pe(p)?C={background:"".concat(p)}:pe(m)&&pe(p)&&(C={borderColor:"".concat(m),background:"".concat(p)},x={borderColor:"".concat(m)}),"position-left"===v?("type-speech"===c?(void 0!==p&&(N+=" has-text-color",pe(p)||(N+=" has-".concat(p,"-color"))),void 0!==m&&(T+=" has-text-color",pe(m)||(T+=" has-".concat(m,"-color")))):"type-think"===c&&(void 0!==m&&(N+=" has-text-color",pe(m)||(N+=" has-".concat(m,"-color"))),void 0!==m&&(T+=" has-text-color",pe(m)||(T+=" has-".concat(m,"-color")))),pe(m)&&(w={borderColor:"transparent transparent transparent ".concat(p)}),pe(p)&&(B={borderColor:"transparent ".concat(p," transparent transparent")})):"position-right"===v&&("type-speech"===c?(void 0!==p&&(N+=" has-text-color",pe(p)||(N+=" has-".concat(p,"-color"))),void 0!==m&&(T+=" has-text-color",pe(m)||(T+=" has-".concat(m,"-color")))):"type-think"===c&&void 0!==m&&(N+=" has-text-color",T+=" has-text-color",pe(m)||(N+=" has-".concat(m,"-color"),T+=" has-".concat(m,"-color"))),pe(m)&&(w={borderColor:"transparent ".concat(m," transparent transparent")}),pe(p)&&(B={borderColor:"transparent transparent transparent ".concat(p)}))):(n=(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Border","vk-blocks")),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Add border to balloon","vk-blocks"),checked:i,onChange:function(e){return a({balloonBorder:e})}})),y="",void 0!==p&&pe(p)&&(C={background:"".concat(p)}),"position-left"===v?("type-speech"===c&&void 0!==p&&(N+=" has-text-color",pe(p)||(N+=" has-".concat(p,"-color"))),pe(m)&&(w={borderColor:"transparent transparent transparent ".concat(p)}),pe(p)&&(B={borderColor:"transparent ".concat(p," transparent transparent")})):"position-right"===v&&("type-speech"===c&&void 0!==p&&(N+=" has-text-color",pe(p)||(N+=" has-".concat(p,"-color"))),pe(p)&&(B={borderColor:"transparent transparent transparent ".concat(p)}))),void 0!==p&&(E+=" has-background-color",pe(p)||(E+=" has-".concat(p,"-background-color"))),s&&(g+=" vk_balloon_content_fullwidth");var I=(0,Q.useBlockProps)({className:"vk_balloon vk_balloon-".concat(v," vk_balloon-").concat(c," vk_balloon-animation-").concat(k)});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Balloon setting","vk-blocks")},(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Position","vk-blocks")),(0,P.createElement)("p",{className:"mb-1"},(0,M.__)("Please specify the layout of the balloon.","vk-blocks")," "),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"position-left"===v,isSecondary:"position-left"!==v,onClick:function(){return a({balloonAlign:"position-left"})}},(0,M.__)("Left","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"position-right"===v,isSecondary:"position-right"!==v,onClick:function(){return a({balloonAlign:"position-right"})}},(0,M.__)("Right","vk-blocks"))),(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Type","vk-blocks")),(0,P.createElement)("p",{className:"mb-1"},(0,M.__)("Please select the type of balloon.","vk-blocks")," "),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"type-speech"===c,isSecondary:"type-speech"!==c,onClick:function(){return a({balloonType:"type-speech"})}},(0,M.__)("Speech","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"type-think"===c,isSecondary:"type-think"!==c,onClick:function(){return a({balloonType:"type-think"})}},(0,M.__)("Thinking","vk-blocks"))),(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Image Style","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"normal"===b,isSecondary:"normal"!==b,onClick:function(){return a({balloonImageType:"normal"})}},(0,M.__)("Normal","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"rounded"===b,isSecondary:"rounded"!==b,onClick:function(){return a({balloonImageType:"rounded"})}},(0,M.__)("Rounded","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"circle"===b,isSecondary:"circle"!==b,onClick:function(){return a({balloonImageType:"circle"})}},(0,M.__)("Circle","vk-blocks"))),(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Width","vk-blocks")),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("100%","vk-blocks"),checked:s,onChange:function(e){return a({balloonFullWidth:e})}})),n,(0,P.createElement)("p",{className:"mb-1 block-prop-title"},(0,M.__)("Background color of speech balloon","vk-blocks")),(0,P.createElement)(Pe,Ne({schema:"balloonBgColor"},e))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Default Icon Setting","vk-blocks")},(0,P.createElement)("div",{className:"icon-image-list mb-2"},t),(0,P.createElement)("div",null,(0,M.__)("You can register default icons from Settings > VK Blocks in Admin.","vk-blocks"))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Animation setting","vk-blocks")},(0,P.createElement)("p",{className:"mb-1"},(0,M.__)("Please select the type of animation.","vk-blocks")," "),(0,P.createElement)(ne.SelectControl,{value:k,onChange:function(e){return a({balloonAnimation:e})},options:[{value:"none",label:(0,M.__)("None","vk-blocks")},{value:"trembling",label:(0,M.__)("Trembling","vk-blocks")},{value:"trembling-x",label:(0,M.__)("Trembling X","vk-blocks")},{value:"pounding",label:(0,M.__)("Pounding","vk-blocks")},{value:"shaking",label:(0,M.__)("Shaking","vk-blocks")}]}))),(0,P.createElement)("div",I,(0,P.createElement)("div",{className:"vk_balloon_icon"},(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return a({IconImage:e.sizes.full.url})},type:"image",className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(b," ").concat(y),value:f,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:f?"image-button":"button button-large"},f?(0,P.createElement)("img",{className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(b," ").concat(y),style:x,src:f,alt:(0,M.__)("Upload image","vk-blocks")}):(0,M.__)("Select image","vk-blocks"))}}),(0,P.createElement)(Q.RichText,{tagName:"figcaption",className:"vk_balloon_icon_name",onChange:function(e){return a({balloonName:e})},value:l,placeholder:(0,M.__)("Icon Name","vk-blocks")})),(0,P.createElement)("div",{className:"vk_balloon_content_outer"},(0,P.createElement)("div",{className:"vk_balloon_content ".concat(E," ").concat(g),style:C},(0,P.createElement)("span",{className:"vk_balloon_content_before ".concat(N),style:B}),(0,P.createElement)("span",{className:"vk_balloon_content_after ".concat(T),style:w}),(0,P.createElement)(Q.InnerBlocks,{templateLock:!1,template:[["core/paragraph",{content:r}]]})))))},save:function(e){var t=e.attributes,n=t.balloonName,o=t.balloonType,a=t.balloonBorder,r=t.balloonFullWidth,l=t.balloonImageBorder,c=t.balloonBorderColor,i=t.balloonBgColor,s=t.balloonAlign,u=t.IconImage,m=t.balloonImageType,p=t.balloonAnimation,v="",f="",b="",k={},_={},d="",h="",g={},y={},E={};E&&(_=E,k=E),"background"in k&&delete k.background,!0===a?(v+="vk_balloon_content-border-true",!0===l?f+="vk_balloon_icon_image-border-true":f="",void 0!==c&&(f+=" has-text-color",v+=" has-text-color",pe(c)||(f+=" has-".concat(c,"-color"),v+=" has-".concat(c,"-color"))),pe(c)&&!pe(i)?(_={borderColor:"".concat(c)},k={borderColor:"".concat(c)}):!pe(c)&&pe(i)?_={background:"".concat(i)}:pe(c)&&pe(i)&&(_={borderColor:"".concat(c),background:"".concat(i)},k={borderColor:"".concat(c)}),"position-left"===s?("type-speech"===o?(void 0!==i&&(d+=" has-text-color",pe(i)||(d+=" has-".concat(i,"-color"))),void 0!==c&&(h+=" has-text-color",pe(c)||(h+=" has-".concat(c,"-color")))):"type-think"===o&&(void 0!==c&&(d+=" has-text-color",pe(c)||(d+=" has-".concat(c,"-color"))),void 0!==c&&(h+=" has-text-color",pe(c)||(h+=" has-".concat(c,"-color")))),pe(c)&&(y={borderColor:"transparent transparent transparent ".concat(i)}),pe(i)&&(g={borderColor:"transparent ".concat(i," transparent transparent")})):"position-right"===s&&("type-speech"===o?(void 0!==i&&(d+=" has-text-color",pe(i)||(d+=" has-".concat(i,"-color"))),void 0!==c&&(h+=" has-text-color",pe(c)||(h+=" has-".concat(c,"-color")))):"type-think"===o&&void 0!==c&&(d+=" has-text-color",h+=" has-text-color",pe(c)||(d+=" has-".concat(c,"-color"),h+=" has-".concat(c,"-color"))),pe(c)&&(y={borderColor:"transparent ".concat(c," transparent transparent")}),pe(i)&&(g={borderColor:"transparent transparent transparent ".concat(i)}))):void 0!==i&&(f="",void 0!==i&&pe(i)&&(_={background:"".concat(i)}),"position-left"===s?("type-speech"===o&&void 0!==i&&(d+=" has-text-color",pe(i)||(d+=" has-".concat(i,"-color"))),pe(c)&&(y={borderColor:"transparent transparent transparent ".concat(i)}),pe(i)&&(g={borderColor:"transparent ".concat(i," transparent transparent")})):"position-right"===s&&("type-speech"===o&&void 0!==i&&(d+=" has-text-color",pe(i)||(d+=" has-".concat(i,"-color"))),pe(i)&&(g={borderColor:"transparent transparent transparent ".concat(i)}))),void 0!==i&&(b+=" has-background-color",pe(i)||(b+=" has-".concat(i,"-background-color"))),r&&(v+=" vk_balloon_content_fullwidth");var x=Q.useBlockProps.save({className:"vk_balloon vk_balloon-".concat(s," vk_balloon-").concat(o," vk_balloon-animation-").concat(p)});return(0,P.createElement)("div",x,(0,P.createElement)("div",{className:"vk_balloon_icon"},u?(0,P.createElement)("figure",null,(0,P.createElement)("img",{className:"vk_balloon_icon_image vk_balloon_icon_image-type-".concat(m," ").concat(f),style:k,src:u,alt:""}),(0,P.createElement)(Q.RichText.Content,{tagName:"figcaption",className:"vk_balloon_icon_name",value:n})):""),(0,P.createElement)("div",{className:"vk_balloon_content_outer"},(0,P.createElement)("div",{className:"vk_balloon_content ".concat(b," ").concat(v),style:_},(0,P.createElement)("span",{className:"vk_balloon_content_before ".concat(d),style:g}),(0,P.createElement)("span",{className:"vk_balloon_content_after ".concat(h),style:y}),(0,P.createElement)(Q.InnerBlocks.Content,null))))},deprecated:xe};function He(){return He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},He.apply(this,arguments)}var Le=JSON.parse('{"apiVersion":2,"name":"vk-blocks/border-box","title":"Border Box","category":"vk-blocks-cat","attributes":{"heading":{"type":"string","source":"html","selector":"h4"},"color":{"type":"string"},"borderColor":{"type":"string"},"bgColor":{"type":"string","default":"transparent"},"faIcon":{"type":"string","default":""},"bodyAlign":{"type":"string"}},"description":"This is a border box where you can place headings to attract attention.","textdomain":"vk-blocks","supports":{"className":true}}'),Ue=n(184),De=n.n(Ue);function Ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function We(e,t,n){return t&&qe(e.prototype,t),n&&qe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Je(e,t){return Je=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Je(e,t)}function Ze(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Je(e,t)}function Ge(e){return Ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ge(e)}function Xe(e,t){if(t&&("object"===Ge(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ye(e)}var $e=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(e){var t;return Ve(this,a),(t=o.call(this,e)).state={open:!1},t.buttonRef=(0,P.createRef)(),t}return We(a,[{key:"render",value:function(){var e=this,t="apc-icon-btn components-button is-secondary is-small";return(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:"components-base-control"},(0,P.createElement)("div",{className:"vk-blocks-button-icon-control__wrapper components-base-control__field"},(0,P.createElement)(ne.Button,{isTertiary:!0,className:"".concat(t," mb-1"),onClick:function(){e.setState({open:!e.state.open})},ref:this.buttonRef},this.props.label),this.state.open&&this.buttonRef.current&&(0,P.createElement)(ne.Popover,{anchorRect:this.buttonRef.current.getBoundingClientRect(),children:this.props.renderComp,onFocusOutside:function(n){n.relatedTarget&&!n.relatedTarget.closest(".".concat(t))&&n.relatedTarget!==e.buttonRef.current&&e.setState({open:!1})},focusOnMount:"container",className:"vk-blocks-advanced-popover-control"}))))}}]),a}(P.Component),Ke=function(e){var t=e.attributeName,n=e.attributes,o=e.setAttributes,a=vkFontAwesome.iconsUrl,r=vkFontAwesome.iconFamily,l=vkFontAwesome.versions,c=vkFontAwesome.currentVersion,i=we((0,P.useState)(!1),2),s=i[0],u=i[1],m=we((0,P.useState)(),2),p=m[0],v=m[1];(0,P.useEffect)((function(){v(c)}),[]);var f=(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.BaseControl,{className:"components-base-control__label",id:"vk_fa_icon_list",label:(0,M.__)("Icon","vk-blocks")+" ( "+r+" ) "},(0,P.createElement)(ne.RadioControl,{className:"vk_icon_list",selected:n[t],options:[{label:(0,P.createElement)("i",{className:"fas fa-arrow-right"}),value:'<i class="fas fa-arrow-right"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-down"}),value:'<i class="fas fa-arrow-down"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-left"}),value:'<i class="fas fa-arrow-left"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-circle-right"}),value:'<i class="fas fa-arrow-circle-right"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-circle-down"}),value:'<i class="fas fa-arrow-circle-down"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-arrow-circle-left"}),value:'<i class="fas fa-arrow-circle-left"></i>'},{label:(0,P.createElement)("i",{className:"far fa-arrow-alt-circle-right"}),value:'<i class="far fa-arrow-alt-circle-right"></i>'},{label:(0,P.createElement)("i",{className:"far fa-arrow-alt-circle-down"}),value:'<i class="far fa-arrow-alt-circle-down"></i>'},{label:(0,P.createElement)("i",{className:"far fa-arrow-alt-circle-left"}),value:'<i class="far fa-arrow-alt-circle-left"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-external-link-square-alt"}),value:'<i class="fas fa-external-link-square-alt"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-external-link-alt"}),value:'<i class="fas fa-external-link-alt"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-download"}),value:'<i class="fas fa-download"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-exclamation-triangle"}),value:'<i class="fas fa-exclamation-triangle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-exclamation-circle"}),value:'<i class="fas fa-exclamation-circle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-exclamation"}),value:'<i class="fas fa-exclamation"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-question"}),value:'<i class="fas fa-question"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-question-circle"}),value:'<i class="fas fa-question-circle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-info-circle"}),value:'<i class="fas fa-info-circle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-info"}),value:'<i class="fas fa-info"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-check"}),value:'<i class="fas fa-check"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-check-square"}),value:'<i class="fas fa-check-square"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-check-circle"}),value:'<i class="fas fa-check-circle"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-phone"}),value:'<i class="fas fa-phone"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-phone-square"}),value:'<i class="fas fa-phone-square"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-mobile-alt"}),value:'<i class="fas fa-mobile-alt"></i>'},{label:(0,P.createElement)("i",{className:"far fa-envelope"}),value:'<i class="far fa-envelope"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-user"}),value:'<i class="fas fa-user"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-users"}),value:'<i class="fas fa-users"></i>'},{label:(0,P.createElement)("i",{className:"far fa-file-alt"}),value:'<i class="far fa-file-alt"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-file-alt"}),value:'<i class="fas fa-file-alt"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-file"}),value:'<i class="fas fa-file"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-file-pdf"}),value:'<i class="fas fa-file-pdf"></i>'},{label:(0,P.createElement)("i",{className:"fas fa-building"}),value:'<i class="fas fa-building"></i>'},{label:(0,P.createElement)("i",{className:"fab fa-twitter"}),value:'<i class="fab fa-twitter"></i>'},{label:(0,P.createElement)("i",{className:"fab fa-facebook-square"}),value:'<i class="fab fa-facebook-square"></i>'},{label:(0,P.createElement)("i",{className:"fab fa-line"}),value:'<i class="fab fa-line"></i>'}],onChange:function(e){return o(h({},t,e))}})),(0,P.createElement)("hr",null),(0,P.createElement)(ne.ExternalLink,{href:a,className:"components-button is-primary mt-1"},(0,M.__)("Font Awesome icon list","vk-blocks")),(0,P.createElement)("p",{className:"mt-1"},(0,M.__)("If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.","vk-blocks"),(0,P.createElement)("br",null),(0,M.__)('Ex) <i class="fas fa-arrow-circle-right"></i>',"vk-blocks")),(0,P.createElement)("hr",null),(0,P.createElement)(ne.SelectControl,{label:"Font Awesome Version",value:p,options:l,onChange:function(e){return v(e)},className:"mt-1"}),(0,P.createElement)("p",{className:"mt-1"},(0,M.__)("When you click save button, the window will be reloaded and this setting will be applied.","vk-blocks")),(0,P.createElement)(ne.Button,{isPrimary:!0,disabled:s,onClick:function(){u(!0),Oe()({path:"/vk-blocks/v1/options/vk_font_awesome_version/",method:"POST",data:p}).then((function(){u(!1),window.location.reload()})).catch((function(){u(!1)}))}},(0,M.__)("Save","vk-blocks")));return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.TextControl,{value:n[t],onChange:function(e){return o(h({},t,e))},placeholder:'<i class="fas fa-arrow-circle-right"></i>',className:"mb-0"}),(0,P.createElement)($e,{label:(0,M.__)("Select Icon","vk-blocks"),renderComp:f,setAttributes:o}))},Qe=n(488),et=(Qe.domToReact,Qe.htmlToDOM,Qe.attributesToProps,Qe.Element,Qe),tt=function(e){var t,n,o=e.setAttributes,a=e.attributes,r=e.for_,l=e.className,c=a.heading,i=a.color,s=a.faIcon;"edit"===r?(t=(0,P.createElement)(Q.InnerBlocks,null),n=(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return o({heading:e})},value:c,placeholder:(0,M.__)("Please enter a title.","vk-blocks")})):(t=(0,P.createElement)(Q.InnerBlocks.Content,null),n=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:c}));var u=l;return-1===l.indexOf("is-style-")&&(u=De()(l,"is-style-vk_borderBox-style-solid-kado-tit-tab")),(0,P.createElement)("div",{className:"vk_borderBox vk_borderBox-color-".concat(i," ").concat(u)},(0,P.createElement)("div",{className:"vk_borderBox_title_container"},(0,P.createElement)("i",{className:"".concat(s)}),n),(0,P.createElement)("div",{className:"vk_borderBox_body"},t))},nt=function(e){var t,n,o=e.setAttributes,a=e.attributes,r=e.for_,l=e.className,c=a.heading,i=a.color,s=a.faIcon,u=a.bgColor;"edit"===r?(t=(0,P.createElement)(Q.InnerBlocks,null),n=(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return o({heading:e})},value:c,placeholder:(0,M.__)("Please enter a title.","vk-blocks")})):(t=(0,P.createElement)(Q.InnerBlocks.Content,null),n=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:c}));var m,p=l;return-1===l.indexOf("is-style-")&&(p=De()(l,"is-style-vk_borderBox-style-solid-kado-tit-tab")),m=-1===s.indexOf('<i class="')?'<i class="'.concat(s,'"></i>'):s,(0,P.createElement)("div",{className:"vk_borderBox vk_borderBox-color-".concat(i," vk_borderBox-background-").concat(u," ").concat(p)},(0,P.createElement)("div",{className:"vk_borderBox_title_container"},et(m),n),(0,P.createElement)("div",{className:"vk_borderBox_body"},t))};function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function at(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rt,lt,ct,it={heading:{type:"string",source:"html",selector:"h4"},color:{type:"string",default:"red"},faIcon:{type:"string",default:""}},st=at(at({},it),{},{bgColor:{type:"string",default:"transparent"}}),ut=at(at({},st),{},{borderColor:{type:"string"}}),mt=[{attributes:at(at({},ut),{},{color:{type:"string"}}),save:function(e){var t,n,o=e.attributes,a=o.heading,r=o.faIcon,l=o.color,c=o.bgColor,i=o.borderColor,s=(0,P.createElement)(Q.InnerBlocks.Content,null),u=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:a,"ß":!0}),m=De()("vk_borderBox",(h(t={},"vk_borderBox-color-".concat(l),!!l),h(t,"vk_borderBox-background-".concat(c),!!c),h(t,"has-text-color",!!i),h(t,"has-".concat(i,"-color"),!!i&&!pe(i)),t)),p={};void 0!==i&&pe(i)&&(p={color:"".concat(i)});var v=Q.useBlockProps.save({className:m,style:p});-1===v.className.indexOf("is-style-")&&(v.className+=" is-style-vk_borderBox-style-solid-kado-tit-tab");var f=!1;(-1<v.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-tab")||-1<v.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-banner")||-1<v.className.indexOf("is-style-vk_borderBox-style-solid-round-tit-tab"))&&(f=!0);var b,k=De()("vk_borderBox_title_container",(h(n={},"has-background",f&&!!i),h(n,"has-".concat(i,"-background-color"),f&&!!i&&!pe(i)),n)),_={};if(f&&void 0!==i&&pe(i)&&(_={backgroundColor:"".concat(i)}),-1<v.className.indexOf("vk_borderBox-style-solid-kado-iconFeature")&&!l){var d,g="",y=De()("vk_borderBox_icon_border",(h(d={},"has-background",!!i),h(d,"has-".concat(i,"-background-color"),!!i&&!pe(i)),d));void 0!==i&&pe(i)&&(g="background-color: ".concat(i,";")),b='<div class="'.concat(De()(y),'" style="').concat(g,'">').concat(r,"</div>")}else b=-1===r.indexOf('<i class="')?'<i class="'.concat(r,'"></i>'):r;return(0,P.createElement)("div",v,(0,P.createElement)("div",{className:k,style:_},et(b),u),(0,P.createElement)("div",{className:"vk_borderBox_body"},s))}},{attributes:ut,save:function(e){var t,n=e.attributes,o=n.heading,a=n.color,r=n.faIcon,l=n.bgColor,c=(0,P.createElement)(Q.InnerBlocks.Content,null),i=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:o}),s=Q.useBlockProps.save({className:"vk_borderBox vk_borderBox-color-".concat(a," vk_borderBox-background-").concat(l)});return-1===s.className.indexOf("is-style-")&&(s.className+=" is-style-vk_borderBox-style-solid-kado-tit-tab"),t=-1===r.indexOf('<i class="')?'<i class="'.concat(r,'"></i>'):r,(0,P.createElement)("div",s,(0,P.createElement)("div",{className:"vk_borderBox_title_container"},et(t),i),(0,P.createElement)("div",{className:"vk_borderBox_body"},c))}},{attributes:st,save:function(e){return(0,P.createElement)(nt,Ne({for_:"save"},e))}},{attributes:it,save:function(e){return(0,P.createElement)(tt,Ne({for_:"save"},e))}}],pt=mt,vt=Le.name,ft={icon:(0,P.createElement)((function(e){return G.createElement("svg",He({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Se||(Se=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1a1 1 0 0 0-1 1v11.28h1.5V7.5h21v13H10.2l.46 1.5H23a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-9V2a1 1 0 0 0-1-1H1zm9 3.75H4v-1.5h6v1.5z",fill:"#000"})),Ie||(Ie=G.createElement("path",{d:"M.87 22 0 19.47V21c0 .5.38.93.87 1zm9.76-4.5H20v-1h-8.42l-.95 1zm1.82-3H20v-1h-8.29c.38.22.64.59.74 1zm7.55-3v-1H4v1h16zm-9.11 3.28H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Re||(Re=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),category:"vk-blocks-cat",example:{attributes:{heading:F,faIcon:L},innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]},styles:[{name:"vk_borderBox-style-solid-kado-tit-tab",label:(0,M.__)("Solid Angle Tab","vk-blocks"),isDefault:!0},{name:"vk_borderBox-style-solid-round-tit-tab",label:(0,M.__)("Solid Round Tab","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-banner",label:(0,M.__)("Solid Angle Banner","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-onborder",label:(0,M.__)("Solid Angle Onborder","vk-blocks")},{name:"vk_borderBox-style-solid-kado-tit-inner",label:(0,M.__)("Solid Angle Inner","vk-blocks")},{name:"vk_borderBox-style-solid-kado-iconFeature",label:(0,M.__)("Solid Angle iconFeature","vk-blocks")}],edit:function(e){var t,n,o=e.attributes,a=e.setAttributes,r=o.heading,l=o.faIcon,c=o.color,i=o.bgColor,s=o.borderColor,u=o.bodyAlign,m=vkFontAwesome.iconFamily,p=(0,P.createElement)(Q.InnerBlocks,{templateLock:!1,template:[["core/paragraph"]]}),v=(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_borderBox_title",onChange:function(e){return a({heading:e})},value:r,placeholder:(0,M.__)("Please enter a title.","vk-blocks")}),f=De()("vk_borderBox",(h(t={},"vk_borderBox-color-".concat(c),!!c),h(t,"vk_borderBox-background-".concat(i),!!i),h(t,"has-text-color",!!s),h(t,"has-".concat(s,"-color"),!!s&&!pe(s)),t)),b={};void 0!==s&&pe(s)&&(b={color:"".concat(s)});var k=(0,Q.useBlockProps)({className:De()(f),style:b});-1===k.className.indexOf("is-style-")&&(k.className+=" is-style-vk_borderBox-style-solid-kado-tit-tab");var _={red:"#dc3545",orange:"#ffa536",blue:"#4267b2",green:"#28a745",black:"#222222"};if(c)a({borderColor:_[c]}),a({color:""});else if(o.className&&o.className.match(/vk_borderBox-color-\w*/)){var d=o.className.split(" ").filter((function(e){return!e.match(/vk_borderBox-color-\w*/)}));a({className:De()(d)}),a({borderColor:_.red})}var g=!1;(-1<k.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-tab")||-1<k.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-banner")||-1<k.className.indexOf("is-style-vk_borderBox-style-solid-round-tit-tab"))&&(g=!0);var y,E=De()("vk_borderBox_title_container",(h(n={},"has-background",g&&!!s),h(n,"has-".concat(s,"-background-color"),g&&!!s&&!pe(s)),n)),x={};if(g&&void 0!==s&&pe(s)&&(x={backgroundColor:"".concat(s)}),-1<k.className.indexOf("vk_borderBox-style-solid-kado-iconFeature")&&!c){var C,N="",T=De()("vk_borderBox_icon_border",(h(C={},"has-background",!!s),h(C,"has-".concat(s,"-background-color"),!!s&&!pe(s)),C));void 0!==s&&pe(s)&&(N="background-color: ".concat(s,";")),y='<div class="'.concat(De()(T),'" style="').concat(N,'">').concat(l,"</div>")}else y=-1===l.indexOf('<i class="')?'<i class="'.concat(l,'"></i>'):l;var B=De()("vk_borderBox_body",h({},"vk_borderBox_body-align-".concat(u),!!u));return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(Q.BlockAlignmentControl,{value:u,onChange:function(e){return a({bodyAlign:e})},controls:["left","center","right"]})),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Margin","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("p",null,(0,M.__)("The margin-top of the first element and the margin-bottom of the last element in the border block will be automatically set to 0.If you want to add margins at the beginning and end, use a spacer block to specify height instead of margin.","vk-blocks")))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Color","vk-blocks")},(0,P.createElement)(ne.BaseControl,{id:"border-color",label:(0,M.__)("Border Color","vk-blocks")},(0,P.createElement)(Pe,Ne({schema:"borderColor"},e))),(0,P.createElement)(ne.BaseControl,{id:"background-color",label:(0,M.__)("Background Color","vk-blocks")},(0,P.createElement)(ne.SelectControl,{value:i,onChange:function(e){return a({bgColor:e})},options:[{value:"transparent",label:(0,M.__)("Transparent","vk-blocks")},{value:"white",label:(0,M.__)("White","vk-blocks")}]}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Icon","vk-blocks")},(0,P.createElement)(ne.BaseControl,{id:"dot-fa",label:(0,M.__)("Icon","vk-blocks")+" ( "+m+" )"},(0,P.createElement)(Ke,{attributeName:"faIcon",attributes:o,setAttributes:a})))),(0,P.createElement)("div",k,(0,P.createElement)("div",{className:De()(E),style:x},et(y),v),(0,P.createElement)("div",{className:B},p)))},save:function(e){var t,n,o=e.attributes,a=o.heading,r=o.faIcon,l=o.color,c=o.bgColor,i=o.borderColor,s=o.bodyAlign,u=(0,P.createElement)(Q.InnerBlocks.Content,null),m=(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_borderBox_title",value:a,"ß":!0}),p=De()("vk_borderBox",(h(t={},"vk_borderBox-color-".concat(l),!!l),h(t,"vk_borderBox-background-".concat(c),!!c),h(t,"has-text-color",!!i),h(t,"has-".concat(i,"-color"),!!i&&!pe(i)),t)),v={};void 0!==i&&pe(i)&&(v={color:"".concat(i)});var f=Q.useBlockProps.save({className:p,style:v});-1===f.className.indexOf("is-style-")&&(f.className+=" is-style-vk_borderBox-style-solid-kado-tit-tab");var b=!1;(-1<f.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-tab")||-1<f.className.indexOf("is-style-vk_borderBox-style-solid-kado-tit-banner")||-1<f.className.indexOf("is-style-vk_borderBox-style-solid-round-tit-tab"))&&(b=!0);var k,_=De()("vk_borderBox_title_container",(h(n={},"has-background",b&&!!i),h(n,"has-".concat(i,"-background-color"),b&&!!i&&!pe(i)),n)),d={};if(b&&void 0!==i&&pe(i)&&(d={backgroundColor:"".concat(i)}),-1<f.className.indexOf("vk_borderBox-style-solid-kado-iconFeature")&&!l){var g,y="",E=De()("vk_borderBox_icon_border",(h(g={},"has-background",!!i),h(g,"has-".concat(i,"-background-color"),!!i&&!pe(i)),g));void 0!==i&&pe(i)&&(y="background-color: ".concat(i,";")),k='<div class="'.concat(De()(E),'" style="').concat(y,'">').concat(r,"</div>")}else k=-1===r.indexOf('<i class="')?'<i class="'.concat(r,'"></i>'):r;var x=De()("vk_borderBox_body",h({},"vk_borderBox_body-align-".concat(s),!!s));return(0,P.createElement)("div",f,(0,P.createElement)("div",{className:_,style:d},et(k),m),(0,P.createElement)("div",{className:x},u))},deprecated:pt};function bt(){return bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bt.apply(this,arguments)}var kt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbIconSizeBefore,m=this.props.lbIconSizeAfter,p=this.props.lbRichtext,v=this.props.lbsubCaption,f="",b="",k="";if(f="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?f+=" btn has-background has-vk-color-".concat(n,"-background-color"):(f+=" btn has-background",pe(t)||(f+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(f+=" btn has-text-color",pe(e)||(f+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?f+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(f+=" btn has-text-color is-style-outline",pe(t)||(f+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?f+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(f+=" has-text-color vk_button_link-type-text",pe(t)||(f+=" has-".concat(t,"-color")))),f="".concat(f," btn-").concat(r),"block"===a&&(f="".concat(f," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var _=i.match(/class="(.*?)"/)[1];_+=" vk_button_link_before";var d=u?" style='font-size: ".concat(u,"'"):"";b='<i class="'.concat(_,'"').concat(d,"></i>")}if(s){var h=s.match(/class="(.*?)"/)[1];h+=" vk_button_link_after";var g=m?" style='font-size: ".concat(m,"'"):"";k='<i class="'.concat(h,'"').concat(g,"></i>")}return(0,P.createElement)("a",{href:l,style:null,className:f,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},(0,P.createElement)("div",{className:"vk_button_link_caption"},et(b),p,et(k)),v&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},v))}}]),a}(P.Component),_t=window.wp.primitives,dt=(0,P.createElement)(_t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,P.createElement)(_t.Path,{d:"M15.6 7.3h-.7l1.6-3.5-.9-.4-3.9 8.5H9v1.5h2l-1.3 2.8H8.4c-2 0-3.7-1.7-3.7-3.7s1.7-3.7 3.7-3.7H10V7.3H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H9l-1.4 3.2.9.4 5.7-12.5h1.4c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.9 0 5.2-2.3 5.2-5.2 0-2.9-2.4-5.2-5.2-5.2z"})),ht=(0,P.createElement)(_t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,P.createElement)(_t.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"})),gt=(0,P.createElement)(_t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,P.createElement)(_t.Path,{d:"M6.734 16.106l2.176-2.38-1.093-1.028-3.846 4.158 3.846 4.157 1.093-1.027-2.176-2.38h2.811c1.125 0 2.25.03 3.374 0 1.428-.001 3.362-.25 4.963-1.277 1.66-1.065 2.868-2.906 2.868-5.859 0-2.479-1.327-4.896-3.65-5.93-1.82-.813-3.044-.8-4.806-.788l-.567.002v1.5c.184 0 .368 0 .553-.002 1.82-.007 2.704-.014 4.21.657 1.854.827 2.76 2.657 2.76 4.561 0 2.472-.973 3.824-2.178 4.596-1.258.807-2.864 1.04-4.163 1.04h-.02c-1.115.03-2.229 0-3.344 0H6.734z"})),yt=JSON.parse('{"apiVersion":2,"name":"vk-blocks/button","title":"Button","category":"vk-blocks-cat","attributes":{"content":{"type":"string","source":"html","selector":"span"},"subCaption":{"type":"string"},"buttonUrl":{"type":"string"},"buttonTarget":{"type":"Boolean","default":false},"buttonSize":{"type":"string","default":"md"},"buttonType":{"type":"string","default":"0"},"buttonColor":{"type":"string","default":"primary"},"buttonTextColorCustom":{"type":"string"},"buttonColorCustom":{"type":"string"},"buttonAlign":{"type":"string","default":"left"},"buttonWidthMobile":{"type":"number","default":0},"buttonWidthTablet":{"type":"number","default":0},"buttonWidth":{"type":"number","default":0},"outerGap":{"type":"string","default":null},"fontAwesomeIconBefore":{"type":"string"},"fontAwesomeIconAfter":{"type":"string"},"iconSizeBefore":{"type":"string","default":null},"iconSizeAfter":{"type":"string","default":null},"clientId":{"type":"string"},"blockId":{"type":"string"},"old_1_31_0":{"type":"string","default":true}},"description":"A button link that can display icons before and after.","textdomain":"vk-blocks","supports":{"className":true,"anchor":true}}');var Et=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,m="",p={},v="",f="";if(p=null,m="".concat(m="vk_button_link","0"===n||null===n||"1"===n?" btn":" vk_button_link-type-text"),"0"===n||null===n?"undefined"===e||null==e?(m="".concat(m," btn-").concat(t),p=null):p={backgroundColor:"".concat(e),border:"1px solid ".concat(e),color:"#fff"}:"1"===n?"undefined"===e||null==e?(m="".concat(m," btn-outline-").concat(t),p=null):p={backgroundColor:"transparent",border:"1px solid ".concat(e),color:"".concat(e)}:"2"===n&&("undefined"===e||null==e?(m="".concat(m," btn-outline-").concat(t),p=null):p={color:"".concat(e)}),m="".concat(m," btn-").concat(a),"block"===o&&(m="".concat(m," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var b=(c=c.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_before ",v=b.join("")}if(i){var k=(i=i.replace(/ fas/g,"fas")).split(" ");k[1]=" "+k[1]+" vk_button_link_after ",f=k.join("")}return(0,P.createElement)("a",{href:r,style:p,className:m,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener"},et(v),s,et(f),u&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},u))}}]),a}(P.Component);var xt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,m="",p="",v="";if(m="vk_button_link","0"!==n&&null!==n&&"1"!==n&&(m+=" vk_button_link-type-text"),"0"===n||null===n?"custom"!==t&&void 0===e?m+=" vk_button_btn has-background has-vk-color-".concat(t,"-background-color"):(m+=" has-background",pe(e)?m+=" vk_button_btn":m+=" vk_button_btn has-".concat(e,"-background-color")):"1"===n?"custom"!==t&&void 0===e?m+=" vk_button_btn has-text-color has-vk-color-".concat(t,"-color is-style-outline"):(m+=" has-text-color",pe(e)?m+=" vk_button_btn":m+=" vk_button_btn has-".concat(e,"-color is-style-outline")):"2"===n&&("custom"!==t&&void 0===e?m+=" has-text-color has-vk-color-".concat(t,"-color"):(m+=" has-text-color",pe(e)?m+="":m+=" has-".concat(e,"-color"))),m="".concat(m," btn-").concat(a),"block"===o&&(m="".concat(m," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var f=(c=c.replace(/ fas/g,"fas")).split(" ");f[1]=" "+f[1]+" vk_button_link_before ",p=f.join("")}if(i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_after ",v=b.join("")}return(0,P.createElement)("a",{href:r,style:null,className:m,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener"},et(p),s,et(v),u&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},u))}}]),a}(P.Component);var Ct=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,m="",p="",v="";if(m="vk_button_link","0"===n||null===n?"custom"!==t&&void 0===e?m+=" btn has-background has-vk-color-".concat(t,"-background-color"):(m+=" btn has-background",pe(e)||(m+=" has-".concat(e,"-background-color"))):"1"===n?"custom"!==t&&void 0===e?m+=" btn has-text-color is-style-outline has-vk-color-".concat(t,"-color"):(m+=" btn has-text-color is-style-outline",pe(e)||(m+=" has-".concat(e,"-color"))):"2"===n&&("custom"!==t&&void 0===e?m+=" has-text-color vk_button_link-type-text has-vk-color-".concat(t,"-color"):(m+=" has-text-color vk_button_link-type-text",pe(e)||(m+=" has-".concat(e,"-color")))),m="".concat(m," btn-").concat(a),"block"===o&&(m="".concat(m," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var f=(c=c.replace(/ fas/g,"fas")).split(" ");f[1]=" "+f[1]+" vk_button_link_before ",p=f.join("")}if(i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_after ",v=b.join("")}return(0,P.createElement)("a",{href:r,style:null,className:m,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener"},et(p),s,et(v),u&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},u))}}]),a}(P.Component);var Nt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbColorCustom,t=this.props.lbColor,n=this.props.lbType,o=this.props.lbAlign,a=this.props.lbSize,r=this.props.lbUrl,l=this.props.lbTarget,c=this.props.lbFontAwesomeIconBefore,i=this.props.lbFontAwesomeIconAfter,s=this.props.lbRichtext,u=this.props.lbsubCaption,m="",p="",v="";if(m="vk_button_link","0"===n||null===n?"custom"!==t&&void 0===e?m+=" btn has-background has-vk-color-".concat(t,"-background-color"):(m+=" btn has-background",pe(e)||(m+=" has-".concat(e,"-background-color"))):"1"===n?"custom"!==t&&void 0===e?m+=" btn has-text-color is-style-outline has-vk-color-".concat(t,"-color"):(m+=" btn has-text-color is-style-outline",pe(e)||(m+=" has-".concat(e,"-color"))):"2"===n&&("custom"!==t&&void 0===e?m+=" has-text-color vk_button_link-type-text has-vk-color-".concat(t,"-color"):(m+=" has-text-color vk_button_link-type-text",pe(e)||(m+=" has-".concat(e,"-color")))),m="".concat(m," btn-").concat(a),"block"===o&&(m="".concat(m," btn-block")),c&&!c.match(/<i/)&&(c='<i class="'.concat(c,'"></i>')),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),c){var f=(c=c.replace(/ fas/g,"fas")).split(" ");f[1]=" "+f[1]+" vk_button_link_before ",p=f.join("")}if(i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_after ",v=b.join("")}return(0,P.createElement)("a",{href:r,style:null,className:m,role:"button","aria-pressed":!0,target:l?"_blank":null,rel:"noopener"},et(p),s,et(v),u&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},u))}}]),a}(P.Component);var Tt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",v="",f="";if(p="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?p+=" btn has-background has-vk-color-".concat(n,"-background-color"):(p+=" btn has-background",pe(t)||(p+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(p+=" btn has-text-color",pe(e)||(p+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?p+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(p+=" btn has-text-color is-style-outline",pe(t)||(p+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?p+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(p+=" has-text-color vk_button_link-type-text",pe(t)||(p+=" has-".concat(t,"-color")))),p="".concat(p," btn-").concat(r),"block"===a&&(p="".concat(p," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_before ",v=b.join("")}if(s){var k=(s=s.replace(/ fas/g,"fas")).split(" ");k[1]=" "+k[1]+" vk_button_link_after ",f=k.join("")}return(0,P.createElement)("a",{href:l,style:null,className:p,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},et(v),u,et(f),m&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},m))}}]),a}(P.Component);var Bt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",v="",f="";if(p="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?p+=" btn has-background has-vk-color-".concat(n,"-background-color"):(p+=" btn has-background",pe(t)||(p+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(p+=" btn has-text-color",pe(e)||(p+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?p+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(p+=" btn has-text-color is-style-outline",pe(t)||(p+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?p+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(p+=" has-text-color vk_button_link-type-text",pe(t)||(p+=" has-".concat(t,"-color")))),p="".concat(p," btn-").concat(r),"block"===a&&(p="".concat(p," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var b=(i=i.replace(/ fas/g,"fas")).split(" ");b[1]=" "+b[1]+" vk_button_link_before ",v=b.join("")}if(s){var k=(s=s.replace(/ fas/g,"fas")).split(" ");k[1]=" "+k[1]+" vk_button_link_after ",f=k.join("")}return(0,P.createElement)("a",{href:l,style:null,className:p,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},et(v),u,et(f),m&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},m))}}]),a}(P.Component);var wt=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",v="",f="";if(p="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?p+=" btn has-background has-vk-color-".concat(n,"-background-color"):(p+=" btn has-background",pe(t)||(p+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(p+=" btn has-text-color",pe(e)||(p+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?p+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(p+=" btn has-text-color is-style-outline",pe(t)||(p+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?p+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(p+=" has-text-color vk_button_link-type-text",pe(t)||(p+=" has-".concat(t,"-color")))),p="".concat(p," btn-").concat(r),"block"===a&&(p="".concat(p," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var b=i.match(/class="(.*?)"/)[1];v='<i class="'.concat(b+=" vk_button_link_before",'"></i>')}if(s){var k=s.match(/class="(.*?)"/)[1];f='<i class="'.concat(k+=" vk_button_link_after",'"></i>')}return(0,P.createElement)("a",{href:l,style:null,className:p,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},et(v),u,et(f),m&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},m))}}]),a}(P.Component);var St=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbTextColorCustom,t=this.props.lbColorCustom,n=this.props.lbColor,o=this.props.lbType,a=this.props.lbAlign,r=this.props.lbSize,l=this.props.lbUrl,c=this.props.lbTarget,i=this.props.lbFontAwesomeIconBefore,s=this.props.lbFontAwesomeIconAfter,u=this.props.lbRichtext,m=this.props.lbsubCaption,p="",v="",f="";if(p="vk_button_link","0"===o||null===o?("custom"!==n&&void 0===t?p+=" btn has-background has-vk-color-".concat(n,"-background-color"):(p+=" btn has-background",pe(t)||(p+=" has-".concat(t,"-background-color"))),"custom"===n&&void 0!==e&&(p+=" btn has-text-color",pe(e)||(p+=" has-".concat(e,"-color")))):"1"===o?"custom"!==n&&void 0===t?p+=" btn has-text-color is-style-outline has-vk-color-".concat(n,"-color"):(p+=" btn has-text-color is-style-outline",pe(t)||(p+=" has-".concat(t,"-color"))):"2"===o&&("custom"!==n&&void 0===t?p+=" has-text-color vk_button_link-type-text has-vk-color-".concat(n,"-color"):(p+=" has-text-color vk_button_link-type-text",pe(t)||(p+=" has-".concat(t,"-color")))),p="".concat(p," btn-").concat(r),"block"===a&&(p="".concat(p," btn-block")),i&&!i.match(/<i/)&&(i='<i class="'.concat(i,'"></i>')),s&&!s.match(/<i/)&&(s='<i class="'.concat(s,'"></i>')),i){var b=i.match(/class="(.*?)"/)[1];v='<i class="'.concat(b+=" vk_button_link_before",'"></i>')}if(s){var k=s.match(/class="(.*?)"/)[1];f='<i class="'.concat(k+=" vk_button_link_after",'"></i>')}return(0,P.createElement)("a",{href:l,style:null,className:p,role:"button","aria-pressed":!0,target:c?"_blank":null,rel:"noopener"},et(v),u,et(f),m&&(0,P.createElement)("p",{className:"vk_button_link_subCaption"},m))}}]),a}(P.Component);function It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var At=Rt(Rt({},{content:{type:"string",source:"html",selector:"span"},buttonUrl:{type:"string",default:null},buttonTarget:{type:"Boolean",default:!1},buttonSize:{type:"string",default:"md"},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonAlign:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string",default:null},fontAwesomeIconAfter:{type:"string",default:null}}),{},{subCaption:{type:"string",default:""}}),Ot=Rt(Rt({},At),{},{buttonUrl:{type:"string"},buttonColorCustom:{type:"string"},fontAwesomeIconBefore:{type:"string"},fontAwesomeIconAfter:{type:"string"},subCaption:{type:"string"},clientId:{type:"string"}}),zt=Rt(Rt({},Ot),{},{blockId:{type:"string"}}),Pt=Rt(Rt({},zt),{},{buttonTextColorCustom:{type:"string"}}),Mt=Rt(Rt({},Pt),{},{buttonWidth:{type:"number",default:0}}),Ft=Rt(Rt({},Mt),{},{buttonWidthMobile:{type:"number",default:0},buttonWidthTablet:{type:"number",default:0},buttonWidth:{type:"number",default:0}}),jt=Rt(Rt({},Ft),{},{old_1_31_0:{type:"string",default:!0}}),Ht=[{attributes:Rt(Rt({},jt),{},{outerGap:{type:"string",default:null}}),save:function(e){var t=e.attributes,n=t.content,o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonTextColorCustom,u=t.buttonColorCustom,m=t.buttonAlign,p=t.buttonWidthMobile,v=t.buttonWidthTablet,f=t.buttonWidth,b=t.outerGap,k=t.fontAwesomeIconBefore,_=t.fontAwesomeIconAfter,d=t.blockId,h="";h=void 0!==u&&pe(u)||b?"vk_button vk_button-color-custom vk_button-".concat(d):"vk_button vk_button-color-custom",p||v||f?(p&&(h+=" vk_button-width-mobile-".concat(p)),v&&(h+=" vk_button-width-tablet-".concat(v)),f&&(h+=" vk_button-width-".concat(f))):h+=" vk_button-align-".concat(m);var g=Q.useBlockProps.save({className:h});return(0,P.createElement)("div",g,(0,P.createElement)(St,{lbTextColorCustom:s,lbColorCustom:u,lbColor:i,lbType:c,lbAlign:m,lbSize:l,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:k,lbFontAwesomeIconAfter:_,lbsubCaption:o,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:jt,save:function(e){var t=e.attributes,n=t.content,o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonTextColorCustom,u=t.buttonColorCustom,m=t.buttonAlign,p=t.buttonWidthMobile,v=t.buttonWidthTablet,f=t.buttonWidth,b=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter,_=t.blockId,d="";d=void 0!==s&&pe(s)||void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-".concat(_):"vk_button vk_button-color-custom",p||v||f?(p&&(d+=" vk_button-width-mobile-".concat(p)),v&&(d+=" vk_button-width-tablet-".concat(v)),f&&(d+=" vk_button-width-".concat(f))):d+=" vk_button-align-".concat(m);var h=Q.useBlockProps.save({className:d});return(0,P.createElement)("div",h,(0,P.createElement)(wt,{lbTextColorCustom:s,lbColorCustom:u,lbColor:i,lbType:c,lbAlign:m,lbSize:l,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:b,lbFontAwesomeIconAfter:k,lbsubCaption:o,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:Ft,save:function(e){var t=e.attributes,n=t.content,o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonTextColorCustom,u=t.buttonColorCustom,m=t.buttonAlign,p=t.buttonWidth,v=t.fontAwesomeIconBefore,f=t.fontAwesomeIconAfter,b=t.blockId,k="";k=void 0!==s&&pe(s)||void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-".concat(b):"vk_button vk_button-color-custom",k+=p?" vk_button-width-".concat(p):" vk_button-align-".concat(m);var _=Q.useBlockProps.save({className:k});return(0,P.createElement)("div",_,(0,P.createElement)(Bt,{lbTextColorCustom:s,lbColorCustom:u,lbColor:i,lbType:c,lbAlign:m,lbSize:l,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:v,lbFontAwesomeIconAfter:f,lbsubCaption:o,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))}},{attributes:Mt,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonTextColorCustom,m=n.buttonColorCustom,p=n.buttonAlign,v=n.fontAwesomeIconBefore,f=n.fontAwesomeIconAfter,b=n.blockId;t=void 0!==u&&pe(u)||void 0!==m&&pe(m)?"vk_button vk_button-color-custom vk_button-align-".concat(p," vk_button-").concat(b):"vk_button vk_button-color-custom vk_button-align-".concat(p);var k=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",k,(0,P.createElement)(Tt,{lbTextColorCustom:u,lbColorCustom:m,lbColor:s,lbType:i,lbAlign:p,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:v,lbFontAwesomeIconAfter:f,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}},{attributes:zt,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonColorCustom,m=n.buttonAlign,p=n.fontAwesomeIconBefore,v=n.fontAwesomeIconAfter,f=n.blockId;t=void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-align-".concat(m," vk_button-").concat(f):"vk_button vk_button-color-custom vk_button-align-".concat(m);var b=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",b,(0,P.createElement)(Nt,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:v,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}},{attributes:Ot,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonColorCustom,m=n.buttonAlign,p=n.fontAwesomeIconBefore,v=n.fontAwesomeIconAfter,f=n.clientId;t=void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-align-".concat(m," vk_button-").concat(f):"vk_button vk_button-color-custom vk_button-align-".concat(m);var b=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",b,(0,P.createElement)(Ct,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:v,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}},{attributes:Ot,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonColorCustom,m=n.buttonAlign,p=n.fontAwesomeIconBefore,v=n.fontAwesomeIconAfter,f=n.clientId;t=void 0!==u&&pe(u)?"vk_button vk_button-color-custom vk_button-align-".concat(m," vk_button-").concat(f):"vk_button vk_button-color-custom vk_button-align-".concat(m);var b=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",b,(0,P.createElement)(xt,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:v,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}},{attributes:At,save:function(e){var t,n=e.attributes,o=n.content,a=n.subCaption,r=n.buttonUrl,l=n.buttonTarget,c=n.buttonSize,i=n.buttonType,s=n.buttonColor,u=n.buttonColorCustom,m=n.buttonAlign,p=n.fontAwesomeIconBefore,v=n.fontAwesomeIconAfter;t=u&&"undefined"!==u?"vk_button vk_button-color-custom vk_button-align-".concat(m):"vk_button vk_button-align-".concat(m);var f=Q.useBlockProps.save({className:t});return(0,P.createElement)("div",f,(0,P.createElement)(Et,{lbColorCustom:u,lbColor:s,lbType:i,lbAlign:m,lbSize:c,lbUrl:r,lbTarget:l,lbFontAwesomeIconBefore:p,lbFontAwesomeIconAfter:v,lbsubCaption:a,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:o})}))}}];function Lt(e){var t,n,o,a,r,l=e.el,c=(t=e.attributes,n=t.buttonColorCustom,o=t.buttonType,a=t.clientId,r="",void 0!==n&&pe(n)&&("0"!==o&&null!==o||(r+=".vk_button-".concat(a," .has-background {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"1"===o&&(r+=".vk_button-".concat(a," .has-text-color.is-style-outline {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}\n\t\t\t.vk_button-").concat(a," .has-text-color.is-style-outline:hover {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"2"===o&&(r=".vk_button-".concat(a," .has-text-color.vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}\n\t\t\t.vk_button-").concat(a," .has-text-color.vk_button_link-type-text:hover {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}"))),r);return""!==c?(0,P.createElement)(P.Fragment,null,l,(0,P.createElement)("style",{type:"text/css"},c)):(0,P.createElement)(P.Fragment,null,l)}function Ut(e){var t,n,o,a,r,l,c=e.el,i=(t=e.attributes,n=t.buttonTextColorCustom,o=t.buttonColorCustom,a=t.buttonType,r=t.blockId,l="",void 0!==o&&pe(o)&&("0"!==a&&null!==a||(l+=".vk_button-".concat(r," .has-background {\n\t\t\t\tbackground-color: ").concat(o,";\n\t\t\t\tborder: 1px solid ").concat(o,";\n\t\t\t}")),"1"===a&&(l+=".vk_button-".concat(r," .has-text-color.is-style-outline {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(o,";\n\t\t\t\tcolor: ").concat(o,";\n\t\t\t}\n\t\t\t.vk_button-").concat(r," .has-text-color.is-style-outline:hover {\n\t\t\t\tbackground-color: ").concat(o,";\n\t\t\t\tborder: 1px solid ").concat(o,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"2"===a&&(l=".vk_button-".concat(r," .has-text-color.vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(o,";\n\t\t\t}"))),void 0!==n&&pe(n)&&("0"!==a&&null!==a||(l+=" .vk_button-".concat(r," .has-text-color {\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}"))),l);return""!==i?(0,P.createElement)(P.Fragment,null,c,(0,P.createElement)("style",{type:"text/css"},i)):(0,P.createElement)(P.Fragment,null,c)}var Dt,Vt,qt,Wt=[function(e){var t=e.el,n=e.attributes,o=function(e){var t=e.buttonTextColorCustom,n=e.buttonColorCustom,o=e.buttonType,a=e.blockId,r="";return void 0!==n&&pe(n)&&("0"!==o&&null!==o||(r+=".vk_button-".concat(a," .has-background {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t}")),"1"===o&&(r+=".vk_button-".concat(a," .has-text-color.is-style-outline {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}\n\t\t\t.vk_button-").concat(a," .has-text-color.is-style-outline:hover {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"2"===o&&(r=".vk_button-".concat(a," .has-text-color.vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}"))),void 0!==t&&pe(t)&&("0"!==o&&null!==o||(r+=" .vk_button-".concat(a," .has-text-color {\n\t\t\t\tcolor: ").concat(t,";\n\t\t\t}"))),r}(n),a=function(e,t){var n=e.buttonWidthMobile,o=e.buttonWidthTablet,a=e.buttonWidth,r=e.outerGap,l=e.blockId,c="",i=".vk_button";return r&&(n&&(c+="@media (max-width: 575.98px) {\n\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(n,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(n,"))) - 1px);\n\t\t\t\t}\n\t\t\t}")),o&&(c+="@media(min-width: 576px) and (max-width: 991.98px) {\n\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(o,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(o,"))) - 1px);\n\t\t\t\t}\n\t\t\t}")),a&&(c+="@media (min-width: 992px) {\n\t\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(a,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(a,"))) - 1px );\n\t\t\t\t}\n\t\t\t}"))),c}(n);return""!==o||""!==a?(0,P.createElement)(P.Fragment,null,t,(0,P.createElement)("style",{type:"text/css"},o," ",a)):(0,P.createElement)(P.Fragment,null,t)},Ut,Ut,Ut,Lt,Lt,function(e){var t,n,o,a,r,l=e.el,c=(t=e.attributes,n=t.clientId,o=t.buttonType,a=t.buttonColorCustom,r="",void 0!==a&&pe(a)&&("0"!==o&&null!==o||(r="\n\t\t\t.vk_button-".concat(n," .has-background {\n\t\t\t\tbackground-color: ").concat(a,";\n\t\t\t\tborder: 1px solid ").concat(a,";\n\t\t\t\tcolor: #fff;\n\t\t\t}\n\t\t\t")),"1"===o&&(r="\n\t\t\t.vk_button-".concat(n," .has-text-color {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(a,";\n\t\t\t\tcolor: ").concat(a,";\n\t\t\t}\n\t\t\t.vk_button-").concat(n," .has-text-color:hover {\n\t\t\t\tbackground-color: ").concat(a,";\n\t\t\t\tborder: 1px solid ").concat(a,";\n\t\t\t\tcolor: #fff;\n\t\t\t}\n\t\t\t")),"2"===o&&(r="\n\t\t\t.vk_button-".concat(n," .vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(a,";\n\t\t\t}\n\t\t\t"))),r);return""!==c?(0,P.createElement)(P.Fragment,null,l,(0,P.createElement)("style",{type:"text/css"},c)):(0,P.createElement)(P.Fragment,null,l)},function(e){return e.el}],Jt={from:[{type:"block",isMultiBlock:!1,blocks:["core/paragraph"],transform:function(e){var t=e.content,n=document.createElement("div");n.innerHTML=t;var o=n.innerText||"",a=n.querySelector("a"),r=null==a?void 0:a.getAttribute("href"),l=!(null==a||!a.getAttribute("target"));return(0,g.createBlock)(yt.name,{content:o,buttonUrl:r,buttonTarget:l})},isMatch:function(e){var t=document.createElement("div");t.innerHTML=e.content;var n=t.innerText||"",o=t.querySelectorAll("a");return n.length<=30&&o.length<=1}}]},Zt=Jt,Gt=window.wp.hooks,Xt=window.wp.compose,Yt=yt.name,$t={icon:(0,P.createElement)((function(e){return G.createElement("svg",bt({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),rt||(rt=G.createElement("path",{d:"M5 8h14c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-6.94l-1.43 1.5H19a2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v4.78h.27l.24-.69c.17-.47.54-.83.99-1V8.5c0-.28.22-.5.5-.5z",fill:"#000"})),lt||(lt=G.createElement("path",{d:"M8.5 12.5a1.6 1.6 0 0 0-.5-.68v-.32h8v1H8.5zm2.39 2.28H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),ct||(ct=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{attributes:{content:H,subCaption:F,buttonUrl:V,buttonTarget:!1,buttonSize:"md",buttonType:"0",buttonColor:"primary",buttonTextColorCustom:"undefined",buttonColorCustom:"undefined",buttonAlign:"left",buttonWidthMobile:0,buttonWidthTablet:0,outerGap:null,buttonWidth:0,fontAwesomeIconBefore:L,fontAwesomeIconAfter:L,iconSizeBefore:null,iconSizeAfter:null}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.content,r=t.subCaption,l=t.buttonUrl,c=t.buttonTarget,i=t.buttonSize,s=t.buttonType,u=t.buttonColor,m=t.buttonTextColorCustom,p=t.buttonColorCustom,v=t.buttonAlign,f=t.buttonWidthMobile,b=t.buttonWidthTablet,k=t.buttonWidth,_=t.outerGap,d=t.fontAwesomeIconBefore,h=t.fontAwesomeIconAfter,g=t.iconSizeBefore,y=t.iconSizeAfter,E=t.blockId,x=t.old_1_31_0,C=vkFontAwesome.iconFamily;(0,P.useEffect)((function(){void 0!==t.clientId&&n({clientId:void 0}),void 0!==E&&!1!==function(e){return!!(0,ze.select)("core/block-editor").getBlockParentsByBlockName(e,["core/block"]).length}(o)||n({blockId:o}),null!==l&&"null"!==l&&"undefined"!==l&&""!==l||n({buttonUrl:void 0}),void 0===p&&n({buttonTextColorCustom:void 0}),null!==p&&"null"!==p&&"undefined"!==p&&""!==p||n({buttonColorCustom:void 0}),null!==d&&"null"!==d&&"undefined"!==d&&""!==d||n({fontAwesomeIconBefore:void 0}),null!==h&&"null"!==h&&"undefined"!==h&&""!==h||n({fontAwesomeIconAfter:void 0}),null!==r&&"null"!==r&&"undefined"!==r&&""!==r||n({subCaption:void 0}),void 0===x&&(void 0===f&&n({buttonWidthMobile:k}),void 0===b&&n({buttonWidthTablet:k}),n({old_1_31_0:!0}))}),[o]);var N=(0,ze.dispatch)("core/block-editor").updateBlockAttributes;(0,P.useEffect)((function(){"custom"!==u?(N(o,{buttonTextColorCustom:void 0}),N(o,{buttonColorCustom:void 0})):void 0===p&&"custom"===u&&(N(o,{buttonColor:"primary"}),N(o,{buttonTextColorCustom:void 0}))}),[u]),(0,P.useEffect)((function(){void 0!==p?N(o,{buttonColor:"custom"}):"custom"===u&&N(o,{buttonColor:"primary"})}),[p]);var T,B=!!(0,ze.select)("core/block-editor").getBlockParentsByBlockName(o,["vk-blocks/button-outer"]).length;T=void 0!==p&&pe(p)||void 0!==m&&pe(m)||_?"vk_button vk_button-color-custom vk_button-".concat(E):"vk_button vk_button-color-custom",B?(f&&(T+=" vk_button-width-mobile-".concat(f)),b&&(T+=" vk_button-width-tablet-".concat(b)),k&&(T+=" vk_button-width-".concat(k))):(T+=" vk_button-align-".concat(v),n({buttonWidth:0}));var w=[{value:"px",label:"px",default:16},{value:"em",label:"em",default:1},{value:"rem",label:"rem",default:1}],S=(0,Q.useBlockProps)({className:T});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.BlockControls,null,(0,P.createElement)(ne.ToolbarGroup,null,(0,P.createElement)(ne.Dropdown,{renderToggle:function(e){var t=e.isOpen,o=e.onToggle;return(0,P.createElement)(ne.ToolbarButton,{"aria-expanded":t,icon:""!==l&&t?dt:ht,isActive:!(""===l||!t),label:""!==l&&t?(0,M.__)("Unlink"):(0,M.__)("Input Link URL","vk-blocks"),onClick:function(){t&&""!==l&&n({buttonUrl:""}),o()}})},renderContent:function(e){return(0,P.createElement)("div",{className:"block-editor-url-input__button block-editor-link-control"},(0,P.createElement)("form",{className:"block-editor-link-control__search-input-wrapper",onSubmit:function(){e.onClose()}},(0,P.createElement)("div",{className:"block-editor-link-control__search-input"},(0,P.createElement)(Q.URLInput,{value:l,onChange:function(e){n({buttonUrl:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:c,onChange:function(e){return n({buttonTarget:e})}}),(0,P.createElement)("div",{className:"block-editor-link-control__search-actions"},(0,P.createElement)(ne.Button,{icon:gt,label:(0,M.__)("Submit"),type:"submit"})))))}}))),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Button setting","vk-blocks")},(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Sub Caption","vk-blocks"),value:r,className:"mt-0 mb-3",onChange:function(e){return n({subCaption:e})},placeholder:"Sub Caption"}),(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Button Size:","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"lg"===i,isSecondary:"lg"!==i,onClick:function(){return n({buttonSize:"lg"})}},(0,M.__)("Large","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"md"===i,isSecondary:"md"!==i,onClick:function(){return n({buttonSize:"md"})}},(0,M.__)("Normal","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"sm"===i,isSecondary:"sm"!==i,onClick:function(){return n({buttonSize:"sm"})}},(0,M.__)("Small","vk-blocks"))),!B&&(0,P.createElement)(P.Fragment,null,(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Button Position:","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"left"===v,isSecondary:"left"!==v,onClick:function(){return n({buttonAlign:"left"})}},(0,M.__)("Left","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"center"===v,isSecondary:"center"!==v,onClick:function(){return n({buttonAlign:"center"})}},(0,M.__)("Center","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"right"===v,isSecondary:"right"!==v,onClick:function(){return n({buttonAlign:"right"})}},(0,M.__)("Right","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"wide"===v,isSecondary:"wide"!==v,onClick:function(){return n({buttonAlign:"wide"})}},(0,M.__)("Wide","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"block"===v,isSecondary:"block"!==v,onClick:function(){return n({buttonAlign:"block"})}},(0,M.__)("Block","vk-blocks")))),B&&(0,P.createElement)(P.Fragment,null,(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Button Width:","vk-blocks")),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Mobile","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:25===f,isSecondary:25!==f,onClick:function(){return n({buttonWidthMobile:25===f?0:25})}},(0,M.__)("25%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:50===f,isSecondary:50!==f,onClick:function(){return n({buttonWidthMobile:50===f?0:50})}},(0,M.__)("50%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:75===f,isSecondary:75!==f,onClick:function(){return n({buttonWidthMobile:75===f?0:75})}},(0,M.__)("75%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:100===f,isSecondary:100!==f,onClick:function(){return n({buttonWidthMobile:100===f?0:100})}},(0,M.__)("100%","vk-blocks"))),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Tablet","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:25===b,isSecondary:25!==b,onClick:function(){return n({buttonWidthTablet:25===b?0:25})}},(0,M.__)("25%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:50===b,isSecondary:50!==b,onClick:function(){return n({buttonWidthTablet:50===b?0:50})}},(0,M.__)("50%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:75===b,isSecondary:75!==b,onClick:function(){return n({buttonWidthTablet:75===b?0:75})}},(0,M.__)("75%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:100===b,isSecondary:100!==b,onClick:function(){return n({buttonWidthTablet:100===b?0:100})}},(0,M.__)("100%","vk-blocks"))),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("PC","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:25===k,isSecondary:25!==k,onClick:function(){return n({buttonWidth:25===k?0:25})}},(0,M.__)("25%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:50===k,isSecondary:50!==k,onClick:function(){return n({buttonWidth:50===k?0:50})}},(0,M.__)("50%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:75===k,isSecondary:75!==k,onClick:function(){return n({buttonWidth:75===k?0:75})}},(0,M.__)("75%","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:100===k,isSecondary:100!==k,onClick:function(){return n({buttonWidth:100===k?0:100})}},(0,M.__)("100%","vk-blocks")))),(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Button Style:","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-2"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"0"===s,isSecondary:"0"!==s,onClick:function(){return n({buttonType:"0"})}},(0,M.__)("Solid color","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"1"===s,isSecondary:"1"!==s,onClick:function(){n({buttonType:"1"}),n({buttonTextColorCustom:void 0})}},(0,M.__)("No background","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"2"===s,isSecondary:"2"!==s,onClick:function(){n({buttonType:"2"}),n({buttonTextColorCustom:void 0})}},(0,M.__)("Text only","vk-blocks"))),(0,P.createElement)("p",{className:"mb-3"},(0,M.__)('If you select "No background", that you need to select a Custom Color.',"vk-blocks")),(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Color","vk-blocks")),(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Default Color (Bootstrap)","vk-blocks"),value:u,options:[{label:(0,M.__)("Primary","vk-blocks"),value:"primary"},{label:(0,M.__)("Secondary","vk-blocks"),value:"secondary"},{label:(0,M.__)("Success","vk-blocks"),value:"success"},{label:(0,M.__)("Info","vk-blocks"),value:"info"},{label:(0,M.__)("Warning","vk-blocks"),value:"warning"},{label:(0,M.__)("Danger","vk-blocks"),value:"danger"},{label:(0,M.__)("Light","vk-blocks"),value:"light"},{label:(0,M.__)("Dark","vk-blocks"),value:"dark"},{label:(0,M.__)("Custom Color","vk-blocks"),value:"custom"}],onChange:function(e){return n({buttonColor:e})}}),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Custom Color","vk-blocks"),id:"vk_block_button_custom_color"},(0,P.createElement)(ne.BaseControl,{id:"vk_block_button_custom_background_color",label:"0"===s||null===s?(0,M.__)("Background Color","vk-blocks"):(0,M.__)("Button Color","vk-blocks"),help:(0,M.__)("This color palette overrides the default color. If you want to use the default color, click the clear button.","vk-blocks")},(0,P.createElement)(Pe,Ne({schema:"buttonColorCustom"},e))),("0"===s||null===s)&&void 0!==p&&(0,P.createElement)(ne.BaseControl,{id:"vk_block_button_custom_text_color",label:(0,M.__)("Text Color","vk-blocks")},(0,P.createElement)(Pe,Ne({schema:"buttonTextColorCustom"},e)))),(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Icon","vk-blocks")+" ( "+C+" )"),(0,P.createElement)(ne.BaseControl,{id:"vk_block_button_fa_before_text",label:(0,M.__)("Before text","vk-blocks")},(0,P.createElement)(Ke,Ne({attributeName:"fontAwesomeIconBefore"},e)),(0,P.createElement)(ne.__experimentalUnitControl,{label:(0,M.__)("Size","vk-blocks"),value:g,units:w,onChange:function(e){n({iconSizeBefore:parseFloat(e)?e:null})}})),(0,P.createElement)("hr",null),(0,P.createElement)(ne.BaseControl,{id:"vk_block_button_fa_after_text",label:(0,M.__)("After text","vk-blocks")},(0,P.createElement)(Ke,Ne({attributeName:"fontAwesomeIconAfter"},e)),(0,P.createElement)(ne.__experimentalUnitControl,{label:(0,M.__)("Size","vk-blocks"),value:y,units:w,onChange:function(e){n({iconSizeAfter:parseFloat(e)?e:null})}}))))),(0,P.createElement)("div",S,(0,P.createElement)(kt,{lbTextColorCustom:m,lbColorCustom:p,lbColor:u,lbType:s,lbAlign:v,lbSize:i,lbFontAwesomeIconBefore:d,lbFontAwesomeIconAfter:h,lbIconSizeBefore:g,lbIconSizeAfter:y,lbsubCaption:r,lbRichtext:(0,P.createElement)(Q.RichText,{tagName:"span",className:"vk_button_link_txt",onChange:function(e){return n({content:e})},value:a,placeholder:(0,M.__)("Input text","vk-blocks"),allowedFormats:["core/bold","core/italic","core/strikethrough","core/superscript","core/subscript","vk-blocks/responsive-br","vk-blocks/nowrap","vk-blocks/inline-font-size"],isSelected:!0})})))},save:function(e){var t=e.attributes,n=t.content,o=t.subCaption,a=t.buttonUrl,r=t.buttonTarget,l=t.buttonSize,c=t.buttonType,i=t.buttonColor,s=t.buttonTextColorCustom,u=t.buttonColorCustom,m=t.buttonAlign,p=t.buttonWidthMobile,v=t.buttonWidthTablet,f=t.buttonWidth,b=t.outerGap,k=t.fontAwesomeIconBefore,_=t.fontAwesomeIconAfter,d=t.iconSizeBefore,h=t.iconSizeAfter,g=t.blockId,y="";y=void 0!==u&&pe(u)||void 0!==s&&pe(s)||b?"vk_button vk_button-color-custom vk_button-".concat(g):"vk_button vk_button-color-custom",p||v||f?(p&&(y+=" vk_button-width-mobile-".concat(p)),v&&(y+=" vk_button-width-tablet-".concat(v)),f&&(y+=" vk_button-width-".concat(f))):y+=" vk_button-align-".concat(m);var E=Q.useBlockProps.save({className:y});return(0,P.createElement)("div",E,(0,P.createElement)(kt,{lbTextColorCustom:s,lbColorCustom:u,lbColor:i,lbType:c,lbAlign:m,lbSize:l,lbUrl:a,lbTarget:r,lbFontAwesomeIconBefore:k,lbFontAwesomeIconAfter:_,lbIconSizeBefore:d,lbIconSizeAfter:h,lbsubCaption:o,lbRichtext:(0,P.createElement)(Q.RichText.Content,{tagName:"span",className:"vk_button_link_txt",value:n})}))},deprecated:Ht,transforms:Zt},Kt=function(e){var t=e.buttonTextColorCustom,n=e.buttonColorCustom,o=e.buttonType,a=e.blockId,r="";return void 0!==n&&pe(n)&&("0"!==o&&null!==o||(r+=".vk_button-".concat(a," .has-background {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t}")),"1"===o&&(r+=".vk_button-".concat(a," .has-text-color.is-style-outline {\n\t\t\t\tbackground-color: transparent;\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}\n\t\t\t.vk_button-").concat(a," .has-text-color.is-style-outline:hover {\n\t\t\t\tbackground-color: ").concat(n,";\n\t\t\t\tborder: 1px solid ").concat(n,";\n\t\t\t\tcolor: #fff;\n\t\t\t}")),"2"===o&&(r=".vk_button-".concat(a," .has-text-color.vk_button_link-type-text {\n\t\t\t\tcolor: ").concat(n,";\n\t\t\t}"))),void 0!==t&&pe(t)&&("0"!==o&&null!==o||(r+=" .vk_button-".concat(a," .has-text-color {\n\t\t\t\tcolor: ").concat(t,";\n\t\t\t}"))),r},Qt=function(e,t){var n=e.buttonWidthMobile,o=e.buttonWidthTablet,a=e.buttonWidth,r=e.outerGap,l=e.blockId,c="",i=t?".vk_button":".vk_buttons .vk_buttons_col .block-editor-block-list__layout .vk_button";return r&&(n&&(c+="@media (max-width: 575.98px) {\n\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(n,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(n,"))) - 1px);\n\t\t\t\t}\n\t\t\t}")),o&&(c+="@media(min-width: 576px) and (max-width: 991.98px) {\n\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(o,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(o,"))) - 1px);\n\t\t\t\t}\n\t\t\t}")),a&&(c+="@media (min-width: 992px) {\n\t\t\t\t\t".concat(i,".vk_button-").concat(l," {\n\t\t\t\t\twidth: calc(").concat(a,"% - calc(").concat(r," - calc(").concat(r," / (100 / ").concat(a,"))) - 1px );\n\t\t\t\t}\n\t\t\t}"))),c},en=(0,Xt.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes;if("vk-blocks/button"===t.name){var o=Kt(n),a=Qt(n,!1);return""!==o||""!==a?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,t),(0,P.createElement)("style",{type:"text/css"},o," ",a)):(0,P.createElement)(e,t)}return(0,P.createElement)(e,t)}}),"VKButtonInlineEditorCss");function tn(){return tn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},tn.apply(this,arguments)}function nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function on(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/button",en),(0,Gt.addFilter)("blocks.getSaveElement","vk-blocks/button",(function(e,t,n){if("vk-blocks/button"===t.name){var o=Ht.findIndex((function(e){return e.save===t.save}));if(-1===o){var a=Kt(n),r=Qt(n,!0);return""!==a||""!==r?(0,P.createElement)(P.Fragment,null,e,(0,P.createElement)("style",{type:"text/css"},a," ",r)):e}var l=Wt[o];return(0,P.createElement)(l,{el:e,attributes:n})}return e}),11);var an,rn,ln,cn,sn={heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"}},un=[{attributes:sn,save:function(e){var t=e.attributes,n=e.className,o=t.heading,a=t.content;return(0,P.createElement)("dl",{className:"".concat(n," vk_faq")},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:o}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_faq_content",value:a}))}},{attributes:sn,save:function(e){var t=e.attributes,n=t.heading,o=t.content;return(0,P.createElement)("dl",{className:"vk_faq"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_faq_content",value:o}))}},{attributes:on({},sn),save:function(e){var t=e.attributes.heading;return(0,P.createElement)("dl",{className:"vk_faq"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:t}),(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks.Content,null)))}},{attributes:on({},sn),save:function(e){var t=e.attributes.heading;return(0,P.createElement)("dl",{className:"vk_faq [accordion_trigger_switch]"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:t}),(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks.Content,null)))}}],mn=un,pn=JSON.parse('{"apiVersion":2,"name":"vk-blocks/faq","title":"Classic FAQ","category":"vk-blocks-cat","description":"Displays a combination of questions and answers.","textdomain":"vk-blocks","attributes":{"heading":{"type":"string","source":"html","selector":"dt"}},"supports":{"anchor":true}}'),vn=pn.name,fn={icon:(0,P.createElement)((function(e){return G.createElement("svg",tn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Dt||(Dt=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Vt||(Vt=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),qt||(qt=G.createElement("path",{d:"M5.07 0C3.57 0 2.35.49 1.4 1.47A5.2 5.2 0 0 0 0 5.24c0 1.54.48 2.81 1.43 3.79a4.87 4.87 0 0 0 3.64 1.44c1 0 1.85-.2 2.36-.53l1.35 1.39 1.38-1.38-1.19-1.21c.73-.9 1.17-2.1 1.17-3.5A4.9 4.9 0 0 0 5.07 0zM3.08 5.24c0-1.63.73-2.75 1.97-2.75 1.12 0 2 .9 2 2.75 0 .51-.06.93-.19 1.33l-.84-.86-1.39 1.35.84.86c-.14.05-.26.06-.4.06-1.16 0-1.99-.95-1.99-2.74zM13.52 7c-.91 0-1.69.64-1.69 1.55 0 .45.14.86.62 1.45-.96.47-1.45 1.17-1.45 1.96 0 1.25.89 2.04 2.09 2.04.73 0 1.3-.28 1.81-.8l.53.67H17l-1.31-1.61c.32-.43.55-.98.62-1.67h-1.1c-.04.3-.13.59-.24.8l-.83-1.07c.75-.43 1.14-.99 1.14-1.7 0-1.07-.81-1.62-1.76-1.62zM13 8.5c0-.36.27-.6.57-.6.33 0 .6.3.6.65 0 .42-.2.68-.67.97-.41-.5-.5-.73-.5-1.02zm-.78 3.5c0-.48.33-.87.9-1.13l1.1 1.42c-.36.44-.7.6-1.08.6a.93.93 0 0 1-.92-.9zm5.34 2L14 24h2.98l.45-1.43h3.07l.41 1.43H24l-3.52-10h-2.92zm1.45 3.35h.03l.87 3.08h-1.83l.93-3.08z",fill:"#000"})))}),null),styles:[{name:"vk_faq-normal",label:(0,M.__)("Normal","vk-blocks"),isDefault:!0},{name:"vk_faq-bgfill-circle",label:(0,M.__)("Bgfill Circle","vk-blocks")},{name:"vk_faq-bgfill-square",label:(0,M.__)("Bgfill Square","vk-blocks")},{name:"vk_faq-bgfill-rounded",label:(0,M.__)("Bgfill Rounded","vk-blocks")},{name:"vk_faq-border-circle",label:(0,M.__)("Border Circle","vk-blocks")},{name:"vk_faq-border-square",label:(0,M.__)("Border Square","vk-blocks")},{name:"vk_faq-border-rounded",label:(0,M.__)("Border Rounded","vk-blocks")}],example:{attributes:{heading:F},innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]},save:function(e){var t=e.attributes.heading;return(0,P.createElement)("dl",Q.useBlockProps.save({className:"vk_faq [accordion_trigger_switch]"}),(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_faq_title",value:t}),(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks.Content,null)))},edit:function(e){var t,n=e.attributes,o=e.setAttributes;t=vk_blocks_check.is_pro?(0,M.__)("If you want to be collapsing this block, you can set it at Setting > VK Blocks","vk-blocks"):(0,M.__)("You can be collapsing this block at VK Blocks Pro","vk-blocks");var a=n.heading,r=[["core/paragraph",{content:n.content}]],l=(0,Q.useBlockProps)({className:"vk_faq [accordion_trigger_switch]"});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Accordion Setting","vk-blocks")},(0,P.createElement)(ne.PanelRow,null,t))),(0,P.createElement)("dl",l,(0,P.createElement)(Q.RichText,{tagName:"dt",className:"vk_faq_title",onChange:function(e){return o({heading:e})},value:a,placeholder:(0,M.__)("Please enter a question.","vk-blocks")}),(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks,{template:r}))))},deprecated:mn};function bn(){return bn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},bn.apply(this,arguments)}var kn,dn,hn,gn={heading:{type:"string",source:"html",selector:"dt"},content:{type:"string"}},yn=[{attributes:gn,save:function(){return(0,P.createElement)("dl",Q.useBlockProps.save({className:"vk_faq [accordion_trigger_switch]"}),(0,P.createElement)(Q.InnerBlocks.Content,null))}},{attributes:gn,save:function(){return(0,P.createElement)("dl",{className:"vk_faq"},(0,P.createElement)(Q.InnerBlocks.Content,null))}}],En=JSON.parse('{"apiVersion":2,"name":"vk-blocks/faq2","category":"vk-blocks-cat","title":"New FAQ","description":"It displays a combination of questions and answers. You can freely add blocks to the question area as well.","textdomain":"vk-blocks","supports":{"anchor":true,"className":true}}'),xn=En.name,Cn={icon:(0,P.createElement)((function(e){return G.createElement("svg",bn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),an||(an=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),rn||(rn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),ln||(ln=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24 0h-8v8h8V0zm-4.75 1v2.25H17v1.5h2.25V7h1.5V4.75H23v-1.5h-2.25V1h-1.5z",fill:"#000"})),cn||(cn=G.createElement("path",{d:"M5.07 0C3.57 0 2.35.49 1.4 1.47A5.2 5.2 0 0 0 0 5.24c0 1.54.48 2.81 1.43 3.79a4.87 4.87 0 0 0 3.64 1.44c1 0 1.85-.2 2.36-.53l1.35 1.39 1.38-1.38-1.19-1.21c.73-.9 1.17-2.1 1.17-3.5A4.9 4.9 0 0 0 5.07 0zM3.08 5.24c0-1.63.73-2.75 1.97-2.75 1.12 0 2 .9 2 2.75 0 .51-.06.93-.19 1.33l-.84-.86-1.39 1.35.84.86c-.14.05-.26.06-.4.06-1.16 0-1.99-.95-1.99-2.74zM13.52 7c-.91 0-1.69.64-1.69 1.55 0 .45.14.86.62 1.45-.96.47-1.45 1.17-1.45 1.96 0 1.25.89 2.04 2.09 2.04.73 0 1.3-.28 1.81-.8l.53.67H17l-1.31-1.61c.32-.43.55-.98.62-1.67h-1.1c-.04.3-.13.59-.24.8l-.83-1.07c.75-.43 1.14-.99 1.14-1.7 0-1.07-.81-1.62-1.76-1.62zM13 8.5c0-.36.27-.6.57-.6.33 0 .6.3.6.65 0 .42-.2.68-.67.97-.41-.5-.5-.73-.5-1.02zm-.78 3.5c0-.48.33-.87.9-1.13l1.1 1.42c-.36.44-.7.6-1.08.6a.93.93 0 0 1-.92-.9zm5.34 2L14 24h2.98l.45-1.43h3.07l.41 1.43H24l-3.52-10h-2.92zm1.45 3.35h.03l.87 3.08h-1.83l.93-3.08z",fill:"#000"})))}),null),styles:[{name:"vk_faq-normal",label:(0,M.__)("Normal","vk-blocks"),isDefault:!0},{name:"vk_faq-bgfill-circle",label:(0,M.__)("Bgfill Circle","vk-blocks")},{name:"vk_faq-bgfill-square",label:(0,M.__)("Bgfill Square","vk-blocks")},{name:"vk_faq-bgfill-rounded",label:(0,M.__)("Bgfill Rounded","vk-blocks")},{name:"vk_faq-border-circle",label:(0,M.__)("Border Circle","vk-blocks")},{name:"vk_faq-border-square",label:(0,M.__)("Border Square","vk-blocks")},{name:"vk_faq-border-rounded",label:(0,M.__)("Border Rounded","vk-blocks")}],example:{innerBlocks:[{name:"vk-blocks/faq2-q",innerBlocks:[{name:"core/paragraph",attributes:{content:F}}]},{name:"vk-blocks/faq2-a",innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]}]},edit:function(){var e,t=(0,Q.useBlockProps)({className:"vk_faq"});return e=vk_blocks_check.is_pro?(0,M.__)("If you want to be collapsing this block, you can set it at Setting > VK Blocks","vk-blocks"):(0,M.__)("You can be collapsing this block at VK Blocks Pro","vk-blocks"),(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Accordion Setting","vk-blocks")},(0,P.createElement)(ne.PanelRow,null,e))),(0,P.createElement)("div",t,(0,P.createElement)("div",{className:"vk_faq-header"}),(0,P.createElement)("dl",{className:"vk_faq-body"},(0,P.createElement)(Q.InnerBlocks,{allowedBlocks:["vk-blocks/faq2-q","vk-blocks/faq2-a"],template:[["vk-blocks/faq2-q"],["vk-blocks/faq2-a"]],templateLock:"all"})),(0,P.createElement)("div",{className:"vk_faq-footer"})))},save:function(){var e=Q.useBlockProps.save({className:"vk_faq [accordion_trigger_switch]"});return(0,P.createElement)("div",e,(0,P.createElement)("div",{className:"vk_faq-header"}),(0,P.createElement)("dl",{className:"vk_faq-body"},(0,P.createElement)(Q.InnerBlocks.Content,null)),(0,P.createElement)("div",{className:"vk_faq-footer"}))},deprecated:yn};function Nn(){return Nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nn.apply(this,arguments)}var Tn,Bn,wn,Sn=JSON.parse('{"apiVersion":2,"name":"vk-blocks/faq2-a","category":"vk-blocks-cat","title":"FAQ Answer","parent":["vk-blocks/faq2"],"description":"Answer area where you can add blocks freely.","textdomain":"vk-blocks","supports":{"anchor":true,"reusable":false}}'),In=[{attributes:{},save:function(){return(0,P.createElement)("dd",{className:"vk_faq_content"},(0,P.createElement)(Q.InnerBlocks.Content,null))}}],Rn=Sn.name,An={icon:(0,P.createElement)((function(e){return G.createElement("svg",Nn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),kn||(kn=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),dn||(dn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),hn||(hn=G.createElement("path",{d:"M14.99 0 10 14h4.17l.63-2h4.3l.57 2H24L19.07 0h-4.08zm2.03 4.69h.04L18.27 9h-2.56l1.3-4.31z",fill:"#000"})))}),null),example:{innerBlocks:[{name:"core/paragraph",attributes:{content:j}}]},edit:function(){var e=(0,Q.useBlockProps)({className:"vk_faq_content"});return(0,P.createElement)("dd",e,(0,P.createElement)(Q.InnerBlocks,{templateLock:!1,template:[["core/paragraph"]]}))},save:function(){return(0,P.createElement)("dd",Q.useBlockProps.save({className:"vk_faq_content"}),(0,P.createElement)(Q.InnerBlocks.Content,null))},deprecated:In};function On(){return On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},On.apply(this,arguments)}var zn,Pn,Mn,Fn,jn,Hn=JSON.parse('{"apiVersion":2,"name":"vk-blocks/faq2-q","title":"FAQ Question","category":"vk-blocks-cat","parent":["vk-blocks/faq2"],"description":"Question area where you can freely add blocks.","textdomain":"vk-blocks","supports":{"anchor":true,"className":true,"reusable":false}}'),Ln=[{attributes:{},save:function(){return(0,P.createElement)("dt",{className:"vk_faq_title"},(0,P.createElement)(Q.InnerBlocks.Content,null))}}],Un=Hn.name,Dn={icon:(0,P.createElement)((function(e){return G.createElement("svg",On({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Tn||(Tn=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Bn||(Bn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),wn||(wn=G.createElement("path",{d:"M16.98 0c-2.06 0-3.74.7-5.03 2.08A7.44 7.44 0 0 0 10 7.4a7.5 7.5 0 0 0 1.97 5.36 6.62 6.62 0 0 0 5.01 2.03c1.37 0 2.55-.3 3.26-.75L22.09 16 24 14.06l-1.64-1.72c1-1.26 1.6-2.97 1.6-4.94 0-2.18-.65-3.98-1.95-5.34A6.67 6.67 0 0 0 16.98 0zm-2.74 7.4c0-2.3 1-3.88 2.72-3.88 1.54 0 2.76 1.27 2.76 3.88 0 .73-.1 1.32-.27 1.88l-1.16-1.21-1.9 1.9 1.15 1.22c-.2.06-.37.08-.56.08-1.6 0-2.74-1.34-2.74-3.87z",fill:"#000"})))}),null),example:{innerBlocks:[{name:"core/paragraph",attributes:{content:F}}]},edit:function(){var e=(0,Q.useBlockProps)({className:"vk_faq_title"});return(0,P.createElement)("dt",e,(0,P.createElement)(Q.InnerBlocks,{templateLock:!1,template:[["core/paragraph"]]}))},save:function(){return(0,P.createElement)("dt",Q.useBlockProps.save({className:"vk_faq_title"}),(0,P.createElement)(Q.InnerBlocks.Content,null))},deprecated:Ln},Vn={heading:{type:"string",source:"html",selector:"dt"},content:{type:"string",source:"html",selector:"dd"},arrowFlag:{type:"string",default:"vk_flow-arrow-on"},insertImage:{type:"string",default:null}},qn=[{attributes:Vn,save:function(e){var t=e.attributes,n=t.heading,o=t.content,a=t.insertImage,r=t.arrowFlag;return(0,P.createElement)("div",Q.useBlockProps.save({className:"".concat(r," vk_flow")}),(0,P.createElement)("div",{className:"vk_flow_frame"},(0,P.createElement)("dl",{className:"vk_flow_frame_text"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),a&&(0,P.createElement)("div",{className:"vk_flow_frame_image"},(0,P.createElement)("img",{src:a,alt:""}))))}},{attributes:Vn,save:function(e){var t=e.attributes,n=t.heading,o=t.content,a=t.insertImage,r=t.arrowFlag;return(0,P.createElement)("div",{className:"".concat(r," vk_flow")},(0,P.createElement)("div",{className:"vk_flow_frame"},(0,P.createElement)("dl",{className:"vk_flow_frame_text"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),a?(0,P.createElement)("div",{className:"vk_flow_frame_image"},(0,P.createElement)("img",{src:a,alt:""})):""))}}],Wn=qn;function Jn(){return Jn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Jn.apply(this,arguments)}var Zn,Gn,Xn,Yn=JSON.parse('{"apiVersion":2,"name":"vk-blocks/flow","category":"vk-blocks-cat","title":"Flow","attributes":{"heading":{"type":"string","source":"html","selector":"dt"},"content":{"type":"string","source":"html","selector":"dd"},"arrowFlag":{"type":"string","default":"vk_flow-arrow-on"},"insertImage":{"type":"string","default":null},"insertImageAlt":{"type":"string","default":null}},"description":"Displays a sequential description in time series.","textdomain":"vk-blocks","supports":{"className":true}}'),$n=Yn.name,Kn={icon:(0,P.createElement)((function(e){return G.createElement("svg",Jn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),zn||(zn=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Pn||(Pn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),Mn||(Mn=G.createElement("path",{d:"M12.5 14 9 10h7l-3.5 4z",fill:"#000"})),Fn||(Fn=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M23 1H1v6h22V1zM0 0v8h24V0H0z",fill:"#000"})),jn||(jn=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 4.5H4v-1h16v1z",fill:"#000"})))}),null),example:{attributes:{heading:F,content:j,arrowFlag:"vk_flow-arrow-on",insertImage:U}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.heading,r=t.content,l=t.insertImage,c=t.arrowFlag,i=t.insertImageAlt,s=(0,Q.useBlockProps)({className:"".concat(c," vk_flow")});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Display of arrow","vk-blocks")},(0,P.createElement)(ne.RadioControl,{selected:c,options:[{label:(0,M.__)("Arrow display","vk-blocks"),value:"vk_flow-arrow-on"},{label:(0,M.__)("Arrow hidden","vk-blocks"),value:"vk_flow-arrow-off"}],onChange:function(e){return n({arrowFlag:e})}}))),(0,P.createElement)("div",s,(0,P.createElement)("div",{className:"vk_flow_frame"},(0,P.createElement)("dl",{className:"vk_flow_frame_text"},(0,P.createElement)(Q.RichText,{key:"".concat(o,"2"),tagName:"dt",className:"vk_flow_frame_text_title",onChange:function(e){return n({heading:e})},value:a,placeholder:(0,M.__)("Input title","vk-blocks")}),(0,P.createElement)(Q.RichText,{key:"".concat(o,"3"),tagName:"dd",className:"vk_flow_frame_text_content",onChange:function(e){return n({content:e})},value:r,placeholder:(0,M.__)("Input content","vk-blocks")})),(0,P.createElement)("div",{className:"vk_flow_frame_image"},(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){n({insertImage:e.url}),n({insertImageAlt:e.alt})},type:"image",className:"vk_flow_frame_image",value:l,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:l?"image-button":"button button-large"},l?(0,P.createElement)("img",{className:"icon-image",src:l,alt:i}):(0,M.__)("Select image","vk-blocks"))}})))))},save:function(e){var t=e.attributes,n=t.heading,o=t.content,a=t.insertImage,r=t.insertImageAlt,l=t.arrowFlag;return(0,P.createElement)("div",Q.useBlockProps.save({className:"".concat(l," vk_flow")}),(0,P.createElement)("div",{className:"vk_flow_frame"},(0,P.createElement)("dl",{className:"vk_flow_frame_text"},(0,P.createElement)(Q.RichText.Content,{tagName:"dt",className:"vk_flow_frame_text_title",value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"dd",className:"vk_flow_frame_text_content",value:o})),a&&(0,P.createElement)("div",{className:"vk_flow_frame_image"},(0,P.createElement)("img",{src:a,alt:r}))))},deprecated:Wn};function Qn(){return Qn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Qn.apply(this,arguments)}var eo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,k=this.props.for_,_="vk_heading vk_heading-style-".concat(p),d="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},"edit"===k?(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):"save"===k?(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):void 0}}]),a}(P.Component);var to=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,k=this.props.className,_=De()(k,"vk_heading vk_heading-style-".concat(p)),d="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}())}}]),a}(P.Component);var no=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,k=this.props.for_,_="vk_heading vk_heading-style-".concat(p),d="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},"edit"===k?(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):"save"===k?(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):void 0}}]),a}(P.Component);var oo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,k=this.props.for_,_="vk_heading vk_heading-style-".concat(p),d="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},"edit"===k?(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):"save"===k?(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):void 0}}]),a}(P.Component);var ao,ro=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.level,a=n.align,r=n.title,l=n.titleColor,c=n.titleSize,i=n.subText,s=n.subTextFlag,u=n.subTextColor,m=n.subTextSize,p=n.titleStyle,v=n.titleMarginBottom,f=n.outerMarginBottom,b=this.props.setAttributes,k=this.props.for_,_="vk_heading vk_heading-style-".concat(p),d="h"+o;return null!==f&&(e={marginBottom:f+"rem"}),t=null!==v?{color:l,fontSize:c+"rem",marginBottom:v+"rem",textAlign:a}:{color:l,fontSize:c+"rem",textAlign:a},"edit"===k?(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):"save"===k?(0,P.createElement)("div",{className:_,style:e},(0,P.createElement)(Q.RichText.Content,{tagName:d,value:r,onChange:function(e){return b({title:e})},style:t,className:"vk_heading_title vk_heading_title-style-".concat(p),placeholder:(0,M.__)("Input title…","vk-blocks")}),function(){if("on"===s)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:i,onChange:function(e){return b({subText:e})},style:{color:u,fontSize:m+"rem",textAlign:a},className:"vk_heading_subtext vk_heading_subtext-style-".concat(p),placeholder:(0,M.__)("Input sub text…","vk-blocks")})}()):void 0}}]),a}(P.Component),lo=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},co=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,k=o.titleMarginBottom,_=o.outerMarginBottom,d=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);_&&(t={marginBottom:_+"rem"}),n=k?{color:s,fontSize:u+"rem",marginBottom:k+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(d){g=g||"#000000";var B=d.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},lo(l,I,n,E),S)}if("save"===r){var R;R=0<(i.match(/span/g)||[]).length?et(i):(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i});var A,O=(0,P.createElement)(P.Fragment,null,et(N),R,et(T));return"on"===p&&(A=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},lo(l,O,n,E),A)}},io=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},so=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,k=o.titleMarginBottom,_=o.outerMarginBottom,d=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);_&&(t={marginBottom:_+"rem"}),n=k?{color:s,fontSize:u+"rem",marginBottom:k+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(d){g=g||"#000000";var B=d.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},io(l,I,n,E),S)}if("save"===r){var R,A=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i}),et(T));return"on"===p&&(R=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},io(l,A,n,E),R)}},uo=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},mo=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,k=o.titleMarginBottom,_=o.outerMarginBottom,d=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);_&&(t={marginBottom:_+"rem"}),n=null!=k?{color:s,fontSize:u+"rem",marginBottom:k+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(d){g=g||"#000000";var B=d.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},uo(l,I,n,E),S)}if("save"===r){var R,A=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i}),et(T));return"on"===p&&(R=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},uo(l,A,n,E),R)}},po=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},vo=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,k=o.titleMarginBottom,_=o.outerMarginBottom,d=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);_&&(t={marginBottom:_+"rem"}),n=k?{color:s,fontSize:u+"rem",marginBottom:k+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(d){g=g||"#000000";var B=d.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},po(l,I,n,E),S)}if("save"===r){var R,A=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i}),et(T));return"on"===p&&(R=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},po(l,A,n,E),R)}},fo=function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}},bo=function(e){var t,n,o=e.attributes,a=e.setAttributes,r=e.for_,l=o.level,c=o.align,i=o.title,s=o.titleColor,u=o.titleSize,m=o.subText,p=o.subTextFlag,v=o.subTextColor,f=o.subTextSize,b=o.titleStyle,k=o.titleMarginBottom,_=o.outerMarginBottom,d=o.fontAwesomeIconBefore,h=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y="vk_heading vk_heading-style-".concat(b);_&&(t={marginBottom:_+"rem"}),n=null!=k?{color:s,fontSize:u+"rem",marginBottom:k+"rem",textAlign:c}:{color:s,fontSize:u+"rem",textAlign:c};var E="vk_heading_title vk_heading_title-style-".concat(b),x={color:v,fontSize:f+"rem",textAlign:c},C="vk_heading_subtext vk_heading_subtext-style-".concat(b),N="",T="";if(d){g=g||"#000000";var B=d.split("<i");B[0]=B[0]+'<i style="color:'.concat(g,';" '),N=B.join("")}if(h){g=g||"#000000";var w=h.split("<i");w[0]=w[0]+'<i style="color:'.concat(g,';" '),T=w.join("")}if("edit"===r){var S,I=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText,{tagName:"span",value:i,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(T));return"on"===p&&(S=(0,P.createElement)(Q.RichText,{tagName:"p",value:m,onChange:function(e){return a({subText:e})},style:x,className:C,placeholder:(0,M.__)("Input sub text…","vk-blocks")})),(0,P.createElement)("div",{className:y,style:t},fo(l,I,n,E),S)}if("save"===r){var R,A=(0,P.createElement)(P.Fragment,null,et(N),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:i}),et(T));return"on"===p&&(R=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:m,style:x,className:C})),(0,P.createElement)("div",{className:y,style:t},fo(l,A,n,E),R)}};function ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ko(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ko(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ho={level:{type:"number",default:2},align:{type:"string"},titleStyle:{type:"string",default:"default"},outerMarginBottom:{type:"number"},title:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6",default:""},titleColor:{type:"string",default:"#000000"},titleSize:{type:"number",default:2},titleMarginBottom:{type:"number",default:1},subText:{source:"html",selector:"p",default:""},subTextFlag:{type:"string",default:"on"},subTextColor:{type:"string",default:"#000000"},subTextSize:{type:"number",default:1.2}},go=_o(_o({},ho),{},{anchor:{type:"string",source:"attribute",attribute:"id",selector:"*"}}),yo=_o(_o({},go),{},{title:{type:"string",source:"html",selector:"span",default:""},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""},fontAwesomeIconColor:{type:"string",default:"#000000"}}),Eo=_o(_o({},yo),{},{subTextFlag:{type:"string",default:"off"}}),xo=_o(_o({},Eo),{},{outerMarginBottom:{type:"number",default:0},titleMarginBottom:{type:"number",default:1},titleColor:{type:"string",default:"#000000"},subTextColor:{type:"string",default:"#000000"}}),Co=_o(_o({},xo),{},{outerMarginBottom:{type:"number",default:null},titleMarginBottom:{type:"number",default:null},titleColor:{type:"string",default:null},subTextColor:{type:"string",default:null},fontAwesomeIconColor:{type:"string",default:"#000000"}}),No=_o(_o({},Co),{},(h(ao={titleSize:{type:"number",default:2},subTextSize:{type:"number",default:1.2},subTextColor:{type:"string"}},"subTextSize",{type:"number"}),h(ao,"fontAwesomeIconColor",{type:"string"}),ao)),To=_o(_o({},No),{},{titleColor:{type:"string"},titleSize:{type:"number"}}),Bo=[{attributes:To,save:function(e){var t,n,o=e.attributes,a=o.level,r=o.align,l=o.title,c=o.titleColor,i=o.titleSize,s=o.subText,u=o.subTextFlag,m=o.subTextColor,p=o.subTextSize,v=o.titleStyle,f=o.titleMarginBottom,b=o.outerMarginBottom,k=o.fontAwesomeIconBefore,_=o.fontAwesomeIconAfter,d=o.fontAwesomeIconColor,g="vk_heading vk_heading-style-".concat(v),y={marginBottom:null!=b?b+"rem":void 0},E="";void 0!==c&&(E+="has-text-color",pe(c)||(E+=" has-".concat(c,"-color")));var x=De()("vk_heading_title",(h(t={},"vk_heading_title-style-".concat(v),!!v),h(t,"".concat(E),!!E),t)),C={color:null!=c&&pe(c)?c:void 0,fontSize:null!=i?i+"rem":void 0,marginBottom:null!=f?f+"rem":void 0,textAlign:null!=r?r:void 0},N="";void 0!==m&&(N+="has-text-color",pe(m)||(N+=" has-".concat(m,"-color")));var T=De()("vk_heading_subtext",(h(n={},"vk_heading_subtext-style-".concat(v),!!v),h(n,"".concat(N),!!N),n)),B={color:null!=m&&pe(m)?m:void 0,fontSize:null!=p?p+"rem":void 0,textAlign:null!=r?r:void 0},w="";void 0!==d&&(w+="has-text-color",pe(d)||(w+=" has-".concat(d,"-color")));var S=d&&pe(d)?'style="color:'.concat(d,';"'):"",I=k,R=_;if(I&&w){var A=I.split('<i class="');A[0]=A[0]+'<i class="'.concat(w," "),I=A.join("")}if(R&&w){var O=R.split('<i class="');O[0]=O[0]+'<i class="'.concat(w," "),R=O.join("")}if(I&&S){var z=I.split("<i");z[0]=z[0]+"<i ".concat(S," "),I=z.join("")}if(R&&S){var M=R.split("<i");M[0]=M[0]+"<i ".concat(S," "),R=M.join("")}var F,j=(0,P.createElement)(P.Fragment,null,et(I),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:l}),et(R));"on"===u&&(F=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:s,style:B,className:T}));var H=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",H,(0,P.createElement)("div",{className:g,style:y},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(a,j,C,x),F))}},{attributes:To,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f=t.fontAwesomeIconBefore,b=t.fontAwesomeIconAfter,k=t.fontAwesomeIconColor,_="vk_heading vk_heading-style-".concat(m),d={marginBottom:null!=v?v+"rem":void 0},h={color:null!=r?r:void 0,fontSize:null!=l?l+"rem":void 0,marginBottom:null!=p?p+"rem":void 0,textAlign:null!=o?o:void 0},g="vk_heading_title vk_heading_title-style-".concat(m),y={color:null!=s?s:void 0,fontSize:null!=u?u+"rem":void 0,textAlign:null!=o?o:void 0},E="vk_heading_subtext vk_heading_subtext-style-".concat(m),x="",C="",N=k?'style="color:'.concat(k,';"'):"";if(f){var T=f.split("<i");T[0]=T[0]+"<i ".concat(N," "),x=T.join("")}if(b){var B=b.split("<i");B[0]=B[0]+"<i ".concat(N," "),C=B.join("")}var w,S=(0,P.createElement)(P.Fragment,null,et(x),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:a}),et(C));"on"===i&&(w=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:y,className:E}));var I=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",I,(0,P.createElement)("div",{className:_,style:d},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(n,S,h,g),w))}},{attributes:No,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f=t.fontAwesomeIconBefore,b=t.fontAwesomeIconAfter,k=t.fontAwesomeIconColor,_="vk_heading vk_heading-style-".concat(m),d={marginBottom:null!=v?v+"rem":void 0},h={color:null!=r?r:void 0,fontSize:null!=l?l+"rem":void 0,marginBottom:null!=p?p+"rem":void 0,textAlign:null!=o?o:void 0},g="vk_heading_title vk_heading_title-style-".concat(m),y={color:null!=s?s:void 0,fontSize:null!=u?u+"rem":void 0,textAlign:null!=o?o:void 0},E="vk_heading_subtext vk_heading_subtext-style-".concat(m),x="",C="",N=k?'style="color:'.concat(k,';"'):"";if(f){var T=f.split("<i");T[0]=T[0]+"<i ".concat(N," "),x=T.join("")}if(b){var B=b.split("<i");B[0]=B[0]+"<i ".concat(N," "),C=B.join("")}var w,S=(0,P.createElement)(P.Fragment,null,et(x),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:a}),et(C));"on"===i&&(w=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:y,className:E}));var I=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",I,(0,P.createElement)("div",{className:_,style:d},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(n,S,h,g),w))}},{attributes:Co,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f=t.fontAwesomeIconBefore,b=t.fontAwesomeIconAfter,k=t.fontAwesomeIconColor,_="vk_heading vk_heading-style-".concat(m),d={marginBottom:null!=v?v+"rem":void 0},h={color:null!=r?r:void 0,fontSize:null!=l?l+"rem":void 0,marginBottom:null!=p?p+"rem":void 0,textAlign:null!=o?o:void 0},g="vk_heading_title vk_heading_title-style-".concat(m),y={color:null!=s?s:void 0,fontSize:null!=u?u+"rem":void 0,textAlign:null!=o?o:void 0},E="vk_heading_subtext vk_heading_subtext-style-".concat(m),x="",C="";if(f){k=k||"#000000";var N=f.split("<i");N[0]=N[0]+'<i style="color:'.concat(k,';" '),x=N.join("")}if(b){k=k||"#000000";var T=b.split("<i");T[0]=T[0]+'<i style="color:'.concat(k,';" '),C=T.join("")}var B,w=(0,P.createElement)(P.Fragment,null,et(x),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:a}),et(C));"on"===i&&(B=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:y,className:E}));var S=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",S,(0,P.createElement)("div",{className:_,style:d},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(n,w,h,g),B))}},{attributes:xo,save:function(e){var t,n,o=e.attributes,a=o.level,r=o.align,l=o.title,c=o.titleColor,i=o.titleSize,s=o.subText,u=o.subTextFlag,m=o.subTextColor,p=o.subTextSize,v=o.titleStyle,f=o.titleMarginBottom,b=o.outerMarginBottom,k=o.fontAwesomeIconBefore,_=o.fontAwesomeIconAfter,d=o.fontAwesomeIconColor,h="vk_heading vk_heading-style-".concat(v);b&&(t={marginBottom:b+"rem"}),n=null!=f?{color:c,fontSize:i+"rem",marginBottom:f+"rem",textAlign:r}:{color:c,fontSize:i+"rem",textAlign:r};var g="vk_heading_title vk_heading_title-style-".concat(v),y={color:m,fontSize:p+"rem",textAlign:r},E="vk_heading_subtext vk_heading_subtext-style-".concat(v),x="",C="";if(k){d=d||"#000000";var N=k.split("<i");N[0]=N[0]+'<i style="color:'.concat(d,';" '),x=N.join("")}if(_){d=d||"#000000";var T=_.split("<i");T[0]=T[0]+'<i style="color:'.concat(d,';" '),C=T.join("")}var B,w=(0,P.createElement)(P.Fragment,null,et(x),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:l}),et(C));"on"===u&&(B=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:s,style:y,className:E}));var S=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",S,(0,P.createElement)("div",{className:h,style:t},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(a,w,n,g),B))}},{attributes:Eo,save:function(e){return(0,P.createElement)("div",null,(0,P.createElement)(bo,Ne({},e,{for_:"save"})))}},{attributes:Eo,save:function(e){return(0,P.createElement)("div",null,(0,P.createElement)(vo,Ne({},e,{for_:"save"})))}},{attributes:yo,save:function(e){var t=e.attributes;return(0,P.createElement)("div",{id:t.anchor},(0,P.createElement)(mo,Ne({},e,{for_:"save"})))}},{attributes:yo,save:function(e){var t=e.attributes;return(0,P.createElement)("div",{id:t.anchor},(0,P.createElement)(so,{attributes:t,for_:"save"}))}},{attributes:yo,save:function(e){return(0,P.createElement)("div",{id:e.attributes.anchor},(0,P.createElement)(co,Ne({},e,{for_:"save"})))}},{attributes:go,save:function(e){var t=e.attributes;return(0,P.createElement)("div",{id:t.anchor},(0,P.createElement)(ro,{attributes:t,for_:"save"}))}},{attributes:go,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)("div",{className:n,id:"vk-htags-a181b726-7749-4bd8-9887-0306c0bc7bd5"},(0,P.createElement)(oo,{attributes:t,for_:"save"}))}},{attributes:go,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)("div",{className:n,id:"vk-htags--1"},(0,P.createElement)(no,{attributes:t,for_:"save"}))}},{attributes:go,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(to,{attributes:t,className:n,for_:"save"})}},{attributes:go,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f="h"+n;return(0,P.createElement)("div",{className:"vk_heading vk_heading-style-".concat(m),style:{marginBottom:v+"rem"}},(0,P.createElement)(Q.RichText.Content,{tagName:f,value:a,style:{color:r,fontSize:l+"rem",textAlign:o,marginBottom:p+"rem"},className:"vk_heading_title vk_heading_title-style-".concat(m)}),function(){if("on"===i)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(m)})}())}},{attributes:go,save:function(e){var t=e.attributes,n=t.level,o=t.align,a=t.title,r=t.titleColor,l=t.titleSize,c=t.subText,i=t.subTextFlag,s=t.subTextColor,u=t.subTextSize,m=t.titleStyle,p=t.titleMarginBottom,v=t.outerMarginBottom,f="h"+n;return(0,P.createElement)(P.Fragment,null,null===v?(0,P.createElement)("div",{className:"vk_heading vk_heading-style-".concat(m)},(0,P.createElement)(Q.RichText.Content,{tagName:f,value:a,style:{color:r,fontSize:l+"rem",textAlign:o},className:"vk_heading_title vk_heading_title-style-".concat(m)}),function(){if("on"===i)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(m)})}()):(0,P.createElement)("div",{className:"vk_heading vk_heading-style-".concat(m),style:{marginBottom:v+"rem"}},(0,P.createElement)(Q.RichText.Content,{tagName:f,value:a,style:{color:r,fontSize:l+"rem",textAlign:o,marginBottom:p+"rem"},className:"vk_heading_title vk_heading_title-style-".concat(m)}),function(){if("on"===i)return(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:c,style:{color:s,fontSize:u+"rem",textAlign:o},className:"vk_heading_subtext vk_heading_subtext-style-".concat(m)})}()))}},{attributes:ho,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)("div",{className:n},(0,P.createElement)(eo,{attributes:t,for_:"save"}))}}],wo=Bo;function So(e){var t=e.level,n=e.isPressed,o=void 0!==n&&n,a={1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z"};return a.hasOwnProperty(t)?(0,P.createElement)(ne.SVG,{width:"24",height:"24",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",isPressed:o},(0,P.createElement)(ne.Path,{d:a[t]})):null}var Io=[1,2,3,4,5,6],Ro={className:"block-library-heading-level-dropdown vk-blocks-heading-level-dropdown"};function Ao(e){var t=e.selectedLevel,n=e.onChange;return(0,P.createElement)(ne.ToolbarDropdownMenu,{popoverProps:Ro,icon:(0,P.createElement)(So,{level:t}),label:(0,M.__)("Change heading level"),controls:Io.map((function(e){var o=e===t;return{icon:(0,P.createElement)(So,{level:e,isPressed:o}),label:(0,M.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
2 |
+
(0,M.__)("Heading %d"),e),isActive:o,onClick:function(){n(e)}}}))})}var Oo,zo,Po,Mo=JSON.parse('{"apiVersion":2,"name":"vk-blocks/heading","category":"vk-blocks-cat","title":"Heading","attributes":{"anchor":{"type":"string","source":"attribute","attribute":"id","selector":"*"},"level":{"type":"number","default":2},"align":{"type":"string"},"titleStyle":{"type":"string","default":"default"},"outerMarginBottom":{"type":"number","default":null},"title":{"type":"string","source":"html","selector":"span","default":""},"titleColor":{"type":"string"},"titleSize":{"type":"number"},"titleMarginBottom":{"type":"number","default":null},"subText":{"source":"html","selector":"p","default":""},"subTextFlag":{"type":"string","default":"off"},"subTextColor":{"type":"string"},"subTextSize":{"type":"number"},"fontAwesomeIconBefore":{"type":"string","default":""},"fontAwesomeIconAfter":{"type":"string","default":""},"fontAwesomeIconColor":{"type":"string"}},"description":"This is a heading that allows you to set text size, subtext, icon, and margin.","textdomain":"vk-blocks","supports":{"className":true,"customClassName":true,"anchor":true}}'),Fo={from:[{type:"block",blocks:["core/heading"],transform:function(e){var t={title:e.content};return(0,g.createBlock)("vk-blocks/heading",t)}}]},jo=Mo.name,Ho={icon:(0,P.createElement)((function(e){return G.createElement("svg",Qn({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Zn||(Zn=G.createElement("path",{d:"M20 10V4h3v15h-3v-6h-6v6h-3v-1.89l1.06-1.1c.95-1 .28-2.64-1.06-2.73V4h3v6h6z",fill:"#000"})),Gn||(Gn=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Xn||(Xn=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),category:"vk-blocks-cat",example:{attributes:{anchor:"",level:2,align:"center",titleStyle:"default",outerMarginBottom:0,title:F,titleColor:D,titleSize:2,titleMarginBottom:1,subText:F,subTextFlag:"on",subTextColor:D,subTextSize:1.2,fontAwesomeIconBefore:L,fontAwesomeIconAfter:"",fontAwesomeIconColor:D}},edit:function(e){var t,n,o=e.attributes,a=e.setAttributes,r=o.level,l=o.align,c=o.title,i=o.titleColor,s=o.titleSize,u=o.subText,m=o.subTextFlag,p=o.subTextColor,v=o.subTextSize,f=o.titleStyle,b=o.titleMarginBottom,k=o.outerMarginBottom,_=o.fontAwesomeIconBefore,d=o.fontAwesomeIconAfter,g=o.fontAwesomeIconColor,y=vkFontAwesome.iconFamily,E="vk_heading vk_heading-style-".concat(f),x={marginBottom:null!=k?k+"rem":void 0},C="";void 0!==i&&(C+="has-text-color",pe(i)||(C+=" has-".concat(i,"-color")));var N=De()("vk_heading_title",(h(t={},"vk_heading_title-style-".concat(f),!!f),h(t,"".concat(C),!!C),t)),T={color:null!=i&&pe(i)?i:void 0,fontSize:null!=s?s+"rem":void 0,marginBottom:null!=b?b+"rem":void 0,textAlign:null!=l?l:void 0},B="";void 0!==p&&(B+="has-text-color",pe(p)||(B+=" has-".concat(p,"-color")));var w=De()("vk_heading_subtext",(h(n={},"vk_heading_subtext-style-".concat(f),!!f),h(n,"".concat(B),!!B),n)),S={color:null!=p&&pe(p)?p:void 0,fontSize:null!=v?v+"rem":void 0,textAlign:null!=l?l:void 0},I="";void 0!==g&&(I+="has-text-color",pe(g)||(I+=" has-".concat(g,"-color")));var R=g&&pe(g)?'style="color:'.concat(g,';"'):"",A=_,O=d;if(A&&I){var z=A.split('<i class="');z[0]=z[0]+'<i class="'.concat(I," "),A=z.join("")}if(O&&I){var F=O.split('<i class="');F[0]=F[0]+'<i class="'.concat(I," "),O=F.join("")}if(A&&R){var j=A.split("<i");j[0]=j[0]+"<i ".concat(R," "),A=j.join("")}if(O&&R){var H=O.split("<i");H[0]=H[0]+"<i ".concat(R," "),O=H.join("")}var L,U=(0,P.createElement)(P.Fragment,null,et(A),(0,P.createElement)(Q.RichText,{tagName:"span",value:c,onChange:function(e){a({title:e})},placeholder:(0,M.__)("Input title…","vk-blocks")}),et(O));"on"===m&&(L=(0,P.createElement)(Q.RichText,{tagName:"p",value:u,onChange:function(e){return a({subText:e})},style:S,className:w,placeholder:(0,M.__)("Input sub text…","vk-blocks")}));var D=(0,Q.useBlockProps)({className:""});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(ne.ToolbarGroup,null,(0,P.createElement)(Ao,{selectedLevel:r,onChange:function(e){a({level:e})}})),(0,P.createElement)(Q.AlignmentToolbar,{value:l,onChange:function(e){a({align:e})}})),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Style Settings","vk-blocks")},(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Heading style","vk-blocks"),value:f,onChange:function(e){return a({titleStyle:e})},options:[{label:(0,M.__)("Default","vk-blocks"),value:"default"},{label:(0,M.__)("Plain","vk-blocks"),value:"plain"}]})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Margin Setting","vk-blocks")},(0,P.createElement)("p",null,(0,M.__)("Margin between Heading and sub text (rem)","vk-blocks")),(0,P.createElement)(ne.RangeControl,{value:b,onChange:function(e){a({titleMarginBottom:e})},min:-1,max:3,step:.1,allowReset:!0,resetFallbackValue:null}),(0,P.createElement)("p",null,(0,M.__)("Margin bottom size of after this block (rem)","vk-blocks")),(0,P.createElement)(ne.RangeControl,{value:k,onChange:function(e){a({outerMarginBottom:e})},min:-1,max:8,step:.1,allowReset:!0,resetFallbackValue:null})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Heading Settings","vk-blocks")},(0,P.createElement)(ne.RangeControl,{label:(0,M.__)("Text size (rem)","vk-blocks"),value:s,onChange:function(e){a({titleSize:e})},min:.5,max:4,step:.1,allowReset:!0,resetFallbackValue:null}),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Text Color","vk-blocks"),id:"vk_heading_textColor"},(0,P.createElement)(Pe,Ne({schema:"titleColor"},e)))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Icon","vk-blocks")+" ( "+y+" )"},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Before text","vk-blocks"),id:"vk_heading_beforeText"},(0,P.createElement)(Ke,Ne({attributeName:"fontAwesomeIconBefore"},e))),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("After text","vk-blocks"),id:"vk_heading_afterText"},(0,P.createElement)(Ke,Ne({attributeName:"fontAwesomeIconAfter"},e))),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon Color","vk-blocks"),id:"vk_heading_iconColor"},(0,P.createElement)(Pe,Ne({schema:"fontAwesomeIconColor"},e)))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Sub Text Settings","vk-blocks")},(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Position","vk-blocks"),selected:m,options:[{label:(0,M.__)("Display","vk-blocks"),value:"on"},{label:(0,M.__)("Hide","vk-blocks"),value:"off"}],onChange:function(e){return a({subTextFlag:e})}}),(0,P.createElement)("p",null,(0,M.__)("Text size (rem)","vk-blocks")),(0,P.createElement)(ne.RangeControl,{value:v,onChange:function(e){a({subTextSize:e})},min:.5,max:3,step:.1,allowReset:!0,resetFallbackValue:null}),(0,P.createElement)(Pe,Ne({schema:"subTextColor"},e)))),(0,P.createElement)("div",D,(0,P.createElement)("div",{className:E,style:x},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(r,U,T,N),L)))},save:function(e){var t,n,o=e.attributes,a=o.level,r=o.align,l=o.title,c=o.titleColor,i=o.titleSize,s=o.subText,u=o.subTextFlag,m=o.subTextColor,p=o.subTextSize,v=o.titleStyle,f=o.titleMarginBottom,b=o.outerMarginBottom,k=o.fontAwesomeIconBefore,_=o.fontAwesomeIconAfter,d=o.fontAwesomeIconColor,g="vk_heading vk_heading-style-".concat(v),y={marginBottom:null!=b?b+"rem":void 0},E="";void 0!==c&&(E+="has-text-color",pe(c)||(E+=" has-".concat(c,"-color")));var x=De()("vk_heading_title",(h(t={},"vk_heading_title-style-".concat(v),!!v),h(t,"".concat(E),!!E),t)),C={color:null!=c&&pe(c)?c:void 0,fontSize:null!=i?i+"rem":void 0,marginBottom:null!=f?f+"rem":void 0,textAlign:null!=r?r:void 0},N="";void 0!==m&&(N+="has-text-color",pe(m)||(N+=" has-".concat(m,"-color")));var T=De()("vk_heading_subtext",(h(n={},"vk_heading_subtext-style-".concat(v),!!v),h(n,"".concat(N),!!N),n)),B={color:null!=m&&pe(m)?m:void 0,fontSize:null!=p?p+"rem":void 0,textAlign:null!=r?r:void 0},w="";void 0!==d&&(w+="has-text-color",pe(d)||(w+=" has-".concat(d,"-color")));var S=d&&pe(d)?'style="color:'.concat(d,';"'):"",I=k,R=_;if(I&&w){var A=I.split('<i class="');A[0]=A[0]+'<i class="'.concat(w," "),I=A.join("")}if(R&&w){var O=R.split('<i class="');O[0]=O[0]+'<i class="'.concat(w," "),R=O.join("")}if(I&&S){var z=I.split("<i");z[0]=z[0]+"<i ".concat(S," "),I=z.join("")}if(R&&S){var M=R.split("<i");M[0]=M[0]+"<i ".concat(S," "),R=M.join("")}var F,j=(0,P.createElement)(P.Fragment,null,et(I),(0,P.createElement)(Q.RichText.Content,{tagName:"span",value:l}),et(R));"on"===u&&(F=(0,P.createElement)(Q.RichText.Content,{tagName:"p",value:s,style:B,className:T}));var H=Q.useBlockProps.save({className:""});return(0,P.createElement)("div",H,(0,P.createElement)("div",{className:g,style:y},function(e,t,n,o){switch(e){case 1:return(0,P.createElement)("h1",{style:n,className:o},t);case 2:return(0,P.createElement)("h2",{style:n,className:o},t);case 3:return(0,P.createElement)("h3",{style:n,className:o},t);case 4:return(0,P.createElement)("h4",{style:n,className:o},t);case 5:return(0,P.createElement)("h5",{style:n,className:o},t);case 6:return(0,P.createElement)("h6",{style:n,className:o},t)}}(a,j,C,x),F))},transforms:Fo,deprecated:wo};function Lo(){return Lo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Lo.apply(this,arguments)}var Uo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbFontAwesomeIcon,t=this.props.lbSize,n=this.props.lbSizeUnit,o=this.props.lbMargin,a=this.props.lbMarginUnit,r=this.props.lbRadius,l=this.props.lbAlign,c=this.props.lbType,i=this.props.lbColor,s=this.props.lbUrl,u=this.props.lbTarget,m="vk_icon_frame";"center"===l?m+=" text-center":"right"===l&&(m+=" text-right");var p="vk_icon_border",v={};"0"===c?"undefined"!==i&&null!=i&&(p+=" has-background",pe(i)?v={backgroundColor:"".concat(i)}:p+=" has-".concat(i,"-background-color")):("undefined"!==i&&null!=i&&(p+=" has-text-color",pe(i)?v={color:"".concat(i)}:p+=" has-".concat(i,"-color")),m+="1"===c?" is-style-outline":" is-style-noline"),36===t&&"px"===n&&22===o&&"px"===a||(v.width="calc("+(t+n)+" + "+(2*o+a)+")",v.height=v.width),50!==r&&(v.borderRadius=r+"%");var f="";if(e){e=e.replace(/ fas/g,"fas");var b=null;36===t&&"px"===n||(b=" font-size:".concat(t).concat(n));var k=e.split(" ");k[0]=k[0]+' style="'.concat(b,';"'),k[1]=" "+k[1]+" vk_icon_font ",f=k.join("")}var _,d=(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:p,style:v},et(f)));return _=null!=s&&""!==s?(0,P.createElement)("a",{href:s,className:"vk_icon_link",target:u&&"_blank",rel:u&&"noopener noreferrer"},d):d,(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:m},_))}}]),a}(P.Component),Do=JSON.parse('{"apiVersion":2,"name":"vk-blocks/icon","category":"vk-blocks-cat","title":"Icon","attributes":{"faIcon":{"type":"string","default":"<i class=\\"fas fa-user\\"></i>"},"iconSize":{"type":"number","default":36},"iconSizeUnit":{"type":"string","default":"px"},"iconMargin":{"type":"number","default":22},"iconMarginUnit":{"type":"string","default":"px"},"iconRadius":{"type":"number","default":50},"iconAlign":{"type":"string","default":"left"},"iconType":{"type":"string","default":"0"},"iconColor":{"type":"string"},"iconUrl":{"type":"string"},"iconTarget":{"type":"Boolean","default":false}},"description":"Display icons with Font Awesome.","textdomain":"vk-blocks","supports":{"className":true,"anchor":true}}');var Vo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbFontAwesomeIcon,t=this.props.lbSize,n=this.props.lbSizeUnit,o=this.props.lbMargin,a=this.props.lbMarginUnit,r=this.props.lbRadius,l=this.props.lbAlign,c=this.props.lbType,i=this.props.lbColor,s=this.props.lbUrl,u=this.props.lbTarget,m="vk_icon_outer";"center"===l?m+=" vk_icon_align_center":"right"===l&&(m+=" vk_icon_align_right");var p="vk_icon_border",v={};"0"===c?"undefined"!==i&&(v={backgroundColor:"".concat(i),borderColor:"".concat(i)}):"1"===c?(p+=" vk_icon_border_frame","undefined"!==i&&(v={borderColor:"".concat(i)})):p+=" vk_icon_border_none",36===t&&"px"===n&&22===o&&"px"===a||(v.width="calc("+(t+n)+" + "+(2*o+a)+")",v.height=v.width),50!==r&&(v.borderRadius=r+"%");var f="";if(e){e=e.replace(/ fas/g,"fas");var b=null;"0"!==c&&"undefined"!==i&&(b="color:".concat(i));var k=null;36===t&&"px"===n||(k=" font-size:".concat(t).concat(n));var _=e.split(" ");_[0]=_[0]+' style="'.concat(b,"; ").concat(k,';"'),_[1]=" "+_[1]+" vk_icon_font ",f=_.join("")}var d,h=(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:p,style:v},et(f)));return d=null!=s&&""!==s?(0,P.createElement)("a",{href:s,className:"vk_icon_link",target:u&&"_blank",rel:u&&"noopener noreferrer"},h):h,(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:m},d))}}]),a}(P.Component);var qo=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.lbFontAwesomeIcon,t=this.props.lbSize,n=this.props.lbSizeUnit,o=this.props.lbMargin,a=this.props.lbMarginUnit,r=this.props.lbRadius,l=this.props.lbAlign,c=this.props.lbType,i=this.props.lbColor,s=this.props.lbUrl,u=this.props.lbTarget,m="vk_icon_frame";"center"===l?m+=" vk_icon_align_center":"right"===l&&(m+=" vk_icon_align_right");var p="vk_icon_border",v={};"0"===c?"undefined"!==i&&null!=i&&(v={backgroundColor:"".concat(i),borderColor:"".concat(i)}):"1"===c?(p+=" vk_icon_border_frame","undefined"!==i&&null!=i&&(v={borderColor:"".concat(i)})):p+=" vk_icon_border_none",36===t&&"px"===n&&22===o&&"px"===a||(v.width="calc("+(t+n)+" + "+(2*o+a)+")",v.height=v.width),50!==r&&(v.borderRadius=r+"%");var f="";if(e){e=e.replace(/ fas/g,"fas");var b=null;"0"!==c&&"undefined"!==i&&null!=i&&(b="color:".concat(i));var k=null;36===t&&"px"===n||(k=" font-size:".concat(t).concat(n));var _=e.split(" ");_[0]=_[0]+' style="'.concat(b,"; ").concat(k,';"'),_[1]=" "+_[1]+" vk_icon_font ",f=_.join("")}var d,h=(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:p,style:v},et(f)));return d=null!=s&&""!==s?(0,P.createElement)("a",{href:s,className:"vk_icon_link",target:u&&"_blank",rel:u&&"noopener noreferrer"},h):h,(0,P.createElement)(P.Fragment,null,(0,P.createElement)("div",{className:m},d))}}]),a}(P.Component);function Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Jo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zo,Go,Xo,Yo={faIcon:{type:"string",default:'<i class="fas fa-user"></i>'},iconSize:{type:"number",default:36},iconSizeUnit:{type:"string",default:"px"},iconMargin:{type:"number",default:22},iconMarginUnit:{type:"string",default:"px"},iconRadius:{type:"number",default:50},iconAlign:{type:"string",default:"left"},iconType:{type:"string",default:"0"},iconColor:{type:"string",default:"undefined"},iconUrl:{type:"string",default:""},iconTarget:{type:"Boolean",default:!1}},$o=[{attributes:Jo(Jo({},Yo),{},{iconColor:{type:"string"},iconUrl:{type:"string"}}),save:function(e){var t=e.attributes,n=t.faIcon,o=t.iconSize,a=t.iconSizeUnit,r=t.iconMargin,l=t.iconMarginUnit,c=t.iconRadius,i=t.iconAlign,s=t.iconType,u=t.iconColor,m=t.iconUrl,p=t.iconTarget;n&&!n.match(/<i/)&&(n='<i class="'.concat(n,'"></i>'));var v=Q.useBlockProps.save({className:"vk_icon"});return(0,P.createElement)("div",v,(0,P.createElement)(qo,{lbFontAwesomeIcon:n,lbSize:o,lbSizeUnit:a,lbMargin:r,lbMarginUnit:l,lbRadius:c,lbAlign:i,lbType:s,lbColor:u,lbUrl:m,lbTarget:p}))}},{attributes:Yo,save:function(e){var t=e.attributes,n=t.faIcon,o=t.iconSize,a=t.iconSizeUnit,r=t.iconMargin,l=t.iconMarginUnit,c=t.iconRadius,i=t.iconAlign,s=t.iconType,u=t.iconColor,m=t.iconUrl,p=t.iconTarget;n&&!n.match(/<i/)&&(n='<i class="'.concat(n,'"></i>'));var v=Q.useBlockProps.save({className:"vk_icon"});return(0,P.createElement)("div",v,(0,P.createElement)(Vo,{lbFontAwesomeIcon:n,lbSize:o,lbSizeUnit:a,lbMargin:r,lbMarginUnit:l,lbRadius:c,lbAlign:i,lbType:s,lbColor:u,lbUrl:m,lbTarget:p}))}}],Ko=Do.name,Qo={icon:(0,P.createElement)((function(e){return G.createElement("svg",Lo({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Oo||(Oo=G.createElement("path",{d:"M10.9 14.8H7.6a.1.1 0 0 0-.1.1l-.2.7c0 .1 0 .2.1.2h1.3c.1 0 .1.1.1.2l-2 2.2 1 3.4c0 .1 0 .1-.1.1h-1c-.1 0-.1 0-.1-.1L6 19.8c0-.1-.2-.1-.2 0L5.4 21v.1l.4 1.5.1.1h3.3a.1.1 0 0 0 .1-.1L8 18.3v-.1l3-3.2c0-.1 0-.2-.1-.2Z",fill:"#000"})),zo||(zo=G.createElement("path",{d:"M7 13H5a.1.1 0 0 0-.1.1l-.3.7c0 .1 0 .2.1.2h.8c.1 0 .1.1.1.2l-2.4 6.7c0 .1-.2.1-.2 0L1.4 16c0-.1 0-.2.1-.2h.9a.1.1 0 0 1 .1.1l.6 1.7c0 .1.2.1.2 0l1-2.7c0-.1 0-.2-.1-.2H.1a.31.31 0 0 0-.1.2l3.1 9c0 .1.2.1.2 0l3.8-10.8A.1.1 0 0 0 7 13Z",fill:"#D8141C"})),Po||(Po=G.createElement("path",{d:"M15.5 0a8.5 8.5 0 0 0-7.92 11.59 1.64 1.64 0 0 1 1 1.69h2.27A1.61 1.61 0 0 1 12.06 16l-.18.19A8.5 8.5 0 1 0 15.5 0Zm1.7 13.6h-3.4V6.8h3.4v6.8Zm0-8.3h-3.4V3.4h3.4v1.9Z",fill:"#0B0C0C"})))}),null),example:{attributes:{faIcon:L,iconSize:36,iconSizeUnit:"px",iconMargin:22,iconMarginUnit:"px",iconRadius:50,iconType:"0",iconAlign:"left",iconColor:"undefined",iconUrl:V,iconTarget:!1}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.faIcon,r=t.iconSize,l=t.iconSizeUnit,c=t.iconMargin,i=t.iconMarginUnit,s=t.iconRadius,u=t.iconAlign,m=t.iconType,p=t.iconColor,v=t.iconUrl,f=t.iconTarget,b=vkFontAwesome.iconFamily,k=(0,ze.select)("core/block-editor").getBlockParentsByBlockName(o,["vk-blocks/icon-outer"]),_="";k.length||(_=(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(Q.BlockAlignmentControl,{value:u,onChange:function(e){n({iconAlign:e})},controls:["left","center","right"]})));var d="px"===l?36:1,h="px"===i?22:1,g="";k.length||(g=(0,P.createElement)(P.Fragment,null,(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Size","vk-blocks")),(0,P.createElement)("div",{className:"vk_icon_custombox"},(0,P.createElement)(ne.TextControl,{className:"vk_icon_custombox_number",value:r,step:"px"===l?1:.1,min:0,onChange:function(e){var t=e?parseFloat(e):d;"px"===l&&(t=parseInt(t)),n({iconSize:t})},type:"number"}),(0,P.createElement)(ne.SelectControl,{className:"vk_icon_custombox_unit",value:l,onChange:function(e){n({iconSizeUnit:e}),"px"===e&&n({iconSize:parseInt(r)})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]}),(0,P.createElement)(ne.Button,{className:"vk_icon_custombox_reset",isSmall:!0,isSecondary:!0,onClick:function(){n({iconSize:36}),n({iconSizeUnit:"px"})}},(0,M.__)("Reset"))),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Margin","vk-blocks")),(0,P.createElement)("div",{className:"vk_icon_custombox"},(0,P.createElement)(ne.TextControl,{className:"vk_icon_custombox_number",value:c,step:"px"===i?1:.1,min:0,onChange:function(e){var t=e?parseFloat(e):h;"px"===i&&(t=parseInt(t)),n({iconMargin:t})},type:"number"}),(0,P.createElement)(ne.SelectControl,{className:"vk_icon_custombox_unit",value:i,onChange:function(e){n({iconMarginUnit:e}),"px"===e&&n({iconMargin:parseInt(c)})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]}),(0,P.createElement)(ne.Button,{className:"vk_icon_custombox_reset",isSmall:!0,isSecondary:!0,onClick:function(){n({iconMargin:22}),n({iconMarginUnit:"px"})}},(0,M.__)("Reset"))),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Border radius","vk-blocks"),id:"vk_icon-radius"},(0,P.createElement)(ne.RangeControl,{value:s,onChange:function(e){return n({iconRadius:void 0!==e?e:50})},min:0,max:50,allowReset:!0})),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Style","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"0"===m,isSecondary:"0"!==m,onClick:function(){return n({iconType:"0"})}},(0,M.__)("Solid color","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"1"===m,isSecondary:"1"!==m,onClick:function(){return n({iconType:"1"})}},(0,M.__)("Icon & Frame","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"2"===m,isSecondary:"2"!==m,onClick:function(){return n({iconType:"2"})}},(0,M.__)("Icon only","vk-blocks"))))),a&&!a.match(/<i/)&&(a='<i class="'.concat(a,'"></i>')),(0,P.useEffect)((function(){"undefined"===p&&n({iconColor:void 0})}),[o]);var y=(0,Q.useBlockProps)({className:"vk_icon"});return(0,P.createElement)(P.Fragment,null,_,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Icon Setting","vk-blocks")},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon","vk-blocks")+" ( "+b+" )",id:"vk_icon-font"},(0,P.createElement)(Ke,Ne({attributeName:"faIcon"},e))),g,(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Link URL","vk-blocks"),value:v,onChange:function(e){return n({iconUrl:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:f,onChange:function(e){n({iconTarget:e})}})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Color","vk-blocks")},(0,P.createElement)(ne.BaseControl,null,(0,P.createElement)(Pe,Ne({schema:"iconColor"},e))))),(0,P.createElement)("div",y,(0,P.createElement)(Uo,{lbFontAwesomeIcon:a,lbSize:r,lbSizeUnit:l,lbMargin:c,lbMarginUnit:i,lbRadius:s,lbAlign:u,lbType:m,lbColor:p})))},save:function(e){var t=e.attributes,n=t.faIcon,o=t.iconSize,a=t.iconSizeUnit,r=t.iconMargin,l=t.iconMarginUnit,c=t.iconRadius,i=t.iconAlign,s=t.iconType,u=t.iconColor,m=t.iconUrl,p=t.iconTarget;n&&!n.match(/<i/)&&(n='<i class="'.concat(n,'"></i>'));var v=Q.useBlockProps.save({className:"vk_icon"});return(0,P.createElement)("div",v,(0,P.createElement)(Uo,{lbFontAwesomeIcon:n,lbSize:o,lbSizeUnit:a,lbMargin:r,lbMarginUnit:l,lbRadius:c,lbAlign:i,lbType:s,lbColor:u,lbUrl:m,lbTarget:p}))},deprecated:$o};function ea(){return ea=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ea.apply(this,arguments)}var ta,na,oa,aa=JSON.parse('{"apiVersion":2,"name":"vk-blocks/icon-outer","category":"vk-blocks-cat","title":"Icon Outer","attributes":{"iconSize":{"type":"number","default":36},"iconSizeUnit":{"type":"string","default":"px"},"iconMargin":{"type":"number","default":22},"iconMarginUnit":{"type":"string","default":"px"},"iconRadius":{"type":"number","default":50},"iconsJustify":{"type":"string","default":"left"},"iconType":{"type":"string","default":"0"}},"description":"Display the Font Awesome icons horizontally.","textdomain":"vk-blocks","supports":{"className":true}}'),ra=aa.name,la={icon:(0,P.createElement)((function(e){return G.createElement("svg",ea({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 23.91 17.64"},e),Zo||(Zo=G.createElement("defs",null,G.createElement("style",null,".icon_svg__cls-1{fill-rule:evenodd}"))),">",Go||(Go=G.createElement("path",{className:"icon_svg__cls-1",d:"M1.15 6.21a3.67 3.67 0 0 0 1.57 1 3.57 3.57 0 0 0 1 .15H4l.33-.06a.37.37 0 0 1 0-.11l.32-.75a.11.11 0 0 1 .11-.11h1.53A3.65 3.65 0 1 0 .1 3.6a3.66 3.66 0 0 0 1 2.56ZM3 1.46h1.48v.81H3Zm0 1.46h1.48v2.93H3ZM11 7.16a3.65 3.65 0 0 1-1.58-1 3.63 3.63 0 0 1-1.07-2.51 3.66 3.66 0 1 1 3.93 3.7H12a3.47 3.47 0 0 1-1-.19Zm.3-4.89v-.81h1.46v.81Zm0 3.58V2.92h1.46v2.93ZM19.23 7.16a3.65 3.65 0 0 1-1.58-1 3.62 3.62 0 0 1-1-2.56 3.65 3.65 0 1 1 3.93 3.7h-.28a3.52 3.52 0 0 1-1.07-.14Zm.3-4.89v-.81H21v.81Zm0 3.58V2.92H21v2.93Z"})),Xo||(Xo=G.createElement("path",{d:"M10.9 8.47H7.6a.09.09 0 0 0-.1.1l-.2.7c0 .1 0 .2.1.2h1.3c.1 0 .1.1.1.2l-2 2.2 1 3.4c0 .1 0 .1-.1.1h-1c-.1 0-.1 0-.1-.1l-.6-1.8c0-.1-.2-.1-.2 0l-.4 1.2v.1l.4 1.5.1.1h3.3a.1.1 0 0 0 .1-.1L8 12v-.1l3-3.2c0-.13 0-.23-.1-.23Z"})),G.createElement("path",{d:"M7 6.67H5a.09.09 0 0 0-.1.1l-.3.7c0 .1 0 .2.1.2h.8c.1 0 .1.1.1.2l-2.4 6.7c0 .1-.2.1-.2 0l-1.6-4.9c0-.1 0-.2.1-.2h.9a.09.09 0 0 1 .1.1l.6 1.7c0 .1.2.1.2 0l1-2.7c0-.1 0-.2-.1-.2H.1a.3.3 0 0 0-.1.2l3.1 9c0 .1.2.1.2 0l3.8-10.8a.09.09 0 0 0-.1-.1Z",style:{fill:"#d8141c"}}))}),null),styles:[],example:{innerBlocks:[{name:"vk-blocks/icon"},{name:"vk-blocks/icon"}]},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.iconSize,r=t.iconSizeUnit,l=t.iconMargin,c=t.iconMarginUnit,i=t.iconRadius,s=t.iconsJustify,u=t.iconType,m=(0,ze.select)("core/block-editor").getBlocksByClientId,p=(0,ze.dispatch)("core/block-editor").updateBlockAttributes,v=m(o);(0,P.useEffect)((function(){v&&v[0]&&v[0].innerBlocks&&v[0].innerBlocks.forEach((function(e){p(e.clientId,{iconSize:a}),p(e.clientId,{iconSizeUnit:r}),p(e.clientId,{iconMargin:l}),p(e.clientId,{iconMarginUnit:c}),p(e.clientId,{iconRadius:i}),p(e.clientId,{iconType:u})}))}),[v,t,o]);var f=(0,Q.useBlockProps)({className:"vk_icons"}),b="px"===r?36:1,k="px"===c?22:1;return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(Q.JustifyContentControl,{allowedControls:["left","center","right","space-between"],value:s,onChange:function(e){return n({iconsJustify:e})},popoverProps:{position:"bottom right",isAlternate:!0}})),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Icon Common Setting","vk-blocks")},(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Size","vk-blocks")),(0,P.createElement)("div",{className:"vk_icon_custombox"},(0,P.createElement)(ne.TextControl,{className:"vk_icon_custombox_number",value:a,step:"px"===r?1:.1,min:0,onChange:function(e){var t=e?parseFloat(e):b;"px"===r&&(t=parseInt(t)),n({iconSize:t})},type:"number"}),(0,P.createElement)(ne.SelectControl,{className:"vk_icon_custombox_unit",value:r,onChange:function(e){n({iconSizeUnit:e}),"px"===e&&n({iconSize:parseInt(a)})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]}),(0,P.createElement)(ne.Button,{className:"vk_icon_custombox_reset",isSmall:!0,isSecondary:!0,onClick:function(){n({iconSize:36}),n({iconSizeUnit:"px"})}},(0,M.__)("Reset"))),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Margin","vk-blocks")),(0,P.createElement)("div",{className:"vk_icon_custombox"},(0,P.createElement)(ne.TextControl,{className:"vk_icon_custombox_number",value:l,step:"px"===c?1:.1,min:0,onChange:function(e){var t=e?parseFloat(e):k;"px"===c&&(t=parseInt(t)),n({iconMargin:t})},type:"number"}),(0,P.createElement)(ne.SelectControl,{className:"vk_icon_custombox_unit",value:c,onChange:function(e){n({iconMarginUnit:e}),"px"===e&&n({iconMargin:parseInt(l)})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]}),(0,P.createElement)(ne.Button,{className:"vk_icon_custombox_reset",isSmall:!0,isSecondary:!0,onClick:function(){n({iconMargin:22}),n({iconMarginUnit:"px"})}},(0,M.__)("Reset"))),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Border radius","vk-blocks"),id:"vk_icon-radius"},(0,P.createElement)(ne.RangeControl,{value:i,onChange:function(e){return n({iconRadius:void 0!==e?e:50})},min:0,max:50,allowReset:!0})),(0,P.createElement)("p",{className:"mt-0 mb-2"},(0,M.__)("Style","vk-blocks")),(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"0"===u,isSecondary:"0"!==u,onClick:function(){return n({iconType:"0"})}},(0,M.__)("Solid color","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"1"===u,isSecondary:"1"!==u,onClick:function(){return n({iconType:"1"})}},(0,M.__)("Icon & Frame","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"2"===u,isSecondary:"2"!==u,onClick:function(){return n({iconType:"2"})}},(0,M.__)("Icon only","vk-blocks"))))),(0,P.createElement)("div",f,(0,P.createElement)("div",{className:"vk_icons_col vk_icons_col-justify-".concat(s)},(0,P.createElement)(Q.InnerBlocks,{allowedBlocks:["vk-blocks/icon"],template:[["vk-blocks/icon"],["vk-blocks/icon"]],templateLock:!1,orientation:"horizontal"}))))},save:function(e){var t=e.attributes.iconsJustify,n=Q.useBlockProps.save({className:"vk_icons"});return(0,P.createElement)("div",n,(0,P.createElement)("div",{className:"vk_icons_col vk_icons_col-justify-".concat(t)},(0,P.createElement)(Q.InnerBlocks.Content,null)))}};function ca(){return ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},ca.apply(this,arguments)}var ia,sa,ua,ma=JSON.parse('{"apiVersion":2,"name":"vk-blocks/page-content","title":"Page Content","category":"vk-blocks-cat","attributes":{"TargetPost":{"type":"number","default":-1}},"description":"Displays the body content of the specified parent page.","textdomain":"vk-blocks","supports":{"className":true}}'),pa=ma.name,va={icon:(0,P.createElement)((function(e){return G.createElement("svg",ca({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ta||(ta=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17 5.5H7a.5.5 0 0 0-.5.5v5.502l-1.467.006H5V6a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6.964l-.438-1.41.086-.09H17a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5Zm-4.745 10.25H14v-1.5h-1.634c.203.468.191 1.028-.11 1.5ZM8.502 12.5H16V11H8v.821c.23.179.398.418.502.679ZM8 7.75h8v1.5H8v-1.5Z",fill:"#1E1E1E"})),na||(na=G.createElement("path",{d:"m10.89 14.778-3.267.007a.11.11 0 0 0-.102.076l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L6.7 18.105h.007l1.042 3.397c.022.076-.03.144-.103.144h-1.02a.104.104 0 0 1-.102-.076L6 19.83c-.029-.106-.168-.106-.205-.007l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.15c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z",fill:"#000"})),oa||(oa=G.createElement("path",{d:"m7.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.108c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})))}),null),edit:function(e){var t,n,o,a=e.attributes,r=e.setAttributes,l=a.TargetPost,c=function(e){var t=[{label:(0,M.__)("Unspecified","vk-blocks"),value:-1}],n=e.map((function(e){return{label:e.title.rendered,value:e.id}}));return t.concat(n)}((t={slug:"page"},n={per_page:-1,status:"private,publish"},(0,ze.useSelect)((function(e){return e("core").getEntityRecords("postType",t.slug,n)||[]}),[t,n])));o=-1===l?(0,P.createElement)("div",{className:"alert alert-warning text-center"},(0,M.__)("Because no post is selected, The block Will not render","vk-blocks")):(0,P.createElement)(se(),{block:"vk-blocks/page-content",attributes:a});var i=(0,Q.useBlockProps)();return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Page Setting","vk-blocks"),initialOpen:!0},(0,P.createElement)(ne.BaseControl,{id:"vb-call-01"},(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Select Page","vk-blocks"),value:l,options:c,onChange:function(e){return r({TargetPost:parseInt(e,10)})}})))),(0,P.createElement)("div",i,o))}};function fa(){return fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},fa.apply(this,arguments)}var ba=JSON.parse('{"apiVersion":2,"name":"vk-blocks/pr-blocks","title":"PR Blocks (not recommended)","category":"vk-blocks-cat","attributes":{"heading1":{"type":"string","source":"html","selector":".vk_prBlocks_item_title-1"},"heading2":{"type":"string","source":"html","selector":".vk_prBlocks_item_title-2"},"heading3":{"type":"string","source":"html","selector":".vk_prBlocks_item_title-3"},"heading4":{"type":"string","source":"html","selector":".vk_prBlocks_item_title-4"},"content1":{"type":"string","source":"html","selector":"p.vk_prBlocks_item_summary-1"},"content2":{"type":"string","source":"html","selector":"p.vk_prBlocks_item_summary-2"},"content3":{"type":"string","source":"html","selector":"p.vk_prBlocks_item_summary-3"},"content4":{"type":"string","source":"html","selector":"p.vk_prBlocks_item_summary-4"},"url1":{"type":"string","default":""},"url2":{"type":"string","default":""},"url3":{"type":"string","default":""},"url4":{"type":"string","default":""},"urlOpenType1":{"type":"Boolean","default":false},"urlOpenType2":{"type":"Boolean","default":false},"urlOpenType3":{"type":"Boolean","default":false},"urlOpenType4":{"type":"Boolean","default":false},"icon1":{"type":"string","default":"<i class=\\"fas fa-file\\"></i>"},"icon2":{"type":"string","default":"<i class=\\"fas fa-file\\"></i>"},"icon3":{"type":"string","default":"<i class=\\"fas fa-file\\"></i>"},"icon4":{"type":"string","default":"<i class=\\"fas fa-file\\"></i>"},"color1":{"type":"string"},"color2":{"type":"string"},"color3":{"type":"string"},"color4":{"type":"string"},"bgType1":{"type":"string","default":"0"},"bgType2":{"type":"string","default":"0"},"bgType3":{"type":"string","default":"0"},"bgType4":{"type":"string","default":"0"},"insertImage1":{"type":"string","default":""},"insertImage2":{"type":"string","default":""},"insertImage3":{"type":"string","default":""},"insertImage4":{"type":"string","default":""}},"description":"This is a PR block where you can place images and icon. But currently, it is possible to create the same layout by combining Column Block and Icon Block, so this block is not recommended. Please check Columns category of Block Patterns.","textdomain":"vk-blocks","supports":{"className":true}}'),ka=function(e){if("string"==typeof e){try{JSON.parse(e)}catch(e){return!0}return!1}return"object"!==Ge(e)||Array.isArray(e)},_a=((0,ze.select)("core/block-editor")?(0,ze.select)("core/block-editor"):(0,ze.select)("core/editor"),(0,ze.dispatch)("core/block-editor")?(0,ze.dispatch)("core/block-editor"):(0,ze.dispatch)("core/editor"),function(e){return function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(e)||(e=e.replace(/u0022/g,'"')),e});var da=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.icon1,s=t.icon2,u=t.icon3,m=t.color1,p=t.color2,v=t.color3,f=t.bgType1,b=t.bgType2,k=t.bgType3,_=t.insertImage1,d=t.insertImage2,h=t.insertImage3,g=this.props.blockNum,y=this.props.blockNum-1,E=[i,s,u],x=[m,p,v],C=[f,b,k],N=[_,d,h],T="",B="",w=function(e){var t=e[y];if(ka(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(_a(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},S=function(){if(N[y])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:w(N)},function(e){if(ka(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(_a(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(N[y]));var e="",t={},n="";void 0!==x[y]&&("0"===C[y]?pe(x[y])?(e="has-background ",t={backgroundColor:"".concat(x[y])}):e="has-background has-".concat(x[y],"-background-color"):"1"===C[y]&&(pe(x[y])?(e="has-text-color",t={border:"1px solid ".concat(x[y])},n=x[y]):e="has-text-color has-".concat(x[y],"-color")));var o=E[y];o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>'));var a=o.split(" ");a[0]=""!==n?a[0]+' style="color:'.concat(n,'" '):a[0]+" ",a[1]=a[1]+" vk_prBlocks_item_icon ";var r=a.join("");return(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer ".concat(e),style:t},et(r))}(),I="";return"1"===C[y]&&(I="is-style-outline"),1===g?(T=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:(0,M.__)("Input Title","vk-blocks")}),B=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:r,placeholder:(0,M.__)("Input Content","vk-blocks")})):2===g?(T=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:o,placeholder:(0,M.__)("Input Title","vk-blocks")}),B=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:(0,M.__)("Input Content","vk-blocks")})):3===g&&(T=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:a,placeholder:(0,M.__)("Input Title","vk-blocks")}),B=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:(0,M.__)("Input Content","vk-blocks")})),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4 ".concat(I)},S,T,B)}}]),a}(P.Component);var ha=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.heading1,a=n.heading2,r=n.heading3,l=n.content1,c=n.content2,i=n.content3,s=n.url1,u=n.url2,m=n.url3,p=n.urlOpenType1,v=n.urlOpenType2,f=n.urlOpenType3,b=n.icon1,k=n.icon2,_=n.icon3,d=n.color1,h=n.color2,g=n.color3,y=n.bgType1,E=n.bgType2,x=n.bgType3,C=n.insertImage1,N=n.insertImage2,T=n.insertImage3,B=this.props.blockNum,w=this.props.blockNum-1,S=[o,a,r],I=[l,c,i],R=[s,u,m],A=[p,v,f],O=[b,k,_],z=[d,h,g],M=[y,E,x],F=[C,N,T],j=function(e){var t=e[w];if(ka(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(_a(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=function(){if(F[w])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:j(F)},function(e){if(ka(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(_a(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(F[w]));var e="",t={},n="";void 0!==z[w]&&("0"===M[w]?pe(z[w])?(e="has-background ",t={backgroundColor:"".concat(z[w])}):e="has-background has-".concat(z[w],"-background-color"):"1"===M[w]&&(pe(z[w])?(e="has-text-color",t={border:"1px solid ".concat(z[w])},n=z[w]):e="has-text-color has-".concat(z[w],"-color")));var o=O[w];o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>'));var a=o.split(" ");a[0]=""!==n?a[0]+' style="color:'.concat(n,'" '):a[0]+" ",a[1]=a[1]+" vk_prBlocks_item_icon ";var r=a.join("");return(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer ".concat(e),style:t},et(r))}(),L="";return"1"===M[w]&&(L="is-style-outline"),e=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),t=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]}),R[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4 ".concat(L)},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},H,e,t)):(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4 ".concat(L)},H,e,t)}}]),a}(P.Component);var ga=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,m=t.urlOpenType1,p=t.urlOpenType2,v=t.urlOpenType3,f=t.icon1,b=t.icon2,k=t.icon3,_=t.color1,d=t.color2,h=t.color3,g=t.bgType1,y=t.bgType2,E=t.bgType3,x=t.insertImage1,C=t.insertImage2,N=t.insertImage3,T=this.props.for_,B=this.props.blockNum,w=this.props.blockNum-1,S=[n,o,a],I=[r,l,c],R=[i,s,u],A=[m,p,v],O=[f,b,k],z=[_,d,h],F=[g,y,E],j=[x,C,N],H="",L="",U=j[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url(".concat(j[w],")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},(0,P.createElement)("img",{src:j[w],alt:""})):(z[w]||(z[w]="#0693e3"),"0"===F[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},(0,P.createElement)("i",{className:"".concat(O[w]," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},(0,P.createElement)("i",{className:"".concat(O[w]," vk_prBlocks_item_icon"),style:{color:z[w]}})));return"edit"===T?1===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",onChange:function(t){return e({heading1:t})},value:n,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:r,placeholder:(0,M.__)("Input Content","vk-blocks")})):2===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",onChange:function(t){return e({heading2:t})},value:o,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:(0,M.__)("Input Content","vk-blocks")})):3===B&&(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",onChange:function(t){return e({heading3:t})},value:a,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:(0,M.__)("Input Content","vk-blocks")})):"save"===T&&(H=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h1",value:S[w]}),L=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]})),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],target:A[w]?"_blank":"_self",className:"vk_prBlocks_item_link",rel:"noopener noreferrer"},U,H,L))}}]),a}(P.Component);var ya=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,m=t.urlOpenType1,p=t.urlOpenType2,v=t.urlOpenType3,f=t.icon1,b=t.icon2,k=t.icon3,_=t.color1,d=t.color2,h=t.color3,g=t.bgType1,y=t.bgType2,E=t.bgType3,x=t.insertImage1,C=t.insertImage2,N=t.insertImage3,T=this.props.for_,B=this.props.blockNum,w=this.props.blockNum-1,S=[n,o,a],I=[r,l,c],R=[i,s,u],A=[m,p,v],O=[f,b,k],z=[_,d,h],F=[g,y,E],j=[x,C,N],H="",L="",U=j[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:function(e){var t=e[w];if(ka(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(_a(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}}(j)},function(e){if(ka(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(_a(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(j[w])):(z[w]||(z[w]="#0693e3"),"0"===F[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},(0,P.createElement)("i",{className:"".concat(O[w]," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},(0,P.createElement)("i",{className:"".concat(O[w]," vk_prBlocks_item_icon"),style:{color:z[w]}})));return"edit"===T?1===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:r,placeholder:(0,M.__)("Input Content","vk-blocks")})):2===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:o,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:(0,M.__)("Input Content","vk-blocks")})):3===B&&(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:a,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:(0,M.__)("Input Content","vk-blocks")})):"save"===T&&(H=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),L=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]})),R[w]&&"save"===T?(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},U,H,L)):(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},U,H,L)}}]),a}(P.Component);var Ea=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,m=t.urlOpenType1,p=t.urlOpenType2,v=t.urlOpenType3,f=t.icon1,b=t.icon2,k=t.icon3,_=t.color1,d=t.color2,h=t.color3,g=t.bgType1,y=t.bgType2,E=t.bgType3,x=t.insertImage1,C=t.insertImage2,N=t.insertImage3,T=this.props.for_,B=this.props.blockNum,w=this.props.blockNum-1,S=[n,o,a],I=[r,l,c],R=[i,s,u],A=[m,p,v],O=[f,b,k],z=[_,d,h],F=[g,y,E],j=[x,C,N],H="",L="",U=function(e){var t=e[w];if(ka(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(_a(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},D=function(){if(j[w])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:U(j)},function(e){if(ka(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(_a(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(j[w]));var e;z[w]||(z[w]="#0693e3"),e="0"===F[w]?"#fff":z[w];var t=O[w];t&&!t.match(/<i/)&&(t='<i class="'.concat(t,'"></i>'));var n=t.split(" ");n[0]=n[0]+' style="color:'.concat(e,'" '),n[1]=n[1]+" vk_prBlocks_item_icon ";var o=n.join("");return"0"===F[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},et(o)):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},et(o))}();return"edit"===T?1===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h3",onChange:function(t){return e({heading1:t})},value:n,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",onChange:function(t){return e({content1:t})},value:r,placeholder:(0,M.__)("Input Content","vk-blocks")})):2===B?(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h3",onChange:function(t){return e({heading2:t})},value:o,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",onChange:function(t){return e({content2:t})},value:l,placeholder:(0,M.__)("Input Content","vk-blocks")})):3===B&&(H=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h3",onChange:function(t){return e({heading3:t})},value:a,placeholder:(0,M.__)("Input Title","vk-blocks")}),L=(0,P.createElement)(Q.RichText,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",onChange:function(t){return e({content3:t})},value:c,placeholder:(0,M.__)("Input Content","vk-blocks")})):"save"===T&&(H=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),L=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]})),R[w]&&"save"===T?(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},D,H,L)):(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},D,H,L)}}]),a}(P.Component);var xa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.heading1,a=n.heading2,r=n.heading3,l=n.content1,c=n.content2,i=n.content3,s=n.url1,u=n.url2,m=n.url3,p=n.urlOpenType1,v=n.urlOpenType2,f=n.urlOpenType3,b=n.icon1,k=n.icon2,_=n.icon3,d=n.color1,h=n.color2,g=n.color3,y=n.bgType1,E=n.bgType2,x=n.bgType3,C=n.insertImage1,N=n.insertImage2,T=n.insertImage3,B=this.props.blockNum,w=this.props.blockNum-1,S=[o,a,r],I=[l,c,i],R=[s,u,m],A=[p,v,f],O=[b,k,_],z=[d,h,g],M=[y,E,x],F=[C,N,T],j=function(e){var t=e[w];if(ka(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(_a(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=function(){if(F[w])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:j(F)},function(e){if(ka(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(_a(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(F[w]));var e;z[w]||(z[w]="#0693e3"),e="0"===M[w]?"#fff":z[w];var t=O[w];t&&!t.match(/<i/)&&(t='<i class="'.concat(t,'"></i>'));var n=t.split(" ");n[0]=n[0]+' style="color:'.concat(e,'" '),n[1]=n[1]+" vk_prBlocks_item_icon ";var o=n.join("");return"0"===M[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},et(o)):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},et(o))}();return e=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),t=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]}),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},H,e,t))}}]),a}(P.Component);var Ca,Na,Ta,Ba,wa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.heading1,a=n.heading2,r=n.heading3,l=n.content1,c=n.content2,i=n.content3,s=n.url1,u=n.url2,m=n.url3,p=n.urlOpenType1,v=n.urlOpenType2,f=n.urlOpenType3,b=n.icon1,k=n.icon2,_=n.icon3,d=n.color1,h=n.color2,g=n.color3,y=n.bgType1,E=n.bgType2,x=n.bgType3,C=n.insertImage1,N=n.insertImage2,T=n.insertImage3,B=this.props.blockNum,w=this.props.blockNum-1,S=[o,a,r],I=[l,c,i],R=[s,u,m],A=[p,v,f],O=[b,k,_],z=[d,h,g],M=[y,E,x],F=[C,N,T],j=function(e){var t=e[w];if(ka(t))return{backgroundImage:"url(".concat(t,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"};var n=JSON.parse(_a(t));return{backgroundImage:"url(".concat(n.sizes.full.url,")"),backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},H=function(){if(F[w])return(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:j(F)},function(e){if(ka(e))return(0,P.createElement)("img",{src:e,alt:""});var t=JSON.parse(_a(e));return(0,P.createElement)("img",{src:t.sizes.full.url,alt:t.alt})}(F[w]));var e;z[w]||(z[w]="#0693e3"),e="0"===M[w]?"#fff":z[w];var t=O[w];t&&!t.match(/<i/)&&(t='<i class="'.concat(t,'"></i>'));var n=t.split(" ");n[0]=n[0]+' style="color:'.concat(e,'" '),n[1]=n[1]+" vk_prBlocks_item_icon ";var o=n.join("");return"0"===M[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:z[w],border:"1px solid ".concat(z[w])}},et(o)):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+z[w]}},et(o))}();return e=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-".concat(B),tagName:"h3",value:S[w]}),t=(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-".concat(B),tagName:"p",value:I[w]}),R[w]?(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:R[w],className:"vk_prBlocks_item_link",target:A[w]?"_blank":"_self",rel:"noopener noreferrer"},H,e,t)):(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},H,e,t)}}]),a}(P.Component),Sa=[{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:".vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:""},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:'<i class="fas fa-file"></i>'},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:""};return t}(),save:function(e){var t=e.attributes,n=Q.useBlockProps.save({className:"vk_prBlocks row"});return(0,P.createElement)("div",n,(0,P.createElement)(wa,{attributes:t,blockNum:1}),(0,P.createElement)(wa,{attributes:t,blockNum:2}),(0,P.createElement)(wa,{attributes:t,blockNum:3}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:".vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:""},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:'<i class="fas fa-file"></i>'},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:""};return t}(),save:function(e){var t=e.attributes,n=Q.useBlockProps.save({className:"vk_prBlocks row"});return(0,P.createElement)("div",n,(0,P.createElement)(xa,{attributes:t,blockNum:1}),(0,P.createElement)(xa,{attributes:t,blockNum:2}),(0,P.createElement)(xa,{attributes:t,blockNum:3}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:".vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:""},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:'<i class="fas fa-file"></i>'},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:""};return t}(),save:function(e){var t,n=e.attributes,o=e.className;return t=o?"".concat(o," vk_prBlocks row"):"vk_prBlocks row",(0,P.createElement)("div",{className:t},(0,P.createElement)(Ea,{attributes:n,blockNum:1,for_:"save"}),(0,P.createElement)(Ea,{attributes:n,blockNum:2,for_:"save"}),(0,P.createElement)(Ea,{attributes:n,blockNum:3,for_:"save"}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:"h3.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}(),save:function(e){var t,n=e.attributes,o=e.className;return t=o?"".concat(o," vk_prBlocks row"):"vk_prBlocks row",(0,P.createElement)("div",{className:t},(0,P.createElement)(ya,{attributes:n,blockNum:1,for_:"save"}),(0,P.createElement)(ya,{attributes:n,blockNum:2,for_:"save"}),(0,P.createElement)(ya,{attributes:n,blockNum:3,for_:"save"}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:"h1.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}(),save:function(e){var t=e.attributes;return(0,P.createElement)("div",{className:"vk_prBlocks row"},(0,P.createElement)(ga,{attributes:t,blockNum:1,for_:"save"}),(0,P.createElement)(ga,{attributes:t,blockNum:2,for_:"save"}),(0,P.createElement)(ga,{attributes:t,blockNum:3,for_:"save"}))}},{attributes:function(e){for(var t={},n=1;n<=4;n++)t["heading"+n]={type:"string",source:"html",selector:"h3.vk_prBlocks_item_title-"+n},t["content"+n]={type:"string",source:"html",selector:"p.vk_prBlocks_item_summary-"+n},t["url"+n]={type:"string",default:null},t["urlOpenType"+n]={type:"Boolean",default:!1},t["icon"+n]={type:"string",default:"fas fa-file"},t["color"+n]={type:"string",default:"#0693e3"},t["bgType"+n]={type:"string",default:"0"},t["insertImage"+n]={type:"string",default:null};return t}(),save:function(e){var t=e.attributes,n=t.heading1,o=t.heading2,a=t.heading3,r=t.content1,l=t.content2,c=t.content3,i=t.url1,s=t.url2,u=t.url3,m=t.urlOpenType1,p=t.urlOpenType2,v=t.urlOpenType3,f=t.icon1,b=t.icon2,k=t.icon3,_=t.color1,d=t.color2,h=t.color3,g=t.bgType1,y=t.bgType2,E=t.bgType3,x=t.insertImage1,C=t.insertImage2,N=t.insertImage3;return(0,P.createElement)("div",{className:"vk_prBlocks row"},(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:i,target:m?"_blank":"_self",className:"vk_prBlocks_item_link"},x?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+x+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},(0,P.createElement)("img",{src:x,alt:""})):(_||(_="#0693e3",g="0"),"0"===g?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:_,border:"1px solid ".concat(_)}},(0,P.createElement)("i",{className:"".concat(f," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+_}},(0,P.createElement)("i",{className:"".concat(f," vk_prBlocks_item_icon"),style:{color:_}}))),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-1",tagName:"h1",value:n}),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-1",tagName:"p",value:r}))),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:s,target:p?"_blank":"_self",className:"vk_prBlocks_item_link"},C?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+C+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},(0,P.createElement)("img",{src:C,alt:""})):(d||(d="#0693e3",y="0"),"0"===y?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:d,border:"1px solid ".concat(d)}},(0,P.createElement)("i",{className:"".concat(b," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+d}},(0,P.createElement)("i",{className:"".concat(b," vk_prBlocks_item_icon"),style:{color:d}}))),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-2",tagName:"h1",value:o}),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-2",tagName:"p",value:l}))),(0,P.createElement)("div",{className:"vk_prBlocks_item col-sm-4"},(0,P.createElement)("a",{href:u,target:v?"_blank":"_self",className:"vk_prBlocks_item_link"},N?(0,P.createElement)("div",{className:"vk_prBlocks_item_image",style:{backgroundImage:"url("+N+")",backgroundRepeat:"no-repeat 50% center",backgroundSize:"cover"}},(0,P.createElement)("img",{src:N,alt:""})):(h||(h="#0693e3",E="0"),"0"===E?(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:h,border:"1px solid ".concat(h)}},(0,P.createElement)("i",{className:"".concat(k," vk_prBlocks_item_icon"),style:{color:"#fff"}})):(0,P.createElement)("div",{className:"vk_prBlocks_item_icon_outer",style:{backgroundColor:"transparent",border:"1px solid "+h}},(0,P.createElement)("i",{className:"".concat(k," vk_prBlocks_item_icon"),style:{color:h}}))),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_title vk_prBlocks_item_title-3",tagName:"h1",value:a}),(0,P.createElement)(Q.RichText.Content,{className:"vk_prBlocks_item_summary vk_prBlocks_item_summary-3",tagName:"p",value:c}))))}}],Ia=ba.name,Ra={icon:(0,P.createElement)((function(e){return G.createElement("svg",fa({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ia||(ia=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.15 7.88A3 3 0 0 1 3 2a3 3 0 1 1-.85 5.88zm.25-4.01V3.2h1.2v.67H2.4zm0 2.93V4.4h1.2v2.4H2.4zm8.75 1.08A3 3 0 0 1 12 2a3 3 0 1 1-.85 5.88zm.25-4.01V3.2h1.2v.67h-1.2zm0 2.93V4.4h1.2v2.4h-1.2zm8.75 1.08A3 3 0 0 1 21 2a3 3 0 1 1-.85 5.88zm.25-4.01V3.2h1.2v.67h-1.2zm0 2.93V4.4h1.2v2.4h-1.2z",fill:"#000"})),sa||(sa=G.createElement("path",{d:"M24 10v1h-6v-1h6zm0 2v1h-6v-1h6zm0 2v1h-6v-1h6zm-9-3v-1H9v1h6zm0 2v-1H9v1h6zm0 2v-1h-2.77c.2.3.3.65.27 1H15zm-9-5v1H0v-1h6zm-2.63 3 .14-.41c.08-.23.2-.43.37-.59H0v1h3.37zm7.52 1.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),ua||(ua=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{heading1:H,heading2:H,heading3:H,content1:F,content2:F,content3:F,url1:V,url2:V,url3:V,urlOpenType1:!1,urlOpenType2:!1,urlOpenType3:!1,icon1:L,icon2:L,icon3:L,color1:D,color2:D,color3:D,bgType1:"0",bgType2:"0",bgType3:"0",insertImage1:"",insertImage2:"",insertImage3:""},edit:function(e){var t=e.attributes,n=e.setAttributes,o=t.url1,a=t.url2,r=t.url3,l=t.urlOpenType1,c=t.urlOpenType2,i=t.urlOpenType3,s=t.bgType1,u=t.bgType2,m=t.bgType3,p=t.insertImage1,v=t.insertImage2,f=t.insertImage3,b=vkFontAwesome.iconFamily,k=(0,Q.useBlockProps)({className:"vk_prBlocks row"}),_=function(e){if(ka(e))return e?(0,P.createElement)("img",{className:"icon-image",src:e,alt:(0,M.__)("Upload image","vk-blocks")}):(0,M.__)("Select image","vk-blocks");var t=JSON.parse(_a(e));return e?(0,P.createElement)("img",{className:"icon-image",src:t.sizes.full.url,alt:t.alt}):(0,M.__)("Select image","vk-blocks")};return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("PR Block1 Setting","vk-blocks")},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Link URL:","vk-blocks"),id:"vk_prBlocks_linkUrl1"},(0,P.createElement)(ne.TextControl,{value:o,onChange:function(e){return n({url1:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:l,onChange:function(e){return n({urlOpenType1:e})}})),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon 1","vk-blocks")+" ( "+b+" )",id:"vk_prBlocks_Icon1"},(0,P.createElement)(Ke,Ne({attributeName:"icon1"},e)),(0,P.createElement)(Pe,Ne({schema:"color1"},e)),(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Icon Background:","vk-blocks"),selected:s,options:[{label:(0,M.__)("Solid color","vk-blocks"),value:"0"},{label:(0,M.__)("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType1:e})}})),(0,P.createElement)(ne.BaseControl,{help:(0,M.__)("When you have an image. Image is displayed with priority","vk-blocks")},(0,P.createElement)("h4",{className:"components-base-control__title"},(0,M.__)("PR Image 1","vk-blocks")),(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){ka(e)?n({insertImage1:e.url}):n({insertImage1:JSON.stringify(e)})},type:"image",value:p,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:p?"image-button":"button button-large"},_(p))}}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("PR Block2 Setting","vk-blocks")},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Link URL:","vk-blocks"),id:"vk_prBlocks_linkUrl2"},(0,P.createElement)(ne.TextControl,{value:a,onChange:function(e){return n({url2:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:c,onChange:function(e){return n({urlOpenType2:e})}})),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon 2","vk-blocks")+" ( "+b+" )",id:"vk_prBlocks_Icon2"},(0,P.createElement)(Ke,Ne({attributeName:"icon2"},e)),(0,P.createElement)(Pe,Ne({schema:"color2"},e)),(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Icon Background:","vk-blocks"),selected:u,options:[{label:(0,M.__)("Solid color","vk-blocks"),value:"0"},{label:(0,M.__)("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType2:e})}})),(0,P.createElement)(ne.BaseControl,{help:(0,M.__)("When you have an image. Image is displayed with priority.","vk-blocks")},(0,P.createElement)("h4",{className:"components-base-control__title"},(0,M.__)("PR Image 2","vk-blocks")),(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){ka(e)?n({insertImage2:e.url}):n({insertImage2:JSON.stringify(e)})},type:"image",value:v,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:v?"image-button":"button button-large"},_(v))}}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("PR Block3 Setting","vk-blocks")},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Link URL:","vk-blocks"),id:"vk_prBlocks_linkUrl3"},(0,P.createElement)(ne.TextControl,{value:r,onChange:function(e){return n({url3:e})}}),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:i,onChange:function(e){return n({urlOpenType3:e})}})),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Icon 3","vk-blocks")+" ( "+b+" )",id:"vk_prBlocks_Icon3"},(0,P.createElement)(Ke,Ne({attributeName:"icon3"},e)),(0,P.createElement)(Pe,Ne({schema:"color3"},e)),(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Icon Background:","vk-blocks"),selected:m,options:[{label:(0,M.__)("Solid color","vk-blocks"),value:"0"},{label:(0,M.__)("No background","vk-blocks"),value:"1"}],onChange:function(e){return n({bgType3:e})}})),(0,P.createElement)(ne.BaseControl,{help:(0,M.__)("When you have an image. Image is displayed with priority.","vk-blocks")},(0,P.createElement)("h4",{className:"components-base-control__title"},(0,M.__)("PR Image 3","vk-blocks")),(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){ka(e)?n({insertImage3:e.url}):n({insertImage3:JSON.stringify(e)})},type:"image",value:f,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:f?"image-button":"button button-large"},_(f))}})))),(0,P.createElement)("div",k,(0,P.createElement)(da,{attributes:t,setAttributes:n,blockNum:1}),(0,P.createElement)(da,{attributes:t,setAttributes:n,blockNum:2}),(0,P.createElement)(da,{attributes:t,setAttributes:n,blockNum:3})))},save:function(e){var t=e.attributes,n=Q.useBlockProps.save({className:"vk_prBlocks row"});return(0,P.createElement)("div",n,(0,P.createElement)(ha,{attributes:t,blockNum:1}),(0,P.createElement)(ha,{attributes:t,blockNum:2}),(0,P.createElement)(ha,{attributes:t,blockNum:3}))},deprecated:Sa};function Aa(){return Aa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Aa.apply(this,arguments)}var Oa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,o=e.fontAwesomeIconAfter,a="",r="";return n&&(a=(0,P.createElement)("i",{className:"".concat(n," vk_button_link_before")})),o&&(r=(0,P.createElement)("i",{className:"".concat(o," vk_button_link_after")})),(0,P.createElement)(P.Fragment,null,a,(0,P.createElement)("span",{className:"vk_button_link_txt"},t),r)}}]),a}(P.Component);var za=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=this.props.setAttributes,k=this.props.className,_=this.props.for_,d="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};return d="right"===f?De()(k,d,"vk_prContent-layout-imageRight"):De()(k,d,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=null==v?"none":"1px solid ".concat(v),(0,P.createElement)("div",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===_?(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}}):p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks")),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===_?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y,rel:"noopener noreferrer"},(0,P.createElement)(Oa,{attributes:t})))}()))}}]),a}(P.Component);var Pa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,o=e.content,a=e.contentColor,r=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,u=e.buttonTarget,m=e.Image,p=e.ImageBorderColor,v=e.layout,f=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),b=this.props.for_,k="vk_prContent",_="vk_button",d="btn btn-block vk_button_link vk_prContent_colTxt_btn",h={};return k="".concat(k,"right"===v?" vk_prContent-layout-imageRight":" vk_prContent-layout-imageLeft"),i?(_="".concat(_," vk_button-color-custom"),d="".concat(d," btn-primary"),"0"===l?h={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(h={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(d="".concat(d," btn-").concat(c),h=null):"1"===l&&(d="".concat(d," btn-outline-").concat(c),h=null)),(0,P.createElement)("div",{className:k},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===b?(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return f({Image:e.sizes.full.url})},type:" image",value:m,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:m?"image-button":"button button-large"},m?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:m,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:"1px solid ".concat(p)}}):(0,M.__)("Select image","vk-blocks"))}}):m?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:m,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:"1px solid ".concat(p)}}):(0,M.__)("Select image","vk-blocks")),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===b?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return f({title:e})},value:t,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:n}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return f({content:e})},value:o,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:a}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:o,style:{color:a}})),function(){if(""!==s&&void 0!==s)return(0,P.createElement)("div",{className:_},(0,P.createElement)("a",{href:r,className:d,target:u?"_blank":null,style:h,rel:"noopener noreferrer"},(0,P.createElement)(Oa,{attributes:e})))}()))}}]),a}(P.Component),Ma=function(e){return function(e){try{JSON.parse(e)}catch(e){return!1}return!0}(e)||(e=e.replace(/u0022/g,'"')),e};function Fa(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Ye(e);if(t){var a=Ye(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return Xe(this,n)}}var ja=function(e){Ze(n,e);var t=Fa(n);function n(){return Ve(this,n),t.apply(this,arguments)}return We(n,[{key:"render",value:function(){var e=this.props.attributes,t=e.buttonText,n=e.fontAwesomeIconBefore,o=e.fontAwesomeIconAfter,a="",r="";return n&&(a=(0,P.createElement)("i",{className:"".concat(n," vk_button_link_before")})),o&&(r=(0,P.createElement)("i",{className:"".concat(o," vk_button_link_after")})),(0,P.createElement)(P.Fragment,null,a,(0,P.createElement)("span",{className:"vk_button_link_txt"},t),r)}}]),n}(P.Component),Ha=function(e){Ze(n,e);var t=Fa(n);function n(){return Ve(this,n),t.apply(this,arguments)}return We(n,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),k=this.props.className,_=this.props.for_,d="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};d="right"===f?De()(k,d,"vk_prContent-layout-imageRight"):De()(k,d,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(_)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===_?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y,rel:"noopener noreferrer"},(0,P.createElement)(ja,{attributes:t})))}()))}}]),n}(P.Component);var La=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.buttonText,o=t.fontAwesomeIconAfter,a="";return o&&!o.match(/<i/)&&(o='<i class="'.concat(o,'"></i>')),o&&((e=o.split(" "))[1]=" "+e[1]+" vk_button_link_after ",a=e.join("")),(0,P.createElement)(P.Fragment,null,(0,P.createElement)("span",{className:"vk_button_link_txt"},n),et(a))}}]),a}(P.Component);var Ua=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=this.props.setAttributes,k=this.props.className,_=this.props.for_,d="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={},E={};o&&""!==o&&(E={color:o});var x={};r&&""!==r&&(x={color:r}),d="right"===f?De()(k,d,"vk_prContent-layout-imageRight"):De()(k,d,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var C=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:C,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(_)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===_?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:E}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:x})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:E}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:x})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m&&"_blank",style:y,rel:m&&"noopener"},(0,P.createElement)(La,{attributes:t})))}()))}}]),a}(P.Component);var Da=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.title,n=e.titleColor,o=e.content,a=e.contentColor,r=e.url,l=e.buttonType,c=e.buttonColor,i=e.buttonColorCustom,s=e.buttonText,u=e.buttonTarget,m=e.Image,p=e.ImageBorderColor,v=e.layout,f=(e.fontAwesomeIconBefore,e.fontAwesomeIconAfter,this.props.setAttributes),b=this.props.for_,k="vk_prContent",_="vk_button",d="btn btn-block vk_button_link vk_prContent_colTxt_btn",h={};return k="".concat(k,"right"===v?" vk_prContent-layout-imageRight":" vk_prContent-layout-imageLeft"),i?(_="".concat(_," vk_button-color-custom"),d="".concat(d," btn-primary"),"0"===l?h={backgroundColor:i,border:"1px solid ".concat(i)}:"1"===l&&(h={backgroundColor:"transparent",border:"1px solid "+i,color:i})):i||("0"===l?(d="".concat(d," btn-").concat(c),h=null):"1"===l&&(d="".concat(d," btn-outline-").concat(c),h=null)),(0,P.createElement)("article",{className:k},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},"edit"===b?(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return f({Image:e.sizes.full.url})},type:" image",value:m,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:m?"image-button":"button button-large"},m?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:m,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:"1px solid ".concat(p)}}):(0,M.__)("Select image","vk-blocks"))}}):m?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:m,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:"1px solid ".concat(p)}}):(0,M.__)("Select image","vk-blocks")),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===b?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return f({title:e})},value:t,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:n}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return f({content:e})},value:o,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:a}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:t,className:"vk_prContent_colTxt_title",style:{color:n}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:o,style:{color:a}})),function(){if(""!==s&&void 0!==s)return(0,P.createElement)("div",{className:_},(0,P.createElement)("a",{href:r,className:d,target:u?"_blank":null,rel:"noopener noreferrer",style:h},(0,P.createElement)(Oa,{attributes:e})))}()))}}]),a}(P.Component);var Va=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t,n=this.props.attributes,o=n.buttonText,a=n.fontAwesomeIconBefore,r=n.fontAwesomeIconAfter,l="",c="";return a&&!a.match(/<i/)&&(a='<i class="'.concat(a,'"></i>')),r&&!r.match(/<i/)&&(r='<i class="'.concat(r,'"></i>')),a&&((e=a.split(" "))[1]=" "+e[1]+" vk_button_link_before ",l=e.join("")),r&&((t=r.split(" "))[1]=" "+t[1]+" vk_button_link_after ",c=t.join("")),(0,P.createElement)(P.Fragment,null,et(l),(0,P.createElement)("span",{className:"vk_button_link_txt"},o),et(c))}}]),a}(P.Component);var qa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),k=this.props.className,_=this.props.for_,d="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};d="right"===f?De()(k,d,"vk_prContent-layout-imageRight"):De()(k,d,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(_)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===_?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y,rel:"noopener noreferrer"},(0,P.createElement)(Va,{attributes:t})))}()))}}]),a}(P.Component);var Wa=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),k=this.props.className,_=this.props.for_,d="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};d="right"===f?De()(k,d,"vk_prContent-layout-imageRight"):De()(k,d,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(_)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===_?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y},(0,P.createElement)(Va,{attributes:t})))}()))}}]),a}(P.Component);var Ja=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),k=this.props.className,_=this.props.for_,d="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};d="right"===f?De()(k,d,"vk_prContent-layout-imageRight"):De()(k,d,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(_)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===_?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m?"_blank":null,style:y},(0,P.createElement)(Va,{attributes:t})))}()))}}]),a}(P.Component);var Za=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=(t.fontAwesomeIconBefore,t.fontAwesomeIconAfter,this.props.setAttributes),k=this.props.className,_=this.props.for_,d="vk_prContent",h="vk_button",g="btn btn-block vk_button_link vk_prContent_colTxt_btn",y={};d="right"===f?De()(k,d,"vk_prContent-layout-imageRight"):De()(k,d,"vk_prContent-layout-imageLeft"),s?(h="".concat(h," vk_button-color-custom"),g="".concat(g," btn-primary"),"0"===c?y={backgroundColor:s,border:"1px solid ".concat(s)}:"1"===c&&(y={backgroundColor:"transparent",border:"1px solid "+s,color:s})):s||("0"===c?(g="".concat(g," btn-").concat(i),y=null):"1"===c&&(g="".concat(g," btn-outline-").concat(i),y=null)),e=v?"1px solid ".concat(v):"none";var E=function(e){e&&b({Image:JSON.stringify(e)})};return(0,P.createElement)("div",{className:d},(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},function(t){if("edit"===t){if(p&&-1===p.indexOf("{"))return(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return b({Image:e.sizes.full.url})},type:" image",value:p,render:function(t){var n=t.open;return(0,P.createElement)(ne.Button,{onClick:n,className:p?"image-button":"button button-large"},p?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}}):(0,M.__)("Select image","vk-blocks"))}});var n=JSON.parse(Ma(p));return(0,P.createElement)(Q.MediaUpload,{onSelect:E,type:" image",value:n,render:function(t){var o=t.open;return(0,P.createElement)(ne.Button,{onClick:o,className:n?"image-button":"button button-large"},null===p||void 0===n.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:n.sizes.full.url,alt:n.alt,style:{border:e}}))}})}if("save"===t){if(!p)return(0,M.__)("Select image","vk-blocks");if(p&&-1===p.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:p,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:e}});var o=JSON.parse(Ma(p));return o&&void 0!==o.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:o.sizes.full.url,alt:o.alt,style:{border:e}}):""}}(_)),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},"edit"===_?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return b({title:e})},value:n,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:o}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return b({content:e})},value:a,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}})),function(){if(""!==u&&void 0!==u)return(0,P.createElement)("div",{className:h},(0,P.createElement)("a",{href:l,className:g,target:m&&"_blank",style:y,rel:m&&"noopener"},(0,P.createElement)(Va,{attributes:t})))}()))}}]),a}(P.Component),Ga=function(e){var t,n="";return e&&!e.match(/<i/)&&(e='<i class="'.concat(e,'"></i>')),e&&((t=e.split(" "))[1]=" "+t[1]+" vk_button_link_before ",n=t.join("")),n},Xa=function(e){var t=e.Image,n=e.ImageBorderColor;if(!t)return(0,M.__)("Select Image","vk-blocks");var o=function(e){var t="none";return e&&(t="1px solid ".concat(e)),t}(n);if(t&&-1===t.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:t,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:o}});var a=JSON.parse(Ma(t));return a&&void 0!==a.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:a.sizes.full.url,alt:a.alt,style:{border:o}}):void 0};function Ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ya(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ya(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ka,Qa,er,tr={title:{source:"html",selector:".vk_prContent_colTxt_title"},titleColor:{type:"string"},content:{source:"html",selector:".vk_prContent_colTxt_text"},contentColor:{type:"string"},url:{type:"string",default:null},buttonType:{type:"string",default:"0"},buttonColor:{type:"string",default:"primary"},buttonColorCustom:{type:"string",default:null},buttonText:{source:"html",selector:".vk_button_link_txt",default:""},buttonTarget:{type:"Boolean",default:!1},Image:{type:"string",default:null},ImageBorderColor:{type:"string",default:null},layout:{type:"string",default:"left"},fontAwesomeIconBefore:{type:"string"},fontAwesomeIconAfter:{type:"string"}},nr=$a($a({},tr),{},{titleColor:{type:"string",default:""},contentColor:{type:"string",default:""},url:{type:"string",default:""},buttonColorCustom:{type:"string",default:""},Image:{type:"string",default:"{}"},ImageBorderColor:{type:"string",default:""},fontAwesomeIconBefore:{type:"string",default:""},fontAwesomeIconAfter:{type:"string",default:""}}),or=$a($a({},nr),{},{fontAwesomeIconBefore:{type:"string",default:'<i class="fas fa-user"></i>'},fontAwesomeIconAfter:{type:"string",default:'<i class="fas fa-user"></i>'}}),ar=[{attributes:or,save:function(e){var t=e.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter,_=function(e){return"vk_prContent vk_prContent-layout-image".concat("right"===e?"Right":"Left")}(f),d=function(e){var t="vk_button";return e&&(t="".concat(t," vk_button-color-custom")),t}(s),h=function(e,t,n){var o="btn btn-block vk_button_link vk_prContent_colTxt_btn";return t?o="".concat(o," btn-primary"):t||("0"===n?o="".concat(o," btn-").concat(e):"1"===n&&(o="".concat(o," btn-outline-").concat(e))),o}(i,s,c),g=function(e,t){var n=null;return"0"===t?n={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===t&&(n={backgroundColor:"transparent",border:"1px solid "+e,color:e}),n}(s,c),y=Ga(b),E=Ga(k);return(0,P.createElement)("div",Q.useBlockProps.save({className:_}),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},(0,P.createElement)(Xa,{Image:p,ImageBorderColor:v})),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}}),u&&(0,P.createElement)("div",{className:d},(0,P.createElement)("a",{href:l,className:h,rel:m?"noopener noreferrer":void 0,style:g,target:m?"_blank":void 0},et(y),(0,P.createElement)("span",{className:"vk_button_link_txt"},u),et(E)))))}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Ua,{attributes:t,className:n,for_:"save"})}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Za,{attributes:t,className:n,for_:"save"})}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Ja,{attributes:t,className:n,for_:"save"})}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Wa,{attributes:t,className:n,for_:"save"})}},{attributes:or,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(qa,{attributes:t,className:n,for_:"save"})}},{attributes:nr,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Da,{attributes:t,className:n,for_:"save"})}},{attributes:nr,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(Ha,{attributes:t,className:n,for_:"save"})}},{attributes:tr,save:function(e){var t=e.attributes;return e.className,(0,P.createElement)(Pa,{attributes:t,for_:"save"})}},{attributes:tr,save:function(e){var t=e.attributes,n=e.className;return(0,P.createElement)(za,{attributes:t,className:n,for_:"save"})}}],rr=ar,lr=function(e){return"vk_prContent vk_prContent-layout-image".concat("right"===e?"Right":"Left")},cr=function(e){var t="vk_button";return e&&(t="".concat(t," vk_button-color-custom")),t},ir=function(e,t,n){var o="btn btn-block vk_button_link vk_prContent_colTxt_btn";return t?o="".concat(o," btn-primary"):t||("0"===n?o="".concat(o," btn-").concat(e):"1"===n&&(o="".concat(o," btn-outline-").concat(e))),o},sr=function(e,t){var n=null;return"0"===t?n={backgroundColor:e,border:"1px solid ".concat(e)}:"1"===t&&(n={backgroundColor:"transparent",border:"1px solid "+e,color:e}),n},ur=function(e,t){var n,o="";return e&&!e.match(/<i/)&&(e='<i class="'.concat(e,'"></i>')),e&&((n=e.split(" "))[1]=" "+n[1]+" "+t+" ",o=n.join("")),o},mr=function(e){var t="none";return e&&(t="1px solid ".concat(e)),t},pr=function(e){var t,n=e.ImageBorderColor,o=e.setAttributes,a=e.Image,r=mr(n),l={};(t=a)&&-1===t.indexOf("{")?(l.setImage=function(e){return o({Image:e.sizes.full.url})},l.value=a,l.alt=(0,M.__)("Upload image","vk-blocks"),l.getImagePlaceHolder=function(e,t){return e?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:e,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:t}}):(0,M.__)("Select image","vk-blocks")}):(l.setImage=function(e){if(e){var t={alt:e.alt,sizes:{full:{url:e.sizes.full.url}}};o({Image:JSON.stringify(t)})}},l.value=JSON.parse(Ma(a)),l.alt=l.value.alt,l.getImagePlaceHolder=function(e,t){return null===(e=JSON.parse(Ma(e)))||void 0===e.sizes?(0,M.__)("Select image","vk-blocks"):(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:e.sizes.full.url,alt:e.alt,style:{border:t}})});var c=null!=a&&""!==a&&"{}"!==a;return(0,P.createElement)(Q.MediaUpload,{onSelect:l.setImage,type:"image",value:l.value,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:c?"image-button":"button button-large"},l.getImagePlaceHolder(a,r))}})},vr=function(e){var t=e.Image,n=e.ImageBorderColor;if(!t)return(0,M.__)("Select Image","vk-blocks");var o=mr(n);if(t&&-1===t.indexOf("{"))return(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:t,alt:(0,M.__)("Upload image","vk-blocks"),style:{border:o}});var a=JSON.parse(Ma(t));return a&&void 0!==a.sizes?(0,P.createElement)("img",{className:"vk_prContent_colImg_image",src:a.sizes.full.url,alt:a.alt,style:{border:o}}):void 0},fr=JSON.parse('{"apiVersion":2,"name":"vk-blocks/pr-content","title":"PR Content","description":"This is PR content where you can place images, headlines, text, and buttons.","category":"vk-blocks-cat","attributes":{"title":{"source":"html","selector":".vk_prContent_colTxt_title"},"titleColor":{"type":"string","default":""},"content":{"source":"html","selector":".vk_prContent_colTxt_text"},"contentColor":{"type":"string","default":""},"url":{"type":"string","default":""},"buttonType":{"type":"string","default":"0"},"buttonColor":{"type":"string","default":"primary"},"buttonColorCustom":{"type":"string","default":""},"buttonText":{"source":"html","selector":".vk_button_link_txt","default":""},"buttonTarget":{"type":"Boolean","default":false},"Image":{"type":"string","default":"{}"},"ImageBorderColor":{"type":"string","default":""},"layout":{"type":"string","default":"left"},"fontAwesomeIconBefore":{"type":"string","default":"<i class=\'fas fa-user\'></i>"},"fontAwesomeIconAfter":{"type":"string","default":"<i class=\'fas fa-user\'></i>"}},"textdomain":"vk-blocks","supports":{"className":true}}'),br=fr.name,kr={icon:(0,P.createElement)((function(e){return G.createElement("svg",Aa({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ca||(Ca=G.createElement("path",{d:"M12 3H1v9.5h2.55a1.6 1.6 0 0 0-.04.09l-.24.69H0V2h13v11.5h-1.29a1.6 1.6 0 0 0-.82-.22H8.62c.02-.26-.02-.53-.12-.78H12V3zm3 1.5h9v1h-9v-1zM24 7h-9v1h9V7zm0-5h-9v1h9V2zm-6.5 9h4v1h-4v-1z",fill:"#000"})),Na||(Na=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 10.7c0-.32.13-.62.37-.85.23-.22.55-.35.88-.35h6.5c.33 0 .65.13.88.35.24.23.37.53.37.85v1.6c0 .32-.13.62-.37.85-.23.22-.55.35-.88.35h-6.5c-.33 0-.65-.13-.88-.35a1.18 1.18 0 0 1-.37-.85v-1.6zm1.25-.4a.43.43 0 0 0-.3.12.4.4 0 0 0-.12.28v1.6a.43.43 0 0 0 .42.4h6.5c.11 0 .22-.04.3-.12a.4.4 0 0 0 .12-.28v-1.6a.4.4 0 0 0-.13-.28.43.43 0 0 0-.29-.12h-6.5z",fill:"#000"})),Ta||(Ta=G.createElement("path",{d:"M5.62 6a1 1 0 0 1-1 .99 1 1 0 0 1-1-1 1 1 0 0 1 2 0zm5.48 4.83H2.15c-.42 0-.67-.52-.43-.9l1.44-2.2a.5.5 0 0 1 .85 0l.95 1.43c.2.3.6.33.82.04l2.2-2.8a.5.5 0 0 1 .79 0l2.73 3.5c.29.36.05.93-.4.93zm-.21 3.95H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Ba||(Ba=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{attributes:{title:F,titleColor:D,content:j,contentColor:D,url:V,buttonType:"0",buttonColor:"primary",buttonColorCustom:"",buttonText:H,buttonTarget:!1,Image:U,ImageBorderColor:D,layout:"left",fontAwesomeIconBefore:L,fontAwesomeIconAfter:L}},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.clientId,a=t.title,r=t.titleColor,l=t.content,c=t.contentColor,i=t.url,s=t.buttonType,u=t.buttonColor,m=t.buttonColorCustom,p=t.buttonText,v=t.buttonTarget,f=t.Image,b=t.ImageBorderColor,k=t.layout,_=t.fontAwesomeIconBefore,d=t.fontAwesomeIconAfter,h=vkFontAwesome.iconFamily,g=lr(k),y=cr(m),E=ir(u,m,s),x=sr(m,s),C=ur(_,"vk_button_link_before"),N=ur(d,"vk_button_link_after"),T=(0,Q.useBlockProps)({className:g});return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Color Setting","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_titleColor-".concat(o),label:(0,M.__)("Title Color","vk-blocks")},(0,P.createElement)(Q.ColorPalette,{value:r,onChange:function(e){return n({titleColor:e})}})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_contentColor-".concat(o),label:(0,M.__)("Content Color","vk-blocks")},(0,P.createElement)(Q.ColorPalette,{value:c,onChange:function(e){return n({contentColor:e})}})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_image-borderColor-".concat(o),label:(0,M.__)("Image Border Color","vk-blocks")},(0,P.createElement)(Q.ColorPalette,{value:b,onChange:function(e){return n({ImageBorderColor:e})}}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Button Setting","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_buttonText-".concat(o),label:(0,M.__)("Button Text","vk-blocks")},(0,P.createElement)(ne.TextControl,{value:p,onChange:function(e){return n({buttonText:e})},placeholder:"Input button text."})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_linkUrl-".concat(o),label:(0,M.__)("Link URL","vk-blocks")},(0,P.createElement)(ne.TextControl,{value:i,onChange:function(e){return n({url:e})},placeholder:"https://vektor-inc.co.jp/"})),(0,P.createElement)(ne.CheckboxControl,{label:(0,M.__)("Open link new tab.","vk-blocks"),checked:v,onChange:function(e){return n({buttonTarget:e})}}),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_buttonType-".concat(o),label:(0,M.__)("Button Type","vk-blocks")},(0,P.createElement)(ne.RadioControl,{selected:s,options:[{label:(0,M.__)("Solid","vk-blocks"),value:"0"},{label:(0,M.__)("Ghost","vk-blocks"),value:"1"}],onChange:function(e){return n({buttonType:e})}})),(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Default Color:","vk-blocks"),selected:u,options:[{label:(0,M.__)("Primary","vk-blocks"),value:"primary"},{label:(0,M.__)("Secondary","vk-blocks"),value:"secondary"},{label:(0,M.__)("Success","vk-blocks"),value:"success"},{label:(0,M.__)("Info","vk-blocks"),value:"info"},{label:(0,M.__)("Warning","vk-blocks"),value:"warning"},{label:(0,M.__)("Danger","vk-blocks"),value:"danger"},{label:(0,M.__)("Light","vk-blocks"),value:"light"},{label:(0,M.__)("Dark","vk-blocks"),value:"dark"}],onChange:function(e){return n({buttonColor:e})}}),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_buttonColor-".concat(o),label:(0,M.__)("Button Color","vk-blocks")},(0,P.createElement)(Q.ColorPalette,{value:m,onChange:function(e){return n({buttonColorCustom:e})}})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_icon-".concat(o)},(0,P.createElement)("h4",{className:"mt-0 mb-2"},(0,M.__)("Icon","vk-blocks")+" ( "+h+" )"),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_icon_beforeText".concat(o),label:(0,M.__)("Before text","vk-blocks")},(0,P.createElement)(Ke,{attributeName:"fontAwesomeIconBefore",attributes:t,setAttributes:n})),(0,P.createElement)(ne.BaseControl,{id:"vk_prContent_icon_afterText-".concat(o),label:(0,M.__)("After text","vk-blocks")},(0,P.createElement)(Ke,{attributeName:"fontAwesomeIconAfter",attributes:t,setAttributes:n})))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Layout Setting","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Layout Type","vk-blocks"),selected:k,options:[{label:(0,M.__)("Right","vk-blocks"),value:"right"},{label:(0,M.__)("Left","vk-blocks"),value:"left"}],onChange:function(e){return n({layout:e})}}))),(0,P.createElement)("div",T,(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},(0,P.createElement)(pr,{ImageBorderColor:b,setAttributes:n,Image:f})),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_prContent_colTxt_title",onChange:function(e){return n({title:e})},value:a,placeholder:(0,M.__)("Input title.","vk-blocks"),style:{color:r}}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_prContent_colTxt_text",onChange:function(e){return n({content:e})},value:l,placeholder:(0,M.__)("Input content.","vk-blocks"),style:{color:c}}),p&&(0,P.createElement)("div",{className:y},(0,P.createElement)("a",{href:i,className:E,target:v?"_blank":void 0,style:x,rel:v?"noopener noreferrer":void 0},et(C),(0,P.createElement)("span",{className:"vk_button_link_txt"},p),et(N))))))},save:function(e){var t=e.attributes,n=t.title,o=t.titleColor,a=t.content,r=t.contentColor,l=t.url,c=t.buttonType,i=t.buttonColor,s=t.buttonColorCustom,u=t.buttonText,m=t.buttonTarget,p=t.Image,v=t.ImageBorderColor,f=t.layout,b=t.fontAwesomeIconBefore,k=t.fontAwesomeIconAfter,_=lr(f),d=cr(s),h=ir(i,s,c),g=sr(s,c),y=ur(b,"vk_button_link_before"),E=ur(k,"vk_button_link_after");return(0,P.createElement)("div",Q.useBlockProps.save({className:_}),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colImg"},(0,P.createElement)(vr,{Image:p,ImageBorderColor:v})),(0,P.createElement)("div",{className:"col-sm-6 vk_prContent_colTxt"},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",value:n,className:"vk_prContent_colTxt_title",style:{color:o}}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_prContent_colTxt_text",value:a,style:{color:r}}),u&&(0,P.createElement)("div",{className:d},(0,P.createElement)("a",{href:l,className:h,rel:m?"noopener noreferrer":void 0,style:g,target:m?"_blank":void 0},et(y),(0,P.createElement)("span",{className:"vk_button_link_txt"},u),et(E)))))},deprecated:rr};function _r(){return _r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},_r.apply(this,arguments)}var dr=JSON.parse('{"apiVersion":2,"name":"vk-blocks/spacer","title":"Responsive Spacer","description":"Use responsive spacers to get the margins right.","category":"vk-blocks-cat","attributes":{"anchor":{"type":"string","default":null},"spaceType":{"type":"string","default":"margin-top"},"unit":{"type":"string","default":"px"},"pc":{"type":"number","default":40},"tablet":{"type":"number","default":30},"mobile":{"type":"number","default":20},"spaceSize":{"type":"string","default":"medium"}},"textdomain":"vk-blocks","supports":{"anchor":true}}');var hr=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.unit,n=e.pc,o=e.tablet,a=e.mobile;return(0,P.createElement)("div",{className:"vk_spacer"},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{height:n+t}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{height:o+t}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{height:a+t}}))}}]),a}(P.Component);var gr=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.unit,n=e.pc,o=e.tablet,a=e.mobile,r=this.props.className;return(0,P.createElement)("div",{className:"".concat(r," vk_spacer")},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{height:n+t}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{height:o+t}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{height:a+t}}))}}]),a}(P.Component);var yr=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.anchor,n=e.unit,o=e.pc,a=e.tablet,r=e.mobile,l=this.props.className;return(0,P.createElement)("div",{id:t,className:De()("vk_spacer",l)},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{height:o+n}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{height:a+n}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{height:r+n}}))}}]),a}(P.Component);var Er=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.anchor,n=e.spaceType,o=e.unit,a=e.pc,r=e.tablet,l=e.mobile,c=this.props.className;return"height"===n?(0,P.createElement)("div",{id:t,className:De()("vk_spacer",c)},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{height:a+o}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{height:r+o}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{height:l+o}})):"margin-top"===n?(0,P.createElement)("div",{id:t,className:De()("vk_spacer",c)},(0,P.createElement)("div",{className:"vk_spacer-display-pc",style:{marginTop:a+o}}),(0,P.createElement)("div",{className:"vk_spacer-display-tablet",style:{marginTop:r+o}}),(0,P.createElement)("div",{className:"vk_spacer-display-mobile",style:{marginTop:l+o}})):void 0}}]),a}(P.Component),xr=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function Cr(e){var t=e.type,n=e.pcSize,o=e.tabletSize,a=e.mobileSize,r=e.unit;return"margin-top"===t?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(xr,{viewPort:"pc",style:{marginTop:n+r}}),(0,P.createElement)(xr,{viewPort:"tablet",style:{marginTop:o+r}}),(0,P.createElement)(xr,{viewPort:"mobile",style:{marginTop:a+r}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(xr,{viewPort:"pc",style:{height:n+r}}),(0,P.createElement)(xr,{viewPort:"tablet",style:{height:o+r}}),(0,P.createElement)(xr,{viewPort:"mobile",style:{height:a+r}}))}var Nr=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function Tr(e){var t=e.spaceSize,n=e.type,o=e.pcSize,a=e.tabletSize,r=e.mobileSize,l=e.unit,c={small:"vk_block-margin-sm",medium:"vk_block-margin-md",large:"vk_block-margin-lg"};return void 0!==t&&c[t]?(0,P.createElement)("div",{className:c[t]}):"margin-top"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Nr,{viewPort:"pc",style:{marginTop:o+l}}),(0,P.createElement)(Nr,{viewPort:"tablet",style:{marginTop:a+l}}),(0,P.createElement)(Nr,{viewPort:"mobile",style:{marginTop:r+l}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Nr,{viewPort:"pc",style:{height:o+l}}),(0,P.createElement)(Nr,{viewPort:"tablet",style:{height:a+l}}),(0,P.createElement)(Nr,{viewPort:"mobile",style:{height:r+l}}))}var Br=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function wr(e){var t=e.spaceSize,n=e.type,o=e.pcSize,a=e.tabletSize,r=e.mobileSize,l=e.unit,c={small:"vk_block-margin-sm",medium:"vk_block-margin-md",large:"vk_block-margin-lg"};return void 0!==t&&c[t]?(0,P.createElement)("div",{className:c[t]}):"margin-top"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Br,{viewPort:"pc",style:{marginTop:o+l}}),(0,P.createElement)(Br,{viewPort:"tablet",style:{marginTop:a+l}}),(0,P.createElement)(Br,{viewPort:"mobile",style:{marginTop:r+l}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Br,{viewPort:"pc",style:{height:o+l}}),(0,P.createElement)(Br,{viewPort:"tablet",style:{height:a+l}}),(0,P.createElement)(Br,{viewPort:"mobile",style:{height:r+l}}))}var Sr=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function Ir(e){var t=e.spaceSize,n=e.type,o=e.pcSize,a=e.tabletSize,r=e.mobileSize,l=e.unit,c={small:"vk_block-margin-sm",medium:"vk_block-margin-md",large:"vk_block-margin-lg"};return void 0!==t&&c[t]?"margin-top"===n?(0,P.createElement)("div",{className:c[t]+"--margin-top"}):"margin-bottom"===n?(0,P.createElement)("div",{className:c[t]+"--margin-bottom"}):(0,P.createElement)("div",{className:c[t]+"--height"}):"margin-top"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Sr,{viewPort:"pc",style:{marginTop:o+l}}),(0,P.createElement)(Sr,{viewPort:"tablet",style:{marginTop:a+l}}),(0,P.createElement)(Sr,{viewPort:"mobile",style:{marginTop:r+l}})):"margin-bottom"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Sr,{viewPort:"pc",style:{marginBottom:o+l}}),(0,P.createElement)(Sr,{viewPort:"tablet",style:{marginBottom:a+l}}),(0,P.createElement)(Sr,{viewPort:"mobile",style:{marginBottom:r+l}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Sr,{viewPort:"pc",style:{height:o+l}}),(0,P.createElement)(Sr,{viewPort:"tablet",style:{height:a+l}}),(0,P.createElement)(Sr,{viewPort:"mobile",style:{height:r+l}}))}function Rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Or={unit:{type:"string",default:"px"},pc:{type:"number",default:50},tablet:{type:"number",default:10},mobile:{type:"number",default:10},spaceType:{type:"string",default:"height"}},zr=Ar(Ar({},Or),{},{pc:{type:"number",default:40},tablet:{type:"number",default:30},mobile:{type:"number",default:20},anchor:{type:"string",default:null}}),Pr=Ar(Ar({},zr),{},{spaceSize:{type:"string",default:"medium"}}),Mr=[{attributes:Pr,save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile,i=t.spaceSize,s="vk_spacer";return"custom"!==i&&(s+=" vk_spacer-type-".concat(o)),(0,P.createElement)("div",Q.useBlockProps.save({className:s,id:n}),(0,P.createElement)(Ir,{spaceSize:i,type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))}},{attributes:Pr,save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile,i=t.spaceSize,s="vk_spacer";return"custom"!==i&&(s+=" vk_spacer-type-".concat(o)),(0,P.createElement)("div",Q.useBlockProps.save({className:s,id:n}),(0,P.createElement)(wr,{spaceSize:i,type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))}},{attributes:Pr,save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile,i=t.spaceSize;return(0,P.createElement)("div",Q.useBlockProps.save({className:De()("vk_spacer"),id:n}),(0,P.createElement)(Tr,{spaceSize:i,type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))}},{attributes:zr,save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile;return(0,P.createElement)("div",Q.useBlockProps.save({className:De()("vk_spacer"),id:n}),(0,P.createElement)(Cr,{type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))}},{attributes:zr,save:function(e){var t=e.attributes;return(0,P.createElement)(Er,{attributes:t})}},{attributes:zr,save:function(e){var t=e.attributes;return(0,P.createElement)(yr,{attributes:t})}},{attributes:Or,save:function(e){var t=e.attributes;return(0,P.createElement)(gr,{attributes:t})}},{attributes:Or,save:function(e){var t=e.attributes;return(0,P.createElement)(hr,{attributes:t})}}],Fr=function(e){var t=e.attributes,n=e.setAttributes,o=e.initial,a=t.pc,r=t.tablet,l=t.mobile,c=o.iPc,i=o.iTablet,s=o.iMobile;return a||(a=c),r||(r=i),l||(l=s),(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.TextControl,{label:(0,M.__)("PC","vk-blocks"),value:a,onChange:function(e){return n({pc:parseFloat(e)})},type:"number"}),(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Tablet","vk-blocks"),value:r,onChange:function(e){return n({tablet:parseFloat(e)})},type:"number"}),(0,P.createElement)(ne.TextControl,{label:(0,M.__)("Mobile","vk-blocks"),value:l,onChange:function(e){return n({mobile:parseFloat(e)})},type:"number"}))},jr=function(e){var t=e.attributes,n=e.setAttributes,o=t.unit;return(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Unit Type","vk-blocks"),value:o,onChange:function(e){return n({unit:e})},options:[{value:"px",label:(0,M.__)("px","vk-blocks")},{value:"em",label:(0,M.__)("em","vk-blocks")},{value:"rem",label:(0,M.__)("rem","vk-blocks")},{value:"vw",label:(0,M.__)("vw","vk-blocks")}]})},Hr=function(e){var t=e.attributes,n=e.setAttributes,o=t.spaceType;return(0,P.createElement)(ne.SelectControl,{label:(0,M.__)("Space Type","vk-blocks"),value:o,onChange:function(e){return n({spaceType:e})},options:[{value:"height",label:(0,M.__)("height","vk-blocks")},{value:"margin-top",label:(0,M.__)("margin-top","vk-blocks")},{value:"margin-bottom",label:(0,M.__)("margin-bottom","vk-blocks")}]})},Lr=function(e){var t=e.style,n=e.viewPort;return(0,P.createElement)("div",{className:"vk_spacer-display-".concat(n),style:t})};function Ur(e){var t=e.spaceSize,n=e.type,o=e.pcSize,a=e.tabletSize,r=e.mobileSize,l=e.unit,c={xs:"vk_block-margin-xs",small:"vk_block-margin-sm",medium:"vk_block-margin-md",large:"vk_block-margin-lg",xl:"vk_block-margin-xl"};return void 0!==t&&c[t]?"margin-top"===n?(0,P.createElement)("div",{className:c[t]+"--margin-top"}):"margin-bottom"===n?(0,P.createElement)("div",{className:c[t]+"--margin-bottom"}):(0,P.createElement)("div",{className:c[t]+"--height"}):"margin-top"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Lr,{viewPort:"pc",style:{marginTop:o+l}}),(0,P.createElement)(Lr,{viewPort:"tablet",style:{marginTop:a+l}}),(0,P.createElement)(Lr,{viewPort:"mobile",style:{marginTop:r+l}})):"margin-bottom"===n?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Lr,{viewPort:"pc",style:{marginBottom:o+l}}),(0,P.createElement)(Lr,{viewPort:"tablet",style:{marginBottom:a+l}}),(0,P.createElement)(Lr,{viewPort:"mobile",style:{marginBottom:r+l}})):(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Lr,{viewPort:"pc",style:{height:o+l}}),(0,P.createElement)(Lr,{viewPort:"tablet",style:{height:a+l}}),(0,P.createElement)(Lr,{viewPort:"mobile",style:{height:r+l}}))}var Dr,Vr,qr,Wr=dr.name,Jr={icon:(0,P.createElement)((function(e){return G.createElement("svg",_r({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ka||(Ka=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 0h16v1.5H8V0zm2.76 22.5H24V24H9.9c.55-.29.88-.89.86-1.5zm.75-5.92L15.93 21l5.3-5.3-1.03-1.03-3.55 3.55V5.78l3.21 3.2 1.03-1.02-2.48-2.48L15.93 3l-4.96 4.96L11.99 9l3.21-3.21v12.44l-2.79-2.79c-.07.2-.19.4-.35.57l-.55.58z",fill:"#000"})),Qa||(Qa=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),er||(er=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{anchor:null,spaceType:"height",unit:"px",pc:40,tablet:30,mobile:20,spaceSize:"custom"},edit:function(e){var t=e.attributes,n=e.setAttributes,o=e.className,a=e.clientId,r=e.anchor,l=t.spaceType,c=t.unit,i=t.pc,s=t.tablet,u=t.mobile,m=t.spaceSize,p="vk_spacer";"custom"!==m&&(p+=" vk_spacer-type-".concat(l)),(0,P.useEffect)((function(){void 0===m&&n({spaceSize:"custom"})}),[a]);var v=(0,Q.useBlockProps)({className:p,id:r}),f="custom"===m?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(jr,{attributes:t,setAttributes:n,className:o}),(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Height for each device.","vk-blocks"),id:"vk_spacer-viewPort-".concat(a)},(0,P.createElement)(Fr,{attributes:t,setAttributes:n,className:o,initial:{iPc:40,iTablet:30,iMobile:20},id:"vk_spacer-viewPort-".concat(a)}))):"";return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Spacer Settings","vk-blocks")},(0,P.createElement)(ne.ButtonGroup,{className:"mb-3"},(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"xs"===m,isSecondary:"xs"!==m,onClick:function(){return n({spaceSize:"xs"})}},(0,M.__)("XS","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"small"===m,isSecondary:"small"!==m,onClick:function(){return n({spaceSize:"small"})}},(0,M.__)("S","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"medium"===m,isSecondary:"medium"!==m,onClick:function(){return n({spaceSize:"medium"})}},(0,M.__)("M","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"large"===m,isSecondary:"large"!==m,onClick:function(){return n({spaceSize:"large"})}},(0,M.__)("L","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"xl"===m,isSecondary:"xl"!==m,onClick:function(){return n({spaceSize:"xl"})}},(0,M.__)("XL","vk-blocks")),(0,P.createElement)(ne.Button,{isSmall:!0,isPrimary:"custom"===m,isSecondary:"custom"!==m,onClick:function(){return n({spaceSize:"custom"})}},(0,M.__)("Custom","vk-blocks"))),(0,P.createElement)("p",null,(0,M.__)("You can change each common margin size from Setting > VK Blocks","vk-blocks")),(0,P.createElement)(Hr,{attributes:t,setAttributes:n,className:o}),f)),(0,P.createElement)("div",v,(0,P.createElement)(Ur,{spaceSize:m,type:l,pcSize:i,tabletSize:s,mobileSize:u,unit:c})))},save:function(e){var t=e.attributes,n=e.anchor,o=t.spaceType,a=t.unit,r=t.pc,l=t.tablet,c=t.mobile,i=t.spaceSize,s="vk_spacer";return"custom"!==i&&(s+=" vk_spacer-type-".concat(o)),(0,P.createElement)("div",Q.useBlockProps.save({className:s,id:n}),(0,P.createElement)(Ur,{spaceSize:i,type:o,pcSize:r,tabletSize:l,mobileSize:c,unit:a}))},deprecated:Mr};function Zr(){return Zr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Zr.apply(this,arguments)}var Gr=function(e){Ze(a,e);var t,n,o=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,o=Ye(t);if(n){var a=Ye(this).constructor;e=Reflect.construct(o,arguments,a)}else e=o.apply(this,arguments);return Xe(this,e)});function a(){return Ve(this,a),o.apply(this,arguments)}return We(a,[{key:"render",value:function(){var e=this.props.attributes,t=e.vk_staff_text_name,n=e.vk_staff_text_caption,o=e.vk_staff_text_role,a=e.vk_staff_text_profileTitle,r=e.vk_staff_text_profileText,l=e.vk_staff_photo_image,c=e.vk_staff_photo_image_alt,i=e.vk_staff_layout,s=e.vk_staff_nameColor,u=e.vk_staff_captionColor,m=e.vk_staff_positionColor,p=e.vk_staff_profileTitleColor,v=e.vk_staff_profileTextColor,f=e.vk_staff_photoBorder,b=e.vk_staff_fontFamily,k=this.props.setAttributes,_=this.props.className,d=this.props.for_,h="",g="vk_staff_text";return"1"===b&&(g=classnames(g,"vk_staff-headingFont-serif")),"edit"===d?h=(0,P.createElement)("div",{className:"".concat(_," vk_staff vk_staff-layout-").concat(i)},(0,P.createElement)("div",{className:g},(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_staff_text_name",style:{color:s},onChange:function(e){return k({vk_staff_text_name:e})},value:t,placeholder:(0,M.__)("Your Name","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_caption",style:{color:u},onChange:function(e){return k({vk_staff_text_caption:e})},value:n,placeholder:(0,M.__)("Caption","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_role",style:{color:m},onChange:function(e){return k({vk_staff_text_role:e})},value:o,placeholder:(0,M.__)("Role position","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:p},onChange:function(e){return k({vk_staff_text_profileTitle:e})},value:a,placeholder:(0,M.__)("Profile title","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_profileText",style:{color:v},onChange:function(e){return k({vk_staff_text_profileText:e})},value:r,placeholder:(0,M.__)("Profile text","vk-blocks")})),(0,P.createElement)("div",{className:"vk_staff_photo vk_staff_photo-border-".concat(f)},(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return k({vk_staff_photo_image:e.sizes.full.url})},type:"image",className:"vk_staff_photo_image",value:l,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:l?"image-button":"button button-large"},l?(0,P.createElement)("img",{className:"vk_staff_photo_image",src:l,alt:(0,M.__)(c,"vk-blocks")}):(0,M.__)("Select image","vk-blocks"))}}))):"save"===d&&(h=(0,P.createElement)("div",{className:"".concat(_," vk_staff vk_staff-layout-").concat(i)},(0,P.createElement)("div",{className:g},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",className:"vk_staff_text_name",style:{color:s},value:t}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_caption",style:{color:u},value:n}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_role",style:{color:m},value:o}),(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:p},value:a}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_profileText",style:{color:v},value:r})),l?(0,P.createElement)("div",{className:"vk_staff_photo vk_staff_photo-border-".concat(f)},(0,P.createElement)("img",{className:"vk_staff_photo_image",src:l,alt:c?(0,M.__)(c,"vk-blocks"):""})):"")),h}}]),a}(P.Component);function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Yr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $r={vk_staff_text_name:{type:"string",source:"html",selector:"h3"},vk_staff_text_caption:{type:"string",source:"html",selector:"p.vk_staff_text_caption"},vk_staff_text_role:{type:"string",source:"html",selector:"p.vk_staff_text_role"},vk_staff_text_profileTitle:{type:"string",source:"html",selector:"h4"},vk_staff_text_profileText:{type:"string",source:"html",selector:"p.vk_staff_text_profileText"},vk_staff_photo_image:{type:"string",default:""},vk_staff_photo_image_alt:{type:"string",default:"Profile Picture"},vk_staff_layout:{type:"string",default:"default"},vk_staff_nameColor:{type:"string",default:"inherit"},vk_staff_captionColor:{type:"string",default:"inherit"},vk_staff_positionColor:{type:"string",default:"inherit"},vk_staff_profileTitleColor:{type:"string",default:"inherit"},vk_staff_profileTextColor:{type:"string",default:"inherit"},vk_staff_photoBorder:{type:"string",default:"default"}},Kr=Yr(Yr({},$r),{},{vk_staff_fontFamily:{type:"string",default:"0"}}),Qr=[{attributes:Kr,save:function(e){var t,n=e.attributes,o=e.className,a=n.vk_staff_layout,r=n.vk_staff_text_name,l=n.vk_staff_text_caption,c=n.vk_staff_text_role,i=n.vk_staff_text_profileTitle,s=n.vk_staff_text_profileText,u=n.vk_staff_nameColor,m=n.vk_staff_captionColor,p=n.vk_staff_positionColor,v=n.vk_staff_profileTitleColor,f=n.vk_staff_profileTextColor,b=n.vk_staff_photo_image,k=n.vk_staff_photo_image_alt,_=n.vk_staff_photoBorder,d=n.vk_staff_fontFamily,g=De()("vk_staff",(h(t={},o,!!o),h(t,"vk_staff-layout-".concat(a),!!a),t)),y=De()("vk_staff_photo",h({},"vk_staff_photo-border-".concat(_),!!_)),E=De();return E="1"===d?De()("vk_staff_text",E,"vk_staff-headingFont-serif"):De()("vk_staff_text",E),(0,P.createElement)("div",Q.useBlockProps.save({className:g}),(0,P.createElement)("div",{className:E},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",className:"vk_staff_text_name",style:{color:u},value:r}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_caption",style:{color:m},value:l}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_role",style:{color:p},value:c}),(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:v},value:i}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_profileText",style:{color:f},value:s})),b&&(0,P.createElement)("div",{className:y},(0,P.createElement)("img",{className:"vk_staff_photo_image",src:b,alt:k})))}},{attributes:Kr,save:function(e){var t,n=e.attributes,o=e.className,a=n.vk_staff_layout,r=n.vk_staff_text_name,l=n.vk_staff_text_caption,c=n.vk_staff_text_role,i=n.vk_staff_text_profileTitle,s=n.vk_staff_text_profileText,u=n.vk_staff_nameColor,m=n.vk_staff_captionColor,p=n.vk_staff_positionColor,v=n.vk_staff_profileTitleColor,f=n.vk_staff_profileTextColor,b=n.vk_staff_photo_image,k=n.vk_staff_photo_image_alt,_=n.vk_staff_photoBorder,d=De()("vk_staff",(h(t={},o,!!o),h(t,"vk_staff-layout-".concat(a),!!a),t)),g=De()("vk_staff_photo",h({},"vk_staff_photo-border-".concat(_),!!_));return(0,P.createElement)("div",Q.useBlockProps.save({className:d}),(0,P.createElement)("div",{className:"vk_staff_text"},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",className:"vk_staff_text_name",style:{color:u},value:r}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_caption",style:{color:m},value:l}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_role",style:{color:p},value:c}),(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_staff_text_profileTitle",style:{color:v},value:i}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_profileText",style:{color:f},value:s})),b&&(0,P.createElement)("div",{className:g},(0,P.createElement)("img",{className:"vk_staff_photo_image",src:b,alt:k})))}},{attributes:$r,save:function(e){var t=e.attributes;return(0,P.createElement)(Gr,{attributes:t,setAttributes:"",className:"",for_:"save"})}}],el=JSON.parse('{"apiVersion":2,"name":"vk-blocks/staff","category":"vk-blocks-cat","title":"Staff","description":"Used for staff introduction, company introduction, school introduction, menu, etc.","textdomain":"vk-blocks","attributes":{"vk_staff_text_name":{"type":"string","source":"html","selector":"h3"},"vk_staff_text_caption":{"type":"string","source":"html","selector":"p.vk_staff_text_caption"},"vk_staff_text_role":{"type":"string","source":"html","selector":"p.vk_staff_text_role"},"vk_staff_text_profileTitle":{"type":"string","source":"html","selector":"h4"},"vk_staff_text_profileText":{"type":"string","source":"html","selector":"p.vk_staff_text_profileText"},"vk_staff_photo_image":{"type":"string","default":""},"vk_staff_photo_image_alt":{"type":"string","default":"Profile Picture"},"vk_staff_layout":{"type":"string","default":"default"},"vk_staff_nameColor":{"type":"string"},"vk_staff_captionColor":{"type":"string"},"vk_staff_positionColor":{"type":"string"},"vk_staff_profileTitleColor":{"type":"string"},"vk_staff_profileTextColor":{"type":"string"},"vk_staff_photoBorder":{"type":"string","default":"default"},"vk_staff_fontFamily":{"type":"string","default":"0"}},"supports":{"className":true}}'),tl=el.name,nl={icon:(0,P.createElement)((function(e){return G.createElement("svg",Zr({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Dr||(Dr=G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 4.5H2a.5.5 0 0 0-.5.5v8.28H0V5c0-1.1.9-2 2-2h20a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H10.04l-.44-1.41.08-.09H22a.5.5 0 0 0 .5-.5V5a.5.5 0 0 0-.5-.5zM8.1 11.9H12v1.2H8.62a1.7 1.7 0 0 0-.53-1.2zm-4.12 0c-.2.18-.37.42-.47.69l-.18.51H3v-1.2h.98zM12 10.6H3V9.4h9v1.2zM3 8h2V6H3v2zm6 0H7V6h2v2zm2 0h2V6h-2v2zm6.5 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm3.5 3.4c0 .33-.31.6-.7.6h-5.6c-.39 0-.7-.27-.7-.6v-.6c0-1 .94-1.8 2.1-1.8.14 0 .26.04.4.09.22.07.5.16 1 .16s.79-.1 1-.16c.15-.05.27-.09.4-.09 1.16 0 2.1.8 2.1 1.8v.6z",fill:"#000"})),Vr||(Vr=G.createElement("path",{d:"M10.89 14.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),qr||(qr=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))}),null),example:{attributes:{vk_staff_text_name:J,vk_staff_text_caption:Z,vk_staff_text_role:q,vk_staff_text_profileTitle:W,vk_staff_text_profileText:j,vk_staff_photo_image:U,vk_staff_layout:"default",vk_staff_nameColor:"inherit",vk_staff_captionColor:"inherit",vk_staff_positionColor:"inherit",vk_staff_profileTitleColor:"inherit",vk_staff_profileTextColor:"inherit",vk_staff_photoBorder:"default"}},edit:function(e){var t,n=e.attributes,o=e.setAttributes,a=e.className,r=e.clientId,l="vk_staff_name-color-".concat(r),c="vk_staff_caption-color-".concat(r),i="vk_staff_position-color-".concat(r),s="vk_staff_profileTitle-color-".concat(r),u="vk_staff_profileText-color-".concat(r),m=n.vk_staff_layout,p=n.vk_staff_nameColor,v=n.vk_staff_captionColor,f=n.vk_staff_positionColor,b=n.vk_staff_profileTitleColor,k=n.vk_staff_profileTextColor,_=n.vk_staff_photo_image_alt,d=n.vk_staff_photoBorder,g=n.vk_staff_text_name,y=n.vk_staff_text_caption,E=n.vk_staff_text_role,x=n.vk_staff_text_profileTitle,C=n.vk_staff_text_profileText,N=n.vk_staff_photo_image,T=n.vk_staff_fontFamily,B=De()("vk_staff",(h(t={},a,!!a),h(t,"vk_staff-layout-".concat(m),!!m),t)),w=(0,Q.useBlockProps)({className:B}),S=De()("vk_staff_photo",h({},"vk_staff_photo-border-".concat(d),!!d)),I=De();I="1"===T?De()("vk_staff_text",I,"vk_staff-headingFont-serif"):De()("vk_staff_text",I);var R={},A="";void 0!==p&&(A+=" has-text-color",pe(p)?R={color:"".concat(p)}:A+=" has-".concat(p,"-color"));var O={},z="";void 0!==v&&(z+=" has-text-color",pe(v)?O={color:"".concat(v)}:z+=" has-".concat(v,"-color"));var F={},j="";void 0!==f&&(j+=" has-text-color",pe(f)?F={color:"".concat(f)}:j+=" has-".concat(f,"-color"));var H={},L="";void 0!==b&&(L+=" has-text-color",pe(b)?H={color:"".concat(b)}:L+=" has-".concat(b,"-color"));var U={},D="";return void 0!==k&&(D+=" has-text-color",pe(k)?U={color:"".concat(k)}:D+=" has-".concat(k,"-color")),(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Layout","vk-blocks")},(0,P.createElement)(ne.SelectControl,{value:m,onChange:function(e){return o({vk_staff_layout:e})},options:[{value:"default",label:(0,M.__)("Default","vk-blocks")},{value:"imageLeft",label:(0,M.__)("Image left","vk-blocks")}]})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Image border","vk-blocks")},(0,P.createElement)(ne.SelectControl,{value:d,onChange:function(e){return o({vk_staff_photoBorder:e})},options:[{value:"default",label:(0,M.__)("Default","vk-blocks")},{value:"none",label:(0,M.__)("None","vk-blocks")}]})),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Alt text","vk-blocks")},(0,P.createElement)(ne.BaseControl,{help:(0,M.__)("Set the alt text for profile image","vk-blocks")},(0,P.createElement)(ne.TextControl,{value:_,onChange:function(e){return o({vk_staff_photo_image_alt:e})}}))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Color","vk-blocks")},(0,P.createElement)(ne.BaseControl,{id:l,label:(0,M.__)("Staff name","vk-blocks")},(0,P.createElement)(Pe,Ne({id:l,schema:"vk_staff_nameColor"},e))),(0,P.createElement)(ne.BaseControl,{id:c,label:(0,M.__)("Name caption","vk-blocks")},(0,P.createElement)(Pe,Ne({id:c,schema:"vk_staff_captionColor"},e))),(0,P.createElement)(ne.BaseControl,{id:i,label:(0,M.__)("Role position","vk-blocks")},(0,P.createElement)(Pe,Ne({id:i,schema:"vk_staff_positionColor"},e))),(0,P.createElement)(ne.BaseControl,{id:s,label:(0,M.__)("Profile title","vk-blocks")},(0,P.createElement)(Pe,Ne({id:s,schema:"vk_staff_profileTitleColor"},e))),(0,P.createElement)(ne.BaseControl,{id:u,label:(0,M.__)("Profile text","vk-blocks")},(0,P.createElement)(Pe,Ne({id:u,schema:"vk_staff_profileTextColor"},e)))),(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Heading Font","vk-blocks")},(0,P.createElement)(ne.RadioControl,{label:(0,M.__)("Font","vk-blocks"),selected:T,options:[{label:(0,M.__)("Unspecified","vk-blocks"),value:"0"},{label:(0,M.__)("minchoBody","vk-blocks"),value:"1"}],onChange:function(e){return o({vk_staff_fontFamily:e})}}))),(0,P.createElement)("div",w,(0,P.createElement)("div",{className:I},(0,P.createElement)(Q.RichText,{tagName:"h3",className:"vk_staff_text_name"+A,style:R,onChange:function(e){return o({vk_staff_text_name:e})},value:g,placeholder:(0,M.__)("Your Name","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_caption"+z,style:O,onChange:function(e){return o({vk_staff_text_caption:e})},value:y,placeholder:(0,M.__)("Caption","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_role"+j,style:F,onChange:function(e){return o({vk_staff_text_role:e})},value:E,placeholder:(0,M.__)("Role position","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"h4",className:"vk_staff_text_profileTitle"+L,style:H,onChange:function(e){return o({vk_staff_text_profileTitle:e})},value:x,placeholder:(0,M.__)("Profile title","vk-blocks")}),(0,P.createElement)(Q.RichText,{tagName:"p",className:"vk_staff_text_profileText"+D,style:U,onChange:function(e){return o({vk_staff_text_profileText:e})},value:C,placeholder:(0,M.__)("Profile text","vk-blocks")})),(0,P.createElement)("div",{className:S},(0,P.createElement)(Q.MediaUpload,{onSelect:function(e){return o({vk_staff_photo_image:e.sizes.full.url})},type:"image",value:N,render:function(e){var t=e.open;return(0,P.createElement)(ne.Button,{onClick:t,className:N?"image-button":"button button-large"},N?(0,P.createElement)("img",{className:"vk_staff_photo_image",src:N,alt:_}):(0,M.__)("Select image","vk-blocks"))}}))))},save:function(e){var t,n=e.attributes,o=e.className,a=n.vk_staff_layout,r=n.vk_staff_text_name,l=n.vk_staff_text_caption,c=n.vk_staff_text_role,i=n.vk_staff_text_profileTitle,s=n.vk_staff_text_profileText,u=n.vk_staff_nameColor,m=n.vk_staff_captionColor,p=n.vk_staff_positionColor,v=n.vk_staff_profileTitleColor,f=n.vk_staff_profileTextColor,b=n.vk_staff_photo_image,k=n.vk_staff_photo_image_alt,_=n.vk_staff_photoBorder,d=n.vk_staff_fontFamily,g=De()("vk_staff",(h(t={},o,!!o),h(t,"vk_staff-layout-".concat(a),!!a),t)),y=De()("vk_staff_photo",h({},"vk_staff_photo-border-".concat(_),!!_)),E=De();E="1"===d?De()("vk_staff_text",E,"vk_staff-headingFont-serif"):De()("vk_staff_text",E);var x={},C="";void 0!==u&&(C+=" has-text-color",pe(u)?x={color:"".concat(u)}:C+=" has-".concat(u,"-color"));var N={},T="";void 0!==m&&(T+=" has-text-color",pe(m)?N={color:"".concat(m)}:T+=" has-".concat(m,"-color"));var B={},w="";void 0!==p&&(w+=" has-text-color",pe(p)?B={color:"".concat(p)}:w+=" has-".concat(p,"-color"));var S={},I="";void 0!==v&&(I+=" has-text-color",pe(v)?S={color:"".concat(v)}:I+=" has-".concat(v,"-color"));var R={},A="";return void 0!==f&&(A+=" has-text-color",pe(f)?R={color:"".concat(f)}:A+=" has-".concat(f,"-color")),(0,P.createElement)("div",Q.useBlockProps.save({className:g}),(0,P.createElement)("div",{className:E},(0,P.createElement)(Q.RichText.Content,{tagName:"h3",className:"vk_staff_text_name"+C,style:x,value:r}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_caption"+T,style:N,value:l}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_role"+w,style:B,value:c}),(0,P.createElement)(Q.RichText.Content,{tagName:"h4",className:"vk_staff_text_profileTitle"+I,style:S,value:i}),(0,P.createElement)(Q.RichText.Content,{tagName:"p",className:"vk_staff_text_profileText"+A,style:R,value:s})),b&&(0,P.createElement)("div",{className:y},(0,P.createElement)("img",{className:"vk_staff_photo_image",src:b,alt:k})))},deprecated:Qr},ol=window.lodash;(0,Gt.addFilter)("blocks.registerBlockType","vk-blocks/heading-style",(function(e){var t;return t=e.name,["core/heading"].includes(t)&&(e.attributes=(0,ol.assign)(e.attributes,{color:{type:"string"}})),e})),(0,g.registerBlockStyle)("core/heading",[{name:"vk-heading-default",label:(0,M.__)("Default","vk-blocks"),isDefault:!0},{name:"vk-heading-plain",label:(0,M.__)("Plain","vk-blocks")},{name:"vk-heading-background_fill_lightgray",label:(0,M.__)("Background fill lightgray","vk-blocks")},{name:"vk-heading-double_black",label:(0,M.__)("Double border top and bottom black","vk-blocks")},{name:"vk-heading-double_bottomborder_black",label:(0,M.__)("Double border bottom black","vk-blocks")},{name:"vk-heading-solid_black",label:(0,M.__)("Solid border top and bottom black","vk-blocks")},{name:"vk-heading-solid_bottomborder_black",label:(0,M.__)("Solid border bottom black","vk-blocks")},{name:"vk-heading-dotted_bottomborder_black",label:(0,M.__)("Dotted border bottom black","vk-blocks")},{name:"vk-heading-both_ends",label:(0,M.__)("Both ends","vk-blocks")},{name:"vk-heading-brackets_black",label:(0,M.__)("Brackets black","vk-blocks")}]);var al=function(e){return["core/group"].includes(e)};(0,Gt.addFilter)("blocks.registerBlockType","vk-blocks/group-style",(function(e){return al(e.name)&&(e.attributes=(0,ol.assign)(e.attributes,{color:{type:"string"}})),e}));var rl=(0,Xt.createHigherOrderComponent)((function(e){var t="";return function(n){return al(n.name)&&n.isSelected?(t=n.attributes.color?n.attributes.color:"#fffd6b",(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,n),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Border Color","vk-blocks"),initialOpen:!1,className:"group-border-color-controle"},(0,P.createElement)(Q.ColorPalette,{value:t,disableCustomColors:!0,onChange:function(e){var o=function(e){switch(e){case"#f78da7":return"vk-has-pale-pink-color";case"#cf2e2e":return"vk-has-vivid-red-color";case"#ff6900":return"vk-has-luminous-vivid-orange-color";case"#fcb900":return"vk-has-luminous-vivid-amber-color";case"#7bdcb5":return"vk-has-light-green-cyan-color";case"#00d084":return"vk-has-vivid-green-cyan-color";case"#8ed1fc":return"vk-has-pale-cyan-blue-color";case"#0693e3":return"vk-has-vivid-cyan-blue-color";case"#9b51e0":return"vk-has-vivid-purple-color";case"#eee":return"vk-has-very-light-gray-color";case"#abb8c3":return"vk-has-cyan-bluish-gray-color";case"#313131":return"vk-has-very-dark-gray-color";case"#ffffff":return"vk-has-white-color"}}(e);if(n.attributes.className){var a=n.attributes.className,r=(a=a.split(" ")).filter((function(e){return-1===e.indexOf("vk-has-")}));r.push(o),o=r.join(" ")}t=e,n.setAttributes({className:o,color:e})}}))))):(0,P.createElement)(e,n)}}),"addMyCustomBlockControls");(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/group-style",rl),(0,g.registerBlockStyle)("core/group",[{name:"vk-group-solid",label:(0,M.__)("Solid","vk-blocks")},{name:"vk-group-solid-roundcorner",label:(0,M.__)("Solid Roundcorner","vk-blocks")},{name:"vk-group-dotted",label:(0,M.__)("Dotted","vk-blocks")},{name:"vk-group-dashed",label:(0,M.__)("Dashed","vk-blocks")},{name:"vk-group-double",label:(0,M.__)("Double","vk-blocks")},{name:"vk-group-stitch",label:(0,M.__)("Stitch","vk-blocks")},{name:"vk-group-top-bottom-border",label:(0,M.__)("Border Top Bottom","vk-blocks")},{name:"vk-group-shadow",label:(0,M.__)("Shadow","vk-blocks")},{name:"vk-group-alert-info",label:(0,M.__)("Info","vk-blocks")},{name:"vk-group-alert-success",label:(0,M.__)("Success","vk-blocks")},{name:"vk-group-alert-warning",label:(0,M.__)("Warning","vk-blocks")},{name:"vk-group-alert-danger",label:(0,M.__)("Danger","vk-blocks")}]);var ll=function(e){return["core/list"].includes(e)};(0,Gt.addFilter)("blocks.registerBlockType","vk-blocks/list-style",(function(e){return ll(e.name)&&(e.attributes=(0,ol.assign)(e.attributes,{color:{type:"string"}})),e}));var cl=(0,Xt.createHigherOrderComponent)((function(e){var t="";return function(n){var o=(0,ze.select)("core/block-editor").getSettings().colors;return function(e){var t=[];return e.forEach((function(e){t.push(e.slug)})),!!["black","cyan-bluish-gray","white","pale-pink","vivid-red","luminous-vivid-orange","luminous-vivid-amber","light-green-cyan","pale-cyan-blue","vivid-cyan-blue","vivid-purple"].every((function(e){return-1!==t.indexOf(e)}))}(o)&&ll(n.name)&&n.isSelected?(t=n.attributes.color?n.attributes.color:"#fffd6b",(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,n),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("List Icon Color","vk-blocks"),initialOpen:!1,className:"list-color-controle"},(0,P.createElement)(Q.ColorPalette,{value:t,disableCustomColors:!0,onChange:function(e){var a=(0,Q.getColorObjectByColorValue)(o,e),r=n.attributes.className&&n.attributes.className.split(" "),l=r||[];r&&(l=r.filter((function(e){return!e.match(/vk-has-(.*)-color/)}))),void 0!==e&&l.push("vk-has-".concat(a.slug,"-color"));var c=l.join(" ");t=e,n.setAttributes({className:c,color:e})}}))))):(0,P.createElement)(e,n)}}),"addMyCustomBlockControls");(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/list-style",cl),(0,g.registerBlockStyle)("core/list",[{name:"vk-default",label:(0,M.__)("Default","vk-blocks"),isDefault:!0},{name:"vk-arrow-mark",label:(0,M.__)("Arrow","vk-blocks")},{name:"vk-triangle-mark",label:(0,M.__)("Triangle","vk-blocks")},{name:"vk-check-mark",label:(0,M.__)("Check","vk-blocks")},{name:"vk-check-square-mark",label:(0,M.__)("Check Square","vk-blocks")},{name:"vk-check-circle-mark",label:(0,M.__)("Check Circle","vk-blocks")},{name:"vk-handpoint-mark",label:(0,M.__)("Handpoint","vk-blocks")},{name:"vk-pencil-mark",label:(0,M.__)("Pencil","vk-blocks")},{name:"vk-smile-mark",label:(0,M.__)("Smile","vk-blocks")},{name:"vk-frown-mark",label:(0,M.__)("Frown","vk-blocks")},{name:"vk-numbered-circle-mark",label:(0,M.__)("Numbered Circle","vk-blocks")},{name:"vk-numbered-square-mark",label:(0,M.__)("Numbered Square","vk-blocks")}]),(0,g.registerBlockStyle)("core/image",[{name:"vk-image-rounded",label:(0,M.__)("Rounded02","vk-blocks")},{name:"vk-image-rounded",label:(0,M.__)("Rounded02","vk-blocks")},{name:"vk-image-border",label:(0,M.__)("Border","vk-blocks")},{name:"vk-image-photoFrame",label:(0,M.__)("Photo frame","vk-blocks")},{name:"vk-image-photoFrame-tilt-right",label:(0,M.__)("Photo frame Tilt Right","vk-blocks")},{name:"vk-image-photoFrame-tilt-left",label:(0,M.__)("Photo frame Tilt Left","vk-blocks")},{name:"vk-image-shadow",label:(0,M.__)("Shadow","vk-blocks")},{name:"vk-image-wave01",label:(0,M.__)("Wave01","vk-blocks")},{name:"vk-image-wave02",label:(0,M.__)("Wave02","vk-blocks")},{name:"vk-image-wave03",label:(0,M.__)("Wave03","vk-blocks")},{name:"vk-image-wave04",label:(0,M.__)("Wave04","vk-blocks")}]),(0,g.registerBlockStyle)("core/table",[{name:"vk-table-border-top-bottom",label:(0,M.__)("Border Top Bottom","vk-blocks")},{name:"vk-table-border",label:(0,M.__)("Border","vk-blocks")},{name:"vk-table-border-stripes",label:(0,M.__)("Border / Stripes","vk-blocks")}]);var il=function(e,t){return-1!==e.indexOf(t)},sl=["vk-blocks/breadcrumb","vk-blocks/child-page","vk-blocks/post-list","vk-blocks/page-content","vk-blocks/ancestor-page-list","vk-blocks/share-button","vk-blocks/child-page-index","vk-blocks/contact-section","vk-blocks/page-list-ancestor","vk-blocks/sitemap"];(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/hidden-extension",(0,Xt.createHigherOrderComponent)((function(e){return function(t){if(_=t.name,d=void 0!==["core","vk-blocks"].find((function(e){return il(_,e)})),void 0!==["vk-blocks/card-item","vk-blocks/icon-card-item","vk-blocks/icon","vk-blocks/select-post-list-item"].find((function(e){return il(_,e)}))&&(d=!1),(0,g.hasBlockSupport)(_,"customClassName",!0)||(d=!1),d){t.attributes.vkb_hidden_xl&&!t.attributes.vkb_hidden_xxl&&(t.attributes.vkb_hidden_xxl=!0,t.attributes.vkb_hidden_xl_v2=!0,t.attributes.vkb_hidden_xl=!1);var n=t.name,o=t.attributes,a=t.setAttributes,r=o.vkb_hidden,l=o.vkb_hidden_xxl,c=o.vkb_hidden_xl_v2,i=o.vkb_hidden_xl,s=o.vkb_hidden_lg,u=o.vkb_hidden_md,m=o.vkb_hidden_sm,p=o.vkb_hidden_xs,v=o.className;(0,P.useEffect)((function(){var e;sl.includes(n)&&(r||l||c||i||s||u||m||p)&&a({className:De()((e={},h(e,v,v),h(e,"vk_hidden",r),h(e,"vk_hidden-xxl",l),h(e,"vk_hidden-xl-v2",c),h(e,"vk_hidden-xl",i),h(e,"vk_hidden-lg",s),h(e,"vk_hidden-md",u),h(e,"vk_hidden-sm",m),h(e,"vk_hidden-xs",p),e)),vkb_hidden:void 0,vkb_hidden_xxl:void 0,vkb_hidden_xl_v2:void 0,vkb_hidden_xl:void 0,vkb_hidden_lg:void 0,vkb_hidden_md:void 0,vkb_hidden_sm:void 0,vkb_hidden_xs:void 0}),/vk_hidden-xl_v2/.test(v)&&a({className:v.replace(/vk_hidden-xl_v2/,"vk_hidden-xl-v2")})}),[]);var f=v?v.split(" "):[],b=function(e){var t=[];return f.forEach((function(n){n===e&&t.push(e)})),t[0]===e},k=function(e,t){if(e)f.push(t);else{var n=f.indexOf(t);f.splice(n,1)}a({className:f.join(" ")})};return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,t),(0,P.createElement)(Q.InspectorControls,null,(0,P.createElement)(ne.PanelBody,{title:(0,M.__)("Hidden Settings","vk-blocks"),initialOpen:!1},(0,P.createElement)(ne.BaseControl,{label:(0,M.__)("Hidden at screen size","vk-blocks"),id:"vk_hiddenControl-hiddenScreenSize"},(0,P.createElement)("p",null,(0,M.__)("Note : This function is display hidden only. Actually Block is output to HTML. Please don't use you must not visible item. Don't use it for blocks you really don't want to display.","vk-blocks")),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : all )","vk-blocks"),checked:b("vk_hidden"),onChange:function(e){k(e,"vk_hidden")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : xs )","vk-blocks"),checked:b("vk_hidden-xs"),onChange:function(e){k(e,"vk_hidden-xs")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : sm )","vk-blocks"),checked:b("vk_hidden-sm"),onChange:function(e){k(e,"vk_hidden-sm")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : md )","vk-blocks"),checked:b("vk_hidden-md"),onChange:function(e){k(e,"vk_hidden-md")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : lg )","vk-blocks"),checked:b("vk_hidden-lg"),onChange:function(e){k(e,"vk_hidden-lg")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : xl )","vk-blocks"),checked:b("vk_hidden-xl-v2"),onChange:function(e){k(e,"vk_hidden-xl-v2")}}),(0,P.createElement)(ne.ToggleControl,{label:(0,M.__)("Hidden ( Screen size : xxl )","vk-blocks"),checked:b("vk_hidden-xxl"),onChange:function(e){k(e,"vk_hidden-xxl")}}),(0,P.createElement)("p",null,(0,M.__)("If you want to hide multiple blocks, that first you set to group block and the next, hide for the that group block.","vk-blocks"))))))}var _,d;return(0,P.createElement)(e,t)}}),"addHiddenSection")),(0,Gt.addFilter)("editor.BlockListBlock","vk-blocks/hidden-extension",(0,Xt.createHigherOrderComponent)((function(e){return function(t){var n=t.attributes.className,o=n?n.split(" "):[],a=/vk_hidden/.test(o)?"vk_edit_hidden_warning":"",r=-1!==o.indexOf("vk_hidden")?a+" vk_edit_hidden_all":a,l=De()(r,t.className);return(0,P.createElement)(e,Ne({},t,{className:l}))}}),"addHiddenWarning"));var ul,ml,pl=window.wp.richText;function vl(){return vl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},vl.apply(this,arguments)}var fl=function(e){return G.createElement("svg",vl({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ul||(ul=G.createElement("path",{d:"M20 4.804c-.001-.443-.435-.803-.971-.804H12.58c-.187 0-.36.043-.508.118-.277.142-.463.395-.463.685V12.5L20 12.5V4.804ZM19.955 15.32v-1.56H12.04c.504.521.64 1.368.19 2.028.761.625 1.903 1.869 1.902 3.712l3.254.001c0-2.765 2.57-4.182 2.57-4.182ZM17.098 22.015l-2.403 1.04-.097-2.555h2.5v1.515ZM10.89 14.778l-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L6.7 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L6 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.15c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z"})),ml||(ml=G.createElement("path",{d:"m7.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.108c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})))};function bl(e,t){if("rgba"===e.substring(0,4))return e;var n=e.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i),o=null;return n&&(o=n.slice(1,4).map((function(e){return parseInt(e,16)}))),(n=e.match(/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i))&&(o=n.slice(1,4).map((function(e){return 17*parseInt(e,16)}))),o?"rgba(".concat(o[0],", ").concat(o[1],", ").concat(o[2],", ").concat(t,")"):null}var kl,_l,dl,hl="vk-blocks/highlighter",gl=function(e){var t=e.color,n=e.value,o=e.onChange;t=function(e){return void 0===e&&(e="#fffd6b"),e}(t),o((0,pl.applyFormat)(n,{type:hl,attributes:{data:t,style:"background: linear-gradient(transparent 60%,".concat(bl(t,.7)," 0);")}}))};function yl(){return yl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},yl.apply(this,arguments)}(0,pl.registerFormatType)(hl,{title:(0,M.__)("Highlighter","vk-blocks"),tagName:"span",className:"vk_highlighter",attributes:{data:"data-color",style:"style"},edit:function(e){var t,n=e.value,o=e.isActive,a=e.onChange,r=e.contentRef,l="primary";if(o){var c=(0,pl.getActiveFormat)(n,hl);t=c.attributes.data}var i={};if(t){var s=bl(t,.7);i={color:"initial",background:"linear-gradient(transparent 60%, ".concat(s," 0)")}}var u=(0,pl.useAnchorRef)({ref:r,value:n}),m=we((0,P.useState)(!1),2),p=m[0],v=m[1],f=(0,P.useCallback)((function(){return v(!0)}),[v]),b=(0,P.useCallback)((function(){return v(!1)}),[v]);return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichTextShortcut,{type:l,character:"h",onUse:function(){return v(!0)}}),(0,P.createElement)(Q.RichTextToolbarButton,{title:(0,M.__)("Highlighter","vk-blocks"),onClick:function(){void 0===t&&gl({heightlightColor:t,value:n,onChange:a}),v(!0),f(!0)},shortcutType:l,shortcutCharacter:"h",className:"format-library-text-color-button",isActive:o,icon:(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.Icon,{icon:fl,style:i}))}),p&&(0,P.createElement)(ne.Popover,{value:n,className:"vk-blocks-format-popover components-inline-color-popover",anchorRef:u,onClose:b},(0,P.createElement)(Q.ColorPalette,{value:t,onChange:function(e){e?gl({color:e,value:n,onChange:a}):a((0,pl.removeFormat)(n,hl)),v(!1)}})))}});var El,xl,Cl,Nl=function(e){return G.createElement("svg",yl({fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),kl||(kl=G.createElement("path",{clipRule:"evenodd",d:"M9.303 12.137c.242.334.35.755.315 1.146l2.271-.005c1.006 0 1.663.859 1.61 1.722h3.121l1.12 3h2.25L14.5 4h-2l-3.197 8.137zM11.12 13l2.38-6.33L15.88 13h-4.76z"})),_l||(_l=G.createElement("path",{d:"m11.89 14.778-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L7.7 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L7 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084h3.288c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19z"})),dl||(dl=G.createElement("path",{d:"m8.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H1.108c-.074 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152z",fill:"#D8141C"})))},Tl="vk-blocks/inline-font-size";function Bl(){return Bl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Bl.apply(this,arguments)}(0,pl.registerFormatType)(Tl,{title:(0,M.__)("Inline font size","vk-blocks"),tagName:"span",className:"vk_inline-font-size",attributes:{data:"data-fontSize",style:"style"},edit:function(e){var t,n,o=e.value,a=e.isActive,r=e.onChange,l=e.contentRef;if(a){var c=(0,pl.getActiveFormat)(o,Tl);t=c.attributes.data,n=c.attributes.style.replace("font-size:",""),void 0===t&&n&&(t=n)}var i=(0,pl.useAnchorRef)({ref:l,value:o}),s=we((0,P.useState)(!1),2),u=s[0],m=s[1],p=(0,P.useCallback)((function(){return m(!0)}),[m]),v=(0,P.useCallback)((function(){return m(!1)}),[m]),f=!(0,ol.isEmpty)(o)||!t;if(!f&&!a)return null;var b=[{name:(0,M.__)("Small","vk-blocks"),slug:"small",size:"12px"},{name:(0,M.__)("Normal","vk-blocks"),slug:"normal",size:"16px"},{name:(0,M.__)("Big","vk-blocks"),slug:"big",size:"18px"},{name:(0,M.__)("Extra big","vk-blocks"),slug:"extra-big",size:"21px"}],k=parseInt(n)||16;return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichTextToolbarButton,{title:(0,M.__)("Inline Font Size","vk-blocks"),onClick:f?p:function(){return r((0,pl.removeFormat)(o,Tl))},shortcutType:"primary",shortcutCharacter:"h",className:"format-library-text-color-button",isActive:a,icon:(0,P.createElement)(P.Fragment,null,(0,P.createElement)(ne.Icon,{icon:Nl,style:{width:"24px",height:"24px"}}))}),u&&(0,P.createElement)(ne.Popover,{className:"vk-blocks-format-popover components-inline-color-popover",anchorRef:i,onClose:v},(0,P.createElement)("div",{style:{width:"200px"}},(0,P.createElement)(ne.FontSizePicker,{fontSizes:b,value:t,fallbackFontSize:void 0!==window.wpVersion&&null!==window.wpVersion&&y(window.wpVersion,"5.9")<0&&k,withSlider:void 0!==window.wpVersion&&null!==window.wpVersion&&y(window.wpVersion,"5.9")<0,onChange:function(e){r(e?(0,pl.applyFormat)(o,{type:Tl,attributes:{data:"".concat(e),style:"font-size: ".concat(e,";")}}):(0,pl.removeFormat)(o,Tl))}}),(0,P.createElement)(ne.Button,{onClick:function(){m(!1)},isSmall:!0,isSecondary:!0,style:{marginTop:"16px",padding:"0 16px",height:"30px"}},(0,M.__)("Apply","vk-blocks")))))}});var wl,Sl,Il=function(e){return G.createElement("svg",Bl({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),El||(El=G.createElement("path",{d:"M4 11.884V4h1.5v7.506l-.467.002h-.005A1.609 1.609 0 0 0 4 11.884ZM11.947 16.117l.818.818 4.96-4.962-4.96-4.961-1.027 1.026 3.21 3.21H6.725v.253l.296-.001c.847 0 1.378.563 1.545 1.2h6.38l-2.466 2.465c-.05.297-.187.588-.426.838l-.108.114ZM20.08 4v16h-1.5V4h1.5Z"})),xl||(xl=G.createElement("path",{d:"m10.89 14.778-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L6.7 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L6 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.15c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z"})),Cl||(Cl=G.createElement("path",{d:"m7.022 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.108c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})))};function Rl(){return Rl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Rl.apply(this,arguments)}(0,pl.registerFormatType)("vk-blocks/nowrap",{title:(0,M.__)("No wrap","vk-blocks"),tagName:"span",className:"text-nowrap",edit:function(e){var t=e.value,n=e.isActive;return(0,P.createElement)(P.Fragment,null,(0,P.createElement)(Q.RichTextToolbarButton,{icon:Il,title:(0,M.__)("No wrap","vk-blocks"),onClick:function(){e.onChange((0,pl.toggleFormat)(t,{type:"vk-blocks/nowrap"}))},isActive:n}))}});var Al=function(e){return G.createElement("svg",Rl({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),wl||(wl=G.createElement("path",{d:"M20 2v7.59H6.78l3.2 3.2-.48.5h-.88c.07-.83-.5-1.79-1.6-1.79h-.38L4 8.86 8.96 3.9 10 4.93l-3.21 3.2H18.5V2H20zm-9.11 12.78H7.62a.11.11 0 0 0-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 0 1-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 0 0 0 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"})),Sl||(Sl=G.createElement("path",{d:"M7.02 13H5.03a.11.11 0 0 0-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 0 1-.2 0l-1.7-4.85a.11.11 0 0 1 .1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 0 0-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})))},Ol=["xs","sm","md","lg","xl","xxl"];(0,pl.registerFormatType)("vk-blocks/responsive-br",{title:(0,M.__)("Responsive Br","vk-blocks"),tagName:"br",className:null,edit:function(e){var t=e.onChange,n=e.value;return(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(ne.ToolbarGroup,null,(0,P.createElement)(ne.ToolbarItem,null,(function(e){return(0,P.createElement)(ne.DropdownMenu,{icon:(0,P.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"},(0,P.createElement)("path",{d:"M20 2v7.59H6.78l3.2 3.2-.48.5h-.88c.07-.83-.5-1.79-1.6-1.79h-.38L4 8.86 8.96 3.9 10 4.93l-3.21 3.2H18.5V2H20zM10.89 14.78H7.62a.11.11 0 00-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 01-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 000 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z",fill:"#000"}),(0,P.createElement)("path",{d:"M7.02 13H5.03a.11.11 0 00-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 01-.2 0l-1.7-4.85a.11.11 0 01.1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 00-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),toggleProps:e,label:(0,M.__)("Responsive BR","vk-blocks"),controls:Ol.map((function(e){return{title:(0,M.__)("Responsive BR ","vk-blocks")+"( ".concat(e," )"),icon:(0,P.createElement)(Al,null),onClick:function(){!function(e,t,n){t((0,pl.insert)(e,"[br-".concat(n,"]"),e.start,e.end))}(n,t,e)}}}))})}))))}});var zl=(0,P.createElement)(ne.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,P.createElement)(ne.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8 0h16v1.5H8V0zm2.76 22.5H24V24H9.9c.55-.29.88-.89.86-1.5zm.75-5.92L15.93 21l5.3-5.3-1.03-1.03-3.55 3.55V5.78l3.21 3.2 1.03-1.02-2.48-2.48L15.93 3l-4.96 4.96L11.99 9l3.21-3.21v12.44l-2.79-2.79c-.07.2-.19.4-.35.57l-.55.58z"}),(0,P.createElement)(ne.Path,{d:"M10.89 14.78H7.62a.11.11 0 00-.1.08l-.25.72c-.02.08.03.16.1.16h1.27c.1 0 .15.12.08.19L6.7 18.1l1.05 3.4c.02.07-.03.14-.1.14H6.63a.1.1 0 01-.1-.08L6 19.83c-.03-.1-.17-.1-.2 0l-.43 1.22a.1.1 0 000 .06l.39 1.49c.01.04.06.08.1.08h3.29c.07 0 .12-.08.1-.14l-1.33-4.28c-.01-.04 0-.09.03-.12l3.02-3.17c.07-.07.01-.2-.08-.2z"}),(0,P.createElement)(ne.Path,{d:"M7.02 13H5.03a.11.11 0 00-.1.08l-.26.73c-.03.07.03.15.1.15h.84c.08 0 .13.07.1.15l-2.37 6.72a.1.1 0 01-.2 0l-1.7-4.85a.11.11 0 01.1-.15h.86c.04 0 .09.03.1.07l.62 1.75c.03.1.17.1.2 0l.96-2.72a.11.11 0 00-.1-.15H.1c-.08 0-.13.07-.1.15l3.12 9c.04.1.17.1.2 0l3.8-10.78c.02-.07-.03-.15-.1-.15z",fill:"#D8141C"})),Pl=(0,P.createElement)(ne.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,P.createElement)(ne.Path,{d:"M23.5 22h-12v-1.5h12V22ZM18.3 2.779l3.55 3.551 1.027-1.026L17.573 0 12.27 5.304l1.027 1.026 3.55-3.55V17.5H18.3V2.78ZM11.39 14.778l-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L7.2 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L6.5 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.65c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z"}),(0,P.createElement)(ne.Path,{d:"m7.522 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.608c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"})),Ml=(0,P.createElement)(ne.SVG,{width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,P.createElement)(ne.Path,{d:"m11.39 14.778-3.267.008a.11.11 0 0 0-.102.075l-.25.722c-.022.076.03.152.103.152h1.27c.095 0 .146.122.08.19L7.2 18.105h.007l1.042 3.397c.022.076-.03.145-.103.145h-1.02a.104.104 0 0 1-.102-.076L6.5 19.83c-.029-.107-.168-.107-.205-.008l-.426 1.223a.109.109 0 0 0 0 .069l.39 1.481c.014.046.058.084.102.084H9.65c.073 0 .125-.076.103-.145l-1.329-4.277c-.014-.038 0-.084.03-.114l3.016-3.176c.066-.069.015-.19-.08-.19Z"}),(0,P.createElement)(ne.Path,{d:"m7.522 13-1.99.008a.11.11 0 0 0-.102.076l-.257.721c-.03.076.03.152.103.152h.836c.074 0 .125.076.103.152l-2.37 6.717a.108.108 0 0 1-.206 0l-1.703-4.848a.112.112 0 0 1 .103-.152h.859a.11.11 0 0 1 .103.076l.616 1.748a.108.108 0 0 0 .206 0l.954-2.72a.112.112 0 0 0-.103-.152H.608c-.073 0-.125.076-.103.152l3.127 8.996a.108.108 0 0 0 .205 0l3.787-10.774c.022-.076-.029-.152-.102-.152Z",fill:"#D8141C"}),(0,P.createElement)(ne.Path,{d:"M11.5 0h12v1.5h-12V0ZM16.7 19.221l-3.55-3.551-1.027 1.026L17.427 22l5.303-5.304-1.027-1.026-3.55 3.551V4.5H16.7v14.721Z"}));function Fl(e){return function(e){if(Array.isArray(e))return Te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Be(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var jl=function(e,t){return-1!==e.indexOf(t)};function Hl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ll(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hl(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ul=[{title:(0,M.__)("Top XL","vk-blocks"),marginClass:"vk_block-margin-xl--margin-top",flag:"top"},{title:(0,M.__)("Top L","vk-blocks"),marginClass:"vk_block-margin-lg--margin-top",flag:"top"},{title:(0,M.__)("Top M","vk-blocks"),marginClass:"vk_block-margin-md--margin-top",flag:"top"},{title:(0,M.__)("Top S","vk-blocks"),marginClass:"vk_block-margin-sm--margin-top",flag:"top"},{title:(0,M.__)("Top XS","vk-blocks"),marginClass:"vk_block-margin-xs--margin-top",flag:"top"},{title:(0,M.__)("Top 0","vk-blocks"),marginClass:"vk_block-margin-0--margin-top",flag:"top"}],Dl=[{title:(0,M.__)("Bottom 0","vk-blocks"),marginClass:"vk_block-margin-0--margin-bottom",flag:"bottom"},{title:(0,M.__)("Bottom XS","vk-blocks"),marginClass:"vk_block-margin-xs--margin-bottom",flag:"bottom"},{title:(0,M.__)("Bottom S","vk-blocks"),marginClass:"vk_block-margin-sm--margin-bottom",flag:"bottom"},{title:(0,M.__)("Bottom M","vk-blocks"),marginClass:"vk_block-margin-md--margin-bottom",flag:"bottom"},{title:(0,M.__)("Bottom L","vk-blocks"),marginClass:"vk_block-margin-lg--margin-bottom",flag:"bottom"},{title:(0,M.__)("Bottom XL","vk-blocks"),marginClass:"vk_block-margin-xl--margin-bottom",flag:"bottom"}],Vl=[].concat(Ul,Dl),ql=["vk-blocks/breadcrumb","vk-blocks/child-page","vk-blocks/post-list","vk-blocks/page-content","vk-blocks/share-button","vk-blocks/child-page-index","vk-blocks/contact-section","vk-blocks/page-list-ancestor","vk-blocks/sitemap"];function Wl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Jl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wl(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(0,Gt.addFilter)("blocks.registerBlockType","vk-blocks/margin-extension",(function(e){return ql.includes(e.name)&&(e.attributes=Ll(Ll({},e.attributes),{marginTop:{type:"string"},marginBottom:{type:"string"}})),e})),(0,Gt.addFilter)("editor.BlockEdit","vk-blocks/margin-extension",(0,Xt.createHigherOrderComponent)((function(e){return function(t){var n=t.name,o=t.attributes,a=t.setAttributes,r=o.marginTop,l=o.marginBottom,c=o.className,i=Ul,s=Dl,u=Vl,m=c||"",p=/vk_block-margin-(0|xs|sm|md|lg|xl)--margin-top/,v=/vk_block-margin-(0|xs|sm|md|lg|xl)--margin-bottom/,f=ql,b=p.test(r),k=v.test(l);(0,P.useEffect)((function(){var e;f.includes(n)&&(b||k)&&(a({className:De()((e={},h(e,m,m),h(e,r,b),h(e,l,k),e))}),a({marginTop:void 0}),a({marginBottom:void 0}))}),[]);var _=m?m.split(" "):[],d=_.filter((function(e){return e.match(p)})),y=_.filter((function(e){return e.match(v)})),E=d.slice(-1)[0],x=y.slice(-1)[0],C=(0,ol.find)(i,(function(e){return e.marginClass===E})),N=(0,ol.find)(s,(function(e){return e.marginClass===x}));return function(e){for(var t=e.blockName,n=e.addExclude,o=void 0!==["core","vk-blocks"].find((function(e){return jl(t,e)})),a=(0,g.getBlockTypes)(),r=a.filter((function(e){return!1===e.supports.customClassName})).map((function(e){return e.name})),l=[],c=0;c<a.length;c++)a[c].name.match(/core/)&&"save"===a[c].save.name&&l.push(a[c]);return void 0!==[].concat(["core/archives","core/audio","core/calendar","core/categories","core/latest-comments","core/latest-posts","core/page-list","core/pattern","core/block","core/rss","core/search","core/social-link","core/tag-cloud","core/site-logo","core/site-title","core/site-tagline","core/template-part","core/post-title","core/post-excerpt","core/post-featured-image","core/post-content","core/post-author","core/post-date","core/post-terms","core/post-navigation-link","core/query-pagination-next","core/query-pagination-numbers","core/query-pagination-previous","core/post-comments","core/loginout","core/term-description","core/query-title"],Fl(r),Fl(n)).find((function(e){return jl(t,e)}))&&(o=!1),o}({blockName:n,addExclude:["vk-blocks/slider-item","vk-blocks/card-item","vk-blocks/icon-card-item","vk-blocks/select-post-list-item"]})?(0,P.createElement)(P.Fragment,null,(0,P.createElement)(e,t),(0,P.createElement)(Q.BlockControls,{group:"block"},(0,P.createElement)(ne.ToolbarDropdownMenu,{icon:(0,P.createElement)(P.Fragment,null,C&&!N&&Pl,!C&&N&&Ml,C&&N&&zl,!C&&!N&&zl,C||N?(0,P.createElement)("span",{style:{marginLeft:"8px"}},C&&C.title,C&&N&&(0,P.createElement)("br",null),N&&N.title):null),label:(0,M.__)("Margin the block","vk-blocks"),controls:u.map((function(e){var t=e.marginClass,n=e.flag,o=E===t||x===t;return Ll(Ll({},e),{},{isActive:o,icon:"top"===n?Pl:Ml,onClick:function(){var e=function(e,t,n){if(void 0===n)return e.push(t),e;if(e.includes(t)){var o=e.indexOf(t);return e.splice(o,1),e}var a=e.indexOf(n);return e.splice(a,1),e.push(t),e}(_,t,"top"===n?E:x);a({className:e.join(" ")})}})}))}))):(0,P.createElement)(e,t)}}),"addMarginSection"));var Zl=[],Gl=[e,o,a,r,l,c,i,s,u,m,p,v,f,b,k,_,d,t],Xl=function(){return Gl.concat(Zl)},Yl=function(e){if(e){var t=e.metadata,n=e.settings,o=e.name;void 0!==window.wpVersion&&null!==window.wpVersion&&y(window.wpVersion,"5.5")<0?(delete t.name,n=Jl(Jl({},n),t)):t&&(0,g.unstable__bootstrapServerSideBlockDefinitions)(h({},o,t)),"function"!=typeof getBlockSettingsFromMetadata?(0,g.registerBlockType)(o,n):t&&(0,g.registerBlockType)(t,n)}};!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Xl();e.forEach(Yl)}()}()}();
|
inc/vk-blocks/build/blocks/ancestor-page-list/index.php
CHANGED
@@ -14,11 +14,11 @@
|
|
14 |
function vk_blocks_get_ancestor_page_id() {
|
15 |
global $post;
|
16 |
$post_anc_id = '';
|
17 |
-
if ( $post->ancestors ) {
|
18 |
foreach ( $post->ancestors as $post_id ) {
|
19 |
$post_anc_id = $post_id;
|
20 |
}
|
21 |
-
}
|
22 |
$post_anc_id = $post->ID;
|
23 |
}
|
24 |
return $post_anc_id;
|
@@ -37,14 +37,14 @@ function vk_blocks_get_ancestor_page_list_title( $attributes ) {
|
|
37 |
if ( $attributes['ancestorTitleDisplay'] ) {
|
38 |
$post_anc_id = vk_blocks_get_ancestor_page_id();
|
39 |
|
40 |
-
if ( is_singular() ) {
|
41 |
$title_text = get_the_title( $post_anc_id );
|
42 |
} else {
|
43 |
// On site editor screen.
|
44 |
$title_text = esc_html__( 'Ancestor Page Title', 'vk-blocks' );
|
45 |
}
|
46 |
|
47 |
-
$title_link = get_permalink( $post_anc_id );
|
48 |
|
49 |
// Ancestor Title Tag.
|
50 |
$tag_name = $attributes['ancestorTitleTagName'];
|
@@ -55,7 +55,7 @@ function vk_blocks_get_ancestor_page_list_title( $attributes ) {
|
|
55 |
}
|
56 |
|
57 |
$title .= '<' . $tag_name . ' class="' . $class . '">';
|
58 |
-
if ( ! empty( $attributes['ancestorTitleLink'] ) ) {
|
59 |
$title .= '<a href="' . $title_link . '">';
|
60 |
}
|
61 |
$title .= esc_html( $title_text );
|
@@ -130,7 +130,11 @@ function vk_blocks_ancestor_page_list_render_callback( $attributes ) {
|
|
130 |
}
|
131 |
|
132 |
// block.jsonのSupportsで設定したクラス名やスタイルを取得する.
|
133 |
-
$wrapper_classes = get_block_wrapper_attributes(
|
|
|
|
|
|
|
|
|
134 |
|
135 |
$block = '<aside ' . $wrapper_classes . '>';
|
136 |
$block .= vk_blocks_get_ancestor_page_list_title( $attributes );
|
14 |
function vk_blocks_get_ancestor_page_id() {
|
15 |
global $post;
|
16 |
$post_anc_id = '';
|
17 |
+
if ( ! empty( $post ) && ! empty( $post->ancestors ) ) {
|
18 |
foreach ( $post->ancestors as $post_id ) {
|
19 |
$post_anc_id = $post_id;
|
20 |
}
|
21 |
+
} elseif ( ! empty( $post ) ) {
|
22 |
$post_anc_id = $post->ID;
|
23 |
}
|
24 |
return $post_anc_id;
|
37 |
if ( $attributes['ancestorTitleDisplay'] ) {
|
38 |
$post_anc_id = vk_blocks_get_ancestor_page_id();
|
39 |
|
40 |
+
if ( ! empty( $post_anc_id ) && is_singular() ) {
|
41 |
$title_text = get_the_title( $post_anc_id );
|
42 |
} else {
|
43 |
// On site editor screen.
|
44 |
$title_text = esc_html__( 'Ancestor Page Title', 'vk-blocks' );
|
45 |
}
|
46 |
|
47 |
+
$title_link = ! empty( $post_anc_id ) ? get_permalink( $post_anc_id ) : '';
|
48 |
|
49 |
// Ancestor Title Tag.
|
50 |
$tag_name = $attributes['ancestorTitleTagName'];
|
55 |
}
|
56 |
|
57 |
$title .= '<' . $tag_name . ' class="' . $class . '">';
|
58 |
+
if ( ! empty( $attributes['ancestorTitleLink'] ) && ! empty( $title_link ) ) {
|
59 |
$title .= '<a href="' . $title_link . '">';
|
60 |
}
|
61 |
$title .= esc_html( $title_text );
|
130 |
}
|
131 |
|
132 |
// block.jsonのSupportsで設定したクラス名やスタイルを取得する.
|
133 |
+
$wrapper_classes = get_block_wrapper_attributes(
|
134 |
+
array(
|
135 |
+
'class' => $classes,
|
136 |
+
)
|
137 |
+
);
|
138 |
|
139 |
$block = '<aside ' . $wrapper_classes . '>';
|
140 |
$block .= vk_blocks_get_ancestor_page_list_title( $attributes );
|
inc/vk-blocks/build/blocks/faq/index.php
CHANGED
@@ -52,7 +52,7 @@ add_action( 'init', 'vk_blocks_register_block_faq', 99 );
|
|
52 |
* @return string
|
53 |
*/
|
54 |
function vk_blocks_faq_render_callback( $block_content, $block ) {
|
55 |
-
$vk_blocks_options =
|
56 |
if ( 'vk-blocks/faq' === $block['blockName'] ) {
|
57 |
if ( ! empty( $vk_blocks_options['new_faq_accordion'] ) && 'open' === $vk_blocks_options['new_faq_accordion'] ) {
|
58 |
$block_content = str_replace( '[accordion_trigger_switch]', 'vk_faq-accordion vk_faq-accordion-open', $block_content );
|
52 |
* @return string
|
53 |
*/
|
54 |
function vk_blocks_faq_render_callback( $block_content, $block ) {
|
55 |
+
$vk_blocks_options = VK_Blocks_Options::get_options();
|
56 |
if ( 'vk-blocks/faq' === $block['blockName'] ) {
|
57 |
if ( ! empty( $vk_blocks_options['new_faq_accordion'] ) && 'open' === $vk_blocks_options['new_faq_accordion'] ) {
|
58 |
$block_content = str_replace( '[accordion_trigger_switch]', 'vk_faq-accordion vk_faq-accordion-open', $block_content );
|
inc/vk-blocks/build/blocks/faq2/index.php
CHANGED
@@ -52,7 +52,7 @@ add_action( 'init', 'vk_blocks_register_block_faq2', 99 );
|
|
52 |
* @return string
|
53 |
*/
|
54 |
function vk_blocks_faq2_render_callback( $block_content, $block ) {
|
55 |
-
$vk_blocks_options =
|
56 |
if ( 'vk-blocks/faq2' === $block['blockName'] ) {
|
57 |
if ( ! empty( $vk_blocks_options['new_faq_accordion'] ) && 'open' === $vk_blocks_options['new_faq_accordion'] ) {
|
58 |
$block_content = str_replace( '[accordion_trigger_switch]', 'vk_faq-accordion vk_faq-accordion-open', $block_content );
|
52 |
* @return string
|
53 |
*/
|
54 |
function vk_blocks_faq2_render_callback( $block_content, $block ) {
|
55 |
+
$vk_blocks_options = VK_Blocks_Options::get_options();
|
56 |
if ( 'vk-blocks/faq2' === $block['blockName'] ) {
|
57 |
if ( ! empty( $vk_blocks_options['new_faq_accordion'] ) && 'open' === $vk_blocks_options['new_faq_accordion'] ) {
|
58 |
$block_content = str_replace( '[accordion_trigger_switch]', 'vk_faq-accordion vk_faq-accordion-open', $block_content );
|
inc/vk-blocks/build/blocks/page-content/index.php
CHANGED
@@ -57,7 +57,7 @@ function vk_blocks_page_content_render_callback( $attributes ) {
|
|
57 |
$page_content = -1 !== $page_content_id ? get_post( $page_content_id )->post_content : '';
|
58 |
vk_blocks_content_enqueue_scripts( $page_content );
|
59 |
|
60 |
-
$vk_blocks_options =
|
61 |
if ( has_block( 'vk-blocks/faq2', $page_content ) || has_block( 'vk-blocks/faq', $page_content ) ) {
|
62 |
if ( 'open' === $vk_blocks_options['new_faq_accordion'] ) {
|
63 |
$page_content = str_replace( '[accordion_trigger_switch]', 'vk_faq-accordion vk_faq-accordion-open', $page_content );
|
57 |
$page_content = -1 !== $page_content_id ? get_post( $page_content_id )->post_content : '';
|
58 |
vk_blocks_content_enqueue_scripts( $page_content );
|
59 |
|
60 |
+
$vk_blocks_options = VK_Blocks_Options::get_options();
|
61 |
if ( has_block( 'vk-blocks/faq2', $page_content ) || has_block( 'vk-blocks/faq', $page_content ) ) {
|
62 |
if ( 'open' === $vk_blocks_options['new_faq_accordion'] ) {
|
63 |
$page_content = str_replace( '[accordion_trigger_switch]', 'vk_faq-accordion vk_faq-accordion-open', $page_content );
|
inc/vk-blocks/build/blocks/spacer/index.php
CHANGED
@@ -41,7 +41,7 @@ add_action( 'init', 'vk_blocks_register_block_spacer', 99 );
|
|
41 |
*
|
42 |
* @return integer|float $return 返り値
|
43 |
*/
|
44 |
-
function vk_blocks_get_spacer_size( $options, $spacer_size, $device
|
45 |
|
46 |
// そもそも値がなかった場合.
|
47 |
if ( ! isset( $options['margin_size'][ $spacer_size ] ) ) {
|
@@ -82,6 +82,9 @@ function vk_blocks_get_spacer_size( $options, $spacer_size, $device = '' ) {
|
|
82 |
*/
|
83 |
function vk_blocks_is_size_print( $options, $device ) {
|
84 |
$return = false;
|
|
|
|
|
|
|
85 |
if ( is_numeric( vk_blocks_get_spacer_size( $options, 'sm', $device ) ) ) {
|
86 |
$return = true;
|
87 |
}
|
@@ -91,6 +94,9 @@ function vk_blocks_is_size_print( $options, $device ) {
|
|
91 |
if ( is_numeric( vk_blocks_get_spacer_size( $options, 'lg', $device ) ) ) {
|
92 |
$return = true;
|
93 |
}
|
|
|
|
|
|
|
94 |
return $return;
|
95 |
}
|
96 |
|
@@ -104,7 +110,7 @@ function vk_blocks_is_size_print( $options, $device ) {
|
|
104 |
*
|
105 |
* @return string $style CSS変数指定(1行分).
|
106 |
*/
|
107 |
-
function vk_blocks_get_spacer_size_style( $options, $spacer_size, $device
|
108 |
$style = '';
|
109 |
$return_size = vk_blocks_get_spacer_size( $options, $spacer_size, $device );
|
110 |
if ( is_numeric( $return_size ) ) {
|
@@ -120,12 +126,13 @@ function vk_blocks_get_spacer_size_style( $options, $spacer_size, $device = '',
|
|
120 |
* @return string $dynamic_css : 出力するcss
|
121 |
*/
|
122 |
function vk_blocks_get_spacer_size_style_all( $options ) {
|
123 |
-
$
|
124 |
-
$dynamic_css = '';
|
125 |
if (
|
|
|
126 |
! empty( $options['margin_size']['sm'] ) ||
|
127 |
! empty( $options['margin_size']['md'] ) ||
|
128 |
-
! empty( $options['margin_size']['lg'] )
|
|
|
129 |
) {
|
130 |
if ( ! empty( $options['margin_unit'] ) ) {
|
131 |
$unit = $options['margin_unit'];
|
@@ -137,9 +144,11 @@ function vk_blocks_get_spacer_size_style_all( $options ) {
|
|
137 |
$dynamic_css .= '
|
138 |
@media (max-width: 575.98px) {
|
139 |
:root{';
|
|
|
140 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'mobile', $unit ) );
|
141 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'mobile', $unit ) );
|
142 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'lg', 'mobile', $unit ) );
|
|
|
143 |
$dynamic_css .= '
|
144 |
}
|
145 |
}';
|
@@ -148,9 +157,11 @@ function vk_blocks_get_spacer_size_style_all( $options ) {
|
|
148 |
$dynamic_css .= '
|
149 |
@media (min-width: 576px) and (max-width: 991.98px) {
|
150 |
:root{';
|
|
|
151 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'tablet', $unit ) );
|
152 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'tablet', $unit ) );
|
153 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'lg', 'tablet', $unit ) );
|
|
|
154 |
$dynamic_css .= '
|
155 |
}
|
156 |
}';
|
@@ -159,9 +170,11 @@ function vk_blocks_get_spacer_size_style_all( $options ) {
|
|
159 |
$dynamic_css .= '
|
160 |
@media (min-width: 992px) {
|
161 |
:root{';
|
|
|
162 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'pc', $unit ) );
|
163 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'pc', $unit ) );
|
164 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'lg', 'pc', $unit ) );
|
|
|
165 |
$dynamic_css .= '
|
166 |
}
|
167 |
}';
|
41 |
*
|
42 |
* @return integer|float $return 返り値
|
43 |
*/
|
44 |
+
function vk_blocks_get_spacer_size( $options, $spacer_size, $device ) {
|
45 |
|
46 |
// そもそも値がなかった場合.
|
47 |
if ( ! isset( $options['margin_size'][ $spacer_size ] ) ) {
|
82 |
*/
|
83 |
function vk_blocks_is_size_print( $options, $device ) {
|
84 |
$return = false;
|
85 |
+
if ( is_numeric( vk_blocks_get_spacer_size( $options, 'xs', $device ) ) ) {
|
86 |
+
$return = true;
|
87 |
+
}
|
88 |
if ( is_numeric( vk_blocks_get_spacer_size( $options, 'sm', $device ) ) ) {
|
89 |
$return = true;
|
90 |
}
|
94 |
if ( is_numeric( vk_blocks_get_spacer_size( $options, 'lg', $device ) ) ) {
|
95 |
$return = true;
|
96 |
}
|
97 |
+
if ( is_numeric( vk_blocks_get_spacer_size( $options, 'xl', $device ) ) ) {
|
98 |
+
$return = true;
|
99 |
+
}
|
100 |
return $return;
|
101 |
}
|
102 |
|
110 |
*
|
111 |
* @return string $style CSS変数指定(1行分).
|
112 |
*/
|
113 |
+
function vk_blocks_get_spacer_size_style( $options, $spacer_size, $device, $unit ) {
|
114 |
$style = '';
|
115 |
$return_size = vk_blocks_get_spacer_size( $options, $spacer_size, $device );
|
116 |
if ( is_numeric( $return_size ) ) {
|
126 |
* @return string $dynamic_css : 出力するcss
|
127 |
*/
|
128 |
function vk_blocks_get_spacer_size_style_all( $options ) {
|
129 |
+
$dynamic_css = '';
|
|
|
130 |
if (
|
131 |
+
! empty( $options['margin_size']['xs'] ) ||
|
132 |
! empty( $options['margin_size']['sm'] ) ||
|
133 |
! empty( $options['margin_size']['md'] ) ||
|
134 |
+
! empty( $options['margin_size']['lg'] ) ||
|
135 |
+
! empty( $options['margin_size']['xl'] )
|
136 |
) {
|
137 |
if ( ! empty( $options['margin_unit'] ) ) {
|
138 |
$unit = $options['margin_unit'];
|
144 |
$dynamic_css .= '
|
145 |
@media (max-width: 575.98px) {
|
146 |
:root{';
|
147 |
+
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'xs', 'mobile', $unit ) );
|
148 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'mobile', $unit ) );
|
149 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'mobile', $unit ) );
|
150 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'lg', 'mobile', $unit ) );
|
151 |
+
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'xl', 'mobile', $unit ) );
|
152 |
$dynamic_css .= '
|
153 |
}
|
154 |
}';
|
157 |
$dynamic_css .= '
|
158 |
@media (min-width: 576px) and (max-width: 991.98px) {
|
159 |
:root{';
|
160 |
+
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'xs', 'tablet', $unit ) );
|
161 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'tablet', $unit ) );
|
162 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'tablet', $unit ) );
|
163 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'lg', 'tablet', $unit ) );
|
164 |
+
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'xl', 'tablet', $unit ) );
|
165 |
$dynamic_css .= '
|
166 |
}
|
167 |
}';
|
170 |
$dynamic_css .= '
|
171 |
@media (min-width: 992px) {
|
172 |
:root{';
|
173 |
+
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'xs', 'pc', $unit ) );
|
174 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'pc', $unit ) );
|
175 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'pc', $unit ) );
|
176 |
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'lg', 'pc', $unit ) );
|
177 |
+
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'xl', 'pc', $unit ) );
|
178 |
$dynamic_css .= '
|
179 |
}
|
180 |
}';
|
inc/vk-blocks/build/blocks/staff/index.php
CHANGED
@@ -19,13 +19,6 @@ function vk_blocks_register_block_staff() {
|
|
19 |
array(),
|
20 |
VK_BLOCKS_VERSION
|
21 |
);
|
22 |
-
} else {
|
23 |
-
wp_register_style(
|
24 |
-
'vk-blocks/staff',
|
25 |
-
VK_BLOCKS_DIR_URL . '/build/staff/style.css',
|
26 |
-
array(),
|
27 |
-
filemtime( VK_BLOCKS_DIR_PATH . 'build/staff/style.css' )
|
28 |
-
);
|
29 |
}
|
30 |
|
31 |
register_block_type(
|
19 |
array(),
|
20 |
VK_BLOCKS_VERSION
|
21 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
}
|
23 |
|
24 |
register_block_type(
|
inc/vk-blocks/class-vk-blocks-options.php
CHANGED
@@ -46,6 +46,23 @@ class VK_Blocks_Options {
|
|
46 |
'margin_size' => array(
|
47 |
'type' => 'object',
|
48 |
'items' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
'lg' => array(
|
50 |
'type' => 'object',
|
51 |
'items' => array(
|
@@ -97,6 +114,23 @@ class VK_Blocks_Options {
|
|
97 |
),
|
98 |
),
|
99 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
),
|
101 |
),
|
102 |
'load_separate_option' => array(
|
@@ -182,6 +216,18 @@ class VK_Blocks_Options {
|
|
182 |
return $properties;
|
183 |
}
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
/**
|
186 |
* Get Balloon Meta Options
|
187 |
*
|
46 |
'margin_size' => array(
|
47 |
'type' => 'object',
|
48 |
'items' => array(
|
49 |
+
'xl' => array(
|
50 |
+
'type' => 'object',
|
51 |
+
'items' => array(
|
52 |
+
'mobile' => array(
|
53 |
+
'type' => 'number',
|
54 |
+
'default' => null,
|
55 |
+
),
|
56 |
+
'tablet' => array(
|
57 |
+
'type' => 'number',
|
58 |
+
'default' => null,
|
59 |
+
),
|
60 |
+
'pc' => array(
|
61 |
+
'type' => 'number',
|
62 |
+
'default' => null,
|
63 |
+
),
|
64 |
+
),
|
65 |
+
),
|
66 |
'lg' => array(
|
67 |
'type' => 'object',
|
68 |
'items' => array(
|
114 |
),
|
115 |
),
|
116 |
),
|
117 |
+
'xs' => array(
|
118 |
+
'type' => 'object',
|
119 |
+
'items' => array(
|
120 |
+
'mobile' => array(
|
121 |
+
'type' => 'number',
|
122 |
+
'default' => null,
|
123 |
+
),
|
124 |
+
'tablet' => array(
|
125 |
+
'type' => 'number',
|
126 |
+
'default' => null,
|
127 |
+
),
|
128 |
+
'pc' => array(
|
129 |
+
'type' => 'number',
|
130 |
+
'default' => null,
|
131 |
+
),
|
132 |
+
),
|
133 |
+
),
|
134 |
),
|
135 |
),
|
136 |
'load_separate_option' => array(
|
216 |
return $properties;
|
217 |
}
|
218 |
|
219 |
+
/**
|
220 |
+
* Get vk_blocks_options
|
221 |
+
*
|
222 |
+
* @return array
|
223 |
+
*/
|
224 |
+
public static function get_options() {
|
225 |
+
$options = get_option( 'vk_blocks_options' );
|
226 |
+
$defaults = self::get_defaults( self::options_scheme() );
|
227 |
+
$options = vk_blocks_array_merge( $options, $defaults );
|
228 |
+
return $options;
|
229 |
+
}
|
230 |
+
|
231 |
/**
|
232 |
* Get Balloon Meta Options
|
233 |
*
|
inc/vk-blocks/class-vk-blocks-print-css-variables.php
CHANGED
@@ -57,12 +57,7 @@ class Vk_Blocks_Print_CSS_Variables {
|
|
57 |
--vk-line-height-low: 1.5em;
|
58 |
*/
|
59 |
|
60 |
-
|
61 |
-
$dynamic_css = trim( $dynamic_css );
|
62 |
-
// convert tab and br to space.
|
63 |
-
$dynamic_css = preg_replace( '/[\n\r\t]/', '', $dynamic_css );
|
64 |
-
// Change multiple spaces to single space.
|
65 |
-
$dynamic_css = preg_replace( '/\s(?=\s)/', '', $dynamic_css );
|
66 |
return $dynamic_css;
|
67 |
}
|
68 |
|
57 |
--vk-line-height-low: 1.5em;
|
58 |
*/
|
59 |
|
60 |
+
$dynamic_css = vk_blocks_minify_css( $dynamic_css );
|
|
|
|
|
|
|
|
|
|
|
61 |
return $dynamic_css;
|
62 |
}
|
63 |
|
inc/vk-blocks/languages/vk-blocks-ja-vk-blocks-admin-js.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural_forms":"nplurals=1; plural=0;","lang":"ja"},"Select":["選択"],"Delete":["削除"],"Balloon Image Name":["吹き出し画像の名前"],"Balloon Setting":["吹き出しブロック設定"],"Balloon Border Width Setting":["吹き出しの線幅の設定"],"Balloon Image Setting":["吹き出し画像設定"],"You can register frequently used icon images for speech bubble blocks.":["よく使う吹き出し用のアイコン画像を登録する事ができます。"],"If you change image or name that please click Save Changes button.":["画像を変更したら「変更を保存」ボタンをクリックしてください。"],"image":["画像"],"Enter a valid Lightning G3 Pro Pack or Lightning Pro license key.":["Lightning G3 Pro Pack あるいは Lightning Pro の有効なライセンスキーを入力してください。"],"Once you enter the license key you will be able to do a one click update from the administration screen.":["有効なライセンスキーを入力すると、管理画面からワンクリックでアップデートが可能になります。"],"License key":["ライセンスキー"],"Load Separate Setting":["分割読み込み設定"],"Note that the order in which CSS/JS are loaded will change.":["CSS / JSの読み込み順序が変わることに注意してください。"],"Load Separate Option on":["分割読み込みを有効にする"],"Small":["小"],"Medium":["中"],"Large":["大"],"PC":["PC"],"Tablet":["タブレット"],"Mobile":["モバイル"],"Common Margin Setting":["共通余白設定"],"Please specify the size of the common margin used for responsive spacers, etc.":["レスポンシブスペーサーなどで使用する共通余白のサイズを指定してください。"],"Unit":["単位"],"px":["px"],"em":["em"],"rem":["rem"],"Margin":["余白"],"FAQ Block Setting":["FAQ Blocks 設定"],"Disable accordion":["アコーディオン無効"],"Enable accordion and default open":["アコーディオン有効 / 初期状態で開く"],"Enable accordion and default close":["アコーディオン有効 / 初期状態で閉じる"],"Save setting":["変更を保存"],"Save Success":["保存しました"],"No background color":["背景なし"],"No background color / Border":["背景なし / 枠線"],"Background color":["背景あり"],"Background color / Border":["背景あり / 枠線"],"Background color / Rounded ":["背景あり / 角丸"],"Background color / Rounded / Border":[" 背景あり / 角丸 / 枠線 "],"Slow":["遅い"],"Fast":["速い"],"Very Fast":["非常に速い"],"Animation range":["アニメーションの距離"],"Short":["短い"],"Normal":["標準"],"Long":["長い"],"Animation Settings":["アニメーション設定"],"Animation effect":["アニメーションの効果"],"Fade In":["フェードイン"],"Slide Up":["スライドアップ"],"Slide Left":["スライド左"],"Slide Right":["スライド右"],"Left Right":["左右"],"Up Down":["上下"],"Trembling Y":["ぶるぶる(Y方向)"],"Trembling X":["ぶるぶる(X方向)"],"Pounding":["どきどき"],"Shaking":["ゆらゆら"],"Animation speed":["アニメーションの速度"],"Very Slow":["非常に遅い"],"Button Common Setting":["ボタン共通設定"],"Button gap size":["ボタンギャップサイズ"],"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ":["あのイーハトーヴォのすきとおった風、夏でも底に冷たさをもつ青いそら、うつくしい森で飾られたモリーオ市、郊外のぎらぎらひかる草の波。"],"Title":["タイトル"],"Select image":["画像を選択"],"Delete Image":["画像を削除"],"URL":["URL"],"https://example.com":["https://example.com"],"Display item":["表示要素"],"Excerpt Text":["抜粋"],"Warning! When you hidden this item, you will lose the content.":["注意!この項目を非表示にすると入力されていた内容は失われます。"],"Image":["画像"],"Button":["ボタン"],"Button option":["ボタンオプション"],"Click each card block to set the target url. You can find the url form at it's sidebar.":["ボタンのリンク先は各カードブロックをクリックすると、サイドバーにURL入力フォームが表示されます。"],"Button text":["ボタンの文字"],"Image Height":["画像高さ"],"Slide Height for each device.":["デバイス毎の高さ"],"Current page":["現在のページ"],"Display conditions":["表示条件"],"Parent":["親ページ"],"Ignore this post":["この投稿を除く"],"Color Settings":["色設定"],"Text Color":["文字の色"],"Background Color":["背景色"],"Margin setting inside the item":["アイテム内の余白設定"],"Padding (Top)":["余白 (上)"],"Padding (Left and Right)":["余白 (左右)"],"Padding (Bottom)":["余白 (下)"],"vw":["vw"],"Layout Columns":["カラムレイアウト"],"Column Margin Bottom Setting":["カラム下部余白設定"],"Margin Bottom":["下部の余白"],"You can create a variety of layouts with grid column card blocks.":["グリッドカラムカードブロックでは柔軟なレイアウトが可能です。"],"Unlink":["リンクを解除する"],"Input Link URL":["リンクURL"],"Submit":["送信"],"Edit mode":["編集モード"],"All columns":["すべてのカラム"],"This column only":["このカラムのみ"],"Edit Lock":["編集ロック"],"Lock edits this block from the parent and other Grid Column Item block":["このブロックをロックして親ブロックや他のブロックの変更を受け取らないようにする"],"Column Setting":["カラム設定"],"Link URL:":["リンク URL:"],"Open link new tab.":["リンクを別ウィンドウで開く"],"If you set a link URL, do not place the link element (text or button) in the Grid Column Card Item. It may not be displayed correctly.":["リンクURLを設定する場合は、グリッドカラムカードアイテム内にリンク要素(テキストやボタン)を配置しないでください。 正しく表示されない場合があります。"],"Make sure that no link is specified for the image block, etc.":["画像ブロックなどにもリンクが指定されていないか注意してください。"],"Image fit to column":["画像とカラム内の余白をなくす"],"Column footer button area":["カラムフッターボタンエリア"],"Display":["表示"],"Hide":["非表示"],"Column Radius":["カラムの角丸の大きさ"],"Border":["枠線"],"Border Color":["線の色"],"Column padding":["カラムの余白"],"Column header media area":["カラムヘッダーメディアエリア"],"Column Width Setting":["カラム幅設定"],"If you specify the minimum column size on a tablet or PC with %, it will be easier to align the number of columns in the upper and lower rows according to the screen size.":["タブレットまたはPCの最小列サイズを%で指定すると、画面サイズに応じて上下の行の列数を揃えやすくなります。"],"Column min width (Mobile)":["カラムの最小サイズ(モバイル)"],"Column min width (Tablet / Optional)":["カラムの最小サイズ(タブレット / 任意)"],"Column min width (PC / Optional)":["カラムの最小サイズ(PC / 任意)"],"Column Gap Setting":["カラム間の設定"],"Column gap size":["カラム間の余白"],"Column row-gap size (optional)":["カラム間の縦余白(任意)"],"Specify all columns at once":["全カラム一括指定"],"Input Title":["タイトルを入力"],"Input Content":["文章を入力してください"],"Icon Card Setting":["アイコンカード設定"],"Icon":["アイコン"],"Icon Background:":["アイコン背景:"],"Solid color":["ベタ塗り"],"No background":["背景なし"],"Columns":["カラム"],"Align":["表示位置"],"Text":["テキスト"],"Background Setting":["背景設定"],"Color Setting":["色設定"],"Color will overcome background image. If you want to display image, set opacity 0.":["色を指定すると画像よりも優先されます。画像を表示したい場合は、不透明度を0に設定します。"],"Opacity Setting":["透過設定"],"Background Image PC":["背景画像 ( PC )"],"Background Image Tablet":["背景画像 ( タブレット )"],"Background Image Mobile":["背景画像 ( モバイル )"],"Background image Position":["背景画像の位置"],"Repeat":["リピート"],"Cover":["カバー"],"Cover fixed (Not fixed on iPhone)":["カバー 固定(iPhoneでは固定されません)"],"Parallax (Non-guaranteed)":["パララックス(非保証)"],"Layout Setting":["レイアウト設定"],"Width":["幅"],"Fit to the Content area":["コンテンツエリアに合わせる"],"Add padding to the Outer area":["アウターエリア内に余白を追加する"],"Remove padding from the Outer area":["アウターエリア内の余白を無くす"],"Padding (Top and Bottom)":["余白 (上下)"],"Use default padding":["標準の余白を使用"],"Do not use default padding":["標準の余白を使用しない"],"* If you select \"Do not use\" that, please set yourself it such as a spacer block.":["*「使用しない」を選択した場合はスペーサーブロックなどで任意に設定してください。"],"Divider Setting":["区切りの設定"],"Type":["タイプ"],"Tilt":["傾斜"],"Curve":["カーブ"],"Wave":["波状"],"Triangle":["三角"],"Upper Divider Level":["上部区切りレベル"],"Lower Divider Level":["下部区切りレベル"],"Border Setting":["枠線の設定"],"Border will disappear when divider effect is applied.":["枠線は区切りレベルを適用すると表示されなくなります。"],"Border type":["枠線の種類"],"None":["なし"],"Solid":["直線"],"Dotted":["点線"],"Dashed":["Dashed"],"Double":["二重線"],"Groove":["Groove"],"Ridge":["Ridge"],"Inset":["Inset"],"Outset":["Outset"],"Border width":["枠線の幅"],"Border radius":["枠線のRの大きさ"],"Container Inner Side Space Setting":["コンテナ内側のスペース設定"],"Unit Type":["単位"],"Filter by %s":["%sで絞り込み"],"Filter by PostTypes":["投稿タイプ"],"Number of Posts":["表示件数"],"Filter by Date":["日付で絞り込み"],"Period of Time":["期間"],"Whole Period":["全期間"],"From Today":["今日以降"],"From Now":["現在以降"],"From Tomorrow":["明日以降"],"* If you choose a future period, you will need to customize it so that future posts will be published immediately.":["※ 未来の期間を選択する場合は、未来の投稿が即時公開になるように別途カスタマイズが必要です。"],"Order":["表示順"],"ASC":["昇順"],"DESC":["降順"],"Order by":["表示順"],"Published Date":["公開日"],"Modefied Date":["更新日"],"Random":["ランダム"],"offset":["オフセット数"],"Because no post is selected, The block Will not render":["ページが選択されていないためこのブロックはレンダリングされません"],"Input Internal Post URL":["このサイトの投稿の URL を入力してください"],"Fit to the Container area":["コンテナエリアに合わせる"],"Add padding to the Slider area":["スライダーアイテムエリア内に余白を追加する"],"Remove padding from the Slider area":["スライダーアイテムエリア内の余白を無くす"],"Vertical align":["縦揃え"],"Background Image Size":["背景画像サイズ"],"cover":["カバー"],"repeat":["リピート"],"Multi-image Display Setting":["複数の表示設定"],"Display Multi Images per View":["画像を複数枚表示する"],"Images per View":["1度に表示する画像の枚数"],"Move Images per Slide":["1度の動作で動かす枚数"],"Full Wide":["全幅"],"Height":["高さ"],"Slider Settings":["スライド設定"],"Effect ":["エフェクト"],"Slide":["スライド"],"Fade":["フェード"],"Loop ":["繰り返し"],"AutoPlay":["自動再生"],"Stop AutoPlay when swipe":["スワイプ時に自動再生を停止"],"Display Time":["表示時間"],"Change Speed":["切り替え時間"],"Pagination Type":["ページネーションの種類"],"Default":["標準"],"Number of slides":["スライドの枚数"],"Navigation Position":["ナビゲーションの位置"],"Center":["中央"],"Bottom on Mobile device":["モバイルでは下部に表示"],"Color":["色"],"Style":["スタイル"],"Outlined":["アウトライン"],"Step Mark":["ステップマーク"],"If Font Awesome tags entered, it will overrides the number.":["Font Awesome の class 名が入力されている場合は数字は上書きされます。"],"Ex,6:00AM":["例) 午前 6:00"],"First Dot Number":["ステップの開始番号"],"Table of Contents":["目次"],"Note on duplicating headings":["見出し複製時の注意"],"If you duplicate a heading, the table of contents block will not work properly, please reassign the ID.":["見出しを複製すると目次ブロックが適切に動作しません。IDを振り直してください。"],"Display type":["表示タイプ"],"No frame":["枠無し"],"Default Display Status":["初期表示状態"],"OPEN":["OPEN"],"CLOSE":["CLOSE"],"label":["ラベル"],"Style Settings":["スタイル設定"],"Success":["Success"],"Info":["Info"],"Warning":["Warning"],"Danger":["Danger"],"Don't display inactive grand child pages":["非アクティブな孫ページを表示しない"],"Ancestor Page List Setting":["先祖階層からのページリスト設定"],"Display Ancestor Page Title":["先祖階層のページタイトルを表示"],"Archive title tag":["アーカイブタイトルタグ"],"h2":[""],"h3":[""],"h4":[""],"h5":[""],"h6":[""],"Ancestor page title class name":["先祖階層ページタイトルのクラス名"],"Add link to ancestor page title":["先祖階層のページタイトルにリンクを追加"],"If there is no child page, the block itself is not displayed":["子ページがない場合、このブロック自体を表示しない"]," Image Border":["画像の線"],"Add border to image":["画像に枠線を追加する"],"* You can change border width on Setting > VK Blocks":["* 線の太さは 管理画面の 設定 > VK Blocks から選択する事ができます。"],"Border color of speech balloon":["吹き出しの線の色"],"Add border to balloon":["吹き出しに枠線を追加する"],"Balloon setting":["吹き出しブロック設定"],"Position":["位置"],"Please specify the layout of the balloon.":["吹き出しの配置を指定してください。"],"Left":["左"],"Right":["右"],"Please select the type of balloon.":["吹き出しのタイプを指定してください。"],"Speech":["吹き出し"],"Thinking":["もくもく"],"Image Style":["画像スタイル"],"Rounded":["角丸2"],"Circle":["丸抜き"],"100%":["100%"],"Background color of speech balloon":["吹き出しの背景色"],"Default Icon Setting":["デフォルトアイコン設定"],"You can register default icons from Settings > VK Blocks in Admin.":["管理画面の 設定 > VK Blocks から よく使うアイコンを登録する事ができます。"],"Animation setting":["アニメーション設定"],"Please select the type of animation.":["アニメーションのタイプを指定してください。"],"Trembling":["ぶるぶる"],"Upload image":["画像をアップロード"],"Icon Name":["アイコンの名前"],"Please enter a title.":["見出しを入力してください。"],"The margin-top of the first element and the margin-bottom of the last element in the border block will be automatically set to 0.If you want to add margins at the beginning and end, use a spacer block to specify height instead of margin.":["枠線ブロック内の最初の要素の margin-top と 最後の要素の margin-bottom は自動的に0になります。最初と最後に余白をつけたい場合はスペーサーブロックなどで margin指定ではなくheight指定でご利用ください。"],"Transparent":["透過"],"White":["白"],"Solid Angle Tab":["直線 ピン角 タブ"],"Solid Round Tab":["直線 角丸 タブ"],"Solid Angle Banner":["直線 ピン角 バナー"],"Solid Angle Onborder":["直線 ピンカド 線上"],"Solid Angle Inner":["直線 ピン角 内側"],"Solid Angle iconFeature":["直線 ピン角 アイコン"],"Button setting":["ボタン設定"],"Sub Caption":["サブテキスト"],"Button Size:":["ボタンサイズ:"],"Button Position:":["ボタンの位置:"],"Wide":["幅広"],"Block":["Block"],"Button Width:":["ボタンの幅:"],"25%":["25%"],"50%":["50%"],"75%":["75%"],"Button Style:":["ボタンスタイル:"],"Text only":["テキストのみ"],"If you select \"No background\", that you need to select a Custom Color.":["もし「背景なし」を選択した場合はカスタムカラーで色を指定してください。"],"Default Color (Bootstrap)":["標準色 (Bootstrap)"],"Primary":["Primary"],"Secondary":["Secondary"],"Light":["Light"],"Dark":["Dark"],"Custom Color":["カスタムカラー"],"Button Color":["ボタンカラー"],"This color palette overrides the default color. If you want to use the default color, click the clear button.":["このカラーパレットの色は標準色を上書きします。 デフォルトの色を使用したい場合は、クリアボタンをクリックしてください。"],"Before text":["文字の前"],"After text":["文字の後"],"Size":["サイズ"],"Input text":["文字を入力"],"If you want to be collapsing this block, you can set it at Setting > VK Blocks":["このブロックを折りたたみたい場合は 設定 > VK Blocks から指定できます"],"You can be collapsing this block at VK Blocks Pro":["Pro版は回答部分を開閉式にできます"],"Accordion Setting":["アコーディオン設定"],"Please enter a question.":["質問を入力してください。"],"Bgfill Circle":["背景塗り 円形"],"Bgfill Square":["背景塗り ピン角"],"Bgfill Rounded":["背景塗り 角丸"],"Border Circle":["枠線 円形"],"Border Square":["枠線 ピン角"],"Border Rounded":["枠線 角丸"],"Display of arrow":["矢印の表示"],"Arrow display":["矢印を表示する"],"Arrow hidden":["矢印を表示しない"],"Input title":["タイトルを入力"],"Input content":["説明を入力"],"Input sub text…":["サブテキストを入力"],"Input title…":["タイトルを入力"],"Heading style":["見出しスタイル"],"Plain":["装飾無し"],"Margin Setting":["余白設定"],"Margin between Heading and sub text (rem)":["見出しとサブテキストの余白サイズ(rem)"],"Margin bottom size of after this block (rem)":["このブロック全体の下部の余白 (rem)"],"Heading Settings":["見出し設定"],"Icon Color":["アイコンの色"],"Sub Text Settings":["サブテキスト設定"],"Text size (rem)":["文字サイズ (rem)"],"Change heading level":["見出しレベルの変更"],"Heading %d":["見出し %d"],"Reset":["リセット"],"Icon & Frame":["アイコンと枠"],"Icon only":["アイコンのみ"],"Icon Common Setting":["アイコン共通設定"],"Icon Setting":["アイコン設定"],"Link URL":["リンクURL"],"Unspecified":["指定しない"],"Page Setting":["ページ設定"],"Select Page":["ページを選択"],"PR Block1 Setting":["PR Block1 設定"],"Icon 1":["アイコン 1"],"When you have an image. Image is displayed with priority":["画像を設定した場合は画像が優先して表示されます。"],"PR Image 1":["PR 画像 1"],"PR Block2 Setting":["PR Block2 設定"],"Icon 2":["アイコン 2"],"PR Image 2":["PR 画像 2"],"PR Block3 Setting":["PR Block3 設定"],"Icon 3":["アイコン 3"],"When you have an image. Image is displayed with priority.":["画像を設定した場合は画像が優先して表示されます。"],"PR Image 3":["PR 画像 3"],"Input title.":["タイトルを入力してください。"],"Input content.":["本文を入力してください。"],"Select Image":["画像を選択"],"Button Setting":["ボタン設定"],"Button Text":["ボタンの文字"],"Button Type":["ボタンタイプ"],"Ghost":["ゴーストボタン"],"Default Color:":["標準色:"],"Layout Type":["レイアウトタイプ"],"Title Color":["見出しの色"],"Content Color":["本文の色"],"Image Border Color":["画像の線の色"],"height":["height"],"margin-top":["margin-top"],"margin-bottom":["margin-bottom"],"Space Type":["余白タイプ"],"Custom":["カスタム"],"You can change each common margin size from Setting > VK Blocks":["* 共通の余白サイズは管理画面の 設定 > VK Blocks から変更する事ができます。"],"Height for each device.":["デバイス毎の高さ"],"Spacer Settings":["余白の設定"],"Your Name":["名前"],"Caption":["キャプション"],"Role position":["役職"],"Profile title":["プロフィールタイトル"],"Profile text":["プロフィールテキスト"],"Layout":["レイアウト"],"Image left":["画像 左"],"Image border":["画像の線"],"Alt text":["画像の代替テキスト"],"Set the alt text for profile image":["プロフィール画像の代替テキストを設定します"],"Staff name":["名前"],"Name caption":["名前のキャプション"],"Heading Font":["見出しのフォント"],"Font":["フォント"],"minchoBody":["明朝体にする"],"Card (Image Round)":["カード(画像丸抜き)"],"Card":["カード"],"Card (No border)":["カード(線なし)"],"Card (Intext)":["カード(インテキスト)"],"Card (Horizontal)":["カード(水平)"],"Media":["メディア"],"Text 1 Column":["テキスト 1 カラム"],"Display type and columns":["表示タイプとカラム"],"Column ( Screen size : Extra large )":["カラム ( 画面サイズ : Extra large )"],"Column ( Screen size : XX large )":["カラム ( 画面サイズ : XX Large )"],"Column ( Screen size : Extra small )":["カラム ( 画面サイズ : Extra small )"],"Column ( Screen size : Small )":["カラム ( 画面サイズ : Small )"],"Column ( Screen size : Medium )":["カラム ( 画面サイズ : Medium )"],"Column ( Screen size : Large )":["カラム ( 画面サイズ : Large )"],"Button align":["ボタンの位置"],"Term's name on Image":["画像右上分類名"],"Excerpt":["抜粋"],"Author":["投稿者"],"Date":["日付"],"New mark":["新着表示"],"Taxonomies (all)":["分類(全項目)"],"New mark option":["新着表示オプション"],"Number of days to display the new post mark":["新着表示日数"],"New post mark":["新着表示"],"Link target":["リンクターゲット"],"Open in new tab":["リンクを別ウィンドウで開く"],"Link rel":["rel属性"],"Hidden Settings":["非表示設定"],"Hidden at screen size":["非表示にする画面サイズ"],"Note : This function is display hidden only. Actually Block is output to HTML. Please don't use you must not visible item. Don't use it for blocks you really don't want to display.":["注意 : この機能はあくまでHTMLに出力される要素を非表示にするだけです。本当に見せてはいけない要素には使わないでください。"],"Hidden ( Screen size : all )":["非表示 ( 画面サイズ : all )"],"Hidden ( Screen size : xs )":["非表示 ( 画面サイズ : xs )"],"Hidden ( Screen size : sm )":["非表示 ( 画面サイズ : sm )"],"Hidden ( Screen size : md )":["非表示 ( 画面サイズ : md )"],"Hidden ( Screen size : lg )":["非表示 ( 画面サイズ : lg )"],"Hidden ( Screen size : xl )":["非表示 ( 画面サイズ : xl )"],"Hidden ( Screen size : xxl )":["非表示 ( 画面サイズ : xxl )"],"If you want to hide multiple blocks, that first you set to group block and the next, hide for the that group block.":["複数のブロックを非表示にする場合は、最初にグループブロックに設定し、そのグループブロックに対して非表示にします。"],"Highlighter":["蛍光マーカー"],"Inline Font Size":["インライン文字サイズ"],"Apply":["適用"],"Inline font size":["インライン文字サイズ"],"Big":["大"],"Extra big":["特大"],"Top lg":["上 lg"],"Margin the block":["ブロックの余白"],"Top md":["上 md"],"Top sm":["上 sm"],"Top 0":["上 0"],"Bottom 0":["下 0"],"Bottom sm":["下 sm"],"Bottom md":["下 md"],"Bottom lg":["下 lg"],"No wrap":["No wrap"],"Responsive BR":["画面サイズ毎の改行 "],"Responsive BR ":["画面サイズ毎の改行 "],"Solid Roundcorner":["直線 角丸"],"Stitch":["スティッチ"],"Border Top Bottom":["直線 上下"],"Shadow":["シャドウ"],"Both ends":["左右線"],"Brackets black":["括弧 黒"],"Background fill lightgray":["背景塗り 灰色"],"Double border top and bottom black":["二重線 上下線 黒"],"Double border bottom black":["二重線 下線 黒"],"Solid border top and bottom black":["直線 上下 黒"],"Solid border bottom black":["直線 下線 黒"],"Dotted border bottom black":["点線 下線 黒"],"Rounded02":["角丸2"],"Photo frame":["フォトフレーム"],"Photo frame Tilt Right":["フォトフレーム傾き右"],"Photo frame Tilt Left":["フォトフレーム傾き左"],"Wave01":["流体シェイプ1"],"Wave02":["流体シェイプ2"],"Wave03":["流体シェイプ3"],"Wave04":["流体シェイプ4"],"Arrow":["矢印"],"Check":["チェック"],"Check Square":["チェック(四角)"],"Check Circle":["チェック-丸"],"Handpoint":["指"],"Pencil":["鉛筆"],"Smile":["笑顔"],"Frown":["不満顔"],"Numbered Circle":["数字-丸"],"Numbered Square":["数字-四角"],"List Icon Color":["リストアイコンの色"],"Border / Stripes":["枠線 / ストライプ"],"Theoretical Physicist":["理論物理学者"],"Profile":["プロフィール"],"Albert Einstein":["アルバート・アインシュタイン"],"14 March 1879 – 18 April 1955":["1879年3月14日 - 1955年4月18日"],"Lorem ipsum dolor":["闇の中で"],"Lorem ipsum":["ロレム・アプサム"],"Font Awesome icon list":["Font Awesome アイコンリスト"],"If you want to use an icon other than the ones listed above, you can use any of the icons from Font Awesome's icon list Please select a tag and enter it.":["他のアイコンを使いたい場合は Font Awesome のアイコンリストから選んでタグを入力してください。"],"Ex) <i class=\"fas fa-arrow-circle-right\"></i>":["例) <i class=“fas fa-arrow-circle-right”></i>"],"When you click save button, the window will be reloaded and this setting will be applied.":["保存ボタンをクリックすると、ウィンドウが再読み込みされて、変更が適用されます。"],"Save":["保存"],"Select Icon":["アイコンを選択"],"VK Blocks Pro":["VK Blocks Pro"],"https://github.com/vektor-inc/vk-blocks":["https://github.com/vektor-inc/vk-blocks"],"This is a plugin that extends Gutenberg's blocks.":["Gutenbergのブロックを拡張するプラグインです。"],"Vektor,Inc.":["Vektor,Inc."],"https://vektor-inc.co.jp":["https://vektor-inc.co.jp"],"We've released VK Blocks Pro!":["VK Blocks Pro を公開しました!"],"Thank you for using VK Blocks. We've released VK Blocks Pro. It has more custom blocks to build web site more easily. If you are interested in VK Blocks Pro, Please read %1$s this post %2$s for more details.":["いつもVK Blocksをご利用いただきありがとうございます。この度、VK Blocks Proをリリースしました。より簡単にWebサイトを構築するためのカスタムブロックが追加されています。VK Blocks Proに興味がある方は、詳しくは%1$sこの記事%2$sを読んでみてください。"],"https://www.vektor-inc.co.jp/service/wordpress-plugins/vk-blocks/":["https://www.vektor-inc.co.jp/service/wordpress-plugins/vk-blocks/"],"See more":["続きを見る"],"Dismiss this notice":["通知を無視"],"Setting saved.":["設定を保存しました。"],"Install Required Plugins":["必須プラグインのインストール"],"Install Plugins":["プラグインのインストール"],"Installing Plugin: %s":["プラグイン %s をインストール中"],"Something went wrong with the plugin API.":["プラグイン API で問題が発生しました。"],"This plugin requires the following plugin: %1$s.":["このプラグインは下記プラグインを必要としています:%1$s。"],"This plugin recommends the following plugin: %1$s.<br>Many additional functions are available for free.":["このプラグインは次のプラグインと一緒に利用するのがオススメです:%1$s。<br>これらのプラグインは無償で利用可能です。"],"Sorry, but you do not have the correct permissions to install the %1$s plugin.":["%1$sプラグインをインストールするための適切な権限がありません。"],"The following plugin needs to be updated to its latest version to ensure maximum compatibility with this plugin: %1$s.":["このプラグインとの最大の互換性を確保するには、次のプラグインを最新バージョンに更新する必要があります: %1$s。"],"There is an update available for: %1$s.":["次のプラグインの更新が利用可能です:%1$s。"],"Sorry, but you do not have the correct permissions to update the %1$s plugin.":["%1$sプラグインを更新するための適切な権限がありません。"],"The following required plugin is currently inactive: %1$s.":["必須プラグインが現在有効化されていません: %1$s。"],"The following recommended plugin is currently inactive: %1$s.":["推奨プラグインが現在有効化されていません: %1$s。"],"Sorry, but you do not have the correct permissions to activate the %1$s plugin.":["%1$sプラグインを有効化するための適切な権限がありません。"],"Begin installing plugin":["プラグインのインストールを開始"],"Begin updating plugin":["プラグインの更新を開始する"],"Begin activating plugin":["プラグインの有効化を開始"],"Return to Required Plugins Installer":["必須プラグインのインストール画面に戻る"],"Plugin activated successfully.":["プラグインを有効化しました。"],"The following plugin was activated successfully:":["次のプラグインを有効化しました:"],"No action taken. Plugin %1$s was already active.":["操作を実行しませんでした。プラグイン %1$s はすでに有効化されています。"],"Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin.":["プラグインを有効化できませんでした。このテーマはプラグイン %s の現在のバージョンをサポートしていません。プラグインを更新してください。"],"All plugins installed and activated successfully. %1$s":["すべてのプラグインを正常にインストールし、有効化しました。 %1$s"],"Please contact the administrator of this site for help.":["ヘルプが必要な場合はこのサイトの管理者にお問い合わせください。"],"Sorry, there is no post":["申し訳ありませんが投稿がありません。"],"Vektor WordPress Information":["Vektor WordPress Information"],"FAQ Setting":["FAQ ブロックの設定"],"Blocks setting":["Blocks 設定"],"Blocks Setting":["Blocks 設定"],"License Key":["ライセンスキー"],"Balloon Block Setting":["吹き出しブロック設定"],"Load Separete Setting":["分割読み込み設定"],"Setting":["設定"],"Edit this area":["このエリアを編集"],"Post":["投稿"],"There are no %ss.":["該当の%sはありません。"],"Blocks":["Blocks"],"Blocks Layout":["ブロックレイアウト"],"Read more":["続きを読む"],"New!!":["New!!"],"More":[""],"Posts navigation":["投稿ナビゲーション"],"Posts":["投稿リスト"],"Page":["ページ"],"Card Noborder":["カード(線なし)"],"Card Intext":["カード(インテキスト)"],"Card Horizontal":["カード(水平)"],"CSS Optimize ( Speed up ) Settings":["CSS最適化(高速化)設定"],"Tree shaking":["Tree shaking"],"Tree shaking activation settings":["Tree shaking 有効化設定"],"Output only the main CSS of the page inline":["主要なCSSのみインラインで出力します"],"Nothing to do":["何もしない"],"Active Tree shaking (Recomend)":["Tree shakingを有効化(推奨)"],"Exclude class of Tree shaking":["CSSの軽量化から除外するCSSのclass名"],"If you choose \"Active Tree shaking\" that delete the useless css.If you using active css class that please fill in class name. Ex) btn-active,slide-active,scrolled":["Tree shaking を有効にしている場合、使用していないCSSは削除されます。もし使用している動的クラスがある場合はクラス名を入力してください。 例)btn-active,slide-active,scrolled"],"Preload CSS":["Preload CSS"],"Preload CSS activation settings":["Preload CSS 有効化設定"],"Preload css except for critical css":["クリティカルなCSSを除いてCSSをプリロードします"],"Active Preload CSS (Recomend)":["Preload CSS を有効化(推奨)"],"Exclude class of Preload CSS":["Preload CSSから除外するハンドル名"],"If you choose \"Active Preload CSS\" that css load timing was changed.If you have any do not want to preload css file that please fill in handle(id) name. Ex) pluginname_a-style,pluginname_b-css":["もし「Preload CSS を有効」に設定した場合、CSSの読み込みタイミングが変更されます。プリロードしたくないファイルがある場合は、ハンドル名(id)を入力してください。 例)pluginname_a-style,pluginname_b-css"],"Disabled Blocks module on VK All in One Expansion Unit. Because VK-Blocks Plugin running.":["VK-Blocksと競合するため、VK All in One Expansion Unitの Block機能を停止しました。"],"License Key has no registered.":["ライセンスキーが登録されていません。"],"The VK Blocks Pro license is invalid.":["VK Blocks Pro のライセンスが無効です。"],"Enter a valid license key for any of the following products on the settings screen.":["以下の製品のライセンスキーを設定画面から入力してください。"],"Enter the license key":["ライセンスキーを入力"],"If this display does not disappear even after entering a valid license key, re-acquire the update.":["有効なライセンスキーを入力してもこの表示が消えない場合は更新の再取得をしてください。"],"Re-acquisition of updates":["更新の再取得"],"Ancestor Page Title":["先祖ページのタイトル"],"Dummy Text":["ダミーテキスト"],"Because of the site editor have not child page that, the page list from ancestor is not displayed. Now displaying the dummy text list instead of the page list from ancestor.":["サイトエディタには子ページがないため、先祖階層からのページ一覧は表示されません。 先祖階層からのページリストの代わりにダミーテキストのリストを表示しています。"],"This message only display on the edit screen.":["このメッセージは編集画面でのみ表示されます。"],"label in admin menu\u0004Blocks":["Blocks"],"post list type\u0004Text 1 Column":["テキスト 1 カラム"],"block title\u0004Alert":["アラート"],"block title\u0004Page list from ancestor":["先祖階層からのページリスト"],"block title\u0004Ballon":["吹き出し"],"block title\u0004Border Box":["枠線ボックス"],"block title\u0004Button":["ボタン"],"block title\u0004Classic FAQ":["旧 FAQ"],"block title\u0004FAQ Answer":["FAQ 回答"],"block title\u0004FAQ Question":["FAQ 質問"],"block title\u0004New FAQ":["新 FAQ"],"block title\u0004Flow":["フロー"],"block title\u0004Heading":["見出し"],"block title\u0004Icon Outer":["横並びアイコン"],"block title\u0004Icon":["アイコン"],"block title\u0004Page Content":["固定ページ本文"],"block title\u0004PR Blocks (not recommended)":["PR Blocks (非推奨)"],"block title\u0004PR Content":["PR Content"],"block title\u0004Responsive Spacer":["レスポンシブスペーサー"],"block title\u0004Staff":["スタッフ"],"block title\u0004Accordion Target":["アコーディオン コンテンツ"],"block title\u0004Accordion Trigger":["アコーディオン タイトル"],"block title\u0004Accordion":["アコーディオン"],"block title\u0004Animation":["アニメーション"],"block title\u0004Breadcrumb":["パンくずリスト"],"block title\u0004Button Outer":["横並びボタン"],"block title\u0004Card Item":["カードアイテム"],"block title\u0004Card":["カード"],"block title\u0004Child page list":["子ページリスト"],"block title\u0004Grid Column Item":["グリッドカラムアイテム"],"block title\u0004Grid Column":["グリッドカラム"],"block title\u0004Grid Column Card Item Body":["グリッドカラムカードアイテムボディ"],"block title\u0004Grid Column Card Item Footer":["グリッドカラムカードアイテムフッター"],"block title\u0004Grid Column Card Item header":["グリッドカラムカードアイテムヘッダー"],"block title\u0004Grid Column Card Item":["グリッドカラムカードアイテム"],"block title\u0004Grid Column Card":["グリッドカラムカード"],"block title\u0004Icon Card Item":["アイコンカードアイテム"],"block title\u0004Icon Card":["アイコンカード"],"block title\u0004Outer":["Outer"],"block title\u0004Post list":["投稿リスト"],"block title\u0004Selected Post List Item":["選択投稿リストアイテム"],"block title\u0004Selected Post List":["選択投稿リスト"],"block title\u0004Slider Item":["スライダーアイテム"],"block title\u0004Slider":["スライダー"],"block title\u0004Step Item":["ステップ要素"],"block title\u0004Step":["ステップ"],"block title\u0004Table of Contents":["目次"],"block title\u0004Timeline Item":["タイムライン要素"],"block title\u0004Timeline":["タイムライン"],"block description\u0004A colored box with four statuses, including annotations and alerts.":["注釈や注意など4つのステータスがある色付きのボックスです。"],"block description\u0004Display Page list from ancestor page":["先祖階層からのページリストを表示します"],"block description\u0004These speech balloons are perfect for recreating conversations.":["会話の再現などに最適な吹き出しです。"],"block description\u0004This is a border box where you can place headings to attract attention.":["見出しを配置でき注目されやすい枠線ボックスです。"],"block description\u0004A button link that can display icons before and after.":["前後にアイコンを表示できるボタンリンクです。"],"block description\u0004Displays a combination of questions and answers.":["質問と回答を組み合わせて表示します。"],"block description\u0004Answer area where you can add blocks freely.":["自由にブロックを追加できる回答エリアです。"],"block description\u0004Question area where you can freely add blocks.":["自由にブロックを追加できる質問�
|
|