Changeset 3223892
- Timestamp:
- 01/17/2025 12:23:50 AM (13 months ago)
- Location:
- blocks-monster
- Files:
-
- 10 edited
- 1 copied
-
tags/1.8.3 (copied) (copied from blocks-monster/trunk)
-
tags/1.8.3/blocks-monster.php (modified) (2 diffs)
-
tags/1.8.3/includes/gutenberg/blocks/section/js/index.js (modified) (1 diff)
-
tags/1.8.3/includes/gutenberg/controls/assets/js/controls.js (modified) (1 diff)
-
tags/1.8.3/includes/gutenberg/controls/class-css.php (modified) (2 diffs)
-
tags/1.8.3/readme.txt (modified) (2 diffs)
-
trunk/blocks-monster.php (modified) (2 diffs)
-
trunk/includes/gutenberg/blocks/section/js/index.js (modified) (1 diff)
-
trunk/includes/gutenberg/controls/assets/js/controls.js (modified) (1 diff)
-
trunk/includes/gutenberg/controls/class-css.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
blocks-monster/tags/1.8.3/blocks-monster.php
r3223886 r3223892 10 10 * @wordpress-plugin 11 11 * Plugin Name: Blocks Monster 12 * Version: 1.8. 212 * Version: 1.8.3 13 13 * Plugin URI: https://blocks.monster/blocks-monster 14 14 * Description: The library of all the blocks for the Elementor blocks. … … 35 35 * @var string 36 36 */ 37 public $version = '1.8. 2';37 public $version = '1.8.3'; 38 38 39 39 /** -
blocks-monster/tags/1.8.3/includes/gutenberg/blocks/section/js/index.js
r3223886 r3223892 1 !function(){"use strict";var e={ 852:function(e,t,n){n.d(t,{aE:function(){return ve},$n:function(){return ie},H2:function(){return Ae},nl:function(){return O},so:function(){return oe},Tj:function(){return Ue},JU:function(){return de},AM:function(){return re},yX:function(){return I},Yn:function(){return Ee},Ft:function(){return se},fI:function(){return ge},Hw:function(){return L},Uw:function(){return be},Py:function(){return z},om:function(){return je},ZX:function(){return Re},Mi:function(){return N},x7:function(){return ye},De:function(){return ce},z:function(){return Ce},eT:function(){return xe},ph:function(){return B},gB:function(){return P},wR:function(){return G},Xc:function(){return ke}});var c=wp.element,l=wp.components,o=function(){return wp.element.createElement(l.SVG,{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.25",y:"0.75",width:"11.5",height:"0.5",rx:"0.25",stroke:"currentColor",strokeWidth:"0.5"}))},a=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}))},r=function(){return wp.element.createElement(l.SVG,{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(l.Path,{d:"M2 3C2 2.44772 2.44772 2 3 2H8C8.55228 2 9 2.44772 9 3V8C9 8.55228 8.55228 9 8 9H3C2.44772 9 2 8.55228 2 8V3Z"}),wp.element.createElement(l.Path,{d:"M2 2H9H2ZM9 9H2H9ZM3 9C2.28203 9 1.7 8.41797 1.7 7.7V3.3C1.7 2.58203 2.28203 2 3 2H3C2.6134 2 2.3 2.44772 2.3 3V8C2.3 8.55228 2.6134 9 3 9H3ZM8 2C8.71797 2 9.3 2.58203 9.3 3.3V7.7C9.3 8.41797 8.71797 9 8 9H8C8.3866 9 8.7 8.55228 8.7 8V3C8.7 2.44772 8.3866 2 8 2H8Z",fill:"currentColor"}))},i=function(){return wp.element.createElement(l.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(l.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(l.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}))},m=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(l.Rect,{x:"2.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"5.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"8.75",y:"2.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"8.75",y:"4.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"2.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"5.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"2.75",y:"6.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}))},u=function(){return wp.element.createElement(l.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(l.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(l.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}),wp.element.createElement(l.Rect,{x:"3.15",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"5.29282",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"7.43577",y:"3.65",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"7.43577",y:"4.84995",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"3.15",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"5.29282",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"3.15",y:"6.05002",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}))},s=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"}))},w=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"}))},p=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}))},f=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(l.Path,{d:"M5 13C5 16.866 8.13401 20 12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6H7M7 6L10 3M7 6L10 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},h=function(){return wp.element.createElement(l.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1.2505 3.89576C0.748063 2.55595 2.05645 1.24758 3.39625 1.75001L17.6801 7.10645C19.2686 7.70213 19.0552 10.0135 17.3846 10.3083L10.9452 11.4447L9.80882 17.8841C9.51399 19.5548 7.20261 19.7681 6.60694 18.1796L1.2505 3.89576ZM2.81105 3.31056L8.16749 17.5944L9.30382 11.155C9.42557 10.4652 9.96565 9.92508 10.6555 9.80333L17.0949 8.667L2.81105 3.31056Z",fill:"currentColor"}))},v=function(){return wp.element.createElement(l.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Path,{d:"M16.8892 10.2777C15.8892 9.22216 14.5559 8.49994 13.167 8.22216C12.5559 8.0555 11.9448 7.94439 11.3336 7.88883C12.8892 6.0555 12.6114 3.27772 10.7781 1.72216C8.94475 0.166608 6.16698 0.444386 4.61142 2.27772C3.05587 4.11105 3.33364 6.88883 5.16698 8.44439C5.50031 8.72216 5.83364 8.94438 6.16698 9.0555V10.2777L5.27809 9.44439C4.50031 8.66661 3.22253 8.66661 2.3892 9.44439C1.61142 10.2222 1.55586 11.4444 2.33364 12.2222L4.8892 15.2222C5.00031 15.9999 5.27809 16.7222 5.66698 17.3888C5.94475 17.8888 6.33364 18.3888 6.72253 18.7777V19.8333C6.72253 20.1666 6.94475 20.3888 7.27809 20.3888H14.8336C15.1114 20.3888 15.3892 20.111 15.3892 19.8333V18.3888C16.4448 17.1111 17.0003 15.4999 17.0003 13.8888V10.6666C17.0559 10.4444 17.0003 10.3333 16.8892 10.2777ZM4.66698 5.0555C4.66698 3.22216 6.16698 1.77772 8.00031 1.83327C9.83364 1.83327 11.2781 3.33327 11.2225 5.16661C11.2225 6.16661 10.7781 7.0555 10.0003 7.66661V4.88883C9.94475 3.88883 9.11142 3.11105 8.11142 3.11105C7.11142 3.0555 6.22253 3.88883 6.22253 4.88883V7.77772C5.27809 7.22216 4.72253 6.16661 4.66698 5.0555ZM15.9448 13.8333C16.0003 15.2777 15.5003 16.6666 14.5559 17.7777C14.4448 17.8888 14.3336 17.9999 14.3336 18.1666V19.3333H7.8892V18.5555C7.8892 18.3888 7.77809 18.2222 7.66698 18.1111C7.27809 17.7777 6.94475 17.3888 6.66698 16.8888C6.33364 16.3333 6.11142 15.6666 6.00031 14.9999C6.00031 14.8888 5.94475 14.7777 5.8892 14.6666L3.22253 11.4999C3.05587 11.3333 2.94475 11.1111 2.94475 10.8333C2.94475 10.6111 3.05587 10.3333 3.22253 10.1666C3.61142 9.83327 4.16698 9.83327 4.55587 10.1666L6.16698 11.7777V13.4444L7.22253 12.8888V4.88883C7.27809 4.49994 7.61142 4.16661 8.05587 4.22216C8.44475 4.22216 8.83364 4.49994 8.83364 4.88883V11.2777L9.94475 11.4999V8.94438C10.0003 8.88883 10.0559 8.88883 10.1114 8.83327C10.5003 8.83327 10.8892 8.88883 11.2781 8.94438V11.7777L12.167 11.9444V9.0555L12.8336 9.22216C13.1114 9.27772 13.3892 9.38883 13.667 9.49994V12.2777L14.5559 12.4444V9.88883C15.0559 10.1111 15.5003 10.4444 15.8892 10.8333L15.9448 13.8333Z",fill:"currentColor"}))},d=function(){return wp.element.createElement(l.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{d:"M7.50033 3.4165V2.1665M4.21754 4.71705L3.33366 3.83317M4.21754 11.3332L3.33366 12.2171M10.8337 4.71705L11.7176 3.83317M2.91699 7.99984H1.66699M13.2207 13.9912L11.1442 17.8473C10.9071 18.2879 10.7884 18.5082 10.6457 18.5639C10.5219 18.6123 10.3824 18.5986 10.2703 18.5272C10.1411 18.4448 10.0675 18.2058 9.92016 17.7276L7.03798 8.37088C6.91766 7.98026 6.85749 7.78495 6.9059 7.65303C6.94807 7.53813 7.03862 7.44758 7.15352 7.40542C7.28543 7.35701 7.48074 7.41717 7.87137 7.5375L17.228 10.4197C17.7062 10.567 17.9452 10.6407 18.0276 10.7698C18.0991 10.882 18.1127 11.0214 18.0643 11.1453C18.0087 11.288 17.7883 11.4066 17.3478 11.6438L13.4917 13.7203C13.4262 13.7555 13.3934 13.7731 13.3648 13.7958C13.3393 13.8158 13.3163 13.8388 13.2962 13.8643C13.2736 13.8929 13.256 13.9257 13.2207 13.9912Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(l.Path,{d:"M13.01 2.92007L18.91 5.54007C20.61 6.29007 20.61 7.53007 18.91 8.28007L13.01 10.9001C12.34 11.2001 11.24 11.2001 10.57 10.9001L4.67 8.28007C2.97 7.53007 2.97 6.29007 4.67 5.54007L10.57 2.92007C11.24 2.62007 12.34 2.62007 13.01 2.92007Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(l.Path,{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(l.Path,{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}))},E=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M9 7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM8 7v10H7V7zm2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},b=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M7 6a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zm0 1h10v1H7zm1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m9 0a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},y=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M18 7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zm-1 0v10h-1V7zM8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm-5 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},C=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m-8 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zM7 15a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm0 1h10v1H7z",clipRule:"evenodd"}))},x=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Path,{d:"M0 4V0H4M8 0H12V4M12 8V12H8M4 12H0V8",stroke:"black",strokeWidth:"2"}))},k=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}))},j=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}),wp.element.createElement(l.Rect,{x:"2",y:"2",width:"4",height:"4",fill:"black"}))},R=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(l.Rect,{x:"3.5",y:"3.5",width:"5",height:"5",stroke:"black",strokeLinecap:"square"}))},V=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(l.Line,{x1:"2",y1:"4",x2:"10",y2:"4",stroke:"black",strokeWidth:"2"}))},S={n:"none",b:"block",i:"inline",ib:"inline-block",f:"flex",if:"inline-flex"},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=S&&S[e]?"display: ".concat(null==S?void 0:S[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},O=(0,c.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,s=function(e){n(e)},w=t;return wp.element.createElement("div",{className:"bm-display-control"},wp.element.createElement(de,{name:"Display",onReset:function(){n(l)}}),wp.element.createElement("div",{className:"bm-display-control__group"},wp.element.createElement(ie,{label:"None",showTooltip:!0,className:"".concat("n"===w?"is-active":""),onClick:function(){return s("n")}},wp.element.createElement(o,null)),wp.element.createElement(ie,{label:"Block",showTooltip:!0,className:"".concat("b"===w?"is-active":""),onClick:function(){return s("b")}},wp.element.createElement(a,null)),wp.element.createElement(ie,{label:"Inline",showTooltip:!0,className:"".concat("i"===w?"is-active":""),onClick:function(){return s("i")}},wp.element.createElement(r,null)),wp.element.createElement(ie,{label:"Inline Block",showTooltip:!0,className:"".concat("ib"===w?"is-active":""),onClick:function(){return s("ib")}},wp.element.createElement(i,null)),wp.element.createElement(ie,{label:"Flex",showTooltip:!0,className:"".concat("f"===w?"is-active":""),onClick:function(){return s("f")}},wp.element.createElement(m,null)),wp.element.createElement(ie,{label:"Inline Flex",showTooltip:!0,className:"".concat("if"===w?"is-active":""),onClick:function(){return s("if")}},wp.element.createElement(u,null))))})),P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(M(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(M(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(M(n[2])," } }"):""].filter(Boolean).join("\n")},M=function(e){var t,n,c,l;if(!e)return"";var o=Re(e,",",4),a=(null===(t=o=o.split(","))||void 0===t?void 0:t[0])||"",r=xe(a,""),i=Ce(a,"px"),m=(null===(n=o)||void 0===n?void 0:n[1])||"",u=xe(m,""),s=Ce(m,"px"),w=(null===(c=o)||void 0===c?void 0:c[2])||"",p=xe(w,""),f=Ce(w,"px"),h=(null===(l=o)||void 0===l?void 0:l[3])||"",v=xe(h,""),d=Ce(h,"px"),g=[];return g.push("top: ".concat(r).concat(i,";")),g.push("right: ".concat(u).concat(s,";")),g.push("bottom: ".concat(p).concat(f,";")),g.push("left: ".concat(v).concat(d,";")),g.join("")},L=function(e){var t,n,c,l,o=e.value,a=e.onChange,r=e.reset,i=void 0===r?"":r,m=Re(o,",",4),u=(null===(t=m=m.split(","))||void 0===t?void 0:t[0])||"",s=xe(u,""),w=Ce(u,"px"),p=(null===(n=m)||void 0===n?void 0:n[1])||"",f=xe(p,""),h=Ce(p,"px"),v=(null===(c=m)||void 0===c?void 0:c[2])||"",d=xe(v,""),g=Ce(v,"px"),x=(null===(l=m)||void 0===l?void 0:l[3])||"",k=xe(x,""),j=Ce(x,"px"),R=function(e){a(e)};return wp.element.createElement("div",{className:"bm-sides-control"},wp.element.createElement(de,{name:"Sides",onReset:function(){a(i)}}),wp.element.createElement("div",{className:"bm-position-control__sides"},wp.element.createElement(ve,{min:-9999,value:k,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(f).concat(h,",").concat(d).concat(g,",").concat(e).concat(j))},icon:wp.element.createElement(E,null),unit:j,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(h,",").concat(d).concat(g,",").concat(k).concat(e))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(ve,{min:-9999,value:s,placeholder:"auto",onChange:function(e){R("".concat(e).concat(w,",").concat(f).concat(h,",").concat(d).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(b,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(e,",").concat(f).concat(h,",").concat(d).concat(g,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(ve,{min:-9999,value:f,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(e).concat(h,",").concat(d).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(y,null),unit:h,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(e,",").concat(d).concat(g,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(ve,{min:-9999,value:d,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(f).concat(h,",").concat(e).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(C,null),unit:g,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(h,",").concat(d).concat(e,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}})))},H={s:"static",r:"relative",a:"absolute",f:"fixed",st:"sticky"},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=H&&H[e]?"position: ".concat(null==H?void 0:H[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},I=(0,c.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=function(e){n(e)},a=t;return wp.element.createElement("div",{className:"bm-position-control"},wp.element.createElement(de,{name:"Position",onReset:function(){n(l)}}),wp.element.createElement(ge,{className:"bm-position-control__group"},wp.element.createElement(ie,{label:"Static",showTooltip:!0,className:"".concat("s"===a?"is-active":""),onClick:function(){return o("s")}},wp.element.createElement(x,null)),wp.element.createElement(ie,{label:"Relative",showTooltip:!0,className:"".concat("r"===a?"is-active":""),onClick:function(){return o("r")}},wp.element.createElement(k,null)),wp.element.createElement(ie,{label:"Absolute",showTooltip:!0,className:"".concat("a"===a?"is-active":""),onClick:function(){return o("a")}},wp.element.createElement(j,null)),wp.element.createElement(ie,{label:"Fixed",showTooltip:!0,className:"".concat("f"===a?"is-active":""),onClick:function(){return o("f")}},wp.element.createElement(R,null)),wp.element.createElement(ie,{label:"Sticky",showTooltip:!0,className:"".concat("st"===a?"is-active":""),onClick:function(){return o("st")}},wp.element.createElement(V,null))))})),G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(e){return e?"z-index: ".concat(e,";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},z=function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=t,a=function(e){n(Number(e))};return wp.element.createElement("div",{className:"bm-z-index-control"},wp.element.createElement(de,{name:"Z Index",onReset:function(){n(l)}}),wp.element.createElement(ve,{value:o,placeholder:"0",onChange:function(e){a(e)},icon:wp.element.createElement(g,null)}))},_=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"11",viewBox:"0 0 8 11"},wp.element.createElement(l.Path,{fillRule:"evenodd",stroke:"none",d:"M4 10.207.646 6.854l.708-.708L3.5 8.293V0h1v8.293l2.146-2.147.708.708z"}))},A=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"7",viewBox:"0 0 11 7"},wp.element.createElement(l.Path,{fillRule:"evenodd",stroke:"none",d:"M10.707 3.5 7.354.146l-.708.708L8.793 3H.5v1h8.293L6.646 6.146l.708.708z"}))},Z=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},wp.element.createElement(l.Path,{fillRule:"evenodd",stroke:"none",d:"M8 3h2c1.933 0 3.5 1.567 3.5 3.5 0 1.933-1.567 3.5-3.5 3.5H4.707l2.147 2.146-.708.708-3-3-.353-.354.353-.354 3-3 .708.708L4.707 9H10c1.38 0 2.5-1.12 2.5-2.5C12.5 5.12 11.38 4 10 4H8z"}))},D=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M15 14.75c0 .138.112.25.25.25h.25a.5.5 0 0 1 0 1h-.25c-.69 0-1.25-.56-1.25-1.25v-6.5c0-.69.56-1.25 1.25-1.25h.25a.5.5 0 0 1 0 1h-.25a.25.25 0 0 0-.25.25zm-8 .75a.5.5 0 0 1 .5-.5h.25a.25.25 0 0 0 .25-.25v-6.5A.25.25 0 0 0 7.75 8H7.5a.5.5 0 0 1 0-1h.25C8.44 7 9 7.56 9 8.25v6.5C9 15.44 8.44 16 7.75 16H7.5a.5.5 0 0 1-.5-.5m4-2a.5.5 0 1 0 1 0v-4a.5.5 0 0 0-1 0z",clipRule:"evenodd"}))},T=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M7.5 7a.5.5 0 0 1 .5.5v.25c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V7.5a.5.5 0 0 1 1 0v.25C16 8.44 15.44 9 14.75 9h-6.5C7.56 9 7 8.44 7 7.75V7.5a.5.5 0 0 1 .5-.5m.75 8a.25.25 0 0 0-.25.25v.25a.5.5 0 0 1-1 0v-.25c0-.69.56-1.25 1.25-1.25h6.5c.69 0 1.25.56 1.25 1.25v.25a.5.5 0 0 1-1 0v-.25a.25.25 0 0 0-.25-.25zm1.25-4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},W=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"5",y:"5",width:"7",height:"2"}),wp.element.createElement(l.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(l.Rect,{x:"5",y:"13",width:"5",height:"2"}))},F=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"6.5",y:"5",width:"7",height:"2"}),wp.element.createElement(l.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(l.Rect,{x:"7.5",y:"13",width:"5",height:"2"}))},U=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"8",y:"5",width:"7",height:"2"}),wp.element.createElement(l.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(l.Rect,{x:"10",y:"13",width:"5",height:"2"}))},$=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"5",y:"13.5",width:"7",height:"2",transform:"rotate(-90 5 13.5)"}),wp.element.createElement(l.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(l.Rect,{x:"13",y:"12.5",width:"5",height:"2",transform:"rotate(-90 13 12.5)"}))},q=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"5",y:"15",width:"7",height:"2",transform:"rotate(-90 5 15)"}),wp.element.createElement(l.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(l.Rect,{x:"13",y:"15",width:"5",height:"2",transform:"rotate(-90 13 15)"}))},X=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{width:"7",height:"2",transform:"matrix(0 1 1 0 5 5)"}),wp.element.createElement(l.Rect,{width:"10",height:"2",transform:"matrix(0 1 1 0 9 5)"}),wp.element.createElement(l.Rect,{width:"5",height:"2",transform:"matrix(0 1 1 0 13 5)"}))},K=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},Y=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 7 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 11 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},J=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},Q=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"5",y:"9",width:"10",height:"2"}))},ee=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"7.5",y:"9",width:"5",height:"2"}))},te=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}))},ne=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"9",y:"12.5",width:"5",height:"2",transform:"rotate(-90 9 12.5)"}))},ce=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(le(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(le(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(le(n[2])," } }"):""].filter(Boolean).join("\n")},le=function(e){var t,n,c,l,o,a,r;if(!e)return"";var i=Re(e,",",7),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";switch(e){case"c":return"column";case"r":return"row";case"cr":return"column-reverse";case"rr":return"row-reverse"}return t}(null===(t=i=i.split(","))||void 0===t?void 0:t[0]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"w":return"wrap";case"n":return"nowrap";case"rw":return"wrap-reverse"}return t}(null===(n=i)||void 0===n?void 0:n[1]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"b":return"baseline"}return t}(null===(c=i)||void 0===c?void 0:c[2]),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(l=i)||void 0===l?void 0:l[3]),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(o=i)||void 0===o?void 0:o[4]),f=(null===(a=i)||void 0===a?void 0:a[5])||"",h=xe(f,""),v=Ce(f,"px"),d=(null===(r=i)||void 0===r?void 0:r[6])||"",g=xe(d,""),E=Ce(d,"px"),b=[];return m&&b.push("flex-direction: ".concat(m,";")),u&&b.push("flex-wrap: ".concat(u,";")),s&&b.push("align-items: ".concat(s,";")),w&&b.push("align-content: ".concat(w,";")),p&&b.push("justify-content: ".concat(p,";")),h&&b.push("row-gap: ".concat(h).concat(v,";")),g&&b.push("column-gap: ".concat(g).concat(E,";")),b.join("")},oe=function(e){var t,n,c,l,o,a,r,i=e.value,m=e.onChange,u=e.reset,s=void 0===u?"":u,w=Re(i,",",7),p=(null===(t=w=w.split(","))||void 0===t?void 0:t[0])||"c",f=(null===(n=w)||void 0===n?void 0:n[1])||"",h=(null===(c=w)||void 0===c?void 0:c[2])||"",v=(null===(l=w)||void 0===l?void 0:l[3])||"",d=(null===(o=w)||void 0===o?void 0:o[4])||"",g=(null===(a=w)||void 0===a?void 0:a[5])||"",E=xe(g,""),b=Ce(g,"px"),y=(null===(r=w)||void 0===r?void 0:r[6])||"",C=xe(y,""),x=Ce(y,"px"),k=function(e){m(e)},j=function(e){return(null==e?void 0:e.flexDirection)===p&&(null==e?void 0:e.flexWrap)===f&&(null==e?void 0:e.alignItems)===h&&(null==e?void 0:e.alignContent)===v&&(null==e?void 0:e.justifyContent)===d};return wp.element.createElement("div",{className:"bm-flex-control"},wp.element.createElement(de,{name:"Flex Box",onReset:function(){m(s)}}),wp.element.createElement("div",{className:"bm-flex-control__display"},wp.element.createElement(ie,{className:"".concat("c"===p?"is-active":""),onClick:function(){k("c,".concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(_,null)),wp.element.createElement(ie,{className:"".concat("r"===p&&"w"!==f?"is-active":""),onClick:function(){k("r,,".concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(A,null)),wp.element.createElement(ie,{className:"".concat("w"===f?"is-active":""),onClick:function(){k("r,w,".concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Z,null))),wp.element.createElement("div",{className:"bm-flex-control__align-box"},wp.element.createElement("div",{className:"bm-flex-control__align-left"},"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(X,null)):wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(W,null))),"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(X,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fs,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(X,null)):wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(U,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-center"},"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"c",alignContent:"fs"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement($,null))):wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(e){k("".concat(p,",").concat(f,",fs,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(W,null))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null)):wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement($,null))):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ee,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement($,null))):wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(U,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-right"},"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fe,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(q,null)):wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(W,null))),"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,c,fe,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(q,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,fe,fe,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(q,null)):wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(U,null))))),wp.element.createElement("div",{className:"bm-flex-control__gap"},wp.element.createElement(ve,{value:E,onChange:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(e).concat(b,",").concat("w"!==f?e:C).concat(x))},icon:wp.element.createElement(D,null),unit:b,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(E).concat(e,",").concat(C).concat("w"!==f?e:x))}}),"w"===f&&wp.element.createElement(ve,{placeholder:E,value:C,onChange:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(e).concat(x))},icon:wp.element.createElement(T,null),unit:x,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(e))}})))};function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},ae.apply(this,arguments)}var re=function(e){var t=(0,c.useRef)();return(0,c.useEffect)((function(){var n=function(n){t.current&&!t.current.contains(n.target)&&e.onClose()};return function(){return document.removeEventListener("mousedown",n)}}),[t]),wp.element.createElement(l.Popover,ae({},e,{ref:t,className:"bm-popover"}),wp.element.createElement("div",{ref:t},e.children))},ie=function(e){var t=e.style,n=void 0===t?{}:t,c=e.icon,o=void 0===c?null:c,a=e.label,r=void 0===a?"":a,i=e.showTooltip,m=void 0!==i&&i,u=e.onClick,s=e.className,w=e.children;return wp.element.createElement(l.Button,{style:n,icon:o,label:r,showTooltip:m,className:"bm-button-control ".concat(s),onClick:u},w)},me=wp.data,ue=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M11.5 6a.5.5 0 0 1 .5.5V11h4.5a.5.5 0 0 1 0 1H12v4.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H11V6.5a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}))},se=function(e){var t=e.className,n=e.label,c=e.device,l=e.onAddNew,o=e.onReset,a=void 0!==o&&o;return wp.element.createElement("div",{className:"bm-responsive ".concat(t)},n&&wp.element.createElement("label",null,n),!1===a?null:wp.element.createElement(Ee,{onReset:a}),wp.element.createElement("div",{className:"bm-responsive__buttons"},["Desktop","Tablet","Mobile"].map((function(e,t){return wp.element.createElement(ie,{label:e,showTooltip:!0,key:t,className:"bm-responsive__button ".concat(c.toLowerCase()===e.toLowerCase()?"is-active":""),onClick:function(){return t=e,void(0,me.dispatch)("core/editor").setDeviceType(t);var t}},"Desktop"===e?wp.element.createElement(s,null):"Tablet"===e?wp.element.createElement(w,null):wp.element.createElement(p,null))}))),l&&wp.element.createElement(ie,{label:"Add new",showTooltip:!0,className:"bm-responsive__add-new",onClick:l},wp.element.createElement(ue,null)))};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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var fe=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.80109 2.07902 5.61032 2.21967 5.46967C2.36032 5.32902 2.55109 5.25 2.75 5.25H9.25C9.44891 5.25 9.63968 5.32902 9.78033 5.46967C9.92098 5.61032 10 5.80109 10 6C10 6.19891 9.92098 6.38968 9.78033 6.53033C9.63968 6.67098 9.44891 6.75 9.25 6.75H2.75C2.55109 6.75 2.36032 6.67098 2.21967 6.53033C2.07902 6.38968 2 6.19891 2 6Z",fill:"currentColor"}))},he=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 9.25a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5Z",fill:"currentColor"}))},ve=function(e){var t,n,l=e.canDrag,o=void 0===l||l,a=e.className,r=void 0===a?"":a,i=e.step,m=void 0===i?1:i,u=e.withIncrementors,s=void 0!==u&&u,w=e.placeholder,p=void 0===w?0:w,h=e.min,v=void 0===h?0:h,d=e.max,g=e.direction,E=e.value,b=e.onChange,y=e.onChangeUnit,C=e.icon,x=e.unit,k=e.units,j=e.suggests,R=void 0===j?{}:j,V=we((0,c.useState)(!1),2),S=V[0],N=(V[1],we((0,c.useState)(!1),2)),O=N[0],P=N[1],M=we((0,c.useState)(!1),2),L=M[0],H=M[1],B=we((0,c.useState)(!1),2),I=B[0],G=B[1],z=E&&"string"==typeof E&&E.startsWith("g:"),_="",A="",Z="";z&&(_=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e?void 0:e.name)||""):""}(A=E.replace("g:","")),Z=(null===(n=ctcGbGlobalStyles)||void 0===n||null===(n=n.collections)||void 0===n||null===(n=n.modes)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.id)||"");var D=function(e){return!e||("string"==typeof e&&(e=e.trim()),!!e&&e.toString().match(/^[0-9]+$/))},T=function(e){if(o){P(!0);var t=E||0,n="vertical"===g?e.clientY:e.clientX,c=function(e){if(D(t)){var c="vertical"===g?e.clientY:e.clientX,l=t+(c-n);"vertical"===g&&(l=t-(c-n)),W(l)}};document.addEventListener("mousemove",c),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",e),P(!1)}))}},W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e||(e=0),D(e)&&(t&&n&&("increase"===n&&(e=parseInt(e)+t),"decrease"===n&&(e=parseInt(e)-t)),(e=parseInt(e))<=v&&(e=v),e>=d&&(e=d)),b(e)},F=E?8*E.toString().length:8,U=we((0,c.useState)(!1),2),$=U[0],q=U[1],X=we((0,c.useState)(!1),2),K=X[0],Y=X[1],J=k&&k.length>1;return wp.element.createElement("div",{className:"bm-base-input ".concat(r," ").concat(S?"is-hovered":""," ").concat(O?"is-dragging":""," ").concat(L?"is-focused":""," ").concat("vertical"===g?"is-vertical":""," ").concat(s?"with-incrementors":""," ").concat(o?"bm-can-drag":"")},C&&wp.element.createElement("div",{className:"bm-base-input__icon",onMouseDown:function(e){z||T(e)},onMouseUp:function(){z||P(!1)}},C),s&&!z?wp.element.createElement(ie,{className:"bm-base-input__decrement",onClick:function(){var e=E?parseInt(E):0;W(e-m)}},wp.element.createElement(fe,null)):null,z?wp.element.createElement("span",{className:"bm-global"},_,wp.element.createElement(ie,{onClick:function(){W(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e||null===(e=e.values)||void 0===e?void 0:e[c])||""):""}(A))}},wp.element.createElement(f,null))):wp.element.createElement(React.Fragment,null,wp.element.createElement("input",{style:{width:F},placeholder:p,autoComplete:"false",spellCheck:"false",dir:"auto",value:E,onChange:function(e){W(e.target.value)},onClick:function(){H(!0)},onFocus:function(){H(!0)},onBlur:function(){return H(!1)},onMouseDown:T,onMouseUp:function(){return P(!1)},onKeyDown:function(e){"ArrowUp"===e.key?W(E,e.shiftKey?10:1,"increase"):"ArrowDown"===e.key&&W(E,e.shiftKey?10:1,"decrease")}}),Object.keys(R).length>1&&!0===I&&wp.element.createElement(re,{position:"bottom right",className:"bm-suggest-popover",onClose:function(){return G(!1)}},wp.element.createElement("div",{className:"bm-suggest-popover__content"},wp.element.createElement("ul",null,Object.keys(R).map((function(e){var t,n=(null===(t=R[e])||void 0===t?void 0:t.value)||"";return wp.element.createElement("li",{key:e},wp.element.createElement(ie,{onClick:function(){W(n),G(!1)}},e))}))))),x&&wp.element.createElement("span",{className:"bm-base-input__unit",onClick:function(){J&&Y(!K)}},x,J&&K&&wp.element.createElement(re,{position:"bottom right",className:"bm-unit-popover",onClose:function(){return Y(!1)}},wp.element.createElement("div",{className:"bm-unit-popover__content"},wp.element.createElement("ul",null,k.map((function(e){return wp.element.createElement("li",{key:e},wp.element.createElement(ie,{onClick:function(){y(e)}},e))})))))),$&&wp.element.createElement(re,{position:"bottom right",className:"bm-global-popover"},wp.element.createElement("div",{className:"bm-global-popover__content",style:{width:"200px"}},wp.element.createElement("h3",null,"Global Variables"),wp.element.createElement("ul",null,null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.variables)||void 0===t?void 0:t.map((function(e){var t=e.id,n=e.type,c=e.name,l=e.values,o=(null==l?void 0:l[Z])||"";return wp.element.createElement("li",{key:t},wp.element.createElement(ie,{onClick:function(){b("g:".concat(t)),q(!1)}},wp.element.createElement("span",{style:{height:20,width:20,background:"color"===n?o:"transparent"}},"A"),c))})))))),s&&!z?wp.element.createElement(ie,{className:"bm-base-input__increment",onClick:function(){var e=E?parseInt(E):0;W(e+m)}},wp.element.createElement(he,null)):null)},de=function(e){var t=e.name,n=void 0===t?"":t,c=e.onReset,l=void 0!==c&&c;if(n)return wp.element.createElement("div",{className:"bm-control-label"},n,!1===l?null:wp.element.createElement(Ee,{onReset:l}))},ge=function(e){var t=e.children,n=e.label,c=void 0===n?"":n,l=e.className,o=void 0===l?"":l;return wp.element.createElement("div",{className:"bm-row ".concat(o)},c&&wp.element.createElement("div",{className:"bm-row__label"},c),t)},Ee=function(e){var t=e.onReset;return wp.element.createElement(ie,{label:"Reset",showTooltip:!0,className:"bm-reset",onClick:t},wp.element.createElement(f,null))},be=function(e){var t=e.label,n=void 0===t?"":t,c=e.value,l=void 0===c?"normal":c,o=e.onChange;return wp.element.createElement("div",{className:"bm-state-control"},wp.element.createElement(de,{name:n}),wp.element.createElement(ge,null,["normal","hover","active"].map((function(e){return wp.element.createElement(ie,{key:e,className:"".concat(l===e?"is-active":""),onClick:function(){o(e)}},"normal"===e&&wp.element.createElement(h,null),"hover"===e&&wp.element.createElement(v,null),"active"===e&&wp.element.createElement(d,null),wp.element.createElement("span",{className:"bm-state-control__label"},e))}))))},ye=function(){var e,t=document.querySelector('iframe[name="editor-canvas"]');return t?null==t||null===(e=t.contentWindow)||void 0===e?void 0:e.document:document},Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";if(!e)return t;var n=null==e?void 0:e.match(/[^0-9]/g);return n?null==n?void 0:n.join(""):t},xe=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return n;var c=(null==e||null===(t=e.match(/[0-9]+/g))||void 0===t?void 0:t[0])||n;return c?Number(c):n},ke=function(e,t,n){var c=(e=Re(e)).split(";");"desktop"===n&&(c[0]=t),"tablet"===n&&(c[1]=t),"mobile"===n&&(c[2]=t);var l=c.join(";");return";;"===l?"":l},je=function(e,t){var n=(e=Re(e)).split(";");return"tablet"===t?(null==n?void 0:n[1])||"":"mobile"===t?(null==n?void 0:n[2])||"":(null==n?void 0:n[0])||""},Re=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,c=e?e.split(t):[];c.length<n;)c.push("");return c.slice(0,n).join(t)},Ve=n(470);wp.isShallowEqual;function Se(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ne(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Oe=function(e){var t=e.parent,n=e.id,l=e.style,o=e.selector,a=Se((0,c.useState)(l),2),r=(a[0],a[1]),i=function(){return"style-"+(n=(n=(n=(n=(n=n||o).replace(/\s+/g,"-")).replace(/[^a-zA-Z0-9-]/g,"")).replaceAll("#","")).replaceAll("wp-block-",""))},m=ye(),u=function(){var e=i();if(!m.getElementById(e)){var t=m.createElement("style");return t.id=e,m.head.appendChild(t),t}};(0,c.useEffect)((function(){u()}),[]),(0,c.useEffect)((function(){r(l)}),[l]),(0,c.useEffect)((function(){var e=m.getElementById(i());e||(e=u());var n="";n+=function(e,t,n){var c,l,o,a,r,i,m,u,s,w,p,f,h,v,d,g="",E=n,b="".concat(n,":hover"),y="".concat(n,":focus");return e&&(b=(b=n.replace(":hover","")).replace("#block-".concat(e," >"),"#block-".concat(e,":hover >")),y=(y=n.replace(":focus","")).replace("#block-".concat(e," >"),"#block-".concat(e,":focus >"))),g+=N(null==t||null===(c=t.normal)||void 0===c?void 0:c.display,E),g+=N(null==t||null===(l=t.hover)||void 0===l?void 0:l.display,b),g+=N(null==t||null===(o=t.focus)||void 0===o?void 0:o.display,y),g+=P(null==t||null===(a=t.normal)||void 0===a?void 0:a.sides,E),g+=P(null==t||null===(r=t.hover)||void 0===r?void 0:r.sides,b),g+=P(null==t||null===(i=t.focus)||void 0===i?void 0:i.sides,y),g+=B(null==t||null===(m=t.normal)||void 0===m?void 0:m.position,E),g+=B(null==t||null===(u=t.hover)||void 0===u?void 0:u.position,b),g+=B(null==t||null===(s=t.focus)||void 0===s?void 0:s.position,y),g+=G(null==t||null===(w=t.normal)||void 0===w?void 0:w.zIndex,E),g+=G(null==t||null===(p=t.hover)||void 0===p?void 0:p.zIndex,b),g+=G(null==t||null===(f=t.focus)||void 0===f?void 0:f.zIndex,y),g+=ce(null==t||null===(h=t.normal)||void 0===h?void 0:h.flex,E),g+=ce(null==t||null===(v=t.hover)||void 0===v?void 0:v.flex,b),g+ce(null==t||null===(d=t.focus)||void 0===d?void 0:d.flex,y)}(t,l,o),e.innerHTML=n}),[l])},Pe=n(838);function Me(e){return Me="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},Me(e)}function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},Le.apply(this,arguments)}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){Ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ie(e,t,n){var c;return c=function(e,t){if("object"!=Me(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=Me(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Me(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var _e=(0,c.memo)((function(e){var t=e.device,n=e.deviceType,l=e.element,o=e.style,a=e.onChange,r=Ge((0,c.useState)("normal"),2),i=r[0],m=r[1],u=function(e){var t,n;return l?(null==o||null===(n=o[l])||void 0===n||null===(n=n[i])||void 0===n?void 0:n[e])||"":(null==o||null===(t=o[i])||void 0===t?void 0:t[e])||""},s=(0,c.useRef)();(0,c.useEffect)((function(){if(null!=s&&s.current){var e="bm-controls--hover",t=function(){document.body.classList.add(e)},n=function(){document.body.classList.remove(e)};return s.current.addEventListener("mouseenter",t),s.current.addEventListener("mouseleave",n),function(){s.current&&(s.current.removeEventListener("mouseenter",t),s.current.removeEventListener("mouseleave",n))}}}),[]);var w=function(e){return je(u(e),t)},p=function(e,n){!function(e,t){var n;a(Be(Be({},o),{},l?Ie({},l,Be(Be({},null==o?void 0:o[l]),{},Ie({},i,Be(Be({},null==o||null===(n=o[l])||void 0===n?void 0:n[i]),{},Ie({},e,t))))):Ie({},i,Be(Be({},null==o?void 0:o[i]),{},Ie({},e,t)))))}(e,ke(u(e),n,t))};return wp.element.createElement("div",{ref:s,className:"bm-controls"},wp.element.createElement(be,{value:i,onChange:function(e){return m(e)}}),wp.element.createElement(se,{className:"bm-responsive--position bm-control-seperator",label:(0,Ve.__)("Layout","bm"),device:n}),wp.element.createElement(O,Le({},e,{value:w("display"),onChange:function(e){return p("display",e)}})),w("display")&&w("display").includes("f")?wp.element.createElement(oe,Le({},e,{value:w("flex"),onChange:function(e){return p("flex",e)}})):null,wp.element.createElement(I,Le({},e,{value:w("position"),onChange:function(e){return p("position",e)}})),wp.element.createElement(L,Le({},e,{value:w("sides"),onChange:function(e){return p("sides",e)}})),wp.element.createElement(z,Le({},e,{value:w("zIndex"),onChange:function(e){return p("zIndex",e)}})))})),Ae=(0,c.memo)((function(e){var t=e.id,n=e.title,c=void 0===n?"Style":n,o=e.initialOpen,a=void 0===o||o,r=e.style,i=e.onChange,m=e.selector,u=void 0===m?"":m,s=e.clientId,w=void 0===s?"":s,p=e.allowed,f=void 0===p?{}:p,h=(0,me.useSelect)((function(e){return e("core/editor").getDeviceType()})),v=h.toLowerCase();return wp.element.createElement(React.Fragment,null,wp.element.createElement(Oe,{style:r,selector:u||"#block-".concat(w)}),wp.element.createElement(Pe.InspectorControls,null,wp.element.createElement(l.PanelBody,{title:c,initialOpen:a},wp.element.createElement(_e,{deviceType:h,device:v,id:t,clientId:w,selector:u||"#block-".concat(w),element:"",style:r,onChange:i,allowed:f}))))})),Ze=n(164);n(964),wp.compose,wp.hooks;function De(e){return De="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},De(e)}function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e,t,n){var c;return c=function(e,t){if("object"!=De(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=De(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==De(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ue=function(e){var t=e.childs,n=void 0===t?[]:t,c=e.placeholder,l=e.allowedBlocks,o=e.template,a=e.blockProps,r={templateLock:!1,renderAppender:Pe.InnerBlocks.ButtonBlockAppender};l&&(r.allowedBlocks=l),o&&(r.template=o);var i=(0,Pe.useInnerBlocksProps)(We(We({},a),{},{className:(0,Ze.A)(a.className,"bm-inner-blocks")}),r);return c&&0===n.length?wp.element.createElement("div",i,c):wp.element.createElement("div",i)}},838:function(e){e.exports=wp.blockEditor},964:function(e){e.exports=wp.blocks},470:function(e){e.exports=wp.i18n},164:function(e,t,n){function c(e){var t,n,l="";if("string"==typeof e||"number"==typeof e)l+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=c(e[t]))&&(l&&(l+=" "),l+=n)}else for(n in e)e[n]&&(l&&(l+=" "),l+=n);return l}t.A=function(){for(var e,t,n=0,l="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=c(e))&&(l&&(l+=" "),l+=t);return l}}},t={};function n(c){var l=t[c];if(void 0!==l)return l.exports;var o=t[c]={exports:{}};return e[c](o,o.exports,n),o.exports}n.d=function(e,t){for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e=n(964);function t(e){return t="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},t(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function l(e,n,c){var l;return l=function(e,n){if("object"!=t(e)||!e)return e;var c=e[Symbol.toPrimitive];if(void 0!==c){var l=c.call(e,n||"default");if("object"!=t(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(n,"string"),(n="symbol"==t(l)?l:String(l))in e?Object.defineProperty(e,n,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[n]=c,e}var o=JSON.parse('{"$schema":"https://json.schemastore.org/block.json","apiVersion":3,"name":"bm/section","title":"Section","description":"Allow to create a section for the content.","version":"0.0.1","icon":"editor-table","attributes":{"_bm_id":{"type":"string","default":""},"_bm_style":{"type":"object"}},"category":"blocks-monster","textdomain":"blocks-monster","style":"file:./css/style.css","editorScript":"file:./js/index.js"}'),a=n(164),r=n(838),i=n(852),m=function(e){var t=e.attributes,n=t._bm_id,c=t._bm_style,l=e.setAttributes,o=e.className,m=e.clientId,u=(0,a.A)(o),s=(0,r.useBlockProps)({className:u});return wp.element.createElement(React.Fragment,null,wp.element.createElement(i.H2,{id:n,clientId:m,style:c,onChange:function(e){l({_bm_style:e})}}),wp.element.createElement(i.Tj,{blockProps:s}))},u=(n(470),function(){var e=r.useBlockProps.save();return wp.element.createElement("div",e,wp.element.createElement(r.InnerBlocks.Content,null))});!function(t){if(t){var n=t.metadata,o=t.settings,a=t.name;(0,e.registerBlockType)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({name:a},n),o)}}({name:o.name,metadata:o,settings:{icon:"list-view",edit:m,save:u}})}()}();1 !function(){"use strict";var e={277:function(e,t,n){n.d(t,{aE:function(){return Ce},$n:function(){return fe},H2:function(){return Ue},ZK:function(){return D},nl:function(){return M},so:function(){return se},Tj:function(){return Je},JU:function(){return xe},AM:function(){return pe},yX:function(){return z},Yn:function(){return je},Ft:function(){return de},fI:function(){return ke},Hw:function(){return B},Uw:function(){return Re},Py:function(){return W},om:function(){return Me},ZX:function(){return Pe},i7:function(){return A},Mi:function(){return O},x7:function(){return Ve},De:function(){return me},z:function(){return Se},eT:function(){return Ne},ph:function(){return I},gB:function(){return P},wR:function(){return T},Xc:function(){return Oe}});var c=wp.element,o=wp.components,l=function(){return wp.element.createElement(o.SVG,{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.25",y:"0.75",width:"11.5",height:"0.5",rx:"0.25",stroke:"currentColor",strokeWidth:"0.5"}))},a=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}))},r=function(){return wp.element.createElement(o.SVG,{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(o.Path,{d:"M2 3C2 2.44772 2.44772 2 3 2H8C8.55228 2 9 2.44772 9 3V8C9 8.55228 8.55228 9 8 9H3C2.44772 9 2 8.55228 2 8V3Z"}),wp.element.createElement(o.Path,{d:"M2 2H9H2ZM9 9H2H9ZM3 9C2.28203 9 1.7 8.41797 1.7 7.7V3.3C1.7 2.58203 2.28203 2 3 2H3C2.6134 2 2.3 2.44772 2.3 3V8C2.3 8.55228 2.6134 9 3 9H3ZM8 2C8.71797 2 9.3 2.58203 9.3 3.3V7.7C9.3 8.41797 8.71797 9 8 9H8C8.3866 9 8.7 8.55228 8.7 8V3C8.7 2.44772 8.3866 2 8 2H8Z",fill:"currentColor"}))},i=function(){return wp.element.createElement(o.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(o.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(o.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}))},m=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(o.Rect,{x:"2.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"5.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"8.75",y:"2.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"8.75",y:"4.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"2.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"5.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"2.75",y:"6.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}))},u=function(){return wp.element.createElement(o.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(o.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(o.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}),wp.element.createElement(o.Rect,{x:"3.15",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"5.29282",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"7.43577",y:"3.65",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"7.43577",y:"4.84995",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"3.15",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"5.29282",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"3.15",y:"6.05002",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}))},s=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M5.5 18a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 1 0v11a.5.5 0 0 1-.5.5m13 0a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 1 0v11a.5.5 0 0 1-.5.5M7.604 8l1.882 8h1.03L12 10.062 13.485 16h1.029l1.882-8h-1.027l-1.384 5.88L12.515 8h-1.03l-1.47 5.88L8.63 8z",clipRule:"evenodd"}))},w=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"}))},p=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"}))},f=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}))},v=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(o.Path,{d:"M5 13C5 16.866 8.13401 20 12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6H7M7 6L10 3M7 6L10 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},h=function(){return wp.element.createElement(o.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1.2505 3.89576C0.748063 2.55595 2.05645 1.24758 3.39625 1.75001L17.6801 7.10645C19.2686 7.70213 19.0552 10.0135 17.3846 10.3083L10.9452 11.4447L9.80882 17.8841C9.51399 19.5548 7.20261 19.7681 6.60694 18.1796L1.2505 3.89576ZM2.81105 3.31056L8.16749 17.5944L9.30382 11.155C9.42557 10.4652 9.96565 9.92508 10.6555 9.80333L17.0949 8.667L2.81105 3.31056Z",fill:"currentColor"}))},d=function(){return wp.element.createElement(o.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Path,{d:"M16.8892 10.2777C15.8892 9.22216 14.5559 8.49994 13.167 8.22216C12.5559 8.0555 11.9448 7.94439 11.3336 7.88883C12.8892 6.0555 12.6114 3.27772 10.7781 1.72216C8.94475 0.166608 6.16698 0.444386 4.61142 2.27772C3.05587 4.11105 3.33364 6.88883 5.16698 8.44439C5.50031 8.72216 5.83364 8.94438 6.16698 9.0555V10.2777L5.27809 9.44439C4.50031 8.66661 3.22253 8.66661 2.3892 9.44439C1.61142 10.2222 1.55586 11.4444 2.33364 12.2222L4.8892 15.2222C5.00031 15.9999 5.27809 16.7222 5.66698 17.3888C5.94475 17.8888 6.33364 18.3888 6.72253 18.7777V19.8333C6.72253 20.1666 6.94475 20.3888 7.27809 20.3888H14.8336C15.1114 20.3888 15.3892 20.111 15.3892 19.8333V18.3888C16.4448 17.1111 17.0003 15.4999 17.0003 13.8888V10.6666C17.0559 10.4444 17.0003 10.3333 16.8892 10.2777ZM4.66698 5.0555C4.66698 3.22216 6.16698 1.77772 8.00031 1.83327C9.83364 1.83327 11.2781 3.33327 11.2225 5.16661C11.2225 6.16661 10.7781 7.0555 10.0003 7.66661V4.88883C9.94475 3.88883 9.11142 3.11105 8.11142 3.11105C7.11142 3.0555 6.22253 3.88883 6.22253 4.88883V7.77772C5.27809 7.22216 4.72253 6.16661 4.66698 5.0555ZM15.9448 13.8333C16.0003 15.2777 15.5003 16.6666 14.5559 17.7777C14.4448 17.8888 14.3336 17.9999 14.3336 18.1666V19.3333H7.8892V18.5555C7.8892 18.3888 7.77809 18.2222 7.66698 18.1111C7.27809 17.7777 6.94475 17.3888 6.66698 16.8888C6.33364 16.3333 6.11142 15.6666 6.00031 14.9999C6.00031 14.8888 5.94475 14.7777 5.8892 14.6666L3.22253 11.4999C3.05587 11.3333 2.94475 11.1111 2.94475 10.8333C2.94475 10.6111 3.05587 10.3333 3.22253 10.1666C3.61142 9.83327 4.16698 9.83327 4.55587 10.1666L6.16698 11.7777V13.4444L7.22253 12.8888V4.88883C7.27809 4.49994 7.61142 4.16661 8.05587 4.22216C8.44475 4.22216 8.83364 4.49994 8.83364 4.88883V11.2777L9.94475 11.4999V8.94438C10.0003 8.88883 10.0559 8.88883 10.1114 8.83327C10.5003 8.83327 10.8892 8.88883 11.2781 8.94438V11.7777L12.167 11.9444V9.0555L12.8336 9.22216C13.1114 9.27772 13.3892 9.38883 13.667 9.49994V12.2777L14.5559 12.4444V9.88883C15.0559 10.1111 15.5003 10.4444 15.8892 10.8333L15.9448 13.8333Z",fill:"currentColor"}))},g=function(){return wp.element.createElement(o.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{d:"M7.50033 3.4165V2.1665M4.21754 4.71705L3.33366 3.83317M4.21754 11.3332L3.33366 12.2171M10.8337 4.71705L11.7176 3.83317M2.91699 7.99984H1.66699M13.2207 13.9912L11.1442 17.8473C10.9071 18.2879 10.7884 18.5082 10.6457 18.5639C10.5219 18.6123 10.3824 18.5986 10.2703 18.5272C10.1411 18.4448 10.0675 18.2058 9.92016 17.7276L7.03798 8.37088C6.91766 7.98026 6.85749 7.78495 6.9059 7.65303C6.94807 7.53813 7.03862 7.44758 7.15352 7.40542C7.28543 7.35701 7.48074 7.41717 7.87137 7.5375L17.228 10.4197C17.7062 10.567 17.9452 10.6407 18.0276 10.7698C18.0991 10.882 18.1127 11.0214 18.0643 11.1453C18.0087 11.288 17.7883 11.4066 17.3478 11.6438L13.4917 13.7203C13.4262 13.7555 13.3934 13.7731 13.3648 13.7958C13.3393 13.8158 13.3163 13.8388 13.2962 13.8643C13.2736 13.8929 13.256 13.9257 13.2207 13.9912Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},E=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(o.Path,{d:"M13.01 2.92007L18.91 5.54007C20.61 6.29007 20.61 7.53007 18.91 8.28007L13.01 10.9001C12.34 11.2001 11.24 11.2001 10.57 10.9001L4.67 8.28007C2.97 7.53007 2.97 6.29007 4.67 5.54007L10.57 2.92007C11.24 2.62007 12.34 2.62007 13.01 2.92007Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(o.Path,{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(o.Path,{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}))},b=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M9 7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM8 7v10H7V7zm2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},y=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M7 6a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zm0 1h10v1H7zm1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m9 0a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},C=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M18 7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zm-1 0v10h-1V7zM8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm-5 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},x=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m-8 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zM7 15a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm0 1h10v1H7z",clipRule:"evenodd"}))},k=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Path,{d:"M0 4V0H4M8 0H12V4M12 8V12H8M4 12H0V8",stroke:"black",strokeWidth:"2"}))},j=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}))},R=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}),wp.element.createElement(o.Rect,{x:"2",y:"2",width:"4",height:"4",fill:"black"}))},V=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(o.Rect,{x:"3.5",y:"3.5",width:"5",height:"5",stroke:"black",strokeLinecap:"square"}))},S=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(o.Line,{x1:"2",y1:"4",x2:"10",y2:"4",stroke:"black",strokeWidth:"2"}))},N={n:"none",b:"block",i:"inline",ib:"inline-block",f:"flex",if:"inline-flex"},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=N&&N[e]?"display: ".concat(null==N?void 0:N[e],";"):""}(e)}));var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},M=(0,c.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,o=void 0===c?"":c,s=function(e){n(e)},w=t;return wp.element.createElement("div",{className:"bm-display-control"},wp.element.createElement(xe,{name:"Display",onReset:function(){n(o)}}),wp.element.createElement("div",{className:"bm-display-control__group"},wp.element.createElement(fe,{label:"None",showTooltip:!0,className:"".concat("n"===w?"is-active":""),onClick:function(){return s("n")}},wp.element.createElement(l,null)),wp.element.createElement(fe,{label:"Block",showTooltip:!0,className:"".concat("b"===w?"is-active":""),onClick:function(){return s("b")}},wp.element.createElement(a,null)),wp.element.createElement(fe,{label:"Inline",showTooltip:!0,className:"".concat("i"===w?"is-active":""),onClick:function(){return s("i")}},wp.element.createElement(r,null)),wp.element.createElement(fe,{label:"Inline Block",showTooltip:!0,className:"".concat("ib"===w?"is-active":""),onClick:function(){return s("ib")}},wp.element.createElement(i,null)),wp.element.createElement(fe,{label:"Flex",showTooltip:!0,className:"".concat("f"===w?"is-active":""),onClick:function(){return s("f")}},wp.element.createElement(m,null)),wp.element.createElement(fe,{label:"Inline Flex",showTooltip:!0,className:"".concat("if"===w?"is-active":""),onClick:function(){return s("if")}},wp.element.createElement(u,null))))})),P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(L(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(L(n[1])," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(L(n[2])," } }"):""].filter(Boolean).join("\n")},L=function(e){var t,n,c,o;if(!e)return"";var l=Pe(e,",",4),a=(null===(t=l=l.split(","))||void 0===t?void 0:t[0])||"",r=Ne(a,""),i=Se(a,"px"),m=(null===(n=l)||void 0===n?void 0:n[1])||"",u=Ne(m,""),s=Se(m,"px"),w=(null===(c=l)||void 0===c?void 0:c[2])||"",p=Ne(w,""),f=Se(w,"px"),v=(null===(o=l)||void 0===o?void 0:o[3])||"",h=Ne(v,""),d=Se(v,"px"),g=[];return g.push("top: ".concat(r).concat(i,";")),g.push("right: ".concat(u).concat(s,";")),g.push("bottom: ".concat(p).concat(f,";")),g.push("left: ".concat(h).concat(d,";")),g.join("")},B=function(e){var t,n,c,o,l=e.value,a=e.onChange,r=e.reset,i=void 0===r?"":r,m=Pe(l,",",4),u=(null===(t=m=m.split(","))||void 0===t?void 0:t[0])||"",s=Ne(u,""),w=Se(u,"px"),p=(null===(n=m)||void 0===n?void 0:n[1])||"",f=Ne(p,""),v=Se(p,"px"),h=(null===(c=m)||void 0===c?void 0:c[2])||"",d=Ne(h,""),g=Se(h,"px"),E=(null===(o=m)||void 0===o?void 0:o[3])||"",k=Ne(E,""),j=Se(E,"px"),R=function(e){a(e)};return wp.element.createElement("div",{className:"bm-sides-control"},wp.element.createElement(xe,{name:"Sides",onReset:function(){a(i)}}),wp.element.createElement("div",{className:"bm-position-control__sides"},wp.element.createElement(Ce,{min:-9999,value:k,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(f).concat(v,",").concat(d).concat(g,",").concat(e).concat(j))},icon:wp.element.createElement(b,null),unit:j,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(v,",").concat(d).concat(g,",").concat(k).concat(e))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(Ce,{min:-9999,value:s,placeholder:"auto",onChange:function(e){R("".concat(e).concat(w,",").concat(f).concat(v,",").concat(d).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(y,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(e,",").concat(f).concat(v,",").concat(d).concat(g,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(Ce,{min:-9999,value:f,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(e).concat(v,",").concat(d).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(C,null),unit:v,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(e,",").concat(d).concat(g,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(Ce,{min:-9999,value:d,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(f).concat(v,",").concat(e).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(x,null),unit:g,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(v,",").concat(d).concat(e,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}})))},H={s:"static",r:"relative",a:"absolute",f:"fixed",st:"sticky"},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=H&&H[e]?"position: ".concat(null==H?void 0:H[e],";"):""}(e)}));var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},z=(0,c.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,o=void 0===c?"":c,l=function(e){n(e)},a=t;return wp.element.createElement("div",{className:"bm-position-control"},wp.element.createElement(xe,{name:"Position",onReset:function(){n(o)}}),wp.element.createElement(ke,{className:"bm-position-control__group"},wp.element.createElement(fe,{label:"Static",showTooltip:!0,className:"".concat("s"===a?"is-active":""),onClick:function(){return l("s")}},wp.element.createElement(k,null)),wp.element.createElement(fe,{label:"Relative",showTooltip:!0,className:"".concat("r"===a?"is-active":""),onClick:function(){return l("r")}},wp.element.createElement(j,null)),wp.element.createElement(fe,{label:"Absolute",showTooltip:!0,className:"".concat("a"===a?"is-active":""),onClick:function(){return l("a")}},wp.element.createElement(R,null)),wp.element.createElement(fe,{label:"Fixed",showTooltip:!0,className:"".concat("f"===a?"is-active":""),onClick:function(){return l("f")}},wp.element.createElement(V,null)),wp.element.createElement(fe,{label:"Sticky",showTooltip:!0,className:"".concat("st"===a?"is-active":""),onClick:function(){return l("st")}},wp.element.createElement(S,null))))})),G=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M10 8a2 2 0 1 1 4 0v1.5a.5.5 0 1 0 1 0V8a3 3 0 0 0-6 0v1.5a.5.5 0 0 0 1 0zm0 8a2 2 0 1 0 4 0v-1.5a.5.5 0 1 1 1 0V16a3 3 0 0 1-6 0v-1.5a.5.5 0 0 1 1 0z",clipRule:"evenodd"}))},_=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M10 8a2 2 0 1 1 4 0v1.5a.5.5 0 0 0 1 0V8a3 3 0 1 0-6 0v1.5a.5.5 0 0 0 1 0zm0 8a2 2 0 1 0 4 0v-1.5a.5.5 0 0 1 1 0V16a3 3 0 1 1-6 0v-1.5a.5.5 0 0 1 1 0zm2.5-6a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0z",clipRule:"evenodd"}))},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(Z(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(Z(n[1])," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(Z(n[2])," } }"):""].filter(Boolean).join("\n")},Z=function(e){var t,n;if(!e)return"";var c=Pe(e,",",3),o=(null===(t=c=c.split(","))||void 0===t?void 0:t[0])||"",l=Ne(o,""),a=Se(o,"px"),r=(null===(n=c)||void 0===n?void 0:n[1])||"",i=Ne(r,""),m=Se(r,"px"),u=[];return u.push("width: ".concat(l).concat(a,";")),u.push("height: ".concat(i).concat(m,";")),u.join("")},D=function(e){var t,n,c,o=e.value,l=e.onChange,a=e.reset,r=void 0===a?"":a,i=Pe(o,",",3),m=(null===(t=i=i.split(","))||void 0===t?void 0:t[0])||"",u=Ne(m,""),w=Se(m,"px"),p=(null===(n=i)||void 0===n?void 0:n[1])||"",f=Ne(p,""),v=Se(p,"px"),h=Number((null===(c=i)||void 0===c?void 0:c[2])||0),d=function(e){l(e)};return wp.element.createElement("div",{className:"bm-width-and-height-control"},wp.element.createElement(xe,{name:"Dimentions",onReset:function(){d(r)}}),wp.element.createElement(ke,null,wp.element.createElement(Ce,{placeholder:"auto",value:u,onChange:function(e){var t=h?f+(e-u):f;d("".concat(e).concat(w,",").concat(t).concat(v,",").concat(h))},icon:wp.element.createElement(s,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){d("".concat(u).concat(e,",").concat(f).concat(v,",").concat(h))},suggests:{auto:"auto",100:100,200:200,300:300,400:400}}),wp.element.createElement(Ce,{placeholder:"auto",value:f,onChange:function(e){d("".concat(h?u+(e-f):u).concat(w,",").concat(e).concat(v,",").concat(h))},icon:"H",unit:v,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){d("".concat(u).concat(w,",").concat(f).concat(e,",").concat(h))},suggests:{auto:"auto",100:100,200:200,300:300,400:400}}),wp.element.createElement(fe,{className:"bm-width-and-height-control__connect ".concat(h?"is-active":""),onClick:function(){var e=0===h?1:0;console.log(h),console.log(e),d("".concat(u).concat(w,",").concat(f).concat(v,",").concat(e))}},h?wp.element.createElement(_,null):wp.element.createElement(G,null))))},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(e){return e?"z-index: ".concat(e,";"):""}(e)}));var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},W=function(e){var t=e.value,n=e.onChange,c=e.reset,o=void 0===c?"":c,l=t,a=function(e){n(Number(e))};return wp.element.createElement("div",{className:"bm-z-index-control"},wp.element.createElement(xe,{name:"Z Index",onReset:function(){n(o)}}),wp.element.createElement(Ce,{value:l,placeholder:"0",onChange:function(e){a(e)},icon:wp.element.createElement(E,null)}))},F=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"11",viewBox:"0 0 8 11"},wp.element.createElement(o.Path,{fillRule:"evenodd",stroke:"none",d:"M4 10.207.646 6.854l.708-.708L3.5 8.293V0h1v8.293l2.146-2.147.708.708z"}))},U=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"7",viewBox:"0 0 11 7"},wp.element.createElement(o.Path,{fillRule:"evenodd",stroke:"none",d:"M10.707 3.5 7.354.146l-.708.708L8.793 3H.5v1h8.293L6.646 6.146l.708.708z"}))},$=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},wp.element.createElement(o.Path,{fillRule:"evenodd",stroke:"none",d:"M8 3h2c1.933 0 3.5 1.567 3.5 3.5 0 1.933-1.567 3.5-3.5 3.5H4.707l2.147 2.146-.708.708-3-3-.353-.354.353-.354 3-3 .708.708L4.707 9H10c1.38 0 2.5-1.12 2.5-2.5C12.5 5.12 11.38 4 10 4H8z"}))},q=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M15 14.75c0 .138.112.25.25.25h.25a.5.5 0 0 1 0 1h-.25c-.69 0-1.25-.56-1.25-1.25v-6.5c0-.69.56-1.25 1.25-1.25h.25a.5.5 0 0 1 0 1h-.25a.25.25 0 0 0-.25.25zm-8 .75a.5.5 0 0 1 .5-.5h.25a.25.25 0 0 0 .25-.25v-6.5A.25.25 0 0 0 7.75 8H7.5a.5.5 0 0 1 0-1h.25C8.44 7 9 7.56 9 8.25v6.5C9 15.44 8.44 16 7.75 16H7.5a.5.5 0 0 1-.5-.5m4-2a.5.5 0 1 0 1 0v-4a.5.5 0 0 0-1 0z",clipRule:"evenodd"}))},X=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M7.5 7a.5.5 0 0 1 .5.5v.25c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V7.5a.5.5 0 0 1 1 0v.25C16 8.44 15.44 9 14.75 9h-6.5C7.56 9 7 8.44 7 7.75V7.5a.5.5 0 0 1 .5-.5m.75 8a.25.25 0 0 0-.25.25v.25a.5.5 0 0 1-1 0v-.25c0-.69.56-1.25 1.25-1.25h6.5c.69 0 1.25.56 1.25 1.25v.25a.5.5 0 0 1-1 0v-.25a.25.25 0 0 0-.25-.25zm1.25-4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},K=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"5",y:"5",width:"7",height:"2"}),wp.element.createElement(o.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(o.Rect,{x:"5",y:"13",width:"5",height:"2"}))},Y=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"6.5",y:"5",width:"7",height:"2"}),wp.element.createElement(o.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(o.Rect,{x:"7.5",y:"13",width:"5",height:"2"}))},J=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"8",y:"5",width:"7",height:"2"}),wp.element.createElement(o.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(o.Rect,{x:"10",y:"13",width:"5",height:"2"}))},Q=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"5",y:"13.5",width:"7",height:"2",transform:"rotate(-90 5 13.5)"}),wp.element.createElement(o.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(o.Rect,{x:"13",y:"12.5",width:"5",height:"2",transform:"rotate(-90 13 12.5)"}))},ee=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"5",y:"15",width:"7",height:"2",transform:"rotate(-90 5 15)"}),wp.element.createElement(o.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(o.Rect,{x:"13",y:"15",width:"5",height:"2",transform:"rotate(-90 13 15)"}))},te=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{width:"7",height:"2",transform:"matrix(0 1 1 0 5 5)"}),wp.element.createElement(o.Rect,{width:"10",height:"2",transform:"matrix(0 1 1 0 9 5)"}),wp.element.createElement(o.Rect,{width:"5",height:"2",transform:"matrix(0 1 1 0 13 5)"}))},ne=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},ce=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 7 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 11 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},oe=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},le=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"5",y:"9",width:"10",height:"2"}))},ae=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"7.5",y:"9",width:"5",height:"2"}))},re=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}))},ie=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"9",y:"12.5",width:"5",height:"2",transform:"rotate(-90 9 12.5)"}))},me=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(ue(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(ue(n[1])," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(ue(n[2])," } }"):""].filter(Boolean).join("\n")},ue=function(e){var t,n,c,o,l,a,r;if(!e)return"";var i=Pe(e,",",7),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";switch(e){case"c":return"column";case"r":return"row";case"cr":return"column-reverse";case"rr":return"row-reverse"}return t}(null===(t=i=i.split(","))||void 0===t?void 0:t[0]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"w":return"wrap";case"n":return"nowrap";case"rw":return"wrap-reverse"}return t}(null===(n=i)||void 0===n?void 0:n[1]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"b":return"baseline"}return t}(null===(c=i)||void 0===c?void 0:c[2]),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(o=i)||void 0===o?void 0:o[3]),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(l=i)||void 0===l?void 0:l[4]),f=(null===(a=i)||void 0===a?void 0:a[5])||"",v=Ne(f,""),h=Se(f,"px"),d=(null===(r=i)||void 0===r?void 0:r[6])||"",g=Ne(d,""),E=Se(d,"px"),b=[];return m&&b.push("flex-direction: ".concat(m,";")),u&&b.push("flex-wrap: ".concat(u,";")),s&&b.push("align-items: ".concat(s,";")),w&&b.push("align-content: ".concat(w,";")),p&&b.push("justify-content: ".concat(p,";")),v&&b.push("row-gap: ".concat(v).concat(h,";")),g&&b.push("column-gap: ".concat(g).concat(E,";")),b.join("")},se=function(e){var t,n,c,o,l,a,r,i=e.value,m=e.onChange,u=e.reset,s=void 0===u?"":u,w=Pe(i,",",7),p=(null===(t=w=w.split(","))||void 0===t?void 0:t[0])||"c",f=(null===(n=w)||void 0===n?void 0:n[1])||"",v=(null===(c=w)||void 0===c?void 0:c[2])||"",h=(null===(o=w)||void 0===o?void 0:o[3])||"",d=(null===(l=w)||void 0===l?void 0:l[4])||"",g=(null===(a=w)||void 0===a?void 0:a[5])||"",E=Ne(g,""),b=Se(g,"px"),y=(null===(r=w)||void 0===r?void 0:r[6])||"",C=Ne(y,""),x=Se(y,"px"),k=function(e){m(e)},j=function(e){return(null==e?void 0:e.flexDirection)===p&&(null==e?void 0:e.flexWrap)===f&&(null==e?void 0:e.alignItems)===v&&(null==e?void 0:e.alignContent)===h&&(null==e?void 0:e.justifyContent)===d};return wp.element.createElement("div",{className:"bm-flex-control"},wp.element.createElement(xe,{name:"Flex Box",onReset:function(){m(s)}}),wp.element.createElement("div",{className:"bm-flex-control__display"},wp.element.createElement(fe,{className:"".concat("c"===p?"is-active":""),onClick:function(){k("c,".concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(F,null)),wp.element.createElement(fe,{className:"".concat("r"===p&&"w"!==f?"is-active":""),onClick:function(){k("r,,".concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(U,null)),wp.element.createElement(fe,{className:"".concat("w"===f?"is-active":""),onClick:function(){k("r,w,".concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement($,null))),wp.element.createElement("div",{className:"bm-flex-control__align-box"},wp.element.createElement("div",{className:"bm-flex-control__align-left"},"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null))),"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ce,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(le,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)))),"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fs,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(oe,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-center"},"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(re,null)):wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"c",alignContent:"fs"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(re,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null))):wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(e){k("".concat(p,",").concat(f,",fs,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ie,null)):wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ce,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ie,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null))):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ae,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(re,null)):wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(oe,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(re,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null))):wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-right"},"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fe,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ee,null)):wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null))),"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,c,fe,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ce,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ee,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(le,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)))),"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,fe,fe,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(oe,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ee,null)):wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null))))),wp.element.createElement("div",{className:"bm-flex-control__gap"},wp.element.createElement(Ce,{value:E,onChange:function(e){k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(e).concat(b,",").concat("w"!==f?e:C).concat(x))},icon:wp.element.createElement(q,null),unit:b,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(E).concat(e,",").concat(C).concat("w"!==f?e:x))}}),"w"===f&&wp.element.createElement(Ce,{placeholder:E,value:C,onChange:function(e){k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(e).concat(x))},icon:wp.element.createElement(X,null),unit:x,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(e))}})))};function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},we.apply(this,arguments)}var pe=function(e){var t=(0,c.useRef)();return(0,c.useEffect)((function(){var n=function(n){t.current&&!t.current.contains(n.target)&&e.onClose()};return function(){return document.removeEventListener("mousedown",n)}}),[t]),wp.element.createElement(o.Popover,we({},e,{ref:t,className:"bm-popover"}),wp.element.createElement("div",{ref:t},e.children))},fe=function(e){var t=e.style,n=void 0===t?{}:t,c=e.icon,l=void 0===c?null:c,a=e.label,r=void 0===a?"":a,i=e.showTooltip,m=void 0!==i&&i,u=e.onClick,s=e.className,w=e.children;return wp.element.createElement(o.Button,{style:n,icon:l,label:r,showTooltip:m,className:"bm-button-control ".concat(s),onClick:u},w)},ve=wp.data,he=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M11.5 6a.5.5 0 0 1 .5.5V11h4.5a.5.5 0 0 1 0 1H12v4.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H11V6.5a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}))},de=function(e){var t=e.className,n=e.label,c=e.device,o=e.onAddNew,l=e.onReset,a=void 0!==l&&l;return wp.element.createElement("div",{className:"bm-responsive ".concat(t)},n&&wp.element.createElement("label",null,n),!1===a?null:wp.element.createElement(je,{onReset:a}),wp.element.createElement("div",{className:"bm-responsive__buttons"},["Desktop","Tablet","Mobile"].map((function(e,t){return wp.element.createElement(fe,{label:e,showTooltip:!0,key:t,className:"bm-responsive__button ".concat(c.toLowerCase()===e.toLowerCase()?"is-active":""),onClick:function(){return t=e,void(0,ve.dispatch)("core/editor").setDeviceType(t);var t}},"Desktop"===e?wp.element.createElement(w,null):"Tablet"===e?wp.element.createElement(p,null):wp.element.createElement(f,null))}))),o&&wp.element.createElement(fe,{label:"Add new",showTooltip:!0,className:"bm-responsive__add-new",onClick:o},wp.element.createElement(he,null)))};function ge(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 c,o,l,a,r=[],i=!0,m=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=l.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,o=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw o}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ee(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var be=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.80109 2.07902 5.61032 2.21967 5.46967C2.36032 5.32902 2.55109 5.25 2.75 5.25H9.25C9.44891 5.25 9.63968 5.32902 9.78033 5.46967C9.92098 5.61032 10 5.80109 10 6C10 6.19891 9.92098 6.38968 9.78033 6.53033C9.63968 6.67098 9.44891 6.75 9.25 6.75H2.75C2.55109 6.75 2.36032 6.67098 2.21967 6.53033C2.07902 6.38968 2 6.19891 2 6Z",fill:"currentColor"}))},ye=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 9.25a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5Z",fill:"currentColor"}))},Ce=function(e){var t,n,o=e.canDrag,l=void 0===o||o,a=e.className,r=void 0===a?"":a,i=e.step,m=void 0===i?1:i,u=e.withIncrementors,s=void 0!==u&&u,w=e.placeholder,p=void 0===w?0:w,f=e.min,h=void 0===f?0:f,d=e.max,g=e.direction,E=e.value,b=e.onChange,y=e.onChangeUnit,C=e.icon,x=e.unit,k=e.units,j=e.suggests,R=void 0===j?{}:j,V=ge((0,c.useState)(!1),2),S=V[0],N=(V[1],ge((0,c.useState)(!1),2)),O=N[0],M=N[1],P=ge((0,c.useState)(!1),2),L=P[0],B=P[1],H=ge((0,c.useState)(!1),2),I=H[0],z=H[1],G=E&&"string"==typeof E&&E.startsWith("g:"),_="",A="",Z="";G&&(_=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e?void 0:e.name)||""):""}(A=E.replace("g:","")),Z=(null===(n=ctcGbGlobalStyles)||void 0===n||null===(n=n.collections)||void 0===n||null===(n=n.modes)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.id)||"");var D=function(e){return!e||("string"==typeof e&&(e=e.trim()),!!e&&e.toString().match(/^[0-9]+$/))},T=function(e){if(l){M(!0);var t=E||0,n="vertical"===g?e.clientY:e.clientX,c=function(e){if(D(t)){var c="vertical"===g?e.clientY:e.clientX,o=t+(c-n);"vertical"===g&&(o=t-(c-n)),W(o)}};document.addEventListener("mousemove",c),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",e),M(!1)}))}},W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e||(e=0),D(e)&&(t&&n&&("increase"===n&&(e=parseInt(e)+t),"decrease"===n&&(e=parseInt(e)-t)),(e=parseInt(e))<=h&&(e=h),e>=d&&(e=d)),b(e)},F=E?8*E.toString().length:8,U=ge((0,c.useState)(!1),2),$=U[0],q=U[1],X=ge((0,c.useState)(!1),2),K=X[0],Y=X[1],J=k&&k.length>1;return wp.element.createElement("div",{className:"bm-base-input ".concat(r," ").concat(S?"is-hovered":""," ").concat(O?"is-dragging":""," ").concat(L?"is-focused":""," ").concat("vertical"===g?"is-vertical":""," ").concat(s?"with-incrementors":""," ").concat(l?"bm-can-drag":"")},C&&wp.element.createElement("div",{className:"bm-base-input__icon",onMouseDown:function(e){G||T(e)},onMouseUp:function(){G||M(!1)}},C),s&&!G?wp.element.createElement(fe,{className:"bm-base-input__decrement",onClick:function(){var e=E?parseInt(E):0;W(e-m)}},wp.element.createElement(be,null)):null,G?wp.element.createElement("span",{className:"bm-global"},_,wp.element.createElement(fe,{onClick:function(){W(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e||null===(e=e.values)||void 0===e?void 0:e[c])||""):""}(A))}},wp.element.createElement(v,null))):wp.element.createElement(React.Fragment,null,wp.element.createElement("input",{style:{width:F},placeholder:p,autoComplete:"false",spellCheck:"false",dir:"auto",value:E,onChange:function(e){W(e.target.value)},onClick:function(){B(!0)},onFocus:function(){B(!0)},onBlur:function(){return B(!1)},onMouseDown:T,onMouseUp:function(){return M(!1)},onKeyDown:function(e){"ArrowUp"===e.key?W(E,e.shiftKey?10:1,"increase"):"ArrowDown"===e.key&&W(E,e.shiftKey?10:1,"decrease")}}),Object.keys(R).length>1&&!0===I&&wp.element.createElement(pe,{position:"bottom right",className:"bm-suggest-popover",onClose:function(){return z(!1)}},wp.element.createElement("div",{className:"bm-suggest-popover__content"},wp.element.createElement("ul",null,Object.keys(R).map((function(e){var t,n=(null===(t=R[e])||void 0===t?void 0:t.value)||"";return wp.element.createElement("li",{key:e},wp.element.createElement(fe,{onClick:function(){W(n),z(!1)}},e))}))))),x&&wp.element.createElement("span",{className:"bm-base-input__unit",onClick:function(){J&&Y(!K)}},x,J&&K&&wp.element.createElement(pe,{position:"bottom right",className:"bm-unit-popover",onClose:function(){return Y(!1)}},wp.element.createElement("div",{className:"bm-unit-popover__content"},wp.element.createElement("ul",null,k.map((function(e){return wp.element.createElement("li",{key:e},wp.element.createElement(fe,{onClick:function(){y(e)}},e))})))))),$&&wp.element.createElement(pe,{position:"bottom right",className:"bm-global-popover"},wp.element.createElement("div",{className:"bm-global-popover__content",style:{width:"200px"}},wp.element.createElement("h3",null,"Global Variables"),wp.element.createElement("ul",null,null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.variables)||void 0===t?void 0:t.map((function(e){var t=e.id,n=e.type,c=e.name,o=e.values,l=(null==o?void 0:o[Z])||"";return wp.element.createElement("li",{key:t},wp.element.createElement(fe,{onClick:function(){b("g:".concat(t)),q(!1)}},wp.element.createElement("span",{style:{height:20,width:20,background:"color"===n?l:"transparent"}},"A"),c))})))))),s&&!G?wp.element.createElement(fe,{className:"bm-base-input__increment",onClick:function(){var e=E?parseInt(E):0;W(e+m)}},wp.element.createElement(ye,null)):null)},xe=function(e){var t=e.name,n=void 0===t?"":t,c=e.onReset,o=void 0!==c&&c;if(n)return wp.element.createElement("div",{className:"bm-control-label"},n,!1===o?null:wp.element.createElement(je,{onReset:o}))},ke=function(e){var t=e.children,n=e.label,c=void 0===n?"":n,o=e.className,l=void 0===o?"":o;return wp.element.createElement("div",{className:"bm-row ".concat(l)},c&&wp.element.createElement("div",{className:"bm-row__label"},c),t)},je=function(e){var t=e.onReset;return wp.element.createElement(fe,{label:"Reset",showTooltip:!0,className:"bm-reset",onClick:t},wp.element.createElement(v,null))},Re=function(e){var t=e.label,n=void 0===t?"":t,c=e.value,o=void 0===c?"normal":c,l=e.onChange;return wp.element.createElement("div",{className:"bm-state-control"},wp.element.createElement(xe,{name:n}),wp.element.createElement(ke,null,["normal","hover","active"].map((function(e){return wp.element.createElement(fe,{key:e,className:"".concat(o===e?"is-active":""),onClick:function(){l(e)}},"normal"===e&&wp.element.createElement(h,null),"hover"===e&&wp.element.createElement(d,null),"active"===e&&wp.element.createElement(g,null),wp.element.createElement("span",{className:"bm-state-control__label"},e))}))))},Ve=function(){var e,t=document.querySelector('iframe[name="editor-canvas"]');return t?null==t||null===(e=t.contentWindow)||void 0===e?void 0:e.document:document},Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";if(!e)return t;var n=null==e?void 0:e.match(/[^0-9]/g);return n?null==n?void 0:n.join(""):t},Ne=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return n;var c=(null==e||null===(t=e.match(/[0-9]+/g))||void 0===t?void 0:t[0])||n;return c?Number(c):n},Oe=function(e,t,n){var c=(e=Pe(e)).split(";");"desktop"===n&&(c[0]=t),"tablet"===n&&(c[1]=t),"mobile"===n&&(c[2]=t);var o=c.join(";");return";;"===o?"":o},Me=function(e,t){var n=(e=Pe(e)).split(";");return"tablet"===t?(null==n?void 0:n[1])||"":"mobile"===t?(null==n?void 0:n[2])||"":(null==n?void 0:n[0])||""},Pe=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,c=e?e.split(t):[];c.length<n;)c.push("");return c.slice(0,n).join(t)},Le=n(470);wp.isShallowEqual;function Be(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 c,o,l,a,r=[],i=!0,m=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=l.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,o=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw o}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return He(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return He(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function He(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Ie=function(e){var t=e.parent,n=e.id,o=e.style,l=e.selector,a=Be((0,c.useState)(o),2),r=(a[0],a[1]),i=function(){return"style-"+(n=(n=(n=(n=(n=n||l).replace(/\s+/g,"-")).replace(/[^a-zA-Z0-9-]/g,"")).replaceAll("#","")).replaceAll("wp-block-",""))},m=Ve(),u=function(){var e=i();if(!m.getElementById(e)){var t=m.createElement("style");return t.id=e,m.head.appendChild(t),t}};(0,c.useEffect)((function(){u()}),[]),(0,c.useEffect)((function(){r(o)}),[o]),(0,c.useEffect)((function(){var e=m.getElementById(i());e||(e=u());var n="";n+=function(e,t,n){var c,o,l,a,r,i,m,u,s,w,p,f,v,h,d,g,E,b,y="",C=n,x="".concat(n,":hover"),k="".concat(n,":focus");return e&&(x=(x=n.replace(":hover","")).replace("#block-".concat(e," >"),"#block-".concat(e,":hover >")),k=(k=n.replace(":focus","")).replace("#block-".concat(e," >"),"#block-".concat(e,":focus >"))),y+=O(null==t||null===(c=t.normal)||void 0===c?void 0:c.display,C),y+=O(null==t||null===(o=t.hover)||void 0===o?void 0:o.display,x),y+=O(null==t||null===(l=t.focus)||void 0===l?void 0:l.display,k),y+=P(null==t||null===(a=t.normal)||void 0===a?void 0:a.sides,C),y+=P(null==t||null===(r=t.hover)||void 0===r?void 0:r.sides,x),y+=P(null==t||null===(i=t.focus)||void 0===i?void 0:i.sides,k),y+=I(null==t||null===(m=t.normal)||void 0===m?void 0:m.position,C),y+=I(null==t||null===(u=t.hover)||void 0===u?void 0:u.position,x),y+=I(null==t||null===(s=t.focus)||void 0===s?void 0:s.position,k),y+=T(null==t||null===(w=t.normal)||void 0===w?void 0:w.zIndex,C),y+=T(null==t||null===(p=t.hover)||void 0===p?void 0:p.zIndex,x),y+=T(null==t||null===(f=t.focus)||void 0===f?void 0:f.zIndex,k),y+=A(null==t||null===(v=t.normal)||void 0===v?void 0:v.dimentions,C),y+=A(null==t||null===(h=t.hover)||void 0===h?void 0:h.dimentions,x),y+=A(null==t||null===(d=t.focus)||void 0===d?void 0:d.dimentions,k),y+=me(null==t||null===(g=t.normal)||void 0===g?void 0:g.flex,C),y+=me(null==t||null===(E=t.hover)||void 0===E?void 0:E.flex,x),y+me(null==t||null===(b=t.focus)||void 0===b?void 0:b.flex,k)}(t,o,l),e.innerHTML=n}),[o])},ze=n(838);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 _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},_e.apply(this,arguments)}function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t,n){var c;return c=function(e,t){if("object"!=Ge(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=Ge(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Ge(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(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 c,o,l,a,r=[],i=!0,m=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=l.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,o=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw o}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return We(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return We(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Fe=(0,c.memo)((function(e){var t=e.device,n=e.deviceType,o=e.element,l=e.style,a=e.onChange,r=Te((0,c.useState)("normal"),2),i=r[0],m=r[1],u=function(e){var t,n;return o?(null==l||null===(n=l[o])||void 0===n||null===(n=n[i])||void 0===n?void 0:n[e])||"":(null==l||null===(t=l[i])||void 0===t?void 0:t[e])||""},s=(0,c.useRef)();(0,c.useEffect)((function(){if(null!=s&&s.current){var e="bm-controls--hover",t=function(){document.body.classList.add(e)},n=function(){document.body.classList.remove(e)};return s.current.addEventListener("mouseenter",t),s.current.addEventListener("mouseleave",n),function(){s.current&&(s.current.removeEventListener("mouseenter",t),s.current.removeEventListener("mouseleave",n))}}}),[]);var w=function(e){return Me(u(e),t)},p=function(e,n){!function(e,t){var n;a(Ze(Ze({},l),{},o?De({},o,Ze(Ze({},null==l?void 0:l[o]),{},De({},i,Ze(Ze({},null==l||null===(n=l[o])||void 0===n?void 0:n[i]),{},De({},e,t))))):De({},i,Ze(Ze({},null==l?void 0:l[i]),{},De({},e,t)))))}(e,Oe(u(e),n,t))};return wp.element.createElement("div",{ref:s,className:"bm-controls"},wp.element.createElement(Re,{value:i,onChange:function(e){return m(e)}}),wp.element.createElement(de,{className:"bm-responsive--position bm-control-seperator",label:(0,Le.__)("Layout","bm"),device:n}),wp.element.createElement(M,_e({},e,{value:w("display"),onChange:function(e){return p("display",e)}})),w("display")&&w("display").includes("f")?wp.element.createElement(se,_e({},e,{value:w("flex"),onChange:function(e){return p("flex",e)}})):null,wp.element.createElement(z,_e({},e,{value:w("position"),onChange:function(e){return p("position",e)}})),wp.element.createElement(B,_e({},e,{value:w("sides"),onChange:function(e){return p("sides",e)}})),wp.element.createElement(W,_e({},e,{value:w("zIndex"),onChange:function(e){return p("zIndex",e)}})),wp.element.createElement(de,{className:"bm-responsive--position bm-control-seperator",label:(0,Le.__)("Box Model","bm"),device:n}),wp.element.createElement(D,_e({},e,{value:w("dimentions"),onChange:function(e){return p("dimentions",e)}})))})),Ue=(0,c.memo)((function(e){var t=e.id,n=e.title,c=void 0===n?"Style":n,l=e.initialOpen,a=void 0===l||l,r=e.style,i=e.onChange,m=e.selector,u=void 0===m?"":m,s=e.clientId,w=void 0===s?"":s,p=e.allowed,f=void 0===p?{}:p,v=(0,ve.useSelect)((function(e){return e("core/editor").getDeviceType()})),h=v.toLowerCase();return wp.element.createElement(React.Fragment,null,wp.element.createElement(Ie,{style:r,selector:u||"#block-".concat(w)}),wp.element.createElement(ze.InspectorControls,null,wp.element.createElement(o.PanelBody,{title:c,initialOpen:a},wp.element.createElement(Fe,{deviceType:v,device:h,id:t,clientId:w,selector:u||"#block-".concat(w),element:"",style:r,onChange:i,allowed:f}))))})),$e=n(164);n(964),wp.compose,wp.hooks;function qe(e){return qe="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},qe(e)}function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach((function(t){Ye(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ye(e,t,n){var c;return c=function(e,t){if("object"!=qe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=qe(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==qe(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Je=function(e){var t=e.childs,n=void 0===t?[]:t,c=e.placeholder,o=e.allowedBlocks,l=e.template,a=e.blockProps,r={templateLock:!1,renderAppender:ze.InnerBlocks.ButtonBlockAppender};o&&(r.allowedBlocks=o),l&&(r.template=l);var i=(0,ze.useInnerBlocksProps)(Ke(Ke({},a),{},{className:(0,$e.A)(a.className,"bm-inner-blocks")}),r);return c&&0===n.length?wp.element.createElement("div",i,c):wp.element.createElement("div",i)}},838:function(e){e.exports=wp.blockEditor},964:function(e){e.exports=wp.blocks},470:function(e){e.exports=wp.i18n},164:function(e,t,n){function c(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=c(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}t.A=function(){for(var e,t,n=0,o="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=c(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(c){var o=t[c];if(void 0!==o)return o.exports;var l=t[c]={exports:{}};return e[c](l,l.exports,n),l.exports}n.d=function(e,t){for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e=n(964);function t(e){return t="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},t(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function o(e,n,c){var o;return o=function(e,n){if("object"!=t(e)||!e)return e;var c=e[Symbol.toPrimitive];if(void 0!==c){var o=c.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(n,"string"),(n="symbol"==t(o)?o:String(o))in e?Object.defineProperty(e,n,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[n]=c,e}var l=JSON.parse('{"$schema":"https://json.schemastore.org/block.json","apiVersion":3,"name":"bm/section","title":"Section","description":"Allow to create a section for the content.","version":"0.0.1","icon":"editor-table","attributes":{"_bm_id":{"type":"string","default":""},"_bm_style":{"type":"object"}},"category":"blocks-monster","textdomain":"blocks-monster","style":"file:./css/style.css","editorScript":"file:./js/index.js"}'),a=n(164),r=n(838),i=n(277),m=function(e){var t=e.attributes,n=t._bm_id,c=t._bm_style,o=e.setAttributes,l=e.className,m=e.clientId,u=(0,a.A)(l),s=(0,r.useBlockProps)({className:u});return wp.element.createElement(React.Fragment,null,wp.element.createElement(i.H2,{id:n,clientId:m,style:c,onChange:function(e){o({_bm_style:e})}}),wp.element.createElement(i.Tj,{blockProps:s}))},u=(n(470),function(){var e=r.useBlockProps.save();return wp.element.createElement("div",e,wp.element.createElement(r.InnerBlocks.Content,null))});!function(t){if(t){var n=t.metadata,l=t.settings,a=t.name;(0,e.registerBlockType)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({name:a},n),l)}}({name:l.name,metadata:l,settings:{icon:"list-view",edit:m,save:u}})}()}(); -
blocks-monster/tags/1.8.3/includes/gutenberg/controls/assets/js/controls.js
r3223886 r3223892 1 !function(){"use strict";var e={838:function(e){e.exports=wp.blockEditor},964:function(e){e.exports=wp.blocks},470:function(e){e.exports=wp.i18n}},t={};function n(c){var l=t[c];if(void 0!==l)return l.exports;var o=t[c]={exports:{}};return e[c](o,o.exports,n),o.exports}n.d=function(e,t){for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var c={};!function(){n.d(c,{aE:function(){return he},$n:function(){return re},nl:function(){return S},so:function(){return le},JU:function(){return de},AM:function(){return ae},yX:function(){return G},Yn:function(){return ge},Ft:function(){return ue},fI:function(){return ve},Hw:function(){return H},Uw:function(){return Ee},Py:function(){return P},om:function(){return ke},ZX:function(){return Re},Mi:function(){return j},x7:function(){return Ce},De:function(){return ne},z:function(){return xe},eT:function(){return be},ph:function(){return B},gB:function(){return M},wR:function(){return z},Xc:function(){return ye}});var e=wp.element,t=wp.components,l=function(){return wp.element.createElement(t.SVG,{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.25",y:"0.75",width:"11.5",height:"0.5",rx:"0.25",stroke:"currentColor",strokeWidth:"0.5"}))},o=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}))},a=function(){return wp.element.createElement(t.SVG,{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3C2 2.44772 2.44772 2 3 2H8C8.55228 2 9 2.44772 9 3V8C9 8.55228 8.55228 9 8 9H3C2.44772 9 2 8.55228 2 8V3Z"}),wp.element.createElement(t.Path,{d:"M2 2H9H2ZM9 9H2H9ZM3 9C2.28203 9 1.7 8.41797 1.7 7.7V3.3C1.7 2.58203 2.28203 2 3 2H3C2.6134 2 2.3 2.44772 2.3 3V8C2.3 8.55228 2.6134 9 3 9H3ZM8 2C8.71797 2 9.3 2.58203 9.3 3.3V7.7C9.3 8.41797 8.71797 9 8 9H8C8.3866 9 8.7 8.55228 8.7 8V3C8.7 2.44772 8.3866 2 8 2H8Z",fill:"currentColor"}))},r=function(){return wp.element.createElement(t.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(t.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}))},i=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Rect,{x:"2.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"5.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"8.75",y:"2.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"8.75",y:"4.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"2.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"5.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"2.75",y:"6.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}))},m=function(){return wp.element.createElement(t.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(t.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}),wp.element.createElement(t.Rect,{x:"3.15",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"5.29282",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"7.43577",y:"3.65",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"7.43577",y:"4.84995",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"3.15",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"5.29282",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"3.15",y:"6.05002",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}))},u=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"}))},s=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"}))},w=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}))},p=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(t.Path,{d:"M5 13C5 16.866 8.13401 20 12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6H7M7 6L10 3M7 6L10 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},f=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1.2505 3.89576C0.748063 2.55595 2.05645 1.24758 3.39625 1.75001L17.6801 7.10645C19.2686 7.70213 19.0552 10.0135 17.3846 10.3083L10.9452 11.4447L9.80882 17.8841C9.51399 19.5548 7.20261 19.7681 6.60694 18.1796L1.2505 3.89576ZM2.81105 3.31056L8.16749 17.5944L9.30382 11.155C9.42557 10.4652 9.96565 9.92508 10.6555 9.80333L17.0949 8.667L2.81105 3.31056Z",fill:"currentColor"}))},h=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{d:"M16.8892 10.2777C15.8892 9.22216 14.5559 8.49994 13.167 8.22216C12.5559 8.0555 11.9448 7.94439 11.3336 7.88883C12.8892 6.0555 12.6114 3.27772 10.7781 1.72216C8.94475 0.166608 6.16698 0.444386 4.61142 2.27772C3.05587 4.11105 3.33364 6.88883 5.16698 8.44439C5.50031 8.72216 5.83364 8.94438 6.16698 9.0555V10.2777L5.27809 9.44439C4.50031 8.66661 3.22253 8.66661 2.3892 9.44439C1.61142 10.2222 1.55586 11.4444 2.33364 12.2222L4.8892 15.2222C5.00031 15.9999 5.27809 16.7222 5.66698 17.3888C5.94475 17.8888 6.33364 18.3888 6.72253 18.7777V19.8333C6.72253 20.1666 6.94475 20.3888 7.27809 20.3888H14.8336C15.1114 20.3888 15.3892 20.111 15.3892 19.8333V18.3888C16.4448 17.1111 17.0003 15.4999 17.0003 13.8888V10.6666C17.0559 10.4444 17.0003 10.3333 16.8892 10.2777ZM4.66698 5.0555C4.66698 3.22216 6.16698 1.77772 8.00031 1.83327C9.83364 1.83327 11.2781 3.33327 11.2225 5.16661C11.2225 6.16661 10.7781 7.0555 10.0003 7.66661V4.88883C9.94475 3.88883 9.11142 3.11105 8.11142 3.11105C7.11142 3.0555 6.22253 3.88883 6.22253 4.88883V7.77772C5.27809 7.22216 4.72253 6.16661 4.66698 5.0555ZM15.9448 13.8333C16.0003 15.2777 15.5003 16.6666 14.5559 17.7777C14.4448 17.8888 14.3336 17.9999 14.3336 18.1666V19.3333H7.8892V18.5555C7.8892 18.3888 7.77809 18.2222 7.66698 18.1111C7.27809 17.7777 6.94475 17.3888 6.66698 16.8888C6.33364 16.3333 6.11142 15.6666 6.00031 14.9999C6.00031 14.8888 5.94475 14.7777 5.8892 14.6666L3.22253 11.4999C3.05587 11.3333 2.94475 11.1111 2.94475 10.8333C2.94475 10.6111 3.05587 10.3333 3.22253 10.1666C3.61142 9.83327 4.16698 9.83327 4.55587 10.1666L6.16698 11.7777V13.4444L7.22253 12.8888V4.88883C7.27809 4.49994 7.61142 4.16661 8.05587 4.22216C8.44475 4.22216 8.83364 4.49994 8.83364 4.88883V11.2777L9.94475 11.4999V8.94438C10.0003 8.88883 10.0559 8.88883 10.1114 8.83327C10.5003 8.83327 10.8892 8.88883 11.2781 8.94438V11.7777L12.167 11.9444V9.0555L12.8336 9.22216C13.1114 9.27772 13.3892 9.38883 13.667 9.49994V12.2777L14.5559 12.4444V9.88883C15.0559 10.1111 15.5003 10.4444 15.8892 10.8333L15.9448 13.8333Z",fill:"currentColor"}))},d=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M7.50033 3.4165V2.1665M4.21754 4.71705L3.33366 3.83317M4.21754 11.3332L3.33366 12.2171M10.8337 4.71705L11.7176 3.83317M2.91699 7.99984H1.66699M13.2207 13.9912L11.1442 17.8473C10.9071 18.2879 10.7884 18.5082 10.6457 18.5639C10.5219 18.6123 10.3824 18.5986 10.2703 18.5272C10.1411 18.4448 10.0675 18.2058 9.92016 17.7276L7.03798 8.37088C6.91766 7.98026 6.85749 7.78495 6.9059 7.65303C6.94807 7.53813 7.03862 7.44758 7.15352 7.40542C7.28543 7.35701 7.48074 7.41717 7.87137 7.5375L17.228 10.4197C17.7062 10.567 17.9452 10.6407 18.0276 10.7698C18.0991 10.882 18.1127 11.0214 18.0643 11.1453C18.0087 11.288 17.7883 11.4066 17.3478 11.6438L13.4917 13.7203C13.4262 13.7555 13.3934 13.7731 13.3648 13.7958C13.3393 13.8158 13.3163 13.8388 13.2962 13.8643C13.2736 13.8929 13.256 13.9257 13.2207 13.9912Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},v=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(t.Path,{d:"M13.01 2.92007L18.91 5.54007C20.61 6.29007 20.61 7.53007 18.91 8.28007L13.01 10.9001C12.34 11.2001 11.24 11.2001 10.57 10.9001L4.67 8.28007C2.97 7.53007 2.97 6.29007 4.67 5.54007L10.57 2.92007C11.24 2.62007 12.34 2.62007 13.01 2.92007Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(t.Path,{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(t.Path,{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}))},g=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M9 7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM8 7v10H7V7zm2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},E=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M7 6a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zm0 1h10v1H7zm1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m9 0a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},C=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M18 7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zm-1 0v10h-1V7zM8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm-5 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},x=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m-8 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zM7 15a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm0 1h10v1H7z",clipRule:"evenodd"}))},b=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{d:"M0 4V0H4M8 0H12V4M12 8V12H8M4 12H0V8",stroke:"black",strokeWidth:"2"}))},y=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}))},k=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}),wp.element.createElement(t.Rect,{x:"2",y:"2",width:"4",height:"4",fill:"black"}))},R=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(t.Rect,{x:"3.5",y:"3.5",width:"5",height:"5",stroke:"black",strokeLinecap:"square"}))},V=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(t.Line,{x1:"2",y1:"4",x2:"10",y2:"4",stroke:"black",strokeWidth:"2"}))},N={n:"none",b:"block",i:"inline",ib:"inline-block",f:"flex",if:"inline-flex"},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=N&&N[e]?"display: ".concat(null==N?void 0:N[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},S=(0,e.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,u=void 0===c?"":c,s=function(e){n(e)},w=t;return wp.element.createElement("div",{className:"bm-display-control"},wp.element.createElement(de,{name:"Display",onReset:function(){n(u)}}),wp.element.createElement("div",{className:"bm-display-control__group"},wp.element.createElement(re,{label:"None",showTooltip:!0,className:"".concat("n"===w?"is-active":""),onClick:function(){return s("n")}},wp.element.createElement(l,null)),wp.element.createElement(re,{label:"Block",showTooltip:!0,className:"".concat("b"===w?"is-active":""),onClick:function(){return s("b")}},wp.element.createElement(o,null)),wp.element.createElement(re,{label:"Inline",showTooltip:!0,className:"".concat("i"===w?"is-active":""),onClick:function(){return s("i")}},wp.element.createElement(a,null)),wp.element.createElement(re,{label:"Inline Block",showTooltip:!0,className:"".concat("ib"===w?"is-active":""),onClick:function(){return s("ib")}},wp.element.createElement(r,null)),wp.element.createElement(re,{label:"Flex",showTooltip:!0,className:"".concat("f"===w?"is-active":""),onClick:function(){return s("f")}},wp.element.createElement(i,null)),wp.element.createElement(re,{label:"Inline Flex",showTooltip:!0,className:"".concat("if"===w?"is-active":""),onClick:function(){return s("if")}},wp.element.createElement(m,null))))})),M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(L(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(L(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(L(n[2])," } }"):""].filter(Boolean).join("\n")},L=function(e){var t,n,c,l;if(!e)return"";var o=Re(e,",",4),a=(null===(t=o=o.split(","))||void 0===t?void 0:t[0])||"",r=be(a,""),i=xe(a,"px"),m=(null===(n=o)||void 0===n?void 0:n[1])||"",u=be(m,""),s=xe(m,"px"),w=(null===(c=o)||void 0===c?void 0:c[2])||"",p=be(w,""),f=xe(w,"px"),h=(null===(l=o)||void 0===l?void 0:l[3])||"",d=be(h,""),v=xe(h,"px"),g=[];return g.push("top: ".concat(r).concat(i,";")),g.push("right: ".concat(u).concat(s,";")),g.push("bottom: ".concat(p).concat(f,";")),g.push("left: ".concat(d).concat(v,";")),g.join("")},H=function(e){var t,n,c,l,o=e.value,a=e.onChange,r=e.reset,i=void 0===r?"":r,m=Re(o,",",4),u=(null===(t=m=m.split(","))||void 0===t?void 0:t[0])||"",s=be(u,""),w=xe(u,"px"),p=(null===(n=m)||void 0===n?void 0:n[1])||"",f=be(p,""),h=xe(p,"px"),d=(null===(c=m)||void 0===c?void 0:c[2])||"",v=be(d,""),b=xe(d,"px"),y=(null===(l=m)||void 0===l?void 0:l[3])||"",k=be(y,""),R=xe(y,"px"),V=function(e){a(e)};return wp.element.createElement("div",{className:"bm-sides-control"},wp.element.createElement(de,{name:"Sides",onReset:function(){a(i)}}),wp.element.createElement("div",{className:"bm-position-control__sides"},wp.element.createElement(he,{min:-9999,value:k,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(f).concat(h,",").concat(v).concat(b,",").concat(e).concat(R))},icon:wp.element.createElement(g,null),unit:R,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(f).concat(h,",").concat(v).concat(b,",").concat(k).concat(e))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(he,{min:-9999,value:s,placeholder:"auto",onChange:function(e){V("".concat(e).concat(w,",").concat(f).concat(h,",").concat(v).concat(b,",").concat(k).concat(R))},icon:wp.element.createElement(E,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(e,",").concat(f).concat(h,",").concat(v).concat(b,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(he,{min:-9999,value:f,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(e).concat(h,",").concat(v).concat(b,",").concat(k).concat(R))},icon:wp.element.createElement(C,null),unit:h,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(f).concat(e,",").concat(v).concat(b,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(he,{min:-9999,value:v,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(f).concat(h,",").concat(e).concat(b,",").concat(k).concat(R))},icon:wp.element.createElement(x,null),unit:b,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(f).concat(h,",").concat(v).concat(e,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}})))},I={s:"static",r:"relative",a:"absolute",f:"fixed",st:"sticky"},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=I&&I[e]?"position: ".concat(null==I?void 0:I[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},G=(0,e.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=function(e){n(e)},a=t;return wp.element.createElement("div",{className:"bm-position-control"},wp.element.createElement(de,{name:"Position",onReset:function(){n(l)}}),wp.element.createElement(ve,{className:"bm-position-control__group"},wp.element.createElement(re,{label:"Static",showTooltip:!0,className:"".concat("s"===a?"is-active":""),onClick:function(){return o("s")}},wp.element.createElement(b,null)),wp.element.createElement(re,{label:"Relative",showTooltip:!0,className:"".concat("r"===a?"is-active":""),onClick:function(){return o("r")}},wp.element.createElement(y,null)),wp.element.createElement(re,{label:"Absolute",showTooltip:!0,className:"".concat("a"===a?"is-active":""),onClick:function(){return o("a")}},wp.element.createElement(k,null)),wp.element.createElement(re,{label:"Fixed",showTooltip:!0,className:"".concat("f"===a?"is-active":""),onClick:function(){return o("f")}},wp.element.createElement(R,null)),wp.element.createElement(re,{label:"Sticky",showTooltip:!0,className:"".concat("st"===a?"is-active":""),onClick:function(){return o("st")}},wp.element.createElement(V,null))))})),z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(e){return e?"z-index: ".concat(e,";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},P=function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=t,a=function(e){n(Number(e))};return wp.element.createElement("div",{className:"bm-z-index-control"},wp.element.createElement(de,{name:"Z Index",onReset:function(){n(l)}}),wp.element.createElement(he,{value:o,placeholder:"0",onChange:function(e){a(e)},icon:wp.element.createElement(v,null)}))},O=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"11",viewBox:"0 0 8 11"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M4 10.207.646 6.854l.708-.708L3.5 8.293V0h1v8.293l2.146-2.147.708.708z"}))},_=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"7",viewBox:"0 0 11 7"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M10.707 3.5 7.354.146l-.708.708L8.793 3H.5v1h8.293L6.646 6.146l.708.708z"}))},Z=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M8 3h2c1.933 0 3.5 1.567 3.5 3.5 0 1.933-1.567 3.5-3.5 3.5H4.707l2.147 2.146-.708.708-3-3-.353-.354.353-.354 3-3 .708.708L4.707 9H10c1.38 0 2.5-1.12 2.5-2.5C12.5 5.12 11.38 4 10 4H8z"}))},W=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M15 14.75c0 .138.112.25.25.25h.25a.5.5 0 0 1 0 1h-.25c-.69 0-1.25-.56-1.25-1.25v-6.5c0-.69.56-1.25 1.25-1.25h.25a.5.5 0 0 1 0 1h-.25a.25.25 0 0 0-.25.25zm-8 .75a.5.5 0 0 1 .5-.5h.25a.25.25 0 0 0 .25-.25v-6.5A.25.25 0 0 0 7.75 8H7.5a.5.5 0 0 1 0-1h.25C8.44 7 9 7.56 9 8.25v6.5C9 15.44 8.44 16 7.75 16H7.5a.5.5 0 0 1-.5-.5m4-2a.5.5 0 1 0 1 0v-4a.5.5 0 0 0-1 0z",clipRule:"evenodd"}))},A=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M7.5 7a.5.5 0 0 1 .5.5v.25c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V7.5a.5.5 0 0 1 1 0v.25C16 8.44 15.44 9 14.75 9h-6.5C7.56 9 7 8.44 7 7.75V7.5a.5.5 0 0 1 .5-.5m.75 8a.25.25 0 0 0-.25.25v.25a.5.5 0 0 1-1 0v-.25c0-.69.56-1.25 1.25-1.25h6.5c.69 0 1.25.56 1.25 1.25v.25a.5.5 0 0 1-1 0v-.25a.25.25 0 0 0-.25-.25zm1.25-4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},T=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"13",width:"5",height:"2"}))},F=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"6.5",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"7.5",y:"13",width:"5",height:"2"}))},D=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"8",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"10",y:"13",width:"5",height:"2"}))},U=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"13.5",width:"7",height:"2",transform:"rotate(-90 5 13.5)"}),wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(t.Rect,{x:"13",y:"12.5",width:"5",height:"2",transform:"rotate(-90 13 12.5)"}))},q=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"15",width:"7",height:"2",transform:"rotate(-90 5 15)"}),wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(t.Rect,{x:"13",y:"15",width:"5",height:"2",transform:"rotate(-90 13 15)"}))},X=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"7",height:"2",transform:"matrix(0 1 1 0 5 5)"}),wp.element.createElement(t.Rect,{width:"10",height:"2",transform:"matrix(0 1 1 0 9 5)"}),wp.element.createElement(t.Rect,{width:"5",height:"2",transform:"matrix(0 1 1 0 13 5)"}))},$=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},K=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 7 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 11 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},Y=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},J=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}))},Q=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"7.5",y:"9",width:"5",height:"2"}))},ee=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}))},te=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"9",y:"12.5",width:"5",height:"2",transform:"rotate(-90 9 12.5)"}))},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(ce(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(ce(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(ce(n[2])," } }"):""].filter(Boolean).join("\n")},ce=function(e){var t,n,c,l,o,a,r;if(!e)return"";var i=Re(e,",",7),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";switch(e){case"c":return"column";case"r":return"row";case"cr":return"column-reverse";case"rr":return"row-reverse"}return t}(null===(t=i=i.split(","))||void 0===t?void 0:t[0]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"w":return"wrap";case"n":return"nowrap";case"rw":return"wrap-reverse"}return t}(null===(n=i)||void 0===n?void 0:n[1]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"b":return"baseline"}return t}(null===(c=i)||void 0===c?void 0:c[2]),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(l=i)||void 0===l?void 0:l[3]),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(o=i)||void 0===o?void 0:o[4]),f=(null===(a=i)||void 0===a?void 0:a[5])||"",h=be(f,""),d=xe(f,"px"),v=(null===(r=i)||void 0===r?void 0:r[6])||"",g=be(v,""),E=xe(v,"px"),C=[];return m&&C.push("flex-direction: ".concat(m,";")),u&&C.push("flex-wrap: ".concat(u,";")),s&&C.push("align-items: ".concat(s,";")),w&&C.push("align-content: ".concat(w,";")),p&&C.push("justify-content: ".concat(p,";")),h&&C.push("row-gap: ".concat(h).concat(d,";")),g&&C.push("column-gap: ".concat(g).concat(E,";")),C.join("")},le=function(e){var t,n,c,l,o,a,r,i=e.value,m=e.onChange,u=e.reset,s=void 0===u?"":u,w=Re(i,",",7),p=(null===(t=w=w.split(","))||void 0===t?void 0:t[0])||"c",f=(null===(n=w)||void 0===n?void 0:n[1])||"",h=(null===(c=w)||void 0===c?void 0:c[2])||"",d=(null===(l=w)||void 0===l?void 0:l[3])||"",v=(null===(o=w)||void 0===o?void 0:o[4])||"",g=(null===(a=w)||void 0===a?void 0:a[5])||"",E=be(g,""),C=xe(g,"px"),x=(null===(r=w)||void 0===r?void 0:r[6])||"",b=be(x,""),y=xe(x,"px"),k=function(e){m(e)},R=function(e){return(null==e?void 0:e.flexDirection)===p&&(null==e?void 0:e.flexWrap)===f&&(null==e?void 0:e.alignItems)===h&&(null==e?void 0:e.alignContent)===d&&(null==e?void 0:e.justifyContent)===v};return wp.element.createElement("div",{className:"bm-flex-control"},wp.element.createElement(de,{name:"Flex Box",onReset:function(){m(s)}}),wp.element.createElement("div",{className:"bm-flex-control__display"},wp.element.createElement(re,{className:"".concat("c"===p?"is-active":""),onClick:function(){k("c,".concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(O,null)),wp.element.createElement(re,{className:"".concat("r"===p&&"w"!==f?"is-active":""),onClick:function(){k("r,,".concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(_,null)),wp.element.createElement(re,{className:"".concat("w"===f?"is-active":""),onClick:function(){k("r,w,".concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Z,null))),wp.element.createElement("div",{className:"bm-flex-control__align-box"},wp.element.createElement("div",{className:"bm-flex-control__align-left"},"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(X,null)):wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(T,null))),"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(X,null)):wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fs,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(X,null)):wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(D,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-center"},"w"===f?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"c",alignContent:"fs"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(U,null))):wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(e){k("".concat(p,",").concat(f,",fs,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(T,null))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null)):wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(U,null))):wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Q,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(U,null))):wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(D,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-right"},"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fe,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(q,null)):wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(T,null))),"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,c,fe,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(q,null)):wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,fe,fe,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(q,null)):wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(D,null))))),wp.element.createElement("div",{className:"bm-flex-control__gap"},wp.element.createElement(he,{value:E,onChange:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(e).concat(C,",").concat("w"!==f?e:b).concat(y))},icon:wp.element.createElement(W,null),unit:C,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(E).concat(e,",").concat(b).concat("w"!==f?e:y))}}),"w"===f&&wp.element.createElement(he,{placeholder:E,value:b,onChange:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(e).concat(y))},icon:wp.element.createElement(A,null),unit:y,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(b).concat(e))}})))};function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},oe.apply(this,arguments)}var ae=function(n){var c=(0,e.useRef)();return(0,e.useEffect)((function(){var e=function(e){c.current&&!c.current.contains(e.target)&&n.onClose()};return function(){return document.removeEventListener("mousedown",e)}}),[c]),wp.element.createElement(t.Popover,oe({},n,{ref:c,className:"bm-popover"}),wp.element.createElement("div",{ref:c},n.children))},re=function(e){var n=e.style,c=void 0===n?{}:n,l=e.icon,o=void 0===l?null:l,a=e.label,r=void 0===a?"":a,i=e.showTooltip,m=void 0!==i&&i,u=e.onClick,s=e.className,w=e.children;return wp.element.createElement(t.Button,{style:c,icon:o,label:r,showTooltip:m,className:"bm-button-control ".concat(s),onClick:u},w)},ie=wp.data,me=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M11.5 6a.5.5 0 0 1 .5.5V11h4.5a.5.5 0 0 1 0 1H12v4.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H11V6.5a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}))},ue=function(e){var t=e.className,n=e.label,c=e.device,l=e.onAddNew,o=e.onReset,a=void 0!==o&&o;return wp.element.createElement("div",{className:"bm-responsive ".concat(t)},n&&wp.element.createElement("label",null,n),!1===a?null:wp.element.createElement(ge,{onReset:a}),wp.element.createElement("div",{className:"bm-responsive__buttons"},["Desktop","Tablet","Mobile"].map((function(e,t){return wp.element.createElement(re,{label:e,showTooltip:!0,key:t,className:"bm-responsive__button ".concat(c.toLowerCase()===e.toLowerCase()?"is-active":""),onClick:function(){return t=e,void(0,ie.dispatch)("core/editor").setDeviceType(t);var t}},"Desktop"===e?wp.element.createElement(u,null):"Tablet"===e?wp.element.createElement(s,null):wp.element.createElement(w,null))}))),l&&wp.element.createElement(re,{label:"Add new",showTooltip:!0,className:"bm-responsive__add-new",onClick:l},wp.element.createElement(me,null)))};function se(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return we(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var pe=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.80109 2.07902 5.61032 2.21967 5.46967C2.36032 5.32902 2.55109 5.25 2.75 5.25H9.25C9.44891 5.25 9.63968 5.32902 9.78033 5.46967C9.92098 5.61032 10 5.80109 10 6C10 6.19891 9.92098 6.38968 9.78033 6.53033C9.63968 6.67098 9.44891 6.75 9.25 6.75H2.75C2.55109 6.75 2.36032 6.67098 2.21967 6.53033C2.07902 6.38968 2 6.19891 2 6Z",fill:"currentColor"}))},fe=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 9.25a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5Z",fill:"currentColor"}))},he=function(t){var n,c,l=t.canDrag,o=void 0===l||l,a=t.className,r=void 0===a?"":a,i=t.step,m=void 0===i?1:i,u=t.withIncrementors,s=void 0!==u&&u,w=t.placeholder,f=void 0===w?0:w,h=t.min,d=void 0===h?0:h,v=t.max,g=t.direction,E=t.value,C=t.onChange,x=t.onChangeUnit,b=t.icon,y=t.unit,k=t.units,R=t.suggests,V=void 0===R?{}:R,N=se((0,e.useState)(!1),2),j=N[0],S=(N[1],se((0,e.useState)(!1),2)),M=S[0],L=S[1],H=se((0,e.useState)(!1),2),I=H[0],B=H[1],G=se((0,e.useState)(!1),2),z=G[0],P=G[1],O=E&&"string"==typeof E&&E.startsWith("g:"),_="",Z="",W="";O&&(_=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e?void 0:e.name)||""):""}(Z=E.replace("g:","")),W=(null===(c=ctcGbGlobalStyles)||void 0===c||null===(c=c.collections)||void 0===c||null===(c=c.modes)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.id)||"");var A=function(e){return!e||("string"==typeof e&&(e=e.trim()),!!e&&e.toString().match(/^[0-9]+$/))},T=function(e){if(o){L(!0);var t=E||0,n="vertical"===g?e.clientY:e.clientX,c=function(e){if(A(t)){var c="vertical"===g?e.clientY:e.clientX,l=t+(c-n);"vertical"===g&&(l=t-(c-n)),F(l)}};document.addEventListener("mousemove",c),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",e),L(!1)}))}},F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e||(e=0),A(e)&&(t&&n&&("increase"===n&&(e=parseInt(e)+t),"decrease"===n&&(e=parseInt(e)-t)),(e=parseInt(e))<=d&&(e=d),e>=v&&(e=v)),C(e)},D=E?8*E.toString().length:8,U=se((0,e.useState)(!1),2),q=U[0],X=U[1],$=se((0,e.useState)(!1),2),K=$[0],Y=$[1],J=k&&k.length>1;return wp.element.createElement("div",{className:"bm-base-input ".concat(r," ").concat(j?"is-hovered":""," ").concat(M?"is-dragging":""," ").concat(I?"is-focused":""," ").concat("vertical"===g?"is-vertical":""," ").concat(s?"with-incrementors":""," ").concat(o?"bm-can-drag":"")},b&&wp.element.createElement("div",{className:"bm-base-input__icon",onMouseDown:function(e){O||T(e)},onMouseUp:function(){O||L(!1)}},b),s&&!O?wp.element.createElement(re,{className:"bm-base-input__decrement",onClick:function(){var e=E?parseInt(E):0;F(e-m)}},wp.element.createElement(pe,null)):null,O?wp.element.createElement("span",{className:"bm-global"},_,wp.element.createElement(re,{onClick:function(){F(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e||null===(e=e.values)||void 0===e?void 0:e[c])||""):""}(Z))}},wp.element.createElement(p,null))):wp.element.createElement(React.Fragment,null,wp.element.createElement("input",{style:{width:D},placeholder:f,autoComplete:"false",spellCheck:"false",dir:"auto",value:E,onChange:function(e){F(e.target.value)},onClick:function(){B(!0)},onFocus:function(){B(!0)},onBlur:function(){return B(!1)},onMouseDown:T,onMouseUp:function(){return L(!1)},onKeyDown:function(e){"ArrowUp"===e.key?F(E,e.shiftKey?10:1,"increase"):"ArrowDown"===e.key&&F(E,e.shiftKey?10:1,"decrease")}}),Object.keys(V).length>1&&!0===z&&wp.element.createElement(ae,{position:"bottom right",className:"bm-suggest-popover",onClose:function(){return P(!1)}},wp.element.createElement("div",{className:"bm-suggest-popover__content"},wp.element.createElement("ul",null,Object.keys(V).map((function(e){var t,n=(null===(t=V[e])||void 0===t?void 0:t.value)||"";return wp.element.createElement("li",{key:e},wp.element.createElement(re,{onClick:function(){F(n),P(!1)}},e))}))))),y&&wp.element.createElement("span",{className:"bm-base-input__unit",onClick:function(){J&&Y(!K)}},y,J&&K&&wp.element.createElement(ae,{position:"bottom right",className:"bm-unit-popover",onClose:function(){return Y(!1)}},wp.element.createElement("div",{className:"bm-unit-popover__content"},wp.element.createElement("ul",null,k.map((function(e){return wp.element.createElement("li",{key:e},wp.element.createElement(re,{onClick:function(){x(e)}},e))})))))),q&&wp.element.createElement(ae,{position:"bottom right",className:"bm-global-popover"},wp.element.createElement("div",{className:"bm-global-popover__content",style:{width:"200px"}},wp.element.createElement("h3",null,"Global Variables"),wp.element.createElement("ul",null,null===(n=ctcGbGlobalStyles)||void 0===n||null===(n=n.collections)||void 0===n||null===(n=n.variables)||void 0===n?void 0:n.map((function(e){var t=e.id,n=e.type,c=e.name,l=e.values,o=(null==l?void 0:l[W])||"";return wp.element.createElement("li",{key:t},wp.element.createElement(re,{onClick:function(){C("g:".concat(t)),X(!1)}},wp.element.createElement("span",{style:{height:20,width:20,background:"color"===n?o:"transparent"}},"A"),c))})))))),s&&!O?wp.element.createElement(re,{className:"bm-base-input__increment",onClick:function(){var e=E?parseInt(E):0;F(e+m)}},wp.element.createElement(fe,null)):null)},de=function(e){var t=e.name,n=void 0===t?"":t,c=e.onReset,l=void 0!==c&&c;if(n)return wp.element.createElement("div",{className:"bm-control-label"},n,!1===l?null:wp.element.createElement(ge,{onReset:l}))},ve=function(e){var t=e.children,n=e.label,c=void 0===n?"":n,l=e.className,o=void 0===l?"":l;return wp.element.createElement("div",{className:"bm-row ".concat(o)},c&&wp.element.createElement("div",{className:"bm-row__label"},c),t)},ge=function(e){var t=e.onReset;return wp.element.createElement(re,{label:"Reset",showTooltip:!0,className:"bm-reset",onClick:t},wp.element.createElement(p,null))},Ee=function(e){var t=e.label,n=void 0===t?"":t,c=e.value,l=void 0===c?"normal":c,o=e.onChange;return wp.element.createElement("div",{className:"bm-state-control"},wp.element.createElement(de,{name:n}),wp.element.createElement(ve,null,["normal","hover","active"].map((function(e){return wp.element.createElement(re,{key:e,className:"".concat(l===e?"is-active":""),onClick:function(){o(e)}},"normal"===e&&wp.element.createElement(f,null),"hover"===e&&wp.element.createElement(h,null),"active"===e&&wp.element.createElement(d,null),wp.element.createElement("span",{className:"bm-state-control__label"},e))}))))},Ce=function(){var e,t=document.querySelector('iframe[name="editor-canvas"]');return t?null==t||null===(e=t.contentWindow)||void 0===e?void 0:e.document:document},xe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";if(!e)return t;var n=null==e?void 0:e.match(/[^0-9]/g);return n?null==n?void 0:n.join(""):t},be=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return n;var c=(null==e||null===(t=e.match(/[0-9]+/g))||void 0===t?void 0:t[0])||n;return c?Number(c):n},ye=function(e,t,n){var c=(e=Re(e)).split(";");"desktop"===n&&(c[0]=t),"tablet"===n&&(c[1]=t),"mobile"===n&&(c[2]=t);var l=c.join(";");return";;"===l?"":l},ke=function(e,t){var n=(e=Re(e)).split(";");return"tablet"===t?(null==n?void 0:n[1])||"":"mobile"===t?(null==n?void 0:n[2])||"":(null==n?void 0:n[0])||""},Re=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,c=e?e.split(t):[];c.length<n;)c.push("");return c.slice(0,n).join(t)},Ve=n(470);wp.isShallowEqual;function Ne(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return je(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Se=function(t){var n=t.parent,c=t.id,l=t.style,o=t.selector,a=Ne((0,e.useState)(l),2),r=(a[0],a[1]),i=function(){return"style-"+(c=(c=(c=(c=(c=c||o).replace(/\s+/g,"-")).replace(/[^a-zA-Z0-9-]/g,"")).replaceAll("#","")).replaceAll("wp-block-",""))},m=Ce(),u=function(){var e=i();if(!m.getElementById(e)){var t=m.createElement("style");return t.id=e,m.head.appendChild(t),t}};(0,e.useEffect)((function(){u()}),[]),(0,e.useEffect)((function(){r(l)}),[l]),(0,e.useEffect)((function(){var e=m.getElementById(i());e||(e=u());var t="";t+=function(e,t,n){var c,l,o,a,r,i,m,u,s,w,p,f,h,d,v,g="",E=n,C="".concat(n,":hover"),x="".concat(n,":focus");return e&&(C=(C=n.replace(":hover","")).replace("#block-".concat(e," >"),"#block-".concat(e,":hover >")),x=(x=n.replace(":focus","")).replace("#block-".concat(e," >"),"#block-".concat(e,":focus >"))),g+=j(null==t||null===(c=t.normal)||void 0===c?void 0:c.display,E),g+=j(null==t||null===(l=t.hover)||void 0===l?void 0:l.display,C),g+=j(null==t||null===(o=t.focus)||void 0===o?void 0:o.display,x),g+=M(null==t||null===(a=t.normal)||void 0===a?void 0:a.sides,E),g+=M(null==t||null===(r=t.hover)||void 0===r?void 0:r.sides,C),g+=M(null==t||null===(i=t.focus)||void 0===i?void 0:i.sides,x),g+=B(null==t||null===(m=t.normal)||void 0===m?void 0:m.position,E),g+=B(null==t||null===(u=t.hover)||void 0===u?void 0:u.position,C),g+=B(null==t||null===(s=t.focus)||void 0===s?void 0:s.position,x),g+=z(null==t||null===(w=t.normal)||void 0===w?void 0:w.zIndex,E),g+=z(null==t||null===(p=t.hover)||void 0===p?void 0:p.zIndex,C),g+=z(null==t||null===(f=t.focus)||void 0===f?void 0:f.zIndex,x),g+=ne(null==t||null===(h=t.normal)||void 0===h?void 0:h.flex,E),g+=ne(null==t||null===(d=t.hover)||void 0===d?void 0:d.flex,C),g+ne(null==t||null===(v=t.focus)||void 0===v?void 0:v.flex,x)}(n,l,o),e.innerHTML=t}),[l])},Me=n(838);function Le(e){return Le="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},Le(e)}function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},He.apply(this,arguments)}function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(n),!0).forEach((function(t){Ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ge(e,t,n){var c;return c=function(e,t){if("object"!=Le(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=Le(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Le(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Oe=(0,e.memo)((function(t){var n=t.device,c=t.deviceType,l=t.element,o=t.style,a=t.onChange,r=ze((0,e.useState)("normal"),2),i=r[0],m=r[1],u=function(e){var t,n;return l?(null==o||null===(n=o[l])||void 0===n||null===(n=n[i])||void 0===n?void 0:n[e])||"":(null==o||null===(t=o[i])||void 0===t?void 0:t[e])||""},s=(0,e.useRef)();(0,e.useEffect)((function(){if(null!=s&&s.current){var e="bm-controls--hover",t=function(){document.body.classList.add(e)},n=function(){document.body.classList.remove(e)};return s.current.addEventListener("mouseenter",t),s.current.addEventListener("mouseleave",n),function(){s.current&&(s.current.removeEventListener("mouseenter",t),s.current.removeEventListener("mouseleave",n))}}}),[]);var w=function(e){return ke(u(e),n)},p=function(e,t){!function(e,t){var n;a(Be(Be({},o),{},l?Ge({},l,Be(Be({},null==o?void 0:o[l]),{},Ge({},i,Be(Be({},null==o||null===(n=o[l])||void 0===n?void 0:n[i]),{},Ge({},e,t))))):Ge({},i,Be(Be({},null==o?void 0:o[i]),{},Ge({},e,t)))))}(e,ye(u(e),t,n))};return wp.element.createElement("div",{ref:s,className:"bm-controls"},wp.element.createElement(Ee,{value:i,onChange:function(e){return m(e)}}),wp.element.createElement(ue,{className:"bm-responsive--position bm-control-seperator",label:(0,Ve.__)("Layout","bm"),device:c}),wp.element.createElement(S,He({},t,{value:w("display"),onChange:function(e){return p("display",e)}})),w("display")&&w("display").includes("f")?wp.element.createElement(le,He({},t,{value:w("flex"),onChange:function(e){return p("flex",e)}})):null,wp.element.createElement(G,He({},t,{value:w("position"),onChange:function(e){return p("position",e)}})),wp.element.createElement(H,He({},t,{value:w("sides"),onChange:function(e){return p("sides",e)}})),wp.element.createElement(P,He({},t,{value:w("zIndex"),onChange:function(e){return p("zIndex",e)}})))}));(0,e.memo)((function(e){var n=e.id,c=e.title,l=void 0===c?"Style":c,o=e.initialOpen,a=void 0===o||o,r=e.style,i=e.onChange,m=e.selector,u=void 0===m?"":m,s=e.clientId,w=void 0===s?"":s,p=e.allowed,f=void 0===p?{}:p,h=(0,ie.useSelect)((function(e){return e("core/editor").getDeviceType()})),d=h.toLowerCase();return wp.element.createElement(React.Fragment,null,wp.element.createElement(Se,{style:r,selector:u||"#block-".concat(w)}),wp.element.createElement(Me.InspectorControls,null,wp.element.createElement(t.PanelBody,{title:l,initialOpen:a},wp.element.createElement(Oe,{deviceType:h,device:d,id:n,clientId:w,selector:u||"#block-".concat(w),element:"",style:r,onChange:i,allowed:f}))))})),n(964),wp.compose,wp.hooks}()}();1 !function(){"use strict";var e={838:function(e){e.exports=wp.blockEditor},964:function(e){e.exports=wp.blocks},470:function(e){e.exports=wp.i18n}},t={};function n(c){var l=t[c];if(void 0!==l)return l.exports;var o=t[c]={exports:{}};return e[c](o,o.exports,n),o.exports}n.d=function(e,t){for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var c={};!function(){n.d(c,{aE:function(){return xe},$n:function(){return pe},ZK:function(){return W},nl:function(){return M},so:function(){return ue},JU:function(){return be},AM:function(){return we},yX:function(){return G},Yn:function(){return ke},Ft:function(){return ve},fI:function(){return ye},Hw:function(){return B},Uw:function(){return Re},Py:function(){return T},om:function(){return Me},ZX:function(){return Le},i7:function(){return O},Mi:function(){return S},x7:function(){return Ve},De:function(){return ie},z:function(){return Ne},eT:function(){return je},ph:function(){return I},gB:function(){return L},wR:function(){return A},Xc:function(){return Se}});var e=wp.element,t=wp.components,l=function(){return wp.element.createElement(t.SVG,{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.25",y:"0.75",width:"11.5",height:"0.5",rx:"0.25",stroke:"currentColor",strokeWidth:"0.5"}))},o=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}))},a=function(){return wp.element.createElement(t.SVG,{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3C2 2.44772 2.44772 2 3 2H8C8.55228 2 9 2.44772 9 3V8C9 8.55228 8.55228 9 8 9H3C2.44772 9 2 8.55228 2 8V3Z"}),wp.element.createElement(t.Path,{d:"M2 2H9H2ZM9 9H2H9ZM3 9C2.28203 9 1.7 8.41797 1.7 7.7V3.3C1.7 2.58203 2.28203 2 3 2H3C2.6134 2 2.3 2.44772 2.3 3V8C2.3 8.55228 2.6134 9 3 9H3ZM8 2C8.71797 2 9.3 2.58203 9.3 3.3V7.7C9.3 8.41797 8.71797 9 8 9H8C8.3866 9 8.7 8.55228 8.7 8V3C8.7 2.44772 8.3866 2 8 2H8Z",fill:"currentColor"}))},r=function(){return wp.element.createElement(t.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(t.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}))},i=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Rect,{x:"2.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"5.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"8.75",y:"2.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"8.75",y:"4.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"2.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"5.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"2.75",y:"6.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}))},m=function(){return wp.element.createElement(t.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(t.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}),wp.element.createElement(t.Rect,{x:"3.15",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"5.29282",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"7.43577",y:"3.65",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"7.43577",y:"4.84995",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"3.15",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"5.29282",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"3.15",y:"6.05002",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}))},u=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M5.5 18a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 1 0v11a.5.5 0 0 1-.5.5m13 0a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 1 0v11a.5.5 0 0 1-.5.5M7.604 8l1.882 8h1.03L12 10.062 13.485 16h1.029l1.882-8h-1.027l-1.384 5.88L12.515 8h-1.03l-1.47 5.88L8.63 8z",clipRule:"evenodd"}))},s=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"}))},w=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"}))},p=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}))},h=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(t.Path,{d:"M5 13C5 16.866 8.13401 20 12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6H7M7 6L10 3M7 6L10 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},f=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1.2505 3.89576C0.748063 2.55595 2.05645 1.24758 3.39625 1.75001L17.6801 7.10645C19.2686 7.70213 19.0552 10.0135 17.3846 10.3083L10.9452 11.4447L9.80882 17.8841C9.51399 19.5548 7.20261 19.7681 6.60694 18.1796L1.2505 3.89576ZM2.81105 3.31056L8.16749 17.5944L9.30382 11.155C9.42557 10.4652 9.96565 9.92508 10.6555 9.80333L17.0949 8.667L2.81105 3.31056Z",fill:"currentColor"}))},v=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{d:"M16.8892 10.2777C15.8892 9.22216 14.5559 8.49994 13.167 8.22216C12.5559 8.0555 11.9448 7.94439 11.3336 7.88883C12.8892 6.0555 12.6114 3.27772 10.7781 1.72216C8.94475 0.166608 6.16698 0.444386 4.61142 2.27772C3.05587 4.11105 3.33364 6.88883 5.16698 8.44439C5.50031 8.72216 5.83364 8.94438 6.16698 9.0555V10.2777L5.27809 9.44439C4.50031 8.66661 3.22253 8.66661 2.3892 9.44439C1.61142 10.2222 1.55586 11.4444 2.33364 12.2222L4.8892 15.2222C5.00031 15.9999 5.27809 16.7222 5.66698 17.3888C5.94475 17.8888 6.33364 18.3888 6.72253 18.7777V19.8333C6.72253 20.1666 6.94475 20.3888 7.27809 20.3888H14.8336C15.1114 20.3888 15.3892 20.111 15.3892 19.8333V18.3888C16.4448 17.1111 17.0003 15.4999 17.0003 13.8888V10.6666C17.0559 10.4444 17.0003 10.3333 16.8892 10.2777ZM4.66698 5.0555C4.66698 3.22216 6.16698 1.77772 8.00031 1.83327C9.83364 1.83327 11.2781 3.33327 11.2225 5.16661C11.2225 6.16661 10.7781 7.0555 10.0003 7.66661V4.88883C9.94475 3.88883 9.11142 3.11105 8.11142 3.11105C7.11142 3.0555 6.22253 3.88883 6.22253 4.88883V7.77772C5.27809 7.22216 4.72253 6.16661 4.66698 5.0555ZM15.9448 13.8333C16.0003 15.2777 15.5003 16.6666 14.5559 17.7777C14.4448 17.8888 14.3336 17.9999 14.3336 18.1666V19.3333H7.8892V18.5555C7.8892 18.3888 7.77809 18.2222 7.66698 18.1111C7.27809 17.7777 6.94475 17.3888 6.66698 16.8888C6.33364 16.3333 6.11142 15.6666 6.00031 14.9999C6.00031 14.8888 5.94475 14.7777 5.8892 14.6666L3.22253 11.4999C3.05587 11.3333 2.94475 11.1111 2.94475 10.8333C2.94475 10.6111 3.05587 10.3333 3.22253 10.1666C3.61142 9.83327 4.16698 9.83327 4.55587 10.1666L6.16698 11.7777V13.4444L7.22253 12.8888V4.88883C7.27809 4.49994 7.61142 4.16661 8.05587 4.22216C8.44475 4.22216 8.83364 4.49994 8.83364 4.88883V11.2777L9.94475 11.4999V8.94438C10.0003 8.88883 10.0559 8.88883 10.1114 8.83327C10.5003 8.83327 10.8892 8.88883 11.2781 8.94438V11.7777L12.167 11.9444V9.0555L12.8336 9.22216C13.1114 9.27772 13.3892 9.38883 13.667 9.49994V12.2777L14.5559 12.4444V9.88883C15.0559 10.1111 15.5003 10.4444 15.8892 10.8333L15.9448 13.8333Z",fill:"currentColor"}))},d=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M7.50033 3.4165V2.1665M4.21754 4.71705L3.33366 3.83317M4.21754 11.3332L3.33366 12.2171M10.8337 4.71705L11.7176 3.83317M2.91699 7.99984H1.66699M13.2207 13.9912L11.1442 17.8473C10.9071 18.2879 10.7884 18.5082 10.6457 18.5639C10.5219 18.6123 10.3824 18.5986 10.2703 18.5272C10.1411 18.4448 10.0675 18.2058 9.92016 17.7276L7.03798 8.37088C6.91766 7.98026 6.85749 7.78495 6.9059 7.65303C6.94807 7.53813 7.03862 7.44758 7.15352 7.40542C7.28543 7.35701 7.48074 7.41717 7.87137 7.5375L17.228 10.4197C17.7062 10.567 17.9452 10.6407 18.0276 10.7698C18.0991 10.882 18.1127 11.0214 18.0643 11.1453C18.0087 11.288 17.7883 11.4066 17.3478 11.6438L13.4917 13.7203C13.4262 13.7555 13.3934 13.7731 13.3648 13.7958C13.3393 13.8158 13.3163 13.8388 13.2962 13.8643C13.2736 13.8929 13.256 13.9257 13.2207 13.9912Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(t.Path,{d:"M13.01 2.92007L18.91 5.54007C20.61 6.29007 20.61 7.53007 18.91 8.28007L13.01 10.9001C12.34 11.2001 11.24 11.2001 10.57 10.9001L4.67 8.28007C2.97 7.53007 2.97 6.29007 4.67 5.54007L10.57 2.92007C11.24 2.62007 12.34 2.62007 13.01 2.92007Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(t.Path,{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(t.Path,{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}))},E=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M9 7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM8 7v10H7V7zm2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},C=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M7 6a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zm0 1h10v1H7zm1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m9 0a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},x=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M18 7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zm-1 0v10h-1V7zM8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm-5 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},b=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m-8 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zM7 15a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm0 1h10v1H7z",clipRule:"evenodd"}))},y=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{d:"M0 4V0H4M8 0H12V4M12 8V12H8M4 12H0V8",stroke:"black",strokeWidth:"2"}))},k=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}))},R=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}),wp.element.createElement(t.Rect,{x:"2",y:"2",width:"4",height:"4",fill:"black"}))},V=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(t.Rect,{x:"3.5",y:"3.5",width:"5",height:"5",stroke:"black",strokeLinecap:"square"}))},N=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(t.Line,{x1:"2",y1:"4",x2:"10",y2:"4",stroke:"black",strokeWidth:"2"}))},j={n:"none",b:"block",i:"inline",ib:"inline-block",f:"flex",if:"inline-flex"},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=j&&j[e]?"display: ".concat(null==j?void 0:j[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},M=(0,e.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,u=void 0===c?"":c,s=function(e){n(e)},w=t;return wp.element.createElement("div",{className:"bm-display-control"},wp.element.createElement(be,{name:"Display",onReset:function(){n(u)}}),wp.element.createElement("div",{className:"bm-display-control__group"},wp.element.createElement(pe,{label:"None",showTooltip:!0,className:"".concat("n"===w?"is-active":""),onClick:function(){return s("n")}},wp.element.createElement(l,null)),wp.element.createElement(pe,{label:"Block",showTooltip:!0,className:"".concat("b"===w?"is-active":""),onClick:function(){return s("b")}},wp.element.createElement(o,null)),wp.element.createElement(pe,{label:"Inline",showTooltip:!0,className:"".concat("i"===w?"is-active":""),onClick:function(){return s("i")}},wp.element.createElement(a,null)),wp.element.createElement(pe,{label:"Inline Block",showTooltip:!0,className:"".concat("ib"===w?"is-active":""),onClick:function(){return s("ib")}},wp.element.createElement(r,null)),wp.element.createElement(pe,{label:"Flex",showTooltip:!0,className:"".concat("f"===w?"is-active":""),onClick:function(){return s("f")}},wp.element.createElement(i,null)),wp.element.createElement(pe,{label:"Inline Flex",showTooltip:!0,className:"".concat("if"===w?"is-active":""),onClick:function(){return s("if")}},wp.element.createElement(m,null))))})),L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(H(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(H(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(H(n[2])," } }"):""].filter(Boolean).join("\n")},H=function(e){var t,n,c,l;if(!e)return"";var o=Le(e,",",4),a=(null===(t=o=o.split(","))||void 0===t?void 0:t[0])||"",r=je(a,""),i=Ne(a,"px"),m=(null===(n=o)||void 0===n?void 0:n[1])||"",u=je(m,""),s=Ne(m,"px"),w=(null===(c=o)||void 0===c?void 0:c[2])||"",p=je(w,""),h=Ne(w,"px"),f=(null===(l=o)||void 0===l?void 0:l[3])||"",v=je(f,""),d=Ne(f,"px"),g=[];return g.push("top: ".concat(r).concat(i,";")),g.push("right: ".concat(u).concat(s,";")),g.push("bottom: ".concat(p).concat(h,";")),g.push("left: ".concat(v).concat(d,";")),g.join("")},B=function(e){var t,n,c,l,o=e.value,a=e.onChange,r=e.reset,i=void 0===r?"":r,m=Le(o,",",4),u=(null===(t=m=m.split(","))||void 0===t?void 0:t[0])||"",s=je(u,""),w=Ne(u,"px"),p=(null===(n=m)||void 0===n?void 0:n[1])||"",h=je(p,""),f=Ne(p,"px"),v=(null===(c=m)||void 0===c?void 0:c[2])||"",d=je(v,""),g=Ne(v,"px"),y=(null===(l=m)||void 0===l?void 0:l[3])||"",k=je(y,""),R=Ne(y,"px"),V=function(e){a(e)};return wp.element.createElement("div",{className:"bm-sides-control"},wp.element.createElement(be,{name:"Sides",onReset:function(){a(i)}}),wp.element.createElement("div",{className:"bm-position-control__sides"},wp.element.createElement(xe,{min:-9999,value:k,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(h).concat(f,",").concat(d).concat(g,",").concat(e).concat(R))},icon:wp.element.createElement(E,null),unit:R,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(h).concat(f,",").concat(d).concat(g,",").concat(k).concat(e))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(xe,{min:-9999,value:s,placeholder:"auto",onChange:function(e){V("".concat(e).concat(w,",").concat(h).concat(f,",").concat(d).concat(g,",").concat(k).concat(R))},icon:wp.element.createElement(C,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(e,",").concat(h).concat(f,",").concat(d).concat(g,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(xe,{min:-9999,value:h,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(e).concat(f,",").concat(d).concat(g,",").concat(k).concat(R))},icon:wp.element.createElement(x,null),unit:f,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(h).concat(e,",").concat(d).concat(g,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(xe,{min:-9999,value:d,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(h).concat(f,",").concat(e).concat(g,",").concat(k).concat(R))},icon:wp.element.createElement(b,null),unit:g,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(h).concat(f,",").concat(d).concat(e,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}})))},z={s:"static",r:"relative",a:"absolute",f:"fixed",st:"sticky"},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=z&&z[e]?"position: ".concat(null==z?void 0:z[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},G=(0,e.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=function(e){n(e)},a=t;return wp.element.createElement("div",{className:"bm-position-control"},wp.element.createElement(be,{name:"Position",onReset:function(){n(l)}}),wp.element.createElement(ye,{className:"bm-position-control__group"},wp.element.createElement(pe,{label:"Static",showTooltip:!0,className:"".concat("s"===a?"is-active":""),onClick:function(){return o("s")}},wp.element.createElement(y,null)),wp.element.createElement(pe,{label:"Relative",showTooltip:!0,className:"".concat("r"===a?"is-active":""),onClick:function(){return o("r")}},wp.element.createElement(k,null)),wp.element.createElement(pe,{label:"Absolute",showTooltip:!0,className:"".concat("a"===a?"is-active":""),onClick:function(){return o("a")}},wp.element.createElement(R,null)),wp.element.createElement(pe,{label:"Fixed",showTooltip:!0,className:"".concat("f"===a?"is-active":""),onClick:function(){return o("f")}},wp.element.createElement(V,null)),wp.element.createElement(pe,{label:"Sticky",showTooltip:!0,className:"".concat("st"===a?"is-active":""),onClick:function(){return o("st")}},wp.element.createElement(N,null))))})),P=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M10 8a2 2 0 1 1 4 0v1.5a.5.5 0 1 0 1 0V8a3 3 0 0 0-6 0v1.5a.5.5 0 0 0 1 0zm0 8a2 2 0 1 0 4 0v-1.5a.5.5 0 1 1 1 0V16a3 3 0 0 1-6 0v-1.5a.5.5 0 0 1 1 0z",clipRule:"evenodd"}))},_=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M10 8a2 2 0 1 1 4 0v1.5a.5.5 0 0 0 1 0V8a3 3 0 1 0-6 0v1.5a.5.5 0 0 0 1 0zm0 8a2 2 0 1 0 4 0v-1.5a.5.5 0 0 1 1 0V16a3 3 0 1 1-6 0v-1.5a.5.5 0 0 1 1 0zm2.5-6a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0z",clipRule:"evenodd"}))},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(Z(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(Z(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(Z(n[2])," } }"):""].filter(Boolean).join("\n")},Z=function(e){var t,n;if(!e)return"";var c=Le(e,",",3),l=(null===(t=c=c.split(","))||void 0===t?void 0:t[0])||"",o=je(l,""),a=Ne(l,"px"),r=(null===(n=c)||void 0===n?void 0:n[1])||"",i=je(r,""),m=Ne(r,"px"),u=[];return u.push("width: ".concat(o).concat(a,";")),u.push("height: ".concat(i).concat(m,";")),u.join("")},W=function(e){var t,n,c,l=e.value,o=e.onChange,a=e.reset,r=void 0===a?"":a,i=Le(l,",",3),m=(null===(t=i=i.split(","))||void 0===t?void 0:t[0])||"",s=je(m,""),w=Ne(m,"px"),p=(null===(n=i)||void 0===n?void 0:n[1])||"",h=je(p,""),f=Ne(p,"px"),v=Number((null===(c=i)||void 0===c?void 0:c[2])||0),d=function(e){o(e)};return wp.element.createElement("div",{className:"bm-width-and-height-control"},wp.element.createElement(be,{name:"Dimentions",onReset:function(){d(r)}}),wp.element.createElement(ye,null,wp.element.createElement(xe,{placeholder:"auto",value:s,onChange:function(e){var t=v?h+(e-s):h;d("".concat(e).concat(w,",").concat(t).concat(f,",").concat(v))},icon:wp.element.createElement(u,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){d("".concat(s).concat(e,",").concat(h).concat(f,",").concat(v))},suggests:{auto:"auto",100:100,200:200,300:300,400:400}}),wp.element.createElement(xe,{placeholder:"auto",value:h,onChange:function(e){d("".concat(v?s+(e-h):s).concat(w,",").concat(e).concat(f,",").concat(v))},icon:"H",unit:f,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){d("".concat(s).concat(w,",").concat(h).concat(e,",").concat(v))},suggests:{auto:"auto",100:100,200:200,300:300,400:400}}),wp.element.createElement(pe,{className:"bm-width-and-height-control__connect ".concat(v?"is-active":""),onClick:function(){var e=0===v?1:0;console.log(v),console.log(e),d("".concat(s).concat(w,",").concat(h).concat(f,",").concat(e))}},v?wp.element.createElement(_,null):wp.element.createElement(P,null))))},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(e){return e?"z-index: ".concat(e,";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},T=function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=t,a=function(e){n(Number(e))};return wp.element.createElement("div",{className:"bm-z-index-control"},wp.element.createElement(be,{name:"Z Index",onReset:function(){n(l)}}),wp.element.createElement(xe,{value:o,placeholder:"0",onChange:function(e){a(e)},icon:wp.element.createElement(g,null)}))},D=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"11",viewBox:"0 0 8 11"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M4 10.207.646 6.854l.708-.708L3.5 8.293V0h1v8.293l2.146-2.147.708.708z"}))},F=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"7",viewBox:"0 0 11 7"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M10.707 3.5 7.354.146l-.708.708L8.793 3H.5v1h8.293L6.646 6.146l.708.708z"}))},U=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M8 3h2c1.933 0 3.5 1.567 3.5 3.5 0 1.933-1.567 3.5-3.5 3.5H4.707l2.147 2.146-.708.708-3-3-.353-.354.353-.354 3-3 .708.708L4.707 9H10c1.38 0 2.5-1.12 2.5-2.5C12.5 5.12 11.38 4 10 4H8z"}))},q=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M15 14.75c0 .138.112.25.25.25h.25a.5.5 0 0 1 0 1h-.25c-.69 0-1.25-.56-1.25-1.25v-6.5c0-.69.56-1.25 1.25-1.25h.25a.5.5 0 0 1 0 1h-.25a.25.25 0 0 0-.25.25zm-8 .75a.5.5 0 0 1 .5-.5h.25a.25.25 0 0 0 .25-.25v-6.5A.25.25 0 0 0 7.75 8H7.5a.5.5 0 0 1 0-1h.25C8.44 7 9 7.56 9 8.25v6.5C9 15.44 8.44 16 7.75 16H7.5a.5.5 0 0 1-.5-.5m4-2a.5.5 0 1 0 1 0v-4a.5.5 0 0 0-1 0z",clipRule:"evenodd"}))},X=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M7.5 7a.5.5 0 0 1 .5.5v.25c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V7.5a.5.5 0 0 1 1 0v.25C16 8.44 15.44 9 14.75 9h-6.5C7.56 9 7 8.44 7 7.75V7.5a.5.5 0 0 1 .5-.5m.75 8a.25.25 0 0 0-.25.25v.25a.5.5 0 0 1-1 0v-.25c0-.69.56-1.25 1.25-1.25h6.5c.69 0 1.25.56 1.25 1.25v.25a.5.5 0 0 1-1 0v-.25a.25.25 0 0 0-.25-.25zm1.25-4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},$=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"13",width:"5",height:"2"}))},K=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"6.5",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"7.5",y:"13",width:"5",height:"2"}))},Y=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"8",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"10",y:"13",width:"5",height:"2"}))},J=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"13.5",width:"7",height:"2",transform:"rotate(-90 5 13.5)"}),wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(t.Rect,{x:"13",y:"12.5",width:"5",height:"2",transform:"rotate(-90 13 12.5)"}))},Q=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"15",width:"7",height:"2",transform:"rotate(-90 5 15)"}),wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(t.Rect,{x:"13",y:"15",width:"5",height:"2",transform:"rotate(-90 13 15)"}))},ee=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"7",height:"2",transform:"matrix(0 1 1 0 5 5)"}),wp.element.createElement(t.Rect,{width:"10",height:"2",transform:"matrix(0 1 1 0 9 5)"}),wp.element.createElement(t.Rect,{width:"5",height:"2",transform:"matrix(0 1 1 0 13 5)"}))},te=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},ne=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 7 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 11 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},ce=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},le=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}))},oe=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"7.5",y:"9",width:"5",height:"2"}))},ae=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}))},re=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"9",y:"12.5",width:"5",height:"2",transform:"rotate(-90 9 12.5)"}))},ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(me(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(me(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(me(n[2])," } }"):""].filter(Boolean).join("\n")},me=function(e){var t,n,c,l,o,a,r;if(!e)return"";var i=Le(e,",",7),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";switch(e){case"c":return"column";case"r":return"row";case"cr":return"column-reverse";case"rr":return"row-reverse"}return t}(null===(t=i=i.split(","))||void 0===t?void 0:t[0]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"w":return"wrap";case"n":return"nowrap";case"rw":return"wrap-reverse"}return t}(null===(n=i)||void 0===n?void 0:n[1]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"b":return"baseline"}return t}(null===(c=i)||void 0===c?void 0:c[2]),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(l=i)||void 0===l?void 0:l[3]),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(o=i)||void 0===o?void 0:o[4]),h=(null===(a=i)||void 0===a?void 0:a[5])||"",f=je(h,""),v=Ne(h,"px"),d=(null===(r=i)||void 0===r?void 0:r[6])||"",g=je(d,""),E=Ne(d,"px"),C=[];return m&&C.push("flex-direction: ".concat(m,";")),u&&C.push("flex-wrap: ".concat(u,";")),s&&C.push("align-items: ".concat(s,";")),w&&C.push("align-content: ".concat(w,";")),p&&C.push("justify-content: ".concat(p,";")),f&&C.push("row-gap: ".concat(f).concat(v,";")),g&&C.push("column-gap: ".concat(g).concat(E,";")),C.join("")},ue=function(e){var t,n,c,l,o,a,r,i=e.value,m=e.onChange,u=e.reset,s=void 0===u?"":u,w=Le(i,",",7),p=(null===(t=w=w.split(","))||void 0===t?void 0:t[0])||"c",h=(null===(n=w)||void 0===n?void 0:n[1])||"",f=(null===(c=w)||void 0===c?void 0:c[2])||"",v=(null===(l=w)||void 0===l?void 0:l[3])||"",d=(null===(o=w)||void 0===o?void 0:o[4])||"",g=(null===(a=w)||void 0===a?void 0:a[5])||"",E=je(g,""),C=Ne(g,"px"),x=(null===(r=w)||void 0===r?void 0:r[6])||"",b=je(x,""),y=Ne(x,"px"),k=function(e){m(e)},R=function(e){return(null==e?void 0:e.flexDirection)===p&&(null==e?void 0:e.flexWrap)===h&&(null==e?void 0:e.alignItems)===f&&(null==e?void 0:e.alignContent)===v&&(null==e?void 0:e.justifyContent)===d};return wp.element.createElement("div",{className:"bm-flex-control"},wp.element.createElement(be,{name:"Flex Box",onReset:function(){m(s)}}),wp.element.createElement("div",{className:"bm-flex-control__display"},wp.element.createElement(pe,{className:"".concat("c"===p?"is-active":""),onClick:function(){k("c,".concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(D,null)),wp.element.createElement(pe,{className:"".concat("r"===p&&"w"!==h?"is-active":""),onClick:function(){k("r,,".concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(F,null)),wp.element.createElement(pe,{className:"".concat("w"===h?"is-active":""),onClick:function(){k("r,w,".concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(U,null))),wp.element.createElement("div",{className:"bm-flex-control__align-box"},wp.element.createElement("div",{className:"bm-flex-control__align-left"},"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null))),"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ne,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(le,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)))),"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fs,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ce,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-center"},"w"===h?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ae,null)):wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"c",alignContent:"fs"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ae,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null))):wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(e){k("".concat(p,",").concat(h,",fs,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null))),"w"===h?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(re,null)):wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ne,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(re,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null))):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(oe,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)))),"w"===h?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ae,null)):wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ce,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ae,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null))):wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-right"},"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fe,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Q,null)):wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null))),"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,c,fe,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ne,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Q,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(le,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)))),"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,fe,fe,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ce,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Q,null)):wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null))))),wp.element.createElement("div",{className:"bm-flex-control__gap"},wp.element.createElement(xe,{value:E,onChange:function(e){k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(e).concat(C,",").concat("w"!==h?e:b).concat(y))},icon:wp.element.createElement(q,null),unit:C,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(E).concat(e,",").concat(b).concat("w"!==h?e:y))}}),"w"===h&&wp.element.createElement(xe,{placeholder:E,value:b,onChange:function(e){k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(e).concat(y))},icon:wp.element.createElement(X,null),unit:y,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(b).concat(e))}})))};function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},se.apply(this,arguments)}var we=function(n){var c=(0,e.useRef)();return(0,e.useEffect)((function(){var e=function(e){c.current&&!c.current.contains(e.target)&&n.onClose()};return function(){return document.removeEventListener("mousedown",e)}}),[c]),wp.element.createElement(t.Popover,se({},n,{ref:c,className:"bm-popover"}),wp.element.createElement("div",{ref:c},n.children))},pe=function(e){var n=e.style,c=void 0===n?{}:n,l=e.icon,o=void 0===l?null:l,a=e.label,r=void 0===a?"":a,i=e.showTooltip,m=void 0!==i&&i,u=e.onClick,s=e.className,w=e.children;return wp.element.createElement(t.Button,{style:c,icon:o,label:r,showTooltip:m,className:"bm-button-control ".concat(s),onClick:u},w)},he=wp.data,fe=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M11.5 6a.5.5 0 0 1 .5.5V11h4.5a.5.5 0 0 1 0 1H12v4.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H11V6.5a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}))},ve=function(e){var t=e.className,n=e.label,c=e.device,l=e.onAddNew,o=e.onReset,a=void 0!==o&&o;return wp.element.createElement("div",{className:"bm-responsive ".concat(t)},n&&wp.element.createElement("label",null,n),!1===a?null:wp.element.createElement(ke,{onReset:a}),wp.element.createElement("div",{className:"bm-responsive__buttons"},["Desktop","Tablet","Mobile"].map((function(e,t){return wp.element.createElement(pe,{label:e,showTooltip:!0,key:t,className:"bm-responsive__button ".concat(c.toLowerCase()===e.toLowerCase()?"is-active":""),onClick:function(){return t=e,void(0,he.dispatch)("core/editor").setDeviceType(t);var t}},"Desktop"===e?wp.element.createElement(s,null):"Tablet"===e?wp.element.createElement(w,null):wp.element.createElement(p,null))}))),l&&wp.element.createElement(pe,{label:"Add new",showTooltip:!0,className:"bm-responsive__add-new",onClick:l},wp.element.createElement(fe,null)))};function de(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ge(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Ee=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.80109 2.07902 5.61032 2.21967 5.46967C2.36032 5.32902 2.55109 5.25 2.75 5.25H9.25C9.44891 5.25 9.63968 5.32902 9.78033 5.46967C9.92098 5.61032 10 5.80109 10 6C10 6.19891 9.92098 6.38968 9.78033 6.53033C9.63968 6.67098 9.44891 6.75 9.25 6.75H2.75C2.55109 6.75 2.36032 6.67098 2.21967 6.53033C2.07902 6.38968 2 6.19891 2 6Z",fill:"currentColor"}))},Ce=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 9.25a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5Z",fill:"currentColor"}))},xe=function(t){var n,c,l=t.canDrag,o=void 0===l||l,a=t.className,r=void 0===a?"":a,i=t.step,m=void 0===i?1:i,u=t.withIncrementors,s=void 0!==u&&u,w=t.placeholder,p=void 0===w?0:w,f=t.min,v=void 0===f?0:f,d=t.max,g=t.direction,E=t.value,C=t.onChange,x=t.onChangeUnit,b=t.icon,y=t.unit,k=t.units,R=t.suggests,V=void 0===R?{}:R,N=de((0,e.useState)(!1),2),j=N[0],S=(N[1],de((0,e.useState)(!1),2)),M=S[0],L=S[1],H=de((0,e.useState)(!1),2),B=H[0],z=H[1],I=de((0,e.useState)(!1),2),G=I[0],P=I[1],_=E&&"string"==typeof E&&E.startsWith("g:"),O="",Z="",W="";_&&(O=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e?void 0:e.name)||""):""}(Z=E.replace("g:","")),W=(null===(c=ctcGbGlobalStyles)||void 0===c||null===(c=c.collections)||void 0===c||null===(c=c.modes)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.id)||"");var A=function(e){return!e||("string"==typeof e&&(e=e.trim()),!!e&&e.toString().match(/^[0-9]+$/))},T=function(e){if(o){L(!0);var t=E||0,n="vertical"===g?e.clientY:e.clientX,c=function(e){if(A(t)){var c="vertical"===g?e.clientY:e.clientX,l=t+(c-n);"vertical"===g&&(l=t-(c-n)),D(l)}};document.addEventListener("mousemove",c),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",e),L(!1)}))}},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e||(e=0),A(e)&&(t&&n&&("increase"===n&&(e=parseInt(e)+t),"decrease"===n&&(e=parseInt(e)-t)),(e=parseInt(e))<=v&&(e=v),e>=d&&(e=d)),C(e)},F=E?8*E.toString().length:8,U=de((0,e.useState)(!1),2),q=U[0],X=U[1],$=de((0,e.useState)(!1),2),K=$[0],Y=$[1],J=k&&k.length>1;return wp.element.createElement("div",{className:"bm-base-input ".concat(r," ").concat(j?"is-hovered":""," ").concat(M?"is-dragging":""," ").concat(B?"is-focused":""," ").concat("vertical"===g?"is-vertical":""," ").concat(s?"with-incrementors":""," ").concat(o?"bm-can-drag":"")},b&&wp.element.createElement("div",{className:"bm-base-input__icon",onMouseDown:function(e){_||T(e)},onMouseUp:function(){_||L(!1)}},b),s&&!_?wp.element.createElement(pe,{className:"bm-base-input__decrement",onClick:function(){var e=E?parseInt(E):0;D(e-m)}},wp.element.createElement(Ee,null)):null,_?wp.element.createElement("span",{className:"bm-global"},O,wp.element.createElement(pe,{onClick:function(){D(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e||null===(e=e.values)||void 0===e?void 0:e[c])||""):""}(Z))}},wp.element.createElement(h,null))):wp.element.createElement(React.Fragment,null,wp.element.createElement("input",{style:{width:F},placeholder:p,autoComplete:"false",spellCheck:"false",dir:"auto",value:E,onChange:function(e){D(e.target.value)},onClick:function(){z(!0)},onFocus:function(){z(!0)},onBlur:function(){return z(!1)},onMouseDown:T,onMouseUp:function(){return L(!1)},onKeyDown:function(e){"ArrowUp"===e.key?D(E,e.shiftKey?10:1,"increase"):"ArrowDown"===e.key&&D(E,e.shiftKey?10:1,"decrease")}}),Object.keys(V).length>1&&!0===G&&wp.element.createElement(we,{position:"bottom right",className:"bm-suggest-popover",onClose:function(){return P(!1)}},wp.element.createElement("div",{className:"bm-suggest-popover__content"},wp.element.createElement("ul",null,Object.keys(V).map((function(e){var t,n=(null===(t=V[e])||void 0===t?void 0:t.value)||"";return wp.element.createElement("li",{key:e},wp.element.createElement(pe,{onClick:function(){D(n),P(!1)}},e))}))))),y&&wp.element.createElement("span",{className:"bm-base-input__unit",onClick:function(){J&&Y(!K)}},y,J&&K&&wp.element.createElement(we,{position:"bottom right",className:"bm-unit-popover",onClose:function(){return Y(!1)}},wp.element.createElement("div",{className:"bm-unit-popover__content"},wp.element.createElement("ul",null,k.map((function(e){return wp.element.createElement("li",{key:e},wp.element.createElement(pe,{onClick:function(){x(e)}},e))})))))),q&&wp.element.createElement(we,{position:"bottom right",className:"bm-global-popover"},wp.element.createElement("div",{className:"bm-global-popover__content",style:{width:"200px"}},wp.element.createElement("h3",null,"Global Variables"),wp.element.createElement("ul",null,null===(n=ctcGbGlobalStyles)||void 0===n||null===(n=n.collections)||void 0===n||null===(n=n.variables)||void 0===n?void 0:n.map((function(e){var t=e.id,n=e.type,c=e.name,l=e.values,o=(null==l?void 0:l[W])||"";return wp.element.createElement("li",{key:t},wp.element.createElement(pe,{onClick:function(){C("g:".concat(t)),X(!1)}},wp.element.createElement("span",{style:{height:20,width:20,background:"color"===n?o:"transparent"}},"A"),c))})))))),s&&!_?wp.element.createElement(pe,{className:"bm-base-input__increment",onClick:function(){var e=E?parseInt(E):0;D(e+m)}},wp.element.createElement(Ce,null)):null)},be=function(e){var t=e.name,n=void 0===t?"":t,c=e.onReset,l=void 0!==c&&c;if(n)return wp.element.createElement("div",{className:"bm-control-label"},n,!1===l?null:wp.element.createElement(ke,{onReset:l}))},ye=function(e){var t=e.children,n=e.label,c=void 0===n?"":n,l=e.className,o=void 0===l?"":l;return wp.element.createElement("div",{className:"bm-row ".concat(o)},c&&wp.element.createElement("div",{className:"bm-row__label"},c),t)},ke=function(e){var t=e.onReset;return wp.element.createElement(pe,{label:"Reset",showTooltip:!0,className:"bm-reset",onClick:t},wp.element.createElement(h,null))},Re=function(e){var t=e.label,n=void 0===t?"":t,c=e.value,l=void 0===c?"normal":c,o=e.onChange;return wp.element.createElement("div",{className:"bm-state-control"},wp.element.createElement(be,{name:n}),wp.element.createElement(ye,null,["normal","hover","active"].map((function(e){return wp.element.createElement(pe,{key:e,className:"".concat(l===e?"is-active":""),onClick:function(){o(e)}},"normal"===e&&wp.element.createElement(f,null),"hover"===e&&wp.element.createElement(v,null),"active"===e&&wp.element.createElement(d,null),wp.element.createElement("span",{className:"bm-state-control__label"},e))}))))},Ve=function(){var e,t=document.querySelector('iframe[name="editor-canvas"]');return t?null==t||null===(e=t.contentWindow)||void 0===e?void 0:e.document:document},Ne=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";if(!e)return t;var n=null==e?void 0:e.match(/[^0-9]/g);return n?null==n?void 0:n.join(""):t},je=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return n;var c=(null==e||null===(t=e.match(/[0-9]+/g))||void 0===t?void 0:t[0])||n;return c?Number(c):n},Se=function(e,t,n){var c=(e=Le(e)).split(";");"desktop"===n&&(c[0]=t),"tablet"===n&&(c[1]=t),"mobile"===n&&(c[2]=t);var l=c.join(";");return";;"===l?"":l},Me=function(e,t){var n=(e=Le(e)).split(";");return"tablet"===t?(null==n?void 0:n[1])||"":"mobile"===t?(null==n?void 0:n[2])||"":(null==n?void 0:n[0])||""},Le=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,c=e?e.split(t):[];c.length<n;)c.push("");return c.slice(0,n).join(t)},He=n(470);wp.isShallowEqual;function Be(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Ie=function(t){var n=t.parent,c=t.id,l=t.style,o=t.selector,a=Be((0,e.useState)(l),2),r=(a[0],a[1]),i=function(){return"style-"+(c=(c=(c=(c=(c=c||o).replace(/\s+/g,"-")).replace(/[^a-zA-Z0-9-]/g,"")).replaceAll("#","")).replaceAll("wp-block-",""))},m=Ve(),u=function(){var e=i();if(!m.getElementById(e)){var t=m.createElement("style");return t.id=e,m.head.appendChild(t),t}};(0,e.useEffect)((function(){u()}),[]),(0,e.useEffect)((function(){r(l)}),[l]),(0,e.useEffect)((function(){var e=m.getElementById(i());e||(e=u());var t="";t+=function(e,t,n){var c,l,o,a,r,i,m,u,s,w,p,h,f,v,d,g,E,C,x="",b=n,y="".concat(n,":hover"),k="".concat(n,":focus");return e&&(y=(y=n.replace(":hover","")).replace("#block-".concat(e," >"),"#block-".concat(e,":hover >")),k=(k=n.replace(":focus","")).replace("#block-".concat(e," >"),"#block-".concat(e,":focus >"))),x+=S(null==t||null===(c=t.normal)||void 0===c?void 0:c.display,b),x+=S(null==t||null===(l=t.hover)||void 0===l?void 0:l.display,y),x+=S(null==t||null===(o=t.focus)||void 0===o?void 0:o.display,k),x+=L(null==t||null===(a=t.normal)||void 0===a?void 0:a.sides,b),x+=L(null==t||null===(r=t.hover)||void 0===r?void 0:r.sides,y),x+=L(null==t||null===(i=t.focus)||void 0===i?void 0:i.sides,k),x+=I(null==t||null===(m=t.normal)||void 0===m?void 0:m.position,b),x+=I(null==t||null===(u=t.hover)||void 0===u?void 0:u.position,y),x+=I(null==t||null===(s=t.focus)||void 0===s?void 0:s.position,k),x+=A(null==t||null===(w=t.normal)||void 0===w?void 0:w.zIndex,b),x+=A(null==t||null===(p=t.hover)||void 0===p?void 0:p.zIndex,y),x+=A(null==t||null===(h=t.focus)||void 0===h?void 0:h.zIndex,k),x+=O(null==t||null===(f=t.normal)||void 0===f?void 0:f.dimentions,b),x+=O(null==t||null===(v=t.hover)||void 0===v?void 0:v.dimentions,y),x+=O(null==t||null===(d=t.focus)||void 0===d?void 0:d.dimentions,k),x+=ie(null==t||null===(g=t.normal)||void 0===g?void 0:g.flex,b),x+=ie(null==t||null===(E=t.hover)||void 0===E?void 0:E.flex,y),x+ie(null==t||null===(C=t.focus)||void 0===C?void 0:C.flex,k)}(n,l,o),e.innerHTML=t}),[l])},Ge=n(838);function Pe(e){return Pe="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},Pe(e)}function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},_e.apply(this,arguments)}function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){We(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function We(e,t,n){var c;return c=function(e,t){if("object"!=Pe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=Pe(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Pe(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ae(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var De=(0,e.memo)((function(t){var n=t.device,c=t.deviceType,l=t.element,o=t.style,a=t.onChange,r=Ae((0,e.useState)("normal"),2),i=r[0],m=r[1],u=function(e){var t,n;return l?(null==o||null===(n=o[l])||void 0===n||null===(n=n[i])||void 0===n?void 0:n[e])||"":(null==o||null===(t=o[i])||void 0===t?void 0:t[e])||""},s=(0,e.useRef)();(0,e.useEffect)((function(){if(null!=s&&s.current){var e="bm-controls--hover",t=function(){document.body.classList.add(e)},n=function(){document.body.classList.remove(e)};return s.current.addEventListener("mouseenter",t),s.current.addEventListener("mouseleave",n),function(){s.current&&(s.current.removeEventListener("mouseenter",t),s.current.removeEventListener("mouseleave",n))}}}),[]);var w=function(e){return Me(u(e),n)},p=function(e,t){!function(e,t){var n;a(Ze(Ze({},o),{},l?We({},l,Ze(Ze({},null==o?void 0:o[l]),{},We({},i,Ze(Ze({},null==o||null===(n=o[l])||void 0===n?void 0:n[i]),{},We({},e,t))))):We({},i,Ze(Ze({},null==o?void 0:o[i]),{},We({},e,t)))))}(e,Se(u(e),t,n))};return wp.element.createElement("div",{ref:s,className:"bm-controls"},wp.element.createElement(Re,{value:i,onChange:function(e){return m(e)}}),wp.element.createElement(ve,{className:"bm-responsive--position bm-control-seperator",label:(0,He.__)("Layout","bm"),device:c}),wp.element.createElement(M,_e({},t,{value:w("display"),onChange:function(e){return p("display",e)}})),w("display")&&w("display").includes("f")?wp.element.createElement(ue,_e({},t,{value:w("flex"),onChange:function(e){return p("flex",e)}})):null,wp.element.createElement(G,_e({},t,{value:w("position"),onChange:function(e){return p("position",e)}})),wp.element.createElement(B,_e({},t,{value:w("sides"),onChange:function(e){return p("sides",e)}})),wp.element.createElement(T,_e({},t,{value:w("zIndex"),onChange:function(e){return p("zIndex",e)}})),wp.element.createElement(ve,{className:"bm-responsive--position bm-control-seperator",label:(0,He.__)("Box Model","bm"),device:c}),wp.element.createElement(W,_e({},t,{value:w("dimentions"),onChange:function(e){return p("dimentions",e)}})))}));(0,e.memo)((function(e){var n=e.id,c=e.title,l=void 0===c?"Style":c,o=e.initialOpen,a=void 0===o||o,r=e.style,i=e.onChange,m=e.selector,u=void 0===m?"":m,s=e.clientId,w=void 0===s?"":s,p=e.allowed,h=void 0===p?{}:p,f=(0,he.useSelect)((function(e){return e("core/editor").getDeviceType()})),v=f.toLowerCase();return wp.element.createElement(React.Fragment,null,wp.element.createElement(Ie,{style:r,selector:u||"#block-".concat(w)}),wp.element.createElement(Ge.InspectorControls,null,wp.element.createElement(t.PanelBody,{title:l,initialOpen:a},wp.element.createElement(De,{deviceType:f,device:v,id:n,clientId:w,selector:u||"#block-".concat(w),element:"",style:r,onChange:i,allowed:h}))))})),n(964),wp.compose,wp.hooks}()}(); -
blocks-monster/tags/1.8.3/includes/gutenberg/controls/class-css.php
r3223886 r3223892 121 121 case 'zIndex': 122 122 $properties .= $this->get_zindex_css( $value ); 123 break; 124 case 'dimentions': 125 $properties .= $this->get_dimentions_css( $value ); 123 126 break; 124 127 } … … 365 368 366 369 /** 370 * Get dimensions 371 * 372 * @param array $value 373 */ 374 public function get_dimentions_css( $value ) { 375 if ( ! $value ) { 376 return; 377 } 378 379 $filled = $this->get_device_values( $value, ',', 3 ); 380 $filled = explode( ',', $filled ); 381 382 $width = $filled[0] ?? ''; 383 $width_value = $this->get_value( $width ); 384 $width_unit = $this->get_unit( $width ); 385 $height = $filled[1] ?? ''; 386 $height_value = $this->get_value( $height ); 387 $height_unit = $this->get_unit( $height ); 388 389 $css = ''; 390 391 if ( $width_value ) { 392 $css .= 'width: ' . $width_value . $width_unit . ';'; 393 } 394 395 if ( $height_value ) { 396 $css .= 'height: ' . $height_value . $height_unit . ';'; 397 } 398 399 return $css; 400 } 401 402 /** 367 403 * Get value 368 404 * -
blocks-monster/tags/1.8.3/readme.txt
r3223886 r3223892 3 3 Tags: Blocks, Gutenberg, Gutenberg Blocks, Elementor, Elementor Blocks 4 4 Tested up to: 6.7.1 5 Stable tag: 1.8. 25 Stable tag: 1.8.3 6 6 Requires PHP: 5.6 7 7 Requires at least: 4.4 … … 39 39 40 40 == Changelog == 41 42 = 1.8.3 = 43 44 * Improvement: Added the dimentions (width, height) control support for the Section Gutenberg block. 41 45 42 46 = 1.8.2 = -
blocks-monster/trunk/blocks-monster.php
r3223886 r3223892 10 10 * @wordpress-plugin 11 11 * Plugin Name: Blocks Monster 12 * Version: 1.8. 212 * Version: 1.8.3 13 13 * Plugin URI: https://blocks.monster/blocks-monster 14 14 * Description: The library of all the blocks for the Elementor blocks. … … 35 35 * @var string 36 36 */ 37 public $version = '1.8. 2';37 public $version = '1.8.3'; 38 38 39 39 /** -
blocks-monster/trunk/includes/gutenberg/blocks/section/js/index.js
r3223886 r3223892 1 !function(){"use strict";var e={ 852:function(e,t,n){n.d(t,{aE:function(){return ve},$n:function(){return ie},H2:function(){return Ae},nl:function(){return O},so:function(){return oe},Tj:function(){return Ue},JU:function(){return de},AM:function(){return re},yX:function(){return I},Yn:function(){return Ee},Ft:function(){return se},fI:function(){return ge},Hw:function(){return L},Uw:function(){return be},Py:function(){return z},om:function(){return je},ZX:function(){return Re},Mi:function(){return N},x7:function(){return ye},De:function(){return ce},z:function(){return Ce},eT:function(){return xe},ph:function(){return B},gB:function(){return P},wR:function(){return G},Xc:function(){return ke}});var c=wp.element,l=wp.components,o=function(){return wp.element.createElement(l.SVG,{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.25",y:"0.75",width:"11.5",height:"0.5",rx:"0.25",stroke:"currentColor",strokeWidth:"0.5"}))},a=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}))},r=function(){return wp.element.createElement(l.SVG,{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(l.Path,{d:"M2 3C2 2.44772 2.44772 2 3 2H8C8.55228 2 9 2.44772 9 3V8C9 8.55228 8.55228 9 8 9H3C2.44772 9 2 8.55228 2 8V3Z"}),wp.element.createElement(l.Path,{d:"M2 2H9H2ZM9 9H2H9ZM3 9C2.28203 9 1.7 8.41797 1.7 7.7V3.3C1.7 2.58203 2.28203 2 3 2H3C2.6134 2 2.3 2.44772 2.3 3V8C2.3 8.55228 2.6134 9 3 9H3ZM8 2C8.71797 2 9.3 2.58203 9.3 3.3V7.7C9.3 8.41797 8.71797 9 8 9H8C8.3866 9 8.7 8.55228 8.7 8V3C8.7 2.44772 8.3866 2 8 2H8Z",fill:"currentColor"}))},i=function(){return wp.element.createElement(l.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(l.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(l.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}))},m=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(l.Rect,{x:"2.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"5.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"8.75",y:"2.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"8.75",y:"4.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"2.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"5.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(l.Rect,{x:"2.75",y:"6.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}))},u=function(){return wp.element.createElement(l.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(l.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(l.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}),wp.element.createElement(l.Rect,{x:"3.15",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"5.29282",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"7.43577",y:"3.65",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"7.43577",y:"4.84995",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"3.15",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"5.29282",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(l.Rect,{x:"3.15",y:"6.05002",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}))},s=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"}))},w=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"}))},p=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}))},f=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(l.Path,{d:"M5 13C5 16.866 8.13401 20 12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6H7M7 6L10 3M7 6L10 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},h=function(){return wp.element.createElement(l.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1.2505 3.89576C0.748063 2.55595 2.05645 1.24758 3.39625 1.75001L17.6801 7.10645C19.2686 7.70213 19.0552 10.0135 17.3846 10.3083L10.9452 11.4447L9.80882 17.8841C9.51399 19.5548 7.20261 19.7681 6.60694 18.1796L1.2505 3.89576ZM2.81105 3.31056L8.16749 17.5944L9.30382 11.155C9.42557 10.4652 9.96565 9.92508 10.6555 9.80333L17.0949 8.667L2.81105 3.31056Z",fill:"currentColor"}))},v=function(){return wp.element.createElement(l.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Path,{d:"M16.8892 10.2777C15.8892 9.22216 14.5559 8.49994 13.167 8.22216C12.5559 8.0555 11.9448 7.94439 11.3336 7.88883C12.8892 6.0555 12.6114 3.27772 10.7781 1.72216C8.94475 0.166608 6.16698 0.444386 4.61142 2.27772C3.05587 4.11105 3.33364 6.88883 5.16698 8.44439C5.50031 8.72216 5.83364 8.94438 6.16698 9.0555V10.2777L5.27809 9.44439C4.50031 8.66661 3.22253 8.66661 2.3892 9.44439C1.61142 10.2222 1.55586 11.4444 2.33364 12.2222L4.8892 15.2222C5.00031 15.9999 5.27809 16.7222 5.66698 17.3888C5.94475 17.8888 6.33364 18.3888 6.72253 18.7777V19.8333C6.72253 20.1666 6.94475 20.3888 7.27809 20.3888H14.8336C15.1114 20.3888 15.3892 20.111 15.3892 19.8333V18.3888C16.4448 17.1111 17.0003 15.4999 17.0003 13.8888V10.6666C17.0559 10.4444 17.0003 10.3333 16.8892 10.2777ZM4.66698 5.0555C4.66698 3.22216 6.16698 1.77772 8.00031 1.83327C9.83364 1.83327 11.2781 3.33327 11.2225 5.16661C11.2225 6.16661 10.7781 7.0555 10.0003 7.66661V4.88883C9.94475 3.88883 9.11142 3.11105 8.11142 3.11105C7.11142 3.0555 6.22253 3.88883 6.22253 4.88883V7.77772C5.27809 7.22216 4.72253 6.16661 4.66698 5.0555ZM15.9448 13.8333C16.0003 15.2777 15.5003 16.6666 14.5559 17.7777C14.4448 17.8888 14.3336 17.9999 14.3336 18.1666V19.3333H7.8892V18.5555C7.8892 18.3888 7.77809 18.2222 7.66698 18.1111C7.27809 17.7777 6.94475 17.3888 6.66698 16.8888C6.33364 16.3333 6.11142 15.6666 6.00031 14.9999C6.00031 14.8888 5.94475 14.7777 5.8892 14.6666L3.22253 11.4999C3.05587 11.3333 2.94475 11.1111 2.94475 10.8333C2.94475 10.6111 3.05587 10.3333 3.22253 10.1666C3.61142 9.83327 4.16698 9.83327 4.55587 10.1666L6.16698 11.7777V13.4444L7.22253 12.8888V4.88883C7.27809 4.49994 7.61142 4.16661 8.05587 4.22216C8.44475 4.22216 8.83364 4.49994 8.83364 4.88883V11.2777L9.94475 11.4999V8.94438C10.0003 8.88883 10.0559 8.88883 10.1114 8.83327C10.5003 8.83327 10.8892 8.88883 11.2781 8.94438V11.7777L12.167 11.9444V9.0555L12.8336 9.22216C13.1114 9.27772 13.3892 9.38883 13.667 9.49994V12.2777L14.5559 12.4444V9.88883C15.0559 10.1111 15.5003 10.4444 15.8892 10.8333L15.9448 13.8333Z",fill:"currentColor"}))},d=function(){return wp.element.createElement(l.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(l.Path,{d:"M7.50033 3.4165V2.1665M4.21754 4.71705L3.33366 3.83317M4.21754 11.3332L3.33366 12.2171M10.8337 4.71705L11.7176 3.83317M2.91699 7.99984H1.66699M13.2207 13.9912L11.1442 17.8473C10.9071 18.2879 10.7884 18.5082 10.6457 18.5639C10.5219 18.6123 10.3824 18.5986 10.2703 18.5272C10.1411 18.4448 10.0675 18.2058 9.92016 17.7276L7.03798 8.37088C6.91766 7.98026 6.85749 7.78495 6.9059 7.65303C6.94807 7.53813 7.03862 7.44758 7.15352 7.40542C7.28543 7.35701 7.48074 7.41717 7.87137 7.5375L17.228 10.4197C17.7062 10.567 17.9452 10.6407 18.0276 10.7698C18.0991 10.882 18.1127 11.0214 18.0643 11.1453C18.0087 11.288 17.7883 11.4066 17.3478 11.6438L13.4917 13.7203C13.4262 13.7555 13.3934 13.7731 13.3648 13.7958C13.3393 13.8158 13.3163 13.8388 13.2962 13.8643C13.2736 13.8929 13.256 13.9257 13.2207 13.9912Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(l.Path,{d:"M13.01 2.92007L18.91 5.54007C20.61 6.29007 20.61 7.53007 18.91 8.28007L13.01 10.9001C12.34 11.2001 11.24 11.2001 10.57 10.9001L4.67 8.28007C2.97 7.53007 2.97 6.29007 4.67 5.54007L10.57 2.92007C11.24 2.62007 12.34 2.62007 13.01 2.92007Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(l.Path,{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(l.Path,{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}))},E=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M9 7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM8 7v10H7V7zm2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},b=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M7 6a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zm0 1h10v1H7zm1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m9 0a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},y=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M18 7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zm-1 0v10h-1V7zM8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm-5 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},C=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m-8 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zM7 15a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm0 1h10v1H7z",clipRule:"evenodd"}))},x=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Path,{d:"M0 4V0H4M8 0H12V4M12 8V12H8M4 12H0V8",stroke:"black",strokeWidth:"2"}))},k=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}))},j=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}),wp.element.createElement(l.Rect,{x:"2",y:"2",width:"4",height:"4",fill:"black"}))},R=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(l.Rect,{x:"3.5",y:"3.5",width:"5",height:"5",stroke:"black",strokeLinecap:"square"}))},V=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(l.Line,{x1:"2",y1:"4",x2:"10",y2:"4",stroke:"black",strokeWidth:"2"}))},S={n:"none",b:"block",i:"inline",ib:"inline-block",f:"flex",if:"inline-flex"},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=S&&S[e]?"display: ".concat(null==S?void 0:S[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},O=(0,c.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,s=function(e){n(e)},w=t;return wp.element.createElement("div",{className:"bm-display-control"},wp.element.createElement(de,{name:"Display",onReset:function(){n(l)}}),wp.element.createElement("div",{className:"bm-display-control__group"},wp.element.createElement(ie,{label:"None",showTooltip:!0,className:"".concat("n"===w?"is-active":""),onClick:function(){return s("n")}},wp.element.createElement(o,null)),wp.element.createElement(ie,{label:"Block",showTooltip:!0,className:"".concat("b"===w?"is-active":""),onClick:function(){return s("b")}},wp.element.createElement(a,null)),wp.element.createElement(ie,{label:"Inline",showTooltip:!0,className:"".concat("i"===w?"is-active":""),onClick:function(){return s("i")}},wp.element.createElement(r,null)),wp.element.createElement(ie,{label:"Inline Block",showTooltip:!0,className:"".concat("ib"===w?"is-active":""),onClick:function(){return s("ib")}},wp.element.createElement(i,null)),wp.element.createElement(ie,{label:"Flex",showTooltip:!0,className:"".concat("f"===w?"is-active":""),onClick:function(){return s("f")}},wp.element.createElement(m,null)),wp.element.createElement(ie,{label:"Inline Flex",showTooltip:!0,className:"".concat("if"===w?"is-active":""),onClick:function(){return s("if")}},wp.element.createElement(u,null))))})),P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(M(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(M(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(M(n[2])," } }"):""].filter(Boolean).join("\n")},M=function(e){var t,n,c,l;if(!e)return"";var o=Re(e,",",4),a=(null===(t=o=o.split(","))||void 0===t?void 0:t[0])||"",r=xe(a,""),i=Ce(a,"px"),m=(null===(n=o)||void 0===n?void 0:n[1])||"",u=xe(m,""),s=Ce(m,"px"),w=(null===(c=o)||void 0===c?void 0:c[2])||"",p=xe(w,""),f=Ce(w,"px"),h=(null===(l=o)||void 0===l?void 0:l[3])||"",v=xe(h,""),d=Ce(h,"px"),g=[];return g.push("top: ".concat(r).concat(i,";")),g.push("right: ".concat(u).concat(s,";")),g.push("bottom: ".concat(p).concat(f,";")),g.push("left: ".concat(v).concat(d,";")),g.join("")},L=function(e){var t,n,c,l,o=e.value,a=e.onChange,r=e.reset,i=void 0===r?"":r,m=Re(o,",",4),u=(null===(t=m=m.split(","))||void 0===t?void 0:t[0])||"",s=xe(u,""),w=Ce(u,"px"),p=(null===(n=m)||void 0===n?void 0:n[1])||"",f=xe(p,""),h=Ce(p,"px"),v=(null===(c=m)||void 0===c?void 0:c[2])||"",d=xe(v,""),g=Ce(v,"px"),x=(null===(l=m)||void 0===l?void 0:l[3])||"",k=xe(x,""),j=Ce(x,"px"),R=function(e){a(e)};return wp.element.createElement("div",{className:"bm-sides-control"},wp.element.createElement(de,{name:"Sides",onReset:function(){a(i)}}),wp.element.createElement("div",{className:"bm-position-control__sides"},wp.element.createElement(ve,{min:-9999,value:k,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(f).concat(h,",").concat(d).concat(g,",").concat(e).concat(j))},icon:wp.element.createElement(E,null),unit:j,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(h,",").concat(d).concat(g,",").concat(k).concat(e))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(ve,{min:-9999,value:s,placeholder:"auto",onChange:function(e){R("".concat(e).concat(w,",").concat(f).concat(h,",").concat(d).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(b,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(e,",").concat(f).concat(h,",").concat(d).concat(g,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(ve,{min:-9999,value:f,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(e).concat(h,",").concat(d).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(y,null),unit:h,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(e,",").concat(d).concat(g,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(ve,{min:-9999,value:d,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(f).concat(h,",").concat(e).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(C,null),unit:g,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(h,",").concat(d).concat(e,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}})))},H={s:"static",r:"relative",a:"absolute",f:"fixed",st:"sticky"},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=H&&H[e]?"position: ".concat(null==H?void 0:H[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},I=(0,c.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=function(e){n(e)},a=t;return wp.element.createElement("div",{className:"bm-position-control"},wp.element.createElement(de,{name:"Position",onReset:function(){n(l)}}),wp.element.createElement(ge,{className:"bm-position-control__group"},wp.element.createElement(ie,{label:"Static",showTooltip:!0,className:"".concat("s"===a?"is-active":""),onClick:function(){return o("s")}},wp.element.createElement(x,null)),wp.element.createElement(ie,{label:"Relative",showTooltip:!0,className:"".concat("r"===a?"is-active":""),onClick:function(){return o("r")}},wp.element.createElement(k,null)),wp.element.createElement(ie,{label:"Absolute",showTooltip:!0,className:"".concat("a"===a?"is-active":""),onClick:function(){return o("a")}},wp.element.createElement(j,null)),wp.element.createElement(ie,{label:"Fixed",showTooltip:!0,className:"".concat("f"===a?"is-active":""),onClick:function(){return o("f")}},wp.element.createElement(R,null)),wp.element.createElement(ie,{label:"Sticky",showTooltip:!0,className:"".concat("st"===a?"is-active":""),onClick:function(){return o("st")}},wp.element.createElement(V,null))))})),G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(e){return e?"z-index: ".concat(e,";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},z=function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=t,a=function(e){n(Number(e))};return wp.element.createElement("div",{className:"bm-z-index-control"},wp.element.createElement(de,{name:"Z Index",onReset:function(){n(l)}}),wp.element.createElement(ve,{value:o,placeholder:"0",onChange:function(e){a(e)},icon:wp.element.createElement(g,null)}))},_=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"11",viewBox:"0 0 8 11"},wp.element.createElement(l.Path,{fillRule:"evenodd",stroke:"none",d:"M4 10.207.646 6.854l.708-.708L3.5 8.293V0h1v8.293l2.146-2.147.708.708z"}))},A=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"7",viewBox:"0 0 11 7"},wp.element.createElement(l.Path,{fillRule:"evenodd",stroke:"none",d:"M10.707 3.5 7.354.146l-.708.708L8.793 3H.5v1h8.293L6.646 6.146l.708.708z"}))},Z=function(){return wp.element.createElement(l.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},wp.element.createElement(l.Path,{fillRule:"evenodd",stroke:"none",d:"M8 3h2c1.933 0 3.5 1.567 3.5 3.5 0 1.933-1.567 3.5-3.5 3.5H4.707l2.147 2.146-.708.708-3-3-.353-.354.353-.354 3-3 .708.708L4.707 9H10c1.38 0 2.5-1.12 2.5-2.5C12.5 5.12 11.38 4 10 4H8z"}))},D=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M15 14.75c0 .138.112.25.25.25h.25a.5.5 0 0 1 0 1h-.25c-.69 0-1.25-.56-1.25-1.25v-6.5c0-.69.56-1.25 1.25-1.25h.25a.5.5 0 0 1 0 1h-.25a.25.25 0 0 0-.25.25zm-8 .75a.5.5 0 0 1 .5-.5h.25a.25.25 0 0 0 .25-.25v-6.5A.25.25 0 0 0 7.75 8H7.5a.5.5 0 0 1 0-1h.25C8.44 7 9 7.56 9 8.25v6.5C9 15.44 8.44 16 7.75 16H7.5a.5.5 0 0 1-.5-.5m4-2a.5.5 0 1 0 1 0v-4a.5.5 0 0 0-1 0z",clipRule:"evenodd"}))},T=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M7.5 7a.5.5 0 0 1 .5.5v.25c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V7.5a.5.5 0 0 1 1 0v.25C16 8.44 15.44 9 14.75 9h-6.5C7.56 9 7 8.44 7 7.75V7.5a.5.5 0 0 1 .5-.5m.75 8a.25.25 0 0 0-.25.25v.25a.5.5 0 0 1-1 0v-.25c0-.69.56-1.25 1.25-1.25h6.5c.69 0 1.25.56 1.25 1.25v.25a.5.5 0 0 1-1 0v-.25a.25.25 0 0 0-.25-.25zm1.25-4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},W=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"5",y:"5",width:"7",height:"2"}),wp.element.createElement(l.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(l.Rect,{x:"5",y:"13",width:"5",height:"2"}))},F=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"6.5",y:"5",width:"7",height:"2"}),wp.element.createElement(l.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(l.Rect,{x:"7.5",y:"13",width:"5",height:"2"}))},U=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"8",y:"5",width:"7",height:"2"}),wp.element.createElement(l.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(l.Rect,{x:"10",y:"13",width:"5",height:"2"}))},$=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"5",y:"13.5",width:"7",height:"2",transform:"rotate(-90 5 13.5)"}),wp.element.createElement(l.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(l.Rect,{x:"13",y:"12.5",width:"5",height:"2",transform:"rotate(-90 13 12.5)"}))},q=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"5",y:"15",width:"7",height:"2",transform:"rotate(-90 5 15)"}),wp.element.createElement(l.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(l.Rect,{x:"13",y:"15",width:"5",height:"2",transform:"rotate(-90 13 15)"}))},X=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{width:"7",height:"2",transform:"matrix(0 1 1 0 5 5)"}),wp.element.createElement(l.Rect,{width:"10",height:"2",transform:"matrix(0 1 1 0 9 5)"}),wp.element.createElement(l.Rect,{width:"5",height:"2",transform:"matrix(0 1 1 0 13 5)"}))},K=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},Y=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 7 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 11 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},J=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 15)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(l.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},Q=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"5",y:"9",width:"10",height:"2"}))},ee=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"7.5",y:"9",width:"5",height:"2"}))},te=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}))},ne=function(){return wp.element.createElement(l.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Rect,{x:"9",y:"12.5",width:"5",height:"2",transform:"rotate(-90 9 12.5)"}))},ce=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(le(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(le(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(le(n[2])," } }"):""].filter(Boolean).join("\n")},le=function(e){var t,n,c,l,o,a,r;if(!e)return"";var i=Re(e,",",7),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";switch(e){case"c":return"column";case"r":return"row";case"cr":return"column-reverse";case"rr":return"row-reverse"}return t}(null===(t=i=i.split(","))||void 0===t?void 0:t[0]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"w":return"wrap";case"n":return"nowrap";case"rw":return"wrap-reverse"}return t}(null===(n=i)||void 0===n?void 0:n[1]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"b":return"baseline"}return t}(null===(c=i)||void 0===c?void 0:c[2]),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(l=i)||void 0===l?void 0:l[3]),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(o=i)||void 0===o?void 0:o[4]),f=(null===(a=i)||void 0===a?void 0:a[5])||"",h=xe(f,""),v=Ce(f,"px"),d=(null===(r=i)||void 0===r?void 0:r[6])||"",g=xe(d,""),E=Ce(d,"px"),b=[];return m&&b.push("flex-direction: ".concat(m,";")),u&&b.push("flex-wrap: ".concat(u,";")),s&&b.push("align-items: ".concat(s,";")),w&&b.push("align-content: ".concat(w,";")),p&&b.push("justify-content: ".concat(p,";")),h&&b.push("row-gap: ".concat(h).concat(v,";")),g&&b.push("column-gap: ".concat(g).concat(E,";")),b.join("")},oe=function(e){var t,n,c,l,o,a,r,i=e.value,m=e.onChange,u=e.reset,s=void 0===u?"":u,w=Re(i,",",7),p=(null===(t=w=w.split(","))||void 0===t?void 0:t[0])||"c",f=(null===(n=w)||void 0===n?void 0:n[1])||"",h=(null===(c=w)||void 0===c?void 0:c[2])||"",v=(null===(l=w)||void 0===l?void 0:l[3])||"",d=(null===(o=w)||void 0===o?void 0:o[4])||"",g=(null===(a=w)||void 0===a?void 0:a[5])||"",E=xe(g,""),b=Ce(g,"px"),y=(null===(r=w)||void 0===r?void 0:r[6])||"",C=xe(y,""),x=Ce(y,"px"),k=function(e){m(e)},j=function(e){return(null==e?void 0:e.flexDirection)===p&&(null==e?void 0:e.flexWrap)===f&&(null==e?void 0:e.alignItems)===h&&(null==e?void 0:e.alignContent)===v&&(null==e?void 0:e.justifyContent)===d};return wp.element.createElement("div",{className:"bm-flex-control"},wp.element.createElement(de,{name:"Flex Box",onReset:function(){m(s)}}),wp.element.createElement("div",{className:"bm-flex-control__display"},wp.element.createElement(ie,{className:"".concat("c"===p?"is-active":""),onClick:function(){k("c,".concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(_,null)),wp.element.createElement(ie,{className:"".concat("r"===p&&"w"!==f?"is-active":""),onClick:function(){k("r,,".concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(A,null)),wp.element.createElement(ie,{className:"".concat("w"===f?"is-active":""),onClick:function(){k("r,w,".concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Z,null))),wp.element.createElement("div",{className:"bm-flex-control__align-box"},wp.element.createElement("div",{className:"bm-flex-control__align-left"},"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(X,null)):wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(W,null))),"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(X,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fs,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(X,null)):wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(U,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-center"},"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"c",alignContent:"fs"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement($,null))):wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(e){k("".concat(p,",").concat(f,",fs,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(W,null))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null)):wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement($,null))):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ee,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement($,null))):wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(U,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-right"},"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fe,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(q,null)):wp.element.createElement(ie,{className:j({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(W,null))),"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,c,fe,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(q,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(ie,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null)):wp.element.createElement(ie,{className:j({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(ie,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,fe,fe,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(q,null)):wp.element.createElement(ie,{className:j({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(v,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(U,null))))),wp.element.createElement("div",{className:"bm-flex-control__gap"},wp.element.createElement(ve,{value:E,onChange:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(e).concat(b,",").concat("w"!==f?e:C).concat(x))},icon:wp.element.createElement(D,null),unit:b,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(E).concat(e,",").concat(C).concat("w"!==f?e:x))}}),"w"===f&&wp.element.createElement(ve,{placeholder:E,value:C,onChange:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(e).concat(x))},icon:wp.element.createElement(T,null),unit:x,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(v,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(e))}})))};function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},ae.apply(this,arguments)}var re=function(e){var t=(0,c.useRef)();return(0,c.useEffect)((function(){var n=function(n){t.current&&!t.current.contains(n.target)&&e.onClose()};return function(){return document.removeEventListener("mousedown",n)}}),[t]),wp.element.createElement(l.Popover,ae({},e,{ref:t,className:"bm-popover"}),wp.element.createElement("div",{ref:t},e.children))},ie=function(e){var t=e.style,n=void 0===t?{}:t,c=e.icon,o=void 0===c?null:c,a=e.label,r=void 0===a?"":a,i=e.showTooltip,m=void 0!==i&&i,u=e.onClick,s=e.className,w=e.children;return wp.element.createElement(l.Button,{style:n,icon:o,label:r,showTooltip:m,className:"bm-button-control ".concat(s),onClick:u},w)},me=wp.data,ue=function(){return wp.element.createElement(l.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(l.Path,{fillRule:"evenodd",d:"M11.5 6a.5.5 0 0 1 .5.5V11h4.5a.5.5 0 0 1 0 1H12v4.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H11V6.5a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}))},se=function(e){var t=e.className,n=e.label,c=e.device,l=e.onAddNew,o=e.onReset,a=void 0!==o&&o;return wp.element.createElement("div",{className:"bm-responsive ".concat(t)},n&&wp.element.createElement("label",null,n),!1===a?null:wp.element.createElement(Ee,{onReset:a}),wp.element.createElement("div",{className:"bm-responsive__buttons"},["Desktop","Tablet","Mobile"].map((function(e,t){return wp.element.createElement(ie,{label:e,showTooltip:!0,key:t,className:"bm-responsive__button ".concat(c.toLowerCase()===e.toLowerCase()?"is-active":""),onClick:function(){return t=e,void(0,me.dispatch)("core/editor").setDeviceType(t);var t}},"Desktop"===e?wp.element.createElement(s,null):"Tablet"===e?wp.element.createElement(w,null):wp.element.createElement(p,null))}))),l&&wp.element.createElement(ie,{label:"Add new",showTooltip:!0,className:"bm-responsive__add-new",onClick:l},wp.element.createElement(ue,null)))};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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var fe=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.80109 2.07902 5.61032 2.21967 5.46967C2.36032 5.32902 2.55109 5.25 2.75 5.25H9.25C9.44891 5.25 9.63968 5.32902 9.78033 5.46967C9.92098 5.61032 10 5.80109 10 6C10 6.19891 9.92098 6.38968 9.78033 6.53033C9.63968 6.67098 9.44891 6.75 9.25 6.75H2.75C2.55109 6.75 2.36032 6.67098 2.21967 6.53033C2.07902 6.38968 2 6.19891 2 6Z",fill:"currentColor"}))},he=function(){return wp.element.createElement(l.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 9.25a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5Z",fill:"currentColor"}))},ve=function(e){var t,n,l=e.canDrag,o=void 0===l||l,a=e.className,r=void 0===a?"":a,i=e.step,m=void 0===i?1:i,u=e.withIncrementors,s=void 0!==u&&u,w=e.placeholder,p=void 0===w?0:w,h=e.min,v=void 0===h?0:h,d=e.max,g=e.direction,E=e.value,b=e.onChange,y=e.onChangeUnit,C=e.icon,x=e.unit,k=e.units,j=e.suggests,R=void 0===j?{}:j,V=we((0,c.useState)(!1),2),S=V[0],N=(V[1],we((0,c.useState)(!1),2)),O=N[0],P=N[1],M=we((0,c.useState)(!1),2),L=M[0],H=M[1],B=we((0,c.useState)(!1),2),I=B[0],G=B[1],z=E&&"string"==typeof E&&E.startsWith("g:"),_="",A="",Z="";z&&(_=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e?void 0:e.name)||""):""}(A=E.replace("g:","")),Z=(null===(n=ctcGbGlobalStyles)||void 0===n||null===(n=n.collections)||void 0===n||null===(n=n.modes)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.id)||"");var D=function(e){return!e||("string"==typeof e&&(e=e.trim()),!!e&&e.toString().match(/^[0-9]+$/))},T=function(e){if(o){P(!0);var t=E||0,n="vertical"===g?e.clientY:e.clientX,c=function(e){if(D(t)){var c="vertical"===g?e.clientY:e.clientX,l=t+(c-n);"vertical"===g&&(l=t-(c-n)),W(l)}};document.addEventListener("mousemove",c),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",e),P(!1)}))}},W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e||(e=0),D(e)&&(t&&n&&("increase"===n&&(e=parseInt(e)+t),"decrease"===n&&(e=parseInt(e)-t)),(e=parseInt(e))<=v&&(e=v),e>=d&&(e=d)),b(e)},F=E?8*E.toString().length:8,U=we((0,c.useState)(!1),2),$=U[0],q=U[1],X=we((0,c.useState)(!1),2),K=X[0],Y=X[1],J=k&&k.length>1;return wp.element.createElement("div",{className:"bm-base-input ".concat(r," ").concat(S?"is-hovered":""," ").concat(O?"is-dragging":""," ").concat(L?"is-focused":""," ").concat("vertical"===g?"is-vertical":""," ").concat(s?"with-incrementors":""," ").concat(o?"bm-can-drag":"")},C&&wp.element.createElement("div",{className:"bm-base-input__icon",onMouseDown:function(e){z||T(e)},onMouseUp:function(){z||P(!1)}},C),s&&!z?wp.element.createElement(ie,{className:"bm-base-input__decrement",onClick:function(){var e=E?parseInt(E):0;W(e-m)}},wp.element.createElement(fe,null)):null,z?wp.element.createElement("span",{className:"bm-global"},_,wp.element.createElement(ie,{onClick:function(){W(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e||null===(e=e.values)||void 0===e?void 0:e[c])||""):""}(A))}},wp.element.createElement(f,null))):wp.element.createElement(React.Fragment,null,wp.element.createElement("input",{style:{width:F},placeholder:p,autoComplete:"false",spellCheck:"false",dir:"auto",value:E,onChange:function(e){W(e.target.value)},onClick:function(){H(!0)},onFocus:function(){H(!0)},onBlur:function(){return H(!1)},onMouseDown:T,onMouseUp:function(){return P(!1)},onKeyDown:function(e){"ArrowUp"===e.key?W(E,e.shiftKey?10:1,"increase"):"ArrowDown"===e.key&&W(E,e.shiftKey?10:1,"decrease")}}),Object.keys(R).length>1&&!0===I&&wp.element.createElement(re,{position:"bottom right",className:"bm-suggest-popover",onClose:function(){return G(!1)}},wp.element.createElement("div",{className:"bm-suggest-popover__content"},wp.element.createElement("ul",null,Object.keys(R).map((function(e){var t,n=(null===(t=R[e])||void 0===t?void 0:t.value)||"";return wp.element.createElement("li",{key:e},wp.element.createElement(ie,{onClick:function(){W(n),G(!1)}},e))}))))),x&&wp.element.createElement("span",{className:"bm-base-input__unit",onClick:function(){J&&Y(!K)}},x,J&&K&&wp.element.createElement(re,{position:"bottom right",className:"bm-unit-popover",onClose:function(){return Y(!1)}},wp.element.createElement("div",{className:"bm-unit-popover__content"},wp.element.createElement("ul",null,k.map((function(e){return wp.element.createElement("li",{key:e},wp.element.createElement(ie,{onClick:function(){y(e)}},e))})))))),$&&wp.element.createElement(re,{position:"bottom right",className:"bm-global-popover"},wp.element.createElement("div",{className:"bm-global-popover__content",style:{width:"200px"}},wp.element.createElement("h3",null,"Global Variables"),wp.element.createElement("ul",null,null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.variables)||void 0===t?void 0:t.map((function(e){var t=e.id,n=e.type,c=e.name,l=e.values,o=(null==l?void 0:l[Z])||"";return wp.element.createElement("li",{key:t},wp.element.createElement(ie,{onClick:function(){b("g:".concat(t)),q(!1)}},wp.element.createElement("span",{style:{height:20,width:20,background:"color"===n?o:"transparent"}},"A"),c))})))))),s&&!z?wp.element.createElement(ie,{className:"bm-base-input__increment",onClick:function(){var e=E?parseInt(E):0;W(e+m)}},wp.element.createElement(he,null)):null)},de=function(e){var t=e.name,n=void 0===t?"":t,c=e.onReset,l=void 0!==c&&c;if(n)return wp.element.createElement("div",{className:"bm-control-label"},n,!1===l?null:wp.element.createElement(Ee,{onReset:l}))},ge=function(e){var t=e.children,n=e.label,c=void 0===n?"":n,l=e.className,o=void 0===l?"":l;return wp.element.createElement("div",{className:"bm-row ".concat(o)},c&&wp.element.createElement("div",{className:"bm-row__label"},c),t)},Ee=function(e){var t=e.onReset;return wp.element.createElement(ie,{label:"Reset",showTooltip:!0,className:"bm-reset",onClick:t},wp.element.createElement(f,null))},be=function(e){var t=e.label,n=void 0===t?"":t,c=e.value,l=void 0===c?"normal":c,o=e.onChange;return wp.element.createElement("div",{className:"bm-state-control"},wp.element.createElement(de,{name:n}),wp.element.createElement(ge,null,["normal","hover","active"].map((function(e){return wp.element.createElement(ie,{key:e,className:"".concat(l===e?"is-active":""),onClick:function(){o(e)}},"normal"===e&&wp.element.createElement(h,null),"hover"===e&&wp.element.createElement(v,null),"active"===e&&wp.element.createElement(d,null),wp.element.createElement("span",{className:"bm-state-control__label"},e))}))))},ye=function(){var e,t=document.querySelector('iframe[name="editor-canvas"]');return t?null==t||null===(e=t.contentWindow)||void 0===e?void 0:e.document:document},Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";if(!e)return t;var n=null==e?void 0:e.match(/[^0-9]/g);return n?null==n?void 0:n.join(""):t},xe=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return n;var c=(null==e||null===(t=e.match(/[0-9]+/g))||void 0===t?void 0:t[0])||n;return c?Number(c):n},ke=function(e,t,n){var c=(e=Re(e)).split(";");"desktop"===n&&(c[0]=t),"tablet"===n&&(c[1]=t),"mobile"===n&&(c[2]=t);var l=c.join(";");return";;"===l?"":l},je=function(e,t){var n=(e=Re(e)).split(";");return"tablet"===t?(null==n?void 0:n[1])||"":"mobile"===t?(null==n?void 0:n[2])||"":(null==n?void 0:n[0])||""},Re=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,c=e?e.split(t):[];c.length<n;)c.push("");return c.slice(0,n).join(t)},Ve=n(470);wp.isShallowEqual;function Se(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ne(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Oe=function(e){var t=e.parent,n=e.id,l=e.style,o=e.selector,a=Se((0,c.useState)(l),2),r=(a[0],a[1]),i=function(){return"style-"+(n=(n=(n=(n=(n=n||o).replace(/\s+/g,"-")).replace(/[^a-zA-Z0-9-]/g,"")).replaceAll("#","")).replaceAll("wp-block-",""))},m=ye(),u=function(){var e=i();if(!m.getElementById(e)){var t=m.createElement("style");return t.id=e,m.head.appendChild(t),t}};(0,c.useEffect)((function(){u()}),[]),(0,c.useEffect)((function(){r(l)}),[l]),(0,c.useEffect)((function(){var e=m.getElementById(i());e||(e=u());var n="";n+=function(e,t,n){var c,l,o,a,r,i,m,u,s,w,p,f,h,v,d,g="",E=n,b="".concat(n,":hover"),y="".concat(n,":focus");return e&&(b=(b=n.replace(":hover","")).replace("#block-".concat(e," >"),"#block-".concat(e,":hover >")),y=(y=n.replace(":focus","")).replace("#block-".concat(e," >"),"#block-".concat(e,":focus >"))),g+=N(null==t||null===(c=t.normal)||void 0===c?void 0:c.display,E),g+=N(null==t||null===(l=t.hover)||void 0===l?void 0:l.display,b),g+=N(null==t||null===(o=t.focus)||void 0===o?void 0:o.display,y),g+=P(null==t||null===(a=t.normal)||void 0===a?void 0:a.sides,E),g+=P(null==t||null===(r=t.hover)||void 0===r?void 0:r.sides,b),g+=P(null==t||null===(i=t.focus)||void 0===i?void 0:i.sides,y),g+=B(null==t||null===(m=t.normal)||void 0===m?void 0:m.position,E),g+=B(null==t||null===(u=t.hover)||void 0===u?void 0:u.position,b),g+=B(null==t||null===(s=t.focus)||void 0===s?void 0:s.position,y),g+=G(null==t||null===(w=t.normal)||void 0===w?void 0:w.zIndex,E),g+=G(null==t||null===(p=t.hover)||void 0===p?void 0:p.zIndex,b),g+=G(null==t||null===(f=t.focus)||void 0===f?void 0:f.zIndex,y),g+=ce(null==t||null===(h=t.normal)||void 0===h?void 0:h.flex,E),g+=ce(null==t||null===(v=t.hover)||void 0===v?void 0:v.flex,b),g+ce(null==t||null===(d=t.focus)||void 0===d?void 0:d.flex,y)}(t,l,o),e.innerHTML=n}),[l])},Pe=n(838);function Me(e){return Me="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},Me(e)}function Le(){return Le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},Le.apply(this,arguments)}function He(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(Object(n),!0).forEach((function(t){Ie(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ie(e,t,n){var c;return c=function(e,t){if("object"!=Me(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=Me(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Me(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var _e=(0,c.memo)((function(e){var t=e.device,n=e.deviceType,l=e.element,o=e.style,a=e.onChange,r=Ge((0,c.useState)("normal"),2),i=r[0],m=r[1],u=function(e){var t,n;return l?(null==o||null===(n=o[l])||void 0===n||null===(n=n[i])||void 0===n?void 0:n[e])||"":(null==o||null===(t=o[i])||void 0===t?void 0:t[e])||""},s=(0,c.useRef)();(0,c.useEffect)((function(){if(null!=s&&s.current){var e="bm-controls--hover",t=function(){document.body.classList.add(e)},n=function(){document.body.classList.remove(e)};return s.current.addEventListener("mouseenter",t),s.current.addEventListener("mouseleave",n),function(){s.current&&(s.current.removeEventListener("mouseenter",t),s.current.removeEventListener("mouseleave",n))}}}),[]);var w=function(e){return je(u(e),t)},p=function(e,n){!function(e,t){var n;a(Be(Be({},o),{},l?Ie({},l,Be(Be({},null==o?void 0:o[l]),{},Ie({},i,Be(Be({},null==o||null===(n=o[l])||void 0===n?void 0:n[i]),{},Ie({},e,t))))):Ie({},i,Be(Be({},null==o?void 0:o[i]),{},Ie({},e,t)))))}(e,ke(u(e),n,t))};return wp.element.createElement("div",{ref:s,className:"bm-controls"},wp.element.createElement(be,{value:i,onChange:function(e){return m(e)}}),wp.element.createElement(se,{className:"bm-responsive--position bm-control-seperator",label:(0,Ve.__)("Layout","bm"),device:n}),wp.element.createElement(O,Le({},e,{value:w("display"),onChange:function(e){return p("display",e)}})),w("display")&&w("display").includes("f")?wp.element.createElement(oe,Le({},e,{value:w("flex"),onChange:function(e){return p("flex",e)}})):null,wp.element.createElement(I,Le({},e,{value:w("position"),onChange:function(e){return p("position",e)}})),wp.element.createElement(L,Le({},e,{value:w("sides"),onChange:function(e){return p("sides",e)}})),wp.element.createElement(z,Le({},e,{value:w("zIndex"),onChange:function(e){return p("zIndex",e)}})))})),Ae=(0,c.memo)((function(e){var t=e.id,n=e.title,c=void 0===n?"Style":n,o=e.initialOpen,a=void 0===o||o,r=e.style,i=e.onChange,m=e.selector,u=void 0===m?"":m,s=e.clientId,w=void 0===s?"":s,p=e.allowed,f=void 0===p?{}:p,h=(0,me.useSelect)((function(e){return e("core/editor").getDeviceType()})),v=h.toLowerCase();return wp.element.createElement(React.Fragment,null,wp.element.createElement(Oe,{style:r,selector:u||"#block-".concat(w)}),wp.element.createElement(Pe.InspectorControls,null,wp.element.createElement(l.PanelBody,{title:c,initialOpen:a},wp.element.createElement(_e,{deviceType:h,device:v,id:t,clientId:w,selector:u||"#block-".concat(w),element:"",style:r,onChange:i,allowed:f}))))})),Ze=n(164);n(964),wp.compose,wp.hooks;function De(e){return De="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},De(e)}function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function We(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){Fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fe(e,t,n){var c;return c=function(e,t){if("object"!=De(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=De(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==De(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ue=function(e){var t=e.childs,n=void 0===t?[]:t,c=e.placeholder,l=e.allowedBlocks,o=e.template,a=e.blockProps,r={templateLock:!1,renderAppender:Pe.InnerBlocks.ButtonBlockAppender};l&&(r.allowedBlocks=l),o&&(r.template=o);var i=(0,Pe.useInnerBlocksProps)(We(We({},a),{},{className:(0,Ze.A)(a.className,"bm-inner-blocks")}),r);return c&&0===n.length?wp.element.createElement("div",i,c):wp.element.createElement("div",i)}},838:function(e){e.exports=wp.blockEditor},964:function(e){e.exports=wp.blocks},470:function(e){e.exports=wp.i18n},164:function(e,t,n){function c(e){var t,n,l="";if("string"==typeof e||"number"==typeof e)l+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=c(e[t]))&&(l&&(l+=" "),l+=n)}else for(n in e)e[n]&&(l&&(l+=" "),l+=n);return l}t.A=function(){for(var e,t,n=0,l="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=c(e))&&(l&&(l+=" "),l+=t);return l}}},t={};function n(c){var l=t[c];if(void 0!==l)return l.exports;var o=t[c]={exports:{}};return e[c](o,o.exports,n),o.exports}n.d=function(e,t){for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e=n(964);function t(e){return t="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},t(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function l(e,n,c){var l;return l=function(e,n){if("object"!=t(e)||!e)return e;var c=e[Symbol.toPrimitive];if(void 0!==c){var l=c.call(e,n||"default");if("object"!=t(l))return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(n,"string"),(n="symbol"==t(l)?l:String(l))in e?Object.defineProperty(e,n,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[n]=c,e}var o=JSON.parse('{"$schema":"https://json.schemastore.org/block.json","apiVersion":3,"name":"bm/section","title":"Section","description":"Allow to create a section for the content.","version":"0.0.1","icon":"editor-table","attributes":{"_bm_id":{"type":"string","default":""},"_bm_style":{"type":"object"}},"category":"blocks-monster","textdomain":"blocks-monster","style":"file:./css/style.css","editorScript":"file:./js/index.js"}'),a=n(164),r=n(838),i=n(852),m=function(e){var t=e.attributes,n=t._bm_id,c=t._bm_style,l=e.setAttributes,o=e.className,m=e.clientId,u=(0,a.A)(o),s=(0,r.useBlockProps)({className:u});return wp.element.createElement(React.Fragment,null,wp.element.createElement(i.H2,{id:n,clientId:m,style:c,onChange:function(e){l({_bm_style:e})}}),wp.element.createElement(i.Tj,{blockProps:s}))},u=(n(470),function(){var e=r.useBlockProps.save();return wp.element.createElement("div",e,wp.element.createElement(r.InnerBlocks.Content,null))});!function(t){if(t){var n=t.metadata,o=t.settings,a=t.name;(0,e.registerBlockType)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({name:a},n),o)}}({name:o.name,metadata:o,settings:{icon:"list-view",edit:m,save:u}})}()}();1 !function(){"use strict";var e={277:function(e,t,n){n.d(t,{aE:function(){return Ce},$n:function(){return fe},H2:function(){return Ue},ZK:function(){return D},nl:function(){return M},so:function(){return se},Tj:function(){return Je},JU:function(){return xe},AM:function(){return pe},yX:function(){return z},Yn:function(){return je},Ft:function(){return de},fI:function(){return ke},Hw:function(){return B},Uw:function(){return Re},Py:function(){return W},om:function(){return Me},ZX:function(){return Pe},i7:function(){return A},Mi:function(){return O},x7:function(){return Ve},De:function(){return me},z:function(){return Se},eT:function(){return Ne},ph:function(){return I},gB:function(){return P},wR:function(){return T},Xc:function(){return Oe}});var c=wp.element,o=wp.components,l=function(){return wp.element.createElement(o.SVG,{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.25",y:"0.75",width:"11.5",height:"0.5",rx:"0.25",stroke:"currentColor",strokeWidth:"0.5"}))},a=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}))},r=function(){return wp.element.createElement(o.SVG,{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(o.Path,{d:"M2 3C2 2.44772 2.44772 2 3 2H8C8.55228 2 9 2.44772 9 3V8C9 8.55228 8.55228 9 8 9H3C2.44772 9 2 8.55228 2 8V3Z"}),wp.element.createElement(o.Path,{d:"M2 2H9H2ZM9 9H2H9ZM3 9C2.28203 9 1.7 8.41797 1.7 7.7V3.3C1.7 2.58203 2.28203 2 3 2H3C2.6134 2 2.3 2.44772 2.3 3V8C2.3 8.55228 2.6134 9 3 9H3ZM8 2C8.71797 2 9.3 2.58203 9.3 3.3V7.7C9.3 8.41797 8.71797 9 8 9H8C8.3866 9 8.7 8.55228 8.7 8V3C8.7 2.44772 8.3866 2 8 2H8Z",fill:"currentColor"}))},i=function(){return wp.element.createElement(o.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(o.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(o.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}))},m=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(o.Rect,{x:"2.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"5.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"8.75",y:"2.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"8.75",y:"4.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"2.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"5.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(o.Rect,{x:"2.75",y:"6.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}))},u=function(){return wp.element.createElement(o.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(o.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(o.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}),wp.element.createElement(o.Rect,{x:"3.15",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"5.29282",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"7.43577",y:"3.65",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"7.43577",y:"4.84995",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"3.15",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"5.29282",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(o.Rect,{x:"3.15",y:"6.05002",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}))},s=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M5.5 18a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 1 0v11a.5.5 0 0 1-.5.5m13 0a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 1 0v11a.5.5 0 0 1-.5.5M7.604 8l1.882 8h1.03L12 10.062 13.485 16h1.029l1.882-8h-1.027l-1.384 5.88L12.515 8h-1.03l-1.47 5.88L8.63 8z",clipRule:"evenodd"}))},w=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"}))},p=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"}))},f=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}))},v=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(o.Path,{d:"M5 13C5 16.866 8.13401 20 12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6H7M7 6L10 3M7 6L10 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},h=function(){return wp.element.createElement(o.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1.2505 3.89576C0.748063 2.55595 2.05645 1.24758 3.39625 1.75001L17.6801 7.10645C19.2686 7.70213 19.0552 10.0135 17.3846 10.3083L10.9452 11.4447L9.80882 17.8841C9.51399 19.5548 7.20261 19.7681 6.60694 18.1796L1.2505 3.89576ZM2.81105 3.31056L8.16749 17.5944L9.30382 11.155C9.42557 10.4652 9.96565 9.92508 10.6555 9.80333L17.0949 8.667L2.81105 3.31056Z",fill:"currentColor"}))},d=function(){return wp.element.createElement(o.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Path,{d:"M16.8892 10.2777C15.8892 9.22216 14.5559 8.49994 13.167 8.22216C12.5559 8.0555 11.9448 7.94439 11.3336 7.88883C12.8892 6.0555 12.6114 3.27772 10.7781 1.72216C8.94475 0.166608 6.16698 0.444386 4.61142 2.27772C3.05587 4.11105 3.33364 6.88883 5.16698 8.44439C5.50031 8.72216 5.83364 8.94438 6.16698 9.0555V10.2777L5.27809 9.44439C4.50031 8.66661 3.22253 8.66661 2.3892 9.44439C1.61142 10.2222 1.55586 11.4444 2.33364 12.2222L4.8892 15.2222C5.00031 15.9999 5.27809 16.7222 5.66698 17.3888C5.94475 17.8888 6.33364 18.3888 6.72253 18.7777V19.8333C6.72253 20.1666 6.94475 20.3888 7.27809 20.3888H14.8336C15.1114 20.3888 15.3892 20.111 15.3892 19.8333V18.3888C16.4448 17.1111 17.0003 15.4999 17.0003 13.8888V10.6666C17.0559 10.4444 17.0003 10.3333 16.8892 10.2777ZM4.66698 5.0555C4.66698 3.22216 6.16698 1.77772 8.00031 1.83327C9.83364 1.83327 11.2781 3.33327 11.2225 5.16661C11.2225 6.16661 10.7781 7.0555 10.0003 7.66661V4.88883C9.94475 3.88883 9.11142 3.11105 8.11142 3.11105C7.11142 3.0555 6.22253 3.88883 6.22253 4.88883V7.77772C5.27809 7.22216 4.72253 6.16661 4.66698 5.0555ZM15.9448 13.8333C16.0003 15.2777 15.5003 16.6666 14.5559 17.7777C14.4448 17.8888 14.3336 17.9999 14.3336 18.1666V19.3333H7.8892V18.5555C7.8892 18.3888 7.77809 18.2222 7.66698 18.1111C7.27809 17.7777 6.94475 17.3888 6.66698 16.8888C6.33364 16.3333 6.11142 15.6666 6.00031 14.9999C6.00031 14.8888 5.94475 14.7777 5.8892 14.6666L3.22253 11.4999C3.05587 11.3333 2.94475 11.1111 2.94475 10.8333C2.94475 10.6111 3.05587 10.3333 3.22253 10.1666C3.61142 9.83327 4.16698 9.83327 4.55587 10.1666L6.16698 11.7777V13.4444L7.22253 12.8888V4.88883C7.27809 4.49994 7.61142 4.16661 8.05587 4.22216C8.44475 4.22216 8.83364 4.49994 8.83364 4.88883V11.2777L9.94475 11.4999V8.94438C10.0003 8.88883 10.0559 8.88883 10.1114 8.83327C10.5003 8.83327 10.8892 8.88883 11.2781 8.94438V11.7777L12.167 11.9444V9.0555L12.8336 9.22216C13.1114 9.27772 13.3892 9.38883 13.667 9.49994V12.2777L14.5559 12.4444V9.88883C15.0559 10.1111 15.5003 10.4444 15.8892 10.8333L15.9448 13.8333Z",fill:"currentColor"}))},g=function(){return wp.element.createElement(o.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(o.Path,{d:"M7.50033 3.4165V2.1665M4.21754 4.71705L3.33366 3.83317M4.21754 11.3332L3.33366 12.2171M10.8337 4.71705L11.7176 3.83317M2.91699 7.99984H1.66699M13.2207 13.9912L11.1442 17.8473C10.9071 18.2879 10.7884 18.5082 10.6457 18.5639C10.5219 18.6123 10.3824 18.5986 10.2703 18.5272C10.1411 18.4448 10.0675 18.2058 9.92016 17.7276L7.03798 8.37088C6.91766 7.98026 6.85749 7.78495 6.9059 7.65303C6.94807 7.53813 7.03862 7.44758 7.15352 7.40542C7.28543 7.35701 7.48074 7.41717 7.87137 7.5375L17.228 10.4197C17.7062 10.567 17.9452 10.6407 18.0276 10.7698C18.0991 10.882 18.1127 11.0214 18.0643 11.1453C18.0087 11.288 17.7883 11.4066 17.3478 11.6438L13.4917 13.7203C13.4262 13.7555 13.3934 13.7731 13.3648 13.7958C13.3393 13.8158 13.3163 13.8388 13.2962 13.8643C13.2736 13.8929 13.256 13.9257 13.2207 13.9912Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},E=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(o.Path,{d:"M13.01 2.92007L18.91 5.54007C20.61 6.29007 20.61 7.53007 18.91 8.28007L13.01 10.9001C12.34 11.2001 11.24 11.2001 10.57 10.9001L4.67 8.28007C2.97 7.53007 2.97 6.29007 4.67 5.54007L10.57 2.92007C11.24 2.62007 12.34 2.62007 13.01 2.92007Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(o.Path,{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(o.Path,{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}))},b=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M9 7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM8 7v10H7V7zm2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},y=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M7 6a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zm0 1h10v1H7zm1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m9 0a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},C=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M18 7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zm-1 0v10h-1V7zM8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm-5 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},x=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m-8 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zM7 15a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm0 1h10v1H7z",clipRule:"evenodd"}))},k=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Path,{d:"M0 4V0H4M8 0H12V4M12 8V12H8M4 12H0V8",stroke:"black",strokeWidth:"2"}))},j=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}))},R=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}),wp.element.createElement(o.Rect,{x:"2",y:"2",width:"4",height:"4",fill:"black"}))},V=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(o.Rect,{x:"3.5",y:"3.5",width:"5",height:"5",stroke:"black",strokeLinecap:"square"}))},S=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(o.Line,{x1:"2",y1:"4",x2:"10",y2:"4",stroke:"black",strokeWidth:"2"}))},N={n:"none",b:"block",i:"inline",ib:"inline-block",f:"flex",if:"inline-flex"},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=N&&N[e]?"display: ".concat(null==N?void 0:N[e],";"):""}(e)}));var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},M=(0,c.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,o=void 0===c?"":c,s=function(e){n(e)},w=t;return wp.element.createElement("div",{className:"bm-display-control"},wp.element.createElement(xe,{name:"Display",onReset:function(){n(o)}}),wp.element.createElement("div",{className:"bm-display-control__group"},wp.element.createElement(fe,{label:"None",showTooltip:!0,className:"".concat("n"===w?"is-active":""),onClick:function(){return s("n")}},wp.element.createElement(l,null)),wp.element.createElement(fe,{label:"Block",showTooltip:!0,className:"".concat("b"===w?"is-active":""),onClick:function(){return s("b")}},wp.element.createElement(a,null)),wp.element.createElement(fe,{label:"Inline",showTooltip:!0,className:"".concat("i"===w?"is-active":""),onClick:function(){return s("i")}},wp.element.createElement(r,null)),wp.element.createElement(fe,{label:"Inline Block",showTooltip:!0,className:"".concat("ib"===w?"is-active":""),onClick:function(){return s("ib")}},wp.element.createElement(i,null)),wp.element.createElement(fe,{label:"Flex",showTooltip:!0,className:"".concat("f"===w?"is-active":""),onClick:function(){return s("f")}},wp.element.createElement(m,null)),wp.element.createElement(fe,{label:"Inline Flex",showTooltip:!0,className:"".concat("if"===w?"is-active":""),onClick:function(){return s("if")}},wp.element.createElement(u,null))))})),P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(L(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(L(n[1])," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(L(n[2])," } }"):""].filter(Boolean).join("\n")},L=function(e){var t,n,c,o;if(!e)return"";var l=Pe(e,",",4),a=(null===(t=l=l.split(","))||void 0===t?void 0:t[0])||"",r=Ne(a,""),i=Se(a,"px"),m=(null===(n=l)||void 0===n?void 0:n[1])||"",u=Ne(m,""),s=Se(m,"px"),w=(null===(c=l)||void 0===c?void 0:c[2])||"",p=Ne(w,""),f=Se(w,"px"),v=(null===(o=l)||void 0===o?void 0:o[3])||"",h=Ne(v,""),d=Se(v,"px"),g=[];return g.push("top: ".concat(r).concat(i,";")),g.push("right: ".concat(u).concat(s,";")),g.push("bottom: ".concat(p).concat(f,";")),g.push("left: ".concat(h).concat(d,";")),g.join("")},B=function(e){var t,n,c,o,l=e.value,a=e.onChange,r=e.reset,i=void 0===r?"":r,m=Pe(l,",",4),u=(null===(t=m=m.split(","))||void 0===t?void 0:t[0])||"",s=Ne(u,""),w=Se(u,"px"),p=(null===(n=m)||void 0===n?void 0:n[1])||"",f=Ne(p,""),v=Se(p,"px"),h=(null===(c=m)||void 0===c?void 0:c[2])||"",d=Ne(h,""),g=Se(h,"px"),E=(null===(o=m)||void 0===o?void 0:o[3])||"",k=Ne(E,""),j=Se(E,"px"),R=function(e){a(e)};return wp.element.createElement("div",{className:"bm-sides-control"},wp.element.createElement(xe,{name:"Sides",onReset:function(){a(i)}}),wp.element.createElement("div",{className:"bm-position-control__sides"},wp.element.createElement(Ce,{min:-9999,value:k,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(f).concat(v,",").concat(d).concat(g,",").concat(e).concat(j))},icon:wp.element.createElement(b,null),unit:j,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(v,",").concat(d).concat(g,",").concat(k).concat(e))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(Ce,{min:-9999,value:s,placeholder:"auto",onChange:function(e){R("".concat(e).concat(w,",").concat(f).concat(v,",").concat(d).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(y,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(e,",").concat(f).concat(v,",").concat(d).concat(g,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(Ce,{min:-9999,value:f,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(e).concat(v,",").concat(d).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(C,null),unit:v,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(e,",").concat(d).concat(g,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(Ce,{min:-9999,value:d,placeholder:"auto",onChange:function(e){R("".concat(s).concat(w,",").concat(f).concat(v,",").concat(e).concat(g,",").concat(k).concat(j))},icon:wp.element.createElement(x,null),unit:g,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){R("".concat(s).concat(w,",").concat(f).concat(v,",").concat(d).concat(e,",").concat(k).concat(j))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}})))},H={s:"static",r:"relative",a:"absolute",f:"fixed",st:"sticky"},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=H&&H[e]?"position: ".concat(null==H?void 0:H[e],";"):""}(e)}));var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},z=(0,c.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,o=void 0===c?"":c,l=function(e){n(e)},a=t;return wp.element.createElement("div",{className:"bm-position-control"},wp.element.createElement(xe,{name:"Position",onReset:function(){n(o)}}),wp.element.createElement(ke,{className:"bm-position-control__group"},wp.element.createElement(fe,{label:"Static",showTooltip:!0,className:"".concat("s"===a?"is-active":""),onClick:function(){return l("s")}},wp.element.createElement(k,null)),wp.element.createElement(fe,{label:"Relative",showTooltip:!0,className:"".concat("r"===a?"is-active":""),onClick:function(){return l("r")}},wp.element.createElement(j,null)),wp.element.createElement(fe,{label:"Absolute",showTooltip:!0,className:"".concat("a"===a?"is-active":""),onClick:function(){return l("a")}},wp.element.createElement(R,null)),wp.element.createElement(fe,{label:"Fixed",showTooltip:!0,className:"".concat("f"===a?"is-active":""),onClick:function(){return l("f")}},wp.element.createElement(V,null)),wp.element.createElement(fe,{label:"Sticky",showTooltip:!0,className:"".concat("st"===a?"is-active":""),onClick:function(){return l("st")}},wp.element.createElement(S,null))))})),G=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M10 8a2 2 0 1 1 4 0v1.5a.5.5 0 1 0 1 0V8a3 3 0 0 0-6 0v1.5a.5.5 0 0 0 1 0zm0 8a2 2 0 1 0 4 0v-1.5a.5.5 0 1 1 1 0V16a3 3 0 0 1-6 0v-1.5a.5.5 0 0 1 1 0z",clipRule:"evenodd"}))},_=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M10 8a2 2 0 1 1 4 0v1.5a.5.5 0 0 0 1 0V8a3 3 0 1 0-6 0v1.5a.5.5 0 0 0 1 0zm0 8a2 2 0 1 0 4 0v-1.5a.5.5 0 0 1 1 0V16a3 3 0 1 1-6 0v-1.5a.5.5 0 0 1 1 0zm2.5-6a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0z",clipRule:"evenodd"}))},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(Z(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(Z(n[1])," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(Z(n[2])," } }"):""].filter(Boolean).join("\n")},Z=function(e){var t,n;if(!e)return"";var c=Pe(e,",",3),o=(null===(t=c=c.split(","))||void 0===t?void 0:t[0])||"",l=Ne(o,""),a=Se(o,"px"),r=(null===(n=c)||void 0===n?void 0:n[1])||"",i=Ne(r,""),m=Se(r,"px"),u=[];return u.push("width: ".concat(l).concat(a,";")),u.push("height: ".concat(i).concat(m,";")),u.join("")},D=function(e){var t,n,c,o=e.value,l=e.onChange,a=e.reset,r=void 0===a?"":a,i=Pe(o,",",3),m=(null===(t=i=i.split(","))||void 0===t?void 0:t[0])||"",u=Ne(m,""),w=Se(m,"px"),p=(null===(n=i)||void 0===n?void 0:n[1])||"",f=Ne(p,""),v=Se(p,"px"),h=Number((null===(c=i)||void 0===c?void 0:c[2])||0),d=function(e){l(e)};return wp.element.createElement("div",{className:"bm-width-and-height-control"},wp.element.createElement(xe,{name:"Dimentions",onReset:function(){d(r)}}),wp.element.createElement(ke,null,wp.element.createElement(Ce,{placeholder:"auto",value:u,onChange:function(e){var t=h?f+(e-u):f;d("".concat(e).concat(w,",").concat(t).concat(v,",").concat(h))},icon:wp.element.createElement(s,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){d("".concat(u).concat(e,",").concat(f).concat(v,",").concat(h))},suggests:{auto:"auto",100:100,200:200,300:300,400:400}}),wp.element.createElement(Ce,{placeholder:"auto",value:f,onChange:function(e){d("".concat(h?u+(e-f):u).concat(w,",").concat(e).concat(v,",").concat(h))},icon:"H",unit:v,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){d("".concat(u).concat(w,",").concat(f).concat(e,",").concat(h))},suggests:{auto:"auto",100:100,200:200,300:300,400:400}}),wp.element.createElement(fe,{className:"bm-width-and-height-control__connect ".concat(h?"is-active":""),onClick:function(){var e=0===h?1:0;console.log(h),console.log(e),d("".concat(u).concat(w,",").concat(f).concat(v,",").concat(e))}},h?wp.element.createElement(_,null):wp.element.createElement(G,null))))},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(e){return e?"z-index: ".concat(e,";"):""}(e)}));var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},W=function(e){var t=e.value,n=e.onChange,c=e.reset,o=void 0===c?"":c,l=t,a=function(e){n(Number(e))};return wp.element.createElement("div",{className:"bm-z-index-control"},wp.element.createElement(xe,{name:"Z Index",onReset:function(){n(o)}}),wp.element.createElement(Ce,{value:l,placeholder:"0",onChange:function(e){a(e)},icon:wp.element.createElement(E,null)}))},F=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"11",viewBox:"0 0 8 11"},wp.element.createElement(o.Path,{fillRule:"evenodd",stroke:"none",d:"M4 10.207.646 6.854l.708-.708L3.5 8.293V0h1v8.293l2.146-2.147.708.708z"}))},U=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"7",viewBox:"0 0 11 7"},wp.element.createElement(o.Path,{fillRule:"evenodd",stroke:"none",d:"M10.707 3.5 7.354.146l-.708.708L8.793 3H.5v1h8.293L6.646 6.146l.708.708z"}))},$=function(){return wp.element.createElement(o.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},wp.element.createElement(o.Path,{fillRule:"evenodd",stroke:"none",d:"M8 3h2c1.933 0 3.5 1.567 3.5 3.5 0 1.933-1.567 3.5-3.5 3.5H4.707l2.147 2.146-.708.708-3-3-.353-.354.353-.354 3-3 .708.708L4.707 9H10c1.38 0 2.5-1.12 2.5-2.5C12.5 5.12 11.38 4 10 4H8z"}))},q=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M15 14.75c0 .138.112.25.25.25h.25a.5.5 0 0 1 0 1h-.25c-.69 0-1.25-.56-1.25-1.25v-6.5c0-.69.56-1.25 1.25-1.25h.25a.5.5 0 0 1 0 1h-.25a.25.25 0 0 0-.25.25zm-8 .75a.5.5 0 0 1 .5-.5h.25a.25.25 0 0 0 .25-.25v-6.5A.25.25 0 0 0 7.75 8H7.5a.5.5 0 0 1 0-1h.25C8.44 7 9 7.56 9 8.25v6.5C9 15.44 8.44 16 7.75 16H7.5a.5.5 0 0 1-.5-.5m4-2a.5.5 0 1 0 1 0v-4a.5.5 0 0 0-1 0z",clipRule:"evenodd"}))},X=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M7.5 7a.5.5 0 0 1 .5.5v.25c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V7.5a.5.5 0 0 1 1 0v.25C16 8.44 15.44 9 14.75 9h-6.5C7.56 9 7 8.44 7 7.75V7.5a.5.5 0 0 1 .5-.5m.75 8a.25.25 0 0 0-.25.25v.25a.5.5 0 0 1-1 0v-.25c0-.69.56-1.25 1.25-1.25h6.5c.69 0 1.25.56 1.25 1.25v.25a.5.5 0 0 1-1 0v-.25a.25.25 0 0 0-.25-.25zm1.25-4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},K=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"5",y:"5",width:"7",height:"2"}),wp.element.createElement(o.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(o.Rect,{x:"5",y:"13",width:"5",height:"2"}))},Y=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"6.5",y:"5",width:"7",height:"2"}),wp.element.createElement(o.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(o.Rect,{x:"7.5",y:"13",width:"5",height:"2"}))},J=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"8",y:"5",width:"7",height:"2"}),wp.element.createElement(o.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(o.Rect,{x:"10",y:"13",width:"5",height:"2"}))},Q=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"5",y:"13.5",width:"7",height:"2",transform:"rotate(-90 5 13.5)"}),wp.element.createElement(o.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(o.Rect,{x:"13",y:"12.5",width:"5",height:"2",transform:"rotate(-90 13 12.5)"}))},ee=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"5",y:"15",width:"7",height:"2",transform:"rotate(-90 5 15)"}),wp.element.createElement(o.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(o.Rect,{x:"13",y:"15",width:"5",height:"2",transform:"rotate(-90 13 15)"}))},te=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{width:"7",height:"2",transform:"matrix(0 1 1 0 5 5)"}),wp.element.createElement(o.Rect,{width:"10",height:"2",transform:"matrix(0 1 1 0 9 5)"}),wp.element.createElement(o.Rect,{width:"5",height:"2",transform:"matrix(0 1 1 0 13 5)"}))},ne=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},ce=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 7 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 11 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},oe=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 15)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(o.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},le=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"5",y:"9",width:"10",height:"2"}))},ae=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"7.5",y:"9",width:"5",height:"2"}))},re=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}))},ie=function(){return wp.element.createElement(o.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Rect,{x:"9",y:"12.5",width:"5",height:"2",transform:"rotate(-90 9 12.5)"}))},me=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",o="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(ue(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(ue(n[1])," } }"):"",n[2]?"".concat(o," { ").concat(t," { ").concat(ue(n[2])," } }"):""].filter(Boolean).join("\n")},ue=function(e){var t,n,c,o,l,a,r;if(!e)return"";var i=Pe(e,",",7),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";switch(e){case"c":return"column";case"r":return"row";case"cr":return"column-reverse";case"rr":return"row-reverse"}return t}(null===(t=i=i.split(","))||void 0===t?void 0:t[0]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"w":return"wrap";case"n":return"nowrap";case"rw":return"wrap-reverse"}return t}(null===(n=i)||void 0===n?void 0:n[1]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"b":return"baseline"}return t}(null===(c=i)||void 0===c?void 0:c[2]),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(o=i)||void 0===o?void 0:o[3]),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(l=i)||void 0===l?void 0:l[4]),f=(null===(a=i)||void 0===a?void 0:a[5])||"",v=Ne(f,""),h=Se(f,"px"),d=(null===(r=i)||void 0===r?void 0:r[6])||"",g=Ne(d,""),E=Se(d,"px"),b=[];return m&&b.push("flex-direction: ".concat(m,";")),u&&b.push("flex-wrap: ".concat(u,";")),s&&b.push("align-items: ".concat(s,";")),w&&b.push("align-content: ".concat(w,";")),p&&b.push("justify-content: ".concat(p,";")),v&&b.push("row-gap: ".concat(v).concat(h,";")),g&&b.push("column-gap: ".concat(g).concat(E,";")),b.join("")},se=function(e){var t,n,c,o,l,a,r,i=e.value,m=e.onChange,u=e.reset,s=void 0===u?"":u,w=Pe(i,",",7),p=(null===(t=w=w.split(","))||void 0===t?void 0:t[0])||"c",f=(null===(n=w)||void 0===n?void 0:n[1])||"",v=(null===(c=w)||void 0===c?void 0:c[2])||"",h=(null===(o=w)||void 0===o?void 0:o[3])||"",d=(null===(l=w)||void 0===l?void 0:l[4])||"",g=(null===(a=w)||void 0===a?void 0:a[5])||"",E=Ne(g,""),b=Se(g,"px"),y=(null===(r=w)||void 0===r?void 0:r[6])||"",C=Ne(y,""),x=Se(y,"px"),k=function(e){m(e)},j=function(e){return(null==e?void 0:e.flexDirection)===p&&(null==e?void 0:e.flexWrap)===f&&(null==e?void 0:e.alignItems)===v&&(null==e?void 0:e.alignContent)===h&&(null==e?void 0:e.justifyContent)===d};return wp.element.createElement("div",{className:"bm-flex-control"},wp.element.createElement(xe,{name:"Flex Box",onReset:function(){m(s)}}),wp.element.createElement("div",{className:"bm-flex-control__display"},wp.element.createElement(fe,{className:"".concat("c"===p?"is-active":""),onClick:function(){k("c,".concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(F,null)),wp.element.createElement(fe,{className:"".concat("r"===p&&"w"!==f?"is-active":""),onClick:function(){k("r,,".concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(U,null)),wp.element.createElement(fe,{className:"".concat("w"===f?"is-active":""),onClick:function(){k("r,w,".concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement($,null))),wp.element.createElement("div",{className:"bm-flex-control__align-box"},wp.element.createElement("div",{className:"bm-flex-control__align-left"},"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null))),"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ce,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(le,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)))),"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fs,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(oe,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(te,null)):wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-center"},"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(re,null)):wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"c",alignContent:"fs"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(re,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null))):wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(e){k("".concat(p,",").concat(f,",fs,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ie,null)):wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ce,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ie,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null))):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ae,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(re,null)):wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("r,w,c,c,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(oe,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(re,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Q,null))):wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-right"},"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fe,,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ne,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ee,null)):wp.element.createElement(fe,{className:j({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(K,null))),"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,c,fe,c,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ce,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",c,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ee,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(fe,{className:j({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(le,null)):wp.element.createElement(fe,{className:j({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",sb,").concat(E).concat(b,",").concat(C).concat(x)):k("".concat(p,",").concat(f,",c,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(Y,null)))),"w"===f?wp.element.createElement(fe,{className:j({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,fe,fe,fe,".concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(oe,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(ee,null)):wp.element.createElement(fe,{className:j({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(h,",fe,").concat(E).concat(b,",").concat(C).concat(x))}},wp.element.createElement(J,null))))),wp.element.createElement("div",{className:"bm-flex-control__gap"},wp.element.createElement(Ce,{value:E,onChange:function(e){k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(e).concat(b,",").concat("w"!==f?e:C).concat(x))},icon:wp.element.createElement(q,null),unit:b,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(E).concat(e,",").concat(C).concat("w"!==f?e:x))}}),"w"===f&&wp.element.createElement(Ce,{placeholder:E,value:C,onChange:function(e){k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(e).concat(x))},icon:wp.element.createElement(X,null),unit:x,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(v,",").concat(h,",").concat(d,",").concat(E).concat(b,",").concat(C).concat(e))}})))};function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},we.apply(this,arguments)}var pe=function(e){var t=(0,c.useRef)();return(0,c.useEffect)((function(){var n=function(n){t.current&&!t.current.contains(n.target)&&e.onClose()};return function(){return document.removeEventListener("mousedown",n)}}),[t]),wp.element.createElement(o.Popover,we({},e,{ref:t,className:"bm-popover"}),wp.element.createElement("div",{ref:t},e.children))},fe=function(e){var t=e.style,n=void 0===t?{}:t,c=e.icon,l=void 0===c?null:c,a=e.label,r=void 0===a?"":a,i=e.showTooltip,m=void 0!==i&&i,u=e.onClick,s=e.className,w=e.children;return wp.element.createElement(o.Button,{style:n,icon:l,label:r,showTooltip:m,className:"bm-button-control ".concat(s),onClick:u},w)},ve=wp.data,he=function(){return wp.element.createElement(o.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(o.Path,{fillRule:"evenodd",d:"M11.5 6a.5.5 0 0 1 .5.5V11h4.5a.5.5 0 0 1 0 1H12v4.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H11V6.5a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}))},de=function(e){var t=e.className,n=e.label,c=e.device,o=e.onAddNew,l=e.onReset,a=void 0!==l&&l;return wp.element.createElement("div",{className:"bm-responsive ".concat(t)},n&&wp.element.createElement("label",null,n),!1===a?null:wp.element.createElement(je,{onReset:a}),wp.element.createElement("div",{className:"bm-responsive__buttons"},["Desktop","Tablet","Mobile"].map((function(e,t){return wp.element.createElement(fe,{label:e,showTooltip:!0,key:t,className:"bm-responsive__button ".concat(c.toLowerCase()===e.toLowerCase()?"is-active":""),onClick:function(){return t=e,void(0,ve.dispatch)("core/editor").setDeviceType(t);var t}},"Desktop"===e?wp.element.createElement(w,null):"Tablet"===e?wp.element.createElement(p,null):wp.element.createElement(f,null))}))),o&&wp.element.createElement(fe,{label:"Add new",showTooltip:!0,className:"bm-responsive__add-new",onClick:o},wp.element.createElement(he,null)))};function ge(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 c,o,l,a,r=[],i=!0,m=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=l.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,o=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw o}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ee(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var be=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.80109 2.07902 5.61032 2.21967 5.46967C2.36032 5.32902 2.55109 5.25 2.75 5.25H9.25C9.44891 5.25 9.63968 5.32902 9.78033 5.46967C9.92098 5.61032 10 5.80109 10 6C10 6.19891 9.92098 6.38968 9.78033 6.53033C9.63968 6.67098 9.44891 6.75 9.25 6.75H2.75C2.55109 6.75 2.36032 6.67098 2.21967 6.53033C2.07902 6.38968 2 6.19891 2 6Z",fill:"currentColor"}))},ye=function(){return wp.element.createElement(o.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(o.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 9.25a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5Z",fill:"currentColor"}))},Ce=function(e){var t,n,o=e.canDrag,l=void 0===o||o,a=e.className,r=void 0===a?"":a,i=e.step,m=void 0===i?1:i,u=e.withIncrementors,s=void 0!==u&&u,w=e.placeholder,p=void 0===w?0:w,f=e.min,h=void 0===f?0:f,d=e.max,g=e.direction,E=e.value,b=e.onChange,y=e.onChangeUnit,C=e.icon,x=e.unit,k=e.units,j=e.suggests,R=void 0===j?{}:j,V=ge((0,c.useState)(!1),2),S=V[0],N=(V[1],ge((0,c.useState)(!1),2)),O=N[0],M=N[1],P=ge((0,c.useState)(!1),2),L=P[0],B=P[1],H=ge((0,c.useState)(!1),2),I=H[0],z=H[1],G=E&&"string"==typeof E&&E.startsWith("g:"),_="",A="",Z="";G&&(_=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e?void 0:e.name)||""):""}(A=E.replace("g:","")),Z=(null===(n=ctcGbGlobalStyles)||void 0===n||null===(n=n.collections)||void 0===n||null===(n=n.modes)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.id)||"");var D=function(e){return!e||("string"==typeof e&&(e=e.trim()),!!e&&e.toString().match(/^[0-9]+$/))},T=function(e){if(l){M(!0);var t=E||0,n="vertical"===g?e.clientY:e.clientX,c=function(e){if(D(t)){var c="vertical"===g?e.clientY:e.clientX,o=t+(c-n);"vertical"===g&&(o=t-(c-n)),W(o)}};document.addEventListener("mousemove",c),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",e),M(!1)}))}},W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e||(e=0),D(e)&&(t&&n&&("increase"===n&&(e=parseInt(e)+t),"decrease"===n&&(e=parseInt(e)-t)),(e=parseInt(e))<=h&&(e=h),e>=d&&(e=d)),b(e)},F=E?8*E.toString().length:8,U=ge((0,c.useState)(!1),2),$=U[0],q=U[1],X=ge((0,c.useState)(!1),2),K=X[0],Y=X[1],J=k&&k.length>1;return wp.element.createElement("div",{className:"bm-base-input ".concat(r," ").concat(S?"is-hovered":""," ").concat(O?"is-dragging":""," ").concat(L?"is-focused":""," ").concat("vertical"===g?"is-vertical":""," ").concat(s?"with-incrementors":""," ").concat(l?"bm-can-drag":"")},C&&wp.element.createElement("div",{className:"bm-base-input__icon",onMouseDown:function(e){G||T(e)},onMouseUp:function(){G||M(!1)}},C),s&&!G?wp.element.createElement(fe,{className:"bm-base-input__decrement",onClick:function(){var e=E?parseInt(E):0;W(e-m)}},wp.element.createElement(be,null)):null,G?wp.element.createElement("span",{className:"bm-global"},_,wp.element.createElement(fe,{onClick:function(){W(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e||null===(e=e.values)||void 0===e?void 0:e[c])||""):""}(A))}},wp.element.createElement(v,null))):wp.element.createElement(React.Fragment,null,wp.element.createElement("input",{style:{width:F},placeholder:p,autoComplete:"false",spellCheck:"false",dir:"auto",value:E,onChange:function(e){W(e.target.value)},onClick:function(){B(!0)},onFocus:function(){B(!0)},onBlur:function(){return B(!1)},onMouseDown:T,onMouseUp:function(){return M(!1)},onKeyDown:function(e){"ArrowUp"===e.key?W(E,e.shiftKey?10:1,"increase"):"ArrowDown"===e.key&&W(E,e.shiftKey?10:1,"decrease")}}),Object.keys(R).length>1&&!0===I&&wp.element.createElement(pe,{position:"bottom right",className:"bm-suggest-popover",onClose:function(){return z(!1)}},wp.element.createElement("div",{className:"bm-suggest-popover__content"},wp.element.createElement("ul",null,Object.keys(R).map((function(e){var t,n=(null===(t=R[e])||void 0===t?void 0:t.value)||"";return wp.element.createElement("li",{key:e},wp.element.createElement(fe,{onClick:function(){W(n),z(!1)}},e))}))))),x&&wp.element.createElement("span",{className:"bm-base-input__unit",onClick:function(){J&&Y(!K)}},x,J&&K&&wp.element.createElement(pe,{position:"bottom right",className:"bm-unit-popover",onClose:function(){return Y(!1)}},wp.element.createElement("div",{className:"bm-unit-popover__content"},wp.element.createElement("ul",null,k.map((function(e){return wp.element.createElement("li",{key:e},wp.element.createElement(fe,{onClick:function(){y(e)}},e))})))))),$&&wp.element.createElement(pe,{position:"bottom right",className:"bm-global-popover"},wp.element.createElement("div",{className:"bm-global-popover__content",style:{width:"200px"}},wp.element.createElement("h3",null,"Global Variables"),wp.element.createElement("ul",null,null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.variables)||void 0===t?void 0:t.map((function(e){var t=e.id,n=e.type,c=e.name,o=e.values,l=(null==o?void 0:o[Z])||"";return wp.element.createElement("li",{key:t},wp.element.createElement(fe,{onClick:function(){b("g:".concat(t)),q(!1)}},wp.element.createElement("span",{style:{height:20,width:20,background:"color"===n?l:"transparent"}},"A"),c))})))))),s&&!G?wp.element.createElement(fe,{className:"bm-base-input__increment",onClick:function(){var e=E?parseInt(E):0;W(e+m)}},wp.element.createElement(ye,null)):null)},xe=function(e){var t=e.name,n=void 0===t?"":t,c=e.onReset,o=void 0!==c&&c;if(n)return wp.element.createElement("div",{className:"bm-control-label"},n,!1===o?null:wp.element.createElement(je,{onReset:o}))},ke=function(e){var t=e.children,n=e.label,c=void 0===n?"":n,o=e.className,l=void 0===o?"":o;return wp.element.createElement("div",{className:"bm-row ".concat(l)},c&&wp.element.createElement("div",{className:"bm-row__label"},c),t)},je=function(e){var t=e.onReset;return wp.element.createElement(fe,{label:"Reset",showTooltip:!0,className:"bm-reset",onClick:t},wp.element.createElement(v,null))},Re=function(e){var t=e.label,n=void 0===t?"":t,c=e.value,o=void 0===c?"normal":c,l=e.onChange;return wp.element.createElement("div",{className:"bm-state-control"},wp.element.createElement(xe,{name:n}),wp.element.createElement(ke,null,["normal","hover","active"].map((function(e){return wp.element.createElement(fe,{key:e,className:"".concat(o===e?"is-active":""),onClick:function(){l(e)}},"normal"===e&&wp.element.createElement(h,null),"hover"===e&&wp.element.createElement(d,null),"active"===e&&wp.element.createElement(g,null),wp.element.createElement("span",{className:"bm-state-control__label"},e))}))))},Ve=function(){var e,t=document.querySelector('iframe[name="editor-canvas"]');return t?null==t||null===(e=t.contentWindow)||void 0===e?void 0:e.document:document},Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";if(!e)return t;var n=null==e?void 0:e.match(/[^0-9]/g);return n?null==n?void 0:n.join(""):t},Ne=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return n;var c=(null==e||null===(t=e.match(/[0-9]+/g))||void 0===t?void 0:t[0])||n;return c?Number(c):n},Oe=function(e,t,n){var c=(e=Pe(e)).split(";");"desktop"===n&&(c[0]=t),"tablet"===n&&(c[1]=t),"mobile"===n&&(c[2]=t);var o=c.join(";");return";;"===o?"":o},Me=function(e,t){var n=(e=Pe(e)).split(";");return"tablet"===t?(null==n?void 0:n[1])||"":"mobile"===t?(null==n?void 0:n[2])||"":(null==n?void 0:n[0])||""},Pe=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,c=e?e.split(t):[];c.length<n;)c.push("");return c.slice(0,n).join(t)},Le=n(470);wp.isShallowEqual;function Be(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 c,o,l,a,r=[],i=!0,m=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=l.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,o=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw o}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return He(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return He(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function He(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Ie=function(e){var t=e.parent,n=e.id,o=e.style,l=e.selector,a=Be((0,c.useState)(o),2),r=(a[0],a[1]),i=function(){return"style-"+(n=(n=(n=(n=(n=n||l).replace(/\s+/g,"-")).replace(/[^a-zA-Z0-9-]/g,"")).replaceAll("#","")).replaceAll("wp-block-",""))},m=Ve(),u=function(){var e=i();if(!m.getElementById(e)){var t=m.createElement("style");return t.id=e,m.head.appendChild(t),t}};(0,c.useEffect)((function(){u()}),[]),(0,c.useEffect)((function(){r(o)}),[o]),(0,c.useEffect)((function(){var e=m.getElementById(i());e||(e=u());var n="";n+=function(e,t,n){var c,o,l,a,r,i,m,u,s,w,p,f,v,h,d,g,E,b,y="",C=n,x="".concat(n,":hover"),k="".concat(n,":focus");return e&&(x=(x=n.replace(":hover","")).replace("#block-".concat(e," >"),"#block-".concat(e,":hover >")),k=(k=n.replace(":focus","")).replace("#block-".concat(e," >"),"#block-".concat(e,":focus >"))),y+=O(null==t||null===(c=t.normal)||void 0===c?void 0:c.display,C),y+=O(null==t||null===(o=t.hover)||void 0===o?void 0:o.display,x),y+=O(null==t||null===(l=t.focus)||void 0===l?void 0:l.display,k),y+=P(null==t||null===(a=t.normal)||void 0===a?void 0:a.sides,C),y+=P(null==t||null===(r=t.hover)||void 0===r?void 0:r.sides,x),y+=P(null==t||null===(i=t.focus)||void 0===i?void 0:i.sides,k),y+=I(null==t||null===(m=t.normal)||void 0===m?void 0:m.position,C),y+=I(null==t||null===(u=t.hover)||void 0===u?void 0:u.position,x),y+=I(null==t||null===(s=t.focus)||void 0===s?void 0:s.position,k),y+=T(null==t||null===(w=t.normal)||void 0===w?void 0:w.zIndex,C),y+=T(null==t||null===(p=t.hover)||void 0===p?void 0:p.zIndex,x),y+=T(null==t||null===(f=t.focus)||void 0===f?void 0:f.zIndex,k),y+=A(null==t||null===(v=t.normal)||void 0===v?void 0:v.dimentions,C),y+=A(null==t||null===(h=t.hover)||void 0===h?void 0:h.dimentions,x),y+=A(null==t||null===(d=t.focus)||void 0===d?void 0:d.dimentions,k),y+=me(null==t||null===(g=t.normal)||void 0===g?void 0:g.flex,C),y+=me(null==t||null===(E=t.hover)||void 0===E?void 0:E.flex,x),y+me(null==t||null===(b=t.focus)||void 0===b?void 0:b.flex,k)}(t,o,l),e.innerHTML=n}),[o])},ze=n(838);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 _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},_e.apply(this,arguments)}function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function De(e,t,n){var c;return c=function(e,t){if("object"!=Ge(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=Ge(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Ge(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Te(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 c,o,l,a,r=[],i=!0,m=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=l.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,o=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw o}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return We(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return We(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function We(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Fe=(0,c.memo)((function(e){var t=e.device,n=e.deviceType,o=e.element,l=e.style,a=e.onChange,r=Te((0,c.useState)("normal"),2),i=r[0],m=r[1],u=function(e){var t,n;return o?(null==l||null===(n=l[o])||void 0===n||null===(n=n[i])||void 0===n?void 0:n[e])||"":(null==l||null===(t=l[i])||void 0===t?void 0:t[e])||""},s=(0,c.useRef)();(0,c.useEffect)((function(){if(null!=s&&s.current){var e="bm-controls--hover",t=function(){document.body.classList.add(e)},n=function(){document.body.classList.remove(e)};return s.current.addEventListener("mouseenter",t),s.current.addEventListener("mouseleave",n),function(){s.current&&(s.current.removeEventListener("mouseenter",t),s.current.removeEventListener("mouseleave",n))}}}),[]);var w=function(e){return Me(u(e),t)},p=function(e,n){!function(e,t){var n;a(Ze(Ze({},l),{},o?De({},o,Ze(Ze({},null==l?void 0:l[o]),{},De({},i,Ze(Ze({},null==l||null===(n=l[o])||void 0===n?void 0:n[i]),{},De({},e,t))))):De({},i,Ze(Ze({},null==l?void 0:l[i]),{},De({},e,t)))))}(e,Oe(u(e),n,t))};return wp.element.createElement("div",{ref:s,className:"bm-controls"},wp.element.createElement(Re,{value:i,onChange:function(e){return m(e)}}),wp.element.createElement(de,{className:"bm-responsive--position bm-control-seperator",label:(0,Le.__)("Layout","bm"),device:n}),wp.element.createElement(M,_e({},e,{value:w("display"),onChange:function(e){return p("display",e)}})),w("display")&&w("display").includes("f")?wp.element.createElement(se,_e({},e,{value:w("flex"),onChange:function(e){return p("flex",e)}})):null,wp.element.createElement(z,_e({},e,{value:w("position"),onChange:function(e){return p("position",e)}})),wp.element.createElement(B,_e({},e,{value:w("sides"),onChange:function(e){return p("sides",e)}})),wp.element.createElement(W,_e({},e,{value:w("zIndex"),onChange:function(e){return p("zIndex",e)}})),wp.element.createElement(de,{className:"bm-responsive--position bm-control-seperator",label:(0,Le.__)("Box Model","bm"),device:n}),wp.element.createElement(D,_e({},e,{value:w("dimentions"),onChange:function(e){return p("dimentions",e)}})))})),Ue=(0,c.memo)((function(e){var t=e.id,n=e.title,c=void 0===n?"Style":n,l=e.initialOpen,a=void 0===l||l,r=e.style,i=e.onChange,m=e.selector,u=void 0===m?"":m,s=e.clientId,w=void 0===s?"":s,p=e.allowed,f=void 0===p?{}:p,v=(0,ve.useSelect)((function(e){return e("core/editor").getDeviceType()})),h=v.toLowerCase();return wp.element.createElement(React.Fragment,null,wp.element.createElement(Ie,{style:r,selector:u||"#block-".concat(w)}),wp.element.createElement(ze.InspectorControls,null,wp.element.createElement(o.PanelBody,{title:c,initialOpen:a},wp.element.createElement(Fe,{deviceType:v,device:h,id:t,clientId:w,selector:u||"#block-".concat(w),element:"",style:r,onChange:i,allowed:f}))))})),$e=n(164);n(964),wp.compose,wp.hooks;function qe(e){return qe="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},qe(e)}function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach((function(t){Ye(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ye(e,t,n){var c;return c=function(e,t){if("object"!=qe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=qe(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==qe(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Je=function(e){var t=e.childs,n=void 0===t?[]:t,c=e.placeholder,o=e.allowedBlocks,l=e.template,a=e.blockProps,r={templateLock:!1,renderAppender:ze.InnerBlocks.ButtonBlockAppender};o&&(r.allowedBlocks=o),l&&(r.template=l);var i=(0,ze.useInnerBlocksProps)(Ke(Ke({},a),{},{className:(0,$e.A)(a.className,"bm-inner-blocks")}),r);return c&&0===n.length?wp.element.createElement("div",i,c):wp.element.createElement("div",i)}},838:function(e){e.exports=wp.blockEditor},964:function(e){e.exports=wp.blocks},470:function(e){e.exports=wp.i18n},164:function(e,t,n){function c(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=c(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}t.A=function(){for(var e,t,n=0,o="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=c(e))&&(o&&(o+=" "),o+=t);return o}}},t={};function n(c){var o=t[c];if(void 0!==o)return o.exports;var l=t[c]={exports:{}};return e[c](l,l.exports,n),l.exports}n.d=function(e,t){for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e=n(964);function t(e){return t="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},t(e)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function o(e,n,c){var o;return o=function(e,n){if("object"!=t(e)||!e)return e;var c=e[Symbol.toPrimitive];if(void 0!==c){var o=c.call(e,n||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(n,"string"),(n="symbol"==t(o)?o:String(o))in e?Object.defineProperty(e,n,{value:c,enumerable:!0,configurable:!0,writable:!0}):e[n]=c,e}var l=JSON.parse('{"$schema":"https://json.schemastore.org/block.json","apiVersion":3,"name":"bm/section","title":"Section","description":"Allow to create a section for the content.","version":"0.0.1","icon":"editor-table","attributes":{"_bm_id":{"type":"string","default":""},"_bm_style":{"type":"object"}},"category":"blocks-monster","textdomain":"blocks-monster","style":"file:./css/style.css","editorScript":"file:./js/index.js"}'),a=n(164),r=n(838),i=n(277),m=function(e){var t=e.attributes,n=t._bm_id,c=t._bm_style,o=e.setAttributes,l=e.className,m=e.clientId,u=(0,a.A)(l),s=(0,r.useBlockProps)({className:u});return wp.element.createElement(React.Fragment,null,wp.element.createElement(i.H2,{id:n,clientId:m,style:c,onChange:function(e){o({_bm_style:e})}}),wp.element.createElement(i.Tj,{blockProps:s}))},u=(n(470),function(){var e=r.useBlockProps.save();return wp.element.createElement("div",e,wp.element.createElement(r.InnerBlocks.Content,null))});!function(t){if(t){var n=t.metadata,l=t.settings,a=t.name;(0,e.registerBlockType)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({name:a},n),l)}}({name:l.name,metadata:l,settings:{icon:"list-view",edit:m,save:u}})}()}(); -
blocks-monster/trunk/includes/gutenberg/controls/assets/js/controls.js
r3223886 r3223892 1 !function(){"use strict";var e={838:function(e){e.exports=wp.blockEditor},964:function(e){e.exports=wp.blocks},470:function(e){e.exports=wp.i18n}},t={};function n(c){var l=t[c];if(void 0!==l)return l.exports;var o=t[c]={exports:{}};return e[c](o,o.exports,n),o.exports}n.d=function(e,t){for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var c={};!function(){n.d(c,{aE:function(){return he},$n:function(){return re},nl:function(){return S},so:function(){return le},JU:function(){return de},AM:function(){return ae},yX:function(){return G},Yn:function(){return ge},Ft:function(){return ue},fI:function(){return ve},Hw:function(){return H},Uw:function(){return Ee},Py:function(){return P},om:function(){return ke},ZX:function(){return Re},Mi:function(){return j},x7:function(){return Ce},De:function(){return ne},z:function(){return xe},eT:function(){return be},ph:function(){return B},gB:function(){return M},wR:function(){return z},Xc:function(){return ye}});var e=wp.element,t=wp.components,l=function(){return wp.element.createElement(t.SVG,{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.25",y:"0.75",width:"11.5",height:"0.5",rx:"0.25",stroke:"currentColor",strokeWidth:"0.5"}))},o=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}))},a=function(){return wp.element.createElement(t.SVG,{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3C2 2.44772 2.44772 2 3 2H8C8.55228 2 9 2.44772 9 3V8C9 8.55228 8.55228 9 8 9H3C2.44772 9 2 8.55228 2 8V3Z"}),wp.element.createElement(t.Path,{d:"M2 2H9H2ZM9 9H2H9ZM3 9C2.28203 9 1.7 8.41797 1.7 7.7V3.3C1.7 2.58203 2.28203 2 3 2H3C2.6134 2 2.3 2.44772 2.3 3V8C2.3 8.55228 2.6134 9 3 9H3ZM8 2C8.71797 2 9.3 2.58203 9.3 3.3V7.7C9.3 8.41797 8.71797 9 8 9H8C8.3866 9 8.7 8.55228 8.7 8V3C8.7 2.44772 8.3866 2 8 2H8Z",fill:"currentColor"}))},r=function(){return wp.element.createElement(t.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(t.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}))},i=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Rect,{x:"2.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"5.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"8.75",y:"2.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"8.75",y:"4.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"2.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"5.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"2.75",y:"6.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}))},m=function(){return wp.element.createElement(t.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(t.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}),wp.element.createElement(t.Rect,{x:"3.15",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"5.29282",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"7.43577",y:"3.65",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"7.43577",y:"4.84995",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"3.15",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"5.29282",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"3.15",y:"6.05002",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}))},u=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"}))},s=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"}))},w=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}))},p=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(t.Path,{d:"M5 13C5 16.866 8.13401 20 12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6H7M7 6L10 3M7 6L10 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},f=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1.2505 3.89576C0.748063 2.55595 2.05645 1.24758 3.39625 1.75001L17.6801 7.10645C19.2686 7.70213 19.0552 10.0135 17.3846 10.3083L10.9452 11.4447L9.80882 17.8841C9.51399 19.5548 7.20261 19.7681 6.60694 18.1796L1.2505 3.89576ZM2.81105 3.31056L8.16749 17.5944L9.30382 11.155C9.42557 10.4652 9.96565 9.92508 10.6555 9.80333L17.0949 8.667L2.81105 3.31056Z",fill:"currentColor"}))},h=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{d:"M16.8892 10.2777C15.8892 9.22216 14.5559 8.49994 13.167 8.22216C12.5559 8.0555 11.9448 7.94439 11.3336 7.88883C12.8892 6.0555 12.6114 3.27772 10.7781 1.72216C8.94475 0.166608 6.16698 0.444386 4.61142 2.27772C3.05587 4.11105 3.33364 6.88883 5.16698 8.44439C5.50031 8.72216 5.83364 8.94438 6.16698 9.0555V10.2777L5.27809 9.44439C4.50031 8.66661 3.22253 8.66661 2.3892 9.44439C1.61142 10.2222 1.55586 11.4444 2.33364 12.2222L4.8892 15.2222C5.00031 15.9999 5.27809 16.7222 5.66698 17.3888C5.94475 17.8888 6.33364 18.3888 6.72253 18.7777V19.8333C6.72253 20.1666 6.94475 20.3888 7.27809 20.3888H14.8336C15.1114 20.3888 15.3892 20.111 15.3892 19.8333V18.3888C16.4448 17.1111 17.0003 15.4999 17.0003 13.8888V10.6666C17.0559 10.4444 17.0003 10.3333 16.8892 10.2777ZM4.66698 5.0555C4.66698 3.22216 6.16698 1.77772 8.00031 1.83327C9.83364 1.83327 11.2781 3.33327 11.2225 5.16661C11.2225 6.16661 10.7781 7.0555 10.0003 7.66661V4.88883C9.94475 3.88883 9.11142 3.11105 8.11142 3.11105C7.11142 3.0555 6.22253 3.88883 6.22253 4.88883V7.77772C5.27809 7.22216 4.72253 6.16661 4.66698 5.0555ZM15.9448 13.8333C16.0003 15.2777 15.5003 16.6666 14.5559 17.7777C14.4448 17.8888 14.3336 17.9999 14.3336 18.1666V19.3333H7.8892V18.5555C7.8892 18.3888 7.77809 18.2222 7.66698 18.1111C7.27809 17.7777 6.94475 17.3888 6.66698 16.8888C6.33364 16.3333 6.11142 15.6666 6.00031 14.9999C6.00031 14.8888 5.94475 14.7777 5.8892 14.6666L3.22253 11.4999C3.05587 11.3333 2.94475 11.1111 2.94475 10.8333C2.94475 10.6111 3.05587 10.3333 3.22253 10.1666C3.61142 9.83327 4.16698 9.83327 4.55587 10.1666L6.16698 11.7777V13.4444L7.22253 12.8888V4.88883C7.27809 4.49994 7.61142 4.16661 8.05587 4.22216C8.44475 4.22216 8.83364 4.49994 8.83364 4.88883V11.2777L9.94475 11.4999V8.94438C10.0003 8.88883 10.0559 8.88883 10.1114 8.83327C10.5003 8.83327 10.8892 8.88883 11.2781 8.94438V11.7777L12.167 11.9444V9.0555L12.8336 9.22216C13.1114 9.27772 13.3892 9.38883 13.667 9.49994V12.2777L14.5559 12.4444V9.88883C15.0559 10.1111 15.5003 10.4444 15.8892 10.8333L15.9448 13.8333Z",fill:"currentColor"}))},d=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M7.50033 3.4165V2.1665M4.21754 4.71705L3.33366 3.83317M4.21754 11.3332L3.33366 12.2171M10.8337 4.71705L11.7176 3.83317M2.91699 7.99984H1.66699M13.2207 13.9912L11.1442 17.8473C10.9071 18.2879 10.7884 18.5082 10.6457 18.5639C10.5219 18.6123 10.3824 18.5986 10.2703 18.5272C10.1411 18.4448 10.0675 18.2058 9.92016 17.7276L7.03798 8.37088C6.91766 7.98026 6.85749 7.78495 6.9059 7.65303C6.94807 7.53813 7.03862 7.44758 7.15352 7.40542C7.28543 7.35701 7.48074 7.41717 7.87137 7.5375L17.228 10.4197C17.7062 10.567 17.9452 10.6407 18.0276 10.7698C18.0991 10.882 18.1127 11.0214 18.0643 11.1453C18.0087 11.288 17.7883 11.4066 17.3478 11.6438L13.4917 13.7203C13.4262 13.7555 13.3934 13.7731 13.3648 13.7958C13.3393 13.8158 13.3163 13.8388 13.2962 13.8643C13.2736 13.8929 13.256 13.9257 13.2207 13.9912Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},v=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(t.Path,{d:"M13.01 2.92007L18.91 5.54007C20.61 6.29007 20.61 7.53007 18.91 8.28007L13.01 10.9001C12.34 11.2001 11.24 11.2001 10.57 10.9001L4.67 8.28007C2.97 7.53007 2.97 6.29007 4.67 5.54007L10.57 2.92007C11.24 2.62007 12.34 2.62007 13.01 2.92007Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(t.Path,{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(t.Path,{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}))},g=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M9 7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM8 7v10H7V7zm2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},E=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M7 6a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zm0 1h10v1H7zm1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m9 0a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},C=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M18 7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zm-1 0v10h-1V7zM8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm-5 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},x=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m-8 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zM7 15a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm0 1h10v1H7z",clipRule:"evenodd"}))},b=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{d:"M0 4V0H4M8 0H12V4M12 8V12H8M4 12H0V8",stroke:"black",strokeWidth:"2"}))},y=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}))},k=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}),wp.element.createElement(t.Rect,{x:"2",y:"2",width:"4",height:"4",fill:"black"}))},R=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(t.Rect,{x:"3.5",y:"3.5",width:"5",height:"5",stroke:"black",strokeLinecap:"square"}))},V=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(t.Line,{x1:"2",y1:"4",x2:"10",y2:"4",stroke:"black",strokeWidth:"2"}))},N={n:"none",b:"block",i:"inline",ib:"inline-block",f:"flex",if:"inline-flex"},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=N&&N[e]?"display: ".concat(null==N?void 0:N[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},S=(0,e.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,u=void 0===c?"":c,s=function(e){n(e)},w=t;return wp.element.createElement("div",{className:"bm-display-control"},wp.element.createElement(de,{name:"Display",onReset:function(){n(u)}}),wp.element.createElement("div",{className:"bm-display-control__group"},wp.element.createElement(re,{label:"None",showTooltip:!0,className:"".concat("n"===w?"is-active":""),onClick:function(){return s("n")}},wp.element.createElement(l,null)),wp.element.createElement(re,{label:"Block",showTooltip:!0,className:"".concat("b"===w?"is-active":""),onClick:function(){return s("b")}},wp.element.createElement(o,null)),wp.element.createElement(re,{label:"Inline",showTooltip:!0,className:"".concat("i"===w?"is-active":""),onClick:function(){return s("i")}},wp.element.createElement(a,null)),wp.element.createElement(re,{label:"Inline Block",showTooltip:!0,className:"".concat("ib"===w?"is-active":""),onClick:function(){return s("ib")}},wp.element.createElement(r,null)),wp.element.createElement(re,{label:"Flex",showTooltip:!0,className:"".concat("f"===w?"is-active":""),onClick:function(){return s("f")}},wp.element.createElement(i,null)),wp.element.createElement(re,{label:"Inline Flex",showTooltip:!0,className:"".concat("if"===w?"is-active":""),onClick:function(){return s("if")}},wp.element.createElement(m,null))))})),M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(L(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(L(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(L(n[2])," } }"):""].filter(Boolean).join("\n")},L=function(e){var t,n,c,l;if(!e)return"";var o=Re(e,",",4),a=(null===(t=o=o.split(","))||void 0===t?void 0:t[0])||"",r=be(a,""),i=xe(a,"px"),m=(null===(n=o)||void 0===n?void 0:n[1])||"",u=be(m,""),s=xe(m,"px"),w=(null===(c=o)||void 0===c?void 0:c[2])||"",p=be(w,""),f=xe(w,"px"),h=(null===(l=o)||void 0===l?void 0:l[3])||"",d=be(h,""),v=xe(h,"px"),g=[];return g.push("top: ".concat(r).concat(i,";")),g.push("right: ".concat(u).concat(s,";")),g.push("bottom: ".concat(p).concat(f,";")),g.push("left: ".concat(d).concat(v,";")),g.join("")},H=function(e){var t,n,c,l,o=e.value,a=e.onChange,r=e.reset,i=void 0===r?"":r,m=Re(o,",",4),u=(null===(t=m=m.split(","))||void 0===t?void 0:t[0])||"",s=be(u,""),w=xe(u,"px"),p=(null===(n=m)||void 0===n?void 0:n[1])||"",f=be(p,""),h=xe(p,"px"),d=(null===(c=m)||void 0===c?void 0:c[2])||"",v=be(d,""),b=xe(d,"px"),y=(null===(l=m)||void 0===l?void 0:l[3])||"",k=be(y,""),R=xe(y,"px"),V=function(e){a(e)};return wp.element.createElement("div",{className:"bm-sides-control"},wp.element.createElement(de,{name:"Sides",onReset:function(){a(i)}}),wp.element.createElement("div",{className:"bm-position-control__sides"},wp.element.createElement(he,{min:-9999,value:k,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(f).concat(h,",").concat(v).concat(b,",").concat(e).concat(R))},icon:wp.element.createElement(g,null),unit:R,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(f).concat(h,",").concat(v).concat(b,",").concat(k).concat(e))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(he,{min:-9999,value:s,placeholder:"auto",onChange:function(e){V("".concat(e).concat(w,",").concat(f).concat(h,",").concat(v).concat(b,",").concat(k).concat(R))},icon:wp.element.createElement(E,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(e,",").concat(f).concat(h,",").concat(v).concat(b,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(he,{min:-9999,value:f,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(e).concat(h,",").concat(v).concat(b,",").concat(k).concat(R))},icon:wp.element.createElement(C,null),unit:h,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(f).concat(e,",").concat(v).concat(b,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(he,{min:-9999,value:v,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(f).concat(h,",").concat(e).concat(b,",").concat(k).concat(R))},icon:wp.element.createElement(x,null),unit:b,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(f).concat(h,",").concat(v).concat(e,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}})))},I={s:"static",r:"relative",a:"absolute",f:"fixed",st:"sticky"},B=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=I&&I[e]?"position: ".concat(null==I?void 0:I[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},G=(0,e.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=function(e){n(e)},a=t;return wp.element.createElement("div",{className:"bm-position-control"},wp.element.createElement(de,{name:"Position",onReset:function(){n(l)}}),wp.element.createElement(ve,{className:"bm-position-control__group"},wp.element.createElement(re,{label:"Static",showTooltip:!0,className:"".concat("s"===a?"is-active":""),onClick:function(){return o("s")}},wp.element.createElement(b,null)),wp.element.createElement(re,{label:"Relative",showTooltip:!0,className:"".concat("r"===a?"is-active":""),onClick:function(){return o("r")}},wp.element.createElement(y,null)),wp.element.createElement(re,{label:"Absolute",showTooltip:!0,className:"".concat("a"===a?"is-active":""),onClick:function(){return o("a")}},wp.element.createElement(k,null)),wp.element.createElement(re,{label:"Fixed",showTooltip:!0,className:"".concat("f"===a?"is-active":""),onClick:function(){return o("f")}},wp.element.createElement(R,null)),wp.element.createElement(re,{label:"Sticky",showTooltip:!0,className:"".concat("st"===a?"is-active":""),onClick:function(){return o("st")}},wp.element.createElement(V,null))))})),z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(e){return e?"z-index: ".concat(e,";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},P=function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=t,a=function(e){n(Number(e))};return wp.element.createElement("div",{className:"bm-z-index-control"},wp.element.createElement(de,{name:"Z Index",onReset:function(){n(l)}}),wp.element.createElement(he,{value:o,placeholder:"0",onChange:function(e){a(e)},icon:wp.element.createElement(v,null)}))},O=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"11",viewBox:"0 0 8 11"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M4 10.207.646 6.854l.708-.708L3.5 8.293V0h1v8.293l2.146-2.147.708.708z"}))},_=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"7",viewBox:"0 0 11 7"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M10.707 3.5 7.354.146l-.708.708L8.793 3H.5v1h8.293L6.646 6.146l.708.708z"}))},Z=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M8 3h2c1.933 0 3.5 1.567 3.5 3.5 0 1.933-1.567 3.5-3.5 3.5H4.707l2.147 2.146-.708.708-3-3-.353-.354.353-.354 3-3 .708.708L4.707 9H10c1.38 0 2.5-1.12 2.5-2.5C12.5 5.12 11.38 4 10 4H8z"}))},W=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M15 14.75c0 .138.112.25.25.25h.25a.5.5 0 0 1 0 1h-.25c-.69 0-1.25-.56-1.25-1.25v-6.5c0-.69.56-1.25 1.25-1.25h.25a.5.5 0 0 1 0 1h-.25a.25.25 0 0 0-.25.25zm-8 .75a.5.5 0 0 1 .5-.5h.25a.25.25 0 0 0 .25-.25v-6.5A.25.25 0 0 0 7.75 8H7.5a.5.5 0 0 1 0-1h.25C8.44 7 9 7.56 9 8.25v6.5C9 15.44 8.44 16 7.75 16H7.5a.5.5 0 0 1-.5-.5m4-2a.5.5 0 1 0 1 0v-4a.5.5 0 0 0-1 0z",clipRule:"evenodd"}))},A=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M7.5 7a.5.5 0 0 1 .5.5v.25c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V7.5a.5.5 0 0 1 1 0v.25C16 8.44 15.44 9 14.75 9h-6.5C7.56 9 7 8.44 7 7.75V7.5a.5.5 0 0 1 .5-.5m.75 8a.25.25 0 0 0-.25.25v.25a.5.5 0 0 1-1 0v-.25c0-.69.56-1.25 1.25-1.25h6.5c.69 0 1.25.56 1.25 1.25v.25a.5.5 0 0 1-1 0v-.25a.25.25 0 0 0-.25-.25zm1.25-4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},T=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"13",width:"5",height:"2"}))},F=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"6.5",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"7.5",y:"13",width:"5",height:"2"}))},D=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"8",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"10",y:"13",width:"5",height:"2"}))},U=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"13.5",width:"7",height:"2",transform:"rotate(-90 5 13.5)"}),wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(t.Rect,{x:"13",y:"12.5",width:"5",height:"2",transform:"rotate(-90 13 12.5)"}))},q=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"15",width:"7",height:"2",transform:"rotate(-90 5 15)"}),wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(t.Rect,{x:"13",y:"15",width:"5",height:"2",transform:"rotate(-90 13 15)"}))},X=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"7",height:"2",transform:"matrix(0 1 1 0 5 5)"}),wp.element.createElement(t.Rect,{width:"10",height:"2",transform:"matrix(0 1 1 0 9 5)"}),wp.element.createElement(t.Rect,{width:"5",height:"2",transform:"matrix(0 1 1 0 13 5)"}))},$=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},K=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 7 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 11 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},Y=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},J=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}))},Q=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"7.5",y:"9",width:"5",height:"2"}))},ee=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}))},te=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"9",y:"12.5",width:"5",height:"2",transform:"rotate(-90 9 12.5)"}))},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(ce(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(ce(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(ce(n[2])," } }"):""].filter(Boolean).join("\n")},ce=function(e){var t,n,c,l,o,a,r;if(!e)return"";var i=Re(e,",",7),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";switch(e){case"c":return"column";case"r":return"row";case"cr":return"column-reverse";case"rr":return"row-reverse"}return t}(null===(t=i=i.split(","))||void 0===t?void 0:t[0]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"w":return"wrap";case"n":return"nowrap";case"rw":return"wrap-reverse"}return t}(null===(n=i)||void 0===n?void 0:n[1]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"b":return"baseline"}return t}(null===(c=i)||void 0===c?void 0:c[2]),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(l=i)||void 0===l?void 0:l[3]),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(o=i)||void 0===o?void 0:o[4]),f=(null===(a=i)||void 0===a?void 0:a[5])||"",h=be(f,""),d=xe(f,"px"),v=(null===(r=i)||void 0===r?void 0:r[6])||"",g=be(v,""),E=xe(v,"px"),C=[];return m&&C.push("flex-direction: ".concat(m,";")),u&&C.push("flex-wrap: ".concat(u,";")),s&&C.push("align-items: ".concat(s,";")),w&&C.push("align-content: ".concat(w,";")),p&&C.push("justify-content: ".concat(p,";")),h&&C.push("row-gap: ".concat(h).concat(d,";")),g&&C.push("column-gap: ".concat(g).concat(E,";")),C.join("")},le=function(e){var t,n,c,l,o,a,r,i=e.value,m=e.onChange,u=e.reset,s=void 0===u?"":u,w=Re(i,",",7),p=(null===(t=w=w.split(","))||void 0===t?void 0:t[0])||"c",f=(null===(n=w)||void 0===n?void 0:n[1])||"",h=(null===(c=w)||void 0===c?void 0:c[2])||"",d=(null===(l=w)||void 0===l?void 0:l[3])||"",v=(null===(o=w)||void 0===o?void 0:o[4])||"",g=(null===(a=w)||void 0===a?void 0:a[5])||"",E=be(g,""),C=xe(g,"px"),x=(null===(r=w)||void 0===r?void 0:r[6])||"",b=be(x,""),y=xe(x,"px"),k=function(e){m(e)},R=function(e){return(null==e?void 0:e.flexDirection)===p&&(null==e?void 0:e.flexWrap)===f&&(null==e?void 0:e.alignItems)===h&&(null==e?void 0:e.alignContent)===d&&(null==e?void 0:e.justifyContent)===v};return wp.element.createElement("div",{className:"bm-flex-control"},wp.element.createElement(de,{name:"Flex Box",onReset:function(){m(s)}}),wp.element.createElement("div",{className:"bm-flex-control__display"},wp.element.createElement(re,{className:"".concat("c"===p?"is-active":""),onClick:function(){k("c,".concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(O,null)),wp.element.createElement(re,{className:"".concat("r"===p&&"w"!==f?"is-active":""),onClick:function(){k("r,,".concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(_,null)),wp.element.createElement(re,{className:"".concat("w"===f?"is-active":""),onClick:function(){k("r,w,".concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Z,null))),wp.element.createElement("div",{className:"bm-flex-control__align-box"},wp.element.createElement("div",{className:"bm-flex-control__align-left"},"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(X,null)):wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(T,null))),"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(X,null)):wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fs,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(X,null)):wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(D,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-center"},"w"===f?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"c",alignContent:"fs"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(U,null))):wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(e){k("".concat(p,",").concat(f,",fs,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(T,null))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null)):wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(U,null))):wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Q,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(U,null))):wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(D,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-right"},"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fe,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(q,null)):wp.element.createElement(re,{className:R({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fs,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(T,null))),"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,c,fe,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(q,null)):wp.element.createElement(React.Fragment,null,"sb"===v?wp.element.createElement(re,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null)):wp.element.createElement(re,{className:R({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(f,",c,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(F,null)))),"w"===f?wp.element.createElement(re,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,fe,fe,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(q,null)):wp.element.createElement(re,{className:R({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(f,",fe,").concat(d,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(D,null))))),wp.element.createElement("div",{className:"bm-flex-control__gap"},wp.element.createElement(he,{value:E,onChange:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(e).concat(C,",").concat("w"!==f?e:b).concat(y))},icon:wp.element.createElement(W,null),unit:C,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(E).concat(e,",").concat(b).concat("w"!==f?e:y))}}),"w"===f&&wp.element.createElement(he,{placeholder:E,value:b,onChange:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(e).concat(y))},icon:wp.element.createElement(A,null),unit:y,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(f,",").concat(h,",").concat(d,",").concat(v,",").concat(E).concat(C,",").concat(b).concat(e))}})))};function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},oe.apply(this,arguments)}var ae=function(n){var c=(0,e.useRef)();return(0,e.useEffect)((function(){var e=function(e){c.current&&!c.current.contains(e.target)&&n.onClose()};return function(){return document.removeEventListener("mousedown",e)}}),[c]),wp.element.createElement(t.Popover,oe({},n,{ref:c,className:"bm-popover"}),wp.element.createElement("div",{ref:c},n.children))},re=function(e){var n=e.style,c=void 0===n?{}:n,l=e.icon,o=void 0===l?null:l,a=e.label,r=void 0===a?"":a,i=e.showTooltip,m=void 0!==i&&i,u=e.onClick,s=e.className,w=e.children;return wp.element.createElement(t.Button,{style:c,icon:o,label:r,showTooltip:m,className:"bm-button-control ".concat(s),onClick:u},w)},ie=wp.data,me=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M11.5 6a.5.5 0 0 1 .5.5V11h4.5a.5.5 0 0 1 0 1H12v4.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H11V6.5a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}))},ue=function(e){var t=e.className,n=e.label,c=e.device,l=e.onAddNew,o=e.onReset,a=void 0!==o&&o;return wp.element.createElement("div",{className:"bm-responsive ".concat(t)},n&&wp.element.createElement("label",null,n),!1===a?null:wp.element.createElement(ge,{onReset:a}),wp.element.createElement("div",{className:"bm-responsive__buttons"},["Desktop","Tablet","Mobile"].map((function(e,t){return wp.element.createElement(re,{label:e,showTooltip:!0,key:t,className:"bm-responsive__button ".concat(c.toLowerCase()===e.toLowerCase()?"is-active":""),onClick:function(){return t=e,void(0,ie.dispatch)("core/editor").setDeviceType(t);var t}},"Desktop"===e?wp.element.createElement(u,null):"Tablet"===e?wp.element.createElement(s,null):wp.element.createElement(w,null))}))),l&&wp.element.createElement(re,{label:"Add new",showTooltip:!0,className:"bm-responsive__add-new",onClick:l},wp.element.createElement(me,null)))};function se(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return we(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return we(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var pe=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.80109 2.07902 5.61032 2.21967 5.46967C2.36032 5.32902 2.55109 5.25 2.75 5.25H9.25C9.44891 5.25 9.63968 5.32902 9.78033 5.46967C9.92098 5.61032 10 5.80109 10 6C10 6.19891 9.92098 6.38968 9.78033 6.53033C9.63968 6.67098 9.44891 6.75 9.25 6.75H2.75C2.55109 6.75 2.36032 6.67098 2.21967 6.53033C2.07902 6.38968 2 6.19891 2 6Z",fill:"currentColor"}))},fe=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 9.25a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5Z",fill:"currentColor"}))},he=function(t){var n,c,l=t.canDrag,o=void 0===l||l,a=t.className,r=void 0===a?"":a,i=t.step,m=void 0===i?1:i,u=t.withIncrementors,s=void 0!==u&&u,w=t.placeholder,f=void 0===w?0:w,h=t.min,d=void 0===h?0:h,v=t.max,g=t.direction,E=t.value,C=t.onChange,x=t.onChangeUnit,b=t.icon,y=t.unit,k=t.units,R=t.suggests,V=void 0===R?{}:R,N=se((0,e.useState)(!1),2),j=N[0],S=(N[1],se((0,e.useState)(!1),2)),M=S[0],L=S[1],H=se((0,e.useState)(!1),2),I=H[0],B=H[1],G=se((0,e.useState)(!1),2),z=G[0],P=G[1],O=E&&"string"==typeof E&&E.startsWith("g:"),_="",Z="",W="";O&&(_=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e?void 0:e.name)||""):""}(Z=E.replace("g:","")),W=(null===(c=ctcGbGlobalStyles)||void 0===c||null===(c=c.collections)||void 0===c||null===(c=c.modes)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.id)||"");var A=function(e){return!e||("string"==typeof e&&(e=e.trim()),!!e&&e.toString().match(/^[0-9]+$/))},T=function(e){if(o){L(!0);var t=E||0,n="vertical"===g?e.clientY:e.clientX,c=function(e){if(A(t)){var c="vertical"===g?e.clientY:e.clientX,l=t+(c-n);"vertical"===g&&(l=t-(c-n)),F(l)}};document.addEventListener("mousemove",c),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",e),L(!1)}))}},F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e||(e=0),A(e)&&(t&&n&&("increase"===n&&(e=parseInt(e)+t),"decrease"===n&&(e=parseInt(e)-t)),(e=parseInt(e))<=d&&(e=d),e>=v&&(e=v)),C(e)},D=E?8*E.toString().length:8,U=se((0,e.useState)(!1),2),q=U[0],X=U[1],$=se((0,e.useState)(!1),2),K=$[0],Y=$[1],J=k&&k.length>1;return wp.element.createElement("div",{className:"bm-base-input ".concat(r," ").concat(j?"is-hovered":""," ").concat(M?"is-dragging":""," ").concat(I?"is-focused":""," ").concat("vertical"===g?"is-vertical":""," ").concat(s?"with-incrementors":""," ").concat(o?"bm-can-drag":"")},b&&wp.element.createElement("div",{className:"bm-base-input__icon",onMouseDown:function(e){O||T(e)},onMouseUp:function(){O||L(!1)}},b),s&&!O?wp.element.createElement(re,{className:"bm-base-input__decrement",onClick:function(){var e=E?parseInt(E):0;F(e-m)}},wp.element.createElement(pe,null)):null,O?wp.element.createElement("span",{className:"bm-global"},_,wp.element.createElement(re,{onClick:function(){F(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e||null===(e=e.values)||void 0===e?void 0:e[c])||""):""}(Z))}},wp.element.createElement(p,null))):wp.element.createElement(React.Fragment,null,wp.element.createElement("input",{style:{width:D},placeholder:f,autoComplete:"false",spellCheck:"false",dir:"auto",value:E,onChange:function(e){F(e.target.value)},onClick:function(){B(!0)},onFocus:function(){B(!0)},onBlur:function(){return B(!1)},onMouseDown:T,onMouseUp:function(){return L(!1)},onKeyDown:function(e){"ArrowUp"===e.key?F(E,e.shiftKey?10:1,"increase"):"ArrowDown"===e.key&&F(E,e.shiftKey?10:1,"decrease")}}),Object.keys(V).length>1&&!0===z&&wp.element.createElement(ae,{position:"bottom right",className:"bm-suggest-popover",onClose:function(){return P(!1)}},wp.element.createElement("div",{className:"bm-suggest-popover__content"},wp.element.createElement("ul",null,Object.keys(V).map((function(e){var t,n=(null===(t=V[e])||void 0===t?void 0:t.value)||"";return wp.element.createElement("li",{key:e},wp.element.createElement(re,{onClick:function(){F(n),P(!1)}},e))}))))),y&&wp.element.createElement("span",{className:"bm-base-input__unit",onClick:function(){J&&Y(!K)}},y,J&&K&&wp.element.createElement(ae,{position:"bottom right",className:"bm-unit-popover",onClose:function(){return Y(!1)}},wp.element.createElement("div",{className:"bm-unit-popover__content"},wp.element.createElement("ul",null,k.map((function(e){return wp.element.createElement("li",{key:e},wp.element.createElement(re,{onClick:function(){x(e)}},e))})))))),q&&wp.element.createElement(ae,{position:"bottom right",className:"bm-global-popover"},wp.element.createElement("div",{className:"bm-global-popover__content",style:{width:"200px"}},wp.element.createElement("h3",null,"Global Variables"),wp.element.createElement("ul",null,null===(n=ctcGbGlobalStyles)||void 0===n||null===(n=n.collections)||void 0===n||null===(n=n.variables)||void 0===n?void 0:n.map((function(e){var t=e.id,n=e.type,c=e.name,l=e.values,o=(null==l?void 0:l[W])||"";return wp.element.createElement("li",{key:t},wp.element.createElement(re,{onClick:function(){C("g:".concat(t)),X(!1)}},wp.element.createElement("span",{style:{height:20,width:20,background:"color"===n?o:"transparent"}},"A"),c))})))))),s&&!O?wp.element.createElement(re,{className:"bm-base-input__increment",onClick:function(){var e=E?parseInt(E):0;F(e+m)}},wp.element.createElement(fe,null)):null)},de=function(e){var t=e.name,n=void 0===t?"":t,c=e.onReset,l=void 0!==c&&c;if(n)return wp.element.createElement("div",{className:"bm-control-label"},n,!1===l?null:wp.element.createElement(ge,{onReset:l}))},ve=function(e){var t=e.children,n=e.label,c=void 0===n?"":n,l=e.className,o=void 0===l?"":l;return wp.element.createElement("div",{className:"bm-row ".concat(o)},c&&wp.element.createElement("div",{className:"bm-row__label"},c),t)},ge=function(e){var t=e.onReset;return wp.element.createElement(re,{label:"Reset",showTooltip:!0,className:"bm-reset",onClick:t},wp.element.createElement(p,null))},Ee=function(e){var t=e.label,n=void 0===t?"":t,c=e.value,l=void 0===c?"normal":c,o=e.onChange;return wp.element.createElement("div",{className:"bm-state-control"},wp.element.createElement(de,{name:n}),wp.element.createElement(ve,null,["normal","hover","active"].map((function(e){return wp.element.createElement(re,{key:e,className:"".concat(l===e?"is-active":""),onClick:function(){o(e)}},"normal"===e&&wp.element.createElement(f,null),"hover"===e&&wp.element.createElement(h,null),"active"===e&&wp.element.createElement(d,null),wp.element.createElement("span",{className:"bm-state-control__label"},e))}))))},Ce=function(){var e,t=document.querySelector('iframe[name="editor-canvas"]');return t?null==t||null===(e=t.contentWindow)||void 0===e?void 0:e.document:document},xe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";if(!e)return t;var n=null==e?void 0:e.match(/[^0-9]/g);return n?null==n?void 0:n.join(""):t},be=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return n;var c=(null==e||null===(t=e.match(/[0-9]+/g))||void 0===t?void 0:t[0])||n;return c?Number(c):n},ye=function(e,t,n){var c=(e=Re(e)).split(";");"desktop"===n&&(c[0]=t),"tablet"===n&&(c[1]=t),"mobile"===n&&(c[2]=t);var l=c.join(";");return";;"===l?"":l},ke=function(e,t){var n=(e=Re(e)).split(";");return"tablet"===t?(null==n?void 0:n[1])||"":"mobile"===t?(null==n?void 0:n[2])||"":(null==n?void 0:n[0])||""},Re=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,c=e?e.split(t):[];c.length<n;)c.push("");return c.slice(0,n).join(t)},Ve=n(470);wp.isShallowEqual;function Ne(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return je(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Se=function(t){var n=t.parent,c=t.id,l=t.style,o=t.selector,a=Ne((0,e.useState)(l),2),r=(a[0],a[1]),i=function(){return"style-"+(c=(c=(c=(c=(c=c||o).replace(/\s+/g,"-")).replace(/[^a-zA-Z0-9-]/g,"")).replaceAll("#","")).replaceAll("wp-block-",""))},m=Ce(),u=function(){var e=i();if(!m.getElementById(e)){var t=m.createElement("style");return t.id=e,m.head.appendChild(t),t}};(0,e.useEffect)((function(){u()}),[]),(0,e.useEffect)((function(){r(l)}),[l]),(0,e.useEffect)((function(){var e=m.getElementById(i());e||(e=u());var t="";t+=function(e,t,n){var c,l,o,a,r,i,m,u,s,w,p,f,h,d,v,g="",E=n,C="".concat(n,":hover"),x="".concat(n,":focus");return e&&(C=(C=n.replace(":hover","")).replace("#block-".concat(e," >"),"#block-".concat(e,":hover >")),x=(x=n.replace(":focus","")).replace("#block-".concat(e," >"),"#block-".concat(e,":focus >"))),g+=j(null==t||null===(c=t.normal)||void 0===c?void 0:c.display,E),g+=j(null==t||null===(l=t.hover)||void 0===l?void 0:l.display,C),g+=j(null==t||null===(o=t.focus)||void 0===o?void 0:o.display,x),g+=M(null==t||null===(a=t.normal)||void 0===a?void 0:a.sides,E),g+=M(null==t||null===(r=t.hover)||void 0===r?void 0:r.sides,C),g+=M(null==t||null===(i=t.focus)||void 0===i?void 0:i.sides,x),g+=B(null==t||null===(m=t.normal)||void 0===m?void 0:m.position,E),g+=B(null==t||null===(u=t.hover)||void 0===u?void 0:u.position,C),g+=B(null==t||null===(s=t.focus)||void 0===s?void 0:s.position,x),g+=z(null==t||null===(w=t.normal)||void 0===w?void 0:w.zIndex,E),g+=z(null==t||null===(p=t.hover)||void 0===p?void 0:p.zIndex,C),g+=z(null==t||null===(f=t.focus)||void 0===f?void 0:f.zIndex,x),g+=ne(null==t||null===(h=t.normal)||void 0===h?void 0:h.flex,E),g+=ne(null==t||null===(d=t.hover)||void 0===d?void 0:d.flex,C),g+ne(null==t||null===(v=t.focus)||void 0===v?void 0:v.flex,x)}(n,l,o),e.innerHTML=t}),[l])},Me=n(838);function Le(e){return Le="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},Le(e)}function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},He.apply(this,arguments)}function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(n),!0).forEach((function(t){Ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ge(e,t,n){var c;return c=function(e,t){if("object"!=Le(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=Le(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Le(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ze(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Oe=(0,e.memo)((function(t){var n=t.device,c=t.deviceType,l=t.element,o=t.style,a=t.onChange,r=ze((0,e.useState)("normal"),2),i=r[0],m=r[1],u=function(e){var t,n;return l?(null==o||null===(n=o[l])||void 0===n||null===(n=n[i])||void 0===n?void 0:n[e])||"":(null==o||null===(t=o[i])||void 0===t?void 0:t[e])||""},s=(0,e.useRef)();(0,e.useEffect)((function(){if(null!=s&&s.current){var e="bm-controls--hover",t=function(){document.body.classList.add(e)},n=function(){document.body.classList.remove(e)};return s.current.addEventListener("mouseenter",t),s.current.addEventListener("mouseleave",n),function(){s.current&&(s.current.removeEventListener("mouseenter",t),s.current.removeEventListener("mouseleave",n))}}}),[]);var w=function(e){return ke(u(e),n)},p=function(e,t){!function(e,t){var n;a(Be(Be({},o),{},l?Ge({},l,Be(Be({},null==o?void 0:o[l]),{},Ge({},i,Be(Be({},null==o||null===(n=o[l])||void 0===n?void 0:n[i]),{},Ge({},e,t))))):Ge({},i,Be(Be({},null==o?void 0:o[i]),{},Ge({},e,t)))))}(e,ye(u(e),t,n))};return wp.element.createElement("div",{ref:s,className:"bm-controls"},wp.element.createElement(Ee,{value:i,onChange:function(e){return m(e)}}),wp.element.createElement(ue,{className:"bm-responsive--position bm-control-seperator",label:(0,Ve.__)("Layout","bm"),device:c}),wp.element.createElement(S,He({},t,{value:w("display"),onChange:function(e){return p("display",e)}})),w("display")&&w("display").includes("f")?wp.element.createElement(le,He({},t,{value:w("flex"),onChange:function(e){return p("flex",e)}})):null,wp.element.createElement(G,He({},t,{value:w("position"),onChange:function(e){return p("position",e)}})),wp.element.createElement(H,He({},t,{value:w("sides"),onChange:function(e){return p("sides",e)}})),wp.element.createElement(P,He({},t,{value:w("zIndex"),onChange:function(e){return p("zIndex",e)}})))}));(0,e.memo)((function(e){var n=e.id,c=e.title,l=void 0===c?"Style":c,o=e.initialOpen,a=void 0===o||o,r=e.style,i=e.onChange,m=e.selector,u=void 0===m?"":m,s=e.clientId,w=void 0===s?"":s,p=e.allowed,f=void 0===p?{}:p,h=(0,ie.useSelect)((function(e){return e("core/editor").getDeviceType()})),d=h.toLowerCase();return wp.element.createElement(React.Fragment,null,wp.element.createElement(Se,{style:r,selector:u||"#block-".concat(w)}),wp.element.createElement(Me.InspectorControls,null,wp.element.createElement(t.PanelBody,{title:l,initialOpen:a},wp.element.createElement(Oe,{deviceType:h,device:d,id:n,clientId:w,selector:u||"#block-".concat(w),element:"",style:r,onChange:i,allowed:f}))))})),n(964),wp.compose,wp.hooks}()}();1 !function(){"use strict";var e={838:function(e){e.exports=wp.blockEditor},964:function(e){e.exports=wp.blocks},470:function(e){e.exports=wp.i18n}},t={};function n(c){var l=t[c];if(void 0!==l)return l.exports;var o=t[c]={exports:{}};return e[c](o,o.exports,n),o.exports}n.d=function(e,t){for(var c in t)n.o(t,c)&&!n.o(e,c)&&Object.defineProperty(e,c,{enumerable:!0,get:t[c]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var c={};!function(){n.d(c,{aE:function(){return xe},$n:function(){return pe},ZK:function(){return W},nl:function(){return M},so:function(){return ue},JU:function(){return be},AM:function(){return we},yX:function(){return G},Yn:function(){return ke},Ft:function(){return ve},fI:function(){return ye},Hw:function(){return B},Uw:function(){return Re},Py:function(){return T},om:function(){return Me},ZX:function(){return Le},i7:function(){return O},Mi:function(){return S},x7:function(){return Ve},De:function(){return ie},z:function(){return Ne},eT:function(){return je},ph:function(){return I},gB:function(){return L},wR:function(){return A},Xc:function(){return Se}});var e=wp.element,t=wp.components,l=function(){return wp.element.createElement(t.SVG,{width:"12",height:"2",viewBox:"0 0 12 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.25",y:"0.75",width:"11.5",height:"0.5",rx:"0.25",stroke:"currentColor",strokeWidth:"0.5"}))},o=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}))},a=function(){return wp.element.createElement(t.SVG,{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3C2 2.44772 2.44772 2 3 2H8C8.55228 2 9 2.44772 9 3V8C9 8.55228 8.55228 9 8 9H3C2.44772 9 2 8.55228 2 8V3Z"}),wp.element.createElement(t.Path,{d:"M2 2H9H2ZM9 9H2H9ZM3 9C2.28203 9 1.7 8.41797 1.7 7.7V3.3C1.7 2.58203 2.28203 2 3 2H3C2.6134 2 2.3 2.44772 2.3 3V8C2.3 8.55228 2.6134 9 3 9H3ZM8 2C8.71797 2 9.3 2.58203 9.3 3.3V7.7C9.3 8.41797 8.71797 9 8 9H8C8.3866 9 8.7 8.55228 8.7 8V3C8.7 2.44772 8.3866 2 8 2H8Z",fill:"currentColor"}))},r=function(){return wp.element.createElement(t.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(t.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}))},i=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"1",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Rect,{x:"2.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"5.75",y:"2.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"8.75",y:"2.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"8.75",y:"4.75",width:"0.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"2.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"5.75",y:"4.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}),wp.element.createElement(t.Rect,{x:"2.75",y:"6.75",width:"1.5",height:"0.5",stroke:"currentColor",strokeWidth:"0.5"}))},m=function(){return wp.element.createElement(t.SVG,{width:"11",height:"12",viewBox:"0 0 11 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"1",width:"10",height:"10",rx:"1.5",stroke:"currentColor"}),wp.element.createElement(t.Path,{d:"M2 3.5C2 2.94772 2.44772 2.5 3 2.5H8C8.55228 2.5 9 2.94772 9 3.5V8.5C9 9.05228 8.55228 9.5 8 9.5H3C2.44772 9.5 2 9.05228 2 8.5V3.5Z"}),wp.element.createElement(t.Path,{d:"M3 2.8H8V2.2H3V2.8ZM8.7 3.5V8.5H9.3V3.5H8.7ZM8 9.2H3V9.8H8V9.2ZM2.3 8.5V3.5H1.7V8.5H2.3ZM3 9.2C2.6134 9.2 2.3 8.8866 2.3 8.5H1.7C1.7 9.21797 2.28203 9.8 3 9.8V9.2ZM8.7 8.5C8.7 8.8866 8.3866 9.2 8 9.2V9.8C8.71797 9.8 9.3 9.21797 9.3 8.5H8.7ZM8 2.8C8.3866 2.8 8.7 3.1134 8.7 3.5H9.3C9.3 2.78203 8.71797 2.2 8 2.2V2.8ZM3 2.2C2.28203 2.2 1.7 2.78203 1.7 3.5H2.3C2.3 3.1134 2.6134 2.8 3 2.8V2.2Z",fill:"currentColor"}),wp.element.createElement(t.Rect,{x:"3.15",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"5.29282",y:"3.65",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"7.43577",y:"3.65",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"7.43577",y:"4.84995",width:"0.414286",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"3.15",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"5.29282",y:"4.84995",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}),wp.element.createElement(t.Rect,{x:"3.15",y:"6.05002",width:"1.12857",height:"0.3",stroke:"currentColor",strokeWidth:"0.3"}))},u=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M5.5 18a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 1 0v11a.5.5 0 0 1-.5.5m13 0a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 1 0v11a.5.5 0 0 1-.5.5M7.604 8l1.882 8h1.03L12 10.062 13.485 16h1.029l1.882-8h-1.027l-1.384 5.88L12.515 8h-1.03l-1.47 5.88L8.63 8z",clipRule:"evenodd"}))},s=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M20.5 16h-.7V8c0-1.1-.9-2-2-2H6.2c-1.1 0-2 .9-2 2v8h-.7c-.8 0-1.5.7-1.5 1.5h20c0-.8-.7-1.5-1.5-1.5zM5.7 8c0-.3.2-.5.5-.5h11.6c.3 0 .5.2.5.5v7.6H5.7V8z"}))},w=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M17 4H7c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H7c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h10c.3 0 .5.2.5.5v12zm-7.5-.5h4V16h-4v1.5z"}))},p=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M15 4H9c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 14c0 .3-.2.5-.5.5H9c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h6c.3 0 .5.2.5.5v12zm-4.5-.5h2V16h-2v1.5z"}))},h=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(t.Path,{d:"M5 13C5 16.866 8.13401 20 12 20C15.866 20 19 16.866 19 13C19 9.13401 15.866 6 12 6H7M7 6L10 3M7 6L10 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},f=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M1.2505 3.89576C0.748063 2.55595 2.05645 1.24758 3.39625 1.75001L17.6801 7.10645C19.2686 7.70213 19.0552 10.0135 17.3846 10.3083L10.9452 11.4447L9.80882 17.8841C9.51399 19.5548 7.20261 19.7681 6.60694 18.1796L1.2505 3.89576ZM2.81105 3.31056L8.16749 17.5944L9.30382 11.155C9.42557 10.4652 9.96565 9.92508 10.6555 9.80333L17.0949 8.667L2.81105 3.31056Z",fill:"currentColor"}))},v=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{d:"M16.8892 10.2777C15.8892 9.22216 14.5559 8.49994 13.167 8.22216C12.5559 8.0555 11.9448 7.94439 11.3336 7.88883C12.8892 6.0555 12.6114 3.27772 10.7781 1.72216C8.94475 0.166608 6.16698 0.444386 4.61142 2.27772C3.05587 4.11105 3.33364 6.88883 5.16698 8.44439C5.50031 8.72216 5.83364 8.94438 6.16698 9.0555V10.2777L5.27809 9.44439C4.50031 8.66661 3.22253 8.66661 2.3892 9.44439C1.61142 10.2222 1.55586 11.4444 2.33364 12.2222L4.8892 15.2222C5.00031 15.9999 5.27809 16.7222 5.66698 17.3888C5.94475 17.8888 6.33364 18.3888 6.72253 18.7777V19.8333C6.72253 20.1666 6.94475 20.3888 7.27809 20.3888H14.8336C15.1114 20.3888 15.3892 20.111 15.3892 19.8333V18.3888C16.4448 17.1111 17.0003 15.4999 17.0003 13.8888V10.6666C17.0559 10.4444 17.0003 10.3333 16.8892 10.2777ZM4.66698 5.0555C4.66698 3.22216 6.16698 1.77772 8.00031 1.83327C9.83364 1.83327 11.2781 3.33327 11.2225 5.16661C11.2225 6.16661 10.7781 7.0555 10.0003 7.66661V4.88883C9.94475 3.88883 9.11142 3.11105 8.11142 3.11105C7.11142 3.0555 6.22253 3.88883 6.22253 4.88883V7.77772C5.27809 7.22216 4.72253 6.16661 4.66698 5.0555ZM15.9448 13.8333C16.0003 15.2777 15.5003 16.6666 14.5559 17.7777C14.4448 17.8888 14.3336 17.9999 14.3336 18.1666V19.3333H7.8892V18.5555C7.8892 18.3888 7.77809 18.2222 7.66698 18.1111C7.27809 17.7777 6.94475 17.3888 6.66698 16.8888C6.33364 16.3333 6.11142 15.6666 6.00031 14.9999C6.00031 14.8888 5.94475 14.7777 5.8892 14.6666L3.22253 11.4999C3.05587 11.3333 2.94475 11.1111 2.94475 10.8333C2.94475 10.6111 3.05587 10.3333 3.22253 10.1666C3.61142 9.83327 4.16698 9.83327 4.55587 10.1666L6.16698 11.7777V13.4444L7.22253 12.8888V4.88883C7.27809 4.49994 7.61142 4.16661 8.05587 4.22216C8.44475 4.22216 8.83364 4.49994 8.83364 4.88883V11.2777L9.94475 11.4999V8.94438C10.0003 8.88883 10.0559 8.88883 10.1114 8.83327C10.5003 8.83327 10.8892 8.88883 11.2781 8.94438V11.7777L12.167 11.9444V9.0555L12.8336 9.22216C13.1114 9.27772 13.3892 9.38883 13.667 9.49994V12.2777L14.5559 12.4444V9.88883C15.0559 10.1111 15.5003 10.4444 15.8892 10.8333L15.9448 13.8333Z",fill:"currentColor"}))},d=function(){return wp.element.createElement(t.SVG,{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false"},wp.element.createElement(t.Path,{d:"M7.50033 3.4165V2.1665M4.21754 4.71705L3.33366 3.83317M4.21754 11.3332L3.33366 12.2171M10.8337 4.71705L11.7176 3.83317M2.91699 7.99984H1.66699M13.2207 13.9912L11.1442 17.8473C10.9071 18.2879 10.7884 18.5082 10.6457 18.5639C10.5219 18.6123 10.3824 18.5986 10.2703 18.5272C10.1411 18.4448 10.0675 18.2058 9.92016 17.7276L7.03798 8.37088C6.91766 7.98026 6.85749 7.78495 6.9059 7.65303C6.94807 7.53813 7.03862 7.44758 7.15352 7.40542C7.28543 7.35701 7.48074 7.41717 7.87137 7.5375L17.228 10.4197C17.7062 10.567 17.9452 10.6407 18.0276 10.7698C18.0991 10.882 18.1127 11.0214 18.0643 11.1453C18.0087 11.288 17.7883 11.4066 17.3478 11.6438L13.4917 13.7203C13.4262 13.7555 13.3934 13.7731 13.3648 13.7958C13.3393 13.8158 13.3163 13.8388 13.2962 13.8643C13.2736 13.8929 13.256 13.9257 13.2207 13.9912Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}))},g=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none"},wp.element.createElement(t.Path,{d:"M13.01 2.92007L18.91 5.54007C20.61 6.29007 20.61 7.53007 18.91 8.28007L13.01 10.9001C12.34 11.2001 11.24 11.2001 10.57 10.9001L4.67 8.28007C2.97 7.53007 2.97 6.29007 4.67 5.54007L10.57 2.92007C11.24 2.62007 12.34 2.62007 13.01 2.92007Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(t.Path,{d:"M3 11C3 11.84 3.63 12.81 4.4 13.15L11.19 16.17C11.71 16.4 12.3 16.4 12.81 16.17L19.6 13.15C20.37 12.81 21 11.84 21 11",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}),wp.element.createElement(t.Path,{d:"M3 16C3 16.93 3.55 17.77 4.4 18.15L11.19 21.17C11.71 21.4 12.3 21.4 12.81 21.17L19.6 18.15C20.45 17.77 21 16.93 21 16",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"}))},E=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M9 7a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zM8 7v10H7V7zm2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},C=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M7 6a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1zm0 1h10v1H7zm1 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m9 0a.5.5 0 0 0-1 0 .5.5 0 0 0 0 1 1 1 0 0 0 1-1m-7 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},x=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M18 7a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1zm-1 0v10h-1V7zM8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm-5 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm0 3a.5.5 0 0 0-1 0 1 1 0 0 0 1 1 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},b=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M8 7a1 1 0 0 0-1 1 .5.5 0 0 0 1 0 .5.5 0 0 0 0-1m2 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1zm3 0a.5.5 0 0 0 0 1 .5.5 0 0 0 1 0 1 1 0 0 0-1-1m-8 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm-9 3a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zm9 0a.5.5 0 0 0-1 0v1a.5.5 0 0 0 1 0zM7 15a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm0 1h10v1H7z",clipRule:"evenodd"}))},y=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{d:"M0 4V0H4M8 0H12V4M12 8V12H8M4 12H0V8",stroke:"black",strokeWidth:"2"}))},k=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}))},R=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black"}),wp.element.createElement(t.Rect,{x:"2",y:"2",width:"4",height:"4",fill:"black"}))},V=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(t.Rect,{x:"3.5",y:"3.5",width:"5",height:"5",stroke:"black",strokeLinecap:"square"}))},N=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"0.5",y:"0.5",width:"11",height:"11",rx:"0.5",stroke:"black",strokeLinecap:"square",strokeLinejoin:"round"}),wp.element.createElement(t.Line,{x1:"2",y1:"4",x2:"10",y2:"4",stroke:"black",strokeWidth:"2"}))},j={n:"none",b:"block",i:"inline",ib:"inline-block",f:"flex",if:"inline-flex"},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=j&&j[e]?"display: ".concat(null==j?void 0:j[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},M=(0,e.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,u=void 0===c?"":c,s=function(e){n(e)},w=t;return wp.element.createElement("div",{className:"bm-display-control"},wp.element.createElement(be,{name:"Display",onReset:function(){n(u)}}),wp.element.createElement("div",{className:"bm-display-control__group"},wp.element.createElement(pe,{label:"None",showTooltip:!0,className:"".concat("n"===w?"is-active":""),onClick:function(){return s("n")}},wp.element.createElement(l,null)),wp.element.createElement(pe,{label:"Block",showTooltip:!0,className:"".concat("b"===w?"is-active":""),onClick:function(){return s("b")}},wp.element.createElement(o,null)),wp.element.createElement(pe,{label:"Inline",showTooltip:!0,className:"".concat("i"===w?"is-active":""),onClick:function(){return s("i")}},wp.element.createElement(a,null)),wp.element.createElement(pe,{label:"Inline Block",showTooltip:!0,className:"".concat("ib"===w?"is-active":""),onClick:function(){return s("ib")}},wp.element.createElement(r,null)),wp.element.createElement(pe,{label:"Flex",showTooltip:!0,className:"".concat("f"===w?"is-active":""),onClick:function(){return s("f")}},wp.element.createElement(i,null)),wp.element.createElement(pe,{label:"Inline Flex",showTooltip:!0,className:"".concat("if"===w?"is-active":""),onClick:function(){return s("if")}},wp.element.createElement(m,null))))})),L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(H(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(H(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(H(n[2])," } }"):""].filter(Boolean).join("\n")},H=function(e){var t,n,c,l;if(!e)return"";var o=Le(e,",",4),a=(null===(t=o=o.split(","))||void 0===t?void 0:t[0])||"",r=je(a,""),i=Ne(a,"px"),m=(null===(n=o)||void 0===n?void 0:n[1])||"",u=je(m,""),s=Ne(m,"px"),w=(null===(c=o)||void 0===c?void 0:c[2])||"",p=je(w,""),h=Ne(w,"px"),f=(null===(l=o)||void 0===l?void 0:l[3])||"",v=je(f,""),d=Ne(f,"px"),g=[];return g.push("top: ".concat(r).concat(i,";")),g.push("right: ".concat(u).concat(s,";")),g.push("bottom: ".concat(p).concat(h,";")),g.push("left: ".concat(v).concat(d,";")),g.join("")},B=function(e){var t,n,c,l,o=e.value,a=e.onChange,r=e.reset,i=void 0===r?"":r,m=Le(o,",",4),u=(null===(t=m=m.split(","))||void 0===t?void 0:t[0])||"",s=je(u,""),w=Ne(u,"px"),p=(null===(n=m)||void 0===n?void 0:n[1])||"",h=je(p,""),f=Ne(p,"px"),v=(null===(c=m)||void 0===c?void 0:c[2])||"",d=je(v,""),g=Ne(v,"px"),y=(null===(l=m)||void 0===l?void 0:l[3])||"",k=je(y,""),R=Ne(y,"px"),V=function(e){a(e)};return wp.element.createElement("div",{className:"bm-sides-control"},wp.element.createElement(be,{name:"Sides",onReset:function(){a(i)}}),wp.element.createElement("div",{className:"bm-position-control__sides"},wp.element.createElement(xe,{min:-9999,value:k,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(h).concat(f,",").concat(d).concat(g,",").concat(e).concat(R))},icon:wp.element.createElement(E,null),unit:R,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(h).concat(f,",").concat(d).concat(g,",").concat(k).concat(e))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(xe,{min:-9999,value:s,placeholder:"auto",onChange:function(e){V("".concat(e).concat(w,",").concat(h).concat(f,",").concat(d).concat(g,",").concat(k).concat(R))},icon:wp.element.createElement(C,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(e,",").concat(h).concat(f,",").concat(d).concat(g,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(xe,{min:-9999,value:h,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(e).concat(f,",").concat(d).concat(g,",").concat(k).concat(R))},icon:wp.element.createElement(x,null),unit:f,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(h).concat(e,",").concat(d).concat(g,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}}),wp.element.createElement(xe,{min:-9999,value:d,placeholder:"auto",onChange:function(e){V("".concat(s).concat(w,",").concat(h).concat(f,",").concat(e).concat(g,",").concat(k).concat(R))},icon:wp.element.createElement(b,null),unit:g,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){V("".concat(s).concat(w,",").concat(h).concat(f,",").concat(d).concat(e,",").concat(k).concat(R))},suggests:{auto:"auto",0:"0",10:"10",20:"20",50:"50",100:"100"}})))},z={s:"static",r:"relative",a:"absolute",f:"fixed",st:"sticky"},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return null!=z&&z[e]?"position: ".concat(null==z?void 0:z[e],";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},G=(0,e.memo)((function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=function(e){n(e)},a=t;return wp.element.createElement("div",{className:"bm-position-control"},wp.element.createElement(be,{name:"Position",onReset:function(){n(l)}}),wp.element.createElement(ye,{className:"bm-position-control__group"},wp.element.createElement(pe,{label:"Static",showTooltip:!0,className:"".concat("s"===a?"is-active":""),onClick:function(){return o("s")}},wp.element.createElement(y,null)),wp.element.createElement(pe,{label:"Relative",showTooltip:!0,className:"".concat("r"===a?"is-active":""),onClick:function(){return o("r")}},wp.element.createElement(k,null)),wp.element.createElement(pe,{label:"Absolute",showTooltip:!0,className:"".concat("a"===a?"is-active":""),onClick:function(){return o("a")}},wp.element.createElement(R,null)),wp.element.createElement(pe,{label:"Fixed",showTooltip:!0,className:"".concat("f"===a?"is-active":""),onClick:function(){return o("f")}},wp.element.createElement(V,null)),wp.element.createElement(pe,{label:"Sticky",showTooltip:!0,className:"".concat("st"===a?"is-active":""),onClick:function(){return o("st")}},wp.element.createElement(N,null))))})),P=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M10 8a2 2 0 1 1 4 0v1.5a.5.5 0 1 0 1 0V8a3 3 0 0 0-6 0v1.5a.5.5 0 0 0 1 0zm0 8a2 2 0 1 0 4 0v-1.5a.5.5 0 1 1 1 0V16a3 3 0 0 1-6 0v-1.5a.5.5 0 0 1 1 0z",clipRule:"evenodd"}))},_=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M10 8a2 2 0 1 1 4 0v1.5a.5.5 0 0 0 1 0V8a3 3 0 1 0-6 0v1.5a.5.5 0 0 0 1 0zm0 8a2 2 0 1 0 4 0v-1.5a.5.5 0 0 1 1 0V16a3 3 0 1 1-6 0v-1.5a.5.5 0 0 1 1 0zm2.5-6a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0z",clipRule:"evenodd"}))},O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(Z(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(Z(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(Z(n[2])," } }"):""].filter(Boolean).join("\n")},Z=function(e){var t,n;if(!e)return"";var c=Le(e,",",3),l=(null===(t=c=c.split(","))||void 0===t?void 0:t[0])||"",o=je(l,""),a=Ne(l,"px"),r=(null===(n=c)||void 0===n?void 0:n[1])||"",i=je(r,""),m=Ne(r,"px"),u=[];return u.push("width: ".concat(o).concat(a,";")),u.push("height: ".concat(i).concat(m,";")),u.join("")},W=function(e){var t,n,c,l=e.value,o=e.onChange,a=e.reset,r=void 0===a?"":a,i=Le(l,",",3),m=(null===(t=i=i.split(","))||void 0===t?void 0:t[0])||"",s=je(m,""),w=Ne(m,"px"),p=(null===(n=i)||void 0===n?void 0:n[1])||"",h=je(p,""),f=Ne(p,"px"),v=Number((null===(c=i)||void 0===c?void 0:c[2])||0),d=function(e){o(e)};return wp.element.createElement("div",{className:"bm-width-and-height-control"},wp.element.createElement(be,{name:"Dimentions",onReset:function(){d(r)}}),wp.element.createElement(ye,null,wp.element.createElement(xe,{placeholder:"auto",value:s,onChange:function(e){var t=v?h+(e-s):h;d("".concat(e).concat(w,",").concat(t).concat(f,",").concat(v))},icon:wp.element.createElement(u,null),unit:w,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){d("".concat(s).concat(e,",").concat(h).concat(f,",").concat(v))},suggests:{auto:"auto",100:100,200:200,300:300,400:400}}),wp.element.createElement(xe,{placeholder:"auto",value:h,onChange:function(e){d("".concat(v?s+(e-h):s).concat(w,",").concat(e).concat(f,",").concat(v))},icon:"H",unit:f,units:["px","%","em","rem","vh","vw"],onChangeUnit:function(e){d("".concat(s).concat(w,",").concat(h).concat(e,",").concat(v))},suggests:{auto:"auto",100:100,200:200,300:300,400:400}}),wp.element.createElement(pe,{className:"bm-width-and-height-control__connect ".concat(v?"is-active":""),onClick:function(){var e=0===v?1:0;console.log(v),console.log(e),d("".concat(s).concat(w,",").concat(h).concat(f,",").concat(e))}},v?wp.element.createElement(_,null):wp.element.createElement(P,null))))},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");n=n.map((function(e){return function(e){return e?"z-index: ".concat(e,";"):""}(e)}));var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(n[0]," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(n[1]," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(n[2]," } }"):""].filter(Boolean).join("\n")},T=function(e){var t=e.value,n=e.onChange,c=e.reset,l=void 0===c?"":c,o=t,a=function(e){n(Number(e))};return wp.element.createElement("div",{className:"bm-z-index-control"},wp.element.createElement(be,{name:"Z Index",onReset:function(){n(l)}}),wp.element.createElement(xe,{value:o,placeholder:"0",onChange:function(e){a(e)},icon:wp.element.createElement(g,null)}))},D=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"11",viewBox:"0 0 8 11"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M4 10.207.646 6.854l.708-.708L3.5 8.293V0h1v8.293l2.146-2.147.708.708z"}))},F=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"11",height:"7",viewBox:"0 0 11 7"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M10.707 3.5 7.354.146l-.708.708L8.793 3H.5v1h8.293L6.646 6.146l.708.708z"}))},U=function(){return wp.element.createElement(t.SVG,{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16"},wp.element.createElement(t.Path,{fillRule:"evenodd",stroke:"none",d:"M8 3h2c1.933 0 3.5 1.567 3.5 3.5 0 1.933-1.567 3.5-3.5 3.5H4.707l2.147 2.146-.708.708-3-3-.353-.354.353-.354 3-3 .708.708L4.707 9H10c1.38 0 2.5-1.12 2.5-2.5C12.5 5.12 11.38 4 10 4H8z"}))},q=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M15 14.75c0 .138.112.25.25.25h.25a.5.5 0 0 1 0 1h-.25c-.69 0-1.25-.56-1.25-1.25v-6.5c0-.69.56-1.25 1.25-1.25h.25a.5.5 0 0 1 0 1h-.25a.25.25 0 0 0-.25.25zm-8 .75a.5.5 0 0 1 .5-.5h.25a.25.25 0 0 0 .25-.25v-6.5A.25.25 0 0 0 7.75 8H7.5a.5.5 0 0 1 0-1h.25C8.44 7 9 7.56 9 8.25v6.5C9 15.44 8.44 16 7.75 16H7.5a.5.5 0 0 1-.5-.5m4-2a.5.5 0 1 0 1 0v-4a.5.5 0 0 0-1 0z",clipRule:"evenodd"}))},X=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M7.5 7a.5.5 0 0 1 .5.5v.25c0 .138.112.25.25.25h6.5a.25.25 0 0 0 .25-.25V7.5a.5.5 0 0 1 1 0v.25C16 8.44 15.44 9 14.75 9h-6.5C7.56 9 7 8.44 7 7.75V7.5a.5.5 0 0 1 .5-.5m.75 8a.25.25 0 0 0-.25.25v.25a.5.5 0 0 1-1 0v-.25c0-.69.56-1.25 1.25-1.25h6.5c.69 0 1.25.56 1.25 1.25v.25a.5.5 0 0 1-1 0v-.25a.25.25 0 0 0-.25-.25zm1.25-4a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z",clipRule:"evenodd"}))},$=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"13",width:"5",height:"2"}))},K=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"6.5",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"7.5",y:"13",width:"5",height:"2"}))},Y=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"8",y:"5",width:"7",height:"2"}),wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}),wp.element.createElement(t.Rect,{x:"10",y:"13",width:"5",height:"2"}))},J=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"13.5",width:"7",height:"2",transform:"rotate(-90 5 13.5)"}),wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(t.Rect,{x:"13",y:"12.5",width:"5",height:"2",transform:"rotate(-90 13 12.5)"}))},Q=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"15",width:"7",height:"2",transform:"rotate(-90 5 15)"}),wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}),wp.element.createElement(t.Rect,{x:"13",y:"15",width:"5",height:"2",transform:"rotate(-90 13 15)"}))},ee=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"7",height:"2",transform:"matrix(0 1 1 0 5 5)"}),wp.element.createElement(t.Rect,{width:"10",height:"2",transform:"matrix(0 1 1 0 9 5)"}),wp.element.createElement(t.Rect,{width:"5",height:"2",transform:"matrix(0 1 1 0 13 5)"}))},te=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},ne=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 7 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 11 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},ce=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 15)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 5 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 9 9)"}),wp.element.createElement(t.Rect,{width:"2",height:"4",transform:"matrix(1 0 0 -1 13 9)"}))},le=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"5",y:"9",width:"10",height:"2"}))},oe=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"7.5",y:"9",width:"5",height:"2"}))},ae=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"9",y:"15",width:"10",height:"2",transform:"rotate(-90 9 15)"}))},re=function(){return wp.element.createElement(t.SVG,{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Rect,{x:"9",y:"12.5",width:"5",height:"2",transform:"rotate(-90 9 12.5)"}))},ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if("string"!=typeof e)return"";for(var n=e.split(";");n.length<3;)n.push("");var c="@media (max-width: 782px)",l="@media (max-width: 600px)";return[n[0]?"".concat(t," { ").concat(me(n[0])," }"):"",n[1]?"".concat(c," { ").concat(t," { ").concat(me(n[1])," } }"):"",n[2]?"".concat(l," { ").concat(t," { ").concat(me(n[2])," } }"):""].filter(Boolean).join("\n")},me=function(e){var t,n,c,l,o,a,r;if(!e)return"";var i=Le(e,",",7),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"column";switch(e){case"c":return"column";case"r":return"row";case"cr":return"column-reverse";case"rr":return"row-reverse"}return t}(null===(t=i=i.split(","))||void 0===t?void 0:t[0]),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"w":return"wrap";case"n":return"nowrap";case"rw":return"wrap-reverse"}return t}(null===(n=i)||void 0===n?void 0:n[1]),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"b":return"baseline"}return t}(null===(c=i)||void 0===c?void 0:c[2]),w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"s":return"stretch";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(l=i)||void 0===l?void 0:l[3]),p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"fs":return"flex-start";case"c":return"center";case"fe":return"flex-end";case"sb":return"space-between";case"sa":return"space-around"}return t}(null===(o=i)||void 0===o?void 0:o[4]),h=(null===(a=i)||void 0===a?void 0:a[5])||"",f=je(h,""),v=Ne(h,"px"),d=(null===(r=i)||void 0===r?void 0:r[6])||"",g=je(d,""),E=Ne(d,"px"),C=[];return m&&C.push("flex-direction: ".concat(m,";")),u&&C.push("flex-wrap: ".concat(u,";")),s&&C.push("align-items: ".concat(s,";")),w&&C.push("align-content: ".concat(w,";")),p&&C.push("justify-content: ".concat(p,";")),f&&C.push("row-gap: ".concat(f).concat(v,";")),g&&C.push("column-gap: ".concat(g).concat(E,";")),C.join("")},ue=function(e){var t,n,c,l,o,a,r,i=e.value,m=e.onChange,u=e.reset,s=void 0===u?"":u,w=Le(i,",",7),p=(null===(t=w=w.split(","))||void 0===t?void 0:t[0])||"c",h=(null===(n=w)||void 0===n?void 0:n[1])||"",f=(null===(c=w)||void 0===c?void 0:c[2])||"",v=(null===(l=w)||void 0===l?void 0:l[3])||"",d=(null===(o=w)||void 0===o?void 0:o[4])||"",g=(null===(a=w)||void 0===a?void 0:a[5])||"",E=je(g,""),C=Ne(g,"px"),x=(null===(r=w)||void 0===r?void 0:r[6])||"",b=je(x,""),y=Ne(x,"px"),k=function(e){m(e)},R=function(e){return(null==e?void 0:e.flexDirection)===p&&(null==e?void 0:e.flexWrap)===h&&(null==e?void 0:e.alignItems)===f&&(null==e?void 0:e.alignContent)===v&&(null==e?void 0:e.justifyContent)===d};return wp.element.createElement("div",{className:"bm-flex-control"},wp.element.createElement(be,{name:"Flex Box",onReset:function(){m(s)}}),wp.element.createElement("div",{className:"bm-flex-control__display"},wp.element.createElement(pe,{className:"".concat("c"===p?"is-active":""),onClick:function(){k("c,".concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(D,null)),wp.element.createElement(pe,{className:"".concat("r"===p&&"w"!==h?"is-active":""),onClick:function(){k("r,,".concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(F,null)),wp.element.createElement(pe,{className:"".concat("w"===h?"is-active":""),onClick:function(){k("r,w,".concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(U,null))),wp.element.createElement("div",{className:"bm-flex-control__align-box"},wp.element.createElement("div",{className:"bm-flex-control__align-left"},"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null))),"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"fs",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fs,fs,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ne,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(le,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)))),"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fs,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ce,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ee,null)):wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-center"},"w"===h?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ae,null)):wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"c",alignContent:"fs"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ae,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:""})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null))):wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:"c"})?"is-active":"",onClick:function(e){k("".concat(p,",").concat(h,",fs,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null))),"w"===h?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(re,null)):wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ne,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(re,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null))):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(oe,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)))),"w"===h?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ae,null)):wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"c",alignContent:"c"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("r,w,c,c,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ce,null))):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ae,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(J,null))):wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null)))),wp.element.createElement("div",{className:"bm-flex-control__align-right"},"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"",alignItems:"fe",alignContent:"fs"})?"is-active":"",onClick:function(){k("r,w,fe,fe,,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(te,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:""})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Q,null)):wp.element.createElement(pe,{className:R({alignItems:"fs",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fs,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement($,null))),"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"c",alignItems:"c",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,c,fe,c,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ne,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:"c"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",c,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Q,null)):wp.element.createElement(React.Fragment,null,"sb"===d?wp.element.createElement(pe,{className:R({justifyContent:"sb"})?"is-active":"",onClick:function(e){2===e.detail&&k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(le,null)):wp.element.createElement(pe,{className:R({alignItems:"c",justifyContent:"fe"})?"is-active":"",onClick:function(e){2===e.detail?k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",sb,").concat(E).concat(C,",").concat(b).concat(y)):k("".concat(p,",").concat(h,",c,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(K,null)))),"w"===h?wp.element.createElement(pe,{className:R({flexDirection:"r",flexWrap:"w",justifyContent:"fe",alignItems:"fe",alignContent:"fe"})?"is-active":"",onClick:function(){k("r,w,fe,fe,fe,".concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(ce,null)):wp.element.createElement(React.Fragment,null,"r"===p?wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Q,null)):wp.element.createElement(pe,{className:R({alignItems:"fe",justifyContent:"fe"})?"is-active":"",onClick:function(){k("".concat(p,",").concat(h,",fe,").concat(v,",fe,").concat(E).concat(C,",").concat(b).concat(y))}},wp.element.createElement(Y,null))))),wp.element.createElement("div",{className:"bm-flex-control__gap"},wp.element.createElement(xe,{value:E,onChange:function(e){k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(e).concat(C,",").concat("w"!==h?e:b).concat(y))},icon:wp.element.createElement(q,null),unit:C,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(E).concat(e,",").concat(b).concat("w"!==h?e:y))}}),"w"===h&&wp.element.createElement(xe,{placeholder:E,value:b,onChange:function(e){k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(e).concat(y))},icon:wp.element.createElement(X,null),unit:y,units:["px","em","rem","%"],onChangeUnit:function(e){k("".concat(p,",").concat(h,",").concat(f,",").concat(v,",").concat(d,",").concat(E).concat(C,",").concat(b).concat(e))}})))};function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},se.apply(this,arguments)}var we=function(n){var c=(0,e.useRef)();return(0,e.useEffect)((function(){var e=function(e){c.current&&!c.current.contains(e.target)&&n.onClose()};return function(){return document.removeEventListener("mousedown",e)}}),[c]),wp.element.createElement(t.Popover,se({},n,{ref:c,className:"bm-popover"}),wp.element.createElement("div",{ref:c},n.children))},pe=function(e){var n=e.style,c=void 0===n?{}:n,l=e.icon,o=void 0===l?null:l,a=e.label,r=void 0===a?"":a,i=e.showTooltip,m=void 0!==i&&i,u=e.onClick,s=e.className,w=e.children;return wp.element.createElement(t.Button,{style:c,icon:o,label:r,showTooltip:m,className:"bm-button-control ".concat(s),onClick:u},w)},he=wp.data,fe=function(){return wp.element.createElement(t.SVG,{width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},wp.element.createElement(t.Path,{fillRule:"evenodd",d:"M11.5 6a.5.5 0 0 1 .5.5V11h4.5a.5.5 0 0 1 0 1H12v4.5a.5.5 0 0 1-1 0V12H6.5a.5.5 0 0 1 0-1H11V6.5a.5.5 0 0 1 .5-.5",clipRule:"evenodd"}))},ve=function(e){var t=e.className,n=e.label,c=e.device,l=e.onAddNew,o=e.onReset,a=void 0!==o&&o;return wp.element.createElement("div",{className:"bm-responsive ".concat(t)},n&&wp.element.createElement("label",null,n),!1===a?null:wp.element.createElement(ke,{onReset:a}),wp.element.createElement("div",{className:"bm-responsive__buttons"},["Desktop","Tablet","Mobile"].map((function(e,t){return wp.element.createElement(pe,{label:e,showTooltip:!0,key:t,className:"bm-responsive__button ".concat(c.toLowerCase()===e.toLowerCase()?"is-active":""),onClick:function(){return t=e,void(0,he.dispatch)("core/editor").setDeviceType(t);var t}},"Desktop"===e?wp.element.createElement(s,null):"Tablet"===e?wp.element.createElement(w,null):wp.element.createElement(p,null))}))),l&&wp.element.createElement(pe,{label:"Add new",showTooltip:!0,className:"bm-responsive__add-new",onClick:l},wp.element.createElement(fe,null)))};function de(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ge(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ge(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Ee=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M2 6C2 5.80109 2.07902 5.61032 2.21967 5.46967C2.36032 5.32902 2.55109 5.25 2.75 5.25H9.25C9.44891 5.25 9.63968 5.32902 9.78033 5.46967C9.92098 5.61032 10 5.80109 10 6C10 6.19891 9.92098 6.38968 9.78033 6.53033C9.63968 6.67098 9.44891 6.75 9.25 6.75H2.75C2.55109 6.75 2.36032 6.67098 2.21967 6.53033C2.07902 6.38968 2 6.19891 2 6Z",fill:"currentColor"}))},Ce=function(){return wp.element.createElement(t.SVG,{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(t.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.25 9.25a.75.75 0 0 0 1.5 0v-2.5h2.5a.75.75 0 0 0 0-1.5h-2.5v-2.5a.75.75 0 0 0-1.5 0v2.5h-2.5a.75.75 0 0 0 0 1.5h2.5v2.5Z",fill:"currentColor"}))},xe=function(t){var n,c,l=t.canDrag,o=void 0===l||l,a=t.className,r=void 0===a?"":a,i=t.step,m=void 0===i?1:i,u=t.withIncrementors,s=void 0!==u&&u,w=t.placeholder,p=void 0===w?0:w,f=t.min,v=void 0===f?0:f,d=t.max,g=t.direction,E=t.value,C=t.onChange,x=t.onChangeUnit,b=t.icon,y=t.unit,k=t.units,R=t.suggests,V=void 0===R?{}:R,N=de((0,e.useState)(!1),2),j=N[0],S=(N[1],de((0,e.useState)(!1),2)),M=S[0],L=S[1],H=de((0,e.useState)(!1),2),B=H[0],z=H[1],I=de((0,e.useState)(!1),2),G=I[0],P=I[1],_=E&&"string"==typeof E&&E.startsWith("g:"),O="",Z="",W="";_&&(O=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e?void 0:e.name)||""):""}(Z=E.replace("g:","")),W=(null===(c=ctcGbGlobalStyles)||void 0===c||null===(c=c.collections)||void 0===c||null===(c=c.modes)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.id)||"");var A=function(e){return!e||("string"==typeof e&&(e=e.trim()),!!e&&e.toString().match(/^[0-9]+$/))},T=function(e){if(o){L(!0);var t=E||0,n="vertical"===g?e.clientY:e.clientX,c=function(e){if(A(t)){var c="vertical"===g?e.clientY:e.clientX,l=t+(c-n);"vertical"===g&&(l=t-(c-n)),D(l)}};document.addEventListener("mousemove",c),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",e),L(!1)}))}},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e||(e=0),A(e)&&(t&&n&&("increase"===n&&(e=parseInt(e)+t),"decrease"===n&&(e=parseInt(e)-t)),(e=parseInt(e))<=v&&(e=v),e>=d&&(e=d)),C(e)},F=E?8*E.toString().length:8,U=de((0,e.useState)(!1),2),q=U[0],X=U[1],$=de((0,e.useState)(!1),2),K=$[0],Y=$[1],J=k&&k.length>1;return wp.element.createElement("div",{className:"bm-base-input ".concat(r," ").concat(j?"is-hovered":""," ").concat(M?"is-dragging":""," ").concat(B?"is-focused":""," ").concat("vertical"===g?"is-vertical":""," ").concat(s?"with-incrementors":""," ").concat(o?"bm-can-drag":"")},b&&wp.element.createElement("div",{className:"bm-base-input__icon",onMouseDown:function(e){_||T(e)},onMouseUp:function(){_||L(!1)}},b),s&&!_?wp.element.createElement(pe,{className:"bm-base-input__decrement",onClick:function(){var e=E?parseInt(E):0;D(e-m)}},wp.element.createElement(Ee,null)):null,_?wp.element.createElement("span",{className:"bm-global"},O,wp.element.createElement(pe,{onClick:function(){D(function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n?(c||(c=(null===(t=ctcGbGlobalStyles)||void 0===t||null===(t=t.collections)||void 0===t||null===(t=t.modes)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id)||""),(null===(e=ctcGbGlobalStyles)||void 0===e||null===(e=e.collections)||void 0===e||null===(e=e.variables)||void 0===e||null===(e=e.find((function(e){return parseInt(e.id)===parseInt(n)})))||void 0===e||null===(e=e.values)||void 0===e?void 0:e[c])||""):""}(Z))}},wp.element.createElement(h,null))):wp.element.createElement(React.Fragment,null,wp.element.createElement("input",{style:{width:F},placeholder:p,autoComplete:"false",spellCheck:"false",dir:"auto",value:E,onChange:function(e){D(e.target.value)},onClick:function(){z(!0)},onFocus:function(){z(!0)},onBlur:function(){return z(!1)},onMouseDown:T,onMouseUp:function(){return L(!1)},onKeyDown:function(e){"ArrowUp"===e.key?D(E,e.shiftKey?10:1,"increase"):"ArrowDown"===e.key&&D(E,e.shiftKey?10:1,"decrease")}}),Object.keys(V).length>1&&!0===G&&wp.element.createElement(we,{position:"bottom right",className:"bm-suggest-popover",onClose:function(){return P(!1)}},wp.element.createElement("div",{className:"bm-suggest-popover__content"},wp.element.createElement("ul",null,Object.keys(V).map((function(e){var t,n=(null===(t=V[e])||void 0===t?void 0:t.value)||"";return wp.element.createElement("li",{key:e},wp.element.createElement(pe,{onClick:function(){D(n),P(!1)}},e))}))))),y&&wp.element.createElement("span",{className:"bm-base-input__unit",onClick:function(){J&&Y(!K)}},y,J&&K&&wp.element.createElement(we,{position:"bottom right",className:"bm-unit-popover",onClose:function(){return Y(!1)}},wp.element.createElement("div",{className:"bm-unit-popover__content"},wp.element.createElement("ul",null,k.map((function(e){return wp.element.createElement("li",{key:e},wp.element.createElement(pe,{onClick:function(){x(e)}},e))})))))),q&&wp.element.createElement(we,{position:"bottom right",className:"bm-global-popover"},wp.element.createElement("div",{className:"bm-global-popover__content",style:{width:"200px"}},wp.element.createElement("h3",null,"Global Variables"),wp.element.createElement("ul",null,null===(n=ctcGbGlobalStyles)||void 0===n||null===(n=n.collections)||void 0===n||null===(n=n.variables)||void 0===n?void 0:n.map((function(e){var t=e.id,n=e.type,c=e.name,l=e.values,o=(null==l?void 0:l[W])||"";return wp.element.createElement("li",{key:t},wp.element.createElement(pe,{onClick:function(){C("g:".concat(t)),X(!1)}},wp.element.createElement("span",{style:{height:20,width:20,background:"color"===n?o:"transparent"}},"A"),c))})))))),s&&!_?wp.element.createElement(pe,{className:"bm-base-input__increment",onClick:function(){var e=E?parseInt(E):0;D(e+m)}},wp.element.createElement(Ce,null)):null)},be=function(e){var t=e.name,n=void 0===t?"":t,c=e.onReset,l=void 0!==c&&c;if(n)return wp.element.createElement("div",{className:"bm-control-label"},n,!1===l?null:wp.element.createElement(ke,{onReset:l}))},ye=function(e){var t=e.children,n=e.label,c=void 0===n?"":n,l=e.className,o=void 0===l?"":l;return wp.element.createElement("div",{className:"bm-row ".concat(o)},c&&wp.element.createElement("div",{className:"bm-row__label"},c),t)},ke=function(e){var t=e.onReset;return wp.element.createElement(pe,{label:"Reset",showTooltip:!0,className:"bm-reset",onClick:t},wp.element.createElement(h,null))},Re=function(e){var t=e.label,n=void 0===t?"":t,c=e.value,l=void 0===c?"normal":c,o=e.onChange;return wp.element.createElement("div",{className:"bm-state-control"},wp.element.createElement(be,{name:n}),wp.element.createElement(ye,null,["normal","hover","active"].map((function(e){return wp.element.createElement(pe,{key:e,className:"".concat(l===e?"is-active":""),onClick:function(){o(e)}},"normal"===e&&wp.element.createElement(f,null),"hover"===e&&wp.element.createElement(v,null),"active"===e&&wp.element.createElement(d,null),wp.element.createElement("span",{className:"bm-state-control__label"},e))}))))},Ve=function(){var e,t=document.querySelector('iframe[name="editor-canvas"]');return t?null==t||null===(e=t.contentWindow)||void 0===e?void 0:e.document:document},Ne=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";if(!e)return t;var n=null==e?void 0:e.match(/[^0-9]/g);return n?null==n?void 0:n.join(""):t},je=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return n;var c=(null==e||null===(t=e.match(/[0-9]+/g))||void 0===t?void 0:t[0])||n;return c?Number(c):n},Se=function(e,t,n){var c=(e=Le(e)).split(";");"desktop"===n&&(c[0]=t),"tablet"===n&&(c[1]=t),"mobile"===n&&(c[2]=t);var l=c.join(";");return";;"===l?"":l},Me=function(e,t){var n=(e=Le(e)).split(";");return"tablet"===t?(null==n?void 0:n[1])||"":"mobile"===t?(null==n?void 0:n[2])||"":(null==n?void 0:n[0])||""},Le=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:";",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,c=e?e.split(t):[];c.length<n;)c.push("");return c.slice(0,n).join(t)},He=n(470);wp.isShallowEqual;function Be(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ze(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var Ie=function(t){var n=t.parent,c=t.id,l=t.style,o=t.selector,a=Be((0,e.useState)(l),2),r=(a[0],a[1]),i=function(){return"style-"+(c=(c=(c=(c=(c=c||o).replace(/\s+/g,"-")).replace(/[^a-zA-Z0-9-]/g,"")).replaceAll("#","")).replaceAll("wp-block-",""))},m=Ve(),u=function(){var e=i();if(!m.getElementById(e)){var t=m.createElement("style");return t.id=e,m.head.appendChild(t),t}};(0,e.useEffect)((function(){u()}),[]),(0,e.useEffect)((function(){r(l)}),[l]),(0,e.useEffect)((function(){var e=m.getElementById(i());e||(e=u());var t="";t+=function(e,t,n){var c,l,o,a,r,i,m,u,s,w,p,h,f,v,d,g,E,C,x="",b=n,y="".concat(n,":hover"),k="".concat(n,":focus");return e&&(y=(y=n.replace(":hover","")).replace("#block-".concat(e," >"),"#block-".concat(e,":hover >")),k=(k=n.replace(":focus","")).replace("#block-".concat(e," >"),"#block-".concat(e,":focus >"))),x+=S(null==t||null===(c=t.normal)||void 0===c?void 0:c.display,b),x+=S(null==t||null===(l=t.hover)||void 0===l?void 0:l.display,y),x+=S(null==t||null===(o=t.focus)||void 0===o?void 0:o.display,k),x+=L(null==t||null===(a=t.normal)||void 0===a?void 0:a.sides,b),x+=L(null==t||null===(r=t.hover)||void 0===r?void 0:r.sides,y),x+=L(null==t||null===(i=t.focus)||void 0===i?void 0:i.sides,k),x+=I(null==t||null===(m=t.normal)||void 0===m?void 0:m.position,b),x+=I(null==t||null===(u=t.hover)||void 0===u?void 0:u.position,y),x+=I(null==t||null===(s=t.focus)||void 0===s?void 0:s.position,k),x+=A(null==t||null===(w=t.normal)||void 0===w?void 0:w.zIndex,b),x+=A(null==t||null===(p=t.hover)||void 0===p?void 0:p.zIndex,y),x+=A(null==t||null===(h=t.focus)||void 0===h?void 0:h.zIndex,k),x+=O(null==t||null===(f=t.normal)||void 0===f?void 0:f.dimentions,b),x+=O(null==t||null===(v=t.hover)||void 0===v?void 0:v.dimentions,y),x+=O(null==t||null===(d=t.focus)||void 0===d?void 0:d.dimentions,k),x+=ie(null==t||null===(g=t.normal)||void 0===g?void 0:g.flex,b),x+=ie(null==t||null===(E=t.hover)||void 0===E?void 0:E.flex,y),x+ie(null==t||null===(C=t.focus)||void 0===C?void 0:C.flex,k)}(n,l,o),e.innerHTML=t}),[l])},Ge=n(838);function Pe(e){return Pe="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},Pe(e)}function _e(){return _e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var c in n)Object.prototype.hasOwnProperty.call(n,c)&&(e[c]=n[c])}return e},_e.apply(this,arguments)}function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);t&&(c=c.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,c)}return n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){We(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function We(e,t,n){var c;return c=function(e,t){if("object"!=Pe(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var c=n.call(e,t||"default");if("object"!=Pe(c))return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==Pe(c)?c:String(c))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ae(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 c,l,o,a,r=[],i=!0,m=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;i=!1}else for(;!(i=(c=o.call(n)).done)&&(r.push(c.value),r.length!==t);i=!0);}catch(e){m=!0,l=e}finally{try{if(!i&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(m)throw l}}return r}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,c=new Array(t);n<t;n++)c[n]=e[n];return c}var De=(0,e.memo)((function(t){var n=t.device,c=t.deviceType,l=t.element,o=t.style,a=t.onChange,r=Ae((0,e.useState)("normal"),2),i=r[0],m=r[1],u=function(e){var t,n;return l?(null==o||null===(n=o[l])||void 0===n||null===(n=n[i])||void 0===n?void 0:n[e])||"":(null==o||null===(t=o[i])||void 0===t?void 0:t[e])||""},s=(0,e.useRef)();(0,e.useEffect)((function(){if(null!=s&&s.current){var e="bm-controls--hover",t=function(){document.body.classList.add(e)},n=function(){document.body.classList.remove(e)};return s.current.addEventListener("mouseenter",t),s.current.addEventListener("mouseleave",n),function(){s.current&&(s.current.removeEventListener("mouseenter",t),s.current.removeEventListener("mouseleave",n))}}}),[]);var w=function(e){return Me(u(e),n)},p=function(e,t){!function(e,t){var n;a(Ze(Ze({},o),{},l?We({},l,Ze(Ze({},null==o?void 0:o[l]),{},We({},i,Ze(Ze({},null==o||null===(n=o[l])||void 0===n?void 0:n[i]),{},We({},e,t))))):We({},i,Ze(Ze({},null==o?void 0:o[i]),{},We({},e,t)))))}(e,Se(u(e),t,n))};return wp.element.createElement("div",{ref:s,className:"bm-controls"},wp.element.createElement(Re,{value:i,onChange:function(e){return m(e)}}),wp.element.createElement(ve,{className:"bm-responsive--position bm-control-seperator",label:(0,He.__)("Layout","bm"),device:c}),wp.element.createElement(M,_e({},t,{value:w("display"),onChange:function(e){return p("display",e)}})),w("display")&&w("display").includes("f")?wp.element.createElement(ue,_e({},t,{value:w("flex"),onChange:function(e){return p("flex",e)}})):null,wp.element.createElement(G,_e({},t,{value:w("position"),onChange:function(e){return p("position",e)}})),wp.element.createElement(B,_e({},t,{value:w("sides"),onChange:function(e){return p("sides",e)}})),wp.element.createElement(T,_e({},t,{value:w("zIndex"),onChange:function(e){return p("zIndex",e)}})),wp.element.createElement(ve,{className:"bm-responsive--position bm-control-seperator",label:(0,He.__)("Box Model","bm"),device:c}),wp.element.createElement(W,_e({},t,{value:w("dimentions"),onChange:function(e){return p("dimentions",e)}})))}));(0,e.memo)((function(e){var n=e.id,c=e.title,l=void 0===c?"Style":c,o=e.initialOpen,a=void 0===o||o,r=e.style,i=e.onChange,m=e.selector,u=void 0===m?"":m,s=e.clientId,w=void 0===s?"":s,p=e.allowed,h=void 0===p?{}:p,f=(0,he.useSelect)((function(e){return e("core/editor").getDeviceType()})),v=f.toLowerCase();return wp.element.createElement(React.Fragment,null,wp.element.createElement(Ie,{style:r,selector:u||"#block-".concat(w)}),wp.element.createElement(Ge.InspectorControls,null,wp.element.createElement(t.PanelBody,{title:l,initialOpen:a},wp.element.createElement(De,{deviceType:f,device:v,id:n,clientId:w,selector:u||"#block-".concat(w),element:"",style:r,onChange:i,allowed:h}))))})),n(964),wp.compose,wp.hooks}()}(); -
blocks-monster/trunk/includes/gutenberg/controls/class-css.php
r3223886 r3223892 121 121 case 'zIndex': 122 122 $properties .= $this->get_zindex_css( $value ); 123 break; 124 case 'dimentions': 125 $properties .= $this->get_dimentions_css( $value ); 123 126 break; 124 127 } … … 365 368 366 369 /** 370 * Get dimensions 371 * 372 * @param array $value 373 */ 374 public function get_dimentions_css( $value ) { 375 if ( ! $value ) { 376 return; 377 } 378 379 $filled = $this->get_device_values( $value, ',', 3 ); 380 $filled = explode( ',', $filled ); 381 382 $width = $filled[0] ?? ''; 383 $width_value = $this->get_value( $width ); 384 $width_unit = $this->get_unit( $width ); 385 $height = $filled[1] ?? ''; 386 $height_value = $this->get_value( $height ); 387 $height_unit = $this->get_unit( $height ); 388 389 $css = ''; 390 391 if ( $width_value ) { 392 $css .= 'width: ' . $width_value . $width_unit . ';'; 393 } 394 395 if ( $height_value ) { 396 $css .= 'height: ' . $height_value . $height_unit . ';'; 397 } 398 399 return $css; 400 } 401 402 /** 367 403 * Get value 368 404 * -
blocks-monster/trunk/readme.txt
r3223886 r3223892 3 3 Tags: Blocks, Gutenberg, Gutenberg Blocks, Elementor, Elementor Blocks 4 4 Tested up to: 6.7.1 5 Stable tag: 1.8. 25 Stable tag: 1.8.3 6 6 Requires PHP: 5.6 7 7 Requires at least: 4.4 … … 39 39 40 40 == Changelog == 41 42 = 1.8.3 = 43 44 * Improvement: Added the dimentions (width, height) control support for the Section Gutenberg block. 41 45 42 46 = 1.8.2 =
Note: See TracChangeset
for help on using the changeset viewer.